Remove TEST_IFUNC, tests-ifunc and *-ifunc.c tests.
[glibc.git] / ChangeLog
blob3ae83e659f4c1459212e993f32bc5e4dd00bcd59
1 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
3         * debug/test-stpcpy_chk-ifunc.c: Remove file.
4         * debug/test-strcpy_chk-ifunc.c: Likewise.
5         * wcsmbs/test-wcschr-ifunc.c: Likewise.
6         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
8         * wcsmbs/test-wcslen-ifunc.c: Likewise.
9         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
10         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11         * Rules [$(multi-arch) = no] (tests): Do not filter out
12         $(tests-ifunc).
13         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
14         * debug/Makefile (tests-ifunc): Remove variable.
15         (tests): Do not add $(tests-ifunc).
16         * wcsmbs/Makefile (tests-ifunc): Remove variable.
17         (tests): Do not add $(tests-ifunc).
18         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
19         [TEST_IFUNC]: Remove conditionals.
20         * string/test-string.h (TEST_IFUNC): Remove macro.
21         [TEST_IFUNC]: Remove conditionals.
23         * string/test-strchr.c [!WIDE] (L): New macro.
24         [WIDE] (L): Likewise.
25         (check1): Use CHAR instead of char.  Use L on string and character
26         constants.
28 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
30         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
31         tests.
32         * sysdeps/powerpc/bits/atomic.h
33         (__arch_atomic_exchange_and_add_32_acq): Add definition.
34         (__arch_atomic_exchange_and_add_32_rel): Likewise.
35         (atomic_exchange_and_add_acq): Likewise.
36         (atomic_exchange_and_add_rel): Likewise.
37         * sysdeps/powerpc/powerpc32/bits/atomic.h
38         (__arch_atomic_exchange_and_add_64_acq): Add definition.
39         (__arch_atomic_exchange_and_add_64_rel): Likewise.
40         * sysdeps/powerpc/powerpc64/bits/atomic.h
41         (__arch_atomic_exchange_and_add_64_acq): Add definition.
42         (__arch_atomic_exchange_and_add_64_rel): Likewise.
44 2014-11-26  Torvald Riegel  <triegel@redhat.com>
46         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
47         Change synchronization of __sched_fifo_min_prio and
48         __sched_fifo_max_prio.
49         * nptl/pthread_mutexattr_getprioceiling.c
50         (pthread_mutexattr_getprioceiling): Likewise.
51         * nptl/pthread_mutexattr_setprioceiling.c
52         (pthread_mutexattr_setprioceiling): Likewise.
53         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
54         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
55         Likewise.
57 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
59         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
60         void.
62 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
64         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
65         third argument const.
67 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
69         fnmatch: work around GCC compiler warning bug with uninit var
70         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
71         This works around a bug with x86-64 GCC 4.9.2 and earlier
72         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
73         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
74         used uninitialized in this function [-Wmaybe-uninitialized]".
76 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
78         * posix/bug-regex31.c (main): Return RES not 0.
80 2014-11-25  Anton Blanchard <anton@samba.org>
82         * sysdeps/powerpc/bits/atomic.h
83         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
85 2014-11-24  Sterling Augustine  <saugustine@google.com>
87         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
89 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
91         [BZ #17608]
92         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
94 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
96         [BZ #17633]
97         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
98         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
99         variable.
100         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
101         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
103 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
105         * string/strncpy.c (strncpy): Improve performance by using memset.
107 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
109         * string/strcpy.c (strcpy):
110         Improve performance by using strlen and memcpy.
112 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
114         * string/strcoll_l.c (get_next_seq): __always_inline.
115         * string/strcoll_l.c (do_compare): __always_inline.
117 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
119         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
120         defined.
121         * include/mqueue.h: Likewise.
122         * include/stdlib.h: Likewise.
124         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
125         (get_null_defines): Adjust.
126         * sunrpc/Makefile: Adjust comment.
127         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
128         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
129         (CFLAGS-interp.c): Likewise.
130         (CFLAGS-ldconfig.c): Likewise.
131         (CPPFLAGS-.os): Likewise.
132         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
133         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
134         * extra-modules.mk (extra-modules.mk): Likewise.
135         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
136         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
137         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
138         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
139         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
140         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
141         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
142         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
143         * iconvdata/Makefile (CPPFLAGS): Likewise.
144         (cpp-srcs-left): Add libof for all iconvdata routines.
145         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
146         * include/assert.h: Likewise.
147         * include/ctype.h: Likewise.
148         * include/errno.h: Likewise.
149         * include/libc-symbols.h: Likewise.
150         * include/math.h: Likewise.
151         * include/netdb.h: Likewise.
152         * include/resolv.h: Likewise.
153         * include/stdio.h: Likewise.
154         * include/stdlib.h: Likewise.
155         * include/string.h: Likewise.
156         * include/sys/stat.h: Likewise.
157         * include/wctype.h: Likewise.
158         * intl/l10nflist.c: Likewise.
159         * libidn/idn-stub.c: Likewise.
160         * libio/libioP.h: Likewise.
161         * nptl/libc_multiple_threads.c: Likewise.
162         * nptl/pthreadP.h: Likewise.
163         * posix/regex_internal.h: Likewise.
164         * resolv/res_hconf.c: Likewise.
165         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
166         * sysdeps/arm/memmove.S: Likewise.
167         * sysdeps/arm/sysdep.h: Likewise.
168         * sysdeps/generic/_itoa.h: Likewise.
169         * sysdeps/generic/symbol-hacks.h: Likewise.
170         * sysdeps/gnu/errlist.awk: Likewise.
171         * sysdeps/gnu/errlist.c: Likewise.
172         * sysdeps/i386/i586/memcpy.S: Likewise.
173         * sysdeps/i386/i586/memset.S: Likewise.
174         * sysdeps/i386/i686/memcpy.S: Likewise.
175         * sysdeps/i386/i686/memmove.S: Likewise.
176         * sysdeps/i386/i686/mempcpy.S: Likewise.
177         * sysdeps/i386/i686/memset.S: Likewise.
178         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
179         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
180         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
181         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
182         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
183         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
184         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
185         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
186         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
187         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
188         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
189         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
190         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
191         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
192         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
193         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
194         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
195         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
196         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
197         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
198         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
199         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
200         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
201         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
202         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
203         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
204         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
205         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
206         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
207         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
208         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
209         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
210         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
211         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
212         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
213         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
214         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
215         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
216         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
217         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
218         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
219         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
220         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
221         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
222         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
223         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
224         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
225         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
226         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
227         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
228         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
229         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
230         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
231         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
232         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
233         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
234         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
235         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
236         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
237         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
238         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
239         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
240         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
241         * sysdeps/nptl/bits/libc-lock.h: Likewise.
242         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
243         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
244         * sysdeps/posix/closedir.c: Likewise.
245         * sysdeps/posix/opendir.c: Likewise.
246         * sysdeps/posix/readdir.c: Likewise.
247         * sysdeps/posix/rewinddir.c: Likewise.
248         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
249         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
250         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
251         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
252         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
253         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
254         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
255         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
256         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
257         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
258         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
259         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
260         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
261         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
262         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
263         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
264         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
265         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
266         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
267         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
268         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
269         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
270         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
271         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
272         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
273         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
274         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
275         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
276         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
277         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
278         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
279         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
280         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
281         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
282         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
283         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
284         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
285         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
286         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
287         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
288         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
289         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
290         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
291         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
292         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
293         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
294         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
295         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
296         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
297         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
298         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
299         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
300         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
301         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
302         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
303         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
304         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
305         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
306         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
307         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
308         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
309         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
310         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
311         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
312         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
313         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
314         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
315         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
316         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
317         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
318         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
319         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
320         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
321         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
322         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
323         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
324         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
325         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
326         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
327         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
328         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
329         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
330         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
331         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
332         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
333         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
334         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
335         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
336         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
337         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
338         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
339         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
340         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
341         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
342         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
343         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
344         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
345         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
346         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
347         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
348         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
349         * sysdeps/unix/alpha/sysdep.S: Likewise.
350         * sysdeps/unix/alpha/sysdep.h: Likewise.
351         * sysdeps/unix/make-syscalls.sh: Likewise.
352         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
353         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
354         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
355         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
356         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
357         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
358         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
359         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
360         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
361         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
362         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
363         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
364         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
365         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
366         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
367         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
368         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
369         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
370         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
371         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
372         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
373         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
374         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
375         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
376         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
377         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
378         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
381         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
382         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
383         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
384         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
385         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
386         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
387         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
388         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
389         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
390         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
391         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
392         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
393         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
394         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
395         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
396         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
397         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
398         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
399         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
400         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
401         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
402         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
403         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
404         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
405         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
406         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
407         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
408         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
409         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
410         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
411         * sysdeps/x86_64/memcpy.S: Likewise.
412         * sysdeps/x86_64/memmove.c: Likewise.
413         * sysdeps/x86_64/memset.S: Likewise.
414         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
415         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
416         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
417         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
418         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
419         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
420         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
421         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
422         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
423         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
424         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
425         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
426         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
427         * sysdeps/x86_64/multiarch/memset.S: Likewise.
428         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
429         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
430         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
431         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
432         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
433         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
434         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
435         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
436         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
437         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
438         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
439         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
440         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
441         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
442         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
443         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
444         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
445         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
446         * sysdeps/x86_64/strcmp.S: Likewise.
448         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
450         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
451         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
452         * elf/rtld-Rules: Likewise.
453         * elf/setup-vdso.h: Likewise.
454         * include/assert.h: Likewise.
455         * include/bits/stdlib-float.h: Likewise.
456         * include/errno.h: Likewise.
457         * include/sys/stat.h: Likewise.
458         * include/unistd.h: Likewise.
459         * sysdeps/aarch64/setjmp.S: Likewise.
460         * sysdeps/alpha/setjmp.S: Likewise.
461         * sysdeps/arm/__longjmp.S: Likewise.
462         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
463         * sysdeps/arm/setjmp.S: Likewise.
464         * sysdeps/arm/sysdep.h: Likewise.
465         * sysdeps/generic/_itoa.h: Likewise.
466         * sysdeps/generic/dl-sysdep.h: Likewise.
467         * sysdeps/generic/ldsodefs.h: Likewise.
468         * sysdeps/i386/dl-tls.h: Likewise.
469         * sysdeps/i386/setjmp.S: Likewise.
470         * sysdeps/m68k/setjmp.c: Likewise.
471         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
472         * sysdeps/mach/hurd/opendir.c: Likewise.
473         * sysdeps/posix/getcwd.c: Likewise.
474         * sysdeps/posix/opendir.c: Likewise.
475         * sysdeps/posix/profil.c: Likewise.
476         * sysdeps/powerpc/dl-procinfo.h: Likewise.
477         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
478         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
479         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
480         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
481         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
482         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
483         * sysdeps/s390/dl-tls.h: Likewise.
484         * sysdeps/s390/s390-32/setjmp.S: Likewise.
485         * sysdeps/s390/s390-64/setjmp.S: Likewise.
486         * sysdeps/sh/sh3/setjmp.S: Likewise.
487         * sysdeps/sh/sh4/setjmp.S: Likewise.
488         * sysdeps/unix/alpha/sysdep.h: Likewise.
489         * sysdeps/unix/arm/sysdep.S: Likewise.
490         * sysdeps/unix/i386/sysdep.S: Likewise.
491         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
492         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
493         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
494         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
495         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
496         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
497         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
498         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
499         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
500         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
501         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
502         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
503         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
506         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
507         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
508         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
509         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
510         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
511         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
512         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
513         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
514         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
515         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
516         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
517         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
518         * sysdeps/unix/x86_64/sysdep.S: Likewise.
519         * sysdeps/x86_64/setjmp.S: Likewise.
521         * include/math.h: Use IS_IN instead of IS_IN_libm.
522         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
523         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
524         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
525         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
526         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
527         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
528         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
529         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
530         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
531         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
532         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
533         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
534         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
535         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
536         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
537         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
538         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
539         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
540         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
541         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
542         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
543         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
544         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
545         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
546         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
547         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
548         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
549         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
550         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
551         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
552         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
553         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
554         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
556         Likewise.
557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
558         Likewise.
559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
560         Likewise.
561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
562         Likewise.
563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
564         Likewise.
565         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
566         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
567         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
568         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
569         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
570         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
571         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
572         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
573         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
574         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
575         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
576         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
577         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
578         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
579         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
580         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
581         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
582         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
583         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
584         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
585         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
586         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
587         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
588         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
589         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
590         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
591         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
593         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
594         * nptl/pthreadP.h: Likewise.
595         * nptl_db/structs.def: Likewise.
596         * sysdeps/arm/sysdep.h: Likewise.
597         * sysdeps/nptl/bits/libc-lock.h: Likewise.
598         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
599         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
600         * sysdeps/unix/alpha/sysdep.h: Likewise.
601         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
602         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
603         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
604         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
605         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
606         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
607         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
608         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
609         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
610         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
611         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
612         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
613         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
614         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
617         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
618         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
619         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
620         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
621         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
622         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
623         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
624         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
625         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
626         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
628         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
629         * nptl/pthreadP.h: Likewise.
630         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
631         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
632         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
633         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
634         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
635         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
636         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
637         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
638         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
639         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
640         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
641         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
643         Likewise.
644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
645         Likewise.
646         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
647         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
648         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
649         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
650         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
651         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
652         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
653         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
655         * dlfcn/dladdr.c: Use IS_IN.
656         * dlfcn/dladdr1.c: Likewise.
657         * dlfcn/dlclose.c: Likewise.
658         * dlfcn/dlerror.c: Likewise.
659         * dlfcn/dlinfo.c: Likewise.
660         * dlfcn/dlmopen.c: Likewise.
661         * dlfcn/dlopen.c: Likewise.
662         * dlfcn/dlsym.c: Likewise.
663         * dlfcn/dlvsym.c: Likewise.
665         * include/ifaddrs.h: Use IS_IN.
666         * inet/check_pf.c: Likewise.
667         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
668         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
670         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
671         IS_IN_ldconfig.
672         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
673         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
675         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
676         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
677         IS_IN (libc).
679         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
681         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
682         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
683         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
684         * include/libc-symbols.h (IS_IN_LIB): New macro.
685         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
686         * include/netdb.h: Likewise.
687         * include/stap-probe.h: Remove all uses of IN_LIB.
689         * Makeconfig (module-cppflags-real): Define MODULE_NAME
690         instead of IN_MODULE.
691         * include/libc-symbols.h (IN_MODULE): Define using
692         MODULE_NAME.
693         (PASTE_NAME, PASTE_NAME1): New macros.
694         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
695         of IN_LIB.
696         (STAP_PROBE_ASM): Likewise.
698 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
700         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
701         __mach_init in dlopened libc.
703 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
705         * sysdeps/arm/preconfigure.ac: Delete EABI check.
706         * sysdeps/arm/preconfigure: Regenerate.
708 2014-11-21  Roland McGrath  <roland@hack.frob.com>
710         * nptl/pthread_create.c (__pthread_create_2_1): Set
711         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
712         when copying values from IATTR into PD.
714 2014-11-21  Will Newton  <will.newton@linaro.org>
715             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
717         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
718         Refactor inline-asm.  Also add comment.
720         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
721         ElfW macro instead of hardcoded Elf64 types.
722         (la_aarch64_gnu_pltenter): Likewise.
723         * sysdeps/aarch64/dl-machine.h
724         (elf_machine_runtime_setup): Use ElfW(Addr).
726         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
727         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
728         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
729         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
730         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
731         (R_AARCH64_TLS_DTPMOD64): Rename to ..
732         (R_AARCH64_TLS_DTPMOD): This.
733         (R_AARCH64_TLS_DTPREL64): Rename to ...
734         (R_AARCH64_TLS_DTPREL): This.
735         (R_AARCH64_TLS_TPREL64): Rename to ...
736         (R_AARCH64_TLS_TPREL): This.
737         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
738         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
739         R_AARCH64_TLS_TPREL64.
740         (elf_machine_rela): Likewise.
742 2014-11-21  Torvald Riegel  <triegel@redhat.com>
744         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
745         by setting it to 0.  64b atomics are not supported currently.
747 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
749         [BZ #16469]
750         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
751         search domain names.
753 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
755         [BZ #16469]
756         * NEWS: Update.
757         * resolv/res_query.c (__libc_res_nquerydomain): Retain
758         trailing dot.
759         * posix/tst-getaddrinfo5.c: New.
760         * posix/Makefile (tests): Add it.
762 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
764         [BZ #14498]
765         * NEWS: Fixed.
766         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
767         after parsing line but before break_if_match.
768         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
769         if there is a protocol mismatch.
771 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
773         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
774         because the potential race is on the user-supplied stream.
776 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
778         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
779         string literal if not passed a buffer.
780         * manual/job.texi (ctermid): Update reasoning, note deviation
781         from posix, suggest mtasurace when not passed a buffer, for
782         future non-preliminary safety notes.
784 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
786         * manual/users.texi (cuserid): Fix MT-Safety note for the case
787         of not passing it a buffer.
788         Reported by Peng Haitao.
790 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
792         * manual/Makefile ($(objpfx)stamp-summary): Require
793         check-safety.sh to pass.
794         * manual/check-safety.sh: Wish for verification that every
795         @deftypefn and @deftypefun is followed by a @safety remark.
797 2014-11-20  Roland McGrath  <roland@hack.frob.com>
799         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
801         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
802         PTHREAD_CANCEL_ASYNCHRONOUS.
803         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
804         send SIGCANCEL.
806         * nptl/default-sched.h: New file.
807         * sysdeps/unix/sysv/linux/default-sched.h: New file.
808         * nptl/pthread_create.c: Include it.
809         (__pthread_create_2_1): Use collect_default_sched instead of making
810         Linux syscalls here directly.
812 2014-11-20  Torvald Riegel  <triegel@redhat.com>
814         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
815         __pthread_once): Use C11 atomics.
817 2014-11-20  Torvald Riegel  <triegel@redhat.com>
819         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
821 2014-11-20  Torvald Riegel  <triegel@redhat.com>
823         * include/atomic.h (__atomic_link_error, __atomic_check_size,
824         atomic_thread_fence_acquire, atomic_thread_fence_release,
825         atomic_thread_fence_seq_cst, atomic_load_relaxed,
826         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
827         atomic_compare_exchange_weak_relaxed,
828         atomic_compare_exchange_weak_acquire,
829         atomic_compare_exchange_weak_release,
830         atomic_exchange_acquire, atomic_exchange_release,
831         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
832         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
833         atomic_fetch_and_acquire,
834         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
836 2014-11-20  Torvald Riegel  <triegel@redhat.com>
838         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
839         USE_ATOMIC_COMPILER_BUILTINS): Define.
840         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
841         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
842         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
843         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
844         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
845         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
846         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
847         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
848         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
849         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
850         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
851         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
852         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
853         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
854         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
855         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
856         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
857         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
858         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
859         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
860         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
861         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
862         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
863         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
864         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
865         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
866         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
867         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
868         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
869         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
870         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
871         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
872         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
873         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
874         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
875         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
876         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
877         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
878         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
879         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
881 2014-11-19  Roland McGrath  <roland@hack.frob.com>
883         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
884         the sched_priority value here.  It was already checked when the user
885         called pthread_attr_setschedparam.
887         * nptl/tst-bad-schedattr.c: New file.
888         * nptl/Makefile (tests): Add it.
890 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
891             Florian Weimer  <fweimer@redhat.com>
892             Joseph Myers  <joseph@codesourcery.com>
893             Adam Conrad  <adconrad@0c3.net>
894             Andreas Schwab  <schwab@suse.de>
895             Brooks  <bmoses@google.com>
897         [BZ #17625]
898         * wordexp-test.c (__dso_handle): Add prototype.
899         (__register_atfork): Likewise.
900         (__app_register_atfork): New function.
901         (registered_forks): New global.
902         (register_fork): New function.
903         (test_case): Add 3 new tests for WRDE_CMDSUB.
904         (main): Call __app_register_atfork.
905         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
906         fork count is non-zero fail the test.
907         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
908         is set.
909         (parse_dollars): Remove check for WRDE_NOCMD.
910         (parse_dquote): Likewise.
912 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
914         * Makeconfig (built-modules): List non-library modules to be
915         built.
916         (module-cppflags): Include libc-modules.h for
917         everything except shlib-versions.v.i.
918         (CPPFLAGS): Use it.
919         (before-compile): Add libc-modules.h.
920         ($(common-objpfx)libc-modules.h,
921         $(common-objpfx)libc-modules.stmp): New targets.
922         (common-generated): Add libc-modules.h and libc-modules.stmp.
923         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
924         * include/libc-symbols.h: Don't include libc-modules.h.
925         * include/libc-modules.h: Remove file.
926         * scripts/gen-libc-modules.awk: New script to generate
927         libc-modules.h.
928         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
929         Depend on libc-modules.stmp.
931         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
933         * Makeconfig (in-module): Get value of libof set for the
934         translation unit.
935         (CPPFLAGS): Use $(in-module).
936         * Makerules: Don't suffix routine names for nonlib.
937         * include/libc-modules.h: New file.
938         * include/libc-symbols.h: Include libc-modules.h
939         (IS_IN): New macro to replace IS_IN_* macros.
940         * elf/Makefile: Set libof-* for each routine.
941         * elf/rtld-Rules: Likewise.
942         * extra-modules.mk: Likewise.
943         * iconv/Makefile: Likewise.
944         * iconvdata/Makefile: Likewise.
945         * locale/Makefile: Likewise.
946         * malloc/Makefile: Likewise.
947         * nss/Makefile: Likewise.
948         * sysdeps/gnu/Makefile: Likewise.
949         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
950         * sysdeps/unix/sysv/linux/Makefile: Likewise.
951         * sysdeps/s390/s390-64/Makefile: Likewise.
952         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
953         CPPFLAGS for nscd instead of nonlib.
955 2014-11-18  Roland McGrath  <roland@hack.frob.com>
957         * nptl/createthread.c: New file.
959         * nptl/createthread.c: Moved ...
960         * sysdeps/unix/sysv/linux/createthread.c: ... here.
962         * nptl/createthread.c: Add proper top-line comment.
963         (do_clone): Folded into ...
964         (create_thread): ... here.  Take new arguments STOPPED_START and
965         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
966         increment __nptl_threads, do event-reporting logic, do
967         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
968         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
969         resource cleanup if sched_setaffinity or sched_setscheduler fails,
970         just send SIGCANCEL.
971         * nptl/pthread_create.c: Forward-declare create_thread before
972         including createthread.c.
973         (start_thread): Use new macro START_THREAD_DEFN to replace defining
974         declaration, and new macro START_THREAD_SELF to replace argument.
975         Remove return statement.
976         (report_thread_creation): New function.
977         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
978         synchronization logic, and __nptl_nthreads increment here, around
979         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
980         PD->parent_cancelhandling here, before create_thread.  When
981         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
982         __deallocate_stack, and ENOMEM translation here.
984 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
986         [BZ #17616]
987         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
988         (mptwo): Rename to __mptwo.
989         (__inv): Use __mptwo instead of mptwo.
990         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
991         (mptwo): Rename to __mptwo.
992         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
993         of mpone and __mptwo instead of mptwo.
994         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
995         instead of mpone.
996         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
997         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
998         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
999         of mpone and __mptwo instead of mptwo.
1000         (__mpranred): Use __mpone instead of mpone.
1001         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
1002         variable.
1003         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
1004         (test-xfail-ISO99/math.h/linknamespace): Likewise.
1005         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
1006         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
1007         (test-xfail-ISO11/math.h/linknamespace): Likewise.
1008         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
1009         (test-xfail-XPG3/math.h/linknamespace): Likewise.
1010         (test-xfail-XPG4/math.h/linknamespace): Likewise.
1011         (test-xfail-POSIX/math.h/linknamespace): Likewise.
1012         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
1013         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
1014         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
1015         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
1016         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
1017         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
1018         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
1019         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
1020         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
1021         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
1023 2014-11-18  Tom de Vries  <tom@codesoucery.com>
1025         * manual/signal.texi (Primitives Interrupted by Signals): In section,
1026         replace BSD Handler xref with BSD Signal Handling.
1028 2014-11-17  Richard Henderson  <rth@redhat.com>
1030         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
1031         (_FP_PACK_RAW_2): Remove.
1032         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
1033         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
1034         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
1035         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
1036         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
1037         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
1038         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
1039         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
1040         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
1041         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
1042         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
1043         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
1044         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
1045         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
1046         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
1047         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
1049 2014-11-14  Roland McGrath  <roland@hack.frob.com>
1051         * signal/signal.h [__USE_MISC]
1052         (struct sigvec): Remove type.
1053         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
1054         (sigvec): Remove declaration.
1055         * sysdeps/posix/sigvec.c: Moved ...
1056         * signal/sigvec.c: ... here, replacing old file.
1057         (struct sigvec): New type, copied from old signal.h definition.
1058         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
1059         (__sigvec): Convert definition to prototype.
1060         (sigvec): Replace weak_alias with compat_symbol.
1061         * signal/Versions (libc: GLIBC_2.21): New version set.
1062         * include/signal.h: Remove __sigvec declaration.
1063         * sysdeps/unix/bsd/sigvec.c: Remove file.
1064         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
1065         * manual/signal.texi (BSD Handler): Remove subsection.
1066         Move siginterrupt up to ...
1067         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
1068         (Blocking in BSD): Fold subsection into its parent.
1069         * NEWS: Mention sigvec removal.
1071 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
1073         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
1074         (DLA_FMS): Make definition conditional only on [__FMA4__].
1075         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
1076         definition.
1078         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
1079         Make definition conditional only on [PROF].
1080         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
1081         definition.
1082         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
1083         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
1085         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
1086         !__GNUC__].
1087         * include/signal.h (__sigpause): Move declaration above call to
1088         libc_hidden_proto.
1089         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
1090         variable.
1091         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
1092         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
1094 2014-11-14  David S. Miller  <davem@davemloft.net>
1096         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
1097         Define before including <string/memcpy.c> and <string/mempcpy.c>.
1099 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
1101         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
1102         * configure: Regenerated.
1103         * manual/install.texi (Tools for Compilation): Document a
1104         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
1105         compiler verified to work.
1106         * INSTALL: Regenerated.
1108         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
1109         redeclare with asm name.
1110         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
1111         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
1112         including <string.h>.
1113         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1114         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
1115         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1116         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
1117         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1118         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1119         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1121 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
1123         * stdlib/strtol.c (__strtol): Use prototype definition.
1125         [BZ #17594]
1126         * stdlib/strtol.c (SYM__): New macro.
1127         (SYM__1): Likewise.
1128         (__strtol): Likewise.
1129         (strtol): Rename to __strtol and define as weak alias of
1130         __strtol.  Use libc_hidden_weak.
1132 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
1134         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
1135         Use numbered labels in inline assembly.
1137 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
1139         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
1140         Add setjmp LIBC_PROBE.
1141         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
1142         Likewise.
1143         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
1144         Add longjmp, longjmp_target LIBC_PROBE.
1145         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
1146         Likewise.
1148 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
1150         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1151         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
1152         to get rid of unused variable warning.
1154 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
1156         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
1157         Check for unwind_backtrace ==  NULL only in SHARED case.
1158         (__backchain_backtrace): Compile only in SHARED case.
1159         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
1160         Likewise.
1161         (__backchain_backtrace): Declare as static.
1163 2014-11-12  Roland McGrath  <roland@hack.frob.com>
1165         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
1166         (__libc_multiple_threads_ptr): Variable moved ...
1167         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
1169 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
1171         * conform/GlibcConform.pm: New file.
1172         * conform/conformtest.pl: Use GlibcConform module.
1173         * conform/linknamespace.pl: New file.
1174         * conform/list-header-symbols.pl: Likewise.
1175         * conform/Makefile (linknamespace-symlists-base): New variable.
1176         (linknamespace-symlists-tests): Likewise.
1177         (linknamespace-header-base): Likewise.
1178         (linknamespace-header-tests): Likewise.
1179         (tests-special): Add new tests.
1180         ($(linknamespace-symlists-tests)): New rule.
1181         (linknamespace-libs): New variable.
1182         ($(objpfx)symlist-stdlibs): New rule.
1183         ($(linknamespace-header-tests)): Likewise.
1184         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
1185         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
1186         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
1187         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
1188         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
1189         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
1190         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
1191         (test-xfail-ISO/math.h/linknamespace): Likewise.
1192         (test-xfail-ISO/signal.h/linknamespace): Likewise.
1193         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
1194         (test-xfail-ISO/time.h/linknamespace): Likewise.
1195         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
1196         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
1197         (test-xfail-ISO99/math.h/linknamespace): Likewise.
1198         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
1199         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
1200         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
1201         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
1202         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1203         (test-xfail-ISO11/math.h/linknamespace): Likewise.
1204         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
1205         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
1206         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
1207         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1208         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
1209         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
1210         (test-xfail-XPG3/math.h/linknamespace): Likewise.
1211         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
1212         (test-xfail-XPG3/search.h/linknamespace): Likewise.
1213         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
1214         (test-xfail-XPG3/time.h/linknamespace): Likewise.
1215         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
1216         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
1217         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1218         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
1219         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
1220         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
1221         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
1222         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
1223         (test-xfail-XPG4/math.h/linknamespace): Likewise.
1224         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
1225         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
1226         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
1227         (test-xfail-XPG4/search.h/linknamespace): Likewise.
1228         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
1229         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
1230         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
1231         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
1232         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
1233         (test-xfail-XPG4/time.h/linknamespace): Likewise.
1234         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
1235         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
1236         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
1237         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
1238         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
1239         (test-xfail-POSIX/math.h/linknamespace): Likewise.
1240         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
1241         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
1242         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
1243         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1244         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
1245         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
1246         (test-xfail-POSIX/time.h/linknamespace): Likewise.
1247         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
1248         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
1249         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
1250         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1251         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
1252         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
1253         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
1254         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
1255         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1256         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
1257         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
1258         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
1259         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
1260         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
1261         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
1262         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
1263         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
1264         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
1265         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
1266         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
1267         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
1268         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
1269         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
1270         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
1271         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
1272         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
1273         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
1274         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
1275         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
1276         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
1277         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
1278         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
1279         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
1280         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
1281         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1282         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
1283         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1284         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
1285         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
1286         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
1287         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1288         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
1289         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
1290         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
1291         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
1292         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
1293         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
1294         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
1295         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
1296         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
1297         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
1298         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
1299         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
1300         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
1301         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
1302         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
1303         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
1304         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
1305         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1306         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
1307         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1308         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
1309         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
1310         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1311         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
1312         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
1313         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
1314         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
1315         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
1316         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
1317         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
1318         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
1319         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
1320         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
1321         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
1322         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
1323         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
1324         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
1325         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1326         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
1327         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
1328         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
1329         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
1330         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1331         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
1332         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
1333         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
1334         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
1335         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
1336         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
1337         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
1338         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
1339         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
1340         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
1341         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
1342         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
1343         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
1344         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
1346         [BZ #17589]
1347         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
1348         of fgets_unlocked.
1350         [BZ #17585]
1351         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
1352         (memmem): Rename to __memmem and define as weak alias of
1353         __memmem.  Use libc_hidden_weak.
1354         (__memmem): Use libc_hidden_def.
1355         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
1356         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
1357         memmem.
1359         [BZ #17582]
1360         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
1361         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
1362         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
1363         and define as weak alias of __fgets_unlocked.  Use
1364         libc_hidden_weak.
1365         (__fgets_unlocked): Use libc_hidden_def.
1366         * include/stdio.h (__fgets_unlocked): Declare.  Use
1367         libc_hidden_proto.
1368         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
1369         __fgets_unlocked instead of fgets_unlocked.
1370         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
1371         (GET_NPROCS_CONF_PARSER): Likewise.
1372         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
1373         (GET_NPROCS_CONF_PARSER): Likewise.
1375         [BZ #17574]
1376         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
1377         weak alias of __wmemset.  Use libc_hidden_weak.
1378         (__wmemset): Use libc_hidden_def.
1379         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
1380         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
1381         of wmemset.
1383         [BZ #17573]
1384         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
1385         with asm name __mempcpy.
1386         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
1388         [BZ #17572]
1389         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
1390         and define as weak alias of __rawmemchr.
1391         (__rawmemchr): Do not define as strong alias of rawmemchr.
1393         [BZ #17571]
1394         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
1395         alias of __qsort_r.
1396         (qsort): Call __qsort_r instead of qsort_r.
1397         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
1398         (__qsort_r): Declare.  Call libc_hidden_proto.
1399         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
1400         instead of qsort_r.
1401         * nscd/gai.c (__qsort_r): Define to qsort_r.
1402         * posix/tst-rfc3484.c (__qsort_r): Likewise.
1403         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
1404         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
1406         [BZ #17570]
1407         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
1408         define as weak alias of __malloc_info.
1410         [BZ #17584]
1411         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
1412         as weak alias of __rewinddir.  Don't use libc_hidden_def.
1413         (__rewinddir): Use libc_hidden_def.
1414         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
1415         as weak alias of __rewinddir.  Don't use libc_hidden_def.
1416         (__rewinddir): Use libc_hidden_def.
1417         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
1418         weak alias of __rewinddir.  Don't use libc_hidden_def.
1419         (__rewinddir): Use libc_hidden_def.
1420         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
1421         (__rewinddir): Use libc_hidden_proto.
1422         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
1423         rewinddir.
1424         (__getcwd): Use __rewinddir instead of rewinddir.
1426         [BZ #17583]
1427         * libio/fileno.c (fileno): Rename to __fileno and define as weak
1428         alias of __fileno.  Use libc_hidden_weak.
1429         (__fileno): Use libc_hidden_def.
1430         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
1431         * libio/ftello.c (ftello): Rename to __ftello and define as weak
1432         alias of __ftello.
1433         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
1434         __ftello.
1435         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
1436         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
1437         libc_hidden_def.
1438         (fread_unlocked): Don't use libc_hidden_ver.
1439         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
1440         and define as weak alias of __fread_unlocked.  Don't use
1441         libc_hidden_def.
1442         (__fread_unlocked): Use libc_hidden_def.
1443         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
1444         (ftello): Don't use libc_hidden_proto.
1445         (__ftello): Declare.  Use libc_hidden_proto.
1446         (fread_unlocked): Don't use libc_hidden_proto.
1447         (__fread_unlocked): Declare.  Use libc_hidden_proto.
1448         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
1449         and __ftello instead of fileno, fread_unlocked and ftello.
1451 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
1453         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
1454         GOT12.
1455         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1456         Likewise.
1457         (_dl_start_user): Likewise.
1458         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
1460 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
1461             Siddhesh Poyarekar  <siddhesh@redhat.com>
1463         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
1464         Move argv and envp down instead of moving argc up.
1465         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
1467 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
1469         [BZ #17506]
1470         * test-skeleton.c (main): Return successful if one of
1471         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
1472         * string/tst-strcoll-overflow.c: Define expected status.
1474 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
1476         [BZ #17475]
1477         * locale/iso-639.def: Define Bhili and Tulu language codes.
1479 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
1481         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
1483 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
1485         [BZ #17555]
1486         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
1488 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
1490         * configure.ac: Updated check of minimal required version to
1491         2.22.
1492         * manual/install.texi (Tools for Compilation): Updated version
1493         number.
1494         * configure: Regenerated.
1495         * INSTALL: Likewise.
1497 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
1499         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
1500         __tls_get_addr.
1502 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
1504         * include/sys/wait.h (__libc_waitpid): Remove declaration.
1505         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
1506         (__waitpid): Don't define as alias.  Use libc_hidden_def not
1507         libc_hidden_weak.
1508         (waitpid): Define as alias of __waitpid.
1509         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
1510         __waitpid.
1511         (__waitpid): Don't define as alias.  Use libc_hidden_def not
1512         libc_hidden_weak.
1513         (waitpid): Define as alias of __waitpid.
1514         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
1515         __libc_waitpid alias.
1516         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
1517         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
1518         Likewise.
1519         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
1520         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
1521         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
1522         alias.
1523         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
1524         __waitpid.
1525         (__waitpid): Don't define as alias.  Use libc_hidden_def not
1526         libc_hidden_weak.
1527         (waitpid): Define as alias of __waitpid.
1529 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
1531         * manual/llio.texi: Add comment that write safety has been
1532         fixed in Linux.
1534         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
1535         (localplt-build-dso): Add elf/ld.so.
1536         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
1537         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
1538         and free for ld.so.
1539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
1540         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
1541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
1542         Likewise.
1543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1544         Likewise.
1545         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
1546         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
1547         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
1548         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
1549         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
1550         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
1551         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
1552         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
1553         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
1554         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
1555         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
1557 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
1559         [BZ #14132]
1560         * include/libc-symbols.h (INTUSE): Remove macro.
1561         (INTDEF): Likewise.
1562         (INTVARDEF): Likewise.
1563         (_INTVARDEF): Likewise.
1564         (INTDEF2): Likewise.
1565         (INTVARDEF2): Likewise.
1566         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
1567         rtld_hidden_def instead of INTVARDEF.
1568         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
1569         (_dl_starting_up_internal): Remove declaration.
1570         (_dl_starting_up): Use rtld_hidden_proto.
1571         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
1572         declaration.
1573         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
1574         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
1575         _dl_starting_up.
1576         * elf/dl-writev.h (_dl_writev): Likewise.
1577         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
1578         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
1579         _dl_starting_up_internal.
1581 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1583         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
1584         test-skeleton.c.
1586 2014-11-05  Will Newton  <will.newton@linaro.org>
1588         * benchtests/Makefile: (bench-malloc): Add malloc thread
1589         scalability benchmark.
1590         * benchtests/bench-malloc-threads.c: New file.
1592 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
1594         * sysdeps/aarch64/strchrnul.S: New file.
1596 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1598         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
1599         definition.
1600         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
1601         Likwise.
1602         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
1603         Likewise.
1604         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
1605         Likewise.
1606         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
1607         Likewise.
1608         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
1609         Likewise.
1611 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
1613         * catgets/test-gencat.c: Use test-skeleton.c.
1614         * catgets/tst-catgets.c: Likewise.
1615         * csu/tst-empty.c: Likewise.
1616         * elf/tst-audit2.c: Likewise.
1617         * elf/tst-global1.c: Likewise.
1618         * elf/tst-pathopt.c: Likewise.
1619         * elf/tst-piemod1.c: Likewise.
1620         * elf/tst-tls10.c: Likewise.
1621         * elf/tst-tls11.c: Likewise.
1622         * elf/tst-tls12.c: Likewise.
1623         * gnulib/tst-gcc.c: Likewise.
1624         * iconvdata/tst-e2big.c: Likewise.
1625         * iconvdata/tst-loading.c: Likewise.
1626         * iconv/tst-iconv1.c: Likewise.
1627         * iconv/tst-iconv2.c: Likewise.
1628         * inet/test-inet6_opt.c: Likewise.
1629         * inet/tst-gethnm.c: Likewise.
1630         * inet/tst-network.c: Likewise.
1631         * inet/tst-ntoa.c: Likewise.
1632         * intl/tst-codeset.c: Likewise.
1633         * intl/tst-gettext2.c: Likewise.
1634         * intl/tst-gettext3.c: Likewise.
1635         * intl/tst-ngettext.c: Likewise.
1636         * intl/tst-translit.c: Likewise.
1637         * io/test-stat.c: Likewise.
1638         * libio/test-fmemopen.c: Likewise.
1639         * libio/tst-freopen.c: Likewise.
1640         * libio/tst-sscanf.c: Likewise.
1641         * libio/tst-ungetwc1.c: Likewise.
1642         * libio/tst-ungetwc2.c: Likewise.
1643         * libio/tst-widetext.c: Likewise.
1644         * localedata/tst-ctype.c: Likewise.
1645         * localedata/tst-digits.c: Likewise.
1646         * localedata/tst-leaks.c: Likewise.
1647         * localedata/tst-mbswcs1.c: Likewise.
1648         * localedata/tst-mbswcs2.c: Likewise.
1649         * localedata/tst-mbswcs3.c: Likewise.
1650         * localedata/tst-mbswcs4.c: Likewise.
1651         * localedata/tst-mbswcs5.c: Likewise.
1652         * localedata/tst-setlocale.c: Likewise.
1653         * localedata/tst-trans.c: Likewise.
1654         * localedata/tst-wctype.c: Likewise.
1655         * localedata/tst-xlocale1.c: Likewise.
1656         * login/tst-grantpt.c: Likewise.
1657         * malloc/tst-calloc.c: Likewise.
1658         * malloc/tst-malloc.c: Likewise.
1659         * malloc/tst-mallocstate.c: Likewise.
1660         * malloc/tst-mcheck.c: Likewise.
1661         * malloc/tst-mtrace.c: Likewise.
1662         * malloc/tst-obstack.c: Likewise.
1663         * math/atest-exp2.c: Likewise.
1664         * math/atest-exp.c: Likewise.
1665         * math/atest-sincos.c: Likewise.
1666         * math/test-matherr.c: Likewise.
1667         * math/test-misc.c: Likewise.
1668         * math/test-powl.c: Likewise.
1669         * math/tst-definitions.c: Likewise.
1670         * misc/tst-dirname.c: Likewise.
1671         * misc/tst-efgcvt.c: Likewise.
1672         * misc/tst-fdset.c: Likewise.
1673         * misc/tst-hsearch.c: Likewise.
1674         * misc/tst-mntent2.c: Likewise.
1675         * nptl/tst-sem7.c: Likewise.
1676         * nptl/tst-sem8.c: Likewise.
1677         * nptl/tst-sem9.c: Likewise.
1678         * nss/test-netdb.c: Likewise.
1679         * posix/tst-fnmatch.c: Likewise.
1680         * posix/tst-getlogin.c: Likewise.
1681         * posix/tst-gnuglob.c: Likewise.
1682         * posix/tst-mmap.c: Likewise.
1683         * pwd/tst-getpw.c: Likewise.
1684         * resolv/tst-inet_ntop.c: Likewise.
1685         * rt/tst-timer.c: Likewise.
1686         * stdio-common/test-fseek.c: Likewise.
1687         * stdio-common/test-popen.c: Likewise.
1688         * stdio-common/test-vfprintf.c: Likewise.
1689         * stdio-common/tst-cookie.c: Likewise.
1690         * stdio-common/tst-fileno.c: Likewise.
1691         * stdio-common/tst-gets.c: Likewise.
1692         * stdio-common/tst-obprintf.c: Likewise.
1693         * stdio-common/tst-perror.c: Likewise.
1694         * stdio-common/tst-sprintf2.c: Likewise.
1695         * stdio-common/tst-sprintf3.c: Likewise.
1696         * stdio-common/tst-sprintf.c: Likewise.
1697         * stdio-common/tst-swprintf.c: Likewise.
1698         * stdio-common/tst-tmpnam.c: Likewise.
1699         * stdio-common/tst-unbputc.c: Likewise.
1700         * stdio-common/tst-wc-printf.c: Likewise.
1701         * stdlib/tst-environ.c: Likewise.
1702         * stdlib/tst-fmtmsg.c: Likewise.
1703         * stdlib/tst-limits.c: Likewise.
1704         * stdlib/tst-rand48-2.c: Likewise.
1705         * stdlib/tst-rand48.c: Likewise.
1706         * stdlib/tst-random2.c: Likewise.
1707         * stdlib/tst-random.c: Likewise.
1708         * stdlib/tst-strtol.c: Likewise.
1709         * stdlib/tst-strtoll.c: Likewise.
1710         * stdlib/tst-tls-atexit.c: Likewise.
1711         * stdlib/tst-xpg-basename.c: Likewise.
1712         * string/test-ffs.c: Likewise.
1713         * string/tst-bswap.c: Likewise.
1714         * string/tst-inlcall.c: Likewise.
1715         * string/tst-strtok.c: Likewise.
1716         * string/tst-strxfrm.c: Likewise.
1717         * sysdeps/x86_64/tst-audit10.c: Likewise.
1718         * sysdeps/x86_64/tst-audit3.c: Likewise.
1719         * sysdeps/x86_64/tst-audit4.c: Likewise.
1720         * sysdeps/x86_64/tst-audit5.c: Likewise.
1721         * time/tst-ftime_l.c: Likewise.
1722         * time/tst-getdate.c: Likewise.
1723         * time/tst-mktime3.c: Likewise.
1724         * time/tst-mktime.c: Likewise.
1725         * time/tst-posixtz.c: Likewise.
1726         * time/tst-strptime2.c: Likewise.
1727         * time/tst-strptime3.c: Likewise.
1728         * wcsmbs/tst-btowc.c: Likewise.
1729         * wcsmbs/tst-mbrtowc.c: Likewise.
1730         * wcsmbs/tst-mbsrtowcs.c: Likewise.
1731         * wcsmbs/tst-wchar-h.c: Likewise.
1732         * wcsmbs/tst-wcpncpy.c: Likewise.
1733         * wcsmbs/tst-wcrtomb.c: Likewise.
1734         * wcsmbs/tst-wcsnlen.c: Likewise.
1735         * wcsmbs/tst-wcstof.c: Likewise.
1737 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
1739         [BZ #14132]
1740         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
1741         INTDEF.
1742         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
1743         declaration.
1744         (_dl_mcount): Use rtld_hidden_proto.
1745         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
1746         _dl_mcount.
1747         * elf/rtld.c (_rtld_global_ro): Likewise.
1749         [BZ #14132]
1750         * elf/dl-init.c (_dl_init): Don't use INTDEF.
1751         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
1752         of _dl_init_internal.
1753         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
1754         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
1755         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
1756         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
1757         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
1758         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
1759         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
1760         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
1761         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
1762         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
1763         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
1764         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
1765         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
1766         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
1767         * sysdeps/tile/dl-start.S (_start): Likewise.
1768         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
1769         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
1771         [BZ #14132]
1772         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
1773         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
1774         (rtld_progname): Make macro definition unconditional.
1775         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
1776         INTDEF.
1777         (dlmopen_doit): Do not use INTUSE with _dl_argv.
1778         (dl_main): Likewise.
1779         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1780         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
1781         instead of _dl_argv_internal.
1782         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1783         __GI__dl_argv instead of INTUSE(_dl_argv).
1784         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
1785         __GI__dl_argv instead of _dl_argv_internal.
1787         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
1788         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
1789         macro.
1790         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
1791         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
1792         New macro.
1793         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
1794         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
1795         macro.
1796         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
1797         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
1799 2014-11-04  Andreas Schwab  <schwab@suse.de>
1801         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
1803 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1805         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
1806         mtvsrd instruction in binary form.
1808 2014-11-03  Andreas Schwab  <schwab@suse.de>
1810         [BZ #17522]
1811         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
1812         for less than MB_LEN_MAX use a local buffer of that size.
1813         * libio/tst-fputws.c: New file.
1814         * libio/Makefile (tests): Add tst-fputws.
1816 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
1818         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
1819         the size of the fpu_fr.fpu_dregs[] array.
1821 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
1823         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
1824         (__nanosleep): Do not define as alias.
1825         (nanosleep): Define as alias of __nanosleep.
1826         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
1827         __libc_nanosleep name.
1829 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
1831         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
1832         install.texi in comment.
1834 2014-10-31  Torvald Riegel  <triegel@redhat.com>
1836         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
1837         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
1838         ... add here and use lwsync or sync ...
1839         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
1840         ... and add here using lwsync.
1842 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
1844         * elf/dl-machine-reject-phdr.h: New file.
1845         * elf/dl-load.c: #include that.
1846         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
1847         if that returned true.
1849 2014-10-31  Roland McGrath  <roland@hack.frob.com>
1851         [BZ #17496]
1852         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
1853         gen-as-const-headers chunk.  Add a big scare comment after the last
1854         safe place to touch before-compile.
1856 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
1858         * manual/install.texi (Tools for Compilation): Update autoconf
1859         version requirements.
1860         * INSTALL: Regenerated.
1862         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
1863         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
1864         (__libc_pselect): Likewise.
1866         [BZ #14138]
1867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
1868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1872 2014-10-31  Torvald Riegel  <triegel@redhat.com>
1874         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
1875         correct barrier instruction.
1876         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
1877         Likewise.
1878         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
1879         Likewise.
1881 2014-10-30  Roland McGrath  <roland@hack.frob.com>
1883         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
1884         after defining inlines.  Instead, just use parens to defeat macro
1885         expansion of __isctype in its declaration.
1887 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
1889         * include/sys/uio.h (__libc_readv): Remove declaration.
1890         (__libc_writev): Likewise.
1891         * misc/readv.c (__libc_readv): Rename to __readv.
1892         (__readv): Do not define as alias.
1893         (readv): Define as alias of __readv.
1894         * misc/writev.c (__libc_writev): Rename to __writev.
1895         (__writev): Do not define as alias.
1896         (writev): Define as alias of __writev.
1897         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
1898         (__readv): Do not define as alias.
1899         (readv): Define unconditionally as alias of __readv.
1900         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
1901         (__writev): Do not define as alias.
1902         (writev): Define unconditionally as alias of __writev.
1903         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
1904         name.
1905         (writev): Do not define __libc_writev name.
1907 2014-10-30  Roland McGrath  <roland@hack.frob.com>
1909         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
1910         (convert_charseq): New function, broken out of ...
1911         (use_from_charmap): ... here.  Call it.
1912         (use_to_charmap): Use convert_charseq and free instead of duplicating
1913         its code with a variable-length stack struct.
1915 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
1917         * include/fcntl.h (__libc_creat): Remove declaration.
1918         * io/creat.c (__libc_creat): Rename to creat.
1919         (creat): Do not define as alias.
1920         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
1921         of creat instead of __libc_creat.
1922         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
1923         to creat.
1924         (creat): Do not define as alias.
1925         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
1926         __libc_creat.
1927         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
1928         __libc_creat name.
1929         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
1930         Likewise.
1932 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
1934         * manual/llio.texi: Add comments discussing why write() may be
1935         considered MT-unsafe on Linux.
1937 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
1939         * dl-load.c (local_strdup): Remove.
1940         (expand_dynamic_string_token): Use __strdup.
1941         (decompose_rpath): Likewise.
1942         (_dl_map_object): Likewise.
1944 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
1946         [BZ #14132]
1947         * sysdeps/generic/unwind-dw2-fde.c
1948         (__register_frame_info_bases_internal): Do not declare.
1949         (__register_frame_info_table_bases_internal): Likewise.
1950         (__deregister_frame_info_bases_internal): Likewise.
1951         (__register_frame_info_bases): Declare and use hidden_proto before
1952         definition.  Use hidden_def instead of INTDEF.
1953         (__register_frame_info_table_bases): Likewise.
1954         (__deregister_frame_info_bases): Likewise.
1955         (__register_frame_info): Do not use INTUSE.
1956         (__register_frame): Likewise.
1957         (__register_frame_info_table): Likewise.
1958         (__register_frame_table): Likewise.
1959         (__deregister_frame_info): Likewise.
1960         (__deregister_frame): Likewise.
1962 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
1964         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1965         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
1966         not undefine.
1967         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
1968         Likewise.
1969         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
1970         Likewise.
1972 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
1974         [BZ #14138]
1975         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
1976         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
1977         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
1978         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
1979         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
1980         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
1981         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
1982         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
1983         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
1984         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
1985         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
1986         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
1987         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
1988         syscall.
1989         (setfsuid): Likewise.
1990         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
1991         (setfsuid): Likewise.
1992         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
1993         (setfsuid): Likewise.
1994         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
1995         Likewise.
1996         (setfsuid): Likewise.
1997         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
1998         (setfsuid): Likewise.
1999         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
2000         Likewise.
2001         (setfsuid): Likewise.
2003 2014-10-27  Andreas Schwab  <schwab@suse.de>
2005         [BZ #17501]
2006         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
2007         check for Slow_SSE4_2 feature bit.
2008         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
2009         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2010         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
2011         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
2013 2014-10-24  Roland McGrath  <roland@hack.frob.com>
2015         * configure.ac: Validate compiler version with a empirical test of
2016         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
2017         $CC -v output.
2018         * configure: Regenerated.
2020         * inet/htons.c (htons): Prototypify.
2021         * inet/htonl.c (htonl): Likewise.
2023 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
2025         * string/strncat.c (strncat): Improve performance by using strlen.
2027 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
2029         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
2031 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
2033         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
2034         Call libc_fetestexcept_aarch64.
2036 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
2038         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
2039         Call libc_feholdexcept_aarch64.
2041 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
2043         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
2044         Call get_rounding_mode.
2046 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
2048         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2049         Simplify logic.
2051 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
2053         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
2054         Simplify logic.
2056 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
2058         [BZ #14138]
2059         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
2060         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
2061         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
2062         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
2063         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
2064         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
2065         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
2066         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
2067         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
2068         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
2069         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2070         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
2071         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
2072         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
2073         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
2074         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
2075         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
2076         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
2077         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
2078         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
2079         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
2080         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
2081         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
2082         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
2083         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
2084         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
2085         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
2086         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
2087         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
2088         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
2089         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
2090         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
2091         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
2092         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
2093         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
2094         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
2095         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
2096         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
2097         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
2098         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
2099         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
2100         syscall.
2101         (geteuid): Likewise.
2102         (getgid): Likewise.
2103         (getuid): Likewise.
2104         (getresgid): Likewise.
2105         (getresuid): Likewise.
2106         (getgroups): Likewise.
2107         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
2108         (geteuid): Likewise.
2109         (getgid): Likewise.
2110         (getuid): Likewise.
2111         (getresgid): Likewise.
2112         (getresuid): Likewise.
2113         (getgroups): Likewise.
2114         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
2115         (geteuid): Likewise.
2116         (getgid): Likewise.
2117         (getuid): Likewise.
2118         (getresgid): Likewise.
2119         (getresuid): Likewise.
2120         (getgroups): Likewise.
2121         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
2122         Likewise.
2123         (geteuid): Likewise.
2124         (getgid): Likewise.
2125         (getuid): Likewise.
2126         (getresgid): Likewise.
2127         (getresuid): Likewise.
2128         (getgroups): Likewise.
2129         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
2130         (geteuid): Likewise.
2131         (getgid): Likewise.
2132         (getuid): Likewise.
2133         (getresgid): Likewise.
2134         (getresuid): Likewise.
2135         (getgroups): Likewise.
2136         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
2137         Likewise.
2138         (geteuid): Likewise.
2139         (getgid): Likewise.
2140         (getuid): Likewise.
2141         (getgroups): Likewise.
2143         [BZ #14138]
2144         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
2145         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
2146         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
2147         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2148         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
2149         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
2150         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
2151         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
2152         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
2153         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
2154         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
2155         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
2156         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
2157         __chown.
2158         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
2159         (lchown): Likewise.
2160         (fchown): Likewise.
2161         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
2162         Likewise.
2163         (lchown): Likewise.
2164         (fchown): Likewise.
2165         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
2166         (lchown): Likewise.
2167         (fchown): Likewise.
2168         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
2169         Likewise.
2170         (lchown): Likewise.
2171         (fchown): Likewise.
2173 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
2175         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
2176         Simplify logic.
2178 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
2180         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
2181         Cleanup logic.
2183 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
2185         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
2186         Remove unused include.
2188 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
2190         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
2191         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
2192         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
2193         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
2195 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
2196             Helge Deller <deller@gmx.de>
2198         [BZ #17508]
2199         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
2200         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
2201         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
2203 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
2205         [BZ #14132]
2206         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
2207         Remove macro definition.
2208         (__ashrdi3_v_glibc20): Likewise.
2209         (__lshrdi3_v_glibc20): Likewise.
2210         (__cmpdi2_v_glibc20): Likewise.
2211         (__ucmpdi2_v_glibc20): Likewise.
2212         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
2213         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
2214         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
2215         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
2216         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
2217         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
2219 2014-10-22  Roland McGrath  <roland@hack.frob.com>
2221         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
2222         old GNU extension [0] syntax.
2223         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
2224         alloca rather than an array member with variable length.
2225         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
2226         * nscd/nscd.c (invalidate_db): New function, broken out of ...
2227         (parse_opt): ... here.  Likewise use alloca there.
2228         Validate the -i argument before checking for rootness.
2229         (send_shutdown): New function, broken out of ...
2230         (parse_opt): ... here.
2232 2014-10-22  Roland McGrath  <roland@hack.frob.com>
2234         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
2235         macro to get at the _rt_local_ro field.
2236         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
2237         ([PIC] case) or _dl_hwcap ([!PIC] case).
2238         * sysdeps/arm/setjmp.S: Likewise.
2240         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
2241         * sysdeps/arm/configure.ac: New check to define it.
2242         * sysdeps/arm/configure: Regenerated.
2243         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
2244         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
2245         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
2246         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
2247         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
2248         Use move/movt pair instead of a load.
2249         (LDST_GLOBAL): Macro removed.
2250         (LDR_GLOBAL): New macro replaces it.
2251         (LDR_HIDDEN): New macro.
2252         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
2253         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
2255         * setjmp/tst-setjmp-static.c: New file.
2256         * setjmp/Makefile (tests): Add it.
2257         (tests-static): New variable.
2259 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
2261         [BZ #17485]
2262         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
2264 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
2266         [BZ #14132]
2267         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
2269 2014-10-21  Roland McGrath  <roland@hack.frob.com>
2271         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
2273 2014-10-20  Roland McGrath  <roland@hack.frob.com>
2275         * io/fts.c (dirent_not_directory): New function.
2276         (fts_build): Call it.
2278 2014-10-20  Roland McGrath  <roland@hack.frob.com>
2280         * nptl/version.c (__nptl_main): Use normal __write rather than
2281         INTERNAL_SYSCALL.
2282         (banner): Update copyright years.
2284         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
2285         gettimeofday.
2286         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2287         * nptl/pthread_cond_timedwait.c: Likewise.
2288         * nptl/pthread_mutex_timedlock.c: Likewise.
2289         * nptl/sem_timedwait.c: Likewise.
2291         * sysdeps/nptl/bits/libc-lock.h
2292         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2293         (__libc_lock_init_recursive): Return void, not 0.
2294         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
2295         (__libc_rwlock_init): Likewise.
2296         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
2298 2014-10-20  Torvald Riegel  <triegel@redhat.com>
2300         [BZ #15215]
2301         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
2302         (__pthread_once_slow): ... here.
2303         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
2304         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
2306 2014-10-20  Torvald Riegel  <triegel@redhat.com>
2308         [BZ #15215]
2309         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
2310         __PTHREAD_ONCE_FORK_GEN_INCR): New.
2311         * sysdeps/nptl/fork.c (__libc_fork): Use them.
2312         * nptl/pthread_once.c (__pthread_once): Likewise.
2313         Update comments.
2315 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
2317         [BZ #14138]
2318         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
2319         name.
2320         (writev): Use __libc_writev as strong name.
2321         * sysdeps/unix/sysv/linux/readv.c: Remove file.
2322         * sysdeps/unix/sysv/linux/writev.c: Likewise.
2324 2014-10-17  Roland McGrath  <roland@hack.frob.com>
2326         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
2328         * sysdeps/i386/nptl/tls.h
2329         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
2330         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
2331         New macros.
2332         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
2333         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
2334         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
2335         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
2336         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
2337         Call CHECK_THREAD_SYSINFO instead of doing an assert.
2339         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
2340         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
2341         on [__NR_futex].
2342         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
2343         broken out of ...
2344         (__pthread_mutex_init): ... here.  Call it.
2345         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
2346         Conditionalize PI cases on [__NR_futex].
2347         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
2348         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
2349         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2351         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
2352         conditional on [SIGSETXID].
2353         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
2354         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
2355         is defined.  Likewise for SIGSETXID.
2356         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
2357         Conditionalize definitions on [SIGSETXID].
2358         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
2359         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
2360         unblocking on [SIGCANCEL].
2362         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
2363         [__NR_set_robust_list].
2365 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
2367         * string/strcoll_l.c (get_next_seq): Fix up formatting.
2368         (do_compare): Likewise.
2370 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
2372         [BZ #15884]
2373         * string/strcoll_l.c: Don't include stdio.h.
2374         (coll_seq): Remove members idxarr and rulearr.
2375         (get_next_seq_cached): Remove function.
2376         (get_next_seq): Likewise.
2377         (get_next_seq_nocache): Rename to get_next_seq.
2378         (do_compare): Remove function.
2379         (do_compare_nocache): Rename to do_compare.
2380         (STRCOLL): Remove weight and rules cache.
2382 2014-10-16  Roland McGrath  <roland@hack.frob.com>
2384         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
2385         * sysdeps/arm/sfp-machine.h: ... to here.
2386         * sysdeps/arm/Implies: Remove arm/soft-fp.
2388 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
2390         * conform/data/sys/utsname.h-data (*_t): Allow.
2391         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
2392         [POSIX] (WEXITED): Do not expect constant.
2393         [POSIX] (WSTOPPED): Likewise.
2394         [POSIX] (WNOHANG): Likewise.
2395         [POSIX] (WNOWAIT): Likewise.
2396         [POSIX] (siginfo_t): Do not expect type or elements.
2397         [POSIX] (pid_t): Do not expect type.
2398         [POSIX] (signal.h): Do not allow header.
2399         [POSIX] (sys/resource.h): Likewise.
2400         [POSIX] (si_*): Do not allow pattern.
2401         [POSIX] (W*): Likewise.
2402         [POSIX] (P_*): Likewise.
2403         [POSIX] (BUS_*): Likewise.
2404         [POSIX] (CLD_*): Likewise.
2405         [POSIX] (FPE_*): Likewise.
2406         [POSIX] (ILL_*): Likewise.
2407         [POSIX] (POLL_*): Likewise.
2408         [POSIX] (SEGV_*): Likewise.
2409         [POSIX] (SI_*): Likewise.
2410         [POSIX] (TRAP_*): Likewise.
2411         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
2412         variable.
2414 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
2416         [BZ #12926]
2417         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
2418         infinite loop when __recvmsg returns 0.
2420 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
2422         * CANCEL-FCT-WAIVE: Remove file.
2423         * CANCEL-FILE-WAIVE: Likewise.
2425         [BZ #14132]
2426         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
2427         instead of INTVARDEF.
2428         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
2429         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
2430         rtld_hidden_data_def instead of INTVARDEF.
2431         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
2432         * elf/dl-deps.c (expand_dst): Likewise.
2433         * elf/dl-load.c (_dl_dst_count): Likewise.
2434         (_dl_dst_substitute): Likewise.
2435         (decompose_rpath): Likewise.
2436         (_dl_init_paths): Likewise.
2437         (open_path): Likewise.
2438         (_dl_map_object): Likewise.
2439         * elf/rtld.c (dl_main): Likewise.
2440         (process_dl_audit): Likewise.
2441         (process_envvars): Likewise.
2442         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
2443         Remove declaration.
2444         (__libc_enable_secure): Use rtld_hidden_proto.
2446 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2448         * elf/dl-load.c
2449         (add_path): New function broken out of _dl_rtld_di_serinfo.
2450         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
2452 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
2454         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
2455         parentheses around macro arguments.
2456         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
2457         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
2458         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
2459         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
2460         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
2461         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
2462         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
2463         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
2464         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
2465         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
2466         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
2467         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
2468         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
2469         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
2470         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
2471         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
2472         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
2473         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
2474         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
2475         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
2476         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
2477         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
2478         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
2479         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
2480         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
2481         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
2482         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
2483         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
2484         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
2485         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
2486         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
2487         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
2488         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
2489         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
2490         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
2491         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
2492         Likewise.
2493         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
2494         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
2495         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
2496         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
2497         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
2498         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
2499         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
2500         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
2501         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
2502         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
2503         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
2504         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
2505         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
2506         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
2507         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
2508         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
2509         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
2510         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
2511         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
2512         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
2513         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
2514         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
2515         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
2516         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
2517         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
2518         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
2519         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
2520         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
2521         (_FP_FRAC_SRS_1): Likewise.
2522         (_FP_FRAC_CLZ_1): Likewise.
2523         (_FP_MUL_MEAT_1_imm): Likewise.
2524         (_FP_MUL_MEAT_1_wide): Likewise.
2525         (_FP_MUL_MEAT_1_hard): Likewise.
2526         (_FP_SQRT_MEAT_1): Likewise.
2527         (_FP_FRAC_ASSEMBLE_1): Likewise.
2528         (_FP_FRAC_DISASSEMBLE_1): Likewise.
2529         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
2530         (__FP_CLZ_2): Likewise.
2531         (_FP_MUL_MEAT_2_wide): Likewise.
2532         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
2533         (_FP_MUL_MEAT_2_gmp): Likewise.
2534         (_FP_MUL_MEAT_2_120_240_double): Likewise.
2535         (_FP_SQRT_MEAT_2): Likewise.
2536         (_FP_FRAC_ASSEMBLE_2): Likewise.
2537         (_FP_FRAC_DISASSEMBLE_2): Likewise.
2538         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
2539         (_FP_FRAC_CLZ_4): Likewise.
2540         (_FP_MUL_MEAT_4_wide): Likewise.
2541         (_FP_MUL_MEAT_4_gmp): Likewise.
2542         (_FP_SQRT_MEAT_4): Likewise.
2543         (_FP_FRAC_ASSEMBLE_4): Likewise.
2544         (_FP_FRAC_DISASSEMBLE_4): Likewise.
2545         * soft-fp/op-common.h (_FP_CMP): Likewise.
2546         (_FP_CMP_EQ): Likewise.
2547         (_FP_CMP_UNORD): Likewise.
2548         (_FP_TO_INT): Likewise.
2549         (_FP_FROM_INT): Likewise.
2550         [!__FP_CLZ] (__FP_CLZ): Likewise.
2551         (_FP_DIV_HELP_imm): Likewise.
2552         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
2553         Likewise.
2554         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
2555         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
2556         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
2557         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
2558         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
2559         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
2560         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
2561         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
2562         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
2563         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
2564         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
2565         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
2566         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
2567         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
2568         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
2569         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
2570         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
2571         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
2572         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
2573         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
2574         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
2575         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
2576         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
2577         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
2578         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
2579         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
2580         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
2581         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
2582         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
2583         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
2584         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
2585         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
2586         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
2587         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
2588         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
2589         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
2590         (FP_UNPACK_RAW_SP): Likewise.
2591         (FP_PACK_RAW_S): Likewise.
2592         (FP_PACK_RAW_SP): Likewise.
2593         (FP_UNPACK_S): Likewise.
2594         (FP_UNPACK_SP): Likewise.
2595         (FP_UNPACK_SEMIRAW_S): Likewise.
2596         (FP_UNPACK_SEMIRAW_SP): Likewise.
2597         (FP_PACK_S): Likewise.
2598         (FP_PACK_SP): Likewise.
2599         (FP_PACK_SEMIRAW_S): Likewise.
2600         (FP_PACK_SEMIRAW_SP): Likewise.
2601         (_FP_SQRT_MEAT_S): Likewise.
2602         (FP_CMP_S): Likewise.
2603         (FP_CMP_EQ_S): Likewise.
2604         (FP_CMP_UNORD_S): Likewise.
2605         (FP_TO_INT_S): Likewise.
2606         (FP_FROM_INT_S): Likewise.
2608         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
2610         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
2611         (FP_EX_INVALID_IMZ): Likewise.
2612         (FP_EX_INVALID_IMZ_FMA): Likewise.
2613         (FP_EX_INVALID_ISI): Likewise.
2614         (FP_EX_INVALID_ZDZ): Likewise.
2615         (FP_EX_INVALID_IDI): Likewise.
2616         (FP_EX_INVALID_SQRT): Likewise.
2617         (FP_EX_INVALID_CVI): Likewise.
2618         (FP_EX_INVALID_VC): Likewise.
2619         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
2620         "invalid" exceptions.
2621         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
2622         (_FP_ADD_INTERNAL): Likewise.
2623         (_FP_MUL): Likewise.
2624         (_FP_FMA): Likewise.
2625         (_FP_DIV): Likewise.
2626         (_FP_CMP_CHECK_NAN): Likewise.
2627         (_FP_SQRT): Likewise.
2628         (_FP_TO_INT): Likewise.
2629         (FP_EXTEND): Likewise.
2631 2014-10-09  Allan McRae  <allan@archlinux.org>
2633         * po/fr.po: Update French translation from translation project.
2635 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
2637         [BZ #14132]
2638         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
2639         of INTDEF.
2640         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
2641         (__cxa_atexit): Use libc_hidden_proto.
2642         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
2644         [BZ #14132]
2645         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
2646         declaration.
2647         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
2648         [!_ISOMAC] (__iswspace_l_internal): Likewise.
2649         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
2650         [!_ISOMAC] (__iswctype_internal): Likewise.
2651         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
2652         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
2653         alias.
2654         (fcntl): Remove __fcntl_internal alias.
2655         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
2656         __connect_internal alias.
2657         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
2658         Likewise.
2660         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
2661         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
2662         FP_DENORM_ZERO.
2663         (_FP_CHECK_FLUSH_ZERO): New macro.
2664         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
2665         (_FP_CMP): Likewise.
2666         (_FP_CMP_EQ): Likewise.
2667         (_FP_TO_INT): Do not set inexact for subnormal arguments if
2668         FP_DENORM_ZERO.
2669         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
2670         (FP_TRUNC): Likewise.
2672         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
2673         treated as invalid conversion, not as normal exponent.
2675         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
2676         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
2677         (_FP_CMP_EQ): Likewise.
2678         (_FP_CMP_UNORD): Likewise.
2679         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
2680         (FP_CMP_EQ_D): Likewise.
2681         (FP_CMP_UNORD_D): Likewise.
2682         * soft-fp/extended.h (FP_CMP_E): Likewise.
2683         (FP_CMP_EQ_E): Likewise.
2684         (FP_CMP_UNORD_E): Likewise.
2685         * soft-fp/quad.h (FP_CMP_Q): Likewise.
2686         (FP_CMP_EQ_Q): Likewise.
2687         (FP_CMP_UNORD_Q): Likewise.
2688         * soft-fp/single.h (FP_CMP_S): Likewise.
2689         (FP_CMP_EQ_S): Likewise.
2690         (FP_CMP_UNORD_S): Likewise.
2691         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
2692         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
2693         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
2694         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
2695         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
2696         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
2697         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
2698         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
2699         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
2700         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
2701         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
2702         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
2703         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
2704         to FP_CMP_Q.
2705         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
2706         FP_CMP_Q.
2707         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
2708         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
2709         FP_CMP_EQ_Q.
2710         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
2711         FP_CMP_Q.
2712         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
2713         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
2714         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
2715         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
2716         FP_CMP_EQ_Q.
2717         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
2718         FP_CMP_Q.
2719         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
2720         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
2721         FP_CMP_EQ_Q.
2722         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
2723         FP_CMP_Q.
2724         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
2725         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
2726         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
2727         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
2728         FP_CMP_EQ_Q.
2730         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
2731         a subnormal result, set the underflow exception if trapping on
2732         underflow is enabled.
2733         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
2734         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
2735         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
2736         redefine to 0.
2737         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
2738         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
2739         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
2740         * soft-fp/extendxftf2.c (__extendxftf2): Use
2741         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
2743         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
2744         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
2745         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2746         FP_HANDLE_EXCEPTIONS.
2747         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
2748         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2749         FP_HANDLE_EXCEPTIONS.
2750         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
2751         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2752         FP_HANDLE_EXCEPTIONS.
2753         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
2754         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2755         FP_HANDLE_EXCEPTIONS.
2757 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
2759         [BZ #14132]
2760         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
2761         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
2762         use INTUSE.
2763         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
2764         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
2765         Remove alias.
2766         (__adjtimex): Define using libc_hidden_ver.
2767         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
2768         Remove declaration.
2769         (ntp_gettime): Call __adjtimex directly.
2770         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
2771         Remove declaration.
2772         (ntp_gettimex): Call __adjtimex directly.
2773         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
2774         __adjtimex_internal alias.
2776 2014-10-08  Roland McGrath  <roland@hack.frob.com>
2778         [BZ #17460]
2779         * nscd/nscd.c (more_help): Rewrite list of tables collection
2780         using xstrdup and asprintf.
2782         * nscd/nscd_conf.c: Remove local xstrdup declaration.
2784 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2785             Roland McGrath  <roland@hack.frob.com>
2787         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
2788         (do_lookup_unique): ... local function 'enter' here; update callers.
2790 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
2792         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
2793         compat_symbol calls on [SHARED].
2794         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
2795         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
2796         Remove.
2797         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2798         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
2799         (oldsetrlimit): Remove.
2800         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
2802         (lchown): New syscall entry.
2803         (oldsetrlimit): Remove.
2804         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2805         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
2806         (oldsetrlimit): Remove.
2807         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2809         [BZ #14138]
2810         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
2811         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
2812         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
2813         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
2814         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2815         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
2816         (fchown): Likewise.
2817         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
2818         (fchown): Likewise.
2819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
2820         Likewise.
2822 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2824         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
2825         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
2826         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
2827         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
2828         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
2829         Likewise.
2830         (__old_sem_post): Likewise.
2832 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
2834         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
2835         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
2836         HAVE_CLOCK_GETTIME_VSYSCALL macros.
2837         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
2838         Use INLINE_VSYSCALL macro.
2839         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
2840         __vdso_clock_gettime.
2841         * sysdeps/unix/sysv/linux/tile/init-first.c
2842         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
2843         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
2844         __vdso_clock_gettime.
2846         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
2847         to set up frame more cleanly.
2849         * sysdeps/tile/memcmp.c: New file.
2851         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
2853         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
2854         * sysdeps/tile/tilegx/strcasestr.c: New file.
2855         * sysdeps/tile/tilegx/strnlen.c: New file.
2856         * sysdeps/tile/tilegx/strstr.c: New file.
2858         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
2860 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
2862         * nptl/tst-setuid3.c: Write errors to stdout.
2864 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2866         * elf/dl-deps.c
2867         (preload): New functions broken out of _dl_map_object_deps.
2868         (_dl_map_object_deps):  Remove a nested function. Update call sites.
2870 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
2872         [BZ #14138]
2873         * sysdeps/unix/sysv/linux/execve.c: Remove file.
2874         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
2876 2014-10-01  Steve Ellcey  <sellcey@mips.com>
2878         * sysdeps/mips/strcmp.S: New.
2880 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
2882         [BZ #14138]
2883         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
2884         (linkat): Likewise.
2885         (mkdirat): Likewise.
2886         (readlinkat): Likewise.
2887         (renameat): Likewise.
2888         (symlinkat): Likewise.
2889         (unlinkat): Likewise.
2890         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
2891         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
2892         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
2893         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
2894         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
2895         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
2896         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
2898 2014-09-30  Will Newton  <will.newton@linaro.org>
2900         * math/math.h: Define long double math functions if
2901         _LIBC_TEST is defined.
2902         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
2904         * localedata/Makefile: Move assignment to tests-special
2905         into an ifdef testing run-built-tests.
2906         * timezone/Makefile: Likewise.
2908 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
2910         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
2911         with $(BASH) not $(SHELL).
2913 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
2914             Matthew LeGendre  <legendre1@llnl.gov>
2916         [BZ #17411]
2917         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
2918         l_reloc_result.
2920 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2922         * stdio-common/printf_fp.c
2923         (hack_digit): New function, broken out of ...
2924         (__printf_fp): ... local function here.  Update call sites.
2925         hack_digit now takes an additional parameter that is a pointer
2926         to a struct of the referenced locals.  Those locals moved inside
2927         the struct and references updated.
2929 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
2931         * aclocal.m4: Require autoconf 2.69.
2932         * configure: Regenerated.
2933         * sysdeps/aarch64/configure: Likewise.
2934         * sysdeps/alpha/configure: Likewise.
2935         * sysdeps/arm/armv7/configure: Likewise.
2936         * sysdeps/arm/configure: Likewise.
2937         * sysdeps/ia64/configure: Likewise.
2938         * sysdeps/mach/configure: Likewise.
2939         * sysdeps/mips/configure: Likewise.
2940         * sysdeps/s390/configure: Likewise.
2941         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
2942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
2944         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
2945         file.
2946         * sysdeps/ia64/configure.ac: Likewise.
2948 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
2950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
2951         specify symbol version for ld.so.  Do not include entry for
2952         libpthread.
2953         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2954         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
2955         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2957         [BZ #14171]
2958         * Makeconfig [$(build-shared) = yes]
2959         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
2960         makefiles.
2961         [$(build-shared) = yes && $(soversions.mk-done) = t]
2962         ($(common-objpfx)gnu/lib-names.h): Remove rule.
2963         [$(build-shared) = yes && $(soversions.mk-done) = t]
2964         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
2965         to Makerules.
2966         [$(build-shared) = yes && $(soversions.mk-done) = t]
2967         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
2968         here.
2969         [$(build-shared) = yes && $(soversions.mk-done) = t]
2970         (common-generated): Don't append gnu/lib-names.h and
2971         gnu/lib-names.stmp here.
2972         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
2973         (lib-names-h-abi): New variable.
2974         [$(build-shared) = yes && $(soversions.mk-done) = t]
2975         (lib-names-stmp-abi): Likewise.
2976         [$(build-shared) = yes && $(soversions.mk-done) = t &&
2977         abi-variants] (before-compile): Append
2978         $(common-objpfx)$(lib-names-h-abi).
2979         [$(build-shared) = yes && $(soversions.mk-done) = t &&
2980         abi-variants] (common-generated): Append gnu/lib-names.h.
2981         [$(build-shared) = yes && $(soversions.mk-done) = t &&
2982         abi-variants] (install-others-nosubdir): Depend on
2983         $(inst_includedir)/$(lib-names-h-abi).
2984         [$(build-shared) = yes && $(soversions.mk-done) = t &&
2985         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
2986         [$(build-shared) = yes && $(soversions.mk-done) = t]
2987         ($(common-objpfx)$(lib-names-h-abi)): New rule.
2988         [$(build-shared) = yes && $(soversions.mk-done) = t]
2989         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
2990         [$(build-shared) = yes && $(soversions.mk-done) = t]
2991         (common-generated): Append $(lib-names-h-abi) and
2992         $(lib-names-stmp-abi).
2993         * scripts/lib-names.awk: Do not handle multi being set.
2994         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
2995         Remove variable.
2996         (abi-lp64_be-ld-soname): Likewise.
2997         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
2998         Likewise.
2999         (abi-hard-ld-soname): Likewise.
3000         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
3001         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
3002         Remove variable.
3003         (abi-o32_hard-ld-soname): Likewise.
3004         (abi-o32_soft_2008-ld-soname): Likewise.
3005         (abi-o32_hard_2008-ld-soname): Likewise.
3006         (abi-n32_soft-ld-soname): Likewise.
3007         (abi-n32_hard-ld-soname): Likewise.
3008         (abi-n32_soft_2008-ld-soname): Likewise.
3009         (abi-n32_hard_2008-ld-soname): Likewise.
3010         (abi-n64_soft-ld-soname): Likewise.
3011         (abi-n64_hard-ld-soname): Likewise.
3012         (abi-n64_soft_2008-ld-soname): Likewise.
3013         (abi-n64_hard_2008-ld-soname): Likewise.
3014         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
3015         Likewise.
3016         (abi-64-v2-ld-soname): Likewise.
3017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
3018         ld.so entries.
3019         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
3020         variable.
3021         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
3022         entry.
3023         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
3024         variable.
3025         (abi-64-ld-soname): Likewise.
3026         (abi-x32-ld-soname): Likewise.
3027         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
3028         entry.
3029         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3031 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
3033         [BZ #14138]
3034         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
3035         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
3036         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
3037         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
3038         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
3039         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
3040         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
3041         syscall entry for GLIBC_2.2 symbol version.
3042         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
3043         Likewise.
3044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
3045         (setrlimit): Likewise.
3046         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
3047         Likewise.
3049 2014-09-23  Will Newton  <will.newton@linaro.org>
3051         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
3052         _LINUX_ARM_SYSDEP_H include guard too.
3053         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
3054         define.
3056 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3058         * sysdeps/unix/sysv/linux/eventfd.c:
3059         Make first argument unsigned.
3060         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
3061         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
3063 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
3065         * socket/recvmmsg.c (recvmmsg): Drop const argument.
3066         * socket/sys/socket.h: Likewise
3067         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
3069 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3071         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
3073 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
3075         * time/tst-ftime.c: New test.
3076         * time/Makefile (tests): Add tst-ftime.
3078 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
3080         * soft-fp/extended.h: Fix comment formatting.
3081         * soft-fp/op-1.h: Likewise.
3082         * soft-fp/op-2.h: Likewise.
3083         * soft-fp/op-4.h: Likewise.
3084         * soft-fp/op-8.h: Likewise.
3085         * soft-fp/op-common.h: Likewise.
3086         * soft-fp/soft-fp.h: Likewise.
3088         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
3090 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
3092         [BZ #6652]
3093         * Makeconfig (soversions-default-setname): Remove variable.
3094         ($(common-objpfx)soversions.i): Don't pass default_setname to
3095         soversions.awk.
3096         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
3097         oldest_abi to abi-versions.awk.
3098         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
3099         * config.make.in (oldest-abi): Remove variable.
3100         * configure.ac (--enable-oldest-abi): Remove configure option.
3101         * configure: Regenerated.
3102         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
3103         text.
3104         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
3105         * scripts/soversions.awk: Do not handle default_setname variable.
3106         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
3107         variable.
3108         * sysdeps/mach/hurd/configure: Regenerated.
3109         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
3110         variable.
3111         * sysdeps/unix/sysv/linux/configure: Regenerated.
3113 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3115         * elf/Makefile (CFLAGS-interp.c): Remove.
3116         ($(elf-objpfx)runtime-linker.h): Generate header with linker
3117         path string.
3118         * elf/interp.c: Include generated runtime-linker.h
3120         * Makerules (lib%.so): Don't include $(+interp) in
3121         prerequisites.
3122         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
3123         * dlfcn/eval.c: Remove file.
3125         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
3126         macros.
3128         [BZ #17266]
3129         * misc/sys/cdefs.h: Define __extern_always_inline for clang
3130         4.2 and newer.
3132         [BZ #17370]
3133         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
3135 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3136             Jakub Jelinek  <jakub@redhat.com>
3138         [BZ #17266]
3139         * libio/stdio.h: Check definition of __fortify_function
3140         instead of __extern_always_inline to include bits/stdio2.h.
3141         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
3142         check if __extern_always_inline is defined.
3143         [__USE_MISC || __USE_XOPEN]: Likewise.
3144         [__USE_ISOC99] Likewise.
3145         * misc/sys/cdefs.h (__fortify_function): Define only if
3146         __extern_always_inline is defined.
3147         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
3148         __extern_always_inline and __extern_inline only for g++-4.3
3149         and newer or a compatible gcc.
3151 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
3153         [BZ #17371]
3154         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3155         last change to handle zero prefix length.
3157 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3159         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
3160         _SC_REGEX_VERSION.
3162         * posix/getconf.c (vars): Add _POSIX_IPV6 and
3163         _POSIX_RAW_SOCKETS.
3165 2014-09-13  Allan McRae  <allan@archlinux.org>
3167         * po/ru.po: Update Russian translation from translation project.
3169 2014-09-12  Roland McGrath  <roland@hack.frob.com>
3171         * locale/programs/locale.c (show_locale_vars): Inline local function
3172         into its sole call site.  Clean up some style nits.
3173         (print_item): New function, broken out of ...
3174         (show_info): ... local function here.  Clean up style nits.
3176         * locale/programs/ld-ctype.c (set_one_default): New function, broken
3177         out of ...
3178         (set_class_defaults): ... local function set_default here.
3179         Define set_default as a macro locally to pass constant parameters.
3180         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
3181         rather than a shared local.
3183         * stdlib/rpmatch.c (try): New function, broken out of ...
3184         (rpmatch): ... local function here.  Also, prototypify definition.
3186 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
3188         * scripts/soversions.awk: Do not handle configuration names.
3189         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
3190         vendor and os variables to soversions.awk.
3191         * configure.ac: Do not modify gnu-* host_os.
3192         * configure: Regenerated
3193         * shlib-versions: Remove first column with configuration names.
3194         * nptl/shlib-versions: Likewise.
3195         * nptl_db/shlib-versions: Likewise.
3196         * sysdeps/hppa/shlib-versions: Likewise.
3197         * sysdeps/m68k/shlib-versions: Likewise.
3198         * sysdeps/mach/hurd/shlib-versions: Likewise.
3199         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
3200         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
3201         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
3202         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
3203         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
3204         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
3205         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
3206         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
3207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
3208         Likewise.
3209         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3210         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
3211         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
3212         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
3213         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
3214         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
3215         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
3216         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3219         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
3220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
3221         Regenerated.
3222         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
3223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
3224         Condition symbol version definitions on [HAVE_ELFV2_ABI].
3226         * shlib-versions: Remove OS-specific entries.  Moved to files in
3227         sysdeps.
3228         * sysdeps/mach/hurd/shlib-versions: New file.
3229         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
3231         * nptl/shlib-versions: Remove architecture-specific entries.
3232         Moved to files in sysdeps.
3233         * shlib-versions: Likewise.
3234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
3235         file.
3236         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3237         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
3238         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
3239         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
3241         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
3242         (UDP_NO_CHECK6_RX): Likewise.
3244 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
3246         * sysdeps/posix/sysconf.c (__sysconf): Spell
3247         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
3249 2014-08-12  Florian Weimer  <fweimer@redhat.com>
3251         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
3252         loading.
3253         * iconv/Versions (__gconv_transliterate): Export for use from
3254         gconv modules.
3255         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
3256         (struct __gconv_trans_data, __gconv_trans_fct,
3257         __gconv_trans_context_fct, __gconv_trans_query_fct,
3258         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
3259         definitions.
3260         (struct __gconv_step_data): Remove __trans member.
3261         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
3262         longer hidden.  Remove unused trans_data argument.
3263         * iconv/gconv_int.h (struct trans_struct): Remove definition.
3264         (__gconv_translit_find): Remove declaration.
3265         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
3266         prototype.
3267         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
3268         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
3269         trans_data argument.  Add hidden definition.
3270         (__gconv_translit_find): Remove.
3271         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
3272         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
3273         * iconv/skeleton.c: Remove transliteration initialization.
3274         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
3275         __gconv_step_data initialization.
3276         * libio/iofwide.c (__libio_translit_): Remove.
3277         (_IO_fwide): Adjust struct __gconv_step_data initialization.
3278         * wcsmbs/btowc.c (__btowc): Likewise.
3279         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3280         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3281         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
3282         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
3283         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
3284         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
3285         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
3286         * wcsmbs/wctob.c (wctob): Likewise.
3288 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
3290         [BZ #16194]
3291         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
3292         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
3293         register usage.
3294         * sysdeps/x86/Makefile: Adjust.
3296 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3297             Roland McGrath  <roland@hack.frob.com>
3299         * locale/weight.h: Add include guard.
3300         (findidx): Make static rather than auto; take new parameters
3301         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
3302         * locale/weightwc.h: Likewise.
3303         * posix/fnmatch_loop.c
3304         (FCT): Change type of EXTRA from int32_t to wint_t.
3305         Don't include either header inside the function.
3306         Call FINDIDX rather than findidx, and pass new arguments.
3307         #undef FINDIDX at the end of the file.
3308         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
3309         FINDIDX before including fnmatch_loop.c for the non-wide version.
3310         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
3311         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
3312         for the wide version.
3313         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
3314         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
3315         Pass new arguments to findidx.
3316         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
3317         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
3318         Don't #include it inside the function.  Pass new arguments to findidx.
3319         * posix/regex_internal.h
3320         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
3321         (re_string_elem_size_at): Don't #include it inside the function.
3322         Pass new arguments to findidx.
3323         * string/strcoll_l.c: #include WEIGHT_H at top level.
3324         (get_next_seq): Don't #include it inside the function.
3325         Pass new arguments to findidx.
3326         (get_next_seq_nocache): Likewise.
3327         * string/strxfrm_l.c: #include WEIGHT_H at top level.
3328         (STRXFRM): Don't #include it inside the function.
3329         Pass new arguments to findidx.
3331 2014-09-11  Florian Weimer  <fweimer@redhat.com>
3333         [BZ #17344]
3334         * malloc/malloc.c (unlink): Turn asserts into a call to
3335         malloc_printerr.
3337 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
3339         [BZ #17370]
3340         * libio/wfileops (do_ftell_wide): Free OUT.
3342 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
3344         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
3346 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3348         [BZ #17363]
3349         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
3350         group if the current group is empty.
3352 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3354         * benchtests/bench-memset.c (test_main): Add more test from size
3355         from 32 to 512 bytes.
3356         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3357         Add POWER8 memset object.
3358         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3359         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
3360         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
3361         implementation.
3362         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
3363         Likewise.
3364         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
3365         multiarch POWER8 memset optimization.
3366         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
3367         POWER8 memset optimization.
3369         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3370         Remove bzero multiarch objects.
3371         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
3372         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
3373         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
3374         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
3375         Remove define.
3376         [__bzero]: Redefine to specific name.
3377         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
3378         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
3379         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
3380         define.
3381         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3382         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3384 2014-09-10  Florian Weimer  <fweimer@redhat.com>
3386         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
3387         warnings into errors.
3389         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
3390         __cxa_thread_atexit_impl prototype.
3392 2014-09-09  Steve Ellcey  <sellcey@mips.com>
3394         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
3395         Fix capitalization of error message.
3397 2014-09-09  Steve Ellcey  <sellcey@mips.com>
3399         * sysdeps/mips/preconfigure: Modify ABI tests.
3401 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
3403         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
3405 2014-09-07  Roland McGrath  <roland@hack.frob.com>
3406             Carlos O'Donell  <carlos@systemhalted.org>
3408         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
3409         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
3410         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
3411         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
3412         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
3413         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
3414         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
3415         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
3416         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
3417         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
3418         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
3419         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
3420         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
3421         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
3422         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
3423         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
3424         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
3425         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
3426         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
3427         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
3428         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
3429         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
3430         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
3431         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
3432         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
3433         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
3434         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
3435         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
3436         Deconditionalize the code that was previously under [RESET_PID].
3437         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
3438         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
3439         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
3440         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
3441         include sysdep.h.
3443 2014-09-08  Allan McRae  <allan@archlinux.org>
3445         * version.h (RELEASE): Set to "development".
3446         (VERSION): Set to "2.20.90"
3448 2014-09-07  Allan McRae  <allan@archlinux.org
3450         * version.h (RELEASE): Set to "stable".
3451         (VERSION): Set to "2.20"
3452         * include/features.h (__GLIBC_MINOR__): Set to 20.
3454         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
3455         Liebler.
3457         * po/ko.po: Update Korean translation from translation project.
3459 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
3461         [BZ #17354]
3462         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
3463         macro for handling signed relocations.
3465 2014-09-03  Florian Weimer  <fweimer@redhat.com>
3467         [BZ #17325]
3468         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
3469         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
3470         assert.
3471         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
3472         * iconvdata/ibm935.c (BODY): Likewise.
3473         * iconvdata/ibm937.c (BODY): Likewise.
3474         * iconvdata/ibm939.c (BODY): Likewise.
3475         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
3476         assert.
3477         * iconvdata/Makefile (iconv-test.out): Pass module list to test
3478         script.
3479         * iconvdata/run-iconv-test.sh: New test loop for checking for
3480         decoder crashers.
3482 2014-09-02  Khem Raj  <raj.khem@gmail.com>
3484         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
3485         libm_hidden_ver.
3487 2014-09-01  Allan McRae  <allan@archlinux.org>
3489         * po/eo.po: Update Esperanto translation from translation project.
3491         * po/ca.po: Update Catalan translation from translation project.
3493 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3495         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
3496         __proc_dostop call.
3498 2014-08-27  Mark Wielaard  <mjw@redhat.com>
3500         [BZ #17319]
3501         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
3502         to call set_thread_area instead of hand written asm.
3503         (__NR_set_thread_area): Removed define.
3504         (TLS_FLAG_WRITABLE): Likewise.
3505         (__ASSUME_SET_THREAD_AREA): Remove check.
3506         (TLS_EBX_ARG): Remove define.
3507         (TLS_LOAD_EBX): Likewise.
3509 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3511         Simplify atomicity of socket creation in bind.
3513         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
3514         looking up the name after linking the file.
3516 2014-08-27  Allan McRae  <allan@archlinux.org>
3518         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3520 2014-08-26  Florian Weimer  <fweimer@redhat.com>
3522         [BZ #17187]
3523         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
3524         trans_compare, open_translit, __gconv_translit_find):
3525         Remove module loading code.
3527 2014-08-26  Allan McRae  <allan@archlinux.org>
3529         * po/vi.po: Update Vietnamese translation from translation project.
3531         * po/uk.po: Update Ukrainian translation from translation project.
3533         * po/fr.po: Update French translation from translation project.
3535         * po/ru.po: Update Russian translation from translation project.
3537         * po/pl.po: Update Polish translation from translation project.
3539         * po/cs.po: Update Czech translation from translation project.
3541         * po/de.po: Update German translation from translation project.
3543         * po/bg.po: Update Bulgarian translation from translation project.
3545         * po/sv.po: Update Sweedish translation from translation project.
3547         * po/nl.po: Update Dutch translation from translation project.
3549         * po/es.po: Update Spanish translation from translation project.
3551 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
3553         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
3555         * catgets/Makefile (CPPFLAGS-gencat): Remove.
3556         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
3557         (CPPFLAGS-iconvconfig): Likewise.
3558         * timezone/Makefile (CPPFLAGS-zic): Likewise.
3560         * include/libc-symbols.h: Remove unnecessary check for
3561         NOT_IN_libc.
3562         * nptl/pthreadP.h: Likewise.
3563         * sysdeps/aarch64/setjmp.S: Likewise.
3564         * sysdeps/alpha/setjmp.S: Likewise.
3565         * sysdeps/arm/sysdep.h: Likewise.
3566         * sysdeps/i386/setjmp.S: Likewise.
3567         * sysdeps/m68k/setjmp.c: Likewise.
3568         * sysdeps/posix/getcwd.c: Likewise.
3569         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3570         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3571         * sysdeps/s390/s390-32/setjmp.S: Likewise.
3572         * sysdeps/s390/s390-64/setjmp.S: Likewise.
3573         * sysdeps/sh/sh3/setjmp.S: Likewise.
3574         * sysdeps/sh/sh4/setjmp.S: Likewise.
3575         * sysdeps/unix/alpha/sysdep.h: Likewise.
3576         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3577         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3578         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3579         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3582         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3583         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3584         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3585         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3586         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3587         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3588         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3589         * sysdeps/x86_64/setjmp.S: Likewise.
3591 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
3593         [BZ #17263]
3594         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
3595         <stdint.h>.
3596         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
3597         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
3599 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
3601         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
3603         [BZ #17262]
3604         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
3605         and __x86_64__ when disabling x87 inline functions.
3607 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
3609         [BZ #17259]
3610         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
3611         asm statement with __cpuid_count.
3613 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
3615         * configure.ac: Change __ehdr_start code to dereference the struct.
3616         Run readelf on the output to look for relocations.
3617         * configure: Regenerated.
3619 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
3621         [BZ #17261]
3622         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
3623         value to 0.
3624         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
3626 2014-08-12  Roland McGrath  <roland@hack.frob.com>
3628         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
3630 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
3632         [BZ #16892]
3633         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
3634         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
3636 2014-08-12  Sean Anderson  <seanga2@gmail.com>
3638         * malloc/malloc.c: Fix typo in comment.
3640 2014-08-09  Allan McRae  <allan@archlinux.org>
3642         * Regenerate libc.po.
3644 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
3646         * intl/tst-gettext2.sh: Check every lang file for creation.
3648 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
3650         * sysdeps/aarch64/fpu/math_private.h
3651         (libc_feholdsetround_noex_aarch64_ctx): New function.
3653 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
3655         * sysdeps/arm/armv6/strcpy.S (strcpy):
3656         Fix performance issue in misaligned cases.
3658 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3660         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
3661         Move definition from termios.h.
3662         (struct termio): Likewise.
3663         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3664         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
3665         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
3666         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
3667         Likewise.
3668         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
3669         Move definition to ioctl-types.h
3670         (struct termio): Likewise.
3671         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3672         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
3673         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
3674         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
3675         Likewise.
3677 2014-08-05  Richard Henderson  <rth@redhat.com>
3679         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
3680         exceptions.
3681         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
3682         Add fraiseexcpt.
3683         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
3684         Use __feraiseexcept.
3685         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
3686         Protect libm symbols with IS_IN_libm.
3688         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
3690 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
3692         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
3694 2014-08-04  Will Newton  <will.newton@linaro.org>
3696         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
3697         file.
3699 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
3701         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
3702         variants for each function.
3704 2014-08-04  Roland McGrath  <roland@hack.frob.com>
3706         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
3707         appended ...
3708         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
3709         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
3710         appended ...
3711         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
3712         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
3713         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
3714         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
3715         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
3716         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
3717         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
3718         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
3719         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
3720         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
3721         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
3722         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
3723         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
3724         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
3725         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
3726         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
3727         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
3728         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
3729         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
3730         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
3731         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
3732         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
3733         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
3734         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
3735         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
3736         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
3737         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
3738         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
3739         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
3740         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
3741         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
3742         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
3743         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
3744         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
3745         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
3746         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
3747         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
3748         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
3749         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
3750         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
3751         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
3752         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
3753         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
3754         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
3755         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
3756         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
3757         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
3758         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
3759         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
3760         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
3761         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
3762         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
3763         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
3764         Update #include.
3765         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
3766         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
3768 2014-08-04  Roland McGrath  <roland@hack.frob.com>
3770         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
3771         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
3772         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
3773         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
3774         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
3775         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
3777 2014-08-04  Roland McGrath  <roland@hack.frob.com>
3779         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
3780         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
3781         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3782         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
3784 2014-08-04  Roland McGrath  <roland@hack.frob.com>
3786         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
3787         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
3788         (__libc_vfork): Define function under this name.
3789         (__vfork): Define as an alias.
3790         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
3791         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
3793 2014-08-04  Roland McGrath  <roland@hack.frob.com>
3795         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
3796         that was previously under [RESET_PID].
3797         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
3799 2014-08-04  Andreas Schwab  <schwab@suse.de>
3801         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
3803 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
3805         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
3806         (main): Likewise.
3808 2014-08-01  Roland McGrath  <roland@hack.frob.com>
3810         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
3812 2014-08-01  Richard Henderon  <rth@redhat.com>
3814         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
3815         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
3816         typo in exact zero test.
3817         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3818         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3819         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3821 2014-08-01  Roland McGrath  <roland@hack.frob.com>
3823         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
3824         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
3825         * sysdeps/arm/sysdep.h: ... here.
3826         [!__ASSEMBLER__]: Include <stdint.h>.
3828 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
3830         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
3831         (HAVE_WCTYPE_H): Likewise.
3832         (HAVE_ISWCTYPE): Likewise.
3833         (ENABLE_NLS): Likewise.
3834         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
3835         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
3837         * posix/regex_internal.c: Check if DEBUG is defined and is
3838         set.
3840         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
3841         (HAVE_MBSRTOWCS): Likewise.
3842         * posix/fnmatch.c: Include string.h unconditionally.
3844 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
3846         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
3847         reversal.
3849 2014-07-31  Roland McGrath  <roland@hack.frob.com>
3851         * sysdeps/generic/safe-fatal.h: New file.
3852         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
3853         * nptl/forward.c: Include it.
3854         (__pthread_unwind): Use __safe_fatal as default action, rather
3855         than a bogus use of INTERNAL_SYSCALL that could never work.
3857         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
3858         * configure.ac (libc_cv_builtin_trap): New test.
3859         * configure: Regenerated.
3860         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
3861         (ABORT_INSTRUCTION): Define using __builtin_trap.
3863         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
3864         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
3865         * sysdeps/nptl/nptl-signals.h: New file.
3866         * nptl/pthreadP.h: Include <nptl-signals.h>.
3868 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
3870         * sysdeps/s390/s390-64/utf16-utf32-z9.c
3871         (ONE_DIRECTION): Define.
3872         * sysdeps/s390/s390-64/utf8-utf16-z9.c
3873         (ONE_DIRECTION): Define.
3874         * sysdeps/s390/s390-64/utf8-utf32-z9.c
3875         (ONE_DIRECTION): Define.
3877 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
3879         * sysdeps/s390/Makefile: Delete file.
3880         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
3881         * sysdeps/s390/__longjmp.c: Delete file.
3882         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
3883         Remove fields __flags and __reserved.
3884         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
3885         and add versioning.
3886         * sysdeps/s390/rtld-__longjmp.c: Delete file.
3887         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
3888         * sysdeps/s390/rtld-setjmp.S: Likewise.
3889         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
3890         * sysdeps/s390/s390-32/__longjmp.c: ... here.
3891         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
3892         * sysdeps/s390/s390-32/setjmp.S: ... here.
3893         Add versioning.
3894         (__sigsetjmp): Remove setting __flags field.
3895         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
3896         * sysdeps/s390/s390-64/__longjmp.c: ... here.
3897         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
3898         * sysdeps/s390/s390-64/setjmp.S: ... here.
3899         Add versioning.
3900         (__sigsetjmp): Remove setting __flags field.
3901         * sysdeps/s390/setjmp.S: Delete file.
3902         * sysdeps/s390/sigjmp.c: Likewise.
3903         * sysdeps/s390/v1-longjmp.c: Likewise.
3904         * sysdeps/s390/v1-setjmp.h: Likewise.
3905         * sysdeps/s390/v1-sigjmp.c: Likewise.
3906         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
3907         Remove v1-longjmp_chk.
3908         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
3909         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
3910         Include debug/longjmp_chk.c and add versioning.
3911         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
3912         Include nptl/pt-longjmp.c and add versioning.
3913         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
3914         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
3915         Include __longjmp.c.
3916         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
3917         Move to ...
3918         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
3919         (__getcontext): Remove setting __flags field.
3920         Add versioning.
3921         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
3922         Don't restore upper high grps.
3923         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
3924         Likewise.
3925         (__swapcontext): Remove setting uc_flags field.
3926         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
3927         Delete file.
3928         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
3929         Include __longjmp.c.
3930         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
3931         Move to ...
3932         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
3933         (__getcontext): Remove setting __flags field.
3934         Add versioning.
3935         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
3936         (__swapcontext): Remove setting uc_flags field.
3937         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
3938         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
3939         Remove fields uc_high_gprs and __reserved.
3940         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
3941         New file with reverted content.
3942         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
3943         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
3944         Regenerated.
3945         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
3946         Regenerated.
3948 2014-07-31  Andreas Schwab  <schwab@suse.de>
3950         * config.h.in (HAVE_IFUNC): Define to 0.
3951         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
3952         definedness.
3954 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
3956         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3957         memmove-avx-unaligned, memcpy-avx-unaligned and
3958         mempcpy-avx-unaligned.
3959         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3960         Add tests for AVX memcpy functions.
3961         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
3962         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
3963         memcpy_chk.
3964         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
3965         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
3966         memmove_chk.
3967         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
3968         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
3969         mempcpy_chk.
3970         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
3971         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
3972         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
3974 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3976         [BZ #17213]
3977         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
3978         powerpc64le.
3980 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
3982         [BZ #16839]
3983         * manual/llio.texi: Add section about open file description locks.
3984         * manual/examples/ofdlocks.c: Example of open file description
3985         lock usage.
3986         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
3987         F_OFD_SETLK, and F_OFD_SETLKW.
3989 2014-07-23  Allan McRae  <allan@archlinux.org>
3991         * po/es.po: Update Spanish translation from translation project.
3993 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
3995         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
3997 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
3999         [BZ #17078]
4000         * sysdeps/arm/dl-machine.h (elf_machine_rela)
4001         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
4002         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
4004 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
4006         [BZ #17088]
4007         * math/fesetenv.c (__fesetenv)
4008         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
4009         * math/feupdateenv.c (__feupdateenv)
4010         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
4012         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
4013         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4014         (__ASSUME_SOCKETCALL): Do not define.
4016         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
4017         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
4018         (__ASSUME_SOCKETCALL): Do not define.
4019         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
4020         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
4021         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4022         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
4023         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4024         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
4025         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4026         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4028         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
4029         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
4030         (__ASSUME_SOCKETCALL): Do not define.
4031         (__ASSUME_IPC64): Define unconditionally.
4032         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
4033         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4034         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
4035         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4036         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
4037         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4038         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
4039         Likewise.
4041         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
4042         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
4043         (__ASSUME_SOCKETCALL): Do not define.
4044         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
4045         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4046         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4047         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4048         (__ASSUME_REQUEUE_PI): Define unconditionally.
4049         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
4050         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4051         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4052         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
4053         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4054         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4056         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
4057         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
4058         (__ASSUME_SOCKETCALL): Do not define.
4059         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
4060         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4061         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4062         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
4063         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4064         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4066         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
4067         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
4068         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4069         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
4070         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4071         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
4072         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4073         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
4074         (__ASSUME_GETCPU_SYSCALL): Likewise.
4076         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
4077         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
4078         cases for individual architectures.
4079         * sysdeps/gnu/configure: Regenerated.
4080         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
4081         LIBC_SLIBDIR_RTLDDIR.
4082         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
4083         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
4084         LIBC_SLIBDIR_RTLDDIR.
4085         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
4086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
4087         LIBC_SLIBDIR_RTLDDIR.
4088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
4089         Regenerated.
4090         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
4091         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
4092         file.
4093         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
4094         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
4095         file.
4096         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
4097         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
4098         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
4099         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
4101         * sysdeps/aarch64/shlib-versions: Move to ...
4102         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
4103         * sysdeps/alpha/shlib-versions: Move to ...
4104         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
4105         * sysdeps/arm/shlib-versions: Move to ...
4106         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
4107         * sysdeps/hppa/shlib-versions: Move all contents except for
4108         libgcc_s entry to ...
4109         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
4110         entry from ...
4111         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
4112         * sysdeps/ia64/shlib-versions: Move to ...
4113         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
4114         entry from ...
4115         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
4116         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
4117         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
4118         * sysdeps/microblaze/shlib-versions: Move to ...
4119         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
4120         * sysdeps/mips/shlib-versions: Move to ...
4121         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
4122         entry from ...
4123         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
4124         * sysdeps/tile/shlib-versions: Move to ...
4125         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
4126         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
4127         from ...
4128         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
4129         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
4130         entry from ...
4131         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
4133 2014-07-17  Will Newton  <will.newton@linaro.org>
4135         * sysdeps/arm/bits/atomic.h
4136         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
4137         (__arch_compare_and_exchange_bool_16_int): Likewise.
4138         (__arch_compare_and_exchange_bool_64_int): Likewise.
4140         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
4141         into an #else block.
4143 2014-07-16  Roland McGrath  <roland@hack.frob.com>
4145         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
4146         just Linux configurations.  Test empirically that the compiler sets
4147         __ARM_EABI__, rather than using the tuple to decide.
4148         * sysdeps/arm/preconfigure: Regenerated.
4149         * sysdeps/unix/sysv/linux/arm/configure: File removed.
4150         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
4151         contents appended ...
4152         * sysdeps/arm/configure.ac: ... here.
4153         * sysdeps/arm/configure: Regenerated.
4155 2014-07-15  Roland McGrath  <roland@hack.frob.com>
4157         * nptl/pthread_kill.c: New file.
4158         * nptl/pthread_sigmask.c: New file.
4159         * nptl/pthread_sigqueue.c: New file.
4161         * sysdeps/nptl/lowlevellock.h: New file.
4162         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
4163         * sysdeps/nptl/lowlevellock-futex.h: New file.
4165         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
4166         Remove dead declarations.
4168 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
4170         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
4171         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
4172         config-cflags-avx2.
4173         * sysdeps/x86_64/configure.ac: Likewise.
4174         * sysdeps/i386/configure: Regenerated.
4175         * sysdeps/x86_64/configure: Likewise.
4176         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4177         memset-avx2 only if config-cflags-avx2 is yes.
4178         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4179         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
4180         defined.
4181         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
4182         only if HAVE_AVX2_SUPPORT is defined.
4183         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4185 2014-07-14  Alan Modra  <amodra@gmail.com>
4187         [BZ #17153]
4188         * elf/elf.h (DT_PPC64_NUM): Correct value.
4189         * NEWS: Add to fixed bug list.
4191 2014-07-13  Jim Meyering  <meyering@fb.com>
4193         [BZ 17150]
4194         regex: don't deref NULL upon heap allocation failure
4195         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
4196         failure in one more place.
4197         To trigger the segfault, configure grep -with-included-regex,
4198         build it, and run these commands:
4199         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
4201 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
4203         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4205 2014-07-11  Richard Henderson  <rth@redhat.com>
4207         * sysdeps/aarch64/libm-test-ulps: Update.
4209 2014-07-10  Florian Weimer  <fweimer@redhat.com>
4211         [BZ #17135]
4212         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
4213         * nptl/allocatestack.c (__nptl_setxid_error): New function.
4214         (__nptl_setxid): Initialize error member.  Call
4215         __nptl_setxid_error.
4216         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
4217         * nptl/descr.h (struct xid_command): Add error member.
4218         * nptl/tst-setuid3.c: New file.
4219         * nptl/Makefile (tests): Add it.
4221 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4223         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
4224         New define.
4225         (__lll_trylock): Use __lll_base_trylock.
4226         (__lll_cond_trylock): Likewise.
4228 2014-07-10  Roland McGrath  <roland@hack.frob.com>
4230         * nptl/pthread_create.c (start_thread): Use atomic_or and
4231         lll_futex_wake directly rather than lll_robust_dead.
4232         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
4233         (lll_robust_dead): Macro removed.
4234         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
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         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
4251         Use atomic_compare_and_exchange_val_acq directly rather than
4252         lll_robust_trylock.
4253         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
4254         (__lll_robust_trylock, lll_robust_trylock): Removed.
4255         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
4256         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
4257         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4258         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4259         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
4260         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
4261         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4262         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
4263         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4264         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4265         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4266         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4267         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4268         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4270 2014-07-02  Florian Weimer  <fweimer@redhat.com>
4272         * manual/locale.texi (Locale Names): New section documenting
4273         locale name syntax.  Adjust menu and node chaining accordingly.
4274         (Choosing Locale): Reference Locale Names, Locale Categories.
4275         Mention setting LC_ALL=C.  Reflect that name syntax is now
4276         documented.
4277         (Locale Categories): New section title.  Reference Locale Names.
4278         LC_ALL is an environment variable, but not a category.
4279         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
4280         description, now in Locale Name.  Reference that section.  Locale
4281         name syntax is now documented.
4283 2014-07-02  Florian Weimer  <fweimer@redhat.com>
4285         [BZ #17137]
4286         * locale/findlocale.c (name_present, valid_locale_name): New
4287         functions.
4288         (_nl_find_locale): Use the loc_name variable to store name
4289         candidates.  Call name_present and valid_locale_name to check and
4290         validate locale names.  Return an error if the locale is invalid.
4292 2014-07-02  Florian Weimer  <fweimer@redhat.com>
4294         * locale/setlocale.c (setlocale): Use strdup for allocating
4295         composite name copy.
4297 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4299         Sync up with gnulib.
4300         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
4301         [!_LIBC && ENABLE_NLS]: Include gettext.h.
4302         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
4303         and _GL_ARG_NONNULL.
4304         [USE_UNLOCKED_IO]: Include unlocked-io.h.
4305         [!_LIBC]: Include code for Windows and Cygwin.
4306         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
4307         Include prototype for int strerror_r.
4308         [!_LIBC] (is_open): New function.
4309         (flush_stdout): New function.
4310         (print_errno_message): Use it.
4311         (error): Likewise.
4312         (error_at_line): Likewise.
4313         (error_tail) Add function attribute macros.  Use
4314         __builtin_expect.
4316         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
4318         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
4320         * io/ftw.c: Include sys/param.h unconditionally.
4322         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
4324         [BZ #17125]
4325         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
4326         libc_freeres_ptr.
4327         (freecache): New function to free CACHE on exit.
4329         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
4330         initialization.
4332 2014-07-09  David S. Miller  <davem@davemloft.net>
4334         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4336         * sysdeps/sparc/nptl/internaltypes.h: Delete.
4337         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
4338         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
4339         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
4340         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
4341         * sysdeps/sparc/nptl/sem_init.c: Likewise.
4342         * sysdeps/sparc/nptl/sem_post.c: Likewise.
4343         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
4344         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
4345         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
4346         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
4347         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
4348         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
4350 2014-07-09  Andreas Schwab  <schwab@suse.de>
4352         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
4353         output.
4354         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
4355         (do_test): Likewise.
4357         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4359 2014-07-09  Will Newton  <will.newton@linaro.org>
4361         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
4362         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
4363         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
4364         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
4365         * sysdeps/hppa/start.S (_start): Likewise.
4367 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
4369         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
4371         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
4372         defined.
4374 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
4376         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
4377         after checking that it is non-NULL.
4379         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
4381 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4383         * sysdeps/powerpc/memmove.c: Remove file.
4384         * sysdeps/powerpc/powerpc32/power4/memcopy.h
4385         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
4386         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
4387         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
4388         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
4389         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
4390         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
4391         string memmove instead of removed powerpc one.
4393         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
4394         [weak_alias]: Fix compiler warning due trailing data.
4395         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
4396         [weak_alias]: Likewise.
4397         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
4398         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
4400         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4401         (__libc_ifunc_impl_list): Add memmove functions.
4403 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
4405         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
4406         Remove code.
4407         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
4408         Likewise
4409         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
4410         Likewise
4411         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
4412         Likewise
4413         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
4414         Likewise
4415         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
4416         Likewise
4417         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
4418         Likewise
4419         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
4420         Likewise
4421         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
4422         Likewise
4423         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
4424         Likewise
4425         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
4426         Likewise
4427         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
4428         Likewise
4429         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
4430         Likewise
4431         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
4432         Likewise
4433         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
4434         Likewise
4435         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
4436         Likewise
4437         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
4438         Likewise
4440 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4442         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
4443         to avoid alignment traps in non-cacheable memory.
4444         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4446         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
4447         multiarch objects.
4448         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
4449         file: multiarch power7 memmove.
4450         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
4451         multiarch default memmove.
4452         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
4453         multiarch memove for powerpc32/power4.
4455         * string/bcopy.c: Use full path to include memmove.c.
4456         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
4457         multiarch objects.
4458         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
4459         bcopy for powerpc64.
4460         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
4461         bcopy for powerpc64.
4462         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
4463         and memmove implementations.
4464         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
4465         optimized multiarch memmove for POWER7/powerpc64.
4466         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
4467         default multiarch memmove for powerpc64.
4468         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
4469         multiarch for powerpc64.
4470         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
4471         for POWER7/powerpc64.
4472         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
4473         memmove for POWER7/powerpc64.
4475         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
4476         glibc default one.
4478         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
4479         __ELF_NATIVE_CLASS equal to 64.
4481 2014-07-07  Roland McGrath  <roland@hack.frob.com>
4483         * sysdeps/nptl/lowlevellock.h: File removed.
4485         * NEWS: NPTL is no longer an add-on!
4486         * nptl/internaltypes.h: Moved ...
4487         * sysdeps/nptl/internaltypes.h: ... here.
4488         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
4489         * sysdeps/nptl/fork.c: Likewise.
4490         * sysdeps/nptl/gai_misc.h: Likewise.
4491         * sysdeps/nptl/librt-cancellation.c: Likewise.
4492         * sysdeps/nptl/jmp-unwind.c: Likewise.
4493         * sysdeps/nptl/setxid.h: Likewise.
4494         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
4495         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
4496         * sysdeps/unix/sysv/linux/arm/Implies: New file.
4497         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
4498         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
4499         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
4500         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
4501         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
4502         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
4503         * sysdeps/unix/sysv/linux/mips/Implies: New file.
4504         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
4505         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
4506         * sysdeps/unix/sysv/linux/sh/Implies: New file.
4507         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
4508         * sysdeps/unix/sysv/linux/tile/Implies: New file.
4509         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
4510         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
4511         * nptl/Makeconfig: Moved ...
4512         * sysdeps/nptl/Makeconfig: ... here.
4513         * nptl/configure: File removed.
4514         * nptl/ANNOUNCE: File removed.
4515         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
4516         * sysdeps/unix/sysv/linux/configure: Regenerated.
4518         * nptl/Makefile (routines): Add libc_pthread_init,
4519         libc_multiple_threads, register-atfork and unregister-atfork.
4520         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
4521         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
4522         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
4523         pthread-pi-defines.sym, structsem.sym.
4524         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
4525         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
4526         [$(subdir) = nptl] (tests): Add tst-setgetname.
4527         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
4528         * sysdeps/unix/sysv/linux/sigaction.c: Just include
4529         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
4530         [!LIBC_SIGACTION]: Remove aliases.
4531         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
4532         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4533         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4534         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4535         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
4536         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
4537         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4538         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4539         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4540         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
4541         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
4542         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
4543         __libc_allocate_rtsig_private.
4544         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
4545         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
4546         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
4547         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
4548         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
4549         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
4550         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
4551         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
4552         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
4553         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
4554         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
4555         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
4556         * nptl/internaltypes.h: ... here.
4557         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
4558         * sysdeps/nptl/jmp-unwind.c: ... here.
4559         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
4560         * nptl/libc-lowlevellock.c: ... here.
4561         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
4562         * nptl/libc_multiple_threads.c: ... here.
4563         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
4564         * nptl/libc_pthread_init.c: ... here.
4565         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
4566         * nptl/lowlevelbarrier.sym: ... here.
4567         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
4568         * nptl/lowlevelcond.sym: ... here.
4569         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
4570         * nptl/lowlevellock.c: ... here.
4571         * nptl/lowlevellock.h: Moved ...
4572         * sysdeps/nptl/lowlevellock.h: ... here.
4573         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
4574         * nptl/lowlevelrobustlock.c: ... here.
4575         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
4576         * nptl/lowlevelrobustlock.sym: ... here.
4577         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
4578         * nptl/lowlevelrwlock.sym: ... here.
4579         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
4580         * nptl/pt-fork.c: ... here.
4581         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
4582         * nptl/pthread-pi-defines.sym: ... here.
4583         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
4584         * nptl/pthread_attr_getaffinity.c: ... here.
4585         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
4586         * nptl/pthread_attr_setaffinity.c: ... here.
4587         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
4588         * nptl/pthread_mutex_cond_lock.c: ... here.
4589         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4590         Update #include.
4591         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
4592         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
4593         * nptl/pthread_once.c: ... here, replacing old file.
4594         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
4595         * nptl/pthread_yield.c: ... here.
4596         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
4597         * nptl/register-atfork.c: ... here.
4598         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
4599         * nptl/sem_post.c: ... here.
4600         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
4601         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
4602         * nptl/sem_timedwait.c: ... here.
4603         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
4604         * nptl/sem_trywait.c: ... here.
4605         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
4606         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
4607         * nptl/sem_wait.c: ... here.
4608         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
4609         * nptl/structsem.sym: ... here.
4610         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
4611         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
4612         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
4613         * nptl/unregister-atfork.c: ... here.
4614         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
4615         * nptl/unwindbuf.sym: ... here.
4616         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
4617         * sysdeps/nptl/fork.c: ... here.
4618         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
4619         * sysdeps/nptl/fork.h: ... here.
4620         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
4621         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
4622         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
4623         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
4624         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
4625         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
4626         * sysdeps/unix/sysv/linux/getpid.c: ... here.
4627         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
4628         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
4629         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
4630         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
4631         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
4632         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
4633         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
4634         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
4635         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
4636         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
4637         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
4638         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
4639         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
4640         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
4641         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
4642         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
4643         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
4644         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
4645         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
4646         * sysdeps/unix/sysv/linux/raise.c: ... here.
4647         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
4648         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
4649         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
4650         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
4651         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
4652         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
4653         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
4654         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
4655         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
4656         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
4657         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
4658         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
4659         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
4660         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
4661         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
4663 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4665         * sysdeps/generic/memcopy.h: Add comment for
4666         MEMCPY_OK_FOR_FWD_MEMMOVE.
4668 2014-07-04  Will Newton  <will.newton@linaro.org>
4670         * string/memchr.c: Merge from gnulib.
4671         [_LIBC]: Remove conditionals.
4672         (__ptr_t): Remove define.
4673         (LONG_MAX_32_BITS): Likewise.
4674         (LONG_MAX): Likewise.
4675         (MEMCHR): Use ANSI prototype and optimize algorithm.
4677         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
4679 2014-07-03  Roland McGrath  <roland@hack.frob.com>
4681         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
4682         (lll_futex_timed_wait_bitset): Fix syscall argument count.
4684         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
4685         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
4686         in a bare environment with no <stdlib.h> installed.
4687         * sysdeps/nptl/configure: Regenerated.
4689         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
4691         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
4692         AC_EGREP_CPP for kernel header checks, so they only succeed if
4693         including <linux/version.h> actually works right.
4694         * sysdeps/unix/sysv/linux/configure: Regenerated.
4696         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
4697         value so it's not diagnosed as unused.
4699         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
4700         thing) with "ifeq ($(subdir),rt)".
4702 2014-07-03  Richard Henderson  <rth@redhat.com>
4704         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
4705         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
4706         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
4708         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
4709         (math_force_eval): New.
4711         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
4712         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
4714         * sysdeps/alpha/fpu/s_round.c: Remove file.
4715         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
4717         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
4718         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
4719         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
4720         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
4721         (_dl_start, print_statistics): Likewise.
4722         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
4723         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
4725         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4726         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4727         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4728         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4729         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4730         (HP_SMALL_TIMING_AVAIL): Define.
4731         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4732         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
4733         (HP_SMALL_TIMING_AVAIL): Define.
4734         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4735         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4737         * sysdeps/aarch64/hp-timing.h: New file.
4739         * sysdeps/generic/hp-timing.h: Remove dead comment.
4740         * sysdeps/generic/hp-timing-common.h: New file.
4741         * sysdeps/alpha/hp-timing.h: Include it.
4742         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
4743         * sysdeps/i386/i686/hp-timing.h: Likewise.
4744         * sysdeps/ia64/hp-timing.h: Likewise.
4745         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4746         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4747         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
4748         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
4749         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
4750         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
4751         (hp_timing_t): New.
4753         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
4754         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
4755         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
4756         * elf/rtld.c (_dl_start_final): Likewise.
4757         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
4758         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4759         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4760         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4761         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4762         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4763         (HP_TIMING_DIFF_INIT): Remove.
4764         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4765         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
4766         (HP_TIMING_DIFF_INIT): Remove.
4767         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4768         * sysdeps/i386/i686/hp-timing.c: Remove file.
4769         * sysdeps/x86_64/hp-timing.c: Remove file.
4770         * sysdeps/ia64/hp-timing.c: Remove file.
4771         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
4772         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
4773         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
4774         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
4776         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
4777         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
4778         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
4779         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4780         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4781         (HP_TIMING_ACCUM): Remove.
4782         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4783         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
4784         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4786         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
4787         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
4788         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
4789         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
4790         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
4791         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
4792         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
4793         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
4795         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
4797 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
4799         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
4801 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4803         Sync up with gettext.
4804         * intl/loadmsgcat.c: Define O_BINARY if not defined.
4805         [_MSC_VER]: Include malloc.h
4806         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
4807         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
4808         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
4809         TEMP_FAILURE_RETRY.  Cast return of alloca.
4810         [!_LIBC] Call gl_rwlock_init.
4811         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
4813 2014-07-02  Roland McGrath  <roland@hack.frob.com>
4815         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
4816         before checking its value.
4818 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4820         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
4822         * debug/memcpy_chk.c: Don't include pagecopy.h.
4823         * debug/mempcpy_chk.c: Likewise.
4824         * string/memcpy.c: Likewise.
4825         * string/memmove.c: Likewise.
4826         * sysdeps/powerpc/memmove.c: Likewise.
4827         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
4828         definition of PAGE_COPY_FWD_MAYBE here...
4829         * sysdeps/generic/pagecopy.h: ... from here.
4830         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
4832 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4833             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4835         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
4836         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
4837         optimizations.
4838         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4839         (__libc_ifunc_impl_list): Likewise.
4840         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
4841         multiarch strcat for PPC64.
4842         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
4843         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
4845 2014-07-02  Roland McGrath  <roland@hack.frob.com>
4847         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
4849 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4851         * intl/loadmsgcat.c: Remove declaration of
4852         get_sysdep_segment_value.
4853         (get_sysdep_segment_value): Use ISO C style.
4854         (_nl_load_domain): Use ISO C style.  Get rid of redundant
4855         semicolon.  Fix typo and formatting in comment.
4856         (_nl_unload_domain): Use ISO C style.
4858         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
4860 2014-07-02  Will Newton  <will.newton@linaro.org>
4862         * malloc/obstack.c: Merge from gnulib master.
4863         [HAVE_CONFIG_H]: Remove conditional code.
4864         [!_LIBC]: Include config.h.
4865         [!ELIDE_CODE]: Don't include inttypes.h, include
4866         stdint.h unconditionally.
4867         (print_and_abort): Mark as _Noreturn.
4868         (_obstack_allocated_p): Mark as __attribute_pure__.
4869         (obstack_free): Rename to __obstack_free.
4870         [!__attribute__]: Remove conditional code.
4871         * malloc/obstack.h: Merge from gnulib master.
4872         [__cplusplus]: Move conditional down.
4873         [!__attribute_pure__]: Define __attribute_pure__ here
4874         if it is not already defined.
4875         (_obstack_memory_used): Mark as __attribute_pure__.
4876         [!__obstack_free]: Define as obstack_free.
4877         [__GNUC__]: Remove check for ancient NeXT gcc.
4879 2014-07-02  Will Newton  <will.newton@linaro.org>
4880             Paul Eggert  <eggert@cs.ucla.edu>
4882         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
4884 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4886         * resolv/gethnamaddr.c: Add comment warning that the file is
4887         not maintained.
4889 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
4891         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
4892         entries.
4894         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
4895         entry for aio_cancel and aio_cancel64.
4896         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
4897         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
4898         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
4899         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
4900         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
4901         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
4902         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
4903         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
4904         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
4905         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
4906         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
4907         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
4908         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
4910 2014-07-01  Roland McGrath  <roland@hack.frob.com>
4912         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
4913         * nptl/pthread_mutex_lock.c: Likewise.
4914         * nptl/pthread_mutex_timedlock.c: Likewise.
4915         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
4917 2014-07-01  Richard henderson  <rth@redhat.com>
4919         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
4920         (__isnan, __isnanl): Remove.
4921         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
4923         * sysdeps/alpha/fpu/libm-test-ulps: Update.
4925 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
4927         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4929 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
4931         * resolv/nss_dns/dns-host.c (getanswer_r)
4932         [MULTI_PTRS_ARE_ALIASES]: Remove code.
4934 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
4936         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4937         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
4938         undefine.
4939         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
4940         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
4942 2014-07-01  Roland McGrath <roland@hack.frob.com>
4944         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
4945         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
4947         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
4948         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
4950         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
4951         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
4952         ... here.
4953         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
4954         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
4956         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
4957         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
4958         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
4959         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
4961         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
4962         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
4963         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
4964         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
4965         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
4966         Moved ...
4967         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
4968         ... here.
4969         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
4970         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
4971         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
4972         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
4973         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
4974         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
4975         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
4976         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
4977         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
4978         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
4979         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
4980         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
4981         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
4982         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
4983         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
4984         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
4985         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
4986         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
4987         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
4988         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
4989         ... here.
4990         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
4991         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
4992         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
4993         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
4994         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
4995         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
4996         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
4997         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
4999 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
5001         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
5002         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
5003         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
5004         Add sysdep.
5006 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5008         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5010 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
5012         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5013         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5015         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5017         * sysdeps/arm/libm-test-ulps: Regenerated.
5019 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
5020             Roland McGrath <roland@hack.frob.com>
5022         * test-skeleton.c (signal_handler): Kill the whole process group
5023         before killing the child individually.
5024         (main): Report any failure on `setpgid'.
5026 2014-06-30  Roland McGrath  <roland@hack.frob.com>
5028         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
5029         from _TLS_H to _ARM_NPTL_TLS_H.
5030         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
5031         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
5033 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
5035         [BZ #16539]
5036         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
5037         (__expm1l): Return argument unchanged when small but not
5038         subnormal.
5040         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
5041         include macro name.
5042         (_FP_UNPACK_RAW_1_P): Likewise.
5043         (_FP_PACK_RAW_1): Likewise.
5044         (_FP_PACK_RAW_1_P): Likewise.
5045         (_FP_MUL_MEAT_1_wide): Likewise.
5046         (_FP_MUL_MEAT_DW_1_hard): Likewise.
5047         (_FP_MUL_MEAT_1_hard): Likewise.
5048         (_FP_DIV_MEAT_1_imm): Likewise.
5049         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
5050         (_FP_DIV_MEAT_1_udiv): Likewise.
5051         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
5052         (_FP_UNPACK_RAW_2): Likewise.
5053         (_FP_UNPACK_RAW_2_P): Likewise.
5054         (_FP_PACK_RAW_2): Likewise.
5055         (_FP_PACK_RAW_2_P): Likewise.
5056         (_FP_MUL_MEAT_DW_2_wide): Likewise.
5057         (_FP_MUL_MEAT_2_wide): Likewise.
5058         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
5059         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5060         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
5061         (_FP_MUL_MEAT_2_gmp): Likewise.
5062         (_FP_DIV_MEAT_2_udiv): Likewise.
5063         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
5064         (_FP_FRAC_SRL_4): Likewise.
5065         (_FP_FRAC_SRST_4): Likewise.
5066         (_FP_FRAC_SRS_4): Likewise.
5067         (_FP_UNPACK_RAW_4): Likewise.
5068         (_FP_UNPACK_RAW_4_P): Likewise.
5069         (_FP_PACK_RAW_4): Likewise.
5070         (_FP_PACK_RAW_4_P): Likewise.
5071         (_FP_MUL_MEAT_DW_4_wide): Likewise.
5072         (_FP_MUL_MEAT_4_wide): Likewise.
5073         (_FP_MUL_MEAT_4_gmp): Likewise.
5074         (umul_ppppmnnn): Likewise.
5075         (_FP_DIV_MEAT_4_udiv): Likewise.
5076         (__FP_FRAC_ADD_4): Likewise.
5077         (__FP_FRAC_SUB_3): Likewise.
5078         (__FP_FRAC_SUB_4): Likewise.
5079         (__FP_FRAC_DEC_3): Likewise.
5080         (__FP_FRAC_DEC_4): Likewise.
5081         (__FP_FRAC_ADDI_4): Likewise.
5082         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
5083         (_FP_FRAC_SRL_8): Likewise.
5084         (_FP_FRAC_SRS_8): Likewise.
5086         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
5087         include macro name.
5088         (FP_UNPACK_RAW_EP): Likewise.
5089         (FP_PACK_RAW_E): Likewise.
5090         (FP_PACK_RAW_EP): Likewise.
5091         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
5092         (_FP_ISSIGNAN): Likewise.
5093         (_FP_ADD_INTERNAL): Likewise.
5094         (_FP_FMA): Likewise.
5095         (_FP_CMP): Likewise.
5096         (_FP_SQRT): Likewise.
5097         (_FP_TO_INT): Likewise.
5098         (_FP_FROM_INT): Likewise.
5099         (FP_EXTEND): Likewise.
5100         (_FP_DIV_MEAT_N_loop): Likewise.
5102 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
5104         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
5105         throughout.
5107 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
5109         [BZ #17097]
5110         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
5111         result with correct sign in case of exponents that produce
5112         overflow except for X very close to 1.
5114 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
5116         mktime: merge #if/#ifdef usage from glibc
5117         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
5118         as that works with both Glibc's and Gnulib's style.
5119         See thread starting at Siddhesh Poyarekar's bug report at:
5120         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
5122 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5124         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
5125         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
5126         * sysdeps/tile/tilegx/memmove.c: Remove file.
5128 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
5130         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
5131         abi-name definition.
5132         * scripts/soversions.awk: Do not handle or generate ABI lines.
5133         * shlib-versions: Remove ABI entries.
5134         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
5135         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
5137 2014-06-27  Roland McGrath  <roland@hack.frob.com>
5139         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
5140         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
5141         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
5142         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
5143         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
5144         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
5145         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
5146         Moved ...
5147         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
5148         ... here.
5149         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
5150         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
5151         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
5152         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
5153         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
5154         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
5155         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
5156         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
5157         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
5158         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
5159         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
5160         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
5161         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
5162         Moved ...
5163         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
5164         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
5165         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
5166         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
5167         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
5168         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
5169         Moved ...
5170         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
5171         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
5172         Moved ...
5173         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
5174         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
5175         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
5176         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
5177         Moved ...
5178         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
5179         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
5180         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
5181         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
5182         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
5183         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
5184         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
5185         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
5186         Moved ...
5187         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
5188         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
5189         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
5190         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
5191         Moved ...
5192         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
5193         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
5194         Moved ...
5195         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
5196         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
5197         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
5198         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
5199         Moved ...
5200         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
5201         ... here.
5202         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
5203         Identical file removed.
5204         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
5205         Moved ...
5206         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
5207         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
5208         Identical file removed.
5209         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
5210         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
5211         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
5212         Moved ...
5213         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
5214         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
5215         Identical file removed.
5216         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
5217         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
5218         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
5219         Identical file removed.
5220         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
5221         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
5222         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
5223         Identical file removed.
5224         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
5225         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
5226         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
5227         Identical file removed.
5228         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
5229         Moved ...
5230         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
5231         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
5232         Identical file removed.
5233         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
5234         Moved ...
5235         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
5236         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
5237         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
5238         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
5239         Identical file removed.
5240         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
5241         Moved ...
5242         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
5243         ... here.
5244         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
5245         Identical file removed.
5246         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
5247         Moved ...
5248         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
5249         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
5250         Identical file removed.
5251         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
5252         Moved ...
5253         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
5254         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
5255         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
5256         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
5257         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
5258         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
5259         Moved ...
5260         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
5261         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
5262         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
5264         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
5265         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
5266         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
5267         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
5268         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
5270 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
5272         [BZ #17092]
5273         * nscd/nscd.c (monitor_child): Return exit status of child
5274         instead of return value from wait syscall.
5276 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
5278         * configure.ac (libc_commonpagesize): Remove variable.
5279         (libc_relro_required): Likewise.
5280         (libc_cv_z_relro): Remove configure test.
5281         * configure: Regenerated.
5282         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
5283         variable.
5284         (libc_relro_required): Likewise.
5285         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
5286         (libc_relro_required): Likewise.
5287         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
5288         (libc_relro_required): Likewise.
5289         * sysdeps/arm/preconfigure: Regenerated.
5290         * sysdeps/ia64/preconfigure: Remove file.
5291         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
5292         variable.
5293         (libc_relro_required): Likewise.
5295         [BZ #16561]
5296         [BZ #16562]
5297         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
5298         (__ieee754_yn): Set FE_TONEAREST mode internally and then
5299         recompute overflowing results in original rounding mode.
5300         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
5301         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
5302         recompute overflowing results in original rounding mode.
5303         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
5304         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5305         recompute overflowing results in original rounding mode.
5306         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
5307         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5308         recompute overflowing results in original rounding mode.
5309         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
5310         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5311         recompute overflowing results in original rounding mode.
5312         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
5313         (libc_feholdsetround_ctx): New macro.
5314         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
5315         * sysdeps/i386/fpu/libm-test-ulps: Update.
5316         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
5318 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
5320         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
5321         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
5322         corresponding .cpsetup call.
5324 2014-06-26  Roland McGrath  <roland@hack.frob.com>
5326         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
5327         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
5328         * sysdeps/arm/Makefile [$(subdir) = csu]
5329         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
5330         (static-only-routines): Add aeabi_read_tp here.
5331         (shared-only-routines): Add libc-aeabi_read_tp here.
5332         (CFLAGS-libc-start.c): Add -fexceptions here.
5333         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
5334         (sysdep_routines, static-only-routines, shared-only-routines):
5335         Don't add to these here.
5336         (CFLAGS-libc-start.c): Likewise.
5338         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
5339         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5340         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
5341         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5342         * sysdeps/arm/Makefile [$(subdir) = rt]
5343         (librt-sysdep_routines, librt-shared-only-routines):
5344         Append rt-aeabi_unwind_cpp_pr1 here.
5345         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
5346         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
5347         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
5348         (libpthread-sysdep_routines, libpthread-shared-only-routines):
5349         Append nptl-aeabi_unwind_cpp_pr1 here.
5350         (tests): Filter out tst-cleanupx4 here.
5351         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
5352         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
5353         Don't do those here.
5355 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
5357         * scripts/list-sources.sh: Do not handle ports specially.
5359 2014-06-26  Roland McGrath  <roland@hack.frob.com>
5361         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
5362         * sysdeps/arm/feupdateenv.c: Likewise.
5364         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
5366 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
5368         * manual/texinfo.tex: Update to version 2014-05-05.10 with
5369         trailing whitespace removed.
5370         * scripts/config.guess: Update to version 2014-03-23.
5371         * scripts/config.sub: Update to version 2014-05-01
5372         * scripts/install-sh: Update to version 2013-12-25.23.
5373         * scripts/move-if-change: Update from gnulib.
5375 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5377         * debug/memmove_chk.c: Remove pagecopy.h include.
5379 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
5381         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
5382         identical to gnulib mktime.
5384 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
5386         * configure.ac: Do not test for machine being rs6000.  Do not test
5387         for powerpc*-*soft.
5388         * configure: Regenerated.
5390         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
5391         test.
5392         * configure: Regenerated.
5393         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
5394         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
5395         Remove configure test.
5396         * sysdeps/arm/configure: Regenerated.
5397         * sysdeps/nptl/configure.ac: Do not check
5398         libc_cv_asm_cfi_directives.
5399         * sysdeps/nptl/configure: Regenerated.
5400         * sysdeps/x86_64/nptl/configure.ac: Remove file.
5401         * sysdeps/x86_64/nptl/configure: Remove generated file.
5402         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
5403         unconditional.
5404         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
5406 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5408         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
5409         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
5410         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
5411         it is defined.
5413         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
5414         instead of whether it is defined.
5415         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
5416         * sysdeps/hppa/dl-machine.h: Likewise.
5417         * sysdeps/ia64/dl-machine.h: Likewise.
5418         * sysdeps/m68k/dl-machine.h: Likewise.
5419         * sysdeps/microblaze/dl-machine.h: Likewise.
5420         * sysdeps/mips/dl-machine.: Likewise.
5421         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
5422         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5423         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
5424         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
5425         * sysdeps/sh/dl-machine.h: Likewise.
5426         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5427         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5428         * sysdeps/tile/dl-machine.h: Likewise.
5429         * sysdeps/x86_64/dl-machine.h: Likewise.
5431         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
5432         code.
5433         (verify_persistent_db): Likewise.
5435 2014-06-26  Roland McGrath  <roland@hack.frob.com>
5437         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
5438         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
5439         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
5440         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
5441         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
5442         Moved ...
5443         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
5444         ... here.
5445         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
5446         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
5447         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
5448         Identical file removed.
5449         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
5450         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
5451         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
5452         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
5453         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
5454         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
5455         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
5456         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
5457         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
5458         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
5459         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5460         Moved ...
5461         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
5462         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
5463         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
5464         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
5465         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
5466         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
5467         Moved ...
5468         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
5469         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
5470         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
5471         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
5472         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
5473         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
5474         Identical file removed.
5475         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
5476         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
5477         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
5478         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
5479         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
5480         Moved ...
5481         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
5482         ... here.
5483         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
5484         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
5485         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
5486         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
5487         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
5488         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
5489         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
5490         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
5491         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
5492         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
5493         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5494         Moved ...
5495         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
5496         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
5497         Moved ...
5498         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
5499         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
5500         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
5501         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
5502         Moved ...
5503         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
5504         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
5505         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
5507         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
5508         folded into ...
5509         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
5510         * sysdeps/unix/sysv/linux/s390/Versions
5511         (libpthread: GLIBC_2.19): New version set.
5512         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
5513         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
5514         (librt: GLIBC_2.3.3): New version set.
5515         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
5516         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
5517         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
5518         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
5519         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
5520         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
5521         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
5522         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
5523         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
5524         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
5525         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
5526         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
5527         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
5528         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
5529         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
5530         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
5531         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
5532         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
5533         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
5534         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
5535         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
5536         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
5537         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
5538         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
5539         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
5540         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
5541         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
5542         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
5543         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
5544         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
5545         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
5546         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
5547         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
5548         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
5549         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
5550         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
5551         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
5552         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
5553         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
5554         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
5555         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
5556         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
5557         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
5558         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
5559         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
5561         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
5562         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
5563         (__libc_vfork): Define the function under this name.
5564         [!NOT_IN_libc] (__vfork): Make this an alias.
5565         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
5566         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
5567         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
5568         (__libc_vfork): Define the function under this name.
5569         [!NOT_IN_libc] (__vfork): Make this an alias.
5570         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
5571         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
5572         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
5573         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
5574         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
5575         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
5577         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
5578         code that was previously under [RESET_PID].
5579         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
5580         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
5581         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
5583         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
5584         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
5585         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
5586         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
5587         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
5588         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
5589         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
5590         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
5591         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
5592         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
5593         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
5594         Moved ...
5595         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
5596         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
5597         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
5598         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
5599         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
5600         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
5601         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
5602         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
5603         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
5604         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
5605         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
5606         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
5607         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
5608         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
5609         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
5610         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
5611         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
5612         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
5613         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
5614         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
5615         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
5616         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
5617         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
5618         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
5619         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
5620         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
5621         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
5622         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
5623         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
5625 2014-06-25  Roland McGrath  <roland@hack.frob.com>
5627         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
5628         that was previously under [RESET_PID].
5629         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
5631 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
5633         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
5634         not undefine and redefine.
5635         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
5636         [O_CLOEXEC]: Make code unconditional.
5637         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
5638         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
5639         <kernel-features.h>.
5640         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
5641         conditional variable definition.
5642         (shm_open) [O_CLOEXEC]: Make code unconditional.
5643         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
5644         code.
5646         * configure.ac (USE_REGPARMS): Don't define here.
5647         * configure: Regenerated.
5648         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
5649         * sysdeps/i386/configure: Regenerated.
5651         * nptl/createthread.c: Don't include kernel-features.h.
5652         * nptl/pthread_cancel.c: Likewise.
5653         * nptl/pthread_condattr_setclock.c: Likewise.
5654         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
5655         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
5656         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
5657         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
5658         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
5659         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
5660         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
5661         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
5662         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
5663         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
5664         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
5665         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
5666         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
5667         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
5668         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
5669         * nscd/gai.c: Likewise.
5670         * nss/nss_db/db-open.c: Likewise.
5671         * sysdeps/generic/ldsodefs.h: Likewise.
5672         * sysdeps/sh/nptl/tls.h: Likewise.
5673         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
5674         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
5675         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
5676         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
5677         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
5678         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5679         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
5680         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5681         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
5682         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
5683         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
5684         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
5685         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
5686         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
5687         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
5688         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
5689         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
5690         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
5691         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
5692         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
5693         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
5694         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
5695         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
5696         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
5697         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
5698         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
5699         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
5700         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
5701         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5702         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
5703         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
5704         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
5705         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
5706         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5707         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5708         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5709         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5710         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
5711         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
5712         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
5713         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5714         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
5715         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
5716         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5717         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
5718         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
5719         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
5720         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
5721         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
5722         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5723         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5724         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5725         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5726         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
5727         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
5728         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
5729         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
5730         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
5731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
5732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
5733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
5734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
5735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
5736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
5737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
5738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
5739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
5740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
5741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
5742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
5743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
5744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
5745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
5747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
5751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
5752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
5753         * sysdeps/unix/sysv/linux/pread.c: Likewise.
5754         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
5755         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
5756         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
5757         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
5758         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
5759         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
5760         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
5761         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
5762         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
5763         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
5764         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
5765         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
5766         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
5767         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
5768         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
5769         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
5770         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
5771         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
5772         * sysdeps/unix/sysv/linux/system.c: Likewise.
5773         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
5774         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
5775         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5776         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5777         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5778         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5779         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5781         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
5782         * configure: Regenerated.
5783         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
5785         * configure.ac (base_machine): Do not set specially for particular
5786         machines here.
5787         * configure: Regenerated.
5788         * sysdeps/powerpc/preconfigure: Move machine and base_machine
5789         settings from configure.ac.
5790         * sysdeps/i386/preconfigure: New file.
5791         * sysdeps/s390/preconfigure: Likewise.
5792         * sysdeps/sh/preconfigure: Likewise.
5793         * sysdeps/sparc/preconfigure: Likewise.
5795 2014-06-25  Roland McGrath  <roland@hack.frob.com>
5797         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
5798         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
5799         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
5800         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
5801         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
5802         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
5803         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
5804         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
5805         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
5806         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
5807         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
5808         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
5809         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
5810         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
5811         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
5812         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
5813         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
5814         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
5815         * sysdeps/sparc/sparc64/Makefile: ... appended here.
5817         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
5818         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
5819         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
5820         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
5821         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
5822         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
5823         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
5824         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
5825         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
5826         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
5827         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
5828         * sysdeps/sparc/sparc32/sem_post.c: ... here.
5829         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
5830         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
5831         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
5832         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
5833         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
5834         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
5835         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
5836         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
5837         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
5838         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
5839         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
5840         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
5841         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
5842         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
5843         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
5844         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
5845         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
5846         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
5847         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
5848         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
5849         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
5850         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
5851         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
5852         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
5853         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
5854         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
5856         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
5857         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
5858         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
5859         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
5860         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
5861         Moved ...
5862         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
5863         ... here.
5864         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
5865         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
5866         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
5867         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
5868         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
5869         Moved ...
5870         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
5871         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
5872         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
5873         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
5874         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
5875         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
5876         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
5877         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5878         Moved ...
5879         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
5880         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
5881         Moved ...
5882         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
5883         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
5884         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
5885         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5886         Moved ...
5887         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
5888         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
5889         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
5890         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
5891         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
5892         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
5893         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
5894         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
5895         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
5896         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
5897         Moved ...
5898         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
5899         ... here.
5900         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
5901         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
5902         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
5903         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
5904         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
5905         Moved ...
5906         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
5907         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
5908         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
5909         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
5910         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
5911         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
5912         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
5913         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5914         Moved ...
5915         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
5916         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
5917         Moved ...
5918         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
5919         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
5920         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
5921         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
5922         Moved ...
5923         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
5924         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
5925         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
5926         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
5927         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
5929 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
5931         * timezone/checktab.awk: Update from tzcode 2014e.
5932         * timezone/private.h: Likewise.
5933         * timezone/tzfile.h: Likewise.
5934         * timezone/zdump.c: Likewise.
5935         * timezone/zic.c: Likewise.
5937         * sysdeps/unix/sysv/linux/kernel-features.h
5938         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
5939         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
5940         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
5941         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5942         Remove conditional code.
5944 2014-06-25  Will Newton  <will.newton@linaro.org>
5946         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
5947         (_dl_arm_cap_flags): Add HWCAP2 values.
5948         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
5949         (_DL_HWCAP_COUNT): Increase to 37.
5950         (_DL_HWCAP_LAST): New define.
5951         (_DL_HWCAP2_LAST): New define.
5952         (_dl_procinfo): Add support for printing
5953         AT_HWCAP2 entries.
5954         (_dl_string_hwcap): Use _dl_hwcap_string.
5956 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5958         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5960 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
5962         * README: Do not mention ports directory.
5964         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
5965         Remove macro.
5966         * sysdeps/unix/sysv/linux/futimes.c: Do not include
5967         <kernel-features.h>.
5968         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
5969         conditional variable definition.
5970         (__futimes): Update comment.
5971         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
5972         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
5974         [BZ #16560]
5975         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
5976         arguments close to 0.
5977         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
5978         Likewise.
5979         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
5980         Likewise.
5981         * math/auto-libm-test-in: Add more tests of exp10.
5982         * math/auto-libm-test-out: Regenerated.
5983         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5985         * sysdeps/unix/sysv/linux/kernel-features.h
5986         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
5987         * sysdeps/unix/sysv/linux/readv.c: Do not include
5988         <kernel-features.h>.
5989         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
5990         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
5991         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
5992         unconditional.
5993         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
5994         conditional code.
5995         * sysdeps/unix/sysv/linux/writev.c: Do not include
5996         <kernel-features.h>.
5997         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
5998         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
5999         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
6000         unconditional.
6001         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
6002         conditional code.
6004 2014-06-25  Will Newton  <will.newton@linaro.org>
6006         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
6007         comment changes throughout the file.  Remove checks
6008         for HAVE_*_H definitions that are not required.
6009         (__gen_tempname): Call abort if an unknown kind value is
6010         passed.
6012 2014-06-25  Andreas Schwab  <schwab@suse.de>
6014         [BZ #17086]
6015         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
6016         scalbln, scalblnf, scalblnl in libc.
6018 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
6020         [BZ #17086]
6021         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
6022         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
6023         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
6025 2014-06-24  Roland McGrath  <roland@hack.frob.com>
6027         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
6028         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
6029         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
6030         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
6031         Update #include.
6032         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
6033         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
6034         Update #include.
6035         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
6036         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
6037         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
6038         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
6039         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
6040         * sysdeps/x86/bits/pthreadtypes.h: ... here.
6041         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
6042         * sysdeps/x86/bits/semaphore.h: ... here.
6043         * sysdeps/x86/nptl/elide.h: Moved ...
6044         * sysdeps/x86/elide.h: ... here.
6045         * sysdeps/x86_64/nptl/Implies: File removed.
6046         * sysdeps/i386/nptl/Implies: File removed.
6048 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
6050         [BZ #16539]
6051         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
6052         return the argument for normal arguments with exponent below -64.
6053         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6054         Likewise.
6055         * math/auto-libm-test-in: Add another test of expm1.
6056         * math/auto-libm-test-out: Regenerated.
6058         [BZ #16287]
6059         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
6060         calling __erfcl for arguments at least 16.
6061         * math/auto-libm-test-in: Add more tests of erf.
6062         * math/auto-libm-test-out: Regenerated.
6064         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
6065         individual architectures.
6066         * sysdeps/unix/sysv/linux/configure: Regenerated.
6067         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
6068         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
6069         * sysdeps/unix/sysv/linux/powerpc/configure.ac
6070         (ldd_rewrite_script): Define variable.
6071         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
6073         file.
6074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
6075         generated file.
6076         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
6077         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
6078         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
6079         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
6080         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
6081         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
6082         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
6083         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
6085 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6087         [BZ #17084]
6088         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
6089         Rename member __data.d to __data.__elision_data.
6091 2014-06-24  Wilco  <wdijkstr@arm.com>
6093         * NEWS: Add 16918 to fixed bug list.
6095 2014-06-24  Wilco  <wdijkstr@arm.com>
6097         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
6099 2014-06-24  Wilco  <wdijkstr@arm.com>
6101         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
6102         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
6103         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
6104         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
6105         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
6106         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
6107         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
6108         Use _FPU_MASK_RM.
6110 2014-06-24  Wilco  <wdijkstr@arm.com>
6112         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
6114 2014-06-24  Wilco  <wdijkstr@arm.com>
6116         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
6117         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
6118         * sysdeps/arm/fesetround.c (fesetround): Remove space.
6119         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
6121 2014-06-24  Wilco  <wdijkstr@arm.com>
6123         [BZ #16918]
6124         * sysdeps/arm/feupdateenv.c (feupdateenv):
6125         Rewrite to reduce FPSCR accesses and fix return value.
6127 2014-06-24  Wilco  <wdijkstr@arm.com>
6129         * sysdeps/arm/fclrexcpt.c (feclearexcept):
6130         Optimize to avoid unnecessary FPSCR writes.
6131         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
6132         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
6133         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
6134         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
6136 2014-06-24  Wilco  <wdijkstr@arm.com>
6138         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
6139         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
6140         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
6141         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
6142         Call libc_fetestexcept_vfp.
6143         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
6144         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
6145         __SOFTFP__ ifdef so that they can be built for softfp.
6147 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6149         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
6150         argument type signed char.
6152         * Makerules (check-abi): Dump diff of symlist if the test
6153         fails.
6155 2014-06-23  Roland McGrath  <roland@hack.frob.com>
6157         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
6158         using abort.
6160         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
6161         Remove unused variable ST.
6163 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
6165         [BZ #16354]
6166         [BZ #17061]
6167         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
6168         small arguments before calling __expm1.
6169         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
6170         small arguments before calling __expm1f.
6171         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
6172         small arguments before calling __expm1l.
6173         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6174         Likewise.
6175         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
6176         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
6177         spurious underflow for some cosh tests.
6178         * math/auto-libm-test-out: Regenerated.
6179         * sysdeps/i386/fpu/libm-test-ulps: Update.
6181         [BZ #17050]
6182         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
6183         (__ieee754_y1): Set errno if return value overflows.
6184         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
6185         (__ieee754_y1f): Set errno if return value overflows.
6186         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
6187         (__ieee754_y1l): Set errno if return value overflows.
6188         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
6189         (__ieee754_y1l): Set errno if return value overflows.
6190         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
6191         * math/auto-libm-test-out: Regenerated.
6193         * math/gen-auto-libm-tests.c: Document use of
6194         ignore-zero-inf-sign.
6195         (input_flag_type): Add value flag_ignore_zero_inf_sign.
6196         (input_flags): Add ignore-zero-inf-sign.
6197         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
6198         * math/gen-libm-test.pl (generate_testfile): Handle
6199         ignore-zero-inf-sign.
6200         * math/auto-libm-test-in: Mark some cpow tests with
6201         ignore-zero-inf-sign and some with xfail-rounding.
6202         * math/auto-libm-test-out: Regenerated.
6203         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
6204         * sysdeps/i386/fpu/libm-test-ulps: Update.
6205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6207         [BZ #16315]
6208         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
6209         overflowing or underflowing operations take place with sign of
6210         result.
6211         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6212         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
6213         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
6214         (__ieee754_pow): Recompute overflowing and underflowing results in
6215         original rounding mode.
6216         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
6217         (__powl_helper): Allow negative argument X and scale negated value
6218         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
6219         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
6220         overflowing or underflowing operations take place with sign of
6221         result.
6222         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
6223         Include <math.h>.
6224         * math/auto-libm-test-in: Add more tests of pow.
6225         * math/auto-libm-test-out: Regenerated.
6226         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
6227         (pow_tonearest_test_data): Remove.
6228         (pow_test_tonearest): Likewise.
6229         (pow_towardzero_test_data): Likewise.
6230         (pow_test_towardzero): Likewise.
6231         (pow_downward_test_data): Likewise.
6232         (pow_test_downward): Likewise.
6233         (pow_upward_test_data): Likewise.
6234         (pow_test_upward): Likewise.
6235         (main): Don't call removed functions.
6236         * sysdeps/i386/fpu/libm-test-ulps: Update.
6237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6239 2014-06-23  Roland McGrath  <roland@hack.frob.com>
6241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
6242         Moved ...
6243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
6244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6245         Moved ...
6246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
6247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6248         Moved ...
6249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
6250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6251         Moved ...
6252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
6253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6254         File removed.
6255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6256         File removed.
6257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
6258         File removed.
6259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
6260         File removed.
6261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
6262         File removed.
6263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
6264         File removed.
6265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
6266         File removed.
6267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6268         File removed.
6269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
6270         File removed.
6271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6272         File removed.
6273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
6274         File removed.
6275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
6276         File removed.
6277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
6278         Moved ...
6279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
6280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
6281         Moved ...
6282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
6283         ... here.
6284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
6285         Moved ...
6286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
6287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
6288         Moved ...
6289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
6290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
6291         Moved ...
6292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
6293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
6294         Moved ...
6295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
6296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
6297         Moved ...
6298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
6299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
6300         Moved ...
6301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
6302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
6303         Moved ...
6304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
6305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
6306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
6307         ... here.
6308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
6309         Moved ...
6310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
6311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
6312         Moved ...
6313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6314         ... here.
6315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
6316         Moved ...
6317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6318         ... here.
6319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6320         Moved ...
6321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
6322         ... here.
6323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6324         Moved ...
6325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
6326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6327         Moved ...
6328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
6329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
6330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
6331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6332         Moved ...
6333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
6334         ... here.
6335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6336         Moved ...
6337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
6338         ... here.
6339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6340         Moved ...
6341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
6342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6343         Moved ...
6344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
6345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6346         Moved ...
6347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
6348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6349         Moved ...
6350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
6351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6352         Moved ...
6353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
6354         ... here.
6355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6356         Moved ...
6357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
6358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6359         Moved ...
6360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
6361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6362         Moved ...
6363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
6364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6365         Moved ...
6366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
6367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
6368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
6369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6370         Moved ...
6371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
6372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6373         Moved ...
6374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
6375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6376         Moved ...
6377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
6378         ... here.
6379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6380         Moved ...
6381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
6382         ... here.
6383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6384         Moved ...
6385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
6386         ... here.
6387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6388         Moved ...
6389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
6390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6391         Moved ...
6392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
6393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6394         Moved ...
6395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
6396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6397         Moved ...
6398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
6399         ... here.
6400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6401         Moved ...
6402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
6403         ... here.
6404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6405         Moved ...
6406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
6407         ... here.
6408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6409         Moved ...
6410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
6411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6412         Moved ...
6413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
6415 2014-06-23  Will Newton  <will.newton@linaro.org>
6416             Wilco  <wdijkstr@arm.com>
6418         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
6419         implementation.  Include get-rounding-mode.h.
6420         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
6421         [!libc_feholdsetround_noex_ctx]: Define
6422         libc_feholdsetround_noex_ctx.
6423         [!libc_feholdsetround_noexf_ctx]: Define
6424         libc_feholdsetround_noexf_ctx.
6425         [!libc_feholdsetround_noexl_ctx]: Define
6426         libc_feholdsetround_noexl_ctx.
6427         (libc_feholdsetround_ctx): New function.
6428         (libc_feresetround_ctx): New function.
6429         (libc_feholdsetround_noex_ctx): New function.
6430         (libc_feresetround_noex_ctx): New function.
6432 2014-06-23  Roland McGrath  <roland@hack.frob.com>
6434         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
6435         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
6436         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
6437         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
6438         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
6439         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
6441         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
6442         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
6443         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
6444         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
6445         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
6446         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
6447         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
6448         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
6449         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
6450         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
6451         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
6452         Moved ...
6453         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
6454         ... here.
6455         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
6456         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
6457         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
6458         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
6459         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
6460         Moved ...
6461         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
6462         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
6463         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
6464         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
6465         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
6466         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
6467         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
6468         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
6469         Moved ...
6470         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
6471         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
6472         Moved ...
6473         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
6474         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
6475         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
6476         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
6477         Moved ...
6478         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
6479         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
6480         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
6481         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
6482         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
6483         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
6484         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
6485         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
6486         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
6487         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
6488         Moved ...
6489         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
6490         ... here.
6491         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
6492         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
6493         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
6494         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
6495         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
6496         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
6497         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
6498         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
6499         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
6500         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
6501         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
6502         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
6503         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
6504         Moved ...
6505         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
6506         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
6507         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
6508         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
6509         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
6510         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
6511         Moved ...
6512         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
6513         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
6514         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
6515         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
6516         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
6518         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
6519         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
6520         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
6521         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
6522         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
6523         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
6524         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
6525         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
6526         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
6527         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
6528         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
6529         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
6530         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
6531         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
6532         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
6533         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
6534         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
6535         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
6536         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
6537         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
6538         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
6539         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
6540         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
6541         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
6542         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
6543         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
6544         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
6545         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
6547 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
6549         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
6550         (FALLOC_FL_COLLAPSE_RANGE): New macro.
6551         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
6552         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
6553         (IPV6_PMTUDISC_INTERFACE): Likewise.
6554         (IPV6_PMTUDISC_OMIT): Likewise.
6556 2014-06-23  Andreas Schwab  <schwab@suse.de>
6558         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
6559         Remove unused errout label.
6561 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6563         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
6564         macro: hardware supports Vector Crypto instructions.
6566 2014-06-23  Will Newton  <will.newton@linaro.org>
6568         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
6569         rather than __builtin_expect.
6571         * elf/dl-lookup.c (undefined_msg): Remove variable.
6572         (_dl_lookup_symbol_x): Replace undefined_msg with string
6573         literal.
6575         * elf/dl-lookup.c (do_lookup_unique): New function.
6576         (do_lookup_x): Move STB_GNU_UNIQUE handling code
6577         to a separate function.
6579 2014-06-23  Andreas Schwab  <schwab@suse.de>
6581         [BZ #17079]
6582         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
6583         before reading the next line.
6585 2014-06-23  Will Newton  <will.newton@linaro.org>
6587         * test-skeleton.c (signal_handler): Use printf and %m
6588         rather than perror.  Use printf rather than fprintf to
6589         stderr.  Use puts rather than fputs to stderr.
6590         (main): Likewise.
6592 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
6594         * nscd/nscd.c (thread_info_t): Remove typedef.
6595         (thread_info): Remove variable.
6597 2014-06-21  Allan McRae  <allan@archlinux.org>
6599         * NEWS: Mention CVE-2014-4043.
6601 2014-06-20  Roland McGrath  <roland@hack.frob.com>
6603         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
6604         * nptl/smp.h: ... here.
6606         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
6608         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
6609         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
6610         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
6611         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
6613         * nptl/allocatestack.c: Include <stack-aliasing.h>.
6614         * nptl/stack-aliasing.h: New file.
6615         * sysdeps/i386/i686/stack-aliasing.h: New file.
6616         * sysdeps/i386/i686/nptl/Makefile: File removed.
6617         * sysdeps/x86_64/stack-aliasing.h: New file.
6618         * sysdeps/x86_64/nptl/Makefile
6619         (CFLAGS-pthread_create.c): Variable removed.
6621         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
6622         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
6623         old file.
6624         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
6625         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
6626         old file.
6628 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
6630         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6631         (__ASSUME_SIGFRAME_V2): Remove macro.
6632         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
6633         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
6634         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
6635         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
6636         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
6637         Declare as function.  Remove conditional macro definitions.
6638         (__default_rt_sa_restorer): Likewise.
6639         (__default_sa_restorer_v1): Remove declaration.
6640         (__default_sa_restorer_v2): Likewise.
6641         (__default_rt_sa_restorer_v1): Likewise.
6642         (__default_rt_sa_restorer_v2): Likewise.
6643         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
6644         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
6645         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
6647 2014-06-20  Roland McGrath  <roland@hack.frob.com>
6649         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
6650         (libpthread-routines): Add sysdep.
6651         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
6652         * sysdeps/unix/sysv/linux/sparc/Versions
6653         (libpthread: GLIBC_2.3.3): New version set.
6654         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
6655         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
6656         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
6657         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
6658         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
6659         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
6660         Moved ...
6661         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
6662         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
6663         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
6664         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
6665         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
6666         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
6667         * sysdeps/sparc/nptl/sem_init.c: ... here.
6668         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
6669         * sysdeps/sparc/nptl/sem_post.c: ... here.
6670         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
6671         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
6672         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
6673         * sysdeps/sparc/nptl/sem_wait.c: ... here.
6674         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
6675         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
6676         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
6677         (libpthread-routines): Add cpu_relax.
6678         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
6679         File removed.
6680         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
6681         (librt: GLIBC_2.3.3): New version set.
6682         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
6683         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
6684         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
6685         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
6686         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
6687         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
6688         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
6689         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
6690         Moved ...
6691         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
6692         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
6693         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
6694         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
6695         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
6696         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
6697         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
6698         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
6699         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
6700         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
6701         Moved ...
6702         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
6703         Update #include.
6704         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
6705         Moved ...
6706         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
6707         Update #include.
6708         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
6709         Moved ...
6710         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
6711         Update #include.
6712         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
6713         Moved ...
6714         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
6715         Update #include.
6716         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
6717         Moved ...
6718         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
6719         Update #include.
6720         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
6721         Moved ...
6722         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
6723         Update #include.
6724         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
6725         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
6726         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
6727         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
6728         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
6729         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
6730         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
6731         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
6732         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
6733         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
6734         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6735         Moved ...
6736         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
6737         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
6738         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
6739         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
6740         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
6742 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
6744         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
6745         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
6746         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
6747         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
6748         * nscd/nscd.c: Likewise.
6749         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
6750         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
6751         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
6752         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
6754         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
6755         <kernel-features.h>.
6756         (init_mq_netlink): Remove conditional have_sock_cloexec
6757         definitions.  Remove code conditional on have_sock_cloexec < 0.
6758         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
6759         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
6760         * sysdeps/unix/sysv/linux/opensock.c: Do not include
6761         <kernel-features.h>.
6762         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
6763         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
6765 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
6767         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6768         Add tests for memset_chk and memset.
6770         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
6771         with AVX2_Usable.
6773 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
6775         [BZ #16046]
6776         * elf/tst-dl-iter-static.c: New file.
6777         * elf/Makefile (tests-static): Add tst-dl-iter-static.
6779         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
6780         error.
6782 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
6784         * sysdeps/unix/sysv/linux/kernel-features.h
6785         (__ASSUME_F_GETOWN_EX): Remove macro.
6786         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
6787         <kernel-features.h>.
6788         (miss_F_GETOWN_EX): Remove variable or macro.
6789         (do_fcntl): Do not check miss_F_GETOWN_EX.
6790         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
6792         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
6793         Remove macro.
6794         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
6795         [!__ASSUME_AT_RANDOM]: Remove conditional code.
6796         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
6798         * sysdeps/unix/sysv/linux/kernel-features.h
6799         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
6800         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
6801         [ADJ_OFFSET_SS_READ]: Make code unconditional.
6802         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
6804 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
6806         [BZ #17075]
6807         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
6808         Fix calculation of the symbol's value.
6809         * sysdeps/arm/tst-armtlsdescloc.c: New file.
6810         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
6811         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
6812         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
6813         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
6814         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
6815         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
6816         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
6817         (modules-names): Add `tst-armtlsdescmod',
6818         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
6819         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
6820         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
6821         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
6822         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
6823         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
6824         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
6825         ($(objpfx)tst-armtlsdescloc): New dependency.
6826         ($(objpfx)tst-armtlsdescextnow): Likewise.
6827         ($(objpfx)tst-armtlsdescextlazy): Likewise.
6828         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
6829         TLS scheme support.
6830         * sysdeps/arm/configure: Regenerate.
6832 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
6834         * include/fcntl.h (__atfct_seterrno): Remove prototype.
6835         (__atfct_seterrno_2): Likewise.
6836         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
6837         <kernel-features.h>.
6838         (__ASSUME_ATFCTS): Do not undefine and redefine.
6839         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
6840         (__have_atfcts): Remove conditional definition.
6841         (__fxstatat([__NR_fstatat64]: Make code unconditional.
6842         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
6843         unreachable if [__ASSUME_ATFCTS].
6844         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
6845         not undefine and redefine.
6846         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
6847         <kernel-features.h>.
6848         (faccessat) [__NR_faccessat]: Make code unconditional.
6849         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
6850         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
6851         <kernel-features.h>.
6852         (fchmodat) [__NR_fchmodat]: Make code unconditional.
6853         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
6854         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
6855         <kernel-features.h>.
6856         (fchownat) [__NR_fchownat]: Make code unconditional.
6857         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
6858         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
6859         <kernel-features.h>.
6860         (futimesat) [__NR_futimesat]: Make code unconditional.
6861         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
6862         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
6863         <kernel-features.h>.
6864         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
6865         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6866         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6867         <kernel-features.h>.
6868         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
6869         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
6870         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
6871         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6872         <kernel-features.h>.
6873         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
6874         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6875         * sysdeps/unix/sysv/linux/linkat.c: Do not include
6876         <kernel-features.h>.
6877         (linkat) [__NR_linkat]: Make code unconditional.
6878         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6879         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
6880         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
6881         <kernel-features.h>.
6882         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
6883         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
6884         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
6885         <kernel-features.h>.
6886         (mkdirat) [__NR_mkdirat]: Make code unconditional.
6887         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
6888         * sysdeps/unix/sysv/linux/openat.c: Do not include
6889         <kernel-features.h>.
6890         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
6891         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
6892         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
6893         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
6894         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
6895         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
6896         <kernel-features.h>.
6897         (readlinkat) [__NR_readlinkat]: Make code unconditional.
6898         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
6899         result of INLINE_SYSCALL directly, not via int variable.
6900         * sysdeps/unix/sysv/linux/renameat.c: Do not include
6901         <kernel-features.h>.
6902         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
6903         (renameat) [__NR_renameat]: Make code unconditional.
6904         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
6905         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
6906         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
6907         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
6908         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
6909         (__ASSUME_ATFCTS): Do not undefine and redefine.
6910         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
6911         <kernel-features.h>.
6912         (symlinkat) [__NR_symlinkat]: Make code unconditional.
6913         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6914         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
6915         <kernel-features.h>.
6916         (unlinkat) [__NR_unlinkat]: Make code unconditional.
6917         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6918         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
6919         (__ASSUME_ATFCTS): Do not undefine and redefine.
6920         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6921         <kernel-features.h>.
6922         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
6923         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6924         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
6925         <kernel-features.h>.
6926         (__xmknodat) [__NR_mknodat]: Make code unconditional.
6927         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
6929 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
6931         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
6933 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
6935         [BZ #17069]
6936         * posix/regcomp.c (parse_reg_exp): Deallocate partially
6937         constructed tree before returning error.
6938         * posix/bug-regexp36.c: Expand test case.
6940 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6942         [BZ #6803]
6943         * math/libm-test.inc (scalbln_test_date):
6944         Add errno expectations.
6945         * math/w_scalblnf.c: New File.
6946         Add wrapper which checks for setting errno to ERANGE.
6947         Add weak_alias for corresponding scalbln function.
6948         * math/w_scalbln.c: Likewise.
6949         * math/w_scalblnl.c: Likewise.
6950         * math/Makefile (libm-calls): Add w_scalbln.
6951         * sysdeps/ieee754/flt-32/s_scalblnf.c:
6952         Remove weak_alias for corresponding scalbln function.
6953         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6954         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6955         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6956         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6957         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
6958         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
6959         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
6960         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
6961         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
6962         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
6963         Remove long_double_symbol for scalblnl function in libm, libc.
6964         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
6965         Add wrapper which checks for setting errno to ERANGE.
6966         Add long_double_symbol for scalblnl function in libm, libc.
6967         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
6968         Remove long_double_symbol for scalblnl in libm.
6969         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
6970         Add wrapper which checks for setting errno to ERANGE.
6971         Add long_double_symbol for scalblnl function in libm.
6972         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
6973         Do not use wrapper because of own implementation.
6975 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
6977         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
6978         3 bytes for __pad1 for x32.
6979         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
6981 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
6982             H.J. Lu  <hongjiu.lu@intel.com>
6984         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
6985         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
6986         * sysdeps/x86_64/multiarch/memset.S: Likewise.
6987         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6988         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
6990 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
6992         [BZ #17069]
6993         * posix/regcomp.c (parse_expression): Deallocate partially
6994         constructed tree before returning error.
6995         * posix/Makefile.c (tests): Add bug-regex36.
6996         (generated): Add bug-regex36.mtrace.
6997         (tests-special): Add $(objpfx)bug-regex36-mem.out
6998         (bug-regex36-ENV): New variable.
6999         ($(objpfx)bug-regex36-mem.out): New rule.
7000         * posix/bug-regex36.c: New file.
7002 2014-06-19  Will Newton  <will.newton@linaro.org>
7004         * malloc/malloc.c (systrim): If extra is zero then return
7005         early.
7007 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
7009         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
7011 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
7013         * sysdeps/aarch64/strchr.S: New file.
7015 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
7017         [BZ #17022]
7018         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
7019         from arguments -2 or below.
7020         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7021         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
7023 2014-06-18  Andreas Schwab  <schwab@suse.de>
7025         [BZ #17062]
7026         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
7027         of a bracket expr not to run off the end of the string.
7028         * posix/Makefile (tests): Add tst-fnmatch3.
7029         * posix/tst-fnmatch3.c: New file.
7031 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
7033         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
7034         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7035         [$(cross-compiling) = no]: Likewise.
7036         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7037         [$(cross-compiling) = no]: Likewise.
7039 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7041         [BZ #17031]
7042         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
7043         double, adjusted for any remainder from the high double.
7044         * math/libm-test.inc (nearbyint): Add tests.
7045         (rint): Likewise.
7047 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7049         * nptl/sysdeps/powerpc/Makefile: Moved ...
7050         * sysdeps/powerpc/nptl/Makefile: ... here.
7051         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
7052         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
7053         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
7054         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
7055         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
7056         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
7057         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
7058         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
7059         * nptl/sysdeps/powerpc/tls.h: Moved ...
7060         * sysdeps/powerpc/nptl/tls.h: ... here.
7062 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
7064         [BZ #16681]
7065         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
7066         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
7067         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
7068         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
7069         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
7070         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
7071         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
7072         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
7073         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
7075 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
7077         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7079 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
7081         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
7082         defined operator.
7084         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
7085         $TIMEOUTFACTOR.
7087 2014-06-16  Florian Weimer  <fweimer@redhat.com>
7089         [BZ #17058]
7090         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
7091         non-executed part of the test.
7093 2014-06-16  Andreas Schwab  <schwab@suse.de>
7095         * string/bits/string2.h (strdup, strndup): Update feature guard.
7097 2014-06-14  David S. Miller  <davem@davemloft.net>
7099         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7101 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
7103         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
7104         that was previously under [RESET_PID].
7105         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
7107         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
7108         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
7109         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
7110         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7111         (__libc_vfork): New strong alias.
7112         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
7114 2014-06-14 Andi Kleen  <ak@linux.intel.com>
7116         * sysdeps/generic/elide.h: New file.
7118 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
7120         * Makefile (installed-headers): Adjust path of pthread.h header.
7122 2014-06-13  Roland McGrath  <roland@hack.frob.com>
7124         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
7125         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
7126         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
7127         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
7129         * nptl/sysdeps/s390/Makefile: Moved ...
7130         * sysdeps/s390/nptl/Makefile: ... here.
7131         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
7132         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
7133         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
7134         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
7135         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
7136         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
7137         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
7138         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
7139         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
7140         * sysdeps/s390/nptl/pthreaddef.h: ... here.
7141         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
7142         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
7143         * nptl/sysdeps/s390/tls.h: Moved ...
7144         * sysdeps/s390/nptl/tls.h: ... here.
7146         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
7147         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
7149 2014-06-13  David S. Miller  <davem@davemloft.net>
7151         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
7152         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
7153         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
7154         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
7155         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
7156         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
7157         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
7158         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
7159         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
7160         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
7161         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
7162         Remove RESET_PID cpp guards.
7163         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
7164         Remove RESET_PID cpp guards.
7165         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
7167 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
7169         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
7170         __sp to uintptr_t.
7172 2014-06-13  Andi Kleen  <ak@linux.intel.com>
7174         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
7175         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
7176         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
7177         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
7178         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
7179         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
7180         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
7181         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
7182         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
7183         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
7184         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
7185         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
7186         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
7187         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
7188         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
7189         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
7190         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
7191         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
7192         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
7193         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
7195         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
7196         (pthread_rwlock_rdlock): Add elision.
7197         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
7198         (pthread_rwlock_wrlock): Add elision.
7199         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
7200         (pthread_rwlock_trywrlock): Add elision.
7201         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
7202         (pthread_rwlock_tryrdlock): Add elision.
7203         * nptl/pthread_rwlock_unlock.c: Include elide.h.
7204         (pthread_rwlock_tryrdlock): Add elision unlock.
7205         * nptl/sysdeps/pthread/pthread.h:
7206         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
7207         (PTHREAD_RWLOCK_INITIALIZER,
7208         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
7209         Handle new elision field.
7210         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
7211         * sysdeps/arm/nptl/bits/pthreadtypes.h
7212         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7213         * sysdeps/sh/nptl/bits/pthreadtypes.h
7214         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7215         * sysdeps/tile/nptl/bits/pthreadtypes.h
7216         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7217         * sysdeps/a/nptl/bits/pthreadtypes.h
7218         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7219         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7220         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7221         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7222         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7223         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
7224         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7225         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7226         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7227         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7228         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7229         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7230         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7231         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7232         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7233         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
7234         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7235         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
7236         (elision_init): Set try_xbegin to zero when no RTM.
7237         * sysdeps/x86/nptl/bits/pthreadtypes.h
7238         (pthread_rwlock_t): Change __pad1 to __rwelision.
7239         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7241 2014-06-13  Andi Kleen  <ak@linux.intel.com>
7243         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
7244         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
7245         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
7246         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
7248 2014-06-13  Meador Inge  <meadori@codesourcery.com>
7250         [BZ #16996]
7251         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
7252         that the cached result has been set before returning it.
7254 2014-06-12  Roland McGrath  <roland@hack.frob.com>
7256         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
7257         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
7258         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
7259         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
7260         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
7261         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
7263         * nptl/sysdeps/sparc/Makefile: Moved ...
7264         * sysdeps/sparc/nptl/Makefile: ... here.
7265         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
7266         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
7267         * nptl/sysdeps/sparc/tls.h: Moved ...
7268         * sysdeps/sparc/nptl/tls.h: ... here.
7269         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
7270         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
7271         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
7272         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
7273         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
7274         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
7275         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
7276         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
7277         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
7278         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
7279         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
7280         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
7281         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
7282         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
7283         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
7284         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
7285         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
7286         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
7287         Update #include.
7288         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
7289         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
7290         Update #include.
7291         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
7292         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
7293         Update #include.
7294         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
7295         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
7296         Update #include.
7298         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
7300         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
7301         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
7303         * sysdeps/pthread/posix-timer.h: Include <list.h>.
7304         (struct list_links): Type removed.
7305         (struct thread_node, struct timer_node): Replace struct list_links
7306         with struct list_head.
7307         (list_unlink_ip): Likewise.
7308         * sysdeps/pthread/timer_routines.c
7309         (timer_free_list, thread_free_list, thread_active_list): Likewise.
7310         (list_append, list_insbefore): Likewise.
7311         (list_init): Function removed.
7312         (thread_init, init_module): Use INIT_LIST_HEAD instead.
7313         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
7314         * sysdeps/pthread/Makefile: ... here, new file.
7316         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
7317         * sysdeps/nptl/Implies: ... here.
7318         * sysdeps/unix/sysv/linux/Implies: Add nptl.
7319         * nptl/sysdeps/pthread/list.h: Moved ...
7320         * include/list.h: ... here.
7321         * nptl/sysdeps/pthread/createthread.c: Moved ...
7322         * nptl/createthread.c: ... here.
7323         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
7324         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
7325         * nptl/pt-longjmp.c: ... here.
7326         * nptl/sysdeps/pthread/Makefile: Moved ...
7327         * sysdeps/nptl/Makefile: ... here.
7328         * nptl/sysdeps/pthread/Subdirs: Moved ...
7329         * sysdeps/nptl/Subdirs: ... here.
7330         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
7331         * sysdeps/nptl/aio_misc.h: ... here.
7332         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
7333         * sysdeps/nptl/bits/libc-lock.h: ... here.
7334         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
7335         * sysdeps/nptl/bits/libc-lockP.h: ... here.
7336         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
7337         * sysdeps/nptl/bits/stdio-lock.h: ... here.
7338         * nptl/sysdeps/pthread/configure: Moved ...
7339         * sysdeps/nptl/configure: ... here.
7340         * nptl/sysdeps/pthread/configure.ac: Moved ...
7341         * sysdeps/nptl/configure.ac: ... here.
7342         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
7343         * sysdeps/nptl/gai_misc.h: ... here.
7344         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
7345         * sysdeps/nptl/librt-cancellation.c: ... here.
7346         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
7347         * sysdeps/nptl/malloc-machine.h: ... here.
7348         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
7349         * sysdeps/nptl/pthread-functions.h: ... here.
7350         * nptl/sysdeps/pthread/pthread.h: Moved ...
7351         * sysdeps/nptl/pthread.h: ... here.
7352         * nptl/sysdeps/pthread/setxid.h: Moved ...
7353         * sysdeps/nptl/setxid.h: ... here.
7354         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
7355         * sysdeps/nptl/sigfillset.c: ... here.
7356         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
7357         * sysdeps/nptl/tcb-offsets.h: ... here.
7358         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
7359         * sysdeps/nptl/tst-mqueue8x.c: ... here.
7360         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
7361         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
7362         * nptl/sysdeps/pthread/allocalim.h: Moved ...
7363         * sysdeps/pthread/allocalim.h: ... here.
7364         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
7365         * sysdeps/pthread/bits/sigthread.h: ... here.
7366         * nptl/sysdeps/pthread/flockfile.c: Moved ...
7367         * sysdeps/pthread/flockfile.c: ... here.
7368         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
7369         * sysdeps/pthread/ftrylockfile.c: ... here.
7370         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
7371         * sysdeps/pthread/funlockfile.c: ... here.
7372         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
7373         * sysdeps/pthread/posix-timer.h: ... here.
7374         * nptl/sysdeps/pthread/timer_create.c: Moved ...
7375         * sysdeps/pthread/timer_create.c: ... here.
7376         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
7377         * sysdeps/pthread/timer_delete.c: ... here.
7378         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
7379         * sysdeps/pthread/timer_getoverr.c: ... here.
7380         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
7381         * sysdeps/pthread/timer_gettime.c: ... here.
7382         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
7383         * sysdeps/pthread/timer_routines.c: ... here.
7384         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
7385         * sysdeps/pthread/timer_settime.c: ... here.
7386         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
7387         * sysdeps/pthread/tst-timer.c: ... here.
7388         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
7389         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
7391         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
7392         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
7394         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
7395         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
7396         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
7397         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
7398         Update #include target.
7399         * nptl/sysdeps/i386/i686/Makefile: Moved ...
7400         * sysdeps/i386/i686/nptl/Makefile: ... here.
7401         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
7402         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
7403         Update #include target.
7404         * nptl/sysdeps/i386/i686/tls.h: Moved ...
7405         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
7406         * nptl/sysdeps/i386/Makefile: Moved ...
7407         * sysdeps/i386/nptl/Makefile: ... here.
7408         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
7409         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
7410         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
7411         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
7412         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
7413         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
7414         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
7415         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
7416         * sysdeps/i386/nptl/pthreaddef.h: ... here.
7417         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
7418         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
7419         * nptl/sysdeps/i386/tls.h: Moved ...
7420         * sysdeps/i386/nptl/tls.h: ... here.
7422         * sysdeps/sh/Makefile [$(subdir) = csu]
7423         (gen-as-const-headers): Add tcb-offsets.sym.
7424         * nptl/sysdeps/sh/Makefile: File removed.
7425         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
7426         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
7427         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
7428         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
7429         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
7430         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
7431         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
7432         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
7433         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
7434         * sysdeps/sh/nptl/pthreaddef.h: ... here.
7435         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
7436         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
7437         * nptl/sysdeps/sh/tls.h: Moved ...
7438         * sysdeps/sh/nptl/tls.h: ... here.
7439         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
7440         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
7441         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
7442         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
7443         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
7444         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
7445         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
7446         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
7447         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
7448         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
7449         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
7450         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
7451         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
7452         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
7453         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
7454         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
7455         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
7456         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
7457         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
7458         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
7459         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
7460         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
7461         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
7462         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
7463         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
7464         Moved ...
7465         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
7466         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
7467         Moved ...
7468         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
7469         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
7470         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
7471         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
7472         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
7473         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
7474         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
7475         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
7476         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
7477         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
7478         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
7479         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
7480         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
7481         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
7482         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
7483         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
7484         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
7485         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
7486         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
7488 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
7490         * posix/spawn_faction_addopen.c: Include string.h.
7492 2014-06-11  Roland McGrath  <roland@hack.frob.com>
7494         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
7495         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
7496         * nptl/sysdeps/x86_64/Makefile: Moved ...
7497         * sysdeps/x86_64/nptl/Makefile: ... here.
7498         * nptl/sysdeps/x86_64/configure: Moved ...
7499         * sysdeps/x86_64/nptl/configure: ... here.
7500         * nptl/sysdeps/x86_64/configure.ac: Moved ...
7501         * sysdeps/x86_64/nptl/configure.ac: ... here.
7502         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
7503         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
7504         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
7505         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
7506         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
7507         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
7508         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
7509         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
7510         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
7511         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
7512         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
7513         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
7514         * nptl/sysdeps/x86_64/tls.h: Moved ...
7515         * sysdeps/x86_64/nptl/tls.h: ... here.
7516         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
7517         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
7518         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
7519         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
7521         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
7523 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7525         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7527 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
7529         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
7530         type.
7531         [POSIX] (off_t): Likewise.
7532         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
7533         [POSIX] (S_ISBLK): Require macro.
7534         [POSIX] (S_ISCHR): Likewise.
7535         [POSIX] (S_ISDIR): Likewise.
7536         [POSIX] (S_ISFIFO): Likewise.
7537         [POSIX] (S_ISREG): Likewise.
7538         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
7539         optional-macro.
7540         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
7541         type.
7542         [POSIX] (time_t): Likewise.
7543         [POSIX] (timer_t): Likewise.
7545 2014-06-11  Florian Weimer  <fweimer@redhat.com>
7547         [BZ #17048]
7548         * posix/spawn_int.h (struct __spawn_action): Make the path string
7549         non-const to support deallocation.
7550         * posix/spawn_faction_addopen.c
7551         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
7552         * posix/spawn_faction_destroy.c
7553         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
7554         path in all spawn_do_open actions.
7555         * posix/tst-spawn.c (do_test): Exercise the copy operation in
7556         posix_spawn_file_actions_addopen.
7558 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
7560         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
7561         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
7562         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
7563         conditional code always true.
7564         (__libc_vfork): New alias.
7566 2014-06-11  Roland McGrath  <roland@hack.frob.com>
7568         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7569         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
7571         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
7573         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7574         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
7576         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
7577         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
7579         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7580         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
7582 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7584         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
7585         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
7586         multiarch strcmp for PPC64.
7587         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
7588         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
7589         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
7590         multiarch optimizations.
7591         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7592         (__libc_ifunc_impl_list): Likewise.
7594 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7596         * benchtests/scripts/validate_benchout.py: New script.
7597         * benchtests/Makefile (bench-func): Call it.
7598         * benchtests/scripts/benchout.schema.json: New file.
7600 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
7602         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
7603         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
7604         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
7605         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
7606         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
7607         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
7608         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
7609         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
7610         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
7611         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
7612         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
7613         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
7614         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
7615         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
7616         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
7617         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
7618         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
7619         Moved ...
7620         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
7621         ... here.
7622         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
7623         Moved ...
7624         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
7625         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
7626         Moved ...
7627         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
7628         ... here.
7629         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
7630         Moved ...
7631         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
7632         ... here.
7633         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
7634         Moved ...
7635         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
7636         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
7637         Moved ...
7638         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
7639         ... here.
7640         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
7641         Moved ...
7642         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
7643         ... here.
7644         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
7645         Moved ...
7646         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
7647         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
7648         Moved ...
7649         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
7650         ... here.
7651         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
7652         Moved ...
7653         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
7654         ... here.
7655         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
7656         Moved ...
7657         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
7658         ... here.
7659         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
7660         Moved ...
7661         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
7662         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
7663         Moved ...
7664         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
7665         ... here.
7666         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
7667         Moved ...
7668         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
7669         ... here.
7670         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
7671         Moved ...
7672         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
7673         ... here.
7674         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
7675         Moved ...
7676         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
7677         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
7678         Moved ...
7679         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
7680         ... here.
7681         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
7682         Moved ...
7683         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
7684         ... here.
7685         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
7686         Moved ...
7687         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
7688         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
7689         Moved ...
7690         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
7691         ... here.
7692         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
7693         Moved ...
7694         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
7695         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
7696         Moved ...
7697         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
7698         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
7699         Moved ...
7700         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
7701         ... here.
7702         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
7703         Moved ...
7704         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
7705         ... here.
7706         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
7707         Moved ...
7708         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
7709         ... here.
7710         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
7711         Moved ...
7712         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
7713         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
7714         Moved ...
7715         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
7716         ... here.
7717         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
7718         Moved ...
7719         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
7720         ... here.
7721         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
7722         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
7723         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
7724         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
7725         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
7726         Moved ...
7727         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
7728         ... here.
7729         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
7730         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
7731         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
7732         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
7733         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
7734         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
7735         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
7736         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
7737         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
7738         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
7739         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
7740         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
7741         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
7742         Moved ...
7743         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
7744         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
7745         Moved ...
7746         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
7747         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
7748         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
7749         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
7750         Moved ...
7751         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
7752         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
7753         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
7754         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
7755         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
7756         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
7757         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
7759 2014-06-10  Wilco  <wdijkstr@arm.com>
7761         * math/test-fenv-return.c: New file.
7762         * math/Makefile: Add new test test-fenv-return.
7764 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
7766         [BZ #17042]
7767         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
7768         when x - 1 is zero.
7769         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
7770         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
7771         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
7772         0.0L for an argument of 1.0L.
7773         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
7774         Likewise.
7775         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
7776         value when x - 1 is zero.
7777         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
7778         * sysdeps/i386/fpu/libm-test-ulps: Update.
7779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7781 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
7783         [BZ #15119]
7784         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
7786 2014-06-09  Roland McGrath  <roland@hack.frob.com>
7788         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
7789         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
7791 2014-06-09  Roland McGrath  <roland@hack.frob.com>
7793         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7794         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
7796         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7797         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
7799         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7800         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
7802         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7803         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
7805         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
7806         if not already defined.
7807         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
7808         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
7809         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
7810         (TLS_INIT_TP): Use it.
7811         (TLS_DEFINE_INIT_TP): New macro.
7812         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
7814 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
7816         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
7817         constant.
7818         [POSIX] (IXANY): Likewise.
7819         [POSIX] (OLCUC): Likewise.
7820         [POSIX || POSIX2008] (CBAUD): Do not allow.
7821         [POSIX || POSIX2008] (DEFECHO): Likewise.
7822         [POSIX || POSIX2008] (ECHOCTL): Likewise.
7823         [POSIX || POSIX2008] (ECHOKE): Likewise.
7824         [POSIX || POSIX2008] (ECHOPRT): Likewise.
7825         [POSIX || POSIX2008] (EXTA): Likewise.
7826         [POSIX || POSIX2008] (EXTB): Likewise.
7827         [POSIX || POSIX2008] (FLUSHO): Likewise.
7828         [POSIX || POSIX2008] (LOBLK): Likewise.
7829         [POSIX || POSIX2008] (PENDIN): Likewise.
7830         [POSIX || POSIX2008] (SWTCH): Likewise.
7831         [POSIX || POSIX2008] (VDISCARD): Likewise.
7832         [POSIX || POSIX2008] (VDSUSP): Likewise.
7833         [POSIX || POSIX2008] (VLNEXT): Likewise.
7834         [POSIX || POSIX2008] (VREPRINT): Likewise.
7835         [POSIX || POSIX2008] (VSTATUS): Likewise.
7836         [POSIX || POSIX2008] (VWERASE): Likewise.
7837         (B*): Change to B[0123456789]*.
7838         * conform/data/time.h-data [POSIX || UNIX98]
7839         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
7840         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
7841         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
7842         [POSIX] (tm_*): Do not allow.
7844 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
7846         * Makefile (install): Don't set LANGUAGE.
7847         * Makefile.in (install): Likewise.
7848         * assert/Makefile (test-assert-ENV): Remove variable.
7849         (test-assert-perr-ENV): Likewise.
7850         * elf/Makefile (neededtest4-ENV): Likewise.
7851         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7852         [$(cross-compiling) = no]: Don't set LANGUAGE.
7853         * io/ftwtest-sh (LANG): Remove variable.
7854         * libio/Makefile (tst-widetext-ENV): Likewise.
7855         * manual/install.texi (Running make install): Don't refer to
7856         environment settings for make install.
7857         * INSTALL: Regenerated.
7858         * nptl/tst-tls6.sh: Don't set LANG.
7859         * posix/globtest.sh (LANG): Remove variable.
7860         * string/Makefile (tester-ENV): Likewise.
7861         (inl-tester-ENV): Likewise.
7862         (noinl-tester-ENV): Likewise.
7863         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7864         [$(cross-compiling) = no]: Don't set LANGUAGE.
7865         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
7866         without explicit environment settings.
7868 2014-06-06  Roland McGrath  <roland@hack.frob.com>
7870         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
7871         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
7872         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
7873         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
7875 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
7877         * crypt/crypt-private.h [DOS]: Add some includes taken from the
7878         other files in the crypt directory.
7879         * crypt/crypt.c: Remove duplicate includes.
7880         * crypt/crypt-entry.c: Likewise.
7881         * crypt/crypt_util.c: Likewise.
7883 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
7885         * Makeconfig (run-program-env): New variable.
7886         (run-program-prefix-before-env): Likewise.
7887         (run-program-prefix-after-env): Likewise.
7888         (run-program-prefix): Define in terms of new variables.
7889         (built-program-cmd-before-env): New variable.
7890         (built-program-cmd-after-env): Likewise.
7891         (built-program-cmd): Define in terms of new variables.
7892         (test-program-prefix-before-env): New variable.
7893         (test-program-prefix-after-env): Likewise.
7894         (test-program-prefix): Define in terms of new variables.
7895         (test-program-cmd-before-env): New variable.
7896         (test-program-cmd-after-env): Likewise.
7897         (test-program-cmd): Define in terms of new variables.
7898         * Rules (make-test-out): Use $(run-program-env).
7899         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
7900         (help): Do not mention environment variables.  Mention
7901         --timeoutfactor option.
7902         (timeoutfactor): New variable.
7903         (blacklist_exports): Remove function.
7904         (exports): Remove variable.
7905         (command): Do not include ${exports}.
7906         * manual/install.texi (Configuring and compiling): Do not mention
7907         test wrappers preserving environment variables.  Mention that last
7908         assignment to a variable must take precedence.
7909         * INSTALL: Regenerated.
7910         * benchtests/Makefile (run-bench): Use $(run-program-env).
7911         * catgets/Makefile ($(objpfx)test1.cat): Use
7912         $(built-program-cmd-before-env), $(run-program-env) and
7913         $(built-program-cmd-after-env).
7914         ($(objpfx)test2.cat): Do not specify environment variables
7915         explicitly.
7916         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
7917         $(run-program-env) and $(built-program-cmd-after-env).
7918         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
7919         $(run-program-env) and $(test-program-cmd-after-env).
7920         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
7921         explicitly.
7922         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
7923         run_program_env and test_program_cmd_after_env arguments.
7924         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
7925         * elf/tst-pathopt.sh: Use run_program_env argument.
7926         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
7927         $(test-wrapper-env) and $(run-program-env).
7928         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
7929         run_program_env arguments.
7930         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
7931         * intl/Makefile ($(objpfx)tst-gettext.out): Use
7932         $(test-program-prefix-before-env), $(run-program-env) and
7933         $(test-program-prefix-after-env).
7934         ($(objpfx)tst-gettext2.out): Likewise.
7935         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
7936         run_program_env and test_program_prefix_after_env arguments.
7937         * intl/tst-gettext2.sh: Likewise.
7938         * intl/tst-gettext4.sh: Do not set environment variables
7939         explicitly.
7940         * intl/tst-gettext6.sh: Likewise.
7941         * intl/tst-translit.sh: Likewise.
7942         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
7943         $(test-program-prefix-before-env), $(run-program-env) and
7944         $(test-program-prefix-after-env).
7945         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
7946         run_program_env and test_program_prefix_after_env arguments.
7947         * math/Makefile (run-regen-ulps): Use $(run-program-env).
7948         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
7949         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
7950         explicitly with each use of ${test_wrapper_env}.
7951         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
7952         $(test-program-prefix-before-env), $(run-program-env) and
7953         $(test-program-prefix-after-env).
7954         * posix/tst-getconf.sh: Do not set environment variables
7955         explicitly.
7956         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
7957         run_program_env and test_program_prefix_after_env arguments.
7958         * stdio-common/tst-printf.sh: Do not set environment variables
7959         explicitly.
7960         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
7961         $(test-program-prefix-before-env), $(run-program-env) and
7962         $(test-program-prefix-after-env).
7963         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
7964         run_program_env and test_program_prefix_after_env arguments.
7965         Split $test calls into $test_pre and $test.
7966         * timezone/Makefile (build-testdata): Use
7967         $(built-program-cmd-before-env), $(run-program-env) and
7968         $(built-program-cmd-after-env).
7970 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7972         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
7973         strlen for non SHARED builds.
7975 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7977         * nptl/allocatestack.c (check_list): Inlined function...
7978         (__reclaim_stacks): ... here.
7980 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
7982         [BZ #15698]
7983         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7984         memory overrun.
7986 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
7988         * Rules (make-test-out): Include
7989         LOCPATH=$(common-objpfx)localedata in default environment.
7990         * debug/Makefile (tst-chk1-ENV): Remove variable.
7991         (tst-chk2-ENV): Likewise.
7992         (tst-chk3-ENV): Likewise.
7993         (tst-chk4-ENV): Likewise.
7994         (tst-chk5-ENV): Likewise.
7995         (tst-chk6-ENV): Likewise.
7996         (tst-lfschk1-ENV): Likewise.
7997         (tst-lfschk2-ENV): Likewise.
7998         (tst-lfschk3-ENV): Likewise.
7999         (tst-lfschk4-ENV): Likewise.
8000         (tst-lfschk5-ENV): Likewise.
8001         (tst-lfschk6-ENV): Likewise.
8002         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
8003         (tst-iconv7-ENV): Likewise.
8004         * intl/Makefile (LOCPATH-ENV): Likewise.
8005         (tst-codeset-ENV): Likewise.
8006         (tst-gettext3-ENV): Likewise.
8007         (tst-gettext5-ENV): Likewise.
8008         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
8009         (tst-fopenloc-ENV): Likewise.
8010         (tst-fgetws-ENV): Remove variable.
8011         (tst-ungetwc1-ENV): Likewise.
8012         (tst-ungetwc2-ENV): Likewise.
8013         (bug-ungetwc2-ENV): Likewise.
8014         (tst-swscanf-ENV): Likewise.
8015         (bug-ftell-ENV): Likewise.
8016         (tst-fgetwc-ENV): Likewise.
8017         (tst-fseek-ENV): Likewise.
8018         (tst-ftell-partial-wide-ENV): Likewise.
8019         (tst-ftell-active-handler-ENV): Likewise.
8020         (tst-ftell-append-ENV): Likewise.
8021         * posix/Makefile (tst-fnmatch-ENV): Likewise.
8022         (tst-regexloc-ENV): Likewise.
8023         (bug-regex1-ENV): Likewise.
8024         (tst-regex-ENV): Likewise.
8025         (tst-regex2-ENV): Likewise.
8026         (bug-regex5-ENV): Likewise.
8027         (bug-regex6-ENV): Likewise.
8028         (bug-regex17-ENV): Likewise.
8029         (bug-regex18-ENV): Likewise.
8030         (bug-regex19-ENV): Likewise.
8031         (bug-regex20-ENV): Likewise.
8032         (bug-regex22-ENV): Likewise.
8033         (bug-regex23-ENV): Likewise.
8034         (bug-regex25-ENV): Likewise.
8035         (bug-regex26-ENV): Likewise.
8036         (bug-regex30-ENV): Likewise.
8037         (bug-regex32-ENV): Likewise.
8038         (bug-regex33-ENV): Likewise.
8039         (bug-regex34-ENV): Likewise.
8040         (bug-regex35-ENV): Likewise.
8041         (tst-rxspencer-ENV): Likewise.
8042         (tst-rxspencer-no-utf8-ENV): Likewise.
8043         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
8044         (tst-sscanf-ENV): Likewise.
8045         (tst-swprintf-ENV): Likewise.
8046         (tst-swscanf-ENV): Likewise.
8047         (test-vfprintf-ENV): Likewise.
8048         (scanf13-ENV): Likewise.
8049         (bug14-ENV): Likewise.
8050         (tst-grouping-ENV): Likewise.
8051         * stdlib/Makefile (tst-strtod-ENV): Likewise.
8052         (tst-strtod3-ENV): Likewise.
8053         (tst-strtod4-ENV): Likewise.
8054         (tst-strtod5-ENV): Likewise.
8055         (testmb2-ENV): Likewise./
8056         * string/Makefile (tst-strxfrm-ENV): Likewise.
8057         (tst-strxfrm2-ENV): Likewise.
8058         (bug-strcoll1-ENV): Likewise.
8059         (test-strcasecmp-ENV): Likewise.
8060         (test-strncasecmp-ENV): Likewise.
8061         * time/Makefile (tst-strptime-ENV): Likewise.
8062         (tst-ftime_l-ENV): Likewise.
8063         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
8064         (tst-mbrtowc-ENV): Likewise.
8065         (tst-wcrtomb-ENV): Likewise.
8066         (tst-mbrtowc2-ENV): Likewise.
8067         (tst-c16c32-1-ENV): Likewise.
8068         (tst-mbsnrtowcs-ENV): Likewise.
8070 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
8072         * manual/resource.texi (How to get information about the memory
8073         subsystem?): Fix typo.
8074         Reported by Peon de la Parra Ivan <peon@keba.com>
8076 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
8078         [BZ #16882]
8079         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
8080         (pthread_spin_lock): Branch out of spin loop to proper location.
8081         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
8082         (pthread_spin_lock): Likewise.
8084         * nptl/tst-spin4.c: New test.
8085         * nptl/Makefile (tests): Add tst-spin4.
8087 2014-06-03  Andreas Schwab  <schwab@suse.de>
8089         [BZ #15946]
8090         * resolv/res_send.c (send_dg): Reload file descriptor after
8091         calling reopen.
8093 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
8095         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8097 2014-06-03  Richard Henderson  <rth@redhat.com>
8099         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
8100         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
8101         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
8102         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
8103         in the SAVE_PID block.
8104         (__libc_vfork): New alias.
8105         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
8107         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
8108         child in registers, not on the stack.  Remove RESET_PID conditionals.
8109         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
8111 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8113         * sysdeps/aarch64/libm-test-ulps: Regenerate.
8115 2014-06-03  Wilco  <wdijkstr@arm.com>
8117         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
8118         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
8119         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
8120         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
8121         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
8122         Likewise.
8124 2014-06-03  Wilco  <wdijkstr@arm.com>
8126         * sysdeps/aarch64/fpu/math_private.h
8127         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
8128         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
8129         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
8130         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
8131         Fix declarations.
8133 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
8135         * crypt/crypt-private.h: Include ufc-crypt.h.
8136         (__b64_from_24bit): Declare extern.
8137         * crypt/crypt_util.c(__b64_from_24bit): New function.
8138         (b64t): New static const variable.
8139         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
8140         (b64t): Remove variable.
8141         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
8142         * crypt/sha256-crypt.c: Include crypt-private.h.
8143         (b64t): Remove variable.
8144         (__sha256_crypt_r): Remove b64_from_24bit and replace
8145         with __b64_from_24bit.
8146         * crypt/sha512-crypt.c: Likewise.
8148 2014-06-02  Roland McGrath  <roland@hack.frob.com>
8150         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
8151         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
8152         Label the code __libc_vfork rather than __vfork.
8153         [!NOT_IN_libc] (vfork): Define as weak alias.
8154         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
8155         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
8156         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
8158 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8160         * malloc/malloc.c (malloc_info): Fix format specifier for
8161         n_mmaps.
8163 2014-06-02  Wilco  <wdijkstr@arm.com>
8165         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
8166         FPCR write.
8168 2014-06-02  Wilco  <wdijkstr@arm.com>
8170         [BZ #17009]
8171         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
8172         Rewrite to reduce FPCR/FPSR accesses.
8174 2014-06-01  David S. Miller  <davem@davemloft.net>
8176         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8178 2014-05-31  David S. Miller  <davem@davemloft.net>
8180         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
8181         to occur in round to nearest mode when |x| >= 2.0
8183 2014-05-30  Richard Henderson  <rth@twiddle.net>
8185         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
8186         (PSEUDO_RET_NOERRNO): Remove.
8187         (ret): Don't redefine.
8188         (ret_NOERRNO): Define in terms of ret.
8189         (ret_ERRVAL): Likewise.
8191         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
8192         use of PSEUDO_RET; perform the error check directly.
8194 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
8196         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
8197         with __int128_t.
8199 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
8201         * malloc/malloc (malloc_info): Fix formatting.
8203 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
8204             Roland McGrath  <roland@hack.frob.com>
8206         * malloc/malloc (malloc_info): Also print mmapped statistics.
8208 2014-05-30  Roland McGrath  <roland@hack.frob.com>
8210         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
8211         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
8213 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
8215         * malloc/malloc.c (malloc_info): Inline mi_arena.
8217 2014-05-29  Richard Henderson  <rth@twiddle.net>
8219         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
8220         Remove comma before expanding ASM_ARGS_##nr.
8221         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
8222         Make _x0 a strict output; make _x8 a strict input; adjust expansion
8223         of ASM_ARGS_##nr.
8224         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
8225         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
8226         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
8227         (ASM_ARGS_1): Add leading comma.
8229         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
8230         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
8231         to __errno_location.
8232         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
8233         Remove the expected plt for __errno_location.
8235         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8236         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
8237         call to __read_tp.
8239         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8240         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
8241         it and break it down.
8242         (DOCARGS_0, DOCARGS_1): Do nothing.
8243         (DOCARGS_2): Update to store into the new stack frame.
8244         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
8245         (UNDOCARGS_1): Update to restore from the new stack frame.
8246         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
8247         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
8249         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8250         (SINGLE_THREAD_P): New parameter for result regno.
8251         (PSEUDO): Update to match; use cbz instead of beq.
8253         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8254         Use ENTRY to define the _nocancel entry point.  Share the syscall
8255         and syscall error check paths with the cancel path.
8256         (PSEUDO_END): New.
8258         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
8259         whitespace; tabs before and after asm mnemonics.
8261 2014-05-29  Eric Wong  <normalperson@yhbt.net>
8263         [BZ #15132]
8264         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8265         Call fstat64 or stat64 internally, depending on arguments passed.
8266         Replace stat buffer argument with file descriptor argument.
8267         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
8268         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8269         Pass fd to __internal_statvfs instead of calling fstat64.
8270         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
8271         Pass fd to __internal_statvfs64 instead of calling fstat64.
8272         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
8273         Pass -1 to __internal_statvfs instead of calling stat64.
8274         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
8275         Pass -1 to __internal_statvfs64 instead of calling stat64.
8277 2014-05-28  Roland McGrath  <roland@hack.frob.com>
8279         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
8280         that was previously under [RESET_PID].
8281         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
8283         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
8284         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
8286 2014-05-27  Roland McGrath  <roland@hack.frob.com>
8288         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
8290         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
8291         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
8293 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
8295         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
8297 2014-05-27  Andreas Schwab  <schwab@suse.de>
8299         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
8300         TLS_INIT_TP macro.
8301         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
8302         * elf/rtld.c (init_tls, dl_main): Likewise.
8303         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
8304         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
8305         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
8306         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
8307         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
8308         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
8309         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
8310         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
8311         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
8312         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
8313         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
8314         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
8315         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
8316         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
8317         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
8318         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
8319         * sysdeps/generic/tls.h: Update description.
8321 2014-05-27  Will Newton  <will.newton@linaro.org>
8323         [BZ #16990]
8324         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
8325         and restore r2 rather than just restoring.
8327 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8329         [BZ #16724]
8330         * libio/tst-ftell-append.c: New test case.
8331         * libio/Makefile (tests): Add test case.
8332         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
8333         append mode.
8334         * libio/wfileops.c (do_ftell_wide): Likewise.
8336 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8338         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8340         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
8341         ...
8342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
8343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8344         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
8345         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
8346         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
8347         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
8348         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
8349         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
8350         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
8351         Moved ...
8352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
8353         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
8354         Moved ...
8355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
8356         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
8357         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
8358         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
8359         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
8360         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
8361         ...
8362         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
8363         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
8364         Moved ...
8365         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
8366         here.
8367         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
8368         ...
8369         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
8370         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
8371         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
8373         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
8374         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
8375         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
8376         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
8378         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
8379         merge into ...
8380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
8381         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
8382         ...
8383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
8384         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
8385         ...
8386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
8387         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
8388         Moved ...
8389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
8390         here.
8391         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
8392         Moved ...
8393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
8394         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
8395         Moved ...
8396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
8398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
8399         conditional [RESET_PID].
8400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
8401         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
8402         removed.
8403         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
8404         removed.
8406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
8407         <tcb-offsets.h>.
8408         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8409         (__libc_vfork): New strong alias.
8410         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
8411         removed.
8412         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
8413         Removed.
8415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
8416         <tcb-offsets.h>.
8417         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
8418         (__libc_vfork): New strong alias.
8419         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
8420         removed.
8421         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
8422         removed.
8424 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
8426         * malloc/malloc.c (mi_arena): New function.
8427         (malloc_info): Remove nested function mi_arena. Call non-nosted
8428         function mi_arena.
8430 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8432         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
8433         by insrwi.
8434         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
8435         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
8436         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
8437         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
8438         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
8439         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
8440         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
8442 2014-05-26  Andreas Schwab  <schwab@suse.de>
8444         [BZ #16984]
8445         * locale/programs/repertoire.c (repertoire_read): Add slash
8446         between I18NPATH element and file name.
8447         * locale/programs/locfile.c (locfile_read): Likewise.
8449 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
8451         * nptl/pthread_mutexattr_settype.c
8452         (__pthread_mutexattr_settype):
8453         Disable lock elision for PTHREAD_MUTEX_NORMAL.
8455 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
8457         * nptl/tst-mutex5 (do_test):
8458         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
8460 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8462         * benchtests/README: Document 'init' directive.
8463         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
8464         BENCH_INIT.
8465         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
8466         (parse_file): Recognize 'init' directive.
8468 2014-05-26  Kyle McMartin  <kyle@redhat.com>
8470         [BZ #16796]
8471         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
8472         alignment of struct pthread.
8474 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8476         [BZ #16878]
8477         * nscd/netgroupcache.c (addgetnetgrentX): Look for
8478         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
8479         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
8480         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
8482 2014-05-25  Richard Henderson  <rth@twiddle.net>
8484         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8485         (SINGLE_THREAD_P_PIC): Remove.
8486         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
8487         (SINGLE_THREAD_P_PIC): Remove.
8489         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
8490         branch to syscall error ...
8491         (PSEUDO): ... here.
8492         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
8493         from __local_syscall_error to .Lsyscall_error.
8494         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
8495         (SYSCALL_ERROR): Update label name.
8497         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8498         Do not use DOARGS/UNDOARGS.
8499         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
8500         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
8501         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
8502         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
8503         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
8505         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
8506         block comment.
8508         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
8509         define if !NOT_IN_libc.
8510         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
8511         define with non-default symbol versions.
8513 2014-05-23  Richard Henderson  <rth@twiddle.net>
8515         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
8516         (vfork, __vfork): Define via compat_symbol.
8518         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
8519         [!HAVE_IFUNC] (vfork_compat): Remove.
8520         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
8522 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
8524         [BZ #16978]
8525         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
8526         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
8527         variable.
8529 2014-05-23  Richard Henderson  <rth@twiddle.net>
8531         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
8532         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
8533         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
8534         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
8536         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
8537         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
8538         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
8539         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
8540         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
8541         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
8542         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
8543         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
8544         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
8545         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
8546         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
8547         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
8548         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
8549         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
8550         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
8551         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
8552         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
8553         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
8554         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
8555         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
8556         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
8557         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
8558         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
8559         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
8560         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
8561         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
8562         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
8563         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
8564         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
8565         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
8566         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
8567         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
8568         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
8569         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
8570         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
8571         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
8572         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
8573         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
8574         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
8575         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
8576         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
8577         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
8578         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
8579         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
8580         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
8581         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
8582         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
8583         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
8584         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
8585         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
8586         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
8587         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
8588         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
8589         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
8590         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
8591         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
8593         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
8594         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
8595         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
8596         before exiting on error.
8597         (__libc_vfork): New strong alias.
8598         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
8599         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
8601         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
8602         that was previously under [RESET_PID].
8603         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
8605         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
8607 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
8609         [BZ #16977]
8610         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
8611         value when x - 1 is zero.
8612         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
8613         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
8614         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
8615         0.0L for an argument of 1.0L.
8616         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
8617         Likewise.
8618         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
8619         value when x - 1 is zero.
8620         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
8621         * sysdeps/i386/fpu/libm-test-ulps: Update.
8622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8624 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
8626         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
8627         alphasort and versionsort.
8629 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8631         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
8632         macro.
8633         [copysignf]: Likewise.
8635 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
8637         * crypt/md5-crypt.c: Fix formatting.
8639 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
8641         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
8642         (b64_from_24bit): New function.
8644 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8646         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
8647         libc_hidden_builtin_def to ifunc.
8648         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
8649         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
8651 2014-05-21  Roland McGrath  <roland@hack.frob.com>
8653         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
8654         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
8656 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
8658         * nscd/Depend (linuxthreads): Remove.
8659         (nptl): Add.
8660         * resolv/Depend (linuxthreads): Remove.
8661         * rt/Depend (linuxthreads): Remove.
8663         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
8664         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
8665         $(common-objpfx)elf/.
8666         (link-libc-before-gnulib): Likewise.
8667         (elfobjdir): Remove variable.
8668         * Makefile (install): Use $(elf-objpfx) instead of
8669         $(common-objpfx)elf/.
8670         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
8671         $(elfobjdir)/.
8672         (link-libc-deps): Likewise.
8673         ($(common-objpfx)libc.so): Likewise.
8674         ($(common-objpfx)linkobj/libc.so): Likewise.
8675         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
8676         instead of $(common-objpfx)elf/.
8677         (symbolic-link-list): Likewise.
8678         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8679         [$(cross-compiling) = no]: Likewise.
8680         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
8681         $(elfobjdir)/.
8682         (static-gnulib-arch): Likewise.
8683         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8684         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
8685         $(common-objpfx)elf/.
8687 2014-05-21  Richard Henderson  <rth@redhat.com>
8689         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8690         (SINGLE_THREAD_P): Use the correct width load.  Fold
8691         into the ldr offset.
8693         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
8694         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
8696 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
8698         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
8699         (libgcc_s_resume): Use __attribute_used__.
8700         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
8701         Likewise.
8703 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8705         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
8706         optimization when used with float constants.
8708         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8710 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
8712         [BZ #16915]
8713         * locale/nl_langinfo_l.c: Make direct reference to every
8714         _nl_current_CATEGORY symbol.
8715         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
8716         (tests-static): Add tst-langinfo-static.
8717         (tests-special): Add tst-langinfo-static.out.
8718         ($(objpfx)tst-langinfo.out): Redirect output.
8719         ($(objpfx)tst-langinfo-static.out): New.
8720         * localedata/tst-langinfo.sh: Send output to stdout.
8721         * localedata/tst-langinfo-static.c: New file.
8723         [BZ #16965]
8724         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
8725         when the shift amount is modulo the limb size.
8727 2014-05-20  Richard Henderson  <rth@redhat.com>
8729         [BZ #16967]
8730         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
8731         Change type of sa_flags from unsigned int to int.
8733         [BZ #16966]
8734         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
8736         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
8738 2014-05-20  Will Newton  <will.newton@linaro.org>
8740         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8741         Test the return value of the system call in the nocancel case.
8743 2014-05-20  Will Newton  <will.newton@linaro.org>
8744             Yvan Roux  <yvan.roux@linaro.org>
8746         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
8747         #include of asm/ptrace.h.
8748         (PTRACE_GET_THREAD_AREA): Remove #undef.
8749         (PTRACE_GETHBPREGS): Likewise.
8750         (PTRACE_SETHBPREGS): Likewise.
8751         (struct user_regs_struct): New structure.
8752         (struct user_fpsimd_struct): New structure.
8753         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
8754         #include of asm/ptrace.h and second #include of sys/user.h.
8755         (PTRACE_GET_THREAD_AREA): Remove #undef.
8756         (PTRACE_GETHBPREGS): Likewise.
8757         (PTRACE_SETHBPREGS): Likewise.
8758         (ELF_NGREG): Use new struct user_regs_struct.
8759         (elf_fpregset_t): Use new struct user_fpsimd_struct.
8761 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8763         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
8764         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
8766 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
8768         [BZ #16958]
8769         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
8770         membar to avoid block loads/stores to overlap previous stores.
8772 2014-05-17  Richard Henderson  <rth@redhat.com>
8774         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
8775         Create the __##syscall_name##_nocancel entry point.
8776         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
8777         Remove; let the sysdep-cancel.h code create it.
8779 2014-05-17  David S. Miller  <davem@davemloft.net>
8781         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
8782         Protect with __USE_GNU.
8783         (TIOCSET_TEMPT): Likewise.
8784         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8785         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
8786         these are already provided in bits/ioctl-types.h
8788 2014-05-16  Roland McGrath  <roland@hack.frob.com>
8790         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
8791         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
8793         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
8794         Use wait4 regardless of [__NR_waitpid].
8796 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
8798         PR libgcc/60166
8799         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8800         (_FP_NANSIGN_Q): Set the quiet bit.
8802 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
8804         * benchtests/Makefile
8805         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
8806         not $(common-objpfx)math/libm.so.
8807         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
8808         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
8809         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
8810         $(common-objpfx)dlfcn/libdl.so.
8811         ($(objpfx)tst-audit8): Depend on $(libm), not
8812         $(common-objpfx)math/libm.so.
8813         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
8814         not $(common-objpfx)dlfcn/libdl.so.
8815         * math/Makefile
8816         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
8817         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
8818         [$(build-shared) = yes].
8819         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
8820         $(common-objpfx)nptl/libpthread.so.
8821         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
8822         $(common-objpfx)math/libm.so$(libm.so-version) or
8823         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
8824         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
8825         $(common-objpfx)dlfcn/libdl.so.
8826         * setjmp/Makefile (link-libm): Remove variable.
8827         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
8828         * stdio-common/Makefile (link-libm): Remove variable.
8829         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
8830         * stdlib/Makefile (link-libm): Remove variable.
8831         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
8832         ($(objpfx)tst-strtod-round): Likewise.
8833         ($(objpfx)tst-tininess): Likewise.
8834         ($(objpfx)tst-strtod-underflow): Likewise.
8835         ($(objpfx)tst-strtod6): Likewise.
8836         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
8837         $(libdl), not $(common-objpfx)nptl/libpthread.so and
8838         $(common-objpfx)dlfcn/libdl.so.
8840 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8842         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
8843         BSD terminal modes definitions.
8845 2014-05-16  Roland McGrath  <roland@hack.frob.com>
8847         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
8848         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
8850         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
8851         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
8852         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
8853         Don't do #include_next.
8854         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
8855         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
8856         Don't do #include_next.
8857         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
8858         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
8859         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
8860         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
8862 2014-05-16  Allan McRae  <allan@archlinux.org>
8864         * po/sv.po: Update Swedish translation from translation project.
8866         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
8867         in sed expression.
8869 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
8871         [BZ #16917]
8872         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
8873         errno if the TIOCGPTN ioctl fails with an error different than
8874         EINVAL.
8875         * login/tst-ptsname.c: New file.
8876         * login/Makefile (tests): Add tst-ptsname.
8878         [BZ #16943]
8879         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
8880         and prlimit64.
8882 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8884         [BZ #16849]
8885         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
8886         herrno to return EAI_AGAIN.
8888 2014-05-14  Roland McGrath  <roland@hack.frob.com>
8890         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
8891         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
8892         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
8893         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
8894         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
8895         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
8896         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
8897         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
8898         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
8899         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
8900         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
8901         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
8902         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
8903         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
8904         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
8905         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
8906         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
8907         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
8908         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
8909         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
8910         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
8911         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
8912         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
8913         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
8914         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
8915         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
8916         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
8917         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
8918         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
8919         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
8920         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
8921         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
8922         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
8923         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
8924         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
8925         Moved ...
8926         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
8927         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
8928         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
8929         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
8930         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
8931         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
8932         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
8933         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
8934         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
8935         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
8936         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
8937         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
8938         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
8939         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
8940         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
8941         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
8942         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
8943         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
8944         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
8945         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
8946         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
8947         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
8948         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
8949         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
8950         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
8951         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
8952         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
8953         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8954         Moved ...
8955         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
8956         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
8957         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
8958         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
8959         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
8960         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
8961         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
8962         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
8963         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
8964         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
8965         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
8966         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
8967         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
8968         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
8969         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
8970         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
8971         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
8972         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
8973         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
8974         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8975         Moved ...
8976         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
8977         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
8978         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
8980         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
8981         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
8982         (libpthread-sysdep_routines): Add elision-related stuff here instead.
8983         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
8984         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
8985         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
8986         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
8987         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
8988         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
8989         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
8990         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
8991         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
8992         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
8993         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
8994         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
8995         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
8996         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
8997         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
8998         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
8999         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
9000         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
9001         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
9002         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
9003         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
9004         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
9005         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
9006         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
9007         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
9008         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
9009         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
9010         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
9012         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
9013         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
9015         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
9016         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
9017         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
9018         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
9019         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
9020         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
9021         Moved ...
9022         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
9023         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
9024         Moved ...
9025         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
9026         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
9027         Moved ...
9028         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
9029         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
9030         Moved ...
9031         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
9032         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
9033         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
9034         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
9035         Moved ...
9036         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
9037         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
9038         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
9039         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
9040         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
9041         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
9042         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
9043         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
9044         Moved ...
9045         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
9046         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
9047         Moved ...
9048         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
9049         ... here.
9050         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
9051         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
9052         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
9053         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
9054         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
9055         Moved ...
9056         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
9057         ... here.
9058         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
9059         Moved ...
9060         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
9061         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
9062         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
9063         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
9064         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
9065         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
9066         Moved ...
9067         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
9068         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
9069         Moved ...
9070         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
9071         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
9072         Moved ...
9073         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
9074         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
9075         Moved ...
9076         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
9077         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
9078         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
9079         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
9080         Moved ...
9081         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
9082         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
9083         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
9084         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
9085         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
9086         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
9087         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
9088         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
9089         Moved ...
9090         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
9091         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9092         Moved ...
9093         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9094         ... here.
9095         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
9096         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
9097         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
9098         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
9099         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9100         Moved ...
9101         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9102         ... here.
9103         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
9104         Moved ...
9105         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
9106         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
9107         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
9108         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
9109         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
9110         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
9111         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
9112         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
9113         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
9114         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
9115         Moved ...
9116         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
9117         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
9118         Moved ...
9119         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
9120         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
9121         Moved ...
9122         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
9123         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
9124         Moved ...
9125         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
9126         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
9127         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
9128         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
9129         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
9130         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
9131         Moved ...
9132         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
9133         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
9134         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
9135         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
9136         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
9137         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
9138         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
9139         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
9140         Moved ...
9141         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
9142         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
9143         Moved ...
9144         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
9145         ... here.
9146         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
9147         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
9148         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
9149         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
9150         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
9151         Moved ...
9152         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
9153         ... here.
9154         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
9155         Moved ...
9156         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
9157         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
9158         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
9159         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
9160         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
9161         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
9162         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
9163         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
9164         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
9165         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
9166         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
9168         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
9169         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
9171         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
9172         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
9174         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
9175         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
9176         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
9177         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
9178         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
9179         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
9180         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
9181         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
9182         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
9183         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
9184         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
9185         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
9186         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
9187         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
9188         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
9189         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
9190         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
9191         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
9192         Moved ...
9193         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
9194         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
9195         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
9196         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
9197         Moved ...
9198         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
9199         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
9200         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
9201         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
9202         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
9203         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
9204         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
9205         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
9206         Moved ...
9207         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
9208         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
9209         Moved ...
9210         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
9211         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
9212         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
9213         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
9214         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
9215         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
9216         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
9217         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
9218         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
9219         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
9220         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
9221         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
9222         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
9223         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
9224         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
9225         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
9226         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
9228         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
9229         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
9230         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
9231         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
9232         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
9234         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
9235         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
9236         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
9237         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
9238         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
9239         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
9240         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
9241         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
9242         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
9243         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
9245         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
9246         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
9248         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
9249         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
9250         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
9251         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
9252         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
9253         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
9254         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
9255         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
9256         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
9257         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
9258         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
9259         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
9260         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
9261         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
9262         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
9263         Update #include.
9264         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
9265         Likewise.
9266         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
9267         Likewise.
9268         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
9269         Likewise.
9270         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
9271         Likewise.
9272         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
9273         Likewise.
9274         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
9275         Likewise.
9276         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
9277         Likewise.
9278         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
9279         Likewise.
9280         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
9281         Likewise.
9282         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
9283         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
9284         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
9285         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
9286         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
9287         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
9288         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
9289         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
9290         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
9291         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
9292         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
9293         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
9294         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
9295         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
9296         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
9298         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
9299         that was previously under [RESET_PID].
9300         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9301         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
9302         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
9304         * sysdeps/i386/nptl/Implies: New file.
9305         * sysdeps/x86_64/nptl/Implies: New file.
9306         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
9307         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
9308         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
9309         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
9311         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
9312         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9313         (__libc_vfork): New strong alias.
9314         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
9315         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
9317         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
9318         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9319         (__libc_vfork): New strong alias.
9320         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
9321         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
9323         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
9324         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9325         (__libc_vfork): New strong alias.
9326         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
9327         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
9328         * nptl/pt-vfork.c: New file.
9329         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
9330         (libpthread: GLIBC_2.20): New version set (empty).
9332 2014-05-14  Will Newton  <will.newton@linaro.org>
9334         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
9335         rather than #if.
9337 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
9339         [BZ #16564]
9340         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
9341         arguments with exponent 65 or above.
9342         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
9343         arguments 0x1p113L or above.
9344         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
9345         to arguments 0x1p107L or above.
9346         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
9347         positive arguments with exponent 65 or above.
9348         * math/auto-libm-test-in: Add more tests of log1p.
9349         * math/auto-libm-test-out: Regenerated.
9351         [BZ #16928]
9352         * math/s_cacos.c (__cacos): Ensure zero real part of result from
9353         non-finite arguments is +0.
9354         * math/s_cacosf.c (__cacosf): Likewise.
9355         * math/s_cacosl.c (__cacosl): Likewise.
9356         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
9357         * sysdeps/i386/fpu/libm-test-ulps: Update.
9358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9360         [BZ #16927]
9361         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
9362         value.
9363         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
9364         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
9365         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
9366         for explicit high bit of mantissa when testing for argument equal
9367         to 1.
9368         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
9369         * sysdeps/i386/fpu/libm-test-ulps: Update.
9370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9372         [BZ #16516]
9373         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
9374         (__erf): Scale by 16 instead of 8 in potentially underflowing
9375         case.  Ensure exception if result actually underflows.
9376         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
9377         (__erff): Scale by 16 instead of 8 in potentially underflowing
9378         case.  Ensure exception if result actually underflows.
9379         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
9380         (efx8): Remove variable.
9381         (__erfl): Scale by 16 instead of 8 in potentially underflowing
9382         case.  Ensure exception if result actually underflows.
9383         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
9384         (efx8): Remove variable.
9385         (__erfl): Scale by 16 instead of 8 in potentially underflowing
9386         case.  Ensure exception if result actually underflows.
9387         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
9388         (efx8): Remove variable.
9389         (__erfl): Scale by 16 instead of 8 in potentially underflowing
9390         case.  Ensure exception if result actually underflows.
9391         * math/auto-libm-test-in: Add more tests of erf.
9392         * math/auto-libm-test-out: Regenerated.
9394 2014-05-14  Andreas Schwab  <schwab@suse.de>
9396         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
9397         Remove code conditionalized on USE___THREAD.
9399         * config.h.in (HAVE_PT_CHOWN): Define as 0.
9400         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
9401         not definedness.
9403 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
9405         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
9406         Define unconditionally.
9407         (__ASSUME_O_CLOEXEC): Likewise.
9408         (__ASSUME_SOCK_CLOEXEC): Likewise.
9409         (__ASSUME_IN_NONBLOCK): Likewise.
9410         (__ASSUME_PIPE2): Likewise.
9411         (__ASSUME_EVENTFD2): Likewise.
9412         (__ASSUME_SIGNALFD4): Likewise.
9413         (__ASSUME_DUP3): Likewise.
9414         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9415         (__ASSUME_DUP3): Do not define.
9416         (__ASSUME_EVENTFD2): Likewise.
9417         (__ASSUME_IN_NONBLOCK): Likewise.
9418         (__ASSUME_O_CLOEXEC): Likewise.
9419         (__ASSUME_PIPE2): Likewise.
9420         (__ASSUME_SIGNALFD4): Likewise.
9421         (__ASSUME_SOCK_CLOEXEC): Likewise.
9422         (__ASSUME_UTIMES): Undefine.
9423         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9424         (__ASSUME_UTIMES): Do not define.
9425         (__ASSUME_O_CLOEXEC): Likewise.
9426         (__ASSUME_SOCK_CLOEXEC): Likewise.
9427         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
9428         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
9429         0x020621].
9430         (__ASSUME_PIPE2): Likewise.
9431         (__ASSUME_EVENTFD2): Likewise.
9432         (__ASSUME_SIGNALFD4): Likewise.
9433         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
9434         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
9435         Do not define.
9436         (__ASSUME_EVENTFD2): Likewise.
9437         (__ASSUME_SIGNALFD4): Likewise.
9438         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9439         (__ASSUME_32BITUIDS): Likewise.
9440         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
9441         (__ASSUME_IPC64): Likewise.
9442         (__ASSUME_ST_INO_64_BIT): Likewise.
9443         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
9444         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
9445         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9446         (__ASSUME_UTIMES): Do not define.
9447         (__ASSUME_PSELECT): Likewise.
9448         (__ASSUME_PPOLL): Likewise.
9449         (__ASSUME_O_CLOEXEC): Likewise.
9450         (__ASSUME_SOCK_CLOEXEC): Likewise.
9451         (__ASSUME_IN_NONBLOCK): Likewise.
9452         (__ASSUME_PIPE2): Likewise.
9453         (__ASSUME_EVENTFD2): Likewise.
9454         (__ASSUME_SIGNALFD4): Likewise.
9455         (__ASSUME_DUP3): Likewise.
9456         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9457         (__ASSUME_UTIMES): Likewise.
9458         (__ASSUME_O_CLOEXEC): Likewise.
9459         (__ASSUME_SOCK_CLOEXEC): Likewise.
9460         (__ASSUME_IN_NONBLOCK): Likewise.
9461         (__ASSUME_PIPE2): Likewise.
9462         (__ASSUME_EVENTFD2): Likewise.
9463         (__ASSUME_SIGNALFD4): Likewise.
9464         (__ASSUME_DUP3): Likewise.
9465         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9466         (__ASSUME_UTIMES): Likewise.
9467         (__ASSUME_O_CLOEXEC): Likewise.
9468         (__ASSUME_SOCK_CLOEXEC): Likewise.
9469         (__ASSUME_IN_NONBLOCK): Likewise.
9470         (__ASSUME_PIPE2): Likewise.
9471         (__ASSUME_EVENTFD2): Likewise.
9472         (__ASSUME_SIGNALFD4): Likewise.
9473         (__ASSUME_DUP3): Likewise.
9474         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
9475         Likewise.
9476         (__ASSUME_UTIMES): Likewise.
9477         (__ASSUME_EVENTFD2): Likewise.
9478         (__ASSUME_SIGNALFD4): Likewise.
9479         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9480         (__ASSUME_O_CLOEXEC): Likewise.
9481         (__ASSUME_SOCK_CLOEXEC): Likewise.
9482         (__ASSUME_IN_NONBLOCK): Likewise.
9483         (__ASSUME_PIPE2): Likewise.
9484         (__ASSUME_EVENTFD2): Likewise.
9485         (__ASSUME_SIGNALFD4): Likewise.
9486         (__ASSUME_DUP3): Likewise.
9487         (__ASSUME_UTIMES): Undefine.
9489         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
9490         feclearexcept.  Remove symbol versioning code.
9491         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
9492         symbol versioning code.
9493         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
9494         symbol versioning code.
9495         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
9496         feupdateenv.  Remove symbol versioning code.
9497         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
9498         fegetexceptflag.  Remove symbol versioning code.
9499         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
9500         fesetexceptflag.  Remove symbol versioning code.
9501         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
9502         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
9503         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
9504         (__posix_fadvise64_l32): Remove prototype.
9505         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
9506         code.
9508 2014-05-13  Roland McGrath  <roland@hack.frob.com>
9510         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
9511         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
9512         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
9513         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
9515 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
9517         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
9518         current working directory
9520 2014-05-13  Roland McGrath  <roland@hack.frob.com>
9522         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
9523         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
9524         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
9525         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
9526         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
9527         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
9528         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
9529         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
9530         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
9531         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
9532         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
9533         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
9534         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
9535         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
9536         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
9537         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
9538         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
9539         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
9540         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
9541         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
9542         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
9543         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
9544         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
9545         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
9546         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
9547         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
9548         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
9549         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
9550         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
9551         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
9552         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
9553         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
9554         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
9555         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
9556         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
9557         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
9558         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
9559         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
9560         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
9561         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
9562         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
9563         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
9565         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
9566         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
9568         * sysdeps/unix/sysv/linux/arm/Makefile
9569         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
9570         Add rt-aeabi_unwind_cpp_pr1.
9571         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
9572         Add nptl-aeabi_unwind_cpp_pr1.
9573         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
9574         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
9575         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
9576         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
9577         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
9578         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
9580         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
9581         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
9582         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
9583         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
9585         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
9586         Deconditionalize the code that was previously under [RESET_PID].
9587         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
9589         * sysdeps/generic/exit-thread.h: New file.
9590         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
9591         * include/unistd.h (__exit_thread): Remove declaration.
9592         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
9593         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
9594         * csu/libc-start.c: Include <exit-thread.h>.
9595         (LIBC_START_MAIN): Pass no argument to __exit_thread.
9596         * nptl/pthread_create.c: Include <exit-thread.h>.
9597         (start_thread): Call __exit_thread in place of __exit_thread_inline.
9598         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
9599         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
9600         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
9601         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
9602         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
9603         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
9604         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
9605         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
9606         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
9607         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
9608         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
9609         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
9610         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
9611         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
9612         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
9613         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
9615 2014-05-13  Andreas Schwab  <schwab@suse.de>
9617         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
9619 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
9621         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
9622         (__ASSUME_UTIMES): Do not condition on kernel version.
9623         (__ASSUME_PSELECT): Define unconditionally.
9624         (__ASSUME_PPOLL): Likewise.
9625         (__ASSUME_ATFCTS): Likewise.
9626         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
9627         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
9628         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
9629         (__ASSUME_UTIMENSAT): Define unconditionally.
9630         (__ASSUME_PRIVATE_FUTEX): Likewise.
9631         (__ASSUME_FALLOCATE): Likewise.
9632         (__ASSUME_O_CLOEXEC): Likewise.
9633         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
9634         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
9635         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
9636         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
9637         (__ASSUME_IN_NONBLOCK): Likewise.
9638         (__ASSUME_PIPE2): Likewise.
9639         (__ASSUME_EVENTFD2): Likewise.
9640         (__ASSUME_SIGNALFD4): Likewise.
9641         (__ASSUME_DUP3): Likewise.
9642         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9643         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
9644         (__ASSUME_AT_RANDOM): Likewise.
9645         (__ASSUME_PREADV): Likewise.
9646         (__ASSUME_PWRITEV): Likewise.
9647         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
9648         (__ASSUME_F_GETOWN_EX): Define unconditionally.
9649         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
9650         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9651         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
9652         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9653         (__ASSUME_O_CLOEXEC): Define unconditionally.
9654         (__ASSUME_PSELECT): Do not undefine conditionally.
9655         (__ASSUME_PPOLL): Likewise.
9656         (__ASSUME_ATFCTS): Likewise.
9657         (__ASSUME_SET_ROBUST_LIST): Likewise.
9658         (__ASSUME_UTIMENSAT): Likewise.
9659         (__ASSUME_FDATASYNC): Define unconditionally.
9660         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9661         (__ASSUME_SIGFRAME_V2): Likewise.
9662         )__ASSUME_EVENTFD2): Likewise.
9663         (__ASSUME_SIGNALFD4): Likewise.
9664         (__ASSUME_PSELECT): Do not undefine conditionally.
9665         (__ASSUME_PPOLL): Likewise.
9666         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9667         (__ASSUME_PSELECT): Define unconditionally.
9668         (__ASSUME_PPOLL): Likewise.
9669         (__ASSUME_O_CLOEXEC): Likewise.
9670         (__ASSUME_SOCK_CLOEXEC): Likewise.
9671         (__ASSUME_IN_NONBLOCK): Likewise.
9672         (__ASSUME_PIPE2): Likewise.
9673         (__ASSUME_EVENTFD2): Likewise.
9674         (__ASSUME_SIGNALFD4): Likewise.
9675         (__ASSUME_DUP3): Likewise.
9676         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9677         (__ASSUME_O_CLOEXEC): Likewise.
9678         (__ASSUME_SOCK_CLOEXEC): Likewise.
9679         (__ASSUME_IN_NONBLOCK): Likewise.
9680         (__ASSUME_PIPE2): Likewise.
9681         (__ASSUME_EVENTFD2): Likewise.
9682         (__ASSUME_SIGNALFD4): Likewise.
9683         (__ASSUME_DUP3): Likewise.
9684         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9685         (__ASSUME_EVENTFD2): Likewise.
9686         (__ASSUME_SIGNALFD4): Likewise.
9687         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9689 2014-05-12  Andreas Schwab  <schwab@suse.de>
9691         [BZ #16932]
9692         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
9693         (_nss_nis_gethostbyname4_r): Return error if item length is larger
9694         than maximum RPC packet size.
9695         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
9696         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
9697         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
9698         (_nss_nis_getservbyport_r): Likewise.
9700 2014-05-12  Will Newton  <will.newton@linaro.org>
9702         * malloc/Makefile (tests): Add tst-mallopt.
9703         * malloc/tst-mallopt.c: New file.
9705 2014-05-09  Roland McGrath  <roland@hack.frob.com>
9707         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
9708         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
9710 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9712         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
9713         (tst-tlsmod6.so): Likewise.
9715 2014-05-09  Roland McGrath  <roland@hack.frob.com>
9717         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
9719 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
9721         [BZ #16064]
9722         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
9723         and <dl-procinfo.h>.
9724         (__fegetenv): Save SSE state in envp->__eip if supported.
9725         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
9726         envp->__eip if supported.
9727         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
9728         and <dl-procinfo.h>.
9729         (__fesetenv): Always set __eip, __cs_selector, __opcode,
9730         __data_offset and __data_selector in environment to 0.  Set SSE
9731         state if supported.
9732         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
9733         test-fenv-sse.
9734         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
9735         -mfpmath=sse.
9736         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
9738 2014-05-09  Will Newton  <will.newton@linaro.org>
9740         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
9741         and libc_relro_required for ARM.
9742         * sysdeps/arm/preconfigure: Regenerate.
9744 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
9745             Stefan Liebler  <stli@linux.vnet.ibm.com>
9747         * config.make.in (enable-lock-elision): New Makefile variable.
9748         * configure.ac: Likewise.
9749         * configure: Regenerate.
9750         * sysdeps/s390/configure.ac:
9751         Add check for gcc transactions support.
9752         * sysdeps/s390/configure: Regenerate.
9753         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
9754         Build elision files if enabled.
9755         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
9756         Add lock elision support for s390.
9757         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
9758         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
9759         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
9760         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
9761         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
9762         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
9763         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
9764         Likewise.
9765         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
9766         Likewise.
9767         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
9768         Likewise.
9769         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
9770         Likewise.
9771         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
9772         (__lll_timedlock_elision, __lll_lock_elision)
9773         (__lll_unlock_elision, __lll_trylock_elision)
9774         (lll_timedlock_elision, lll_lock_elision)
9775         (lll_unlock_elision, lll_trylock_elision): Add.
9776         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9777         (pthread_mutex_t): Add lock elision support for s390.
9779 2014-05-14  Wilco  <wdijkstr@arm.com>
9781         * sysdeps/arm/fclrexcpt.c: Cleanup.
9782         * sysdeps/arm/fedisblxcpt.c: Cleanup.
9783         * sysdeps/arm/feenablxcpt.c: Cleanup.
9784         * sysdeps/arm/fegetenv.c: Cleanup.
9785         * sysdeps/arm/fegetexcept.c: Cleanup.
9786         * sysdeps/arm/fegetround.c: Cleanup.
9787         * sysdeps/arm/feholdexcpt.c: Cleanup.
9788         * sysdeps/arm/fesetenv.c: Cleanup.
9789         * sysdeps/arm/fesetround.c: Cleanup.
9790         * sysdeps/arm/feupdateenv.c: Cleanup.
9791         * sysdeps/arm/fgetexcptflg.c: Cleanup.
9792         * sysdeps/arm/fraiseexcpt.c: Cleanup.
9793         * sysdeps/arm/fsetexcptflg.c: Cleanup.
9794         * sysdeps/arm/ftestexcept.c: Cleanup.
9795         * sysdeps/arm/get-rounding-mode.h: Cleanup.
9796         * sysdeps/arm/setfpucw.c: Cleanup.
9798 2014-05-09  Will Newton  <will.newton@linaro.org>
9800         * sysdeps/arm/armv7/strcmp.S: New file.
9801         * NEWS: Mention addition of ARMv7 optimized strcmp.
9803 2014-05-08  Roland McGrath  <roland@hack.frob.com>
9805         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
9806         look for %.ac rather than %.in.
9808         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
9809         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
9810         * sysdeps/mach/hurd/configure: Regenerated.
9811         * sysdeps/unix/sysv/linux/configure: Regenerated.
9813         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
9815 2014-05-07  Steve Ellcey  <sellcey@mips.com>
9817         [BZ# 16922]
9818         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
9819         (LONG_SUB): Ditto.
9820         (PTR_SUB): Ditto.
9822 2014-05-07  Andreas Schwab  <schwab@suse.de>
9824         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
9825         when skipping over non-matching result from nscd.
9827 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
9829         [BZ #16876]
9830         * nptl/sockperf.c (client): Check socket return value.
9832         [BZ #16877]
9833         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
9834         nscd security class.
9836 2014-05-06  Roland McGrath  <roland@hack.frob.com>
9838         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
9839         * sysdeps/arm/unwind.h: ... here.
9841 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
9843         [BZ# 16916]
9844         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
9845         Define.
9847 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
9849         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
9850         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
9851         multiarch strncpy for PPC64.
9852         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
9853         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
9854         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
9855         multiarch optimizations.
9856         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9857         (__libc_ifunc_impl_list): Likewise.
9858         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
9859         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
9860         multiarch stpncpy for PPC64.
9861         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
9862         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
9864 2014-05-06  Andreas Schwab  <schwab@suse.de>
9866         [BZ #16912]
9867         * gmon/mcount.c (_MCOUNT_DECL): Use
9868         atomic_compare_and_exchange_bool_acq instead of
9869         catomic_compare_and_exchange_bool_acq.
9871 2014-05-05  Roland McGrath  <roland@hack.frob.com>
9873         * elf/Makefile (others, install-bin): Remove pldd.
9874         (pldd-modules): Variable removed.
9875         ($(objpfx)pldd): Target removed.
9876         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
9877         (others, install-bin): Append pldd here.
9878         ($(objpfx)pldd): New target.
9880         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
9881         to 0, so the first #if test emitted later doesn't see it undefined.
9882         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
9883         * sysdeps/gnu/errlist.c: Regenerated.
9885 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9887         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
9888         [libc_hidden_builtin_def]: Define to empty value.
9889         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
9890         [libc_hidden_builtin_def]: Likewise.
9891         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
9892         [libc_hidden_builtin_def]: Likewise.
9893         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
9894         [libc_hidden_builtin_def]: Likewise.
9895         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
9896         __redirect_memcpy and define ifunc as default hidden symbol.
9897         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
9898         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
9900 2014-05-04  Adam Conrad  <adconrad@0c3.net>
9902         * locale/iso-4217.def: Reintroduce XDR currency.
9904 2014-05-04  Allan McRae  <allan@archlinux.org>
9906         * po/eo.po: Update Esperanto translation from translation project.
9908 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
9910         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
9911         and FEATURE_INDEX_MAX to 1.
9912         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
9914 2014-05-01  Steve Ellcey  <sellcey@mips.com>
9916         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
9917         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
9918         * iconvdata/big5.c (ONE_DIRECTION): Define.
9919         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
9920         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
9921         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
9922         * iconvdata/cp932.c (ONE_DIRECTION): Define.
9923         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
9924         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
9925         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
9926         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
9927         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
9928         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
9929         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
9930         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
9931         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
9932         * iconvdata/gbk.c (ONE_DIRECTION): Define.
9933         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
9934         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
9935         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
9936         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
9937         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
9938         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
9939         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
9940         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
9941         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
9942         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
9943         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
9944         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
9945         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
9946         * iconvdata/iso646.c (ONE_DIRECTION): Define.
9947         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
9948         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
9949         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
9950         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
9951         * iconvdata/johab.c (ONE_DIRECTION): Define.
9952         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
9953         * iconvdata/sjis.c (ONE_DIRECTION): Define.
9954         * iconvdata/t.61.c (ONE_DIRECTION): Define.
9955         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
9956         * iconvdata/tscii.c (ONE_DIRECTION): Define.
9957         * iconvdata/uhc.c (ONE_DIRECTION): Define.
9958         * iconvdata/unicode.c (ONE_DIRECTION): Define.
9959         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
9960         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
9961         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
9963 2014-05-01  Roland McGrath  <roland@hack.frob.com>
9965         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
9966         (_IO_JUMPS_OFFSET): Define to 0.
9968         * nptl/sysdeps/pthread/bits/libc-lock.h
9969         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
9970         (__libc_lock_define_initialized_recursive): Always define using
9971         initializer.  Modern compilers treat uninitialized (implicit zero) and
9972         explicit zero initializers the same (i.e. put the datum in bss).
9974 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
9976         * nscd/nscd-client.h: Include <string.h>.
9978 2014-05-01  David S. Miller  <davem@davemloft.net>
9980         [BZ #16885]
9981         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
9982         multiple zero bytes exist at the end of a string.
9983         Reported by Aurelien Jarno <aurelien@aurel32.net>
9985         * string/test-strcmp.c (check): Add explicit test for situations where
9986         there are multiple zero bytes after the first.
9988 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
9990         [BZ #16890]
9991         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
9992         when compiling wprintf.
9993         * stdio-common/tstdiomisc.c (t3): New function.
9994         (main): Call it.
9996 2014-05-01  Steve Ellcey  <sellcey@mips.com>
9998         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
9999         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
10000         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
10001         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
10003 2014-05-01  Steve Ellcey  <sellcey@mips.com>
10005         * stdlib/longlong.h: Updated from GCC.
10007 2014-05-01  Will Newton  <will.newton@linaro.org>
10008             Bernard Ogden  <bernie.ogden@linaro.org>
10010         * NEWS: Update fixed bug list.
10012         [BZ #15119]
10013         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
10015 2014-04-30  David S. Miller  <davem@davemloft.net>
10017         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
10018         (libc_feholdexcept_setround_sparc_ctx): New function.
10019         (libc_fesetenv_sparc_ctx): Likewise.
10020         (libc_feupdateenv_sparc_ctx): Likewise.
10021         (libc_feholdsetround_sparc_ctx): Likewise.
10022         (libc_feholdexcept_setround_ctx): Define.
10023         (libc_feholdexcept_setroundf_ctx): Likewise.
10024         (libc_feholdexcept_setroundl_ctx): Likewise.
10025         (libc_fesetenv_ctx): Likewise.
10026         (libc_fesetenvf_ctx): Likewise.
10027         (libc_fesetenvl_ctx): Likewise.
10028         (libc_feupdateenv_ctx): Likewise.
10029         (libc_feupdateenvf_ctx): Likewise.
10030         (libc_feupdateenvl_ctx): Likewise.
10031         (libc_feresetround_ctx): Likewise.
10032         (libc_feresetroundf_ctx): Likewise.
10033         (libc_feresetroundl_ctx): Likewise.
10034         (libc_feholdsetround_ctx): Likewise.
10035         (libc_feholdsetroundf_ctx): Likewise.
10036         (libc_feholdsetroundl_ctx): Likewise.
10038         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
10039         with __USE_GNU instead of XOPEN cpp guards.
10041         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
10042         0.
10044         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
10045         with XOPEN cpp guards.
10047 2014-04-30  Julian Brown  <julian@codesourcery.com>
10049         [BZ #16888]
10050         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
10051         handling.
10053 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
10055         [BZ #9894]
10056         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
10057         Change to 2.6.32.
10058         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
10059         * sysdeps/unix/sysv/linux/configure: Regenerated.
10060         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
10061         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
10062         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
10063         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
10064         * README: Update reference to required Linux kernel version.
10065         * manual/install.texi (Linux): Update reference to required Linux
10066         kernel headers version.
10067         * INSTALL: Regenerated.
10069         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
10070         header inclusion.
10071         [POSIX] (limits.h): Likewise.
10072         [POSIX] (math.h): Likewise.
10073         [POSIX] (sys/wait.h): Likewise.
10074         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
10075         function.
10076         [POSIX] (stddef.h): Do not allow header inclusion.
10078 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10080         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
10082 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
10084         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
10085         Return immediately after lll_futex_wake.
10087 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10089         [BZ #16791]
10090         * nscd/nscd-client.h (datahead_init_common): Initialize entire
10091         structure.
10092         (datahead_init_pos): Call datahead_init_common early.
10093         (datahead_init_neg): Likewise.
10095         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
10096         datahead_init_neg): New functions.
10097         * nscd/aicache.c (addhstaiX): Use them.
10098         * nscd/grpcache.c (cache_addgr): Likewise.
10099         * nscd/hstcache.c (cache_addhst): Likewise.
10100         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10101         * nscd/netgroupcache.c (do_notfound): Likewise.
10102         (addgetnetgrentX): Likewise.
10103         (addinnetgrX): Likewise.
10104         * nscd/pwdcache.c (cache_addpw): Likewise.
10105         * nscd/servicescache.c (cache_addserv): Likewise.
10107 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10108             Atsushi Onoe  <atsushi@onoe.org>
10110         [BZ #14308]
10111         [BZ #12994]
10112         [BZ #13651]
10113         * resolv/res_query.c (__libc_res_nsearch): Return if at least
10114         one response is valid.
10115         * resolv/res_send.c (send_dg): Check for validity of other
10116         response if the current response is a referral.
10118 2014-04-29  Steve Ellcey  <sellcey@mips.com>
10120         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
10122 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
10124         [BZ #16823]
10125         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
10126         Always divide by positive zero when computing -Inf result.
10127         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10128         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
10130 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10132         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
10133         FPSCR if value do not change.
10134         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10135         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
10136         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10137         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10138         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
10139         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
10140         function.
10142 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
10144         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
10145         * sysdeps/unix/sysv/linux/hppa: Move directory from
10146         ports/systeps/unix/sysv/linux/hppa.
10147         * README: Update listing for hppa-*-linux-gnu.
10149 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
10151         [BZ #16754]
10152         * manual/stdio.texi (Hook functions): Fix types of stream hook
10153         functions.
10154         [BZ #16854]
10155         * socket/sys/socket.h: Fix typo in comment.
10157 2014-04-28  Wilco  <wdijkstr@arm.com>
10159         * sysdeps/arm/fenv_private.h: New file.
10160         * sysdeps/arm/math_private.h: New file.
10161         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
10163 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
10165         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
10166         with __int128_t.
10167         (La_x86_64_retval): Likewise.
10169 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
10171         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
10172         fpsr if value didn't change.
10173         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
10174         to fpcr if value didn't change.
10175         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
10176         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
10177         fpsr or fpcr if value didn't change.
10178         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
10179         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
10180         fpcr if value didn't change.
10181         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
10182         to fpsr if value didn't change.
10184 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
10186         * nptl/tst-sem3.c: Use test-skeleton.c
10187         (main): Rename to do_test.  Use return instead of
10188         exit.
10189         * nptl/tst-sem4.c: Use test-skeleton.c
10190         (main): Rename to do_test.
10192 2014-04-22  David S. Miller  <davem@davemloft.net>
10194         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
10195         (struct sigaction): New struct member __glibc_reserved0, change
10196         type of sa_flags to int.
10198 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
10200         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
10201         (COUNT_LEADING_ZEROS_0): Define for AArch64.
10203 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
10205         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
10206         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
10208 2014-04-22  Will Newton  <will.newton@linaro.org>
10209             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
10211         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
10212         (__longjmp): Add longjmp and longjmp_target SystemTap
10213         probes.
10214         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
10215         (__sigsetjmp): Add setjmp SystemTap probe.
10217 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
10219         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
10220         match manual order.
10222 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10224         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
10226         * sysdeps/powerpc/fpu/fenv_private.h
10227         (libc_feholdexcept_setroundl_ctx): Define to
10228         libc_feholdexcept_setround_ppc_ctx.
10229         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
10230         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
10231         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
10232         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
10234 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
10236         * sysdeps/aarch64/math-tests.h: New file.
10238 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
10240         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
10241         New.
10242         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10243         Check and set bit_AVX2_Usable.
10244         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
10245         macro.
10246         (bit_AVX2): Likewise.
10247         (index_AVX2_Usable): Likewise.
10248         (CPUID_AVX2): Likewise.
10249         (HAS_AVX2): Likewise.
10251 2014-04-17  Will Newton  <will.newton@linaro.org>
10253         * manual/setjmp.texi (System V contexts): Add note that
10254         calling setcontext on a context created by a call to a
10255         signal handler is undefined.  Update text to note that
10256         setcontext from a signal handler is possible but not
10257         recommended.
10259         [BZ #16629]
10260         * stdlib/tst-setcontext.c: Include signal.h.
10261         (main): Check that the signal stack before and
10262         after swapcontext is the same.
10264         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
10265         Re-implement to restore registers in user code and avoid
10266         rt_sigreturn system call.
10268 2014-04-17  Wilco  <wdijkstr@arm.com>
10270         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
10271         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
10272         * math/test-fenv.c: Skip exception trap tests on targets which only
10273         support non-stop mode.
10275 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
10276             Wilco Dijkstra  <wilco.dijkstra@arm.com>
10278         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
10279         (libc_feholdsetround_aarch64_ctx)
10280         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
10281         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
10282         (libc_feresetround_ctx, libc_feresetroundf_ctx)
10283         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
10284         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
10285         (libc_feresetround_noexl_ctx): Define.
10287 2014-04-16  Richard Henderson  <rth@redhat.com>
10289         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
10291         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
10292         unwind tables.
10294         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
10295         const from the non-libc, non-ldso copy.
10297         * sysdeps/alpha/libm-test-ulps: Regenerate.
10299 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
10300             Wilco Dijkstra  <wilco.dijkstra@arm.com>
10302         * sysdeps/aarch64/fpu/math_private.h: New file.
10304 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
10306         * sysdeps/aarch64/libm-test-ulps: Regenerate.
10308 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
10310         [BZ #16275]
10311         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
10312         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
10313         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
10314         Intel MPX bound registers before _dl_profile_fixup.
10315         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
10316         registers after _dl_profile_fixup.  Save and restore bound
10317         registers bnd0/bnd1 when calling _dl_call_pltexit.
10318         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
10319         (LR_BND_OFFSET): Likewise.
10320         (LRV_BND0_OFFSET): Likewise.
10321         (LRV_BND1_OFFSET): Likewise.
10323 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10325         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
10326         to...
10327         * sysdeps/mach/hurd/i386/tls.h: ... here.
10328         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
10329         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
10330         fields.
10332 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10334         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
10336 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
10338         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10340 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
10342         [BZ #14770]
10343         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
10344         * sysdeps/s390/configure: Regenerate.
10346         [BZ #16824]
10347         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
10348         Set round-to-nearest internally to reduce error accumulation.
10350 2014-04-16  Alan Modra  <amodra@gmail.com>
10352         [BZ #16740]
10353         [BZ #16619]
10354         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
10355         * math/libm-test.inc (frexp_test_data): Add tests.
10356         * NEWS: Update fixed bug list.
10358 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10360         * benchtests/Makefile: Depend on libraries in build directory.
10361         (bench-math): Separate out math tests.
10362         (bench-pthread): Separate out pthread tests.
10363         (bench): Include math and pthread tests.
10365 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
10367         [BZ #16831]
10368         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
10369         _dl_debug_initialize.
10371         * configure.ac: Remove SELinux header check.
10372         * configure: Regenerate.
10373         * nscd/selinux.c (perms): Array of const char* to permission names.
10374         (nscd_request_avc_has_perm): Call security_deny_unknown to find
10375         default policy. Call string_to_security_class and string_to_av_perm to
10376         translate strings. Enforce default policy and call avs_has_perm with
10377         results of translated strings.
10379 2014-04-13  David S. Miller  <davem@davemloft.net>
10381         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10383 2014-04-12  Allan McRae  <allan@archlinux.org>
10385         [BZ #16838]
10386         * manual/string.texi (Collation Functions): Fix qsort argument
10387         order in example.
10388         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
10390 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
10392         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
10393         Make the test a no-op if there are no exceptions defined.
10395 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
10397         * elf/Makefile (tests): make tst-dlopen-aout conditional on
10398         enable-hardcoded-path-in-tests
10400 2014-04-11  Will Newton  <will.newton@linaro.org>
10402         * benchtests/Makefile (extra-objs): Add json-lib.o.
10403         (bench-func): Tidy up JSON output.
10404         * benchtests/bench-skeleton.c: Include json-lib.h.
10405         (main): Use JSON library functions to do output of
10406         benchmark results.
10407         * benchtests/bench-timing-type.c (main): Output the
10408         timing type simply, leaving formatting to the user.
10409         * benchtests/json-lib.c: New file.
10410         * benchtests/json-lib.h: Likewise.
10412 2014-04-11  Torvald Riegel  <triegel@redhat.com>
10414         [BZ #15215]
10415         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
10416         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
10417         memory barriers.  Add comments.
10418         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
10419         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
10420         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
10421         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
10422         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
10423         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
10425 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10427         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
10428         * sysdeps/s390/s390-64/configure.ac: ... this ...
10429         * sysdeps/s390/configure.ac: ... to here.
10430         * sysdeps/s390/s390-32/configure: Delete file.
10431         * sysdeps/s390/s390-64/configure: Delete file.
10432         * sysdeps/s390/configure: Regenerate.
10434 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
10436         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
10438 2014-04-11  Will Newton  <will.newton@linaro.org>
10440         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
10441         to zero if it is not defined elsewhere.  (mtrim): Test
10442         the value of MALLOC_DEBUG with #if rather than #ifdef.
10444 2014-04-10 Torvald Riegel  <triegel@redhat.com>
10446         * benchtests/pthread_once-inputs: New file.
10447         * benchtests/pthread_once-source.c: New file.
10448         * benchtests/README: Update documentation.
10450 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
10451             H.J. Lu  <hongjiu.lu@intel.com>
10453         [BZ #16275]
10454         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
10455         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
10456         * sysdeps/x86_64/configure: Regenerated.
10457         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
10458         macro.
10459         (REGISTER_SAVE_RAX): Likewise.
10460         (REGISTER_SAVE_RCX): Likewise.
10461         (REGISTER_SAVE_RDX): Likewise.
10462         (REGISTER_SAVE_RSI): Likewise.
10463         (REGISTER_SAVE_RDI): Likewise.
10464         (REGISTER_SAVE_R8): Likewise.
10465         (REGISTER_SAVE_R9): Likewise.
10466         (REGISTER_SAVE_BND0): Likewise.
10467         (REGISTER_SAVE_BND1): Likewise.
10468         (REGISTER_SAVE_BND2): Likewise.
10469         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
10470         bound registers when calling _dl_fixup.
10472 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10474         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
10475         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
10476         of its definition.
10477         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
10478         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
10479         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
10480         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
10481         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
10482         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
10483         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
10485 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
10487         [BZ #15514]
10488         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
10489         pathconf(_PC_NAME_MAX).
10491 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10493         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
10494         Remove macro usage.
10495         (__PTHREAD_SPINS): Move definition to ...
10496         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10497         (__PTHREAD_SPINS): ... here.
10498         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10499         (__PTHREAD_SPIN): Likewise.
10500         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
10501         (__PTHREAD_SPIN): Likewise.
10502         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
10503         (__PTHREAD_SPIN): Likewise.
10504         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
10505         (__PTHREAD_SPIN): Likewise.
10506         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
10507         (__PTHREAD_SPIN): Likewise.
10508         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
10509         (__PTHREAD_SPIN): Likewise.
10510         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
10511         (__PTHREAD_SPIN): Likewise.
10512         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
10513         (__PTHREAD_SPIN): Likewise.
10514         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
10515         (__PTHREAD_SPIN): Likewise.
10516         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
10517         (__PTHREAD_SPIN): Likewise.
10518         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
10519         (__PTHREAD_SPIN): Likewise.
10520         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
10521         (__PTHREAD_SPIN): Likewise.
10523         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
10524         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
10525         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
10526         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
10527         imply folder.
10528         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
10529         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
10530         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
10531         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
10532         correct imply path.
10533         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
10534         strlen symbol for non multi-arch builds.
10535         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
10536         missing hidden_def and weak_alias.
10538 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
10540         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
10542 2014-04-07  Will Newton  <will.newton@linaro.org>
10544         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
10545         and contents.  [!_LIBC] Remove #ifndef and contents.
10546         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
10547         * string/memccpy.c (__memccpy): Use ANSI prototype.
10548         * string/memfrob.c (memfrob): Likewise.
10549         * string/strcoll.c (STRCOLL): Likewise.
10550         * string/strlen.c (strlen): Likewise.
10551         * string/strtok.c (STRTOK): Likewise.
10552         * string/strcat.c: Remove unused #include of memcopy.h.
10553         (strcat): Use ANSI prototype.
10554         * string/strchr.c: Remove unused #include of memcopy.h.
10555         (strchr): Use ANSI prototype.
10556         * string/strcmp.c: Remove unused #include of memcopy.h.
10557         (strcmp): Use ANSI prototype.
10558         * string/strcpy.c: Remove unused #include of memcopy.h.
10559         (strcpy): Use ANSI prototype.
10561 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10563         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
10564         * config.make.in (config-extra-cppflags): Set it from
10565         libc_extra_cppflags.
10566         * configure.ac (libc_extra_cflags): Make it accumulate over
10567         configure fragments.
10568         (libc_extra_cppflags): New flag.
10569         * configure. Regenerate.
10570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
10571         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
10572         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
10573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
10575         [BZ #16815]
10576         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
10577         result for FE_DOWNWARD rounding mode.
10578         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
10579         Likewise.
10580         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10582 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
10584         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
10585         in function argument name.
10587 2014-04-03  David Svoboda  <svoboda@cert.org>
10589         [BZ #5666]
10590         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
10591         explicitly.
10593 2014-04-03  Roland McGrath  <roland@hack.frob.com>
10595         * elf/dl-unmap-segments.h: New file.
10596         * sysdeps/generic/ldsodefs.h
10597         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
10598         * elf/dl-close.c: Include <dl-unmap-segments.h>.
10599         * elf/dl-fptr.c: Likewise.
10600         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
10601         * sysdeps/aarch64/tlsdesc.c: Likewise.
10602         * sysdeps/arm/tlsdesc.c: Likewise.
10603         * sysdeps/i386/tlsdesc.c: Likewise.
10604         * sysdeps/tile/dl-runtime.c: Likewise.
10605         * sysdeps/x86_64/tlsdesc.c: Likewise.
10606         * elf/dl-load.h: New file.
10607         * elf/dl-load.c: Include it.
10608         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
10609         Macros moved to dl-load.h.
10610         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
10611         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
10612         Use _dl_unmap_segments in place of __munmap.
10613         Break out segment-mapping loop into ...
10614         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
10616 2014-04-03  Will Newton  <will.newton@linaro.org>
10618         * elf/dl-lookup.c (do_lookup_x): Remove comment
10619         referring to nested function and move variable
10620         declarations down to before first use.
10622 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
10624         [BZ #16799]
10625         [BZ #16800]
10626         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
10627         with 0 numerator.
10628         * math/s_catanf.c (__catanf): Likewise.
10629         * math/s_catanh.c (__catanh): Likewise.
10630         * math/s_catanhf.c (__catanhf): Likewise.
10631         * math/s_catanhl.c (__catanhl): Likewise.
10632         * math/s_catanl.c (__catanl): Likewise.
10633         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
10634         by positive zero when computing -Inf result.
10635         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
10636         (catanh_test): Likewise.
10637         * sysdeps/i386/fpu/libm-test-ulps: Update.
10638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10640         [BZ #16789]
10641         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
10642         instead of using underflowing value in computing result.
10643         * math/s_clog10.c (__clog10): Likewise.
10644         * math/s_clog10f.c (__clog10f): Likewise.
10645         * math/s_clog10l.c (__clog10l): Likewise.
10646         * math/s_clogf.c (__clogf): Likewise.
10647         * math/s_clogl.c (__clogl): Likewise.
10648         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
10649         (clog10_test): Likewise.
10650         * sysdeps/i386/fpu/libm-test-ulps: Update.
10651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10653 2014-04-02  Alan Modra  <amodra@gmail.com>
10655         [BZ #16739]
10656         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
10657         output when value is near a power of two.  Use int64_t for lx and
10658         remove casts.  Use decimal rather than hex exponent constants.
10659         Don't use long double multiplication when double will suffice.
10660         * math/libm-test.inc (nextafter_test_data): Add tests.
10661         * NEWS: Add 16739 and 16786 to bug list.
10663         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
10665         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
10667 2014-04-01  Will Newton  <will.newton@linaro.org>
10669         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
10670         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
10672 2014-04-01  Florian Weimer  <fweimer@redhat.com>
10674         [BZ #13347]
10675         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
10676         * nptl/tst-setuid2.c: New file.
10677         * nptl/Makefile (xtests): Add tst-setuid2.
10679 2014-04-01  Alan Modra  <amodra@gmail.com>
10681         [BZ #16786]
10682         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
10684 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
10686         [BZ #6803]
10687         [BZ #6804]
10688         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
10689         set errno as appropriate.
10690         * math/w_scalbf.c (__scalbf): Likewise.
10691         * math/w_scalbl.c (__scalbl): Likewise.
10692         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
10693         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
10694         * math/libm-test.inc (scalb_test_data): Add errno expectations.
10695         Add more NaN tests.
10697         [BZ #16349]
10698         * math/w_atan2.c: Include <errno.h>.
10699         (__atan2): Set errno for result underflowing to zero.
10700         * math/w_atan2f.c: Include <errno.h>.
10701         (__atan2f): Set errno for result underflowing to zero.
10702         * math/w_atan2l.c: Include <errno.h>.
10703         (__atan2l): Set errno for result underflowing to zero.
10704         * math/auto-libm-test-in: Don't allow missing errno for some atan2
10705         tests.
10706         * math/auto-libm-test-out: Regenerated.
10708 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10710         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
10711         Encode instruction correctly in little endian.
10712         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
10713         Likewise.
10714         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
10715         Likewise.
10716         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
10717         Likewise.
10718         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
10719         Likewise.
10721 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
10723         [BZ #9894]
10724         * sysdeps/unix/sysv/linux/kernel-features.h
10725         [__sparc__ && !__arch64__ && !__sparc_v9__]
10726         (__ASSUME_SET_ROBUST_LIST): Do not define.
10727         [__sparc__ && !__arch64__ && !__sparc_v9__]
10728         (__ASSUME_FUTEX_LOCK_PI): Likewise.
10729         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
10730         Likewise.
10731         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10732         (__ASSUME_FUTEX_LOCK_PI): Undefine.
10733         (__ASSUME_REQUEUE_PI): Likewise.
10734         (__ASSUME_SET_ROBUST_LIST): Likewise.
10735         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10736         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
10737         Undefine.
10738         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10739         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
10740         Likewise.
10741         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
10742         Likewise.
10743         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
10744         Likewise.
10745         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10746         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
10747         Undefine.
10748         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
10749         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
10750         Likewise.
10752         [BZ #16648]
10753         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10754         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
10755         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
10757 2014-03-31  Will Newton  <will.newton@linaro.org>
10759         * benchtests/Makefile (bench): Add ffs and ffsll to list
10760         of tests.
10761         * benchtests/ffs-inputs: New file.
10762         * benchtests/ffsll-inputs: Likewise.
10764 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
10766         [BZ #16770]
10767         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
10768         too large before casting to int.
10769         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
10770         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
10771         * math/libm-test.inc (scalb_test_data): Add more tests.
10773 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
10775         * benchtests/Makefile (DETAILED_OPT): New make option.
10776         (bench-func): Run benchmark program with -d if DETAILED_OPT is
10777         set.
10778         * benchtests/bench-skeleton.c: Include stdbool.h.
10779         (main): Store and print timings per input.
10780         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
10781         member to each argument value.
10782         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
10783         (_print_arg_data): Initialize per-input timing to 0.
10785         * benchtests/Makefile (timing-type): New binary.
10786         (bench-clean): Also remove bench-timing-type.
10787         (bench): New target for timing-type.
10788         (bench-func): Print output in JSON format.
10789         * benchtests/bench-skeleton.c (main): Print output in JSON
10790         format.
10791         * benchtests/bench-timing-type.c: New file.
10792         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
10793         (TIMING_PRINT_STATS): Remove.
10794         * benchtests/scripts/bench.py (_print_arg_data): Store variant
10795         name separately.
10797         * benchtests/bench-modf.c: Remove.
10798         * benchtests/modf-inputs: New inputs file.
10800 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
10802         [BZ #16362]
10803         * math/s_clog10.c (M_PI_LOG10E): New macro.
10804         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
10805         imaginary parts are 0.
10806         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
10807         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
10808         imaginary parts are 0.
10809         * math/s_clog10l.c (M_PI_LOG10El): New macro.
10810         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
10811         imaginary parts are 0.
10812         * math/libm-test.inc (clog10_test_data): Update expected results
10813         for when real and imaginary parts are 0.
10815 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
10817         * elf/dl-load.c: Finish conversion of __builtin_expect into
10818         __glibc_{un}likely.
10820 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
10822         [BZ #16348]
10823         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
10824         1+x for argument with exponent below -67.
10825         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
10826         Likewise.
10827         * math/auto-libm-test-in: Add more tests of exp.
10828         * math/auto-libm-test-out: Regenerated.
10830 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10832         [BZ #16759]
10833         * inet/getnetgrent_r.c (get_nonempty_val): New function.
10834         (nscd_getnetgrent): Use it.
10836         [BZ #16760]
10837         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
10838         of stpcpy.
10840 2014-03-27  Andi Kleen  <ak@linux.intel.com>
10842         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
10843         (lll_robust_lock, lll_cond_lock, lll_timedlock)
10844         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
10845         (lll_robust_unlock): Remove out of line section. Use cfi
10846         intrinsics.
10847         (LLL_STUB_UNWIND_INFO*): Remove.
10848         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
10849         (lll_robust_lock, lll_cond_lock, lll_timedlock)
10850         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
10851         (lll_robust_unlock): Remove out of line section. Use cfi
10852         intrinsics.
10853         (LLL_STUB_UNWIND_INFO*): Remove.
10855 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10857         [BZ #16758]
10858         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
10859         blank values.
10861 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
10863         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
10865 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
10867         [BZ #16198]
10868         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
10869         fnstenv.
10870         * math/test-fenv-preserve.c: New file.
10871         * math/Makefile (tests): Add test-fenv-preserve.
10873 2014-03-26  Will Newton <will.newton@linaro.org>
10875         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
10877 2014-03-25  Roland McGrath  <roland@hack.frob.com>
10879         * scripts/versionlist.awk: Partition the version sets and emit all
10880         GLIBC_* (sorted) before all others (sorted).
10882 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
10884         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
10885         GLIBC_2.2.5 version.
10887 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10889         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
10890         calls.
10892         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
10893         previous change.
10895         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10897 2014-03-25  Andreas Schwab  <schwab@suse.de>
10899         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
10900         label to be used after in6ailist is initialized.
10902 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10904         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10905         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
10907 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
10909         [BZ #16357]
10910         [BZ #16599]
10911         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
10912         min_plus_half.
10913         (fp_formats): Update initializers.
10914         (init_fp_formats): Initialize new field.
10915         (output_for_one_input_case): Allow underflow for results up to
10916         min_plus_half.
10917         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
10918         * math/auto-libm-test-in: Don't mark some underflows from asin and
10919         atanh as spurious.
10920         * math/auto-libm-test-out: Regenerated.
10921         * sysdeps/i386/fpu/libm-test-ulps: Update.
10922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10924 2014-03-25  Andreas Schwab  <schwab@suse.de>
10926         * libio/Makefile (tst-ftell-partial-wide-ENV)
10927         (tst-ftell-active-handler-ENV): Define.
10929 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
10931         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
10933 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
10935         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
10937 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
10939         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
10940         * sysdeps/x86_64/fpu/multiarch/e_exp.c
10941         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10943 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
10945         [BZ #16634]
10946         * elf/dl-load.c (open_verify): Add mode parameter.
10947         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
10948         (open_path): Change from boolean 'secure' to complete flag 'mode'
10949         (_dl_map_object): Adjust.
10950         * elf/Makefile (tests): Add tst-dlopen-aout.
10951         * elf/tst-dlopen-aout.c: New test.
10953 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
10955         [BZ #16714]
10956         * sysdeps/unix/sysv/linux/s390/bits/stat.h
10957         (struct stat): Rename member pad0 to __glibc_reserved0.
10959         [BZ #16712]
10960         * sysdeps/s390/s390-32/bits/wordsize.h
10961         (__WORDSIZE32_SIZE_ULONG): New define.
10962         * sysdeps/s390/s390-64/bits/wordsize.h
10963         (__WORDSIZE32_SIZE_ULONG): Likewise.
10964         * sysdeps/generic/stdint.h (SIZE_MAX):
10965         Define as UL if __WORDSIZE32_SIZE_ULONG.
10967         [BZ #16713]
10968         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
10969         (__glibc_reserved0): New variable.
10970         (sa_flags): Change type to int.
10972         * posix/Makefile (before-compile): Use += before-compile instead
10973         of a :=.
10975         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10976         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
10978 2014-03-20  Andreas Schwab  <schwab@suse.de>
10980         [BZ #16743]
10981         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
10982         non-matching result from nscd.
10984 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10986         * scripts/bench.py: Moved to ...
10987         * benchtests/scripts/bench.py: ... here.
10988         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
10990 2014-03-24  Andreas Schwab  <schwab@suse.de>
10992         [BZ #16002]
10993         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
10994         alloca_account and account alloca use for struct in6ailist.
10996 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
10998         [BZ #16284]
10999         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
11000         rounding mode to recompute results that overflow to infinity or
11001         underflow to zero.
11002         * math/auto-libm-test-in: Don't mark tests as expected to fail for
11003         bug 16284.
11004         * math/auto-libm-test-out: Regenerated.
11005         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
11006         (ccosh_test): Likewise.
11007         (csin_test_data): Use plus_oflow.
11008         (csin_test): Use ALL_RM_TEST.
11009         (csinh_test_data): Use plus_oflow.
11010         (csinh_test): Use ALL_RM_TEST.
11011         * sysdeps/i386/fpu/libm-test-ulps: Update.
11012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11014 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
11016         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
11017         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
11018         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
11020         [BZ #16731]
11021         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
11022         when x - 1 is zero.
11023         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
11024         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
11025         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11026         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
11027         argument is 1.
11028         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
11029         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
11030         zero.
11031         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
11032         * sysdeps/i386/fpu/libm-test-ulps: Update.
11033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11035 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11037         * scripts/bench.pl: Remove file.
11038         * scripts/bench.py: New benchmark script.
11039         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
11040         * benchtests/README: Mention python dependency.
11041         * scripts/pylintrc: New file.
11042         * scripts/pylint: New file.
11044         * bits/mathdef.h: Use #ifdef instead of #if.
11045         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
11046         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11047         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
11048         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11049         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
11050         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11052 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11053             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
11055         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
11056         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
11057         and strpbrk-ppc64 objects.
11058         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11059         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
11060         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
11061         multiarch strpbrk for POWER7.
11062         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
11063         multiarch strpbrk for PPC64.
11064         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
11065         ifunc selector.
11066         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
11067         strpbrk for POWER7.
11069 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
11071         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
11072         (atan_test): Likewise.
11073         (atanh_test_data): Use NO_TEST_INLINE for two tests.
11074         (atanh_test): Use ALL_RM_TEST.
11075         (atan2_test_data): Likewise.
11076         (cabs_test): Likewise.
11077         (cacosh_test): Likewise.
11078         (carg_test): Likewise.
11079         (casin_test): Likewise.
11080         (casinh_test): Likewise.
11081         (cbrt_test): Likewise.
11082         (csqrt_test): Likewise.
11083         (erf_test): Likewise.
11084         (erfc_test): Likewise.
11085         (pow10_test): Likewise.
11086         (exp2_test): Likewise.
11087         (hypot_test): Likewise.
11088         (j0_test): Likewise.
11089         (j1_test): Likewise.
11090         (lgamma_test): Likewise.
11091         (gamma_test): Likewise.
11092         (sincos_test): Likewise.
11093         (tanh_test): Likewise.
11094         (y0_test): Likewise.
11095         (y1_test): Likewise.
11096         * sysdeps/i386/fpu/libm-test-ulps: Update.
11097         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11099 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11101         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
11102         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
11103         and strcspn-ppc64 objects.
11104         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11105         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
11106         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
11107         multiarch strcspn for POWER7.
11108         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
11109         multiarch strcspn for PPC64.
11110         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
11111         ifunc selector.
11112         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
11113         strcspn for POWER7.
11115 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
11117         * math/gen-libm-test.pl (generate_testfile): Expect only function
11118         name as argument to AUTO_TESTS_* and pass results for all rounding
11119         modes to parse_args.
11120         (parse_auto_input): Separate inputs of automatic tests from
11121         outputs before storing in %auto_tests.
11122         * math/libm-test.inc (acos_test_data): Update call to
11123         AUTO_TESTS_f_f.
11124         (acos_test): Use ALL_RM_TEST.
11125         (acos_tonearest_test_data): Remove.
11126         (acos_test_tonearest): Likewise.
11127         (acos_towardzero_test_data): Likewise.
11128         (acos_test_towardzero): Likewise.
11129         (acos_downward_test_data): Likewise.
11130         (acos_test_downward): Likewise.
11131         (acos_upward_test_data): Likewise.
11132         (acos_test_upward): Likewise.
11133         (acosh_test_data): Update call to AUTO_TESTS_f_f.
11134         (asin_test_data): Likewise.
11135         (asin_test): Use ALL_RM_TEST.
11136         (asin_tonearest_test_data): Remove.
11137         (asin_test_tonearest): Likewise.
11138         (asin_towardzero_test_data): Likewise.
11139         (asin_test_towardzero): Likewise.
11140         (asin_downward_test_data): Likewise.
11141         (asin_test_downward): Likewise.
11142         (asin_upward_test_data): Likewise.
11143         (asin_test_upward): Likewise.
11144         (asinh_test_data): Update call to AUTO_TESTS_f_f.
11145         (atan_test_data): Likewise.
11146         (atanh_test_data): Likewise.
11147         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
11148         (cabs_test_data): Update call to AUTO_TESTS_c_f.
11149         (carg_test_data): Likewise.
11150         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
11151         (ccos_test_data): Update call to AUTO_TESTS_c_c.
11152         (ccosh_test_data): Likewise.
11153         (cexp_test_data): Likewise.
11154         (clog_test_data): Likewise.
11155         (clog10_test_data): Likewise.
11156         (cos_test_data): Update call to AUTO_TESTS_f_f.
11157         (cos_test): Use ALL_RM_TEST.
11158         (cos_tonearest_test_data): Remove.
11159         (cos_test_tonearest): Likewise.
11160         (cos_towardzero_test_data): Likewise.
11161         (cos_test_towardzero): Likewise.
11162         (cos_downward_test_data): Likewise.
11163         (cos_test_downward): Likewise.
11164         (cos_upward_test_data): Likewise.
11165         (cos_test_upward): Likewise.
11166         (cosh_test_data): Update call to AUTO_TESTS_f_f.
11167         (cosh_test): Use ALL_RM_TEST.
11168         (cosh_tonearest_test_data): Remove.
11169         (cosh_test_tonearest): Likewise.
11170         (cosh_towardzero_test_data): Likewise.
11171         (cosh_test_towardzero): Likewise.
11172         (cosh_downward_test_data): Likewise.
11173         (cosh_test_downward): Likewise.
11174         (cosh_upward_test_data): Likewise.
11175         (cosh_test_upward): Likewise.
11176         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
11177         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
11178         (ctan_test_data): Likewise.
11179         (ctan_test): Use ALL_RM_TEST.
11180         (ctan_tonearest_test_data): Remove.
11181         (ctan_test_tonearest): Likewise.
11182         (ctan_towardzero_test_data): Likewise.
11183         (ctan_test_towardzero): Likewise.
11184         (ctan_downward_test_data): Likewise.
11185         (ctan_test_downward): Likewise.
11186         (ctan_upward_test_data): Likewise.
11187         (ctan_test_upward): Likewise.
11188         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
11189         (ctanh_test): Use ALL_RM_TEST.
11190         (ctanh_tonearest_test_data): Remove.
11191         (ctanh_test_tonearest): Likewise.
11192         (ctanh_towardzero_test_data): Likewise.
11193         (ctanh_test_towardzero): Likewise.
11194         (ctanh_downward_test_data): Likewise.
11195         (ctanh_test_downward): Likewise.
11196         (ctanh_upward_test_data): Likewise.
11197         (ctanh_test_upward): Likewise.
11198         (erf_test_data): Update call to AUTO_TESTS_f_f.
11199         (erfc_test_data): Likewise.
11200         (exp_test_data): Likewise.
11201         (exp_test): Use ALL_RM_TEST.
11202         (exp_tonearest_test_data): Remove.
11203         (exp_test_tonearest): Likewise.
11204         (exp_towardzero_test_data): Likewise.
11205         (exp_test_towardzero): Likewise.
11206         (exp_downward_test_data): Likewise.
11207         (exp_test_downward): Likewise.
11208         (exp_upward_test_data): Likewise.
11209         (exp_test_upward): Likewise.
11210         (exp10_test_data): Update call to AUTO_TESTS_f_f.
11211         (exp10_test): Use ALL_RM_TEST.
11212         (exp10_tonearest_test_data): Remove.
11213         (exp10_test_tonearest): Likewise.
11214         (exp10_towardzero_test_data): Likewise.
11215         (exp10_test_towardzero): Likewise.
11216         (exp10_downward_test_data): Likewise.
11217         (exp10_test_downward): Likewise.
11218         (exp10_upward_test_data): Likewise.
11219         (exp10_test_upward): Likewise.
11220         (exp2_test_data): Update call to AUTO_TESTS_f_f.
11221         (expm1_test_data): Likewise.
11222         (expm1_test): Use ALL_RM_TEST.
11223         (expm1_tonearest_test_data): Remove.
11224         (expm1_test_tonearest): Likewise.
11225         (expm1_towardzero_test_data): Likewise.
11226         (expm1_test_towardzero): Likewise.
11227         (expm1_downward_test_data): Likewise.
11228         (expm1_test_downward): Likewise.
11229         (expm1_upward_test_data): Likewise.
11230         (expm1_test_upward): Likewise.
11231         (fma_test_data): Update call to AUTO_TESTS_fff_f.
11232         (fma_test): Use ALL_RM_TEST.
11233         (fma_towardzero_test_data): Remove.
11234         (fma_test_towardzero): Likewise.
11235         (fma_downward_test_data): Likewise.
11236         (fma_test_downward): Likewise.
11237         (fma_upward_test_data): Likewise.
11238         (fma_test_upward): Likewise.
11239         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
11240         (j0_test_data): Update call to AUTO_TESTS_f_f.
11241         (j1_test_data): Likewise.
11242         (jn_test_data): Update call to AUTO_TESTS_if_f.
11243         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
11244         (log_test_data): Update call to AUTO_TESTS_f_f.
11245         (log10_test_data): Likewise.
11246         (log1p_test_data): Likewise.
11247         (log2_test_data): Likewise.
11248         (pow_test_data): Update call to AUTO_TESTS_ff_f.
11249         (pow_tonearest_test_data): Likewise.
11250         (sin_test_data): Update call to AUTO_TESTS_f_f.
11251         (sin_test): Use ALL_RM_TEST.
11252         (sin_tonearest_test_data): Remove.
11253         (sin_test_tonearest): Likewise.
11254         (sin_towardzero_test_data): Likewise.
11255         (sin_test_towardzero): Likewise.
11256         (sin_downward_test_data): Likewise.
11257         (sin_test_downward): Likewise.
11258         (sin_upward_test_data): Likewise.
11259         (sin_test_upward): Likewise.
11260         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
11261         (sinh_test_data): Update call to AUTO_TESTS_f_f.
11262         (sinh_test): Use ALL_RM_TEST.
11263         (sinh_tonearest_test_data): Remove.
11264         (sinh_test_tonearest): Likewise.
11265         (sinh_towardzero_test_data): Likewise.
11266         (sinh_test_towardzero): Likewise.
11267         (sinh_downward_test_data): Likewise.
11268         (sinh_test_downward): Likewise.
11269         (sinh_upward_test_data): Likewise.
11270         (sinh_test_upward): Likewise.
11271         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
11272         (sqrt_test): Use ALL_RM_TEST.
11273         (sqrt_tonearest_test_data): Remove.
11274         (sqrt_test_tonearest): Likewise.
11275         (sqrt_towardzero_test_data): Likewise.
11276         (sqrt_test_towardzero): Likewise.
11277         (sqrt_downward_test_data): Likewise.
11278         (sqrt_test_downward): Likewise.
11279         (sqrt_upward_test_data): Likewise.
11280         (sqrt_test_upward): Likewise.
11281         (tan_test_data): Update call to AUTO_TESTS_f_f.
11282         (tan_test): Use ALL_RM_TEST.
11283         (tan_tonearest_test_data): Remove.
11284         (tan_test_tonearest): Likewise.
11285         (tan_towardzero_test_data): Likewise.
11286         (tan_test_towardzero): Likewise.
11287         (tan_downward_test_data): Likewise.
11288         (tan_test_downward): Likewise.
11289         (tan_upward_test_data): Likewise.
11290         (tan_test_upward): Likewise.
11291         (tanh_test_data): Update call to AUTO_TESTS_f_f.
11292         (tgamma_test_data): Likewise.
11293         (y0_test_data): Likewise.
11294         (y1_test_data): Likewise.
11295         (yn_test_data): Update call to AUTO_TESTS_if_f.
11296         (main): Do not call removed functions.
11298 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
11300         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
11301         (ldexp_test_data): Remove.
11302         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
11303         scalbn_test_data.
11304         (scalb_test): Use ALL_RM_TEST.
11306 2014-03-19  Andreas Schwab  <schwab@suse.de>
11308         * nscd/nscd.service: Also invalidate netgroup cache on reload.
11310 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
11312         [BZ #16649]
11313         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11314         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
11315         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
11316         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11317         (__ASSUME_PREADV): Undefine.
11318         (__ASSUME_PWRITEV): Likewise.
11320 2014-03-18  Roland McGrath  <roland@hack.frob.com>
11322         * bits/mman-linux.h: Add comment about non-Linux use.
11323         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
11324         bits/mman-linux.h resting place.
11326         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
11327         * bits/mman-linux.h: ... here.
11329 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11331         * conform/conformtest.pl: Add standard definition when calling C
11332         preprocessor on data files.
11333         (checknamespace): Remove unused variable.
11335 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
11337         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
11338         minus_oflow, plus_uflow and minus_uflow in expected results.
11339         * math/libm-test.inc (scalbn_test_data): Add more tests of
11340         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
11341         minus_uflow.
11342         (scalbn_test): Use ALL_RM_TEST.
11343         (scalbln_test_data): Add more tests of negative arguments.  Use
11344         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
11345         (scalbln_test): Use ALL_RM_TEST.
11347 2014-03-18  Roland McGrath  <roland@hack.frob.com>
11349         * scripts/abilist.awk: Ignore symbols marked with .hidden.
11351 2014-03-18  Will Newton  <will.newton@linaro.org>
11353         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
11354         inaccurate comment.
11356 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
11358         * Makerules [!subdir] (check-abi): Exit with error status if a
11359         test failed.
11361 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
11363         * math/libm-test.inc (nearbyint_test_data): Include all tests used
11364         for rint.  Include results for all rounding modes.
11365         (nearbyint_test): Use ALL_RM_TEST.
11366         (rint_test_data): Include all tests used for nearbyint.
11368 2014-03-17  Will Newton  <will.newton@linaro.org>
11370         * nptl/sysdeps/pthread/pthread.h: Revert previous
11371         change.
11373         * sysdeps/generic/ldsodefs.h: Revert previous
11374         change.
11376         * libio/genops.c: Revert previous change.
11377         * libio/libioP.h: Likewise.
11378         * stdio-common/vfprintf.c: Likewise.
11380         * sysdeps/generic/math_private.h: Revert previous
11381         change.
11383         * sysdeps/generic/math_private.h: Check whether
11384         HAVE_RM_CTX is defined with #ifdef rather
11385         than #if.
11387         * argp/argp-fmtstream.h: Check whether
11388         __STRICT_ANSI__ is defined with #ifdef rather
11389         than #if.
11390         * argp/argp.h: Likewise.
11392         * libio/genops.c: Check whether
11393         _IO_JUMPS_OFFSET is defined with #ifdef rather
11394         than #if.
11395         * libio/libioP.h: Likewise.
11396         * stdio-common/vfprintf.c: Likewise.
11398         * sysdeps/generic/ldsodefs.h: Check whether
11399         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
11400         than #if.
11402         * nptl/sysdeps/pthread/pthread.h: Check
11403         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
11404         its value.
11406 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
11408         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
11409         setting O_APPEND.
11410         * libio/tst-ftell-active-handler.c (do_append_test): Add a
11411         test case.
11413         [BZ #16680]
11414         * libio/fileops.c (_IO_file_open): Seek to end of file but
11415         don't cache the offset.
11416         (get_file_offset): Remove function.
11417         (do_ftell): Use cached offset when available.
11418         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
11419         don't cache the offset.
11420         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
11421         case.
11422         (do_one_test): Call it.
11423         (do_ftell_test): Fix up expected old offset for a+ mode.
11424         * libio/wfileops.c (do_ftell_wide): Used cached offset when
11425         available.
11427         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
11428         up test status with function return status.
11429         (do_write_test): Likewise.
11430         (do_append_test): Likewise.
11432         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
11433         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
11434         Remove.
11436 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
11438         * math/gen-libm-test.pl (parse_args): Handle results specified for
11439         each rounding mode separately.
11440         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
11441         tests and results from lrint_tonearest_test_data,
11442         lrint_towardzero_test_data, lrint_downward_test_data and
11443         lrint_upward_test_data.
11444         (lrint_test): Use ALL_RM_TEST.
11445         (lrint_tonearest_test_data): Remove.
11446         (lrint_test_tonearest): Likewise.
11447         (lrint_towardzero_test_data): Likewise.
11448         (lrint_test_towardzero): Likewise.
11449         (lrint_downward_test_data): Likewise.
11450         (lrint_test_downward): Likewise.
11451         (lrint_upward_test_data): Likewise.
11452         (lrint_test_upward): Likewise.
11453         (llrint_test_data): Merge in per-rounding-mode tests and results
11454         from llrint_tonearest_test_data, llrint_towardzero_test_data,
11455         llrint_downward_test_data and llrint_upward_test_data.
11456         (llrint_test): Use ALL_RM_TEST.
11457         (llrint_tonearest_test_data): Remove.
11458         (llrint_test_tonearest): Likewise.
11459         (llrint_towardzero_test_data): Likewise.
11460         (llrint_test_towardzero): Likewise.
11461         (llrint_downward_test_data): Likewise.
11462         (llrint_test_downward): Likewise.
11463         (llrint_upward_test_data): Likewise.
11464         (llrint_test_upward): Likewise.
11465         (rint_test_data): Merge in per-rounding-mode tests and results
11466         from rint_tonearest_test_data, rint_towardzero_test_data,
11467         rint_downward_test_data and rint_upward_test_data.  Add
11468         per-rounding-mode results for tests not in those arrays.
11469         (rint_test): Use ALL_RM_TEST.
11470         (rint_tonearest_test_data): Remove.
11471         (rint_test_tonearest): Likewise.
11472         (rint_towardzero_test_data): Likewise.
11473         (rint_test_towardzero): Likewise.
11474         (rint_downward_test_data): Likewise.
11475         (rint_test_downward): Likewise.
11476         (rint_upward_test_data): Likewise.
11477         (rint_test_upward): Likewise.
11478         (main): Don't call removed functions.
11480 2014-03-14  Roland McGrath  <roland@hack.frob.com>
11482         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
11483         "Compiled on ..." crapola.  It is anti-useful.
11485 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
11487         * scripts/evaluate-test.sh: Handle fourth argument to determine
11488         whether test run should stop on failure.
11489         * Makeconfig (stop-on-test-failure): New variable.
11490         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
11491         $(stop-on-test-failure).
11492         * Makefile (tests): Give a summary of results from testing and
11493         exit with failure status if they include an ERROR or FAIL.
11494         (xtests): Likewise.
11495         * manual/install.texi (Configuring and compiling): Mention
11496         stop-on-test-failure=y.
11497         * INSTALL: Regenerated.
11499 2014-03-14  Roland McGrath  <roland@hack.frob.com>
11501         * scripts/versionlist.awk: New file.
11502         * Makerules [$(build-shared) = yes]
11503         (postclean-generated): Add Versions.def, not Versions.def.v and
11504         Versions.def.v.i.
11505         ($(common-objpfx)Versions.def.v.i): Target removed.
11506         ($(common-objpfx)Versions.def): New target.
11507         ($(common-objpfx)Versions.all): Depend on that rather that
11508         $(common-objpfx)Versions.def.v.
11509         * Versions.def: File removed.
11511         * Makeconfig (+gccwarn): Add -Wundef.
11512         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
11513         a dl-sysdep.h breaking its contract.
11514         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
11515         * include/stackinfo.h: New file.
11516         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
11517         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
11518         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
11519         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
11520         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
11521         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
11522         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11523         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11524         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11525         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11526         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11527         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
11528         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11529         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11530         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11532 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11534         [BZ #16707]
11535         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
11536         implementation.
11537         * math/libm-test.inc (round_test_data): Add more tests.
11539         [BZ #16706]
11540         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
11541         implementation.
11542         * math/libm-test.inc (nearbyint_test_data): Add more tests.
11544         [BZ #16701]
11545         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
11546         implementation.
11547         * math/libm-test.inc (ceil_test_data): Add more tests.
11549         * math/libm-test.inc (trunc_test_data): Add more tests related to
11550         BZ#16414.
11552 2014-03-14  Roland McGrath  <roland@hack.frob.com>
11554         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
11555         with #if rather than #ifdef.
11556         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
11558 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
11560         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
11561         first.  Disable AVX-512 GCC support if assembler doesn't support
11562         it.
11563         * sysdeps/x86_64/configure: Regenerated.
11565 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
11567         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
11568         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
11569         (__old_pthread_attr_setstack): Likewise.
11570         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
11571         [!_STACK_GROWS_DOWN]: Likewise.
11573 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
11575         * config.make.in (have-bash2): Delete.
11576         * configure.ac (libc_cv_have_bash2): Delete.
11577         * configure: Regenerate.
11578         * elf/Makefile (common-ldd-rewrite): Rename to ...
11579         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
11580         (sh-ldd-rewrite): Delete.
11581         (bash-ldd-rewrite): Delete.
11582         (have-bash2): Delete checks.
11583         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
11584         ldd-rewrite.
11586         * config.make.in (have-ksh): Delete.
11587         (KSH): Delete.
11588         * configure.ac (libc_cv_have_ksh): Delete.
11589         * configure: Regenerate.
11591         * elf/Makefile: Delete $(have-ksh) check.
11592         ($(objpfx)sotruss): Change KSH to BASH.
11593         * elf/sotruss.ksh: Rename to ...
11594         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
11595         function style to match POSIX.  Drop ksh vim mode setting.
11597         * manual/time.texi (Specifying the Time Zone with TZ): Change
11598         Tuesday to Thursday.
11600         * debug/tst-longjmp_chk2.c: Update header comment.
11601         (stackoverflow_handler): Add comment.  Call assert on pass value.
11603 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
11605         [BZ #16194]
11606         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
11607         (HAVE_AVX512_ASM_SUPPORT): Likewise.
11608         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
11609         (La_x86_64_vector): Add zmm.
11610         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
11611         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
11612         ($(objpfx)tst-audit10): New target.
11613         ($(objpfx)tst-audit10.out): Likewise.
11614         (tst-audit10-ENV): New.
11615         (AVX512-CFLAGS): Likewise.
11616         (CFLAGS-tst-audit10.c): Likewise.
11617         (CFLAGS-tst-auditmod10a.c): Likewise.
11618         (CFLAGS-tst-auditmod10b.c): Likewise.
11619         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
11620         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
11621         * sysdeps/x86_64/configure: Regenerated.
11622         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
11623         AVX-512 zmm register support.
11624         (_dl_x86_64_save_sse): Likewise.
11625         (_dl_x86_64_restore_sse): Likewise.
11626         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
11627         size vector registers.
11628         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
11629         (ZMM_SIZE): Likewise.
11630         * sysdeps/x86_64/tst-audit10.c: New file.
11631         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
11632         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
11634 2014-03-13  Roland McGrath  <roland@hack.frob.com>
11636         * configure.ac (HAVE_EHDR_START): New check.
11637         * configure: Regenerated.
11638         * config.h.in (HAVE_EHDR_START): New #undef.
11639         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
11640         assuming the lowest-addressed segment maps the start of the file.
11642 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
11644         * INSTALL: Regenerated.
11646 2014-03-13  Will Newton  <will.newton@linaro.org>
11648         * manual/setjmp.texi (System V contexts): Improve
11649         clarity and grammar of documentation.
11651 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
11653         [BZ #16381]
11654         * elf/Makefile (tests): Add tst-pie2.
11655         (tests-pie): Add tst-pie2.
11656         * elf/tst-pie2.c: New file.
11657         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
11658         for ET_EXEC.
11659         * elf/rtld.c (map_doit): Load executable as lt_executable.
11660         (dl_main): Likewise.
11662 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
11664         [BZ #16642]
11665         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11666         (__ASSUME_PSELECT): Undefine.
11668 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11670         [BZ #16689]
11671         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
11672         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
11673         static build.
11674         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
11675         selector for static builds.
11677 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11679         [BZ #16695]
11680         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
11681         key in the buffer.
11683 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11685         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
11686         IFUNC selector for static builds.
11688 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
11690         * sysdeps/mips/math_private.h [__mips_hard_float]
11691         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
11692         libc_feresetround_mips_ctx.
11693         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
11694         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
11695         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
11697         [BZ #16677]
11698         * math/s_nextafter.c (__nextafter): Do not return value from
11699         overflowing computation.
11700         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
11701         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
11702         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
11703         Likewise.
11704         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
11705         Likewise.
11706         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
11707         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
11709 2014-03-11  Roland McGrath  <roland@hack.frob.com>
11711         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
11712         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
11713         Move sfi_sp use from the load-multiple (that no longer sets sp) to
11714         the new mov targetting sp.
11716 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11718         [BZ #16683]
11719         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
11720         Define it for static builds as well.
11721         (NO_BZERO_IMPL): Likewise.
11723 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
11725         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
11726         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
11727         multiarch strspn for PPC64.
11728         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
11729         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
11730         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11731         (__libc_ifunc_impl_list): Likewise.
11732         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
11733         multiarch optimizations
11734         * string/strspn.c (strspn): Using macro to redefine symbol name.
11736 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
11737             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11739         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
11740         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
11741         multiarch strncat for PPC64.
11742         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
11743         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
11744         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11745         (__libc_ifunc_impl_list): Likewise.
11746         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
11747         multiarch optimizations
11749 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11751         [BZ #16639]
11752         * nscd/nscd.service: Make service type forking.
11754 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11756         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
11757         sign in non default rounding modes.
11758         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
11760 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
11762         * math/libm-test.inc (ALL_RM_TEST): New macro.
11763         (ceil_test): Use ALL_RM_TEST.
11764         (cimag_test): Likewise.
11765         (conj_test): Likewise.
11766         (copysign_test): Likewise.
11767         (cproj_test): Likewise.
11768         (creal_test): Likewise.
11769         (fabs_test): Likewise.
11770         (floor_test): Likewise.
11771         (fmax_test): Likewise.
11772         (fmin_test): Likewise.
11773         (fmod_test): Likewise.
11774         (fpclassify_test): Likewise.
11775         (frexp_test): Likewise.
11776         (ilogb_test): Likewise.
11777         (isfinite_test): Likewise.
11778         (finite_test): Likewise.
11779         (isgreater_test): Likewise.
11780         (isgreaterequal_test): Likewise.
11781         (isinf_test): Likewise.
11782         (isless_test): Likewise.
11783         (islessequal_test): Likewise.
11784         (islessgreater_test): Likewise.
11785         (isnan_test): Likewise.
11786         (isnormal_test): Likewise.
11787         (issignaling_test): Likewise.
11788         (isunordered_test): Likewise.
11789         (logb_test): Likewise.
11790         (logb_downward_test_data): Remove.
11791         (logb_test_downward): Likewise.
11792         (lround_test): Use ALL_RM_TEST.
11793         (llround_test): Likewise.
11794         (modf_test): Likewise.
11795         (nexttoward_test): Likewise.
11796         (remainder_test): Likewise.
11797         (drem_test): Likewise.
11798         (remainder_tonearest_test_data): Likewise.
11799         (remainder_test_tonearest): Likewise.
11800         (drem_test_tonearest): Likewise.
11801         (remainder_towardzero_test_data): Likewise.
11802         (remainder_test_towardzero): Likewise.
11803         (drem_test_towardzero): Likewise.
11804         (remainder_downward_test_data): Likewise.
11805         (remainder_test_downward): Likewise.
11806         (drem_test_downward): Likewise.
11807         (remainder_upward_test_data): Likewise.
11808         (remainder_test_upward): Likewise.
11809         (drem_test_upward): Likewise.
11810         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
11811         (round_test): Use ALL_RM_TEST.
11812         (signbit_test): Likewise.
11813         (trunc_test): Likewise.
11814         (significand_test): Likewise.
11815         (main): Don't call removed functions.
11817 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
11819         [BZ #16674]
11820         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
11821         || __USE_XOPEN2K8].
11822         (ILL_ILLOPN): Likewise.
11823         (ILL_ILLADR): Likewise.
11824         (ILL_ILLTRP): Likewise.
11825         (ILL_PRVOPC): Likewise.
11826         (ILL_PRVREG): Likewise.
11827         (ILL_COPROC): Likewise.
11828         (ILL_BADSTK): Likewise.
11829         (FPE_INTDIV): Likewise.
11830         (FPE_INTOVF): Likewise.
11831         (FPE_FLTDIV): Likewise.
11832         (FPE_FLTOVF): Likewise.
11833         (FPE_FLTUND): Likewise.
11834         (FPE_FLTRES): Likewise.
11835         (FPE_FLTINV): Likewise.
11836         (FPE_FLTSUB): Likewise.
11837         (SEGV_MAPERR): Likewise.
11838         (SEGV_ACCERR): Likewise.
11839         (BUS_ADRALN): Likewise.
11840         (BUS_ADRERR): Likewise.
11841         (BUS_OBJERR): Likewise.
11842         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11843         (TRAP_TRACE): Likewise.
11844         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11845         __USE_XOPEN2K8].
11846         (CLD_KILLED): Likewise.
11847         (CLD_DUMPED): Likewise.
11848         (CLD_TRAPPED): Likewise.
11849         (CLD_STOPPED): Likewise.
11850         (CLD_CONTINUED): Likewise.
11851         (POLL_IN): Likewise.
11852         (POLL_OUT): Likewise.
11853         (POLL_MSG): Likewise.
11854         (POLL_ERR): Likewise.
11855         (POLL_PRI): Likewise.
11856         (POLL_HUP): Likewise.
11857         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
11858         Likewise.
11859         (ILL_ILLOPN): Likewise.
11860         (ILL_ILLADR): Likewise.
11861         (ILL_ILLTRP): Likewise.
11862         (ILL_PRVOPC): Likewise.
11863         (ILL_PRVREG): Likewise.
11864         (ILL_COPROC): Likewise.
11865         (ILL_BADSTK): Likewise.
11866         (FPE_INTDIV): Likewise.
11867         (FPE_INTOVF): Likewise.
11868         (FPE_FLTDIV): Likewise.
11869         (FPE_FLTOVF): Likewise.
11870         (FPE_FLTUND): Likewise.
11871         (FPE_FLTRES): Likewise.
11872         (FPE_FLTINV): Likewise.
11873         (FPE_FLTSUB): Likewise.
11874         (SEGV_MAPERR): Likewise.
11875         (SEGV_ACCERR): Likewise.
11876         (BUS_ADRALN): Likewise.
11877         (BUS_ADRERR): Likewise.
11878         (BUS_OBJERR): Likewise.
11879         (BUS_MCEERR_AR): Likewise.
11880         (BUS_MCEERR_AO): Likewise.
11881         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11882         (TRAP_TRACE): Likewise.
11883         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11884         __USE_XOPEN2K8].
11885         (CLD_KILLED): Likewise.
11886         (CLD_DUMPED): Likewise.
11887         (CLD_TRAPPED): Likewise.
11888         (CLD_STOPPED): Likewise.
11889         (CLD_CONTINUED): Likewise.
11890         (POLL_IN): Likewise.
11891         (POLL_OUT): Likewise.
11892         (POLL_MSG): Likewise.
11893         (POLL_ERR): Likewise.
11894         (POLL_PRI): Likewise.
11895         (POLL_HUP): Likewise.
11896         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
11897         (ILL_ILLOPN): Likewise.
11898         (ILL_ILLADR): Likewise.
11899         (ILL_ILLTRP): Likewise.
11900         (ILL_PRVOPC): Likewise.
11901         (ILL_PRVREG): Likewise.
11902         (ILL_COPROC): Likewise.
11903         (ILL_BADSTK): Likewise.
11904         (FPE_INTDIV): Likewise.
11905         (FPE_INTOVF): Likewise.
11906         (FPE_FLTDIV): Likewise.
11907         (FPE_FLTOVF): Likewise.
11908         (FPE_FLTUND): Likewise.
11909         (FPE_FLTRES): Likewise.
11910         (FPE_FLTINV): Likewise.
11911         (FPE_FLTSUB): Likewise.
11912         (SEGV_MAPERR): Likewise.
11913         (SEGV_ACCERR): Likewise.
11914         (BUS_ADRALN): Likewise.
11915         (BUS_ADRERR): Likewise.
11916         (BUS_OBJERR): Likewise.
11917         (BUS_MCEERR_AR): Likewise.
11918         (BUS_MCEERR_AO): Likewise.
11919         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11920         (TRAP_TRACE): Likewise.
11921         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11922         __USE_XOPEN2K8].
11923         (CLD_KILLED): Likewise.
11924         (CLD_DUMPED): Likewise.
11925         (CLD_TRAPPED): Likewise.
11926         (CLD_STOPPED): Likewise.
11927         (CLD_CONTINUED): Likewise.
11928         (POLL_IN): Likewise.
11929         (POLL_OUT): Likewise.
11930         (POLL_MSG): Likewise.
11931         (POLL_ERR): Likewise.
11932         (POLL_PRI): Likewise.
11933         (POLL_HUP): Likewise.
11934         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
11935         Likewise.
11936         (ILL_ILLOPN): Likewise.
11937         (ILL_ILLADR): Likewise.
11938         (ILL_ILLTRP): Likewise.
11939         (ILL_PRVOPC): Likewise.
11940         (ILL_PRVREG): Likewise.
11941         (ILL_COPROC): Likewise.
11942         (ILL_BADSTK): Likewise.
11943         (ILL_BADIADDR): Likewise.
11944         (ILL_BREAK): Likewise.
11945         (FPE_INTDIV): Likewise.
11946         (FPE_INTOVF): Likewise.
11947         (FPE_FLTDIV): Likewise.
11948         (FPE_FLTOVF): Likewise.
11949         (FPE_FLTUND): Likewise.
11950         (FPE_FLTRES): Likewise.
11951         (FPE_FLTINV): Likewise.
11952         (FPE_FLTSUB): Likewise.
11953         (FPE_DECOVF): Likewise.
11954         (FPE_DECDIV): Likewise.
11955         (FPE_DECERR): Likewise.
11956         (FPE_INVASC): Likewise.
11957         (FPE_INVDEC): Likewise.
11958         (SEGV_MAPERR): Likewise.
11959         (SEGV_ACCERR): Likewise.
11960         (SEGV_PSTKOVF): Likewise.
11961         (BUS_ADRALN): Likewise.
11962         (BUS_ADRERR): Likewise.
11963         (BUS_OBJERR): Likewise.
11964         (BUS_MCEERR_AR): Likewise.
11965         (BUS_MCEERR_AO): Likewise.
11966         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11967         (TRAP_TRACE): Likewise.
11968         (TRAP_BRANCH): Likewise.
11969         (TRAP_HWBKPT): Likewise.
11970         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11971         __USE_XOPEN2K8].
11972         (CLD_KILLED): Likewise.
11973         (CLD_DUMPED): Likewise.
11974         (CLD_TRAPPED): Likewise.
11975         (CLD_STOPPED): Likewise.
11976         (CLD_CONTINUED): Likewise.
11977         (POLL_IN): Likewise.
11978         (POLL_OUT): Likewise.
11979         (POLL_MSG): Likewise.
11980         (POLL_ERR): Likewise.
11981         (POLL_PRI): Likewise.
11982         (POLL_HUP): Likewise.
11983         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
11984         (ILL_ILLOPN): Likewise.
11985         (ILL_ILLADR): Likewise.
11986         (ILL_ILLTRP): Likewise.
11987         (ILL_PRVOPC): Likewise.
11988         (ILL_PRVREG): Likewise.
11989         (ILL_COPROC): Likewise.
11990         (ILL_BADSTK): Likewise.
11991         (FPE_INTDIV): Likewise.
11992         (FPE_INTOVF): Likewise.
11993         (FPE_FLTDIV): Likewise.
11994         (FPE_FLTOVF): Likewise.
11995         (FPE_FLTUND): Likewise.
11996         (FPE_FLTRES): Likewise.
11997         (FPE_FLTINV): Likewise.
11998         (FPE_FLTSUB): Likewise.
11999         (SEGV_MAPERR): Likewise.
12000         (SEGV_ACCERR): Likewise.
12001         (BUS_ADRALN): Likewise.
12002         (BUS_ADRERR): Likewise.
12003         (BUS_OBJERR): Likewise.
12004         (BUS_MCEERR_AR): Likewise.
12005         (BUS_MCEERR_AO): Likewise.
12006         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12007         (TRAP_TRACE): Likewise.
12008         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12009         __USE_XOPEN2K8].
12010         (CLD_KILLED): Likewise.
12011         (CLD_DUMPED): Likewise.
12012         (CLD_TRAPPED): Likewise.
12013         (CLD_STOPPED): Likewise.
12014         (CLD_CONTINUED): Likewise.
12015         (POLL_IN): Likewise.
12016         (POLL_OUT): Likewise.
12017         (POLL_MSG): Likewise.
12018         (POLL_ERR): Likewise.
12019         (POLL_PRI): Likewise.
12020         (POLL_HUP): Likewise.
12021         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
12022         (ILL_ILLOPN): Likewise.
12023         (ILL_ILLADR): Likewise.
12024         (ILL_ILLTRP): Likewise.
12025         (ILL_PRVOPC): Likewise.
12026         (ILL_PRVREG): Likewise.
12027         (ILL_COPROC): Likewise.
12028         (ILL_BADSTK): Likewise.
12029         (FPE_INTDIV): Likewise.
12030         (FPE_INTOVF): Likewise.
12031         (FPE_FLTDIV): Likewise.
12032         (FPE_FLTOVF): Likewise.
12033         (FPE_FLTUND): Likewise.
12034         (FPE_FLTRES): Likewise.
12035         (FPE_FLTINV): Likewise.
12036         (FPE_FLTSUB): Likewise.
12037         (SEGV_MAPERR): Likewise.
12038         (SEGV_ACCERR): Likewise.
12039         (BUS_ADRALN): Likewise.
12040         (BUS_ADRERR): Likewise.
12041         (BUS_OBJERR): Likewise.
12042         (BUS_MCEERR_AR): Likewise.
12043         (BUS_MCEERR_AO): Likewise.
12044         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12045         (TRAP_TRACE): Likewise.
12046         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12047         __USE_XOPEN2K8].
12048         (CLD_KILLED): Likewise.
12049         (CLD_DUMPED): Likewise.
12050         (CLD_TRAPPED): Likewise.
12051         (CLD_STOPPED): Likewise.
12052         (CLD_CONTINUED): Likewise.
12053         (POLL_IN): Likewise.
12054         (POLL_OUT): Likewise.
12055         (POLL_MSG): Likewise.
12056         (POLL_ERR): Likewise.
12057         (POLL_PRI): Likewise.
12058         (POLL_HUP): Likewise.
12059         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
12060         (ILL_ILLOPN): Likewise.
12061         (ILL_ILLADR): Likewise.
12062         (ILL_ILLTRP): Likewise.
12063         (ILL_PRVOPC): Likewise.
12064         (ILL_PRVREG): Likewise.
12065         (ILL_COPROC): Likewise.
12066         (ILL_BADSTK): Likewise.
12067         (FPE_INTDIV): Likewise.
12068         (FPE_INTOVF): Likewise.
12069         (FPE_FLTDIV): Likewise.
12070         (FPE_FLTOVF): Likewise.
12071         (FPE_FLTUND): Likewise.
12072         (FPE_FLTRES): Likewise.
12073         (FPE_FLTINV): Likewise.
12074         (FPE_FLTSUB): Likewise.
12075         (SEGV_MAPERR): Likewise.
12076         (SEGV_ACCERR): Likewise.
12077         (BUS_ADRALN): Likewise.
12078         (BUS_ADRERR): Likewise.
12079         (BUS_OBJERR): Likewise.
12080         (BUS_MCEERR_AR): Likewise.
12081         (BUS_MCEERR_AO): Likewise.
12082         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12083         (TRAP_TRACE): Likewise.
12084         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12085         __USE_XOPEN2K8].
12086         (CLD_KILLED): Likewise.
12087         (CLD_DUMPED): Likewise.
12088         (CLD_TRAPPED): Likewise.
12089         (CLD_STOPPED): Likewise.
12090         (CLD_CONTINUED): Likewise.
12091         (POLL_IN): Likewise.
12092         (POLL_OUT): Likewise.
12093         (POLL_MSG): Likewise.
12094         (POLL_ERR): Likewise.
12095         (POLL_PRI): Likewise.
12096         (POLL_HUP): Likewise.
12097         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
12098         (ILL_ILLOPN): Likewise.
12099         (ILL_ILLADR): Likewise.
12100         (ILL_ILLTRP): Likewise.
12101         (ILL_PRVOPC): Likewise.
12102         (ILL_PRVREG): Likewise.
12103         (ILL_COPROC): Likewise.
12104         (ILL_BADSTK): Likewise.
12105         (ILL_DBLFLT): Likewise.
12106         (ILL_HARDWALL): Likewise.
12107         (FPE_INTDIV): Likewise.
12108         (FPE_INTOVF): Likewise.
12109         (FPE_FLTDIV): Likewise.
12110         (FPE_FLTOVF): Likewise.
12111         (FPE_FLTUND): Likewise.
12112         (FPE_FLTRES): Likewise.
12113         (FPE_FLTINV): Likewise.
12114         (FPE_FLTSUB): Likewise.
12115         (SEGV_MAPERR): Likewise.
12116         (SEGV_ACCERR): Likewise.
12117         (BUS_ADRALN): Likewise.
12118         (BUS_ADRERR): Likewise.
12119         (BUS_OBJERR): Likewise.
12120         (BUS_MCEERR_AR): Likewise.
12121         (BUS_MCEERR_AO): Likewise.
12122         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12123         (TRAP_TRACE): Likewise.
12124         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12125         __USE_XOPEN2K8].
12126         (CLD_KILLED): Likewise.
12127         (CLD_DUMPED): Likewise.
12128         (CLD_TRAPPED): Likewise.
12129         (CLD_STOPPED): Likewise.
12130         (CLD_CONTINUED): Likewise.
12131         (POLL_IN): Likewise.
12132         (POLL_OUT): Likewise.
12133         (POLL_MSG): Likewise.
12134         (POLL_ERR): Likewise.
12135         (POLL_PRI): Likewise.
12136         (POLL_HUP): Likewise.
12137         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
12138         (ILL_ILLOPN): Likewise.
12139         (ILL_ILLADR): Likewise.
12140         (ILL_ILLTRP): Likewise.
12141         (ILL_PRVOPC): Likewise.
12142         (ILL_PRVREG): Likewise.
12143         (ILL_COPROC): Likewise.
12144         (ILL_BADSTK): Likewise.
12145         (FPE_INTDIV): Likewise.
12146         (FPE_INTOVF): Likewise.
12147         (FPE_FLTDIV): Likewise.
12148         (FPE_FLTOVF): Likewise.
12149         (FPE_FLTUND): Likewise.
12150         (FPE_FLTRES): Likewise.
12151         (FPE_FLTINV): Likewise.
12152         (FPE_FLTSUB): Likewise.
12153         (SEGV_MAPERR): Likewise.
12154         (SEGV_ACCERR): Likewise.
12155         (BUS_ADRALN): Likewise.
12156         (BUS_ADRERR): Likewise.
12157         (BUS_OBJERR): Likewise.
12158         (BUS_MCEERR_AR): Likewise.
12159         (BUS_MCEERR_AO): Likewise.
12160         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12161         (TRAP_TRACE): Likewise.
12162         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12163         __USE_XOPEN2K8].
12164         (CLD_KILLED): Likewise.
12165         (CLD_DUMPED): Likewise.
12166         (CLD_TRAPPED): Likewise.
12167         (CLD_STOPPED): Likewise.
12168         (CLD_CONTINUED): Likewise.
12169         (POLL_IN): Likewise.
12170         (POLL_OUT): Likewise.
12171         (POLL_MSG): Likewise.
12172         (POLL_ERR): Likewise.
12173         (POLL_PRI): Likewise.
12174         (POLL_HUP): Likewise.
12175         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
12176         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
12178         [BZ #16670]
12179         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
12180         before #include of <time.h>.
12181         [!__USE_XOPEN2K] (__need_timespec): Likewise.
12182         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
12183         (test-xfail-UNIX98/sched.h/conform): Likewise.
12185 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
12187         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
12188         error absence of trapping exception support.
12189         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12191 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
12193         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
12194         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
12195         * timezone/Makefile (testdata): Move definition above include of
12196         Rules.
12197         (test-zones): New variable.
12198         (tests-special): Add zone files.
12199         (build-testdata): Use $(evaluate-test).
12201         * elf/Makefile (tests-special): Rename tests to end with .out.
12202         ($(objpfx)noload-mem): Likewise.
12203         ($(objpfx)tst-leaks1-mem): Likewise.
12204         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
12205         * iconv/Makefile (xtests-special): Change test-iconvconfig to
12206         $(objpfx)test-iconvconfig.out.
12207         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
12208         set -e inside subshell and redirect output to file.
12209         * iconvdata/Makefile (generated): Rename tests to end with .out.
12210         Correct type.
12211         (tests-special): Rename tests to end with .out.
12212         ($(objpfx)mtrace-tst-loading): Likewise.
12213         * intl/Makefile (generated): Likewise.
12214         (tests-special): Likewise.
12215         ($(objpfx)mtrace-tst-gettext): Likewise.
12216         * misc/Makefile (generated): Likewise.
12217         (tests-special): Likewise.
12218         ($(objpfx)tst-error1-mem): Likewise.
12219         * nptl/Makefile (tests-special): Likewise.
12220         ($(objpfx)tst-stack3-mem): Likewise.
12221         (generated): Likewise.
12222         * posix/Makefile (generated): Likewise.
12223         (tests-special): Likewise.
12224         (xtests-special): Likewise.
12225         ($(objpfx)tst-fnmatch-mem): Likewise.
12226         ($(objpfx)bug-regex2-mem): Likewise.
12227         ($(objpfx)bug-regex14-mem): Likewise.
12228         ($(objpfx)bug-regex21-mem): Likewise.
12229         ($(objpfx)bug-regex31-mem): Likewise.
12230         ($(objpfx)tst-vfork3-mem): Likewise.
12231         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12232         ($(objpfx)tst-pcre-mem): Likewise.
12233         ($(objpfx)tst-boost-mem): Likewise.
12234         ($(objpfx)bug-ga2-mem): Likewise.
12235         ($(objpfx)bug-glob2-mem): Likewise.
12236         * resolv/Makefile (generate): Likewise.
12237         (tests-special): Likewise.
12238         (xtests-special): Likewise.
12239         (generated): Likewise.
12240         ($(objpfx)mtrace-tst-leaks): Likewise.
12241         ($(objpfx)mtrace-tst-leaks2): Likewise.
12243         * scripts/merge-test-results.sh: New file.
12244         * Makefile (tests-special-notdir): New variable.
12245         (tests): Run merge-test-results.sh.
12246         (xtests): Likewise.
12247         * Rules (tests-special-notdir): New variable.
12248         (xtests-special-notdir): Likewise.
12249         (tests): Run merge-test-results.sh
12250         (xtests): Likewise.
12252         * Makeconfig (test-xfail-name): New variable.
12253         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
12254         compute variable name for expected failures.
12255         * conform/Makefile (conformtest-headers-data): New variable.
12256         (conformtest-standards): Likewise.
12257         (conformtest-headers-ISO): Likewise.
12258         (conformtest-headers-ISO99): Likewise.
12259         (conformtest-headers-ISO11): Likewise.
12260         (conformtest-headers-POSIX): Likewise.
12261         (conformtest-headers-XPG3): Likewise.
12262         (conformtest-headers-XPG4): Likewise.
12263         (conformtest-headers-UNIX98): Likewise.
12264         (conformtest-headers-XOPEN2K): Likewise.
12265         (conformtest-headers-POSIX2008): Likewise.
12266         (conformtest-headers-XOPEN2K8): Likewise.
12267         (conformtest-header-list-base): Likewise.
12268         (conformtest-header-list-tests): Likewise.
12269         (conformtest-header-base): Likewise.
12270         (conformtest-header-tests): Likewise.
12271         (tests-special): Add $(conformtest-header-list-tests).  If
12272         [$(fast-check) && !$(cross-compiling)], add
12273         $(conformtest-header-tests) instead of
12274         $(objpfx)run-conformtest.out.
12275         (generated): Add $(conformtest-header-list-base).  If
12276         [$(fast-check) && !$(cross-compiling)], add
12277         $(conformtest-header-base).  Remove previous setting.
12278         ($(conformtest-header-list-tests)): New target.
12279         (test-xfail-run-conformtest): Remove variable.
12280         ($(objpfx)run-conformtest.out): Remove target.
12281         (test-xfail-ISO11/complex.h/conform): New variable.
12282         (test-xfail-ISO11/stdalign.h/conform): Likewise.
12283         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
12284         (test-xfail-XPG3/varargs.h/conform): Likewise.
12285         (test-xfail-XPG4/varargs.h/conform): Likewise.
12286         (test-xfail-UNIX98/varargs.h/conform): Likewise.
12287         (test-xfail-XPG4/ndbm.h/conform): Likewise.
12288         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
12289         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
12290         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
12291         (test-xfail-XPG3/fcntl.h/conform): Likewise.
12292         (test-xfail-XPG3/ftw.h/conform): Likewise.
12293         (test-xfail-XPG3/grp.h/conform): Likewise.
12294         (test-xfail-XPG3/langinfo.h/conform): Likewise.
12295         (test-xfail-XPG3/limits.h/conform): Likewise.
12296         (test-xfail-XPG3/pwd.h/conform): Likewise.
12297         (test-xfail-XPG3/search.h/conform): Likewise.
12298         (test-xfail-XPG3/signal.h/conform): Likewise.
12299         (test-xfail-XPG3/stdio.h/conform): Likewise.
12300         (test-xfail-XPG3/stdlib.h/conform): Likewise.
12301         (test-xfail-XPG3/string.h/conform): Likewise.
12302         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
12303         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
12304         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
12305         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
12306         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
12307         (test-xfail-XPG3/sys/types.h/conform): Likewise.
12308         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
12309         (test-xfail-XPG3/termios.h/conform): Likewise.
12310         (test-xfail-XPG3/time.h/conform): Likewise.
12311         (test-xfail-XPG3/unistd.h/conform): Likewise.
12312         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
12313         (test-xfail-XPG4/fcntl.h/conform): Likewise.
12314         (test-xfail-XPG4/langinfo.h/conform): Likewise.
12315         (test-xfail-XPG4/netdb.h/conform): Likewise.
12316         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
12317         (test-xfail-XPG4/signal.h/conform): Likewise.
12318         (test-xfail-XPG4/stdio.h/conform): Likewise.
12319         (test-xfail-XPG4/stdlib.h/conform): Likewise.
12320         (test-xfail-XPG4/stropts.h/conform): Likewise.
12321         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
12322         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
12323         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
12324         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
12325         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
12326         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
12327         (test-xfail-XPG4/sys/time.h/conform): Likewise.
12328         (test-xfail-XPG4/sys/types.h/conform): Likewise.
12329         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
12330         (test-xfail-XPG4/termios.h/conform): Likewise.
12331         (test-xfail-XPG4/ucontext.h/conform): Likewise.
12332         (test-xfail-XPG4/unistd.h/conform): Likewise.
12333         (test-xfail-XPG4/utmpx.h/conform): Likewise.
12334         (test-xfail-POSIX/sched.h/conform): Likewise.
12335         (test-xfail-POSIX/signal.h/conform): Likewise.
12336         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
12337         (test-xfail-POSIX/tar.h/conform): Likewise.
12338         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
12339         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
12340         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
12341         (test-xfail-UNIX98/netdb.h/conform): Likewise.
12342         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
12343         (test-xfail-UNIX98/sched.h/conform): Likewise.
12344         (test-xfail-UNIX98/signal.h/conform): Likewise.
12345         (test-xfail-UNIX98/stdio.h/conform): Likewise.
12346         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
12347         (test-xfail-UNIX98/stropts.h/conform): Likewise.
12348         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
12349         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
12350         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
12351         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
12352         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
12353         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
12354         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
12355         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
12356         (test-xfail-UNIX98/unistd.h/conform): Likewise.
12357         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
12358         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
12359         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
12360         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
12361         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
12362         (test-xfail-XOPEN2K/math.h/conform): Likewise.
12363         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
12364         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
12365         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
12366         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
12367         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
12368         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
12369         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
12370         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
12371         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
12372         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
12373         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
12374         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
12375         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
12376         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
12377         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
12378         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
12379         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
12380         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
12381         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
12382         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
12383         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
12384         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
12385         (test-xfail-POSIX2008/signal.h/conform): Likewise.
12386         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
12387         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
12388         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
12389         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
12390         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
12391         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
12392         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
12393         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
12394         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
12395         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
12396         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
12397         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
12398         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
12399         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
12400         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
12401         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
12402         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
12403         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
12404         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
12405         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
12406         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
12407         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
12408         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
12409         (conformtest-cc-flags): Likewise.
12410         ($(conformtest-header-tests): New target.
12411         * conform/check-header-lists.sh: New file.
12412         * conform/run-conformtest.sh: Remove.
12414         * conform/conformtest.pl: Allow ' and \ in values given for
12415         constants.
12416         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
12417         inclusion.
12418         [POSIX] (sys/types.h): Likewise.
12419         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
12420         inclusion.
12421         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
12422         inclusion.
12423         * conform/data/signal.h-data (SIGIO): Remove expectation.
12424         [XPG3] (SIGBUS): Do not expect.
12425         [POSIX || XPG3] (SIGPOLL): Likewise.
12426         [POSIX || XPG3] (SIGPROF): Likewise.
12427         [POSIX || XPG3] (SIGSYS): Likewise.
12428         [XPG3] (SIGTRAP): Likewise.
12429         [POSIX || XPG3] (SIGURG): Likewise.
12430         [POSIX || XPG3] (SIGVTALRM): Likewise.
12431         [POSIX || XPG3] (SIGXCPU): Likewise.
12432         [POSIX || XPG3] (SIGXFSZ): Likewise.
12433         [POSIX] (SA_SIGINFO): Expect.
12434         [XPG3] (siginfo_t): Do not expect type or contents.
12435         [POSIX] (si_pid): Do not expect element.
12436         [POSIX] (si_uid): Likewise.
12437         [POSIX] (si_addr): Likewise.
12438         [POSIX] (si_status): Likewise.
12439         [POSIX] (si_band): Likewise.
12440         [XPG4] (si_value): Likewise.
12441         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
12442         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
12443         [POSIX || XPG3] (ILL_ILLADR): Likewise.
12444         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
12445         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
12446         [POSIX || XPG3] (ILL_PRVREG): Likewise.
12447         [POSIX || XPG3] (ILL_COPROC): Likewise.
12448         [POSIX || XPG3] (ILL_BADSTK): Likewise.
12449         [POSIX || XPG3] (FPE_INTDIV): Likewise.
12450         [POSIX || XPG3] (FPE_INTOVF): Likewise.
12451         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
12452         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
12453         [POSIX || XPG3] (FPE_FLTUND): Likewise.
12454         [POSIX || XPG3] (FPE_FLTRES): Likewise.
12455         [POSIX || XPG3] (FPE_FLTINV): Likewise.
12456         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
12457         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
12458         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
12459         [POSIX || XPG3] (BUS_ADRALN): Likewise.
12460         [POSIX || XPG3] (BUS_ADRERR): Likewise.
12461         [POSIX || XPG3] (BUS_OBJERR): Likewise.
12462         [POSIX || XPG3] (CLD_EXITED): Likewise.
12463         [POSIX || XPG3] (CLD_KILLED): Likewise.
12464         [POSIX || XPG3] (CLD_DUMPED): Likewise.
12465         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
12466         [POSIX || XPG3] (CLD_STOPPED): Likewise.
12467         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
12468         [POSIX || XPG3] (POLL_IN): Likewise.
12469         [POSIX || XPG3] (POLL_OUT): Likewise.
12470         [POSIX || XPG3] (POLL_MSG): Likewise.
12471         [POSIX || XPG3] (POLL_ERR): Likewise.
12472         [POSIX || XPG3] (POLL_PRI): Likewise.
12473         [POSIX || XPG3] (POLL_HUP): Likewise.
12474         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
12475         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
12476         (SIG*): Do not allow.
12477         [XPG3] (si_*): Likewise.
12478         [XPG3] (SI_*): Likewise.
12479         [XPG3 || XPG4] (sigev_*): Likewise.
12480         [XPG3 || XPG4] (SIGEV_*): Likewise.
12481         [XPG3 || XPG4] (sival_*): Likewise.
12482         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
12483         [POSIX || XPG3] (BUS_*): Likewise.
12484         [POSIX || XPG3] (CLD_*): Likewise.
12485         [POSIX || XPG3] (FPE_*): Likewise.
12486         [POSIX || XPG3] (ILL_*): Likewise.
12487         [POSIX || XPG3] (POLL_*): Likewise.
12488         [POSIX || XPG3] (SEGV_*): Likewise.
12489         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
12490         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
12491         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
12492         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
12493         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
12494         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
12495         Specify type and value.
12496         (TVERSLEN): Likewise.
12497         (REGTYPE): Likewise.
12498         (AREGTYPE): Likewise.
12499         (LNKTYPE): Likewise.
12500         (SYMTYPE): Likewise.
12501         (CHRTYPE): Likewise.
12502         (BLKTYPE): Likewise.
12503         (DIRTYPE): Likewise.
12504         (FIFOTYPE): Likewise.
12505         (CONTTYPE): Likewise.
12506         (TSUID): Likewise.
12507         (TSGID): Likewise.
12508         (TSVTX): Likewise.
12509         (TUREAD): Likewise.
12510         (TUWRITE): Likewise.
12511         (TUEXEC): Likewise.
12512         (TGREAD): Likewise.
12513         (TGWRITE): Likewise.
12514         (TGEXEC): Likewise.
12515         (TOREAD): Likewise.
12516         (TOWRITE): Likewise.
12517         (TOEXEC): Likewise.
12518         [POSIX] (TSVTX): Expect constant.
12520 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
12522         * Makefile (tests): Change dependencies to ....
12523         (tests-special): ... additions to this variable.
12524         (tests): Depend on $(tests-special).
12525         * Makerules (check-abi-list): New variable.
12526         (check-abi): Depend on $(check-abi-list).
12527         [$(subdir) = elf] (tests-special): Add
12528         $(objpfx)check-abi-libc.out.
12529         [$(build-shared) = yes && subdir] (tests-special): Add
12530         $(check-abi-list).
12531         [$(build-shared) = yes && subdir] (tests): Do not depend on
12532         check-abi.
12533         * Rules (tests): Depend on $(tests-special).
12534         (xtests): Depend on $(xtests-special).
12535         * catgets/Makefile (tests): Change dependencies to ....
12536         (tests-special): ... additions to this variable.
12537         * conform/Makefile (tests): Change dependencies to ....
12538         (tests-special): ... additions to this variable.
12539         * elf/Makefile (tests): Change dependencies to ....
12540         (tests-special): ... additions to this variable.
12541         * grp/Makefile (tests): Change dependencies to ....
12542         (tests-special): ... additions to this variable.
12543         * iconv/Makefile (xtests): Change dependencies to ....
12544         (xtests-special): ... additions to this variable.
12545         * iconvdata/Makefile (tests): Change dependencies to ....
12546         (tests-special): ... additions to this variable.
12547         * intl/Makefile (tests): Change dependencies to ....
12548         (tests-special): ... additions to this variable.  Also add
12549         $(objpfx)tst-gettext.out.
12550         * io/Makefile (tests): Change dependencies to ....
12551         (tests-special): ... additions to this variable.
12552         * libio/Makefile (tests): Change dependencies to ....
12553         (tests-special): ... additions to this variable.
12554         * malloc/Makefile (tests): Change dependencies to ....
12555         (tests-special): ... additions to this variable.
12556         * misc/Makefile (tests): Change dependencies to ....
12557         (tests-special): ... additions to this variable.
12558         * nptl/Makefile (tests): Change dependencies to ....
12559         (tests-special): ... additions to this variable.
12560         * nptl_db/Makefile (tests): Change dependencies to ....
12561         (tests-special): ... additions to this variable.
12562         * posix/Makefile (tests): Change dependencies to ....
12563         (tests-special): ... additions to this variable.
12564         (xtests): Change dependencies to ....
12565         (xtests-special): ... additions to this variable.
12566         * resolv/Makefile (tests): Change dependencies to ....
12567         (tests-special): ... additions to this variable.
12568         (xtests): Change dependencies to ....
12569         (xtests-special): ... additions to this variable.
12570         * stdio-common/Makefile (tests): Change dependencies to ....
12571         (tests-special): ... additions to this variable.
12572         (do-tst-unbputc): Remove target.
12573         (do-tst-printf): Likewise.
12574         * stdlib/Makefile (tests): Change dependencies to ....
12575         (tests-special): ... additions to this variable.
12576         * string/Makefile (tests): Change dependencies to ....
12577         (tests-special): ... additions to this variable.
12578         * sysdeps/x86/Makefile (tests): Change dependencies to ....
12579         (tests-special): ... additions to this variable.
12581         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
12582         whole file.
12583         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
12584         whole file.
12585         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
12586         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
12588         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
12589         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
12590         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
12591         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
12592         * conform/data/libgen.h-data [XPG3]: Likewise.
12593         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
12594         * conform/data/ndbm.h-data [XPG3]: Likewise.
12595         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
12596         * conform/data/netdb.h-data [XPG3]: Likewise.
12597         * conform/data/netinet/in.h-data [XPG3]: Likewise.
12598         * conform/data/poll.h-data [XPG3]: Likewise.
12599         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
12600         * conform/data/strings.h-data [XPG3]: Likewise.
12601         * conform/data/stropts.h-data [XPG3]: Likewise.
12602         * conform/data/sys/mman.h-data [XPG3]: Likewise.
12603         * conform/data/sys/resource.h-data [XPG3]: Likewise.
12604         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
12605         Likewise.
12606         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
12607         * conform/data/sys/time.h-data [XPG3]: Likewise.
12608         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
12609         * conform/data/sys/uio.h-data [XPG3]: Likewise.
12610         * conform/data/sys/un.h-data [XPG3]: Likewise.
12611         * conform/data/syslog.h-data [XPG3]: Likewise.
12612         * conform/data/ucontext.h-data [XPG3]: Likewise.
12613         * conform/data/utmpx.h-data [XPG3]: Likewise.
12614         * conform/data/varargs.h-data [UNIX98]: Enable file.
12616         * manual/Makefile (INSTALL_INFO): Remove variable setting.
12618         * math/libm-test.inc (struct test_f_f_data): Move expected results
12619         into structure for each rounding mode.
12620         (struct test_ff_f_data): Likewise.
12621         (struct test_ff_f_data_nexttoward): Likewise.
12622         (struct test_fi_f_data): Likewise.
12623         (struct test_fl_f_data): Likewise.
12624         (struct test_if_f_data): Likewise.
12625         (struct test_fff_f_data): Likewise.
12626         (struct test_c_f_data): Likewise.
12627         (struct test_f_f1_data): Likewise.
12628         (struct test_fF_f1_data): Likewise.
12629         (struct test_ffI_f1_data): Likewise.
12630         (struct test_c_c_data): Likewise.
12631         (struct test_cc_c_data): Likewise.
12632         (struct test_f_i_data): Likewise.
12633         (struct test_ff_i_data): Likewise.
12634         (struct test_f_l_data): Likewise.
12635         (struct test_f_L_data): Likewise.
12636         (struct test_fFF_11_data): Likewise.
12637         (RM_): New macro.
12638         (RM_FE_DOWNWARD): Likewise.
12639         (RM_FE_TONEAREST): Likewise.
12640         (RM_FE_TOWARDZERO): Likewise.
12641         (RM_FE_UPWARD): Likewise.
12642         (RUN_TEST_LOOP_f_f): Update references to expected results.
12643         (RUN_TEST_LOOP_2_f): Likewise.
12644         (RUN_TEST_LOOP_fff_f): Likewise.
12645         (RUN_TEST_LOOP_c_f): Likewise.
12646         (RUN_TEST_LOOP_f_f1): Likewise.
12647         (RUN_TEST_LOOP_fF_f1): Likewise.
12648         (RUN_TEST_LOOP_fI_f1): Likewise.
12649         (RUN_TEST_LOOP_ffI_f1): Likewise.
12650         (RUN_TEST_LOOP_c_c): Likewise.
12651         (RUN_TEST_LOOP_cc_c): Likewise.
12652         (RUN_TEST_LOOP_f_i): Likewise.
12653         (RUN_TEST_LOOP_f_i_tg): Likewise.
12654         (RUN_TEST_LOOP_ff_i_tg): Likewise.
12655         (RUN_TEST_LOOP_f_b): Likewise.
12656         (RUN_TEST_LOOP_f_b_tg): Likewise.
12657         (RUN_TEST_LOOP_f_l): Likewise.
12658         (RUN_TEST_LOOP_f_L): Likewise.
12659         (RUN_TEST_LOOP_fFF_11): Likewise.
12660         * math/gen-libm-test.pl (parse_args): Output four copies of
12661         expected results for each test.
12663         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12664         (__ASSUME_UTIMES): Remove.
12665         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12666         (__ASSUME_UTIMES): Likewise.
12668         * math/gen-auto-libm-tests.c: Update comment on output format.
12669         (output_for_one_input_case): Generate before-rounding and
12670         after-rounding information as conditions on output flags not
12671         floating-point format.
12672         * math/auto-libm-test-out: Regenerated.
12673         * math/gen-libm-test.pl (cond_value): New function.
12674         (or_cond_value): Use cond_value.
12675         (generate_testfile): Handle conditional exceptions.
12677 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
12679         * math/libm-test.inc (max_valid_error): New variable.
12680         (init_max_error): Take new argument specifying whether function
12681         results are exactly determined.  Set max_valid_error and bound
12682         other variables for errors based on this argument.
12683         (set_max_error): Do not record results above max_valid_error.
12684         (check_float_internal): Only accept errors of up to 0.5ulps if
12685         also at most max_valid_error.
12686         (START): Take new argument EXACT and pass it to init_max_error.
12687         (acos_test): Update call to START.
12688         (acos_test_tonearest): Likewise.
12689         (acos_test_towardzero): Likewise.
12690         (acos_test_downward): Likewise.
12691         (acos_test_upward): Likewise.
12692         (acosh_test): Likewise.
12693         (asin_test): Likewise.
12694         (asin_test_tonearest): Likewise.
12695         (asin_test_towardzero): Likewise.
12696         (asin_test_downward): Likewise.
12697         (asin_test_upward): Likewise.
12698         (asinh_test): Likewise.
12699         (atan_test): Likewise.
12700         (atanh_test): Likewise.
12701         (atan2_test): Likewise.
12702         (cabs_test): Likewise.
12703         (cacos_test): Likewise.
12704         (cacosh_test): Likewise.
12705         (carg_test): Likewise.
12706         (casin_test): Likewise.
12707         (casinh_test): Likewise.
12708         (catan_test): Likewise.
12709         (catanh_test): Likewise.
12710         (cbrt_test): Likewise.
12711         (ccos_test): Likewise.
12712         (ccosh_test): Likewise.
12713         (ceil_test): Likewise.
12714         (cexp_test): Likewise.
12715         (cimag_test): Likewise.
12716         (clog_test): Likewise.
12717         (clog10_test): Likewise.
12718         (conj_test): Likewise.
12719         (copysign_test): Likewise.
12720         (cos_test): Likewise.
12721         (cos_test_tonearest): Likewise.
12722         (cos_test_towardzero): Likewise.
12723         (cos_test_downward): Likewise.
12724         (cos_test_upward): Likewise.
12725         (cosh_test): Likewise.
12726         (cosh_test_tonearest): Likewise.
12727         (cosh_test_towardzero): Likewise.
12728         (cosh_test_downward): Likewise.
12729         (cosh_test_upward): Likewise.
12730         (cpow_test): Likewise.
12731         (cproj_test): Likewise.
12732         (creal_test): Likewise.
12733         (csin_test): Likewise.
12734         (csinh_test): Likewise.
12735         (csqrt_test): Likewise.
12736         (ctan_test): Likewise.
12737         (ctan_test_tonearest): Likewise.
12738         (ctan_test_towardzero): Likewise.
12739         (ctan_test_downward): Likewise.
12740         (ctan_test_upward): Likewise.
12741         (ctanh_test): Likewise.
12742         (ctanh_test_tonearest): Likewise.
12743         (ctanh_test_towardzero): Likewise.
12744         (ctanh_test_downward): Likewise.
12745         (ctanh_test_upward): Likewise.
12746         (erf_test): Likewise.
12747         (erfc_test): Likewise.
12748         (exp_test): Likewise.
12749         (exp_test_tonearest): Likewise.
12750         (exp_test_towardzero): Likewise.
12751         (exp_test_downward): Likewise.
12752         (exp_test_upward): Likewise.
12753         (exp10_test): Likewise.
12754         (exp10_test_tonearest): Likewise.
12755         (exp10_test_towardzero): Likewise.
12756         (exp10_test_downward): Likewise.
12757         (exp10_test_upward): Likewise.
12758         (pow10_test): Likewise.
12759         (exp2_test): Likewise.
12760         (expm1_test): Likewise.
12761         (expm1_test_tonearest): Likewise.
12762         (expm1_test_towardzero): Likewise.
12763         (expm1_test_downward): Likewise.
12764         (expm1_test_upward): Likewise.
12765         (fabs_test): Likewise.
12766         (fdim_test): Likewise.
12767         (floor_test): Likewise.
12768         (fma_test): Likewise.
12769         (fma_test_towardzero): Likewise.
12770         (fma_test_downward): Likewise.
12771         (fma_test_upward): Likewise.
12772         (fmax_test): Likewise.
12773         (fmin_test): Likewise.
12774         (fmod_test): Likewise.
12775         (fpclassify_test): Likewise.
12776         (frexp_test): Likewise.
12777         (hypot_test): Likewise.
12778         (ilogb_test): Likewise.
12779         (isfinite_test): Likewise.
12780         (finite_test): Likewise.
12781         (isgreater_test): Likewise.
12782         (isgreaterequal_test): Likewise.
12783         (isinf_test): Likewise.
12784         (isless_test): Likewise.
12785         (islessequal_test): Likewise.
12786         (islessgreater_test): Likewise.
12787         (isnan_test): Likewise.
12788         (isnormal_test): Likewise.
12789         (issignaling_test): Likewise.
12790         (isunordered_test): Likewise.
12791         (j0_test): Likewise.
12792         (j1_test): Likewise.
12793         (jn_test): Likewise.
12794         (ldexp_test): Likewise.
12795         (lgamma_test): Likewise.
12796         (gamma_test): Likewise.
12797         (lrint_test): Likewise.
12798         (lrint_test_tonearest): Likewise.
12799         (lrint_test_towardzero): Likewise.
12800         (lrint_test_downward): Likewise.
12801         (lrint_test_upward): Likewise.
12802         (llrint_test): Likewise.
12803         (llrint_test_tonearest): Likewise.
12804         (llrint_test_towardzero): Likewise.
12805         (llrint_test_downward): Likewise.
12806         (llrint_test_upward): Likewise.
12807         (log_test): Likewise.
12808         (log10_test): Likewise.
12809         (log1p_test): Likewise.
12810         (log2_test): Likewise.
12811         (logb_test): Likewise.
12812         (logb_test_downward): Likewise.
12813         (lround_test): Likewise.
12814         (llround_test): Likewise.
12815         (modf_test): Likewise.
12816         (nearbyint_test): Likewise.
12817         (nextafter_test): Likewise.
12818         (nexttoward_test): Likewise.
12819         (pow_test): Likewise.
12820         (pow_test_tonearest): Likewise.
12821         (pow_test_towardzero): Likewise.
12822         (pow_test_downward): Likewise.
12823         (pow_test_upward): Likewise.
12824         (remainder_test): Likewise.
12825         (drem_test): Likewise.
12826         (remainder_test_tonearest): Likewise.
12827         (drem_test_tonearest): Likewise.
12828         (remainder_test_towardzero): Likewise.
12829         (drem_test_towardzero): Likewise.
12830         (remainder_test_downward): Likewise.
12831         (drem_test_downward): Likewise.
12832         (remainder_test_upward): Likewise.
12833         (drem_test_upward): Likewise.
12834         (remquo_test): Likewise.
12835         (rint_test): Likewise.
12836         (rint_test_tonearest): Likewise.
12837         (rint_test_towardzero): Likewise.
12838         (rint_test_downward): Likewise.
12839         (rint_test_upward): Likewise.
12840         (round_test): Likewise.
12841         (scalb_test): Likewise.
12842         (scalbn_test): Likewise.
12843         (scalbln_test): Likewise.
12844         (signbit_test): Likewise.
12845         (sin_test): Likewise.
12846         (sin_test_tonearest): Likewise.
12847         (sin_test_towardzero): Likewise.
12848         (sin_test_downward): Likewise.
12849         (sin_test_upward): Likewise.
12850         (sincos_test): Likewise.
12851         (sinh_test): Likewise.
12852         (sinh_test_tonearest): Likewise.
12853         (sinh_test_towardzero): Likewise.
12854         (sinh_test_downward): Likewise.
12855         (sinh_test_upward): Likewise.
12856         (sqrt_test): Likewise.
12857         (sqrt_test_tonearest): Likewise.
12858         (sqrt_test_towardzero): Likewise.
12859         (sqrt_test_downward): Likewise.
12860         (sqrt_test_upward): Likewise.
12861         (tan_test): Likewise.
12862         (tan_test_tonearest): Likewise.
12863         (tan_test_towardzero): Likewise.
12864         (tan_test_downward): Likewise.
12865         (tan_test_upward): Likewise.
12866         (tanh_test): Likewise.
12867         (tgamma_test): Likewise.
12868         (trunc_test): Likewise.
12869         (y0_test): Likewise.
12870         (y1_test): Likewise.
12871         (yn_test): Likewise.
12872         (significand_test): Likewise.
12874         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
12875         individual tests in comment.
12876         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
12877         (prev_max_error): New variable.
12878         (prev_real_max_error): Likewise.
12879         (prev_imag_max_error): Likewise.
12880         (compare_ulp_data): Don't refer to test names in comment.
12881         (find_test_ulps): Remove function.
12882         (find_function_ulps): Likewise.
12883         (find_complex_function_ulps): Likewise.
12884         (init_max_error): Take function name as argument.  Look up ulps
12885         for that function.
12886         (print_ulps): Remove function.
12887         (print_max_error): Use prev_max_error instead of calling
12888         find_function_ulps.
12889         (print_complex_max_error): Use prev_real_max_error and
12890         prev_imag_max_error instead of calling find_complex_function_ulps.
12891         (check_float_internal): Take max_ulp parameter instead of calling
12892         find_test_ulps.  Don't call print_ulps.
12893         (check_float): Update call to check_float_internal.
12894         (check_complex): Update calls to check_float_internal.
12895         (START): Pass argument to init_max_error.
12896         * math/gen-libm-test.pl (%results): Don't include "kind"
12897         information.
12898         (parse_ulps): Don't handle ulps of individual tests.
12899         (print_ulps_file): Likewise.
12900         (output_ulps): Likewise.
12901         * math/README.libm-test: Update.
12902         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
12903         individual tests.
12904         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
12905         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
12906         * sysdeps/arm/libm-test-ulps: Likewise.
12907         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
12908         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
12909         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
12910         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
12911         * sysdeps/microblaze/libm-test-ulps: Likewise.
12912         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
12913         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12914         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12915         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
12916         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12917         * sysdeps/sh/libm-test-ulps: Likewise.
12918         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12919         * sysdeps/tile/libm-test-ulps: Likewise.
12920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12922 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
12924         * math/libm-test.inc (print_complex_max_error): Check separately
12925         whether real and imaginary errors are within allowed range and
12926         pass 0 to print_complex_function_ulps instead of value within
12927         allowed range.
12929 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12931         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
12932         formatting.
12933         (get_handles_fopen): Likewise.
12934         (do_write_test): Likewise.
12936         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
12938         * libio/fileops.c (do_ftell): Use cached offset when
12939         available.
12940         * libio/iofwide.c (do_ftell_wide): Likewise.
12941         * libio/iofdopen.c (_IO_new_fdopen): Don't use
12942         _IO_file_attach.
12943         * libio/wfileops.c (_IO_fwide): Don't cache offset.
12945         [BZ #16532]
12946         * libio/libioP.h (get_file_offset): New function.
12947         * libio/fileops.c (get_file_offset): Likewise.
12948         (do_ftell): Likewise.
12949         (_IO_new_file_seekoff): Split out ftell logic.
12950         * libio/wfileops.c (do_ftell_wide): Likewise.
12951         (_IO_wfile_seekoff): Split out ftell logic.
12952         * libio/tst-ftell-active-handler.c: New test case.
12953         * libio/Makefile (tests): Add it.
12955 2014-03-03  Roland McGrath  <roland@hack.frob.com>
12957         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
12958         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
12960 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
12962         [BZ #16639]
12963         * nscd/connections.c (nscd_init): Call do_exit.
12964         (start_threads): Call do_exit and notify_parent.
12965         (begin_drop_privileges): Call do_exit.
12966         (finish_drop_privileges): Likewise.
12967         * nscd/selinux.c (preserve_capabilities): Likewise.
12968         (install_real_capabilities): Likewise.
12969         (nscd_selinux_enabled): Likewise.
12970         (avc_create_thread): Likewise.
12971         (avc_alloc_lock): Likewise.
12972         (nscd_avc_init): Likewise.
12973         * nscd/nscd.c (parent_fd): New static variable.
12974         (main): Create a pipe between parent and child processes.
12975         Skip closing parent_fd.
12976         (monitor_child): New function.
12977         (do_exit): Likewise.
12978         (notify_parent): Likewise.
12979         * nscd/nscd.h (notify_parent): Likewise.
12980         (do_exit): Likewise.
12982 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
12984         * malloc/malloc.c (__libc_calloc): Revert last change.
12986 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12988         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12990 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12992         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
12993         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
12994         implementation.
12995         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12996         (__libc_ifunc_impl_list): Likewise.
12997         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
12998         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
12999         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
13000         * string/strrchr.c: Define STRRCHR.
13002 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
13004         * benchtest/bench-strtok.c (simple_strtok): Delete.
13005         (strtok_string): Use as benchmark.
13006         * string/strtok (STRTOK): New macro.
13008 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
13010         * manual/threads.texi: Add header and standard comments to all
13011         functions.
13013         * elf/dl-lookup.c (check_match): New function.
13014         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
13015         (do_lookup_x): Remove nested function check_match. Use non-nested
13016         function check_match.
13018 2014-02-28  Roland McGrath  <roland@hack.frob.com>
13020         * csu/Makefile (generated, before-compile): Use += rather than =.
13021         * catgets/Makefile (generated, generated-dirs): Likewise.
13022         * debug/Makefile (generated): Likewise.
13023         * dlfcn/Makefile (generated): Likewise.
13024         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
13025         * iconvdata/Makefile (before-compile, generated): Likewise.
13026         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
13027         * libio/Makefile (generated): Likewise.
13028         * malloc/Makefile (generated): Likewise.
13029         * manual/Makefile (generated, generated-dirs): Likewise.
13030         * misc/Makefile (generated): Likewise.
13031         * posix/Makefile (generated): Likewise.
13032         * resolv/Makefile (generated): Likewise.
13033         * sunrpc/Makefile (generated, generated-dirs): Likewise.
13034         * timezone/Makefile (generated, generated-dirs): Likewise.
13036         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
13038 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13040         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13041         power8 implementation.
13042         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
13043         file: POWER8 llround ifunc implementation.
13044         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
13045         (__lllround): Add POWER8 implementation.
13046         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
13047         POWER8 llround implementation.
13049         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
13050         power8 implementation.
13051         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
13052         file: POWER8 llrint ifunc implementation.
13053         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
13054         Add POWER8 implementation.
13055         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
13056         POWER8 llrint implementation.
13058         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
13059         power8 implementation.
13060         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
13061         file: POWER8 finite ifunc implementation.
13062         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
13063         Add POWER8 implementation.
13064         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
13065         Likewise.
13066         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
13067         POWER8 finite implementation.
13068         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
13070         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
13071         power8 implementation.
13072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
13073         file: POWER8 isinf ifunc implementation.
13074         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
13075         POWER8 implementation.
13076         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
13077         Likewise.
13078         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
13079         isinf implementation.
13080         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
13082         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
13083         (INIT_ARCH): Add hwcap2 initialization.
13084         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13085         power8 implementation.
13086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
13087         file: POWER8 isnan ifunc implementation.
13088         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
13089         POWER8 implementation.
13090         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
13091         Likewise.
13092         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
13093         isnan implementation.
13094         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
13096 2014-02-27  Joey Ye  <joey.ye@arm.com>
13098         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13099         (_FP_NANFRAC_Q): Set to zero.
13101 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13103         [BZ #16623]
13104         * math/auto-libm-test-in: New test inputs.
13105         * math/auto-libm-test-out: Regenerate.
13106         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
13107         and DA.
13108         (__cos): Likewise.
13109         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
13111 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
13113         * scripts/evaluate-test.sh: Take new argument indicating whether
13114         failure is expected.
13115         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
13116         indicating whether failure is expected.
13117         * conform/Makefile (test-xfail-run-conformtest): New variable.
13118         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
13119         level.
13120         * posix/Makefile (test-xfail-annexc): New variable.
13121         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
13123 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
13125         * argp/Makefile: Include Makeconfig immediately after defining
13126         subdir.
13127         * assert/Makefile: Likewise.
13128         * benchtests/Makefile: Likewise.
13129         * catgets/Makefile: Likewise.
13130         * conform/Makefile: Likewise.
13131         * crypt/Makefile: Likewise.
13132         * csu/Makefile: Likewise.
13133         (all): Remove target.
13134         * ctype/Makefile: Include Makeconfig immediately after defining
13135         subdir.
13136         * debug/Makefile: Likewise.
13137         * dirent/Makefile: Likewise.
13138         * dlfcn/Makefile: Likewise.
13139         * gmon/Makefile: Likewise.
13140         * gnulib/Makefile: Likewise.
13141         * grp/Makefile: Likewise.
13142         * gshadow/Makefile: Likewise.
13143         * hesiod/Makefile: Likewise.
13144         * hurd/Makefile: Likewise.
13145         (all): Remove target.
13146         * iconvdata/Makefile: Include Makeconfig immediately after
13147         defining subdir.
13148         * inet/Makefile: Likewise.
13149         * intl/Makefile: Likewise.
13150         * io/Makefile: Likewise.
13151         * libio/Makefile: Likewise.
13152         (all): Remove target.
13153         * locale/Makefile: Include Makeconfig immediately after defining
13154         subdir.
13155         * login/Makefile: Likewise.
13156         * mach/Makefile: Likewise.
13157         (all): Remove target.
13158         * malloc/Makefile: Include Makeconfig immediately after defining
13159         subdir.
13160         (all): Remove target.
13161         * manual/Makefile: Include Makeconfig immediately after defining
13162         subdir.
13163         * math/Makefile: Likewise.
13164         * misc/Makefile: Likewise.
13165         * nis/Makefile: Likewise.
13166         * nss/Makefile: Likewise.
13167         * po/Makefile: Likewise.
13168         (all): Remove target.
13169         * posix/Makefile: Include Makeconfig immediately after defining
13170         subdir.
13171         * pwd/Makefile: Likewise.
13172         * resolv/Makefile: Likewise.
13173         * resource/Makefile: Likewise.
13174         * rt/Makefile: Likewise.
13175         * setjmp/Makefile: Likewise.
13176         * shadow/Makefile: Likewise.
13177         * signal/Makefile: Likewise.
13178         * socket/Makefile: Likewise.
13179         * soft-fp/Makefile: Likewise.
13180         * stdio-common/Makefile: Likewise.
13181         * stdlib/Makefile: Likewise.
13182         * streams/Makefile: Likewise.
13183         * string/Makefile: Likewise.
13184         * sunrpc/Makefile: Likewise.
13185         (all): Remove target.
13186         * sysvipc/Makefile: Include Makeconfig immediately after defining
13187         subdir.
13188         * termios/Makefile: Likewise.
13189         * time/Makefile: Likewise.
13190         * timezone/Makefile: Likewise.
13191         (all): Remove target.
13192         * wcsmbs/Makefile: Include Makeconfig immediately after defining
13193         subdir.
13194         * wctype/Makefile: Likewise.
13196 2014-02-26  Steve Ellcey  <sellcey@mips.com>
13198         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
13199         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
13200         (libc_feholdexcept_setround_mips): Ditto.
13201         (libc_feholdsetround): New.
13202         (libc_feholdsetroundf): New.
13203         (libc_feholdsetroundl): New.
13204         (libc_feupdateenv_test_mips): New.
13205         (libc_feupdateenv_test): New.
13206         (libc_feupdateenv_testf): New.
13207         (libc_feupdateenv_testl): New.
13208         (libc_feresetround): New.
13209         (libc_feresetroundf): New.
13210         (libc_feresetroundl): New.
13211         (libc_fetestexcept_mips): New.
13212         (libc_fetestexcept): New.
13213         (libc_fetestexceptf): New.
13214         (libc_fetestexceptl): New.
13215         (HAVE_RM_CTX): New.
13216         (libc_feholdexcept_setround_mips_ctx): New.
13217         (libc_feholdexcept_setround_ctx): New.
13218         (libc_feholdexcept_setroundf_ctx): New.
13219         (libc_feholdexcept_setroundl_ctx): New.
13220         (libc_fesetenv_mips_ctx): New.
13221         (libc_fesetenv_ctx): New.
13222         (libc_fesetenv_ctxf): New.
13223         (libc_fesetenv_ctxl): New.
13224         (libc_feupdateenv_mips_ctx): New.
13225         (libc_feupdateenv_ctx): New.
13226         (libc_feupdateenvf_ctx): New.
13227         (libc_feupdateenvl_ctx): New.
13228         (libc_feholdsetround_mips_ctx): New.
13229         (libc_feholdsetround_ctx): New.
13230         (libc_feholdsetroundf_ctx): New.
13231         (libc_feholdsetroundl_ctx): New.
13232         (libc_feresetround_mips_ctx): New.
13233         (libc_feresetround_ctx): New.
13234         (libc_feresetroundf_ctx): New.
13235         (libc_feresetroundl_ctx): New.
13237 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
13239         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
13241         * manual/ipc.texi: New file.
13242         * manual/Makefile (chapters): Add ipc.
13243         * manual/job.texi: Add "Inter-Process Communication" to next.
13244         * manual/process.texi: Add "Inter-Process Communication" to prev.
13246 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13248         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13250 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
13252         * malloc/malloc.c (__libc_calloc): Simplify implementation.
13254         * manual/arith.texi: Fix spaces after sentences.
13255         * manual/charset.texi: Likewise.
13256         * manual/errno.texi: Likewise.
13257         * manual/install.texi: Likewise.
13258         * manual/llio.texi: Likewise.
13259         * manual/locale.texi: Likewise.
13260         * manual/maint.texi: Likewise.
13261         * manual/math.texi: Likewise.
13262         * manual/memory.texi: Likewise.
13263         * manual/message.texi: Likewise.
13264         * manual/probes.texi: Likewise.
13265         * manual/resource.texi: Likewise.
13266         * manual/signal.texi: Likewise.
13267         * manual/socket.texi: Likewise.
13268         * manual/stdio.texi: Likewise.
13269         * manual/string.texi: Likewise.
13270         * manual/time.texi: Likewise.
13271         * manual/users.texi: Likewise.
13273 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
13275         [BZ #16632]
13276         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
13277         _DEFAULT_SOURCE is defined.
13279 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
13280             Carlos O'Donell  <carlos@redhat.com>
13282         [BZ #16613]
13283         * elf/dl-tls.c (_dl_count_modids): New function.
13284         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
13285         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
13286         audit library and increment generation counter.
13287         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
13288         * elf/tst-audit9.c: New file.
13289         * elf/tst-auditmod9a.c: New file.
13290         * elf/tst-auditmod9b.c: New file.
13291         * elf/Makefile: Add rules to build and run tst-audit9.
13293 2014-02-25  Florian Weimer  <fweimer@redhat.com>
13295         [BZ #15347]
13296         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
13298 2014-02-25  Will Newton  <will.newton@linaro.org>
13300         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
13301         (__longjmp): Restore sp and lr before restoring callee
13302         saved registers.  Add longjmp and longjmp_target
13303         SystemTap probe point.
13304         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
13305         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
13306         Define to zero to match jmpbuf layout.
13307         * sysdeps/arm/setjmp.S: Include stap-probe.h.
13308         (__sigsetjmp): Save sp and lr before saving callee
13309         saved registers.  Add setjmp SystemTap probe point.
13311 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
13313         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13315 2014-02-24  Andreas Schwab  <schwab@suse.de>
13317         [BZ #15804]
13318         * elf/pldd.c (wait_for_ptrace_stop): New function.
13319         (main): Call it after attaching.
13321 2014-02-22  Roland McGrath  <roland@hack.frob.com>
13323         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
13324         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
13325         Versions files is now verboten.
13326         * hurd/Versions (libc: GLIBC_2.0):
13327         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
13328         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
13329         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
13330         * mach/Versions: Likewise.
13332         * csu/Versions: Remove unused %include.
13333         * resolv/Versions: Likewise.
13335 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
13337         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
13338         ($(objpfx)check-local-headers.out): Likewise.
13339         ($(objpfx)begin-end-check.out): Likewise.
13340         * Makerules (check-abi-%.out): Likewise.
13341         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
13342         ($(objpfx)test2.cat): Likewise.
13343         ($(objpfx)de/libc.cat): Likewise.
13344         ($(objpfx)test-gencat.out): Likewise.
13345         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
13346         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
13347         ($(objpfx)noload-mem): Likewise.
13348         ($(objpfx)tst-pathopt.out): Likewise.
13349         ($(objpfx)tst-rtld-load-self.out): Likewise.
13350         ($(objpfx)tst-array1-cmp.out): Likewise.
13351         ($(objpfx)tst-array1-static-cmp.out): Likewise.
13352         ($(objpfx)tst-array2-cmp.out): Likewise.
13353         ($(objpfx)tst-array3-cmp.out): Likewise.
13354         ($(objpfx)tst-array4-cmp.out): Likewise.
13355         ($(objpfx)tst-array5-cmp.out): Likewise.
13356         ($(objpfx)tst-array5-static-cmp.out): Likewise.
13357         ($(objpfx)check-textrel.out): Likewise.
13358         ($(objpfx)check-execstack.out): Likewise.
13359         ($(objpfx)check-localplt.out): Likewise.
13360         ($(objpfx)order2-cmp.out): Likewise.
13361         ($(objpfx)tst-leaks1-mem): Likewise.
13362         ($(objpfx)tst-leaks1-static-mem): Likewise.
13363         ($(objpfx)tst-initorder-cmp.out): Likewise.
13364         ($(objpfx)tst-initorder2-cmp.out): Likewise.
13365         ($(objpfx)tst-unused-dep.out): Likewise.
13366         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
13367         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
13368         * iconv/Makefile (test-iconvconfig): Likewise.
13369         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
13370         ($(objpfx)iconv-test.out): Likewise.
13371         ($(objpfx)tst-tables.out): Likewise.
13372         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
13373         ($(objpfx)tst-gettext.out): Likewise.
13374         ($(objpfx)tst-translit.out): Likewise.
13375         ($(objpfx)tst-gettext2.out): Likewise.
13376         ($(objpfx)tst-gettext4.out): Likewise.
13377         ($(objpfx)tst-gettext6.out): Likewise.
13378         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
13379         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
13380         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
13381         ($(objpfx)tst-fopenloc-mem.out): Likewise.
13382         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
13383         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
13384         * posix/Makefile ($(objpfx)globtest.out): Likewise.
13385         ($(objpfx)wordexp-tst.out): Likewise.
13386         ($(objpfx)annexc.out): Likewise.
13387         ($(objpfx)tst-fnmatch-mem): Likewise.
13388         ($(objpfx)bug-regex2-mem): Likewise.
13389         ($(objpfx)bug-regex14-mem): Likewise.
13390         ($(objpfx)bug-regex21-mem): Likewise.
13391         ($(objpfx)bug-regex31-mem): Likewise.
13392         ($(objpfx)tst-vfork3-mem): Likewise.
13393         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
13394         ($(objpfx)tst-pcre-mem): Likewise.
13395         ($(objpfx)tst-boost-mem): Likewise.
13396         ($(objpfx)tst-getconf.out): Likewise.
13397         ($(objpfx)bug-ga2-mem): Likewise.
13398         ($(objpfx)bug-glob2-mem): Likewise.
13399         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
13400         ($(objpfx)mtrace-tst-leaks2): Likewise.
13401         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
13402         ($(objpfx)tst-printf.out): Likewise.
13403         ($(objpfx)tst-setvbuf1.out): Likewise.
13404         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
13405         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
13406         ($(objpfx)tst-fmtmsg.out): Likewise.
13407         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
13408         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
13410         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
13411         * bits/sigaction.h [__USE_MISC]: Likewise.
13412         * bits/waitstatus.h: Update #endif comments.
13413         * ctype/ctype.h: Likewise.
13414         * dirent/dirent.h: Likewise.
13415         [__USE_MISC]: Remove redundant conditionals.
13416         * grp/grp.h: Update #endif comments.
13417         [__USE_GNU]: Remove redundant conditionals.
13418         [__USE_MISC]: Likewise.
13419         * inet/netinet/in.h [__USE_GNU]: Likewise.
13420         * io/sys/stat.h [__USE_MISC]: Likewise.
13421         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
13422         * libio/bits/stdio.h: Update #endif comments.
13423         [__USE_MISC]: Remove redundant conditionals.
13424         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
13425         * libio/stdio.h: Update #endif comments.
13426         [__USE_MISC]: Remove redundant conditionals.
13427         * math/bits/math-finite.h [__USE_MISC]: Likewise.
13428         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
13429         * math/math.h: Update #else and #endif comments.
13430         [__USE_MISC]: Remove redundant conditionals.
13431         * misc/sys/uio.h: Update #endif comments.
13432         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
13433         * posix/glob.h [__USE_MISC]: Likewise.
13434         * posix/sys/types.h: Update #endif comments.
13435         [__USE_MISC]: Remove redundant conditionals.
13436         * posix/sys/wait.h: Update #endif comments.
13437         [__USE_MISC]: Remove redundant conditionals.
13438         * posix/unistd.h: Update #endif comments.
13439         [__USE_MISC]: Remove redundant conditionals.
13440         * pwd/pwd.h [__USE_GNU]: Likewise.
13441         [__USE_MISC]: Likewise.
13442         * resolv/netdb.h [__USE_GNU]: Likewise.
13443         * signal/signal.h: Update #endif comments.
13444         [__USE_MISC]: Remove redundant conditionals.
13445         * stdlib/stdlib.h: Update #else and #endif comments.
13446         [__USE_MISC]: Remove redundant conditionals.
13447         [__USE_GNU]: Likewise.
13448         * string/bits/string2.h [__USE_MISC]: Likewise.
13449         * string/string.h: Update #endif comments.
13450         [__USE_MISC]: Remove redundant conditionals.
13451         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
13452         Likewise.
13453         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
13454         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
13455         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
13456         Likewise.
13457         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
13458         Likewise.
13459         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
13460         comments.
13461         [__USE_MISC]: Remove redundant conditionals.
13462         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
13463         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
13464         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
13465         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
13466         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
13467         Likewise.
13468         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
13469         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
13470         Likewise.
13471         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
13472         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
13473         Likewise.
13474         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
13475         Likewise.
13476         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
13477         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
13478         Likewise.
13479         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
13480         Likewise.
13481         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
13482         * sysdeps/x86/bits/string.h: Update #endif comments.
13483         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
13484         conditionals.
13485         * time/sys/time.h: Update #endif comments.
13486         * time/time.h: Likewise.
13487         [__USE_MISC]: Remove redundant conditionals.
13489 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
13491         [BZ #16600]
13492         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
13494 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
13496         * Versions.def (librt): Add GLIBC_2.17.
13498 2014-02-21  Adam Conrad  <adconrad@0c3.net>
13500         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
13501         synonym for _SYS_AUXV_H to allow direct inclusion.
13502         * sysdeps/sparc/bits/hwcap.h: Likewise.
13503         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
13504         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
13505         * sysdeps/sparc/sysdep.h: Likewise.
13507 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13509         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
13511 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13513         * benchtests/bench-strrchr.c: Print length instead of position.
13515 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
13517         [BZ #16611]
13518         * sysdeps/unix/sysv/linux/kernel-features.h
13519         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
13520         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
13521         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
13522         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
13523         Likewise.
13524         [__i386__ || __powerpc__ || __sh__ || __sparc__]
13525         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13526         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
13527         (__ASSUME_SENDMMSG): Define instead of using previous
13528         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
13529         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13530         (__ASSUME_SENDMMSG_SYSCALL): Define.
13531         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13532         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
13533         Likewise.
13534         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13535         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13536         Likewise.
13537         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13538         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13539         Likewise.
13540         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
13541         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
13542         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
13543         [__ASSUME_SENDMMSG]: Change conditionals to
13544         [__ASSUME_SENDMMSG_SOCKETCALL].
13545         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13546         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
13547         Define.
13548         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13549         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
13550         Likewise.
13551         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
13552         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
13553         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
13554         [!__ASSUME_SENDMMSG]: Change conditional to
13555         [!__ASSUME_SENDMMSG_SOCKETCALL].
13556         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13557         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13558         Define.
13560         [BZ #16610]
13561         * sysdeps/unix/sysv/linux/kernel-features.h
13562         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
13563         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
13564         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
13565         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
13566         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13567         [__i386__ || __sparc__]
13568         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13569         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
13570         (__ASSUME_RECVMMSG): Define instead of using previous
13571         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
13572         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13573         (__ASSUME_RECVMMSG_SYSCALL): Define.
13574         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13575         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13576         Likewise.
13577         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13578         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13579         Likewise.
13580         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13581         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13582         Likewise.
13583         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
13584         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
13585         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
13586         [__ASSUME_RECVMMSG]: Change condition to
13587         [__ASSUME_RECVMMSG_SOCKETCALL].
13588         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13589         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13590         Define.
13591         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13592         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13593         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13594         Likewise.
13595         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
13596         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
13597         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
13598         [!__ASSUME_RECVMMSG]: Change condition to
13599         [!__ASSUME_RECVMMSG_SOCKETCALL].
13600         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13601         (__ASSUME_RECVMMSG_SYSCALL): Define.
13603         [BZ #16609]
13604         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
13605         __powerpc__ || __s390__ || __sh__ || __sparc__]
13606         (__ASSUME_SOCKETCALL): Define.
13607         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
13608         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
13609         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
13610         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
13611         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13612         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
13613         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
13614         (__ASSUME_ACCEPT4): Define instead of using previous
13615         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
13616         __powerpc__ || __sparc__ || __s390__)] condition.
13617         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13618         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
13619         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
13620         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
13621         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
13622         [!__ASSUME_ACCEPT4]: Change condition to
13623         [!__ASSUME_ACCEPT4_SOCKETCALL].
13624         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13625         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
13626         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
13627         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13628         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
13629         __ASSUME_ACCEPT4_SYSCALL.
13630         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
13631         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
13632         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13633         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
13634         __ASSUME_ACCEPT4_SYSCALL.
13635         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
13636         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
13637         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
13638         [__ASSUME_ACCEPT4]: Change condition to
13639         [__ASSUME_ACCEPT4_SOCKETCALL].
13640         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13641         (__ASSUME_SOCKETCALL): Define.
13642         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
13643         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13644         (__ASSUME_SOCKETCALL): Define.
13645         (__ASSUME_ACCEPT4): Remove.
13646         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
13647         Define.
13648         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13649         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
13650         Likewise.
13651         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13652         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
13654         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
13655         macro.
13656         (HWCAP_ARM_LPAE): Likewise.
13657         (HWCAP_ARM_EVTSTRM): Likewise.
13658         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
13659         Add vpfd32, lpae and evtstrm.
13660         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
13661         Increase to 22.
13663 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
13665         * math/auto-libm-test-in: Add tests of clog10.
13666         * math/auto-libm-test-out: Regenerated.
13667         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
13668         * sysdeps/i386/fpu/libm-test-ulps: Update.
13669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13671 2014-02-18  Andreas Schwab  <schwab@suse.de>
13673         [BZ #16574]
13674         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
13675         Store non-zero if the second buffer was newly allocated.
13676         (send_dg): Likewise.
13677         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
13678         to send_vc and send_dg.
13679         (res_nsend): Pass NULL for ansp2_malloced.
13680         * resolv/res_query.c (__libc_res_nquery): Add parameter
13681         answerp2_malloced and pass it down to __libc_res_nsend.
13682         (res_nquery): Pass additional NULL to __libc_res_nquery.
13683         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
13684         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
13685         second answer buffer if answerp2_malloced was set.
13686         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
13687         (__libc_res_nquerydomain): Add parameter
13688         answerp2_malloced and pass it down to __libc_res_nquery.
13689         (res_nquerydomain): Pass additional NULL to
13690         __libc_res_nquerydomain.
13691         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
13692         additional NULL to __libc_res_nsend and __libc_res_nquery.
13693         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
13694         additional NULL to __libc_res_nsearch.
13695         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
13696         parameter of __libc_res_nsearch to check for separately allocated
13697         second buffer.
13698         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
13699         __libc_res_nquery.
13700         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
13701         additional NULL to __libc_res_nquery.
13702         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
13703         __libc_res_nsearch.
13704         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
13705         * include/resolv.h: Update prototypes of __libc_res_nquery,
13706         __libc_res_nsearch, __libc_res_nsend.
13708 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
13710         * math/auto-libm-test-in: Add tests of fma.
13711         * math/auto-libm-test-out: Regenerated.
13712         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
13713         (fma_towardzero_test_data): Likewise.
13714         (fma_downward_test_data): Likewise.
13715         (fma_upward_test_data): Likewise.
13716         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
13717         mpc_mode.
13718         (rounding_modes): Add values for new field.
13719         (func_calc_method): Add value mpfr_fff_f.
13720         (func_calc_desc): Add mpfr_fff_f union field.
13721         (test_function): Add field exact_args.
13722         (FUNC): Add macro argument EXACT_ARGS.
13723         (FUNC_mpfr_f_f): Update call to FUNC.
13724         (FUNC_mpfr_f_f): Likewise.
13725         (FUNC_mpfr_ff_f): Likewise.
13726         (FUNC_mpfr_if_f): Likewise.
13727         (FUNC_mpc_c_f): Likewise.
13728         (FUNC_mpc_c_c): Likewise.
13729         (test_functions): Add fma.  Update calls to FUNC.
13730         (handle_input_arg): Add argument exact_args.
13731         (add_test): Update call to handle_input_arg.
13732         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
13733         (output_for_one_input_case): Update call to calc_generic_results.
13734         Recalculate exact zero results in each rounding mode.
13736         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
13737         non-negative before setting low bit.
13738         * math/auto-libm-test-in: Mark one asin test possibly having
13739         spurious underflow.
13740         * math/auto-libm-test-out: Regenerated.
13741         * sysdeps/i386/fpu/libm-test-ulps: Update.
13742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13744 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
13746         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
13747         * sysdeps/unix/sysv/linux/microblaze: Move directory from
13748         ports/sysdeps/unix/sysv/linux/microblaze.
13749         * README: Add missing listing for microblaze*-*-linux-gnu.
13751 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
13753         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
13754         duplicate code
13756 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
13758         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
13759         * sysdeps/unix/sysv/linux/ia64: Move directory from
13760         ports/sysdeps/unix/sysv/linux/ia64.
13761         * README: Update listing for ia64-*-linux-gnu.
13763 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
13764             Joseph Myers  <joseph@codesourcery.com>
13766         * Makeconfig (test-name): New variable.
13767         (evaluate-test): Likewise.
13768         * Makerules (do-test-clean): Remove .test-result files.
13769         (common-mostlyclean): Likewise.
13770         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
13771         * scripts/evaluate-test.sh: New file.
13773 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
13775         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
13776         separate $(objpfx)tst-fopenloc-cmp.out and
13777         $(objpfx)tst-fopenloc-mem.out targets.
13778         (tests): Update dependencies.
13779         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
13780         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
13781         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
13782         (tst-rxspencer-no-utf8-ARGS): New variable.
13783         (tst-rxspencer-no-utf8-ENV): Likewise.
13784         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
13785         instead of $(objpfx)tst-rxspencer-mem.
13786         ($(objpfx)tst-rxspencer-mem): Change target to
13787         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
13788         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
13789         * posix/tst-rxspencer-no-utf8.c: New file.
13791         * elf/Makefile ($(objpfx)order.out): Remove rule.
13792         [$(run-built-tests) = yes] (tests): Depend on
13793         $(objpfx)order-cmp.out.
13794         ($(objpfx)order-cmp.out): New rule.
13795         [$(run-built-tests) = yes] (tests): Depend on
13796         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
13797         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
13798         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
13799         $(objpfx)tst-array5-static-cmp.out.
13800         ($(objpfx)tst-array1.out): Remove rule.
13801         ($(objpfx)tst-array1-cmp.out): New rule.
13802         ($(objpfx)tst-array1-static.out): Remove rule.
13803         ($(objpfx)tst-array1-static-cmp.out): New rule.
13804         ($(objpfx)tst-array2.out): Remove rule.
13805         ($(objpfx)tst-array2-cmp.out): New rule.
13806         ($(objpfx)tst-array3.out): Remove rule.
13807         ($(objpfx)tst-array3-cmp.out): New rule.
13808         ($(objpfx)tst-array4.out): Remove rule.
13809         ($(objpfx)tst-array4-cmp.out): New rule.
13810         ($(objpfx)tst-array5.out): Remove rule.
13811         ($(objpfx)tst-array5-cmp.out): New rule.
13812         ($(objpfx)tst-array5-static.out): Remove rule.
13813         ($(objpfx)tst-array5-static-cmp.out): New rule.
13814         [$(run-built-tests) = yes] (tests): Depend on
13815         $(objpfx)order2-cmp.out.
13816         ($(objpfx)order2.out): Remove rule.
13817         ($(objpfx)order2-cmp.out): New rule.
13818         ($(objpfx)tst-initorder.out): Remove rule.
13819         [$(run-built-tests) = yes] (tests): Depend on
13820         $(objpfx)tst-initorder-cmp.out.
13821         ($(objpfx)tst-initorder-cmp.out): New rule.
13822         ($(objpfx)tst-initorder2.out): Remove rule.
13823         [$(run-built-tests) = yes] (tests): Depend on
13824         $(objpfx)tst-initorder2-cmp.out.
13825         ($(objpfx)tst-initorder2-cmp.out): New rule.
13826         [$(run-built-tests) = yes] (tests): Depend on
13827         $(objpfx)tst-unused-dep-cmp.out.
13828         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
13829         ($(objpfx)tst-unused-dep-cmp.out): New rule.
13830         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
13831         on $(objpfx)tst-setvbuf1-cmp.out.
13832         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
13833         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
13834         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
13835         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
13836         ($(objpfx)tst-svc.out): Remove rule.
13837         ($(objpfx)tst-svc-cmp.out): New rule.
13839 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
13841         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
13842         * ctype/ctype.h [__USE_MISC]: Likewise.
13843         * dirent/dirent.h [__USE_MISC]: Likewise.
13844         * grp/grp.h [__USE_MISC]: Likewise.
13845         * io/fcntl.h [__USE_MISC]: Likewise.
13846         * io/sys/stat.h [__USE_MISC]: Likewise.
13847         * libio/stdio.h [__USE_MISC]: Likewise.
13848         * posix/unistd.h [__USE_MISC]: Likewise.
13849         * pwd/pwd.h [__USE_MISC]: Likewise.
13850         * stdlib.h [__USE_MISC]: Likewise.
13851         * string/bits/string2.h [__USE_MISC]: Likewise.
13852         * string/string.h [__USE_MISC]: Likewise.
13853         * time/time.h [__USE_MISC]: Likewise.
13855 2014-02-13  Andreas Schwab  <schwab@suse.de>
13857         [BZ #16574]
13858         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
13859         second answer buffer if it was separately allocated.
13861 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
13863         * sysdeps/mips/math-tests.h: Include <features.h>.
13864         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
13865         (ROUNDING_TESTS_long_double): Do not define.
13866         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
13867         (EXCEPTION_TESTS_long_double): Likewise.
13868         * sysdeps/mips/mips64/libm-test-ulps: Update.
13870         * include/features.h (__USE_BSD): Remove macro definitions.
13871         (__USE_SVID): Likewise.
13872         (_BSD_SOURCE): Likewise.
13873         (_SVID_SOURCE): Likewise.
13874         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
13875         from definition of _DEFAULT_SOURCE.
13876         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
13877         [_DEFAULT_SOURCE].
13878         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
13879         * bits/mman.h [__USE_BSD]: Likewise.
13880         * bits/termios.h [__USE_BSD]: Likewise.
13881         * bits/waitstatus.h [__USE_BSD]: Likewise.
13882         * ctype/ctype.h [__USE_SVID]: Likewise.
13883         * dirent/dirent.h [__USE_BSD]: Likewise.
13884         * grp/grp.h [__USE_SVID]: Likewise.
13885         [__USE_BSD]: Likewise.
13886         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
13887         * io/fcntl.h [__USE_BSD]: Likewise.
13888         * io/ftw.h [__USE_BSD]: Likewise.
13889         * io/sys/stat.h [__USE_BSD]: Likewise.
13890         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
13891         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
13892         * libio/stdio.h [__USE_SVID]: Likewise.
13893         [__USE_BSD]: Likewise.
13894         * math/math.h [__USE_SVID]: Likewise.
13895         [__USE_BSD]: Likewise.
13896         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
13897         * misc/bits/syslog.h [__USE_BSD]: Likewise.
13898         * misc/search.h [__USE_SVID]: Likewise.
13899         * misc/sys/mman.h [__USE_BSD]: Likewise.
13900         * misc/sys/syslog.h [__USE_BSD]: Likewise.
13901         * misc/sys/uio.h [__USE_BSD]: Likewise.
13902         * posix/bits/unistd.h [__USE_BSD]: Likewise.
13903         * posix/glob.h [__USE_BSD]: Likewise.
13904         * posix/regex.h [__USE_BSD]: Likewise.
13905         * posix/sys/types.h [__USE_BSD]: Likewise.
13906         [__USE_SVID]: Likewise.
13907         * posix/sys/utsname.h [__USE_SVID]: Likewise.
13908         * posix/sys/wait.h [__USE_BSD]: Likewise.
13909         [__USE_SVID]: Likewise.
13910         * posix/unistd.h [__USE_BSD]: Likewise.
13911         [__USE_SVID]: Likewise.
13912         * pwd/pwd.h [__USE_SVID]: Likewise.
13913         * resolv/netdb.h [__USE_BSD]: Likewise.
13914         * setjmp/setjmp.h [__USE_BSD]: Likewise.
13915         * signal/signal.h [__USE_BSD]: Likewise.
13916         [__USE_SVID]: Likewise.
13917         * socket/sys/socket.h [__USE_BSD]: Likewise.
13918         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
13919         * stdlib/stdlib.h [__USE_BSD]: Likewise.
13920         [__USE_SVID]: Likewise.
13921         * string/bits/string2.h [__USE_BSD]: Likewise.
13922         [__USE_SVID]: Likewise.
13923         * string/bits/string3.h [__USE_BSD]: Likewise.
13924         * string/endian.h [__USE_BSD]: Likewise.
13925         * string/string.h [__USE_SVID]: Likewise.
13926         [__USE_BSD]: Likewise.
13927         * string/strings.h [__USE_BSD]: Likewise.
13928         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
13929         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
13930         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
13931         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
13932         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
13933         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
13934         Likewise.
13935         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
13936         Likewise.
13937         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
13938         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
13939         Likewise.
13940         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
13941         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
13942         Likewise.
13943         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
13944         Likewise.
13945         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
13946         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
13947         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
13948         Likewise.
13949         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
13950         Likewise.
13951         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
13952         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
13953         * termios/termios.h [__USE_BSD]: Likewise.
13954         * time/sys/time.h [__USE_BSD]: Likewise.
13955         * time/time.h [__USE_BSD]: Likewise.
13956         [__USE_SVID]: Likewise.
13958         * Makefile (subdir_targets): Remove subdir_lint.out.
13960         * stdio-common/Makefile (do-tst-unbputc): Remove target.
13961         (do-tst-printf): Likewise.
13962         (tests): Depend directly on $(objpfx)tst-unbputc.out and
13963         $(objpfx)tst-printf.out.
13965         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
13967         * Makerules (check-abi-%): Change target to
13968         $(objpfx)check-abi-%.out.
13969         (check-abi target): Update dependencies.
13970         (check-abi-pattern variable): Redirect output of diff to $@.
13971         (check-abi variable): Likewise.
13972         * elf/Makefile (check-abi): Update dependencies.
13974         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
13975         unused.
13976         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
13977         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
13978         subnormal range.
13979         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
13980         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
13981         value has largest subnormal exponent.
13982         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
13983         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
13984         * sysdeps/aarch64/soft-fp/sfp-machine.h
13985         (_FP_TININESS_AFTER_ROUNDING): New macro.
13986         * sysdeps/alpha/soft-fp/sfp-machine.h
13987         (_FP_TININESS_AFTER_ROUNDING): Likewise.
13988         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13989         Likewise.
13990         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
13991         (_FP_TININESS_AFTER_ROUNDING): Likewise.
13992         * sysdeps/mips/soft-fp/sfp-machine.h
13993         (_FP_TININESS_AFTER_ROUNDING): Likewise.
13994         * sysdeps/powerpc/soft-fp/sfp-machine.h
13995         (_FP_TININESS_AFTER_ROUNDING): Likewise.
13996         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13997         Likewise.
13998         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
13999         (_FP_TININESS_AFTER_ROUNDING): Likewise.
14000         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
14001         (_FP_TININESS_AFTER_ROUNDING): Likewise.
14002         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14003         Likewise.
14005 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
14007         [BZ #16545]
14008         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
14009         model 1.
14011 2014-02-12  Richard Henderson  <rth@redhat.com>
14013         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
14014         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
14015         * sysdeps/unix/sysv/linux/alpha: Move directory from
14016         ports/sysdeps/unix/sysv/linux/alpha.
14017         * README: Update listing for alpha-*-linux-gnu.
14019 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
14021         * include/features.h: Update comment documenting feature test
14022         macros.
14023         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
14024         _DEFAULT_SOURCE.
14025         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
14026         (_SVID_SOURCE): Likewise.
14027         (_DEFAULT_SOURCE): Update description of default features.
14028         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
14029         with _GNU_SOURCE.
14030         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
14031         (S_ISVTX): Likewise.
14032         * manual/math.texi (Mathematical Constants): Likewise.
14033         * manual/signal.texi (Interrupted Primitives): Likewise.
14034         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
14035         * math/test-matherr.c (_SVID_SOURCE): Do not define.
14036         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
14037         Don't refer to _SVID_SOURCE in warning text.
14039         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14041         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
14042         already defined.
14043         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
14044         * sysdeps/mips/dl-lookup.c: Remove.
14045         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
14047 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
14049         [BZ #16447]
14050         * math/auto-libm-test-in: Add testcase for expl.
14051         * math/auto-libm-test-out: Regenerate.
14052         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
14053         calculation of unsafe.
14054         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
14056 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
14058         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
14059         * sysdeps/unix/sysv/linux/aarch64: Move directory from
14060         ports/sysdeps/unix/sysv/linux/aarch64.
14061         * README: Update listing for aarch64*-*-linux-gnu.
14063 2014-02-11  Will Newton  <will.newton@linaro.org>
14065         * manual/probes.texi (Mathematical Function Probes): Use
14066         "triggered" instead of "hit".
14068         * manual/probes.texi (Internal Probes): Add documentation
14069         of setjmp, longjmp and longjmp_target probes.
14071         * include/stap-probe.h: Add comment about probe argument
14072         format.
14074         * malloc/mtrace.c (attribute_hidden): Remove unused macro
14075         definition.  (tr_where, tr_freehook, tr_mallochook,
14076         tr_reallochook, tr_memalignhook): Use ANSI protoype.
14078 2014-02-11  David S. Miller  <davem@davemloft.net>
14080         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
14081         processing int_tests.
14083 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
14085         * sysdeps/mips: Move directory from ports/sysdeps/mips.
14086         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
14087         * sysdeps/unix/sysv/linux/mips: Move directory from
14088         ports/sysdeps/unix/sysv/linux/mips.
14089         * README: Update listing for mips-*-linux-gnu and
14090         mips64-*-linux-gnu.
14092 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
14094         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
14095         * sysdeps/unix/sysv/linux/m68k: Move directory from
14096         ports/sysdeps/unix/sysv/linux/m68k.
14097         * README: Update listing for m68k-*-linux-gnu.
14099 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
14101         * sysdeps/tile: Move directory from ports/sysdeps/tile.
14102         * sysdeps/unix/sysv/linux/generic: Move directory from
14103         ports/sysdeps/unix/sysv/linux/generic.
14104         * sysdeps/unix/sysv/linux/tile: Move directory from
14105         ports/sysdeps/unix/sysv/linux/tile.
14106         * README: Update listing for tile*-*-linux-gnu.
14108 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
14110         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
14111         __builtin_expect.
14112         * benchtests/bench-memmem.c (simple_memmem): Likewise.
14113         * catgets/open_catalog.c (__open_catalog): Likewise.
14114         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
14115         * debug/confstr_chk.c: Likewise.
14116         * debug/fread_chk.c (__fread_chk): Likewise.
14117         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
14118         * debug/getgroups_chk.c: Likewise.
14119         * debug/mbsnrtowcs_chk.c: Likewise.
14120         * debug/mbsrtowcs_chk.c: Likewise.
14121         * debug/mbstowcs_chk.c: Likewise.
14122         * debug/memcpy_chk.c: Likewise.
14123         * debug/memmove_chk.c: Likewise.
14124         * debug/mempcpy_chk.c: Likewise.
14125         * debug/memset_chk.c: Likewise.
14126         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14127         * debug/strcat_chk.c (__strcat_chk): Likewise.
14128         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
14129         * debug/strncat_chk.c (__strncat_chk): Likewise.
14130         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
14131         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
14132         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
14133         * debug/wcpncpy_chk.c: Likewise.
14134         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14135         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
14136         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
14137         * debug/wcsncpy_chk.c: Likewise.
14138         * debug/wcsnrtombs_chk.c: Likewise.
14139         * debug/wcsrtombs_chk.c: Likewise.
14140         * debug/wcstombs_chk.c: Likewise.
14141         * debug/wmemcpy_chk.c: Likewise.
14142         * debug/wmemmove_chk.c: Likewise.
14143         * debug/wmempcpy_chk.c: Likewise.
14144         * debug/wmemset_chk.c: Likewise.
14145         * dirent/scandirat.c (SCANDIRAT): Likewise.
14146         * dlfcn/dladdr1.c (dladdr1): Likewise.
14147         * dlfcn/dladdr.c (dladdr): Likewise.
14148         * dlfcn/dlclose.c (dlclose_doit): Likewise.
14149         * dlfcn/dlerror.c (__dlerror): Likewise.
14150         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
14151         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
14152         * dlfcn/dlopen.c (dlopen_doit): Likewise.
14153         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
14154         * dlfcn/dlsym.c (dlsym_doit): Likewise.
14155         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
14156         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
14157         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
14158         Likewise.
14159         * elf/dl-conflict.c: Likewise.
14160         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
14161         * elf/dl-dst.h: Likewise.
14162         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
14163         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
14164         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
14165         * elf/dl-init.c (call_init, _dl_init): Likewise.
14166         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
14167         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
14168         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
14169         Likewise.
14170         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
14171         Likewise.
14172         * elf/dl-minimal.c (__libc_memalign): Likewise.
14173         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
14174         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14175         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
14176         * elf/dl-sym.c (do_sym): Likewise.
14177         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
14178         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
14179         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
14180         * elf/dl-writev.h (_dl_writev): Likewise.
14181         * elf/ldconfig.c (search_dir): Likewise.
14182         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
14183         (dl_main): Likewise.
14184         * elf/setup-vdso.h (setup_vdso): Likewise.
14185         * grp/compat-initgroups.c (compat_call): Likewise.
14186         * grp/fgetgrent.c (fgetgrent): Likewise.
14187         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
14188         * grp/putgrent.c (putgrent): Likewise.
14189         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
14190         Likewise.
14191         * hurd/hurdinit.c: Likewise.
14192         * iconvdata/8bit-gap.c (struct): Likewise.
14193         * iconvdata/ansi_x3.110.c : Likewise.
14194         * iconvdata/big5.c : Likewise.
14195         * iconvdata/big5hkscs.c : Likewise.
14196         * iconvdata/cp1255.c: Likewise.
14197         * iconvdata/cp1258.c : Likewise.
14198         * iconvdata/cp932.c : Likewise.
14199         * iconvdata/euc-cn.c: Likewise.
14200         * iconvdata/euc-jisx0213.c : Likewise.
14201         * iconvdata/euc-jp.c: Likewise.
14202         * iconvdata/euc-jp-ms.c : Likewise.
14203         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
14204         * iconvdata/gb18030.c : Likewise.
14205         * iconvdata/gbbig5.c (const): Likewise.
14206         * iconvdata/gbgbk.c: Likewise.
14207         * iconvdata/gbk.c : Likewise.
14208         * iconvdata/ibm1364.c : Likewise.
14209         * iconvdata/ibm930.c : Likewise.
14210         * iconvdata/ibm932.c: Likewise.
14211         * iconvdata/ibm933.c : Likewise.
14212         * iconvdata/ibm935.c : Likewise.
14213         * iconvdata/ibm937.c : Likewise.
14214         * iconvdata/ibm939.c : Likewise.
14215         * iconvdata/ibm943.c: Likewise.
14216         * iconvdata/iso_11548-1.c: Likewise.
14217         * iconvdata/iso-2022-cn.c : Likewise.
14218         * iconvdata/iso-2022-cn-ext.c : Likewise.
14219         * iconvdata/iso-2022-jp-3.c: Likewise.
14220         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
14221         * iconvdata/iso-2022-kr.c : Likewise.
14222         * iconvdata/iso646.c (gconv_end): Likewise.
14223         * iconvdata/iso_6937-2.c : Likewise.
14224         * iconvdata/iso_6937.c : Likewise.
14225         * iconvdata/iso8859-1.c: Likewise.
14226         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
14227         * iconvdata/shift_jisx0213.c : Likewise.
14228         * iconvdata/sjis.c : Likewise.
14229         * iconvdata/t.61.c : Likewise.
14230         * iconvdata/tcvn5712-1.c : Likewise.
14231         * iconvdata/tscii.c: Likewise.
14232         * iconvdata/uhc.c : Likewise.
14233         * iconvdata/unicode.c (gconv_end): Likewise.
14234         * iconvdata/utf-16.c (gconv_end): Likewise.
14235         * iconvdata/utf-32.c (gconv_end): Likewise.
14236         * iconvdata/utf-7.c (base64): Likewise.
14237         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
14238         * iconv/gconv_close.c (__gconv_close): Likewise.
14239         * iconv/gconv_open.c (__gconv_open): Likewise.
14240         * iconv/gconv_simple.c (internal_ucs4_loop_single)
14241         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
14242         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
14243         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
14244         (ucs4le_internal_loop_single): Likewise.
14245         * iconv/iconv.c (iconv): Likewise.
14246         * iconv/iconv_close.c: Likewise.
14247         * iconv/loop.c (SINGLE): Likewise.
14248         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
14249         * include/atomic.h: Likewise.
14250         * inet/inet6_option.c (option_alloc): Likewise.
14251         * intl/bindtextdom.c (set_binding_values): Likewise.
14252         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
14253         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
14254         * intl/localealias.c (read_alias_file): Likewise.
14255         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
14256         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
14257         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
14258         * libio/fmemopen.c (fmemopen): Likewise.
14259         * libio/iofgets.c (_IO_fgets): Likewise.
14260         * libio/iofgets_u.c (fgets_unlocked): Likewise.
14261         * libio/iofgetws.c (fgetws): Likewise.
14262         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
14263         * libio/iogetdelim.c (_IO_getdelim): Likewise.
14264         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
14265         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
14266         * locale/findlocale.c (_nl_find_locale): Likewise.
14267         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
14268         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
14269         Likewise.
14270         * locale/setlocale.c (setlocale): Likewise.
14271         * login/programs/pt_chown.c (main): Likewise.
14272         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
14273         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
14274         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
14275         (mmap, mmap64, mremap, munmap): Likewise.
14276         * math/e_exp2l.c: Likewise.
14277         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
14278         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
14279         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
14280         * math/s_catan.c (__catan): Likewise.
14281         * math/s_catanf.c (__catanf): Likewise.
14282         * math/s_catanh.c (__catanh): Likewise.
14283         * math/s_catanhf.c (__catanhf): Likewise.
14284         * math/s_catanhl.c (__catanhl): Likewise.
14285         * math/s_catanl.c (__catanl): Likewise.
14286         * math/s_ccosh.c (__ccosh): Likewise.
14287         * math/s_ccoshf.c (__ccoshf): Likewise.
14288         * math/s_ccoshl.c (__ccoshl): Likewise.
14289         * math/s_cexp.c (__cexp): Likewise.
14290         * math/s_cexpf.c (__cexpf): Likewise.
14291         * math/s_cexpl.c (__cexpl): Likewise.
14292         * math/s_clog10.c (__clog10): Likewise.
14293         * math/s_clog10f.c (__clog10f): Likewise.
14294         * math/s_clog10l.c (__clog10l): Likewise.
14295         * math/s_clog.c (__clog): Likewise.
14296         * math/s_clogf.c (__clogf): Likewise.
14297         * math/s_clogl.c (__clogl): Likewise.
14298         * math/s_csin.c (__csin): Likewise.
14299         * math/s_csinf.c (__csinf): Likewise.
14300         * math/s_csinh.c (__csinh): Likewise.
14301         * math/s_csinhf.c (__csinhf): Likewise.
14302         * math/s_csinhl.c (__csinhl): Likewise.
14303         * math/s_csinl.c (__csinl): Likewise.
14304         * math/s_csqrt.c (__csqrt): Likewise.
14305         * math/s_csqrtf.c (__csqrtf): Likewise.
14306         * math/s_csqrtl.c (__csqrtl): Likewise.
14307         * math/s_ctan.c (__ctan): Likewise.
14308         * math/s_ctanf.c (__ctanf): Likewise.
14309         * math/s_ctanh.c (__ctanh): Likewise.
14310         * math/s_ctanhf.c (__ctanhf): Likewise.
14311         * math/s_ctanhl.c (__ctanhl): Likewise.
14312         * math/s_ctanl.c (__ctanl): Likewise.
14313         * math/w_pow.c: Likewise.
14314         * math/w_powf.c: Likewise.
14315         * math/w_powl.c: Likewise.
14316         * math/w_scalb.c (sysv_scalb): Likewise.
14317         * math/w_scalbf.c (sysv_scalbf): Likewise.
14318         * math/w_scalbl.c (sysv_scalbl): Likewise.
14319         * misc/error.c (error_tail): Likewise.
14320         * misc/pselect.c (__pselect): Likewise.
14321         * nis/nis_callback.c (__nis_create_callback): Likewise.
14322         * nis/nis_call.c (__nisfind_server): Likewise.
14323         * nis/nis_creategroup.c (nis_creategroup): Likewise.
14324         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
14325         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
14326         * nis/nis_getservlist.c (nis_getservlist): Likewise.
14327         * nis/nis_lookup.c (nis_lookup): Likewise.
14328         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
14329         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
14330         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
14331         * nis/nis_xdr.c (xdr_endpoint): Likewise.
14332         * nis/nss_compat/compat-grp.c (getgrent_next_file)
14333         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
14334         * nis/nss_compat/compat-initgroups.c (add_group)
14335         (internal_getgrent_r): Likewise.
14336         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
14337         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
14338         * nis/nss_compat/compat-spwd.c (getspent_next_file)
14339         (internal_getspnam_r): Likewise.
14340         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
14341         (_nss_nis_getaliasbyname_r): Likewise.
14342         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
14343         (_nss_nis_getntohost_r): Likewise.
14344         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
14345         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
14346         (_nss_nis_getgrgid_r): Likewise.
14347         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
14348         (internal_nis_gethostent_r, internal_gethostbyname2_r)
14349         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
14350         (_nss_nis_gethostbyname4_r): Likewise.
14351         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
14352         (initgroups_netid): Likewise.
14353         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
14354         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
14355         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
14356         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
14357         (_nss_nis_getprotobynumber_r): Likewise.
14358         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
14359         (_nss_nis_getsecretkey): Likewise.
14360         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
14361         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
14362         (_nss_nis_getpwuid_r): Likewise.
14363         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
14364         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
14365         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
14366         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
14367         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
14368         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
14369         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
14370         Likewise.
14371         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
14372         (_nss_nisplus_getntohost_r): Likewise.
14373         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
14374         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
14375         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
14376         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
14377         Likewise.
14378         * nis/nss_nisplus/nisplus-initgroups.c
14379         (_nss_nisplus_initgroups_dyn): Likewise.
14380         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
14381         (_nss_nisplus_getnetbyaddr_r): Likewise.
14382         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
14383         (_nss_nisplus_getprotobynumber_r): Likewise.
14384         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
14385         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
14386         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
14387         Likewise.
14388         * nis/nss_nisplus/nisplus-service.c
14389         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
14390         (_nss_nisplus_getservbyport_r): Likewise.
14391         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
14392         (_nss_nisplus_getspnam_r): Likewise.
14393         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
14394         Likewise.
14395         * nscd/aicache.c (addhstaiX): Likewise.
14396         * nscd/cache.c (cache_search, prune_cache): Likewise.
14397         * nscd/connections.c (register_traced_file, send_ro_fd)
14398         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
14399         (main_loop_epoll): Likewise.
14400         * nscd/grpcache.c (addgrbyX): Likewise.
14401         * nscd/hstcache.c (addhstbyX): Likewise.
14402         * nscd/initgrcache.c (addinitgroupsX): Likewise.
14403         * nscd/mem.c (gc, mempool_alloc): Likewise.
14404         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
14405         (addinnetgrX): Likewise.
14406         * nscd/nscd-client.h (__nscd_acquire_maplock)
14407         (__nscd_drop_map_ref): Likewise.
14408         * nscd/nscd_getai.c (__nscd_getai): Likewise.
14409         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
14410         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
14411         Likewise.
14412         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
14413         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
14414         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
14415         (__nscd_get_map_ref): Likewise.
14416         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
14417         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
14418         Likewise.
14419         * nscd/pwdcache.c (addpwbyX): Likewise.
14420         * nscd/selinux.c (preserve_capabilities): Likewise.
14421         * nscd/servicescache.c (addservbyX): Likewise.
14422         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
14423         * posix/fnmatch.c (fnmatch): Likewise.
14424         * posix/getopt.c (_getopt_internal_r): Likewise.
14425         * posix/glob.c (glob, glob_in_dir): Likewise.
14426         * posix/wordexp.c (exec_comm_child): Likewise.
14427         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
14428         (getanswer_r, gaih_getanswer_slice): Likewise.
14429         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
14430         * resolv/res_init.c: Likewise.
14431         * resolv/res_mkquery.c (res_nmkquery): Likewise.
14432         * resolv/res_query.c (__libc_res_nquery): Likewise.
14433         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
14434         Likewise.
14435         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
14436         * stdio-common/perror.c (perror): Likewise.
14437         * stdio-common/printf_fp.c (___printf_fp): Likewise.
14438         * stdio-common/tmpnam.c (tmpnam): Likewise.
14439         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
14440         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
14441         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
14442         Likewise.
14443         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
14444         * stdlib/putenv.c (putenv): Likewise.
14445         * stdlib/setenv.c (__add_to_environ): Likewise.
14446         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14447         * stdlib/strtol_l.c (INTERNAL): Likewise.
14448         * string/memmem.c (memmem): Likewise.
14449         * string/strerror.c (strerror): Likewise.
14450         * string/strnlen.c (__strnlen): Likewise.
14451         * string/test-memmem.c (simple_memmem): Likewise.
14452         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
14453         * sunrpc/pm_getport.c (__get_socket): Likewise.
14454         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
14455         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
14456         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
14457         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
14458         Likewise.
14459         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
14460         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
14461         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
14462         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
14463         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
14464         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
14465         Likewise.
14466         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
14467         Likewise.
14468         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
14469         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
14470         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14471         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14472         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14473         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
14474         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14475         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
14476         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
14477         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
14478         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14479         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
14480         Likewise.
14481         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
14482         Likewise.
14483         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
14484         Likewise.
14485         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
14486         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14487         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
14488         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
14489         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
14490         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
14491         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
14492         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
14493         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
14494         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
14495         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
14496         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14497         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14498         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
14499         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14500         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
14501         Likewise.
14502         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
14503         Likewise.
14504         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
14505         Likewise.
14506         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
14507         Likewise.
14508         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14509         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14510         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
14511         Likewise.
14512         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
14513         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
14514         * sysdeps/posix/opendir.c (__opendirat): Likewise.
14515         * sysdeps/posix/sleep.c: Likewise.
14516         * sysdeps/posix/tempname.c: Likewise.
14517         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
14518         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14519         Likewise.
14520         * sysdeps/powerpc/powerpc32/dl-machine.h
14521         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
14522         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14523         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14524         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
14525         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
14526         Likewise.
14527         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
14528         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
14529         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
14530         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
14531         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
14532         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
14533         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
14534         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
14535         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14536         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
14537         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
14538         (elf_machine_lazy_rel): Likewise.
14539         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
14540         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
14541         (elf_machine_lazy_rel): Likewise.
14542         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
14543         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
14544         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
14545         * sysdeps/unix/grantpt.c (grantpt): Likewise.
14546         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
14547         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
14548         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
14549         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14550         Likewise.
14551         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
14552         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
14553         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
14554         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
14555         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14556         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14557         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
14558         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
14559         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
14560         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14561         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
14562         Likewise.
14563         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
14564         (__posix_fallocate64_l64): Likewise.
14565         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
14566         (posix_fallocate): Likewise.
14567         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
14568         Likewise.
14569         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14570         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
14571         (getifaddrs_internal): Likewise.
14572         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
14573         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
14574         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
14575         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
14576         * sysdeps/unix/sysv/linux/posix_fallocate64.c
14577         (__posix_fallocate64_l64): Likewise.
14578         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
14579         Likewise.
14580         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
14581         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
14582         (__get_clockfreq): Likewise.
14583         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
14584         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
14585         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
14586         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14587         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14588         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
14589         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
14590         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
14591         Likewise.
14592         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
14593         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
14594         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
14595         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
14596         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
14597         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
14598         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
14599         Likewise.
14600         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
14601         (posix_fallocate): Likewise.
14602         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14603         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
14604         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
14605         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
14606         (elf_machine_rela, elf_machine_rela_relative)
14607         (elf_machine_lazy_rel): Likewise.
14608         * time/asctime.c (asctime_internal): Likewise.
14609         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
14610         * time/tzset.c (__tzset_parse_tz): Likewise.
14611         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
14612         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
14613         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
14614         * wcsmbs/wcsmbsload.h: Likewise.
14616         [BZ #15894]
14617         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
14619         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
14620         (arena_get2): Remove THREAD_STATS conditionals.
14621         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
14622         (__malloc_stats, int): Likewise.
14624 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
14626         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
14627         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
14629         * manual/setjmp.texi: Fix typos/grammar errors.
14631         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
14632         Only return early when n is <= 0.  Delete unused return statement.
14634         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
14635         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
14636         * debug/tst-longjmp_chk3.c: New file.
14638         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
14639         (test_main): Replace code with set_fortify_handler call.
14640         * debug/test-strcpy_chk.c: Likewise.
14641         * debug/tst-chk1.c: Likewise.
14642         * debug/tst-longjmp_chk.c: Likewise.
14643         * test-skeleton.c: Include fcntl.h & paths.h
14644         (set_fortify_handler): Define.
14646         * debug/tst-longjmp_chk.c: Add header comment and include
14647         ../test-skeleton.c.
14648         (do_test): Mark static.
14649         (TEST_FUNCTION): Define.
14651         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
14652         (IP_PMTUDISC_INTERFACE): Likewise.
14653         (IP_MULTICAST_IF): Likewise.
14654         (IP_MULTICAST_TTL): Likewise.
14655         (IP_MULTICAST_LOOP): Likewise.
14656         (IP_ADD_MEMBERSHIP): Likewise.
14657         (IP_DROP_MEMBERSHIP): Likewise.
14658         (IP_UNBLOCK_SOURCE): Likewise.
14659         (IP_BLOCK_SOURCE): Likewise.
14660         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
14661         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
14662         (IP_MSFILTER): Likewise.
14663         (MCAST_JOIN_GROUP): Likewise.
14664         (MCAST_BLOCK_SOURCE): Likewise.
14665         (MCAST_UNBLOCK_SOURCE): Likewise.
14666         (MCAST_LEAVE_GROUP): Likewise.
14667         (MCAST_JOIN_SOURCE_GROUP): Likewise.
14668         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
14669         (MCAST_MSFILTER): Likewise.
14670         (IP_MULTICAST_ALL): Likewise.
14671         (IP_UNICAST_IF): Likewise.
14673         * timezone/Makefile: Delete $(have-ksh) check.
14674         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
14675         * timezone/tzselect.ksh: Add +x mode bits.
14677         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
14678         (ANON_INODE_FS_MAGIC): Likewise.
14679         (BDEVFS_MAGIC): Likewise.
14680         (BINFMTFS_MAGIC): Likewise.
14681         (BTRFS_TEST_MAGIC): Likewise.
14682         (CRAMFS_MAGIC_WEND): Likewise.
14683         (DEBUGFS_MAGIC): Likewise.
14684         (ECRYPTFS_SUPER_MAGIC): Likewise.
14685         (EXT3_SUPER_MAGIC): Likewise.
14686         (EXT4_SUPER_MAGIC): Likewise.
14687         (FUTEXFS_SUPER_MAGIC): Likewise.
14688         (HOSTFS_SUPER_MAGIC): Likewise.
14689         (HUGETLBFS_MAGIC): Likewise.
14690         (MINIX3_SUPER_MAGIC): Likewise.
14691         (MTD_INODE_FS_MAGIC): Likewise.
14692         (NILFS_SUPER_MAGIC): Likewise.
14693         (OPENPROM_SUPER_MAGIC): Likewise.
14694         (PIPEFS_MAGIC): Likewise.
14695         (PSTOREFS_MAGIC): Likewise.
14696         (QNX6_SUPER_MAGIC): Likewise.
14697         (RAMFS_MAGIC): Likewise.
14698         (REISERFS_SUPER_MAGIC_STRING): Likewise.
14699         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
14700         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
14701         (SECURITYFS_MAGIC): Likewise.
14702         (SELINUX_MAGIC): Likewise.
14703         (SMACK_MAGIC): Likewise.
14704         (SOCKFS_MAGIC): Likewise.
14705         (SQUASHFS_MAGIC): Likewise.
14706         (STACK_END_MAGIC): Likewise.
14707         (TMPFS_MAGIC): Likewise.
14708         (USBDEVICE_SUPER_MAGIC): Likewise.
14709         (V9FS_MAGIC): Likewise.
14710         (XENFS_SUPER_MAGIC): Likewise.
14711         (CRAMFS_MAGIC): Fix typo in comment.
14712         (EXT2_SUPER_MAGIC): Update comment.
14713         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
14715 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
14717         * sysdeps/arm: Move directory from ports/sysdeps/arm.
14718         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
14719         * sysdeps/unix/sysv/linux/arm: Move directory from
14720         ports/sysdeps/unix/sysv/linux/arm.
14721         * README: Update listing for arm-*-linux-gnueabi.
14723         * README: Remove mention of am33.
14725 2014-02-07  Roland McGrath  <roland@hack.frob.com>
14727         * bits/sigset.h (__sigemptyset): Use a statement expression rather
14728         than the comma operator, to avoid "rhs of comma has no effect"
14729         compiler warnings.
14730         (__sigfillset, __sigandset, __sigorset): Likewise.
14731         * include/signal.h (__sigemptyset): Likewise.
14732         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
14734 2014-02-07  Allan McRae  <allan@archlinux.org>
14736         * version.h (RELEASE): Set to "development".
14737         (VERSION): Set to "2.19.90"
14738         * NEWS: Add 2.20 section.
14740 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
14742         [BZ #16529]
14743         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
14745 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
14747         * manual/contrib.texi: Update entry for Carlos O'Donell,
14748         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
14750 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
14752         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
14754         * sysdeps/unix/sysv/linux/kernel-features.h
14755         [__LINUX_KERNEL_VERSION >= 0x020621]
14756         (__ASSUME_PROC_PID_TASK_COMM): Define.
14758 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14760         [BZ #16398]
14761         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
14762         conversion when destination buffer does not have enough space.
14763         * libio/tst-ftell-partial-wide.c: New test case.
14764         * libio/Makefile (tests): Add tst-ftell-partial-wide.
14766         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
14767         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
14768         Leonard and Allan McRae.
14770 2014-02-04  David S. Miller  <davem@davemloft.net>
14772         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
14773         32-bit.
14775 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
14778         New file
14779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
14780         New file
14781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
14782         New file.
14783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
14784         New file.
14785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
14786         New file.
14787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
14788         New file.
14789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
14790         New file.
14791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
14792         New file.
14793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
14794         New file.
14795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
14796         New file.
14797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
14798         New file.
14799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
14800         New file.
14801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
14802         New file.
14804 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14806         * nptl/shlib-versions: Change powerpc*le start to 2.17.
14807         * shlib-versions: Likewise.
14809 2014-02-04  Roland McGrath  <roland@hack.frob.com>
14810             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14812         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
14813         (abilist-pattern): New variable, set to %-le.abilist.
14815         * Makerules (abilist-pattern): New variable.
14816         (vpath): Use $(abilist-pattern) in place of %.abilist.
14817         (check-abi-% pattern rule): Likewise.
14818         (check-abi, update-abi): Likewise.
14820 2014-02-04  Eric Wong  <normalperson@yhbt.net>
14822         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14824 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
14826         * manual/startup.texi: Add next, previous, and top entries for
14827         the `Program Arguments' and `Environment Variables' nodes.
14829 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
14831         * manual/macros.texi: Add comments before MTASC-safety macros.
14833         * manual/users.texi: Document MTASC-safety properties.
14835         * manual/threads.texi (pthread_key_create, pthread_key_delete)
14836         (pthread_getspecific, pthread_setspecific): Format with
14837         @deftypefun, and add @safety note.
14838         * manual/signal.texi: Move comments that analyze the above
14839         functions to their home place.
14841 2014-02-03  Allan McRae  <allan@archlinux.org>
14843         * po/sl.po: Update Slovenian translation from translation project.
14845 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
14847         * manual/time.texi (timegm): Add missing blank after @c.
14848         Reported by Joseph Myers <joseph@codesourcery.com>.
14850 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
14852         * manual/check-safety.sh: New.
14853         * manual/Makefile ($(objpfx)stamp-summary): Run it.
14855         * manual/terminal.texi: Document MTASC-safety properties.
14857         * manual/filesys.texi: Document MTASC-safety properties.
14859         * manual/errno.texi: Document MTASC-safety properties.
14861         * manual/intro.texi: Document safety identifiers and
14862         conditionals.
14864         * manual/string.texi (wcstok): Fix prototype.
14865         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
14867         * manual/time.texi: Document MTASC-safety properties.
14869         * manual/string.texi: Document MTASC-safety properties.
14871         * manual/threads.texi: Document MTASC-safety properties.
14873         * manual/stdio.texi: Document MTASC-safety properties.
14875         * manual/syslog.texi: Document MTASC-safety properties.
14877         * manual/sysinfo.texi: Document MTASC-safety properties.
14879         * manual/startup.texi: Document MTASC-safety properties.
14881         * manual/socket.texi: Document MTASC-safety properties.
14883         * manual/signal.texi: Document MTASC-safety properties.
14885 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
14887         * manual/setjmp.texi: Document MTASC-safety properties.
14889         * manual/search.texi: Document MTASC-safety properties.
14891         * manual/resource.texi: Document MTASC-safety properties.
14893         * manual/process.texi: Document MTASC-safety properties.
14895         * manual/platform.texi: Document MTASC-safety properties.
14897         * manual/pipe.texi: Document MTASC-safety properties.
14899         * manual/pattern.texi: Document MTASC-safety properties.
14901         * manual/message.texi: Document MTASC-safety properties.
14903         [BZ #12751]
14904         * manual/memory.texi: Document MTASC-safety properties.
14906         * manual/math.texi: Document MTASC-safety properties.
14908         * manual/locale.texi: Document MTASC-safety properties.
14910         * manual/llio.texi: Document MTASC-safety properties.
14912         * manual/libdl.texi: New.
14914         * manual/lang.texi: Document MTASC-safety properties.
14916         * manual/job.texi: Document MTASC-safety properties.
14918         * manual/getopt.texi: Document MTASC-safety properties.
14920         * manual/ctype.texi: Document MTASC-safety properties.
14922 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
14924         [BZ #16046]
14925         * csu/libc-tls.c (static_map): Remove variable.
14926         (__libc_setup_tls): Use main executable's link map for TLS data.
14927         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
14928         casing for LM_ID_BASE and GL(dl_nns).
14929         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
14930         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
14931         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
14932         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
14933         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
14934         member.
14935         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
14936         l_phnum members.
14938 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
14940         * manual/debug.texi: Document MTASC-safety properties.
14942 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
14944         [BZ #16510]
14945         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
14946         of __x86_64__ when disabling x87 inline functions.
14948 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
14950         * manual/charset.texi: Document MTASC-safety properties.
14952         * manual/crypt.texi: Document MTASC-safety properties.
14954         * manual/conf.texi: Document MTASC-safety properties.
14956         * manual/arith.texi: Document MTASC-safety properties.
14958         * manual/argp.texi: Document MTASC-safety properties.
14960         * manual/macros.texi: Introduce macros to document multi
14961         thread, asynchronous signal and asynchronous cancellation
14962         safety properties.
14963         * manual/intro.texi: Introduce the properties themselves.
14965 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14967         * sysdeps/sh/sh4/Makefile: New file.
14969 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
14971         * math/gen-libm-test.pl ($srcdir): New variable.
14972         ($auto_input): Use it.
14974 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14976         [BZ #16506]
14977         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
14978         access beyond array bounds when parsing netgroups file.
14980         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
14981         the old buffer before realloc.
14983 2014-01-27  Allan McRae  <allan@archlinux.org>
14985         * po/fr.po: Update French translation from translation project.
14987 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14989         * sysdeps/sh/libm-test-ulps: Regenerate.
14991 2014-01-24  David S. Miller  <davem@davemloft.net>
14993         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
14995 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14997         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
14998         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
15000 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15002         [BZ #16474]
15003         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
15004         string pointers after reallocation.
15006 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15008         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
15009         __SH4A__ instead of __SH_FPU_ANY__.
15011 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15013         * sysdeps/sh/fpu_control.h: New file.
15014         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
15015         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
15016         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
15017         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
15018         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
15019         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
15020         * sysdeps/sh/sys/ucontext.h: Remove.
15021         * sysdeps/sh/sys: Remove directory.
15023 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15025         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
15026         s390/sys/ucontext.h.
15027         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
15028         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
15030 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
15032         [BZ #15605]
15033         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
15035 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15037         [BZ#16431]
15038         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15039         Adjust the vDSO correctly for internal calls.
15040         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
15042 2014-01-20  Allan McRae  <allan@archlinux.org>
15044         * po/ca.po: Update Catalan translation from translation project.
15046 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
15048         * sysdeps/s390/sotruss-lib.c: New file.
15050 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15052         [BZ#16430]
15053         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
15054         (__GI___gettimeofday): Alias for a different internal symbol to avoid
15055         local calls issues by not having a PLT stub required for IFUNC calls.
15056         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
15058 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
15060         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
15061         * math/test-fpucw-static.c: Likewise.
15063 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15065         [BZ #16453]
15066         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
15068 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15070         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
15071         implementation for powerpc.
15073 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
15075         [BZ #14782]
15076         * sysdeps/posix/system.c (__libc_system): Do not enable
15077         asynchronous cancellation.
15079 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15081         [BZ #16427]
15082         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
15083         handling only for numbers special also in the IEEE case.
15085 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15087         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15089 2014-01-11  Allan McRae  <allan@archlinux.org>
15091         * po/bg.po: Update Bulgarian translation from translation project.
15093         * po/de.po: Update German translation from translation project.
15095 2014-01-10  Roland McGrath  <roland@hack.frob.com>
15097         * sysdeps/generic/gcc-compat.h: New file.
15099 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15101         * benchtests/asin-inputs: Correct slow inputs.
15102         * benchtests/acos-inputs: Likewise.
15104 2014-01-10  Allan McRae  <allan@archlinux.org>
15106         * po:sv.po: Update Swedish translation from translation project.
15108         * po/vi.po: Update Vietnamese translation from translation project.
15110         * po/eo.po: Update Esperanto translation from translation project.
15112         * po/cs.po: Update Czech translation from translation project.
15114         * po/nl.po: Update Dutch translation from translation project.
15116         * po/pl.po: Update Polish translation from translation project.
15118         * po/ru.po: Update Russian translation from translation project.
15120         * po/uk.po: Update Ukrainian translation from translation project.
15122 2014-01-08  Brooks Moses  <bmoses@google.com>
15124         * elf/dl-load.c: Fix comment typo.
15126 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
15128         * po/header.pot: Rename to...
15129         * po/pot.header: ... this.
15130         * po/Makefile: Use pot.header.
15132 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
15133             Maxim Kuvyrkov  <maxim@kugelworks.com>
15135         [BZ #16394]
15136         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
15137         SRC and DEST against LEN.
15139 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15141         [BZ #16414]
15142         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
15143         implementation.
15144         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
15146 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15148         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15150 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
15152         [BZ #16408]
15153         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
15154         for large positive arguments.
15156 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
15158         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15160         * math/auto-libm-test-in: Mark various tests with
15161         xfail-rounding:ldbl-128ibm.
15162         * math/auto-libm-test-out: Regenerated.
15164         [BZ #16407]
15165         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
15166         Increase overflow threshold.
15168 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
15170         [BZ #14286]
15171         * stdio-common/vfprintf.c: Check for integer overflow.
15173 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15175         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
15176         the first argument and return value of __tls_get_addr_internal.
15178 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15180         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
15181         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
15183 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15185         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
15186         * sysdeps/s390/rtld-global-offsets.sym: New file.
15187         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
15188         GLIBC_2.19 symbol.
15189         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
15190         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
15191         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
15192         ... this.
15193         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
15194         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
15195         ... this.
15196         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15197         Regenerate.
15198         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15199         Regenerate.
15200         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
15201         halfs of GPRs for high_gprs contexts.
15202         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
15203         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
15204         field.
15205         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
15206         uc_flags field.
15207         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
15208         64 bit versions:
15209         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
15210         for high GPRs (uc_high_gprs) and for future extensions
15211         (__reserved).
15212         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
15213         for future extensions (__reserved).
15214         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
15215         64 bit versions:
15216         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
15217         SC_HIGHGPRS offset definition.
15218         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
15219         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
15221         * Versions.def: Add GLIBC_2.19 for libpthread.
15222         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
15223         siglongjmp for libpthread with GLIBC_2.19 symver.
15224         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
15225         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
15226         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
15227         * sysdeps/s390/__longjmp.c: New file.
15228         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
15229         * sysdeps/s390/longjmp.c: New file.
15230         * sysdeps/s390/setjmp.S: New file.
15231         * sysdeps/s390/sigjmp.S: New file.
15232         * sysdeps/s390/v1-longjmp.c: New file.
15233         * sysdeps/s390/v1-setjmp.h: New file.
15234         * sysdeps/s390/v1-sigjmp.c: New file.
15235         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
15236         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
15237         GLIBC_2.19 version.
15238         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
15239         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
15240         versioned symbols for ____longjmp_chk.
15241         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
15242         Likewise.
15243         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15244         Regenerate.
15245         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15246         Regenerate.
15247         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15248         Regenerate.
15249         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15250         Regenerate.
15251         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
15252         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
15253         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
15254         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
15255         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
15256         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
15257         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
15258         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
15259         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
15260         * sysdeps/s390/rtld-__longjmp.c: New file.
15261         * sysdeps/s390/rtld-setjmp.S: New file.
15263 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
15265         [BZ #16400]
15266         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15267         Return -__logl (x) for small positive arguments without evaluating
15268         a polynomial.
15270 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
15272         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
15273         Rename to ...
15274         (__ptrace_peeksiginfo_args): ... this.
15275         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15276         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15277         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15279 2014-01-06  Allan McRae  <allan@archlinux.org>
15281         * inet/netinet/in.h: Fix typo in comment.
15283 2014-01-05  Andreas Jaeger  <aj@suse.de>
15285         * sysdeps/i386/fpu/libm-test-ulps: Update.
15287 2014-01-05  Allan McRae  <allan@archlinux.org>
15289         * po/libc.pot: Regenerated.
15291         * malloc/memusagestat.c: Fix gettext call formatting.
15293 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
15295         * nscd/nscd.c: Improve usage() output.
15297 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
15299         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
15300         * sysdeps/unix/sysv/linux/configure: Regenerated.
15301         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
15302         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
15304 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
15306         [BZ #16390]
15307         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15308         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
15310 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15312         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
15313         extra tokens at end of #undef directive.
15314         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
15315         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
15316         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
15318 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
15320         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15322         * math/auto-libm-test-in: Mark various tests with
15323         xfail-rounding:ldbl-128ibm.
15324         * math/auto-libm-test-out: Regenerated.
15326 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
15328         [BZ #16386]
15329         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
15330         numbers with subnormal high part when calculating exponent.
15332         [BZ #16385]
15333         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
15334         fabs.
15336         [BZ #16384]
15337         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
15338         M_LN2l.
15339         (__ieee754_acoshl): Use __log1pl not __log1p.
15341 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
15343         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
15344         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
15345         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
15346         (grow_heap, heap_trim, _int_new_arena, get_free_list)
15347         (reused_arena, arena_get2): Convert to GNU style.
15348         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
15349         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
15350         (memalign_check, __malloc_set_state): Likewise.
15351         * malloc/mallocbug.c (main): Likewise.
15352         * malloc/malloc.c (__malloc_assert, malloc_init_state)
15353         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
15354         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
15355         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
15356         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
15357         (__posix_memalign, malloc_info): Likewise.
15358         * malloc/malloc.h: Likewise.
15359         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
15360         (mallochook, memalignhook, reallochook, mabort): Likewise.
15361         * malloc/mcheck.h: Likewise.
15362         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
15363         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
15364         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
15365         * malloc/morecore.c (__default_morecore): Likewise.
15366         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
15367         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
15368         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
15369         (print_and_abort): Likewise.
15370         * malloc/obstack.h: Likewise.
15371         * malloc/set-freeres.c (__libc_freeres): Likewise.
15372         * malloc/tst-mallocstate.c (main): Likewise.
15373         * malloc/tst-mtrace.c (main): Likewise.
15374         * malloc/tst-realloc.c (do_test): Likewise.
15376 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15378         [BZ #16366]
15379         * nscd/netgroupcache.c (do_notfound): New function.
15380         (addgetnetgrentX): Use it.
15382         [BZ # 16365]
15383         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
15384         NSS_STATUS_NOTFOUND.
15386 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
15388         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15391 2014-01-01  Allan McRae  <allan@archlinux.org>
15393         * scripts/update-copyrights: Update configure input file suffix.
15395         * NEWS: Update copyright year.
15396         * catgets/gencat.c: Likewise.
15397         * csu/version.c: Likewise.
15398         * debug/catchsegv.sh: Likewise.
15399         * debug/pcprofiledump.c: Likewise.
15400         * debug/xtrace.sh: Likewise.
15401         * elf/ldconfig.c: Likewise.
15402         * elf/ldd.bash.in: Likewise.
15403         * elf/pldd.c: Likewise.
15404         * elf/sotruss.ksh: Likewise.
15405         * elf/sprof.c: Likewise.
15406         * iconv/iconv_prog.c: Likewise.
15407         * iconv/iconvconfig.c: Likewise.
15408         * locale/programs/locale.c: Likewise.
15409         * locale/programs/localedef.c: Likewise.
15410         * login/programs/pt_chown.c: Likewise.
15411         * malloc/memusage.sh: Likewise.
15412         * malloc/memusagestat.c: Likewise.
15413         * malloc/mtrace.pl: Likewise.
15414         * manual/libc.texinfo: Likewise.
15415         * nscd/nscd.c: Likewise.
15416         * nss/getent.c: Likewise.
15417         * nss/makedb.c: Likewise.
15418         * posix/getconf.c: Likewise.
15419         * scripts/test-installation.pl: Likewise.
15421         * All files with FSF copyright notices: Update copyright dates
15422         using scripts/update-copyrights.
15423         * intl/plural.c: Regenerated.
15424         * locale/programs/charmap-kw.h: Likewise.
15425         * locale/programs/locfile-kw.h: Likewise.
15427 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
15429         * sysdeps/unix/sysv/linux/configure: Regenerated.
15430         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
15431         the linux/fanotify.h header.
15432         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
15433         HAVE_LINUX_FANOTIFY_H is defined.
15435 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
15437         * benchtests/cos-inputs: New inputs.
15438         * benchtests/sin-inputs: Likewise.
15440         * benchtests/atan-inputs: New inputs. Fix name of multiple
15441         precision fallback inputs.
15443         * benchtests/atanh-inputs: New inputs.
15444         * benchtests/tanh-inputs: Likewise.
15446         * benchtests/acosh-inputs: New inputs.
15447         * benchtests/asinh-inputs: Likewise.
15449         * benchtests/cosh-inputs: New inputs.
15450         * benchtests/sinh-inputs: Likewise.
15452         * benchtests/acos-inputs: Add more inputs.
15453         * benchtests/asin-inputs: Likewise.
15455 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
15457         [BZ #16375]
15458         * manual/arith.texi: Fix spelling.
15459         * manual/charset.texi: Likewise.
15460         * manual/errno.texi: Likewise.
15461         * manual/filesys.texi: Likewise.
15462         * manual/lang.texi: Likewise.
15463         * manual/llio.texi: Likewise.
15464         * manual/locale.texi: Likewise.
15465         * manual/message.texi: Likewise.
15466         * manual/resource.texi: Likewise.
15467         * manual/search.texi: Likewise.
15468         * manual/setjmp.texi: Likewise.
15469         * manual/stdio.texi: Likewise.
15470         * manual/string.texi: Likewise.
15471         * manual/sysinfo.texi: Likewise.
15472         * manual/time.texi: Likewise.
15474 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
15476         * po/sl.po: New file.
15478 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
15480         * .gitignore: Add core/.gdbinit/.gdb_history.
15482 2013-12-27  Allan McRae  <allan@archlinux.org>
15484         [BZ #16369]
15485         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
15486         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
15488 2013-12-24  Brooks Moses  <bmoses@google.com>
15490         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
15491         all compilers that claim C++98 compliance, not just GCC.
15492         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
15493         Likewise.
15495 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
15497         * NEWS: Restore accidentally deleted bug-fix entries.
15499 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
15500             Ondřej Bílka  <neleai@seznam.cz>
15502         [BZ #15073]
15503         * malloc/malloc.c (_int_free): Perform sanity check only if we
15504         have_lock.
15506 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
15508         [BZ #12986]
15509         * manual/stdio.texi (String Input Conversions): Clarify that character
15510         classes are not supported.
15512 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15514         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15516 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
15518         [BZ #16337]
15519         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15520         Calculate results for small negative arguments directly rather
15521         than using reflection formula with special underflow handling.
15523         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
15524         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
15525         sysdeps/unix/bsd/bsd4.4/syscalls.list.
15526         (fchflags): Likewise.
15527         (revoke): Likewise.
15528         (setlogin): Likewise.
15529         (sigaltstack): Likewise.
15530         (wait4): Likewise.
15531         (sigblock): Remove.
15532         (sigsetmask): Likewise.
15533         (wait3): Likewise.
15534         (waitpid): Likewise.
15535         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
15536         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
15537         file.
15538         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
15539         * sysdeps/unix/bsd/Makefile: ... here.
15540         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
15541         * sysdeps/unix/bsd/Versions: ... here.
15542         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
15543         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
15544         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
15545         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
15546         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
15547         * sysdeps/unix/bsd/sigblock.c: ... here.
15548         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
15549         * sysdeps/unix/bsd/sigsetmask.c: ... here.
15550         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
15551         * sysdeps/unix/bsd/sigvec.c: ... here.
15552         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
15553         * sysdeps/unix/bsd/tcdrain.c: ... here.
15554         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
15555         * sysdeps/unix/bsd/tcgetattr.c: ... here.
15556         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
15557         * sysdeps/unix/bsd/tcsetattr.c: ... here.
15558         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
15559         * sysdeps/unix/bsd/wait.c: ... here.
15560         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
15561         * sysdeps/unix/bsd/wait3.c: ... here.
15562         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
15563         * sysdeps/unix/bsd/waitpid.c: ... here.
15565 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
15567         [BZ #16356]
15568         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
15569         round-to-nearest for [!USE_AS_EXPM1L].
15570         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
15571         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
15572         more tests of exp and exp10.  Expect some exp10 tests to miss
15573         exceptions or fail in directed rounding modes.
15574         * math/auto-libm-test-out: Regenerated.
15575         * math/libm-test.inc (exp10_tonearest_test_data): New array.
15576         (exp10_test_tonearest): New function.
15577         (exp10_towardzero_test_data): New array.
15578         (exp10_test_towardzero): New function.
15579         (exp10_downward_test_data): New array.
15580         (exp10_test_downward): New function.
15581         (exp10_upward_test_data): New array.
15582         (exp10_test_upward): New function.
15583         (main): Call the new functions.
15584         * sysdeps/i386/fpu/libm-test-ulps: Update.
15585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15587 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
15589         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15590         asinh, atan, atan2, atanh, cbrt, cos and cosh.
15591         * math/auto-libm-test-out: Regenerated.
15592         * math/libm-test.inc (acosh_test_data): Add more tests.
15593         (atanh_test_data): Likewise.
15594         (ceil_test_data): Likewise.
15595         (copysign_test_data): Likewise.
15596         * sysdeps/i386/fpu/libm-test-ulps: Update.
15597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15599         * timezone/checktab.awk: Update from tzcode 2013i.
15600         * timezone/private.h: Likewise.
15601         * timezone/scheck.c: Likewise.
15602         * timezone/tzfile.h: Likewise.
15603         * timezone/tzselect.ksh: Likewise.
15604         * timezone/zdump.c: Likewise.
15605         * timezone/zic.c: Likewise.
15607         * math/auto-libm-test-in: Add tests of cpow.
15608         * math/auto-libm-test-out: Regenerated.
15609         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
15610         * math/gen-auto-libm-tests.c (func_calc_method): Add value
15611         mpc_cc_c.
15612         (func_calc_desc): Add mpc_cc_c union field.
15613         (test_functions): Add cpow.
15614         (special_fill_2pi): New function.
15615         (special_real_inputs): Add 2pi.
15616         (calc_generic_results): Handle mpc_cc_c.
15617         * sysdeps/i386/fpu/libm-test-ulps: Update.
15618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15620         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
15621         csqrt, ctan and ctanh.
15622         * math/auto-libm-test-out: Regenerated.
15623         * math/libm-test.inc (TEST_COND_x86_64): New macro.
15624         (TEST_COND_x86): Likewise.
15625         (ccos_test_data): Use AUTO_TESTS_c_c.
15626         (ccosh_test_data): Likewise.
15627         (cexp_test_data): Likewise.
15628         (clog_test_data): Likewise.
15629         (csqrt_test_data): Likewise.
15630         (ctan_test_data): Likewise.
15631         (ctan_tonearest_test_data): Likewise.
15632         (ctan_towardzero_test_data): Likewise.
15633         (ctan_downward_test_data): Likewise.
15634         (ctan_upward_test_data): Likewise.
15635         (ctanh_test_data): Likewise.
15636         (ctanh_tonearest_test_data): Likewise.
15637         (ctanh_towardzero_test_data): Likewise.
15638         (ctanh_downward_test_data): Likewise.
15639         (ctanh_upward_test_data): Likewise.
15640         * math/gen-auto-libm-tests.c (func_calc_method): Add value
15641         mpc_c_c.
15642         (func_calc_desc): Add mpc_c_c union field.
15643         (FUNC_mpc_c_c): New macro.
15644         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
15645         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
15646         ctanh.
15647         (special_fill_min_subnorm_p120): New function.
15648         (special_real_inputs): Add min_subnorm_p120.
15649         (calc_generic_results): Handle mpc_c_c.
15650         * sysdeps/i386/fpu/libm-test-ulps: Update.
15651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15653 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
15655         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
15656         (do_sin_slow): New functions.
15657         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
15658         (cslow2, csloww1, csloww2): Use the new functions.
15660         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
15661         Use M to change sign of result instead of X.  Assume X is
15662         positive.
15663         (csloww1): Likewise.
15664         (__sin): Adjust.
15665         (__cos): Adjust.
15667         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
15668         arguments A and DA.
15669         (__sin): Adjust.
15670         (__cos): Likewise.
15672         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
15673         (__cos): Likewise.
15674         (sloww1): Don't adjust sign of DX.
15675         (csloww1): Likewise.
15676         (sloww2): Use X directly and don't adjust sign of DX.
15677         (csloww2): Likewise.
15679 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
15681         * math/auto-libm-test-in: Add tests of cabs and carg.
15682         * math/auto-libm-test-out: Regenerated.
15683         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
15684         (carg_test_data): Likewise.
15685         * math/gen-auto-libm-tests.c (func_calc_method): Add value
15686         mpc_c_f.
15687         (func_calc_desc): Add mpc_c_f union field.
15688         (test_functions): Add cabs and carg.
15689         (calc_generic_results): Handle mpc_c_f.
15691         * sysdeps/powerpc/powerpc32/libgcc-compat.S
15692         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
15693         as a macro and a compat symbol.
15694         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
15695         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
15696         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
15697         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
15698         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
15699         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
15700         not use .hidden.
15701         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
15702         Likewise.
15703         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
15704         Likewise.
15705         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
15706         Likewise.
15707         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
15708         Likewise.
15709         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
15710         Likewise.
15711         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
15712         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
15713         from GLIBC_2.3.2.
15715 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15717         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15719 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
15721         * manual/texinfo.tex: Update to version 2013-11-26.10 with
15722         trailing whitespace removed.
15723         * scripts/config.guess: Update to version 2013-11-29.
15724         * scripts/config.sub: Update to version 2013-10-01.
15726         * math/auto-libm-test-in: Add tests of sincos.
15727         * math/auto-libm-test-out: Regenerated.
15728         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
15729         * math/gen-auto-libm-tests.c (func_calc_method): Add value
15730         mpfr_f_11.
15731         (func_calc_desc): Add mpfr_f_11 union field.
15732         (test_functions): Add sincos.
15733         (calc_generic_results): Handle mpfr_f_11.
15734         * sysdeps/i386/fpu/libm-test-ulps: Update.
15735         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15737 2013-12-19  Andreas Schwab  <schwab@suse.de>
15739         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
15740         CALL_MCOUNT.
15741         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
15742         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
15743         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
15745 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
15747         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
15748         * sysdeps/i386/fpu/libm-test-ulps: Update.
15749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15751         [BZ #16293]
15752         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
15753         round-to-nearest mode when using frndint.
15754         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
15755         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15756         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15757         Likewise.
15758         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
15759         sinh test to fail.
15760         * math/auto-libm-test-out: Regenerated.
15761         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
15762         (TEST_COND_x86): Likewise.
15763         (expm1_tonearest_test_data): New array.
15764         (expm1_test_tonearest): New function.
15765         (expm1_towardzero_test_data): New array.
15766         (expm1_test_towardzero): New function.
15767         (expm1_downward_test_data): New array.
15768         (expm1_test_downward): New function.
15769         (expm1_upward_test_data): New array.
15770         (expm1_test_upward): New function.
15771         (main): Run the new test functions.
15772         * sysdeps/i386/fpu/libm-test-ulps: Update.
15773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15775         * include/features.h: Update comment documenting feature test
15776         macros.  Mention _DEFAULT_SOURCE in comment.
15777         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
15778         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
15779         _BSD_SOURCE and _SVID_SOURCE.
15780         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
15781         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
15782         !_SVID_SOURCE]: Likewise.
15783         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15784         (__USE_POSIX_IMPLICITLY): Define.
15785         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15786         (_POSIX_SOURCE): Undefine and redefine.
15787         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15788         (_POSIX_C_SOURCE): Likewise.
15789         * manual/creature.texi (_DEFAULT_SOURCE): Document.
15790         (Feature Test Macros): Update documentation of default features.
15792 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15794         * benchtests/Makefile: Add bench-strtok.
15795         * benchtests/bench-strtok.c: New file: strtok benchtest.
15797 2013-12-19  Allan McRae  <allan@archlinux.org>
15799         * manual/install.texi: Suppress menu for plain text output.
15800         * INSTALL: Regenerated.
15802 2013-12-18  Brooks Moses  <bmoses@google.com>
15804         [BZ #15846]
15805         * misc/getauxval.c: Include errno.h.
15806         (__getauxval): Set errno to ENOENT if the requested type is not
15807         found.
15808         * misc/sys/auxv.h (getauxval): Document that it may set errno;
15809         don't declare with __attribute_const__.
15810         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
15811         * manual/startup.texi: Document that getauxval sets errno.
15813 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
15815         * math/auto-libm-test-in: Add tests of jn and yn.
15816         * math/auto-libm-test-out: Regenerated.
15817         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
15818         (yn_test_data): Likewise.
15819         * math/gen-auto-libm-tests.c (func_calc_method): Add value
15820         mpfr_if_f.
15821         (func_calc_desc): Add mpfr_if_f union field.
15822         (FUNC_mpfr_if_f): New macro.
15823         (test_functions): Add jn and yn.
15824         (calc_generic_results): Assert type of second input for
15825         mpfr_ff_f.  Handle mpfr_if_f.
15826         (output_for_one_input_case): Disable all checking for arguments
15827         fitting floating-point types in case of an integer argument.
15828         * sysdeps/i386/fpu/libm-test-ulps: Update.
15829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15832         Don't expect fegetround reference in libm.so.
15834 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15836         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
15837         $(config-cflags-nofma).
15839 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
15841         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
15842         * math/auto-libm-test-out: Regenerated.
15844         [BZ #16338]
15845         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
15846         to determine exponent and adjust argument to have exponent of -1.
15847         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
15848         log2.
15849         * math/auto-libm-test-out: Regenerated.
15850         * sysdeps/i386/fpu/libm-test-ulps: Update.
15851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15853 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
15855         * manual/probes.texi: Remove cases when per-thread arenas are
15856         disabled.
15858 2013-12-18  Andreas Schwab  <schwab@suse.de>
15860         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
15861         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
15862         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
15863         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
15864         * sysdeps/i386/i686/multiarch/Makefile: Update.
15865         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
15867 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
15869         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
15870         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
15872 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
15874         [BZ #15968]
15875         Support TZ transition times < 00:00:00.
15876         This is needed for version-3 tz-format files; it supports time
15877         stamps past 2037 for America/Godthab (the only entry in the tz
15878         database for which this change is relevant).
15879         * manual/time.texi (TZ Variable): Document transition times
15880         from -167:59:59 through -00:00:01.
15881         * time/tzset.c (tz_rule): Time of day is now signed.
15882         (__tzset_parse_tz): Parse negative time of day.
15884         Document TZ transition times >= 25:00:00.
15885         * manual/time.texi (TZ Variable): Document transition times from
15886         25:00:00 through 167:59:59.  These are already supported, and this
15887         support will help with version-3 tz-format files.
15889         * manual/time.texi (TZ Variable): Modernize North America example
15890         to reflect current (i.e., 2007-and-later) daylight saving rules.
15892         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
15894 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
15896         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
15897         * sysdeps/unix/bsd/bits/stat.h: Likewise.
15898         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
15899         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
15900         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
15901         * sysdeps/unix/bsd/bsdstat.h: Likewise.
15902         * sysdeps/unix/bsd/clock.c: Likewise.
15903         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
15904         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
15905         * sysdeps/unix/bsd/init-posix.c: Likewise.
15906         * sysdeps/unix/bsd/poll.c: Likewise.
15907         * sysdeps/unix/bsd/ptsname.c: Likewise.
15908         * sysdeps/unix/bsd/seekdir.c: Likewise.
15909         * sysdeps/unix/bsd/setegid.c: Likewise.
15910         * sysdeps/unix/bsd/seteuid.c: Likewise.
15911         * sysdeps/unix/bsd/setgid.c: Likewise.
15912         * sysdeps/unix/bsd/setrgid.c: Likewise.
15913         * sysdeps/unix/bsd/setruid.c: Likewise.
15914         * sysdeps/unix/bsd/setsid.c: Likewise.
15915         * sysdeps/unix/bsd/setuid.c: Likewise.
15916         * sysdeps/unix/bsd/sigaction.c: Likewise.
15917         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
15918         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
15919         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
15920         * sysdeps/unix/bsd/telldir.c: Likewise.
15921         * sysdeps/unix/bsd/times.c: Likewise.
15922         * sysdeps/unix/bsd/usleep.c: Likewise.
15924         * misc/Makefile (install-lib): Remove libbsd-compat.a.
15925         ($(objpfx)libbsd-compat.a): Remove rule.
15927         * include/features.h (__FAVOR_BSD): Do not define.
15928         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
15929         features conflicting with POSIX.
15930         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
15931         (_BSD_SOURCE): Remove description of not being a subset of other
15932         feature test macros.
15933         * manual/job.texi (getpgrp): Do not document BSD version.
15934         (getpgid): Do not document by reference to BSD getpgrp.
15935         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
15936         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
15937         * signal/signal.h [__FAVOR_BSD]: Likewise.
15938         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
15939         instead of making contents conditional on [__FAVOR_BSD].
15940         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
15942 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15944         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15946 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
15948         [BZ #16314]
15949         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
15950         values below 2**-450, not 2**-500.
15951         * math/auto-libm-test-in: Don't allow spurious underflow from
15952         hypot.
15953         * math/auto-libm-test-out: Regenerated.
15955         [BZ #16316]
15956         [BZ #16330]
15957         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
15958         values of ha and hb and sort them after adjusting subnormal
15959         arguments.
15960         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
15961         Likewise.
15962         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
15963         values of ea and eb and sort them after adjusting subnormal
15964         arguments.
15965         * math/auto-libm-test-in: Do not expect some hypot tests of
15966         subnormals to fail.  Add more hypot tests.
15967         * math/auto-libm-test-out: Regenerated.
15969 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15971         [BZ #13304]
15972         * sysdeps/sh/s_fma.c: New file.
15973         * sysdeps/sh/s_fmaf.c: New file.
15974         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
15975         version.
15976         * sysdeps/sh/Implies: Add sh/soft-fp.
15978 2013-12-16  Roland McGrath  <roland@hack.frob.com>
15980         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
15981         level of indirection to members `objname', `errstring', `malloced'.
15982         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
15983         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
15984         it as the __longjmp argument (just pass 1 instead).
15985         (_dl_catch_error): Initialize C with argument pointers and address of
15986         volatile local ERRCODE rather than copying values out of C at return.
15988 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
15990         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
15991         * math/auto-libm-test-out: Regenerated.
15992         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
15993         (hypot_test_data): Likewise.
15994         (pow_test_data): Likewise.
15995         (pow_tonearest_test_data): Likewise.
15996         * math/gen-auto-libm-tests.c (func_calc_method): Add value
15997         mpfr_ff_f.
15998         (func_calc_desc): Add mpfr_ff_f union field.
15999         (FUNC_mpfr_ff_f): New macro.
16000         (test_functions): Add atan2, hypot and pow.
16001         (special_fill_min): New function.
16002         (special_fill_minus_min): Likewise.
16003         (special_fill_min_subnorm): Likewise.
16004         (special_fill_minus_min_subnorm): Likewise.
16005         (special_real_inputs): Add min, -min, min_subnorm and
16006         -min_subnorm.
16007         (calc_generic_results): Handle mpfr_ff_f.
16008         * sysdeps/i386/fpu/libm-test-ulps: Update.
16009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16011 2013-12-16  Will Newton  <will.newton@linaro.org>
16013         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
16014         (Aligned Memory Blocks): Add documentation for aligned_alloc
16015         and suggest it as an alternative to posix_memalign.
16016         (Hooks for Malloc): Document __memalign_hook is also called
16017         for aligned_alloc.  (Summary of Malloc): Add summary for
16018         aligned alloc.  Document __memalign_hook is also called
16019         for aligned_alloc.
16021 2013-12-16  Will Newton  <will.newton@linaro.org>
16023         * manual/memory.texi (Malloc Examples): Clarify default
16024         alignment documentation.  Suggest posix_memalign rather
16025         than memalign or valloc.
16026         (Aligned Memory Blocks): Remove suggestion to use memalign
16027         or valloc.  Remove obsolete comment about BSD.
16028         Document memalign errno values and mark the function obsolete.
16029         Document posix_memalign returned error codes.  Mark valloc
16030         as obsolete.  (Hooks for Malloc): __memalign_hook is also
16031         called for posix_memalign and valloc.
16032         (Summary of Malloc): Add posix_memalign to function summary.
16033         __memalign_hook is also called for posix_memalign and valloc.
16035 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16037         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
16038         TAYLOR_SIN.
16039         (__sin): Adjust.
16040         (__cos): Likewise.
16041         (sloww): Use mynumber union.  Expand ternary operator into
16042         if-else statements.
16043         (cslow): use mynumber union.
16045 2013-12-16  Allan McRae  <allan@archlinux.org>
16047         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
16048         * configure: Regenerated.
16050         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
16052         [BZ #14120]
16053         * configure.ac: Added --enable-maintainer-mode. Check for
16054         autoconf when enabled.
16055         * configure: Regenerated.
16057         * nscd/nscd.service: New file.
16058         * nscd/nscd.tmpfiles: New file.
16060 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
16062         [BZ #12100]
16063         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
16064         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
16065         * sysdeps/x86_64/multiarch/strstr.c: ... here.
16066         (strstr): Add __strstr_sse2_unaligned ifunc.
16067         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
16068         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
16069         (strcasestr): Remove __strcasestr_sse42 ifunc.
16070         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
16071         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16072         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16074 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16076         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
16077         * sysdeps/sh/bits/fenv.h: ... here.
16078         * sysdeps/sh/sh4/fpu/bits: Remove directory.
16080 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16082         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
16084         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
16085         hypotf multiarch implementations.
16086         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
16087         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
16088         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
16089         multiarch hypot for PPC64.
16090         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
16091         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
16092         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
16093         multiarch hypotf for PPC64.
16095         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
16096         modff multiarch implementations.
16097         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
16098         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
16099         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
16100         multiarch modf for PPC64.
16101         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
16102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
16103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
16104         multiarch modff for PPC64.
16106         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
16107         and logl multiarch implementations.
16108         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
16109         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
16110         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
16111         multiarch logb for PPC64.
16112         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
16113         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
16114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
16115         multiarch logb for PPC64.
16116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
16117         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
16118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
16119         multiarch logb for PPC64.
16121         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
16122         isinff multiarch implementation.
16123         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
16124         file.
16125         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
16126         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
16127         multiarch isinf for PPC64.
16128         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
16129         file.
16130         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
16131         multiarch isinff for PPC64.
16133         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
16134         finitef multiarch implementation.
16135         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
16136         file.
16137         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
16138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
16139         multiarch finite for PPC64.
16140         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
16141         file.
16142         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
16143         multiarch finitef for PPC64.
16145         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
16146         lrint multiarch implementation.
16147         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
16148         file.
16149         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
16150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
16151         multiarch llrint for PPC64.
16152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
16153         multiarch lrint for PPC64.
16155         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
16156         copysignf multiarch implementation.
16157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
16158         file.
16159         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
16160         file.
16161         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
16162         multiarch copysign for PPC64.
16163         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
16164         multiarch copysignf for PPC64.
16166         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
16167         multiarch implementation.
16168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
16169         file.
16170         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
16171         file.
16172         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
16173         file.
16174         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
16175         file.
16176         multiarch llround for PPC64.
16177         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
16178         multiarch trunc for PPC64.
16179         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
16180         multiarch truncf for PPC64.
16182         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
16183         multiarch implementation.
16184         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
16185         file.
16186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
16187         file.
16188         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
16189         file.
16190         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
16191         file.
16192         multiarch llround for PPC64.
16193         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
16194         multiarch round for PPC64.
16195         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
16196         multiarch roundf for PPC64.
16198         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
16199         multiarch implementation.
16200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
16201         file.
16202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
16203         file.
16204         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
16205         file.
16206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
16207         file.
16208         multiarch llround for PPC64.
16209         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
16210         multiarch floor for PPC64.
16211         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
16212         multiarch floorf for PPC64.
16214         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
16215         multiarch implementation.
16216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
16217         file.
16218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
16219         file.
16220         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
16221         file.
16222         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
16223         file.
16224         multiarch llround for PPC64.
16225         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
16226         multiarch ceil for PPC64.
16227         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
16228         multiarch ceilf for PPC64.
16230         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16231         multiarch implementation.
16232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
16233         file.
16234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
16235         file.
16236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
16237         file.
16238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
16239         multiarch llround for PPC64.
16240         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
16241         multiarch lround for PPC64.
16243         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16244         multiarch implementation.
16245         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
16246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
16247         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
16248         file.
16249         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
16250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
16251         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
16252         multiarch isnan for PPC64.
16253         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
16254         multiarch isnanf for PPC64.
16256         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
16257         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
16258         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
16259         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
16260         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
16261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
16263         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
16264         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16265         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16266         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16268         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
16269         multiarch implementations.
16270         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16271         (__libc_ifunc_impl_list): Likewise.
16272         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
16273         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
16274         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
16275         multiarch stpcpy for PPC64.
16277         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
16278         multiarch implementations.
16279         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16280         (__libc_ifunc_impl_list): Likewise.
16281         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
16282         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
16283         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
16284         multiarch strcpy for PPC64.
16286         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
16287         redefine function name.
16288         (_wordcopy_fwd_dest_aligned): Likewise.
16289         (_wordcopy_bwd_aligned): Likewise.
16290         (_wordcopy_bwd_dest_aligned): Likewise.
16291         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
16292         multiarch implementations.
16293         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16294         (__libc_ifunc_impl_list): Likewise.
16295         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
16296         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
16297         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
16298         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
16299         multiarch wcscpy for PPC64.
16301         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
16302         multiarch implementations.
16303         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16304         (__libc_ifunc_impl_list): Likewise.
16305         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
16306         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
16307         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
16308         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
16309         multiarch wcscpy for PPC64.
16311         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
16312         multiarch implementations.
16313         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16314         (__libc_ifunc_impl_list): Likewise.
16315         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
16316         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
16317         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
16318         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
16319         multiarch wcsrchr for PPC64.
16321         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
16322         multiarch implementations.
16323         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16324         (__libc_ifunc_impl_list): Likewise.
16325         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
16326         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
16327         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
16328         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
16329         multiarch wcschr for PPC64.
16331         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
16332         multiarch implementations.
16333         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16334         (__libc_ifunc_impl_list): Likewise.
16335         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
16336         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
16337         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
16338         multiarch strchrnul for PPC64.
16340         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
16341         implementations.
16342         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16343         (__libc_ifunc_impl_list): Likewise.
16344         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
16345         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
16346         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
16347         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
16348         strchr for PPC64.
16350         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
16351         implementations.
16352         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16353         (__libc_ifunc_impl_list): Likewise.
16354         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
16355         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
16356         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
16357         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
16358         strncmp for PPC64.
16360         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
16361         multiarch implementations.
16362         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16363         (__libc_ifunc_impl_list): Likewise.
16364         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
16365         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
16366         strncasecmp for PPC64.
16367         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
16368         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
16369         multiarch strncasecmp_l for PPC64.
16371         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
16372         multiarch implementations.
16373         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16374         (__libc_ifunc_impl_list): Likewise.
16375         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
16376         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
16377         multiarch strcasecmp for PPC64.
16378         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
16379         file.
16380         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
16381         multiarch strcasecmp_l for PPC64.
16383         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
16384         implementations.
16385         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16386         (__libc_ifunc_impl_list): Likewise.
16387         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
16388         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
16389         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
16390         strnlen for PPC64.
16392         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
16393         implementations.
16394         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16395         (__libc_ifunc_impl_list): Likewise.
16396         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
16397         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
16398         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
16399         strlen for PPC64.
16401         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
16402         implementations.
16403         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16404         (__libc_ifunc_impl_list): Likewise.
16405         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
16406         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
16407         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
16408         rawmemrchr for PPC64.
16410         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
16411         implementation.
16412         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16413         (__libc_ifunc_impl_list): Likewise.
16414         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
16415         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
16416         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
16417         memrchr for PPC64.
16419         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
16420         implementation.
16421         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16422         (__libc_ifunc_impl_list): Likewise.
16423         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
16424         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
16425         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
16426         memchr for PPC64.
16428         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
16429         implementation.
16430         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16431         (__libc_ifunc_impl_list): Likewise.
16432         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
16433         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
16434         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
16435         mempcpy for PPC64.
16437         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
16438         avoid cretion of __bzero symbol.
16439         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
16440         Likewise.
16441         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
16442         Likewise.
16443         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
16444         Likewise.
16445         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
16446         multiarch implementations.
16447         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16448         (__libc_ifunc_impl_list): Likewise.
16449         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
16450         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
16451         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
16452         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
16453         bzero for PPC32.
16454         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
16455         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
16456         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
16457         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
16458         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
16459         memset for PPC64.
16460         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
16462         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
16463         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
16464         implementations.
16465         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16466         (__libc_ifunc_impl_list): Likewise.
16467         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
16468         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
16469         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
16470         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
16471         memcmp for PPC64.
16473         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
16474         multiarch for POWER/PPC64.
16475         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
16476         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
16477         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
16478         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
16479         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
16480         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
16481         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
16482         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
16483         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
16484         memcpy for PPC64.
16486         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
16487         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
16488         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
16489         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
16490         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
16491         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
16492         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
16493         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
16494         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
16495         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
16496         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
16497         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
16498         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
16499         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
16500         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
16501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
16502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
16503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
16504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
16505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
16506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
16507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
16509 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16511         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
16513 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
16515         * benchtests/Makefile (bench): Add exp2 and log2.
16516         (LDLIBS-bench-exp2): Add -lm.
16517         (LDLIBS-bench-log2): Likewise.
16518         * benchtests/exp2-inputs: New inputs file.
16519         * benchtests/log2-inputs: New inputs file.
16520         * benchtests/log-inputs: Add new inputs.
16521         * benchtests/tan-inputs: Likewise.
16523 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16525         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
16526         definition...
16527         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
16528         (csloww2): ... from here.
16530         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
16531         instead of structures.
16532         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
16533         (POLYNOMIAL): Likewise.
16534         (TAYLOR_SLOW): Likewise.
16535         (__sin): Likewise.
16536         (__cos): Likewise.
16537         (slow1): Likewise.
16538         (slow2): Likewise.
16539         (sloww): Likewise.
16540         (sloww1); Likewise.
16541         (sloww2): Likewise.
16542         (bsloww1): Likewise.
16543         (bsloww2): Likewise.
16544         (cslow2): Likewise.
16545         (csloww): Likewise.
16546         (csloww1): Likewise.
16547         (csloww2): Likewise.
16549 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
16551         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
16552         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
16553         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
16554         * malloc/hooks.c (realloc_check): Likewise.
16556         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
16557         * malloc/arena.c: Remove PER_THREAD conditional.
16558         [!PER_THREAD]: Remove code.
16559         (ptmalloc_unlock_all2): Likewise.
16560         (ptmalloc_init): Likewise.
16561         (_int_new_arena): Likewise.
16562         (arena_get2): Likewise.
16563         * malloc/hooks.c (__malloc_get_state): Likewise.
16564         (__malloc_set_state): Likewise.
16565         * malloc/malloc.c: Likewise.
16566         (struct malloc_state): Likewise.
16567         (struct malloc_par): Likewise.
16568         (__libc_realloc): Likewise.
16569         (__libc_mallopt): Likewise.
16571 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16573         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
16575 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
16577         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
16578         macro to a function.  Check for zero perturb_byte.
16579         (_int_malloc, _int_free): Remove zero perturb_byte checks.
16581         * malloc/malloc.c: (force_reg): Remove.
16582         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
16583         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
16584         force_reg by atomic_forced_read.
16585         * malloc/arena.c (ptmalloc_init): Likewise.
16586         * malloc/hooks.c (top_check): Likewise.
16588 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16590         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16592 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
16594         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16596 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
16598         * math/auto-libm-test-in: Add tests of lgamma.
16599         * math/auto-libm-test-out: Regenerated.
16600         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
16601         (M_LOG_2_SQRT_PIl): Likewise.
16602         (lgamma_test_data): Use AUTO_TESTS_f_f1.
16603         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16604         mpfr_f_f1.
16605         (func_calc_desc): Add mpfr_f_f1 union field.
16606         (ARGS1): New macro.
16607         (ARGS2): Likewise.
16608         (ARGS3): Likewise.
16609         (ARGS4): Likewise.
16610         (RET1): Likewise.
16611         (RET2): Likewise.
16612         (CALC): Likewise.
16613         (FUNC): Likewise.
16614         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
16615         (test_functions): Add lgamma.
16616         (calc_generic_results): Handle mpfr_f_f1.
16617         * sysdeps/i386/fpu/libm-test-ulps: Update.
16618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16620 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16622         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
16623         __mpn_add_n for PowerPC64/POWER7.
16624         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
16625         __mpn_sub_n for PowerPC64/POWER7.
16627         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
16628         __mpn_addmul_1 for PowerPC64.
16629         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
16630         __mpn_submul_1 for PowerPC64.
16631         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
16632         for PowerPC64.
16633         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
16634         for PowerPC64.
16636 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
16638         [BZ #15089]
16639         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
16641 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16643         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
16645         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
16646         add multiarch folders.
16647         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
16648         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
16649         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
16650         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
16651         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
16652         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
16653         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
16654         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
16655         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
16656         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
16657         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
16658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
16659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
16660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
16661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
16662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
16663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
16665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
16666         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
16667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
16668         New file.
16669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
16670         New file.
16671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
16672         multiarch __ieee754_hypot for PowerPC32.
16673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
16674         New file.
16675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
16676         New file.
16677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
16678         multiarch __ieee754_hypotf for PowerPC32.
16680         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
16681         long_double_symbol only if __logbl is defined.
16682         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
16683         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
16684         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
16685         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
16686         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
16687         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
16688         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
16689         path for implementation.
16690         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
16691         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
16692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
16693         logb, and logbl multiarch implementations for PowerPC32.
16694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
16695         file.
16696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
16697         file.
16698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
16699         multiarch logb for PowerPC32.
16700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
16701         file.
16702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
16703         file.
16704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
16705         multiarch logbf for PowerPC32.
16706         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
16707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
16708         file.
16709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
16710         multiarch logbl implementation for PowerPC32.
16712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
16713         and modff multiarch implementations.
16714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
16715         New file.
16716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
16717         New file.
16718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
16719         multiarch modf for PowerPC32.
16720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
16721         New file.
16722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
16723         New file.
16724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
16725         multiarch modff for PowerPC32.
16727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
16728         and lrintf multiarch implementations.
16729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
16730         New file.
16731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
16732         New file.
16733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
16734         multiarch lrint for PowerPC32.
16735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
16736         file: multiarch lrintf for PowerPC32.
16738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
16739         and lroundf multiarch implementations.
16740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
16741         New file.
16742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
16743         New file.
16744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
16745         New file.
16746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
16747         multiarch lround for PowerPC32.
16748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
16749         file: multiarch lroundf for PowerPC32.
16751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
16752         copysign and copysignf multiarch implementations.
16753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
16754         New file.
16755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
16756         New file.
16757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
16758         file: multiarch copysign for PowerPC32.
16759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
16760         file: multiarch copysignf for PowerPC32.
16762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
16763         and truncf multiarch implementations.
16764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
16765         New file.
16766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
16767         file.
16768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
16769         multiarch trunc for PowerPC32.
16770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
16771         New file.
16772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
16773         New file.
16774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
16775         multiarch truncf for PowerPC32.
16777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
16778         and roundf multiarch implementations.
16779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
16780         New file.
16781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
16782         file.
16783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
16784         multiarch round for PowerPC32.
16785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
16786         New file.
16787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
16788         New file.
16789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
16790         multiarch roundf for PowerPC32.
16792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
16793         and floorf multiarch implementations.
16794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
16795         New file.
16796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
16797         file.
16798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
16799         multiarch floor for PowerPC32.
16800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
16801         New file.
16802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
16803         New file.
16804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
16805         multiarch floorf for PowerPC32.
16807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
16808         and ceilf multiarch implementations.
16809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
16810         New file.
16811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
16812         file.
16813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
16814         multiarch ceil for PowerPC32.
16815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
16816         New file.
16817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
16818         file.
16819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
16820         multiarch ceilf for PowerPC32.
16822         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
16823         is defined.
16824         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
16825         FINITEF is defined.
16826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
16827         and finitef multiarch implementations.
16828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
16829         New file.
16830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
16831         file.
16832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
16833         multiarch finite for PowerPC32.
16834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
16835         New file.
16836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
16837         file: multiarch finitef for PowerPC32.
16839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
16840         and isinff multiarch implementations.
16841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
16842         file.
16843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
16844         file.
16845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
16846         multiarch isinf for PowerPC32.
16847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
16848         New file.
16849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
16850         multiarch isinff for PowerPC32.
16852         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
16853         alias when __isnan is defined.
16854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
16855         and isnanf multiarch implementations.
16856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
16857         file.
16858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
16859         file.
16860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
16861         file.
16862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
16863         file.
16864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
16865         multiarch isnan for PowerPC32.
16866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
16867         New file.
16868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
16869         New file.
16870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
16871         multiarch isnanf for PowerPC32.
16873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
16874         and sqrtf multiarch implementations.
16875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
16876         file.
16877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
16878         file.
16879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
16880         multiarch sqrt for PowerPC32.
16881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
16882         file.
16883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
16884         file.
16885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
16886         multiarch sqrtf for PowerPC32.
16888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
16889         and llroundf multiarch implementations.
16890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
16891         New file.
16892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
16893         New file.
16894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
16895         New file.
16896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
16897         file: multiarch llround for PowerPC32.
16898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
16899         file: multiarch llroundf for PowerPC32.
16901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
16902         multiarch PowerPC32 fpu implementations.
16903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
16904         New file.
16905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
16906         New file.
16907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
16908         multiarch llrint for PowerPC32.
16909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
16910         New file.
16911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
16912         New file.
16913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
16914         file.
16916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
16918         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
16919         file.
16920         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
16921         file.
16922         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
16923         file.
16924         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
16925         multiarch wordcopy for PPC32.
16926         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
16927         wordcopy objects.
16928         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16929         (__libc_ifunc_impl_list): Likewise.
16930         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
16931         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
16932         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
16933         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
16934         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
16935         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
16937         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
16938         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
16939         file.
16940         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
16941         file.
16942         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
16943         file.
16944         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
16945         multiarch wcscpy for PPC32.
16946         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
16947         multiarch objects.
16948         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16949         (__libc_ifunc_impl_list): Likewise.
16950         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
16951         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
16952         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
16953         sysdeps/powerpc/power6/wcscpy.c.
16955         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
16956         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
16957         file.
16958         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
16959         file.
16960         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
16961         file.
16962         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
16963         multiarch wcsrchr for PPC32.
16964         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
16965         multiarch objects.
16966         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16967         (__libc_ifunc_impl_list): Likewise.
16968         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
16969         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
16970         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
16971         sysdeps/powerpc/power6/wcsrchr.c.
16973         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
16974         file.
16975         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
16976         file.
16977         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
16978         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
16979         multiarch wcschr for PPc32.
16980         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
16981         multiarch objects.
16982         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16983         (__libc_ifunc_impl_list): Likewise.
16984         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
16985         * sysdeps/powerpc/power6/wcschr.c: ... to here.
16986         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
16987         sysdeps/powerpc/power6/wcschr.c.
16989         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
16990         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
16991         file.
16992         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
16993         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
16994         file: multiarch strchr for PPC32.
16995         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
16996         multiarch objects.
16997         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16998         (__libc_ifunc_impl_list): Likewise.
17000         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
17001         name.
17002         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
17003         file.
17004         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
17005         file.
17006         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
17007         multiarch strchrnul for PPC32.
17008         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
17009         multiarch objects.
17010         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17011         (__libc_ifunc_impl_list): Likewise.
17013         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
17014         file.
17015         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
17016         multiarch strncasecmp for PPC32.
17017         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
17018         file.
17019         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
17020         multiarch strncasecmp_l for PPC32.
17021         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
17022         strncasecmp multiarch objects.
17023         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17024         (__libc_ifunc_impl_list): Likewise.
17026         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
17027         file.
17028         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
17029         multiarch strncasecmp for PPC32.
17030         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
17031         New file.
17032         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
17033         multiarch strcasecmp_l for PPC32.
17034         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
17035         multiarch objects.
17036         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17037         (__libc_ifunc_impl_list): Likewise.
17039         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
17040         file.
17041         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
17042         file.
17043         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
17044         multiarch strncmp for PPC32.
17045         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
17046         multiarch objects.
17047         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17048         (__libc_ifunc_impl_list): Likewise.
17050         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
17051         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
17052         file.
17053         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
17054         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
17055         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
17056         multiarch objects.
17057         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17058         (__libc_ifunc_impl_list): Likewise.
17060         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
17061         file.
17062         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
17063         file.
17064         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
17065         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
17066         multiarch objects.
17067         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17068         (__libc_ifunc_impl_list): Likewise.
17070         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
17071         file.
17072         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
17073         file.
17074         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
17075         multiarch rawmemchr for PPC32.
17076         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
17077         multiarch objects.
17078         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17079         (__libc_ifunc_impl_list): Likewise.
17081         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
17082         file.
17083         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
17084         file.
17085         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
17086         file: memrchr multiarch for PPC32.
17087         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
17088         multiarch objects.
17089         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17090         (__libc_ifunc_impl_list): Likewise.
17092         * string/memchr.c (__memchr): Using macro to redefine symbol name.
17093         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
17094         file.
17095         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
17096         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
17097         multiarch memchr for PPC32.
17098         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
17099         multiarch objects.
17100         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17101         (__libc_ifunc_impl_list): Likewise.
17103         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
17104         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
17105         file.
17106         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
17107         file.
17108         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
17109         file: multiarch mempcpy for PPC32.
17110         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
17111         multiarch objects.
17112         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17113         (__libc_ifunc_impl_list): Likewise.
17115         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
17116         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
17117         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
17118         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
17119         multiarch bzero for PPC32.
17120         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
17121         file.
17122         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
17123         file.
17124         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
17125         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
17126         file: multiarch memset for PPC32.
17127         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
17128         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
17129         memset multiarch objects.
17130         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17131         (__libc_ifunc_impl_list): Likewise.
17133         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
17134         file.
17135         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
17136         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
17137         memcmp for PPC32.
17138         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
17139         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
17140         multiarch objects.
17141         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17142         (__libc_ifunc_impl_list): Likewise.
17144         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
17145         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
17146         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
17147         file.
17148         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
17149         file.
17150         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
17151         file.
17152         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
17153         multiarch memcpy for PPC32.
17154         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
17155         multiarch objects.
17156         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17157         (__libc_ifunc_impl_list): Likewise.
17159         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
17160         support multiarch for POWER/PPC32.
17161         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
17162         Likewise.
17163         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
17164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
17165         Implies file to make multiarch folder appers before the fpu and
17166         default folder for power4 configuration.
17168 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
17170         * scripts/bench.pl: Append volatile keyword to type.
17172 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17174         * sysdeps/sh/sotruss-lib.c: New file.
17175         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
17177 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17179         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17181 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
17183         [BZ #6810]
17184         * math/w_tgamma.c: Include <errno.h>.
17185         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
17186         * math/w_tgammaf.c: Include <errno.h>.
17187         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
17188         * math/w_tgammal.c: Include <errno.h>.
17189         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
17190         * math/auto-libm-test-in: Do not allow missing errno on tgamma
17191         underflow.  Add more tgamma tests.
17192         * math/auto-libm-test-out: Regenerated.
17193         * sysdeps/i386/fpu/libm-test-ulps: Update.
17194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17196         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
17197         sin, sinh, tan, tanh, tgamma, y0 and y1.
17198         * math/auto-libm-test-out: Regenerated.
17199         * math/libm-test.inc (TEST_COND_x86_64): New macro.
17200         (TEST_COND_x86): Likewise.
17201         (M_E2l): Remove macro.
17202         (M_E3l): Likewise.
17203         (M_2_SQRT_PIl): Likewise.
17204         (M_SQRT_PIl): Likewise.
17205         (M_1_DIV_El): Likewise.
17206         (log_test_data): Use AUTO_TESTS_f_f.
17207         (log10_test_data): Likewise.
17208         (log1p_test_data): Likewise.
17209         (log2_test_data): Likewise.
17210         (sin_test_data): Likewise.
17211         (sin_tonearest_test_data): Likewise.
17212         (sin_towardzero_test_data): Likewise.
17213         (sin_downward_test_data): Likewise.
17214         (sin_upward_test_data): Likewise.
17215         (sinh_test_data): Likewise.
17216         (sinh_tonearest_test_data): Likewise.
17217         (sinh_towardzero_test_data): Likewise.
17218         (sinh_downward_test_data): Likewise.
17219         (sinh_upward_test_data): Likewise.
17220         (tan_test_data): Likewise.
17221         (tan_tonearest_test_data): Likewise.
17222         (tan_towardzero_test_data): Likewise.
17223         (tan_downward_test_data): Likewise.
17224         (tan_upward_test_data): Likewise.
17225         (tanh_test_data): Likewise.
17226         (tgamma_test_data): Likewise.
17227         (y0_test_data): Likewise.
17228         (y1_test_data): Likewise.
17229         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
17230         (special_real_inputs): Add pi/4.
17231         * sysdeps/i386/fpu/libm-test-ulps: Update.
17232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17234 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17236         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
17237         "longjmp_target" static probes.
17238         (__longjmp): Rename to __longjmp_symbol.
17239         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17240         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
17241         on which longjmp to generate.
17242         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17243         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
17244         probe.
17245         (__sigsetjmp): Rename to __sigsetjmp_symbol.
17246         (__sigjmp_save): Rename to __sigjmp_save_symbol.
17247         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
17248         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
17249         and __sigjmp_save_symbol based on which sigsetjmp to generated.
17250         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
17251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
17252         __longjmp_symbol based on which __longjmp to generate.
17253         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
17254         probe.
17255         (setjmp): Rename to setjmp_symbol.
17256         (__sigsetjmp): Rename to __sigsetjmp_symbol.
17257         (_setjmp): Rename to _setjmp_symbol.
17258         (__sigsetjmp): Rename to __sigsetjmp_symbol.
17259         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
17260         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
17261         which setjmp to generate.
17262         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
17263         "longjmp_target" static probes.
17265 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17267         * benchtests/README: Add note about output arguments.
17268         * benchtests/bench-sincos.c: Remove file.
17269         * benchtests/sincos-inputs: New file.
17270         * scripts/bench.pl: Identify output arguments and define
17271         static variables for them.
17273         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
17275         [BZ #15941]
17276         * Makefile (INSTALL): Add install-plain.texi as the primary
17277         dependency.
17278         * manual/install-plain.texi: New file.
17279         * manual/install.texi: Include node directive only for
17280         non-plaintext output.
17282 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
17284         * stdlib/longlong.h: Update from GCC.
17286         [BZ #6807]
17287         [BZ #15901]
17288         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
17289         * math/w_j0f.c (y0f): Likewise.
17290         * math/w_j0l.c (__y0l): Likewise.
17291         * math/w_j1.c (y1): Likewise.
17292         * math/w_j1f.c (y1f): Likewise.
17293         * math/w_j1l.c (__y1l): Likewise
17294         * math/w_jn.c (yn): Likewise.
17295         * math/w_jnf.c (ynf): Likewise.
17296         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
17297         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
17298         value for Bessel function domain errors outside _SVID_ mode.
17299         Adjust sign of return value for yn (negative integer, 0).
17300         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
17301         by zero in return for negative x and set sign appropriately for
17302         negative n.
17303         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
17304         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17305         * math/libm-test.inc (y0_test_data): Add more tests and adjust
17306         expectations in error cases.
17307         (y1_test_data): Likewise.
17308         (yn_test_data): Likewise.
17309         * sysdeps/i386/fpu/libm-test-ulps: Update.
17310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17312 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17314         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
17315         "64" to "64-v1".  Add "64-v2".
17316         (abi-64-options): Rename to ...
17317         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
17318         (abi-64-condition): Rename to ...
17319         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
17320         (abi-64-ld-soname): Rename to ...
17321         (abi-64-v1-ld-soname): ... this.
17322         (abi-64-v2-options): Define.
17323         (abi-64-v2-condition): Likewise.
17324         (abi-64-v2-ld-soname): Likewise.
17325         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
17326         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
17327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
17328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
17329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
17331 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17332             Alan Modra  <amodra@gmail.com>
17334         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
17335         New versions for use with the ELFv2 ABI.
17336         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
17337         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
17338         declaration.
17339         (struct La_ppc64v2_retval): Likewise.
17340         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
17341         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
17342         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
17343         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
17344         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
17345         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17346         Do not save or restore CR.
17347         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
17348         (_dl_profile_resolve): Do no save or restore CR.  Support extended
17349         return values for ELFv2 ABI.  Fix location of FPR return registers.
17350         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
17351         updated values for _CALL_ELF == 2.
17352         (La_regs, La_retval, int_retval): Likewise.
17354 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17356         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
17357         (FRAME_MIN_SIZE_PARM): Likewise.
17358         (FRAME_BACKCHAIN): Likewise.
17359         (FRAME_CR_SAVE): Likewise.
17360         (FRAME_LR_SAVE): Likewise.
17361         (FRAME_TOC_SAVE): Likewise.
17362         (FRAME_PARM_SAVE): Likewise.
17363         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
17364         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
17365         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
17366         (call_mcount_parm_offset): New macro.
17367         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
17368         (PROF): Use symbolic stack frame offsets.
17369         (TAIL_CALL_SYSCALL_ERROR): Likewise.
17370         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
17371         Redefine in terms of FRAME_MIN_SIZE.
17372         (_dl_runtime_resolve): Use symbolic stack frame offsets.
17373         (_dl_profile_resolve): Likewise.  Update comment.
17374         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
17375         symbols stack frame offsets.
17376         (__sigsetjmp): Likewise.
17377         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
17378         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
17379         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
17380         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
17382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
17383         (FRAME_BACKCHAIN): Remove.
17384         (FRAME_CR_SAVE): Likewise.
17385         (FRAME_LR_SAVE): Likewise.
17386         (FRAME_COMPILER_DW): Likewise.
17387         (FRAME_LINKER_DW): Likewise.
17388         (FRAME_TOC_SAVE): Likewise.
17389         (FRAME_PARM_SAVE): Likewise.
17390         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
17391         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
17392         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
17393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
17394         (CHECK_SP): Use symbolic stack frame offsets.
17395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
17396         zone" instead of caller's parameter save area for temp storage.
17397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17398         Likewise.  Also, use symbolic stack frame offsets.
17399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
17400         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
17401         our own stack frame instead of the caller's.
17402         (__socket): Use symbolic stack frame offsets.
17404 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17405             Alan Modra  <amodra@gmail.com>
17407         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
17408         Define.
17409         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
17410         (PPC64_LOCAL_ENTRY_OFFSET): Define.
17411         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
17412         New function.
17413         (elf_machine_fixup_plt): Call it.
17414         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
17415         reloc arguments.
17416         (elf_machine_rela): Update call to elf_machine_plt_conflict.
17417         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
17418         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
17419         r2 before calling target.
17421 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17422             Alan Modra  <amodra@gmail.com>
17424         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
17425         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
17426         versions of macros to support ELFv2 ABI.
17427         (LOCALENTRY): New macro.
17428         (ENTRY, EALIGN): Use it.
17429         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
17430         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
17431         fall through into ENTRY entry point.
17432         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
17433         Only define if _CALL_ELF != 2.
17435         (elf_machine_matches_host): Verify ABI version matches.
17436         (RTLD_START): Use LOCALENTRY.
17437         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
17438         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
17439         (PLT_ENTRY_WORDS): New macro.
17440         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
17441         (elf_machine_runtime_setup): Support ELFv2 ABI.
17442         (elf_machine_fixup_plt): Likewise.
17443         (elf_machine_plt_conflict): Likewise.
17444         (resolve_ifunc): Likewise.
17445         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17446         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
17447         Likewise.
17448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
17449         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
17450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17451         (makecontext): Support ELFv2 ABI.
17452         * elf/elf.h (EF_PPC64_ABI): Define.
17454 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17456         * sysdeps/powerpc/powerpc64/sysdep.h
17457         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
17458         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
17459         (ENTRY) [ASSEMBLER]: ... but instead here ...
17460         (EALIGN) [ASSEMBLER]: ... and here.
17461         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
17462         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
17463         (ENTRY_2) [!ASSEMBLER]: Use it.
17464         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
17465         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
17466         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
17467         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
17468         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
17469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
17470         Use PPC64_LOAD_FUNCPTR.
17472         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
17474 2013-12-04  Alan Modra  <amodra@gmail.com>
17476         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
17477         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
17478         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
17479         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
17481         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
17482         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
17483         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
17484         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
17485         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
17486         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
17488 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17491         (__makecontext): Fix incorrect CFI when backtracing out of
17492         context created via makecontext.
17493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
17494         (__setcontext): Fix incorrect CFI during switch to new context.
17495         (__novec_setcontext): Likewise.
17497 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
17499         [BZ #4772]
17500         * time/strptime_l.c (__strptime_internal): Allow modifiers
17501         in strptime.
17502         * time/tst-strptime.c (day_tests): Add testcase.
17504 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17506         * scripts/bench.pl: Skip over blank lines.
17508 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
17510         [BZ #926]
17511         * manual/time.texi (Calendar Time): Clarify what timezone functions
17512         use.
17514 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17516         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17518 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
17520         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
17521         implementation.
17522         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
17523         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
17524         * debug/memset_chk.c (__memset_chk): Likewise.
17525         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
17526         * debug/strncpy_chk.c: Likewise.
17528 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
17530         [BZ #15268]
17531         [BZ #15425]
17532         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
17533         (__ieee754_exp): For possibly underflowing results, check size of
17534         result and force underflow exception if required.
17535         * math/auto-libm-test-in: Add more tests of exp.
17536         * math/auto-libm-test-out: Regenerated.
17537         * sysdeps/i386/fpu/libm-test-ulps: Update.
17538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17540         [BZ #16283]
17541         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
17542         * math/w_exp2f.c (__exp2f): Likewise.
17543         * math/w_exp2l.c (__exp2l): Likewise.
17544         * math/auto-libm-test-in: Do not allow missing errno on exp2
17545         underflow.
17546         * math/auto-libm-test-out: Regenerated.
17548 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
17550         [BZ #16274]
17551         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
17552         handle filename validation.
17553         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
17554         (do_open): Delete.
17556 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
17558         [BZ #6786]
17559         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
17560         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
17561         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
17562         <float.h>.
17563         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
17564         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
17565         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
17566         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
17567         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
17568         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
17569         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
17570         * math/auto-libm-test-in: Don't allow missing errno from erfc.
17571         Add more erfc tests.
17572         * math/auto-libm-test-out: Regenerated.
17573         * sysdeps/i386/fpu/libm-test-ulps: Update.
17574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17576         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
17577         exp2, expm1, j0 and j1.
17578         * math/auto-libm-test-out: Regenerated.
17579         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
17580         (erfc_test_data): Likewise.
17581         (exp_test_data): Likewise.
17582         (exp_tonearest_test_data): Likewise.
17583         (exp_towardzero_test_data): Likewise.
17584         (exp_downward_test_data): Likewise.
17585         (exp_upward_test_data): Likewise.
17586         (exp10_test_data): Likewise.
17587         (exp2_test_data): Likewise.
17588         (expm1_test_data): Likewise.
17589         (j0_test_data): Likewise.
17590         (j1_test_data): Likewise.
17591         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
17592         (input_flag_type): Add flag_xfail_rounding.
17593         (input_flags): Add xfail-rounding.
17594         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
17595         (output_for_one_input_case): Handle flag_xfail_rounding.
17596         * sysdeps/i386/fpu/libm-test-ulps: Update.
17597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17599 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
17601         [BZ #16289]
17602         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
17603         division by 0.
17605 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
17607         [BZ #16195]
17608         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
17609         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
17610         (STAP_PROBE0): New macro.
17611         (STAP_PROBE1): Likewise.
17612         (STAP_PROBE2): Likewise.
17613         (STAP_PROBE3): Likewise.
17614         (STAP_PROBE4): Likewise.
17616 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
17618         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
17620 2013-12-02  Steve Ellcey  <sellcey@mips.com>
17622         * benchtests/Makefile (bench): Add sqrt.
17623         (LDLIBS-bench-sqrt): New.
17624         * benchtests/sqrt-input: New.
17626 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
17628         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
17629         (GAIH_EAI): Likewise.
17630         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
17631         (gaih_inet): Likewise.
17632         (getaddrinfo): Don't use GAIH_EAI.
17634         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
17635         (struct gaih): Remove definition.
17637 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17639         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
17640         Use HERRNOP directly.
17642 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17644         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17646 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
17648         * math/gen-auto-libm-tests.c (test_functions): Add more
17649         single-argument functions.
17650         (special_fill_pi_2): New function.
17651         (special_fill_minus_pi_2): Likewise.
17652         (special_fill_pi_6): Likewise.
17653         (special_fill_minus_pi_6): Likewise.
17654         (special_fill_pi_3): Likewise.
17655         (special_fill_2pi_3): Likewise.
17656         (special_fill_e): Likewise.
17657         (special_fill_1_e): Likewise.
17658         (special_fill_e_minus_1): Likewise.
17659         (special_real_inputs): Add more special inputs.
17660         (output_for_one_input_case): Do not require ERANGE on underflow to
17661         zero if round-to-nearest result does not underflow to zero, unless
17662         exact results required.
17663         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
17664         atan, atanh, cbrt, cos and cosh.
17665         * math/auto-libm-test-out: Regenerated.
17666         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
17667         (acos_tonearest_test_data): Likewise.
17668         (acos_towardzero_test_data): Likewise.
17669         (acos_downward_test_data): Likewise.
17670         (acos_upward_test_data): Likewise.
17671         (acosh_test_data): Likewise.
17672         (asin_test_data): Likewise.
17673         (asin_tonearest_test_data): Likewise.
17674         (asin_towardzero_test_data): Likewise.
17675         (asin_upward_test_data): Likewise.
17676         (asinh_test_data): Likewise.
17677         (atan_test_data): Likewise.
17678         (atanh_test_data): Likewise.
17679         (cbrt_test_data): Likewise.
17680         (cos_test_data): Likewise.
17681         (cos_tonearest_test_data): Likewise.
17682         (cos_towardzero_test_data): Likewise.
17683         (cos_downward_test_data): Likewise.
17684         (cos_upward_test_data): Likewise.
17685         (cosh_test_data): Likewise.
17686         (cosh_tonearest_test_data): Likewise.
17687         (cosh_towardzero_test_data): Likewise.
17688         (cosh_downward_test_data): Likewise.
17689         (cosh_upward_test_data): Likewise.
17690         * sysdeps/i386/fpu/libm-test-ulps: Update.
17691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17693 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
17695         [BZ #6787]
17696         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
17697         * math/w_exp10f.c (__exp10f): Likewise.
17698         * math/w_exp10l.c (__exp10l): Likewise.
17699         * math/libm-test.inc (exp10_test_data): Add more tests and expect
17700         errno settings in existing tests.
17702         [BZ #14032]
17703         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
17704         precision control set to double precision.
17705         * sysdeps/i386/fpu/w_sqrt.c: New file.
17706         * math/auto-libm-test-in: Add more tests.
17707         * math/auto-libm-test-out: Update.
17709         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
17710         (sqrt_test_tonearest): New function.
17711         (sqrt_towardzero_test_data): New variable.
17712         (sqrt_test_towardzero): New function.
17713         (sqrt_downward_test_data): New variable.
17714         (sqrt_test_downward): New function.
17715         (sqrt_upward_test_data): New variable.
17716         (sqrt_test_upward): New function.
17717         (main): Call the new functions.
17719         * math/gen-auto-libm-tests.c: New file.
17720         * math/auto-libm-test-in: Likewise.
17721         * math/auto-libm-test-out: New generated file.
17722         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
17723         variables.
17724         (%beautify): Add generated representations of zero.
17725         (top level): Set $auto_input and call parse_auto_input.
17726         (beautify): Remove trailing "f" from hex float constants.
17727         (parse_args): Handle XFAIL_TEST.
17728         (convert_condition): New function.
17729         (or_value): Likewise.
17730         (or_cond_value): Likewise.
17731         (generate_testfile): Handle AUTO_TESTS_* lines.
17732         (parse_auto_input): New function.
17733         * math/libm-test.inc (XFAIL_TEST): New macro.
17734         (ERRNO_UNCHANGED): Update value.
17735         (ERRNO_EDOM): Likewise.
17736         (ERRNO_ERANGE): Likewise.
17737         (IGNORE_RESULT): Likewise.
17738         (TEST_COND_flt_32): New macro.
17739         (TEST_COND_dbl_64): Likewise.
17740         (TEST_COND_ldbl_96_intel): Likewise.
17741         (TEST_COND_ldbl_96_m68k): Likewise.
17742         (TEST_COND_ldbl_128): Likewise.
17743         (TEST_COND_ldbl_128ibm): Likewise.
17744         (TEST_COND_long32): Likewise.
17745         (TEST_COND_long64): Likewise.
17746         (TEST_COND_before_rounding): Likewise.
17747         (TEST_COND_after_rounding): Likewise.
17748         (enable_test): Handle XFAIL_TEST flag.
17749         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
17750         with finite results.
17751         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
17752         auto-libm-test-out.
17754 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17755             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17757         [BZ #16214]
17758         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
17759         __tls_get_addr_internal instead of __tls_get_offset in order to
17760         avoid GOT pointer dependency.  Make rtld export
17761         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
17762         __tls_get_addr since we are a __tls_get_offset platform.
17763         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
17764         GOT pointer being set up before.
17765         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
17767 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
17769         * manual/math.texi (Errors in Math Functions): Document accuracy
17770         goals.
17772         [BZ #15004]
17773         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
17774         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
17775         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17776         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17777         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17778         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17779         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17780         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
17781         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
17782         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17783         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17784         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17785         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17786         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17787         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17788         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
17790         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
17791         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
17792         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
17793         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
17794         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
17795         Likewise.
17796         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
17797         Likewise.
17798         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
17799         Likewise.
17800         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
17801         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
17802         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
17803         atomic-feupdateenv and flt-rounds.
17804         * sysdeps/powerpc/nofpu/Versions (libc): Add
17805         __atomic_feholdexcept, __atomic_feclearexcept,
17806         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
17807         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
17808         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
17809         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
17810         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
17811         here.
17812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
17813         Update.
17815         * manual/arith.texi (FP Exceptions): Document that exceptions may
17816         not be raised when matherr is used.
17817         (Math Error Reporting): Document overflow in directed rounding
17818         modes.  Document that errno may not be set when finite values are
17819         returned on overflow.  Document intent to set errno on underflow
17820         only for underflow to zero.
17822         [BZ #16271]
17823         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
17824         round-to-nearest then adjust result for other rounding modes.
17825         * include/fenv.h (fegetround): Use libm_hidden_proto.
17826         * math/fegetround.c (fegetround): Use libm_hidden_def.
17827         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
17828         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
17829         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
17830         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
17831         Likewise.
17832         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
17833         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17834         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
17835         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
17837 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17839         [BZ #16077]
17840         * nss/Versions (libnss_files): Add
17841         _nss_files_gethostbyname3_r.
17842         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
17843         New function.
17844         (HOST_DB_LOOKUP): Remove macro.
17845         (_nss_files_gethostbyname_r): Implement function without the
17846         HOST_DB_LOOKUP macro.
17847         (_nss_files_gethostbyname2_r): Likewise.
17849 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
17851         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
17853 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
17855         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
17856         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
17857         warning.
17859 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17861         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
17862         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
17863         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
17864         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
17865         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
17866         __fe_nomask_env_priv and attribute_hidden.
17867         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
17868         (libc_feupdateenv_test_ppc): Likewise.
17869         (libc_feresetround_ppc): Likewise.
17870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17871         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
17872         compat_symbol macro.
17873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17874         (__fe_nomask_env): Likewise.
17875         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
17877 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
17879         * string/Makefile: Remove ifunc tests.
17880         * string/test-string.h: Define TEST_IFUNC.
17881         * string/test-bcopy-ifunc.c: Remove.
17882         * string/test-bzero-ifunc.c: Likewise.
17883         * string/test-memccpy-ifunc.c: Likewise.
17884         * string/test-memchr-ifunc.c: Likewise.
17885         * string/test-memcmp-ifunc.c: Likewise.
17886         * string/test-memcpy-ifunc.c: Likewise.
17887         * string/test-memmem-ifunc.c: Likewise.
17888         * string/test-memmove-ifunc.c: Likewise.
17889         * string/test-mempcpy-ifunc.c: Likewise.
17890         * string/test-memrchr-ifunc.c: Likewise.
17891         * string/test-memset-ifunc.c: Likewise.
17892         * string/test-rawmemchr-ifunc.c: Likewise.
17893         * string/test-stpcpy-ifunc.c: Likewise.
17894         * string/test-stpncpy-ifunc.c: Likewise.
17895         * string/test-strcasecmp-ifunc.c: Likewise.
17896         * string/test-strcasestr-ifunc.c: Likewise.
17897         * string/test-strcat-ifunc.c: Likewise.
17898         * string/test-strchr-ifunc.c: Likewise.
17899         * string/test-strchrnul-ifunc.c: Likewise.
17900         * string/test-strcmp-ifunc.c: Likewise.
17901         * string/test-strcpy-ifunc.c: Likewise.
17902         * string/test-strcspn-ifunc.c: Likewise.
17903         * string/test-strlen-ifunc.c: Likewise.
17904         * string/test-strncasecmp-ifunc.c: Likewise.
17905         * string/test-strncat-ifunc.c: Likewise.
17906         * string/test-strncmp-ifunc.c: Likewise.
17907         * string/test-strncpy-ifunc.c: Likewise.
17908         * string/test-strnlen-ifunc.c: Likewise.
17909         * string/test-strpbrk-ifunc.c: Likewise.
17910         * string/test-strrchr-ifunc.c: Likewise.
17911         * string/test-strspn-ifunc.c: Likewise.
17912         * string/test-strstr-ifunc.c: Likewise.
17914 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
17916         * benchtests/Makefile: Remove ifunc tests.
17917         * benchtests/bench-string.h: Define TEST_IFUNC.
17918         * benchtests/bench-bcopy-ifunc.c: Remove.
17919         * benchtests/bench-bzero-ifunc.c: Likewise.
17920         * benchtests/bench-memccpy-ifunc.c: Likewise.
17921         * benchtests/bench-memchr-ifunc.c: Likewise.
17922         * benchtests/bench-memcmp-ifunc.c: Likewise.
17923         * benchtests/bench-memcpy-ifunc.c: Likewise.
17924         * benchtests/bench-memmem-ifunc.c: Likewise.
17925         * benchtests/bench-memmove-ifunc.c: Likewise.
17926         * benchtests/bench-mempcpy-ifunc.c: Likewise.
17927         * benchtests/bench-memrchr-ifunc.c: Likewise.
17928         * benchtests/bench-memset-ifunc.c: Likewise.
17929         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
17930         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
17931         * benchtests/bench-stpcpy-ifunc.c: Likewise.
17932         * benchtests/bench-stpncpy-ifunc.c: Likewise.
17933         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
17934         * benchtests/bench-strcasestr-ifunc.c: Likewise.
17935         * benchtests/bench-strcat-ifunc.c: Likewise.
17936         * benchtests/bench-strchr-ifunc.c: Likewise.
17937         * benchtests/bench-strchrnul-ifunc.c: Likewise.
17938         * benchtests/bench-strcmp-ifunc.c: Likewise.
17939         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
17940         * benchtests/bench-strcpy-ifunc.c: Likewise.
17941         * benchtests/bench-strcspn-ifunc.c: Likewise.
17942         * benchtests/bench-strlen-ifunc.c: Likewise.
17943         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
17944         * benchtests/bench-strncat-ifunc.c: Likewise.
17945         * benchtests/bench-strncmp-ifunc.c: Likewise.
17946         * benchtests/bench-strncpy-ifunc.c: Likewise.
17947         * benchtests/bench-strnlen-ifunc.c: Likewise.
17948         * benchtests/bench-strpbrk-ifunc.c: Likewise.
17949         * benchtests/bench-strrchr-ifunc.c: Likewise.
17950         * benchtests/bench-strsep-ifunc.c: Likewise.
17951         * benchtests/bench-strspn-ifunc.c: Likewise.
17952         * benchtests/bench-strstr-ifunc.c: Likewise.
17954 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
17956         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
17958 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
17960         * resolv/netdb.h: Use __glibc_reserved instead __unused.
17961         * rt/aio.h: Likewise.
17962         * sysdeps/gnu/bits/utmp.h: Likewise.
17963         * sysdeps/gnu/bits/utmpx.h: Likewise.
17964         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
17965         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
17966         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
17967         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
17968         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
17969         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
17970         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
17971         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
17972         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
17973         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
17974         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
17975         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
17976         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
17977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
17978         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17979         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
17980         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
17981         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
17982         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
17983         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
17984         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
17985         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
17986         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
17987         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
17988         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
17989         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17990         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
17991         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
17992         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
17993         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
17994         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
17995         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
17996         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
17997         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
17998         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
17999         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
18000         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
18001         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
18002         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
18003         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
18004         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
18005         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18007 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
18009         [BZ #16245]
18010         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
18011         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
18013 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
18015         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
18016         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
18017         Likewise.
18019 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18021         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
18022         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
18023         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
18024         (__fesetround): Remove define.
18025         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
18026         rounding and exceptions handling.
18027         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
18028         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
18029         (__fe_nomask_env): Likewise.
18030         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
18031         __fegetround instead of fegetround.
18032         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
18033         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
18035 2013-11-21  Roland McGrath  <roland@hack.frob.com>
18037         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
18038         it's there.
18040         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
18042 2013-11-21  Meador Inge  <meadori@codesourcery.com>
18044         [BZ #11157]
18045         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
18046         (encrypt_r): Likewise.
18047         * malloc/obstack.h (obstack_free): Likewise.
18048         * posix/unistd.h (encrypt): Likewise.
18050 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
18052         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
18053         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
18054         DL_CALL_DT_FINI() that call the functions directly.
18055         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
18056         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
18057         * elf/dl-fini.c: Likewise.
18059 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
18061         * malloc/hooks.c (memalign_check): Add alignment rounding.
18062         * malloc/malloc.c (_mid_memalign): New function.
18063         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
18064         Implement by calling _mid_memalign.
18065         * manual/probes.texi (Memory Allocation Probes): Remove
18066         memory_valloc_retry and memory_pvalloc_retry.
18068 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18070         * locale/programs/locarchive.c (open_archive): Add const
18071         qualifier to ARCHIVEFNAME and copy default fname to
18072         DEFAULT_FNAME.
18074         [BZ #15601]
18075         * libio/tst-widetext.input: Rename Oriya to Odia.
18076         * locale/iso-639.def: Likewise.
18078         * manual/probes.texi (Mathematical Function Probes): Add
18079         documentation for sin, cos, asin and acos probes.
18080         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
18081         (__sin32): Add slowasin probe.
18082         (__cos32): Add slowacos probe.
18083         (__mpsin): Add slowsin probe.
18084         (__mpcos): Add slowcos probe.
18086 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
18088         [BZ #15483]
18089         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
18090         thread-local __sim_exceptions_thread and global
18091         __sim_exceptions_global.
18092         (__sim_disabled_exceptions): Change to thread-local
18093         __sim_disabled_exceptions_thread and global
18094         __sim_disabled_exceptions_global.
18095         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18096         and global __sim_round_mode_global.
18097         (__simulate_exceptions): Use thread-local floating-point state and
18098         set global state from it as needed.
18099         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
18100         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
18101         __sim_round_mode_thread.
18102         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
18103         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
18104         and global __sim_exceptions_global.
18105         (__sim_disabled_exceptions): Change to thread-local
18106         __sim_disabled_exceptions_thread and global
18107         __sim_disabled_exceptions_global.
18108         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18109         and global __sim_round_mode_global.
18110         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
18111         (SIM_SET_GLOBAL): Likewise.
18112         * sysdeps/powerpc/soft-fp/sfp-machine.h
18113         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
18114         __sim_round_mode_thread.
18115         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
18116         __sim_disabled_exceptions_thread.
18117         (__sim_exceptions): Change to __sim_exceptions_thread.
18118         (__sim_disabled_exceptions): Change to
18119         __sim_disabled_exceptions_thread.
18120         (__sim_round_mode): Change to __sim_round_mode_thread.
18121         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
18122         thread-local floating-point state and set global state from it as
18123         needed.
18124         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
18125         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
18126         (__sim_disabled_exceptions): Remove extern declaration.
18127         (feenableexcept): Use thread-local floating-point state and set
18128         global state from it as needed.
18129         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
18130         extern declaration.
18131         (__sim_disabled_exceptions): Likewise.
18132         (__sim_round_mode): Likewise.
18133         (__fegetenv): Use thread-local floating-point state.
18134         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
18135         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
18136         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
18137         floating-point state and set global state from it as needed.
18138         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
18139         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
18140         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
18141         Likewise.
18142         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
18143         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
18144         Likewise.
18145         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
18146         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
18147         Use __sim_round_mode_thread.
18148         * math/test-fenv-tls.c: New file.
18149         * math/Makefile (tests): Add test-fenv-tls.
18150         ($(objpfx)test-fenv-tls): Depend on
18151         $(common-objpfx)nptl/libpthread.so.
18153 2013-11-19  Andreas Schwab  <schwab@suse.de>
18155         * locale/programs/locale.c (show_info): Decode wordarray elements.
18156         * locale/categories.def (LC_MONETARY): Add element for
18157         _NL_MONETARY_CRNCYSTR.
18158         * locale/C-monetary.c (conversion_rate): New variable.
18159         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
18160         element.
18162 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
18164         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
18165         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
18167 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
18169         * elf/Makefile (tst-auxv): New test.
18170         * elf/tst-auxv.c: New
18171         * elf/rtld.c (dl_main): Adjust AT_EXECFN
18173 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
18175         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
18176         (hidden_proto): Caller changed.
18177         (hidden_tls_proto): New macro.
18178         (libc_hidden_tls_proto): Likewise.
18179         (rtld_hidden_tls_proto): Likewise.
18180         (libm_hidden_tls_proto): Likewise.
18181         (libresolv_hidden_tls_proto): Likewise.
18182         (librt_hidden_tls_proto): Likewise.
18183         (libdl_hidden_tls_proto): Likewise.
18184         (libnss_files_hidden_tls_proto): Likewise.
18185         (libnsl_hidden_tls_proto): Likewise.
18186         (libnss_nisplus_hidden_tls_proto): Likewise.
18187         (libutil_hidden_tls_proto): Likewise.
18189 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
18191         [BZ #10253]
18192         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
18193         (decompose_rpath): Defer expansion to fillin_rpath.
18194         (_dl_init_paths): Pass linkmap to fillin_rpath.
18196 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18198         * benchtests/Makefile: Add strsep.
18199         * benchtests/bench-strsep.c: New file: strsep benchtest.
18200         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
18202 2013-11-18  Andreas Schwab  <schwab@suse.de>
18204         * locale/programs/locale.c (show_info) [case byte]: Check for
18205         '\377' instead of '\177'.
18206         * locale/C-monetary.c (not_available): Always use "\377".
18207         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
18208         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
18209         detect unavailable sign_posn locale elements.
18210         * locale/localeconv.c (__localeconv): For grouping and
18211         mon_grouping handle "\177" and "\377" like no grouping.
18212         (INT_ELEM): New macro.  Use it to set all numeric members.
18213         * locale/programs/ld-monetary.c (monetary_read)
18214         <tok_mon_grouping>: Normalize single -1 to the empty string.
18215         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
18216         Likewise.
18218 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
18220         [BZ #16055]
18221         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
18222         when we match (nil).
18223         * stdio-common/tst-sscanf.c (struct test): Add testcase.
18225 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
18227         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
18228         (NO_TEST_INLINE): Update value.
18229         (ERRNO_UNCHANGED): Likewise.
18230         (ERRNO_EDOM): Likewise.
18231         (ERRNO_ERANGE): Likewise.
18232         (IGNORE_RESULT): Likewise.
18233         (check_float_internal): Check signs of NaN results if
18234         TEST_NAN_SIGN used.
18235         (check_complex): Pass TEST_NAN_SIGN flag through to second
18236         check_float_internal call.
18237         (copysign_test_data): Add tests with quiet NaNs as second
18238         argument.  Use TEST_NAN_SIGN.
18239         (fabs_test_data): Add test of negative quiet NaN argument.  Use
18240         TEST_NAN_SIGN.
18241         (signbit_test_data): Add tests of quiet NaN argument.
18242         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
18244         * math/gen-libm-test.pl (show_exceptions): Take extra argument
18245         $ignore_result.
18246         (parse_args): Handle function results specified as IGNORE.
18247         * math/libm-test.inc (IGNORE_RESULT): New macro.
18248         (check_float_internal): Do not check numerical result if flag
18249         IGNORE_RESULT set.
18250         (check_complex): Pass through IGNORE_RESULT to second
18251         check_float_internal call.
18252         (check_int): Do not check numerical result if flag IGNORE_RESULT
18253         set.
18254         (check_long): Likewise.
18255         (check_bool): Likewise.
18256         (check_longlong): Likewise.
18257         (lrint_test_data): Add tests of infinite and NaN arguments.
18258         (lrint_tonearest_test_data): Likewise.
18259         (lrint_towardzero_test_data): Likewise.
18260         (lrint_downward_test_data): Likewise.
18261         (lrint_upward_test_data): Likewise.
18262         (llrint_test_data): Likewise.
18263         (llrint_tonearest_test_data): Likewise.
18264         (llrint_towardzero_test_data): Likewise.
18265         (llrint_downward_test_data): Likewise.
18266         (llrint_upward_test_data): Likewise.
18267         (lround_test_data): Likewise.
18268         (llround_test_data): Likewise.
18270         * math/libm-test.inc (NO_TEST_INLINE): New macro.
18271         (ERRNO_UNCHANGED): Update value.
18272         (ERRNO_EDOM): Likewise.
18273         (ERRNO_ERANGE): Likewise.
18274         (NO_TEST_INLINE_FLOAT): New macro.
18275         (NO_TEST_INLINE_DOUBLE): Likewise.
18276         (enable_test): New function.
18277         (RUN_TEST_f_f): Check enable_test before running test.
18278         (RUN_TEST_2_f): Likewise.
18279         (RUN_TEST_fff_f): Likewise.
18280         (RUN_TEST_c_f): Likewise.
18281         (RUN_TEST_f_f1): Likewise.
18282         (RUN_TEST_fF_f1): Likewise.
18283         (RUN_TEST_fI_f1): Likewise.
18284         (RUN_TEST_ffI_f1): Likewise.
18285         (RUN_TEST_c_c): Likewise.
18286         (RUN_TEST_cc_c): Likewise.
18287         (RUN_TEST_f_i): Likewise.
18288         (RUN_TEST_f_i_tg): Likewise.
18289         (RUN_TEST_ff_i_tg): Likewise.
18290         (RUN_TEST_f_b): Likewise.
18291         (RUN_TEST_f_b_tg): Likewise.
18292         (RUN_TEST_f_l): Likewise.
18293         (RUN_TEST_f_L): Likewise.
18294         (RUN_TEST_fFF_11): Likewise.
18295         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
18296         conditionals.
18297         (cosh_test_data): Likewise.
18298         (exp_test_data): Likewise.
18299         (expm1_test_data): Likewise.
18300         (hypot_test_data): Likewise.
18301         (pow_test_data): Likewise.
18302         (sinh_test_data): Likewise.
18303         (tanh_test_data): Likewise.
18304         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
18305         flags argument.
18307         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
18308         tests with quiet NaN input and output.
18309         (acosh_test_data): Likewise.
18310         (asin_test_data): Likewise.
18311         (asinh_test_data): Likewise.
18312         (atan_test_data): Likewise.
18313         (atanh_test_data): Likewise.
18314         (atan2_test_data): Likewise.
18315         (cbrt_test_data): Likewise.
18316         (cos_test_data): Likewise.
18317         (cosh_test_data): Likewise.
18318         (erf_test_data): Likewise.
18319         (erfc_test_data): Likewise.
18320         (exp_test_data): Likewise.
18321         (exp10_test_data): Likewise.
18322         (exp2_test_data): Likewise.
18323         (expm1_test_data): Likewise.
18324         (hypot_test_data): Likewise.
18325         (j0_test_data): Likewise.
18326         (j1_test_data): Likewise.
18327         (jn_test_data): Likewise.
18328         (lgamma_test_data): Likewise.
18329         (log_test_data): Likewise.
18330         (log10_test_data): Likewise.
18331         (log1p_test_data): Likewise.
18332         (log2_test_data): Likewise.
18333         (pow_test_data): Likewise.
18334         (scalb_test_data): Likewise.
18335         (sin_test_data): Likewise.
18336         (sincos_test_data): Likewise.
18337         (sinh_test_data): Likewise.
18338         (tan_test_data): Likewise.
18339         (tanh_test_data): Likewise.
18340         (tgamma_test_data): Likewise.
18341         (y0_test_data): Likewise.
18342         (y1_test_data): Likewise.
18343         (yn_test_data): Likewise.
18345         [BZ #16167]
18346         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
18347         argument being NaN and avoid computations with second argument in
18348         that case.
18349         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
18350         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
18351         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
18353 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
18355         * locale/iso-639.def: Add Chitwani Tharu (the).
18357 2013-11-14  Andreas Schwab  <schwab@suse.de>
18359         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
18360         word instead of empty string.
18362 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18365         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
18366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18367         (__fe_nomask_env): Likewise.
18369 2013-11-13  Steve Ellcey  <sellcey@mips.com>
18371         * benchtests/bench-timing.h: Include time.h.
18373 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
18375         [BZ #15997]
18376         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
18377         to 3.4.0 for x32.
18378         * sysdeps/unix/sysv/linux/configure: Regenerated.
18380 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
18382         [BZ #16151]
18383         * stdlib/strtod_l.c (round_and_return): Do not consider
18384         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
18385         exponent one less than half the least subnormal exponent.
18386         * stdlib/test-strtod-round-data: Add more tests.
18387         * stdlib/tst-strtod-round.c (tests): Regenerated.
18389 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18391         [BZ #14143]
18392         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
18393         (__fe_mask_env): Likewise.
18394         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
18395         libm_hidden_proto and add function prototype.
18396         (__fe_mask_env): Add function prototype.
18397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18398         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
18399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
18400         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
18401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18402         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
18404 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
18406         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
18407         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
18409 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
18411         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
18412         of htab_find_slot().
18414 2013-11-11  David S. Miller  <davem@davemloft.net>
18416         [BZ #16150]
18417         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
18418         symbol in the non-vis3 case in static builds.
18419         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
18420         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
18421         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
18422         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
18424 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
18426         [BZ #387]
18427         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
18428         it is empty.
18430 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18432         * benchtests/Makefile: Add bench-strtod.
18433         * benchtests/bench-strtod.c: New file: strtod benchtest
18435 2013-11-11  Andreas Schwab  <schwab@suse.de>
18437         [BZ #16153]
18438         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
18439         terminating NUL in key length.
18441 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18443         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
18444         Add artificial ODP entry for vDSO symbol for PPC64.
18445         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
18446         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
18448 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
18450         [BZ #15374]
18451         * nss/getent.c (services_keys): Recognize services starting with digit.
18453 2013-11-06  David S. Miller  <davem@davemloft.net>
18455         [BZ #15985]
18456         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
18457         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
18459 2013-11-06  Will Newton  <will.newton@linaro.org>
18461         * manual/memory.texi (Malloc Examples): Remove register
18462         keyword from examples.
18464 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
18466         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
18468 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
18470         [BZ #6981]
18471         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
18472         depending on [__GCC_IEC_559 > 0].
18473         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
18474         depending on [__GCC_IEC_559_COMPLEX > 0].
18476 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
18478         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
18479         to iso-639.def.
18481 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
18483         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
18485 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
18487         [BZ #16112]
18488         * malloc/malloc (malloc_info): Do not handle first bin as
18489         special case.
18491 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
18493         * locale/iso-639.def: Add Central Nahuatl (nhn).
18495 2013-11-01  Bruno Haible  <bruno@clisp.org>
18497         [BZ #7003]
18498         * manual/math.texi (BSD Random): Specify range upper bound as
18499         in POSIX.
18501 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
18503         * locale/iso-639.def: Add Meadow Mari (mhr).
18505 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
18507         [BZ #14752], [BZ #15763]
18508         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
18509         Validate name.
18510         * rt/tst_shm.c: Add test for escaping directory.
18512 2013-10-31  Andreas Schwab  <schwab@suse.de>
18514         [BZ #15917]
18515         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
18516         followed by 'x' as part of digit sequence.
18517         * stdio-common/tst-sscanf.c (double_tests2): New tests.
18519 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
18521         [BZ #16037]
18522         * configure.ac: allow GNU Make 4.0 and greater.
18523         * configure: Regenerated.
18525 2013-10-30  Will Newton  <will.newton@linaro.org>
18527         [BZ #16038]
18528         * malloc/hooks.c (memalign_check): Limit alignment to the
18529         maximum representable power of two.
18530         * malloc/malloc.c (__libc_memalign): Likewise.
18531         * malloc/tst-memalign.c (do_test): Add test for very
18532         large alignment values.
18533         * malloc/tst-posix_memalign.c (do_test): Likewise.
18535 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
18537         [BZ #11087]
18538         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
18539         (munmap_chunk): Likewise.
18540         (mremap_chunk): Likewise.
18542 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
18544         [BZ #15799]
18545         * stdlib/div.c (div): Remove obsolete code.
18546         * stdlib/ldiv.c (ldiv): Likewise.
18547         * stdlib/lldiv.c (lldiv): Likewise.
18549 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18551         [BZ #16071]
18552         * nss/nss_files/files-XXX.c (get_contents_ret): New
18553         enumerator.
18554         (get_contents): New function.
18555         (internal_getent): Use it.  Expand size of LINEBUFLEN.
18557 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
18559         * configure.in: Moved to ...
18560         * configure.ac: ... here. Change reference to configure.in
18561         to configure.ac.
18562         * sysdeps/arm/preconfigure.ac: ... here.
18563         configure.in to configure.ac.
18564         * sysdeps/gnu/configure.in: Moved to ...
18565         * sysdeps/gnu/configure.ac: ... here.
18566         * sysdeps/i386/configure.in: Moved to ...
18567         * sysdeps/i386/configure.ac: ... here.
18568         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
18569         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
18570         * sysdeps/mach/configure.in: Moved to ...
18571         * sysdeps/mach/configure.ac: ... here.
18572         * sysdeps/mach/hurd/configure.in: Moved to ...
18573         * sysdeps/mach/hurd/configure.ac: ... here.
18574         * sysdeps/powerpc/configure.in: Moved to ...
18575         * sysdeps/powerpc/configure.ac: ... here.
18576         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
18577         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
18578         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
18579         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
18580         * sysdeps/s390/s390-32/configure.in: Moved to ...
18581         * sysdeps/s390/s390-32/configure.ac: ... here.
18582         * sysdeps/s390/s390-64/configure.in: Moved to ...
18583         * sysdeps/s390/s390-64/configure.ac: ... here.
18584         * sysdeps/sh/configure.in: Moved to ...
18585         * sysdeps/sh/configure.ac: ... here.
18586         * sysdeps/sparc/configure.in: Moved to ...
18587         * sysdeps/sparc/configure.ac: ... here.
18588         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
18589         * sysdeps/unix/sysv/linux/configure.ac: ... here.
18590         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
18591         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
18592         * sysdeps/x86_64/configure.in: Moved to ...
18593         * sysdeps/x86_64/configure.ac: ... here.
18594         * sysdeps/x86_64/preconfigure.in: Moved to ...
18595         * sysdeps/x86_64/preconfigure.ac: ... here.
18596         * aclocal.m4: Change reference to configure.in to configure.ac.
18597         * config.h.in: Likewise.
18598         * manual/install.texi: Likewise.
18599         * manual/maint.texi: Likewise.
18600         * Makefile: Likewise.
18601         * malloc/Makefile: Likewise.
18602         * nscd/Makefile: Likewise.
18603         * Makeconfig: Change reference to configure.in and
18604         preconfigure.in to configure.ac and preconfigure.ac
18605         respectively.
18606         * INSTALL: Regenerated.
18607         * configure: Likewise.
18608         * sysdeps/gnu/configure: Likewise.
18609         * sysdeps/i386/configure: Likewise.
18610         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
18611         * sysdeps/mach/configure: Likewise.
18612         * sysdeps/mach/hurd/configure: Likewise.
18613         * sysdeps/powerpc/configure: Likewise.
18614         * sysdeps/powerpc/powerpc32/configure: Likewise.
18615         * sysdeps/powerpc/powerpc64/configure: Likewise.
18616         * sysdeps/s390/s390-32/configure: Likewise.
18617         * sysdeps/s390/s390-64/configure: Likewise.
18618         * sysdeps/sh/configure: Likewise.
18619         * sysdeps/sparc/configure: Likewise.
18620         * sysdeps/unix/sysv/linux/configure: Likewise.
18621         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
18622         * sysdeps/x86_64/configure: Likewise.
18623         * sysdeps/x86_64/preconfigure: Likewise.
18625 2013-10-29  Andreas Schwab  <schwab@suse.de>
18627         * stdio-common/Makefile (tst-swscanf-ENV): Define.
18629 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18631         * benchtests/pow-inputs: Add new inputs.
18633         * benchtests/exp-inputs: Add new inputs.
18635         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
18636         conditional check for return value.
18637         (__cos32): Likewise.
18639 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18641         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
18642         to provide a boost for large inputs with word alignment.
18643         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
18644         implementation based on optimized PPC64 strcpy.
18645         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
18646         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
18647         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
18648         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
18650 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
18652         [BZ #2801]
18653         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
18655 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
18657         [BZ #14876]
18658         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
18659         * time/tst-strptime.c (day_tests): Add testcase.
18661 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
18663         [BZ #14029]
18664         * manual/pattern.texi: Acknowledge that fnmatch can fail.
18666 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
18668         [BZ #16074]
18669         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
18670         MAP_FAILED on error.
18672 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
18674         [BZ #16072]
18675         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
18676         heap for large requests.
18678 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
18680         [BZ #9954]
18681         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
18682         result if the result has no associated interface.
18683         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
18684         interface for all 127.X.Y.Z addresses.
18686 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
18688         * locale/iso-639.def: Add Ligurian (lij)
18690 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
18692         [BZ #15825]
18693         * sunrpc/rpc_main.c: Document rpcgen -5.
18695 2013-10-19  Michael Stahl  <mstahl@redhat.com>
18697         * elf/rtld.c (do_preload): Print the reason why preloading failed.
18699 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
18701         [BZ #10278]
18702         * posix/glob.c: Match only directories when trailing slash is present.
18703         * posix/tst-gnuglob.c (my_opendir): Do not open files.
18704         (main): Add testcase.
18706 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
18708         [BZ #15670]
18709         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
18711 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
18713         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
18714         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
18715         AUTH_DES and cindex for FIPS 140-2.
18716         (DES Encryption): Add cindex FIPS 46-3.
18718         * locale/locarchive.h (struct locarhandle): Add fname.
18719         * locale/programs/localedef.c (main): Pass ARGV[remaining]
18720         if an optional argument was specified to --list-archive,
18721         otherwise NULL.
18722         * locale/programs/locarchive.c (show_archive_content): Take new
18723         argument fname and pass it via ah.fname to open_archive.
18724         * locale/programs/localedef.h: Update decl.
18725         (open_archive): If AH->fname is non-null, open that file
18726         rather than the default file name, and don't ignore ENOENT.
18727         (create_archive): Set AH.fname to NULL.
18728         (delete_locales_from_archive): Likewise.
18729         (add_locales_to_archive): Likewise.
18730         * locale/programs/locfile.c (write_all_categories): Likewise.
18732 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
18733             Aldy Hernandez  <aldyh@redhat.com>
18735         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
18736         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
18737         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
18738         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
18739         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
18740         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
18741         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
18742         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
18743         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
18744         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
18745         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
18746         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
18747         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
18748         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
18749         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
18750         Likewise.
18751         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
18752         Likewise.
18753         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
18754         Likewise.
18755         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
18756         Likewise.
18757         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
18758         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
18759         Likewise.
18760         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
18761         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
18762         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
18763         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
18764         Likewise.
18765         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
18766         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
18767         * sysdeps/powerpc/preconfigure: Likewise.
18768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
18769         Likewise.
18770         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
18771         Replace contents of file by #include of <fenv_libc.h>.
18772         * sysdeps/powerpc/soft-fp/sfp-machine.h
18773         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
18774         and <sys/prctl.h>.
18775         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
18776         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
18777         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
18778         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
18779         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
18780         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
18781         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
18782         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
18783         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
18784         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
18785         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
18786         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
18787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18788         Allow copysignl PLT reference to be missing.
18790 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
18791             Joseph Myers  <joseph@codesourcery.com
18793         [BZ #15948]
18794         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
18795         single character.
18796         (add_to_tablewc): Assert sequence of wide characters is nonempty.
18798 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18800         * elf/tst-tls-dlinfo.c: Don't include tls.h.
18801         * elf/tst-tls1.c: Likewise.
18802         * elf/tst-tls10.h: Likewise.
18803         * elf/tst-tls14.c: Likewise.
18804         * elf/tst-tls2.c: Likewise.
18805         * elf/tst-tls3.c: Likewise.
18806         * elf/tst-tls4.c: Likewise.
18807         * elf/tst-tls5.c: Likewise.
18808         * elf/tst-tls6.c: Likewise.
18809         * elf/tst-tls7.c: Likewise.
18810         * elf/tst-tls8.c: Likewise.
18811         * elf/tst-tls9.c: Likewise.
18812         * elf/tst-tlsmod1.c: Likewise.
18813         * elf/tst-tlsmod13.c: Likewise.
18814         * elf/tst-tlsmod13a.c: Likewise.
18815         * elf/tst-tlsmod14a.c: Likewise.
18816         * elf/tst-tlsmod16a.c: Likewise.
18817         * elf/tst-tlsmod16b.c: Likewise.
18818         * elf/tst-tlsmod2.c: Likewise.
18819         * elf/tst-tlsmod3.c: Likewise.
18820         * elf/tst-tlsmod4.c: Likewise.
18821         * elf/tst-tlsmod5.c: Likewise.
18822         * elf/tst-tlsmod6.c: Likewise.
18824 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
18826         [BZ #12486]
18827         * malloc/malloc.c: remove checks for statistics.
18829 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
18831         [BZ #15277]
18832         * inet/inet_net.c (inet_network): Detect additional invalid strings.
18833         * inet/tst-network.c: Add testcase.
18835 2013-10-17  Andreas Schwab  <schwab@suse.de>
18837         [BZ #15218]
18838         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
18839         to determine canonical name.
18841 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
18843         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
18844         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
18845         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18846         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18847         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18848         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18849         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18850         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18851         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18852         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18853         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
18854         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18855         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18856         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18857         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18858         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18859         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18860         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18861         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18862         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18863         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18864         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18865         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18866         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
18867         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
18868         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18869         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18870         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
18871         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18872         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
18873         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18874         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18875         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18876         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18877         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18878         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18879         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18880         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18881         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18882         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18883         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18884         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18885         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18886         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18887         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18888         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18889         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18890         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18891         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18892         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18893         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18894         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18895         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18896         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18897         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18898         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18899         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18900         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18902 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
18904         [BZ #16041]
18905         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
18906         make result into a quiet NaN.
18908 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
18910         * soft-fp/adddf3.c: Fix horizontal whitespace.
18911         * soft-fp/addsf3.c: Likewise.
18912         * soft-fp/addtf3.c: Likewise.
18913         * soft-fp/divdf3.c: Likewise.
18914         * soft-fp/divsf3.c: Likewise.
18915         * soft-fp/divtf3.c: Likewise.
18916         * soft-fp/double.h: Likewise.
18917         * soft-fp/eqdf2.c: Likewise.
18918         * soft-fp/eqsf2.c: Likewise.
18919         * soft-fp/eqtf2.c: Likewise.
18920         * soft-fp/extenddftf2.c: Likewise.
18921         * soft-fp/extended.h: Likewise.
18922         * soft-fp/extendsfdf2.c: Likewise.
18923         * soft-fp/extendsftf2.c: Likewise.
18924         * soft-fp/extendxftf2.c: Likewise.
18925         * soft-fp/fixdfdi.c: Likewise.
18926         * soft-fp/fixdfsi.c: Likewise.
18927         * soft-fp/fixdfti.c: Likewise.
18928         * soft-fp/fixsfdi.c: Likewise.
18929         * soft-fp/fixsfsi.c: Likewise.
18930         * soft-fp/fixsfti.c: Likewise.
18931         * soft-fp/fixtfdi.c: Likewise.
18932         * soft-fp/fixtfsi.c: Likewise.
18933         * soft-fp/fixtfti.c: Likewise.
18934         * soft-fp/fixunsdfdi.c: Likewise.
18935         * soft-fp/fixunsdfsi.c: Likewise.
18936         * soft-fp/fixunsdfti.c: Likewise.
18937         * soft-fp/fixunssfdi.c: Likewise.
18938         * soft-fp/fixunssfsi.c: Likewise.
18939         * soft-fp/fixunssfti.c: Likewise.
18940         * soft-fp/fixunstfdi.c: Likewise.
18941         * soft-fp/fixunstfsi.c: Likewise.
18942         * soft-fp/fixunstfti.c: Likewise.
18943         * soft-fp/floatdidf.c: Likewise.
18944         * soft-fp/floatdisf.c: Likewise.
18945         * soft-fp/floatditf.c: Likewise.
18946         * soft-fp/floatsidf.c: Likewise.
18947         * soft-fp/floatsisf.c: Likewise.
18948         * soft-fp/floatsitf.c: Likewise.
18949         * soft-fp/floattidf.c: Likewise.
18950         * soft-fp/floattisf.c: Likewise.
18951         * soft-fp/floattitf.c: Likewise.
18952         * soft-fp/floatundidf.c: Likewise.
18953         * soft-fp/floatundisf.c: Likewise.
18954         * soft-fp/floatunditf.c: Likewise.
18955         * soft-fp/floatunsidf.c: Likewise.
18956         * soft-fp/floatunsisf.c: Likewise.
18957         * soft-fp/floatunsitf.c: Likewise.
18958         * soft-fp/floatuntidf.c: Likewise.
18959         * soft-fp/floatuntisf.c: Likewise.
18960         * soft-fp/floatuntitf.c: Likewise.
18961         * soft-fp/fmadf4.c: Likewise.
18962         * soft-fp/fmasf4.c: Likewise.
18963         * soft-fp/fmatf4.c: Likewise.
18964         * soft-fp/gedf2.c: Likewise.
18965         * soft-fp/gesf2.c: Likewise.
18966         * soft-fp/getf2.c: Likewise.
18967         * soft-fp/ledf2.c: Likewise.
18968         * soft-fp/lesf2.c: Likewise.
18969         * soft-fp/letf2.c: Likewise.
18970         * soft-fp/muldf3.c: Likewise.
18971         * soft-fp/mulsf3.c: Likewise.
18972         * soft-fp/multf3.c: Likewise.
18973         * soft-fp/negdf2.c: Likewise.
18974         * soft-fp/negsf2.c: Likewise.
18975         * soft-fp/negtf2.c: Likewise.
18976         * soft-fp/op-1.h: Likewise.
18977         * soft-fp/op-2.h: Likewise.
18978         * soft-fp/op-4.h: Likewise.
18979         * soft-fp/op-8.h: Likewise.
18980         * soft-fp/op-common.h: Likewise.
18981         * soft-fp/quad.h: Likewise.
18982         * soft-fp/single.h: Likewise.
18983         * soft-fp/soft-fp.h: Likewise.
18984         * soft-fp/sqrtdf2.c: Likewise.
18985         * soft-fp/sqrtsf2.c: Likewise.
18986         * soft-fp/sqrttf2.c: Likewise.
18987         * soft-fp/subdf3.c: Likewise.
18988         * soft-fp/subsf3.c: Likewise.
18989         * soft-fp/subtf3.c: Likewise.
18990         * soft-fp/truncdfsf2.c: Likewise.
18991         * soft-fp/trunctfdf2.c: Likewise.
18992         * soft-fp/trunctfsf2.c: Likewise.
18993         * soft-fp/trunctfxf2.c: Likewise.
18994         * soft-fp/unorddf2.c: Likewise.
18995         * soft-fp/unordsf2.c: Likewise.
18996         * soft-fp/unordtf2.c: Likewise.
18998 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
19000         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
19001         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
19003 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
19005         * elf/dl-libc.c: Clear initfini list after freeing.
19007 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
19009         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
19010         * soft-fp/addsf3.c: Likewise.
19011         * soft-fp/addtf3.c: Likewise.
19012         * soft-fp/divdf3.c: Likewise.
19013         * soft-fp/divsf3.c: Likewise.
19014         * soft-fp/divtf3.c: Likewise.
19015         * soft-fp/double.h: Likewise.
19016         * soft-fp/eqdf2.c: Likewise.
19017         * soft-fp/eqsf2.c: Likewise.
19018         * soft-fp/eqtf2.c: Likewise.
19019         * soft-fp/extenddftf2.c: Likewise.
19020         * soft-fp/extended.h: Likewise.
19021         * soft-fp/extendsfdf2.c: Likewise.
19022         * soft-fp/extendsftf2.c: Likewise.
19023         * soft-fp/extendxftf2.c: Likewise.
19024         * soft-fp/fixdfdi.c: Likewise.
19025         * soft-fp/fixdfsi.c: Likewise.
19026         * soft-fp/fixdfti.c: Likewise.
19027         * soft-fp/fixsfdi.c: Likewise.
19028         * soft-fp/fixsfsi.c: Likewise.
19029         * soft-fp/fixsfti.c: Likewise.
19030         * soft-fp/fixtfdi.c: Likewise.
19031         * soft-fp/fixtfsi.c: Likewise.
19032         * soft-fp/fixtfti.c: Likewise.
19033         * soft-fp/fixunsdfdi.c: Likewise.
19034         * soft-fp/fixunsdfsi.c: Likewise.
19035         * soft-fp/fixunsdfti.c: Likewise.
19036         * soft-fp/fixunssfdi.c: Likewise.
19037         * soft-fp/fixunssfsi.c: Likewise.
19038         * soft-fp/fixunssfti.c: Likewise.
19039         * soft-fp/fixunstfdi.c: Likewise.
19040         * soft-fp/fixunstfsi.c: Likewise.
19041         * soft-fp/fixunstfti.c: Likewise.
19042         * soft-fp/floatdidf.c: Likewise.
19043         * soft-fp/floatdisf.c: Likewise.
19044         * soft-fp/floatditf.c: Likewise.
19045         * soft-fp/floatsidf.c: Likewise.
19046         * soft-fp/floatsisf.c: Likewise.
19047         * soft-fp/floatsitf.c: Likewise.
19048         * soft-fp/floattidf.c: Likewise.
19049         * soft-fp/floattisf.c: Likewise.
19050         * soft-fp/floattitf.c: Likewise.
19051         * soft-fp/floatundidf.c: Likewise.
19052         * soft-fp/floatundisf.c: Likewise.
19053         * soft-fp/floatunsidf.c: Likewise.
19054         * soft-fp/floatunsisf.c: Likewise.
19055         * soft-fp/floatuntidf.c: Likewise.
19056         * soft-fp/floatuntisf.c: Likewise.
19057         * soft-fp/floatuntitf.c: Likewise.
19058         * soft-fp/fmadf4.c: Likewise.
19059         * soft-fp/fmasf4.c: Likewise.
19060         * soft-fp/fmatf4.c: Likewise.
19061         * soft-fp/gedf2.c: Likewise.
19062         * soft-fp/gesf2.c: Likewise.
19063         * soft-fp/getf2.c: Likewise.
19064         * soft-fp/ledf2.c: Likewise.
19065         * soft-fp/lesf2.c: Likewise.
19066         * soft-fp/letf2.c: Likewise.
19067         * soft-fp/muldf3.c: Likewise.
19068         * soft-fp/mulsf3.c: Likewise.
19069         * soft-fp/multf3.c: Likewise.
19070         * soft-fp/negdf2.c: Likewise.
19071         * soft-fp/negsf2.c: Likewise.
19072         * soft-fp/negtf2.c: Likewise.
19073         * soft-fp/op-1.h: Likewise.
19074         * soft-fp/op-2.h: Likewise.
19075         * soft-fp/op-4.h: Likewise.
19076         * soft-fp/op-8.h: Likewise.
19077         * soft-fp/op-common.h: Likewise.
19078         * soft-fp/quad.h: Likewise.
19079         * soft-fp/single.h: Likewise.
19080         * soft-fp/soft-fp.h: Likewise.
19081         * soft-fp/sqrtdf2.c: Likewise.
19082         * soft-fp/sqrtsf2.c: Likewise.
19083         * soft-fp/sqrttf2.c: Likewise.
19084         * soft-fp/subdf3.c: Likewise.
19085         * soft-fp/subsf3.c: Likewise.
19086         * soft-fp/subtf3.c: Likewise.
19087         * soft-fp/truncdfsf2.c: Likewise.
19088         * soft-fp/trunctfdf2.c: Likewise.
19089         * soft-fp/trunctfsf2.c: Likewise.
19090         * soft-fp/trunctfxf2.c: Likewise.
19091         * soft-fp/unorddf2.c: Likewise.
19092         * soft-fp/unordsf2.c: Likewise.
19093         * soft-fp/unordtf2.c: Likewise.
19095 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
19097         [BZ #15672]
19098         * misc/error.c (error_tail): Fix possible buffer overflow.
19100 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
19102         [BZ #13028]
19103         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
19104         address.
19106 2013-10-14  P. J. McDermott  <pj@pehjota.net>
19108         [BZ #832]
19109         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
19110         testing pipefail option.
19112 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
19114         * soft-fp/double.h: Indent preprocessor directives inside #if.
19115         * soft-fp/extended.h: Likewise.
19116         * soft-fp/op-2.h: Likewise.
19117         * soft-fp/op-4.h: Likewise.
19118         * soft-fp/op-common.h: Likewise.
19119         * soft-fp/quad.h: Likewise.
19120         * soft-fp/single.h: Likewise.
19121         * soft-fp/soft-fp.h: Likewise.
19123 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
19125         * iconv/iconv_prog.c: Fix typos.
19126         * stdio-common/psiginfo-data.h: Likewise.
19128 2013-10-12   Reuben Thomas <rrt@sc3d.org>
19130         [BZ #15764]
19131         * locale/setlocale.c: Fix typo.
19133 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
19135         [BZ #16036]
19136         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
19137         signaling NaN arguments.
19138         * soft-fp/unordsf2.c (__unordsf2): Likewise.
19139         * soft-fp/unordtf2.c (__unordtf2): Likewise.
19141         [BZ #14910]
19142         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
19143         unordered operands.
19144         * soft-fp/gesf2.c (__gesf2): Likewise.
19145         * soft-fp/getf2.c (__getf2): Likewise.
19146         * soft-fp/ledf2.c (__ledf2): Likewise.
19147         * soft-fp/lesf2.c (__lesf2): Likewise.
19148         * soft-fp/letf2.c (__letf2): Likewise.
19150         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
19151         * soft-fp/eqsf2.c (__eqsf2): Likewise.
19152         * soft-fp/eqtf2.c (__eqtf2): Likewise.
19153         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
19154         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
19155         * soft-fp/fixdfti.c (__fixdfti): Likewise.
19156         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
19157         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
19158         * soft-fp/fixsfti.c (__fixsfti): Likewise.
19159         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
19160         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
19161         * soft-fp/fixtfti.c (__fixtfti): Likewise.
19162         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
19163         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
19164         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
19165         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
19166         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
19167         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
19168         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
19169         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
19170         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
19171         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
19172         * soft-fp/floatdisf.c (__floatdisf): Likewise.
19173         * soft-fp/floatsisf.c (__floatsisf): Likewise.
19174         * soft-fp/floattidf.c (__floattidf): Likewise.
19175         * soft-fp/floattisf.c (__floattisf): Likewise.
19176         * soft-fp/floattitf.c (__floattitf): Likewise.
19177         * soft-fp/floatundidf.c (__floatundidf): Likewise.
19178         * soft-fp/floatundisf.c (__floatundisf): Likewise.
19179         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
19180         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
19181         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
19182         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
19183         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
19184         * soft-fp/gesf2.c (__gesf2): Likewise.
19185         * soft-fp/getf2.c (__getf2): Likewise.
19186         * soft-fp/ledf2.c (__ledf2): Likewise.
19187         * soft-fp/lesf2.c (__lesf2): Likewise.
19188         * soft-fp/letf2.c (__letf2): Likewise.
19190         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
19191         Undefine and redefine.
19192         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
19193         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
19194         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
19195         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
19196         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19197         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
19198         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19199         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
19200         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19201         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
19202         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19203         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
19204         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19205         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
19206         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19208         [BZ #16032]
19209         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
19210         without decrementing exponent if mantissa >= that for the
19211         denominator, not >.
19212         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
19213         denominator, not >.  Decrement exponent in < case instead of
19214         incrementing in >= case.
19215         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
19216         without decrementing exponent if mantissa >= that for the
19217         denominator, not >.
19219         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
19220         computing saturated result for unsigned overflow.
19222 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19223             Jeff Law  <law@redhat.com>
19225         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
19226         (atan2Mp): Add systemtap probe marker.
19227         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
19228         (__ieee754_log): Add systemtap probe marker.
19229         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
19230         (atanMp): Add systemtap probe marker.
19231         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
19232         (tanMp): Add systemtap probe marker.
19233         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
19234         (__slowexp): Add systemtap probe marker.
19235         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
19236         (__slowpow): Add systemtap probe marker.
19237         * manual/probes.texi: Document probes.
19239 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
19241         [BZ #15362]
19242         * libio/fileops.c (_IO_new_file_write): Return count of bytes
19243         written.
19244         (_IO_new_file_xsputn): Don't return EOF if nothing has been
19245         written.
19246         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
19247         written to buffer but not flushed.
19248         * libio/iofwrite_u.c:  Likewise.
19249         * libio/iopadn.c:  Return bytes returned even if EOF was
19250         encountered.
19251         * libio/iowpadn.c:  Likewise.
19252         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
19253         if _IO_padn does not write the whole buffer.
19254         [!COMPILE_WPRINTF] (PAD): Likewise.
19256 2013-10-10  David S. Miller  <davem@davemloft.net>
19258         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
19259         directory block.
19261 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
19263         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
19264         instead of FSF address.
19265         * soft-fp/fixdfti.c: Likewise.
19266         * soft-fp/fixsfti.c: Likewise.
19267         * soft-fp/fixtfti.c: Likewise.
19268         * soft-fp/fixunsdfti.c: Likewise.
19269         * soft-fp/fixunssfti.c: Likewise.
19270         * soft-fp/fixunstfti.c: Likewise.
19271         * soft-fp/floattidf.c: Likewise.
19272         * soft-fp/floattisf.c: Likewise.
19273         * soft-fp/floattitf.c: Likewise.
19274         * soft-fp/floatuntidf.c: Likewise.
19275         * soft-fp/floatuntisf.c: Likewise.
19276         * soft-fp/floatuntitf.c: Likewise.
19277         * soft-fp/trunctfxf2.c: Likewise.
19279         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
19280         * soft-fp/fixdfti.c: Likewise.
19281         * soft-fp/fixsfti.c: Likewise.
19282         * soft-fp/fixtfti.c: Likewise.
19283         * soft-fp/fixunsdfti.c: Likewise.
19284         * soft-fp/fixunssfti.c: Likewise.
19285         * soft-fp/fixunstfti.c: Likewise.
19286         * soft-fp/floattidf.c: Likewise.
19287         * soft-fp/floattisf.c: Likewise.
19288         * soft-fp/floattitf.c: Likewise.
19289         * soft-fp/floatuntidf.c: Likewise.
19290         * soft-fp/floatuntisf.c: Likewise.
19291         * soft-fp/floatuntitf.c: Likewise.
19292         * soft-fp/trunctfxf2.c: Likewise.
19294 2013-10-10  David S. Miller  <davem@davemloft.net>
19296         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19298 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
19300         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19301         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
19302         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
19303         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
19304         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
19305         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
19306         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
19308         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
19309         for NaNs before doing comparisons on argument.
19310         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
19311         Likewise.
19313 2013-10-10  Will Newton  <will.newton@linaro.org>
19315         * malloc/hooks.c (memalign_check): Ensure the value of bytes
19316         passed to _int_memalign does not overflow.
19318 2013-10-10  Torvald Riegel  <triegel@redhat.com>
19320         * scripts/bench.pl: Add include-sources directive.
19321         * benchtests/README: Update documentation.
19323 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
19325         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
19326         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
19327         instead of FP_INIT_ROUNDMODE.
19328         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
19329         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
19331         [BZ #16034]
19332         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
19333         copy class of input value.
19334         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
19335         not handle exceptions.
19336         * soft-fp/negsf2.c (__negsf2): Likewise.
19337         * soft-fp/negtf2.c (__negtf2): Likewise.
19338         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
19340 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
19342         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
19343         semicolon.  From Linux kernel.
19345 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
19347         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
19349 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
19351         [BZ #156]
19352         * manual/socket.texi: Added statement about buffer
19353         for gethostbyname2_r.
19355 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
19357         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
19358         Use .p2align directive instead, throughout.
19359         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19360         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
19361         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
19362         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19363         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19364         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
19365         * sysdeps/x86_64/strchr.S: Likewise.
19366         * sysdeps/x86_64/strrchr.S: Likewise.
19368 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
19370         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
19372         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
19374         * sysdeps/generic/math_private.h (__mpsin1): Remove
19375         declaration.
19376         (__mpcos1): Likewise.
19377         (__mpsin): New argument __range_reduce.
19378         (__mpcos): Likewise.
19379         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19380         (slow): Use __mpsin and __mpcos.
19381         (slow1): Likewise.
19382         (slow2): Likewise.
19383         (sloww): Likewise.
19384         (sloww1): Likewise.
19385         (sloww2): Likewise.
19386         (bsloww): Likewise.
19387         (bsloww1): Likewise.
19388         (bsloww2): Likewise.
19389         (cslow2): Likewise.
19390         (csloww): Likewise.
19391         (csloww1): Likewise.
19392         (csloww2): Likewise.
19393         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
19394         range_reduce.  Merge in __mpsin1.
19395         (__mpcos): Likewise.
19396         (__mpsin1): Remove.
19397         (__mpcos1): Likewise.
19399 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
19401         * locale/loadlocale.c (_nl_intern_locale_data): Use
19402         LOCFILE_ALIGNED_P.
19403         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
19404         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
19405         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
19406         obstack data is appropriately aligned.
19407         (obstack_int32_grow_fast): Likewise.
19408         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
19409         * locale/programs/locfile.c (add_locale_uint32): Likewise.
19410         (add_locale_uint32_array): Likewise.
19412 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
19414         * benchtests/Makefile: Remove ARGLIST and RET variables.
19415         ($(objpfx)bench-%.c): Pass only function name to the script.
19416         * benchtests/README: Update documentation.
19417         * benchtests/acos-inputs: Add new directives.
19418         * benchtests/acosh-inputs: Likewise.
19419         * benchtests/asin-inputs: Likewise.
19420         * benchtests/asinh-inputs: Likewise.
19421         * benchtests/atan-inputs: Likewise.
19422         * benchtests/atanh-inputs: Likewise.
19423         * benchtests/cos-inputs: Likewise.
19424         * benchtests/cosh-inputs: Likewise.
19425         * benchtests/exp-inputs: Likewise.
19426         * benchtests/log-inputs: Likewise.
19427         * benchtests/pow-inputs: Likewise.
19428         * benchtests/rint-inputs: Likewise.
19429         * benchtests/sin-inputs: Likewise.
19430         * benchtests/sinh-inputs: Likewise.
19431         * benchtests/tan-inputs: Likewise.
19432         * benchtests/tanh-inputs: Likewise.
19433         * scripts/bench.pl: Add support for new directives.
19435 2013-10-07  Alan Modra  <amodra@gmail.com>
19437         * README: Fix careless merge.
19439 2013-10-05  Alan Modra  <amodra@gmail.com>
19441         * NEWS: Mention powerpc64le support and bugs fixed.
19442         * README: Both big-endian and little-endian powerpc64 supported.
19444 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19446         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
19447         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
19448         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
19449         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
19451 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
19453         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
19454         match prototype.
19456 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
19458         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
19459         Move -mhard-float appending from
19460         ports/sysdeps/powerpc/powerpc32/Makefile.
19461         [$(with-fp) = yes] (ASFLAGS): Likewise.
19462         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
19463         * sysdeps/powerpc/nofpu: Move directory from
19464         ports/sysdeps/powerpc/nofpu.
19465         * sysdeps/powerpc/soft-fp: Move directory from
19466         ports/sysdeps/powerpc/soft-fp.
19467         * sysdeps/powerpc/powerpc32/405: Move directory from
19468         ports/sysdeps/powerpc/powerpc32/405.
19469         * sysdeps/powerpc/powerpc32/440: Move directory from
19470         ports/sysdeps/powerpc/powerpc32/440.
19471         * sysdeps/powerpc/powerpc32/464: Move directory from
19472         ports/sysdeps/powerpc/powerpc32/464.
19473         * sysdeps/powerpc/powerpc32/476: Move directory from
19474         ports/sysdeps/powerpc/powerpc32/476.
19475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
19476         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
19477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
19478         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
19479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
19480         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
19481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
19482         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
19483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
19484         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
19485         * README: Update for powerpc-*-linux-gnu software floating point
19486         support in libc.
19488         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
19489         case to powerpc/powerpc32*.
19490         * sysdeps/unix/sysv/linux/configure: Regenerated.
19492         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
19493         (_FPU_MASK_OM): Define as 0x04.
19494         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
19495         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
19496         0x00c10080.
19497         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
19498         0x0000003c.
19499         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
19501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
19502         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
19503         getcontext_e500.
19504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
19505         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
19506         setcontext_e500.
19507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
19508         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
19509         and setcontext_e500.
19511 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
19513         * locale/iso-3166.def: Update iso-1366.def and related occurrences
19515 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19517         * manual/threads.texi (Default Thread Attributes): Fix typo.
19519 2013-10-04  Will Newton  <will.newton@linaro.org>
19521         * malloc/Makefile: Add tst-memalign.
19522         * malloc/tst-memalign.c: New file.
19524         * malloc/tst-posix_memalign.c: Add comments.
19525         (do_test): Add comments and call free on all potentially
19526         allocated pointers. Add space after cast.
19528         * malloc/tst-pvalloc.c: Add comments.
19529         (do_test): Add comments and call free on all potentially
19530         allocated pointers. Remove duplicate check for NULL pointer.
19531         Add space after cast.
19533         * malloc/tst-valloc.c: Add comments.
19534         (do_test): Add comments and call free on all potentially
19535         allocated pointers. Remove duplicate check for NULL pointer.
19536         Add space after cast.
19538 2013-10-04  Alan Modra  <amodra@gmail.com>
19540         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19541         Use stdint types in rather than __attribute__((mode())).
19542         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19544 2013-10-04  Alan Modra  <amodra@gmail.com>
19546         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19547         Correct handling of unaligned relocs for little-endian.
19548         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19550 2013-10-04  Alan Modra  <amodra@gmail.com>
19552         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
19553         * configure: Regenerate.
19554         * nptl/shlib-versions: Powerpc*le starts at 2.18.
19555         * shlib-versions: Likewise.
19557 2013-10-04  Alan Modra  <amodra@gmail.com>
19559         * string/tester.c (test_memrchr): Increment reported test cycle.
19561 2013-10-04  Alan Modra  <amodra@gmail.com>
19563         * string/test-memcpy.c (do_one_test): When reporting errors, print
19564         string address and don't overrun end of string.
19566 2013-10-04  Alan Modra  <amodra@gmail.com>
19568         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
19569         insrdi.  Make better use of reg selection to speed exit slightly.
19570         Schedule entry path a little better.  Remove useless "are we done"
19571         checks on entry to main loop.  Handle wrapping around zero address.
19572         Correct main loop count.  Handle single left-over word from main
19573         loop inline rather than by using loop_small.  Remove extra word
19574         case in loop_small caused by wrong loop count.  Add little-endian
19575         support.
19576         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19577         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
19578         cache hint.
19579         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19580         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
19581         support.  Avoid rlwimi.
19582         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
19584 2013-10-04  Alan Modra  <amodra@gmail.com>
19586         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
19587         insrdi.  Formatting.
19588         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
19589         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
19590         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
19591         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19592         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19593         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
19595 2013-10-04  Alan Modra  <amodra@gmail.com>
19597         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
19598         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19599         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
19600         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
19601         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19602         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19603         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19604         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19605         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
19606         use of regs.  Use power7 mtocrf.  Tidy function tails.
19608 2013-10-04  Alan Modra  <amodra@gmail.com>
19610         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
19611         Formatting.  Consistently use rXXX register defines or rN defines.
19612         Use early exit labels that avoid restoring unused non-volatile regs.
19613         Make cr field use more consistent with rWORDn compares.  Rename
19614         regs used as shift registers for unaligned loop, using rN defines
19615         for short lifetime/multiple use regs.
19616         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19617         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
19618         addi 1,1,64 to pop stack frame.  Simplify return value code.
19619         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19621 2013-10-04  Alan Modra  <amodra@gmail.com>
19623         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
19624         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
19625         rather than rlwimi.
19626         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
19627         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
19628         little-endian support.  Correct typos.
19629         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
19630         rather than rlwimi.
19631         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
19632         in loop and entry code to keep "and." results.
19633         (strchr): Add little-endian support.  Comment.  Move cntlzd
19634         earlier in tail.
19635         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
19637 2013-10-04  Alan Modra  <amodra@gmail.com>
19639         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
19640         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
19641         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
19642         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
19644 2013-10-04  Alan Modra  <amodra@gmail.com>
19646         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
19647         (rTMP): Define as r11.
19648         (strcmp): Add little-endian support.  Optimise tail.
19649         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
19650         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19651         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19652         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19653         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19654         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19655         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19657 2013-10-04  Alan Modra  <amodra@gmail.com>
19659         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
19660         little-endian support.  Remove unnecessary "are we done" tests.
19661         Handle "s" wrapping around zero and extremely large "size".
19662         Correct main loop count.  Handle single left-over word from main
19663         loop inline rather than by using small_loop.  Correct comments.
19664         Delete "zero" tail, use "end_max" instead.
19665         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
19667 2013-10-04  Alan Modra  <amodra@gmail.com>
19669         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
19670         support.  Don't branch over align.
19671         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
19672         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
19673         support.  Rearrange tmp reg use to suit.  Comment.
19674         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
19676 2013-10-04  Alan Modra  <amodra@gmail.com>
19678         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
19680 2013-10-04  Alan Modra  <amodra@gmail.com>
19682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
19683         conditional form of branch and link when obtaining pc.
19684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
19686 2013-10-04  Alan Modra  <amodra@gmail.com>
19688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
19689         HIWORD/LOWORD.
19690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
19691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
19693 2013-10-04  Alan Modra  <amodra@gmail.com>
19695         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
19696         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
19697         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
19698         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
19699         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19700         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
19701         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
19702         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
19703         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
19704         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
19706 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
19707             Alistair Popple <alistair@ozlabs.au.ibm.com>
19708             Alan Modra <amodra@gmail.com>
19710         [BZ #15723]
19711         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
19712         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
19713         _dl_hwcap access for little-endian.
19714         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
19715         destroy vmx regs when saving unaligned.
19716         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
19717         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
19718         destroy vmx regs when saving unaligned.
19720 2013-10-04  Alan Modra  <amodra@gmail.com>
19722         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
19723         Don't use a union to pack hi/low value.
19725 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
19727         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
19728         for little-endian.
19729         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19730         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
19731         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19732         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19733         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19735 2013-10-04  Alan Modra  <amodra@gmail.com>
19737         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
19738         constants to usual value for .cst8 section, and remove redundant
19739         high address load.
19740         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
19741         constant for 0x1p52.  Load little-endian words of double from
19742         correct stack offsets.
19744 2013-10-04  Alan Modra  <amodra@gmail.com>
19746         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
19747         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
19748         words of double from correct stack offsets.
19749         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
19750         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
19751         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19752         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19753         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19754         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19755         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19756         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
19757         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
19758         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19759         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19760         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19761         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19762         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19763         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19764         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
19765         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
19767 2013-10-04  Alan Modra  <amodra@gmail.com>
19769         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
19770         64-bit int/double union.
19771         (_FPU_SETCW): Likewise.
19772         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
19773         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
19775 2013-10-04  Alan Modra  <amodra@gmail.com>
19777         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
19778         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
19780 2013-10-04  Alan Modra  <amodra@gmail.com>
19782         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
19783         use vector int constants.
19784         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
19786 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
19788         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
19789         array with long long.
19790         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
19791         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
19792         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
19793         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
19794         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
19795         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
19796         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
19797         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
19798         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
19799         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
19800         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
19801         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
19802         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
19804 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
19806         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
19807         (__signbit): Likewise.  Correct for little-endian.
19808         (__signbitl): Call __signbit.
19809         (lrint): Correct for little-endian.
19810         (lrintf): Call lrint.
19812 2013-10-04  Alan Modra  <amodra@gmail.com>
19814         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
19815         union 32-bit int array member with 64-bit int array.
19816         (t515, tm256): Double rather than long double.
19817         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
19819 2013-10-04  Alan Modra  <amodra@gmail.com>
19821         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
19822         Delete.
19823         (IEEE854_LONG_DOUBLE_BIAS): Delete.
19824         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
19825         version of math_ldbl.h.
19827 2013-10-04  Alan Modra  <amodra@gmail.com>
19829         [BZ #15734], [BZ #15735]
19830         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
19831         all uses of ieee875 long double macros and unions.  Simplify test
19832         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
19833         ldbl_extract_mantissa value for ix,iy exponents.  Properly
19834         normalize after ldbl_extract_mantissa, and don't add hidden bit
19835         already handled.  Don't treat low word of ieee854 mantissa like
19836         low word of IBM long double and mask off bit when testing for
19837         zero.
19838         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
19839         all uses of ieee875 long double macros and unions.  Simplify tests
19840         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
19841         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
19842         two1022, instead use their values.  Recognise that tests for large
19843         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
19844         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
19845         Rewrite all uses of ieee875 long double macros and unions.  Simplify
19846         test for 0.0L and nan.  Correct negation.
19847         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
19848         ieee875 long double macros and unions.  Correct output for large
19849         magnitude x.  Correct absolute value calculation.
19850         (__erfcl): Likewise.
19851         * math/libm-test.inc: Add tests for errors discovered in IBM long
19852         double versions of fmodl, remainderl, erfl and erfcl.
19854 2013-10-04  Alan Modra  <amodra@gmail.com>
19856         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
19857         all uses of ieee854 long double macros and unions.  Simplify tests
19858         for long doubles that are fully specified by the high double.
19859         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
19860         Likewise.
19861         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
19862         Remove dead code too.
19863         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19864         (__ieee754_ynl): Likewise.
19865         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
19866         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
19867         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
19868         Remove dead code too.
19869         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
19870         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
19871         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
19872         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
19873         Simplify.
19874         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
19875         Simplify.
19876         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
19877         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
19878         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
19879         Comment on variable precision.
19880         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
19881         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19882         Likewise.
19883         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
19884         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19885         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19886         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
19887         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
19889 2013-10-04  Alan Modra  <amodra@gmail.com>
19891         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
19892         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
19893         all uses of ieee854 long double macros and unions.
19894         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
19895         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19896         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
19897         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
19898         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
19899         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19900         Likewise.
19901         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
19902         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
19903         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
19904         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19905         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
19906         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
19907         Simplify sign and nan test too.
19908         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
19909         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
19910         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
19911         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
19912         Likewise.
19913         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19914         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
19915         Likewise.
19916         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19917         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
19918         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
19919         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
19920         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
19921         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
19923 2013-10-04  Alan Modra  <amodra@gmail.com>
19925         * stdio-common/printf_size.c (__printf_size): Don't use
19926         union ieee854_long_double in fpnum union.
19927         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
19928         signbit macro to retrieve sign from long double.
19929         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
19930         retrieve sign from long double.
19931         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
19932         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
19933         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
19934         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19935         * math/test-misc.c (main): Don't use union ieee854_long_double.
19937 2013-10-04  Alan Modra  <amodra@gmail.com>
19939         [BZ #15680]
19940         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
19941         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
19942         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
19943         calculation.  Remove unnecessary test for denormal exponent.
19944         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
19945         Correct handling of denormals.  Avoid undefined shift behaviour.
19946         Correct normalisation of low mantissa when low double is denormal.
19947         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
19948         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
19949         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
19950         Correct normalisation of low mantissa.  Test for overflow of high
19951         mantissa and normalise.
19952         (ldbl_nearbyint): Use more readable constant for two52.
19953         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
19954         (__mpn_construct_long_double): Fix test for overflow of high
19955         mantissa and correct normalisation.  Avoid undefined shift.
19957 2013-10-04  Alan Modra  <amodra@gmail.com>
19959         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19960         (union ibm_extended_long_double): Define as an array of ieee754_double.
19961         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
19962         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
19963         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
19964         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19965         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19966         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
19967         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19968         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19969         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19970         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
19971         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19973 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
19975         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
19976         page size instead of calling getpagesize.
19978         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
19979         (LOCFILE_ALIGN_MASK): Likewise.
19980         (LOCFILE_ALIGN_UP): Likewise.
19981         (LOCFILE_ALIGNED_P): Likewise.
19982         * locale/programs/ld-collate.c (collate_output): Use the new
19983         macros instead of __alignof__ (int32_t).
19984         * locale/weight.h (findidx): Likewise.
19986 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
19988         [BZ #431]
19989         * manual/string.texi: Fix strncat and wcsncat.
19991 2013-10-03  Brooks Moses  <bmoses@google.com>
19993         [BZ #15915]
19994         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
19995         * Makerules: ...here, and adjust associated comments.
19997 2013-10-02  Will Newton  <will.newton@linaro.org>
19999         * malloc/Makefile: Add tst-pvalloc.
20000         * malloc/tst-pvalloc.c: New file.
20002 2013-10-02  Will Newton  <will.newton@linaro.org>
20004         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
20005         improve test coverage.
20007 2013-10-02  Will Newton  <will.newton@linaro.org>
20009         * malloc/Makefile: Add tst-posix_memalign.
20010         * malloc/tst-posix_memalign.c: New file.
20012 2013-10-01  Eric Blake  <eblake@redhat.com>
20014         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
20015         Use __THROWNL rather than __THROW on static functions.
20017 2013-09-30  Petr Machata  <pmachata@redhat.com>
20019         * elf/elf.h (R_AARCH64_ABS16): New macro.
20020         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
20021         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
20022         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
20023         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
20024         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
20025         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
20026         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
20027         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
20028         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
20029         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
20030         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
20031         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
20032         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
20033         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
20034         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
20035         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
20036         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
20037         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
20038         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
20039         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
20040         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
20041         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
20042         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
20043         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
20044         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
20045         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
20046         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
20047         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
20048         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
20049         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
20050         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
20051         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
20052         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
20053         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
20054         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
20055         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
20056         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
20057         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
20058         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
20059         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
20060         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
20061         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
20062         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
20063         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
20064         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
20065         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
20066         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
20067         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
20068         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
20069         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
20070         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
20071         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
20072         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
20073         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
20074         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
20075         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
20076         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
20077         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
20078         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
20079         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
20080         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
20081         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
20082         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
20083         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
20084         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
20085         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
20086         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
20087         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
20088         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
20089         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
20090         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
20091         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
20092         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
20093         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
20094         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
20095         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
20096         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
20097         (R_AARCH64_TLSDESC_LDR): Likewise.
20098         (R_AARCH64_TLSDESC_ADD): Likewise.
20099         (R_AARCH64_TLSDESC_CALL): Likewise.
20101 2013-09-30  Andreas Schwab  <schwab@suse.de>
20103         [BZ #15048]
20104         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
20105         the nss database lookup.
20106         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20107         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20109 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
20111         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
20113 2013-09-28  P. J. McDermott  <pj@pehjota.net>
20115         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
20116         ${Bash-specific parameter/pattern/string} parameter expansion.
20117         * sysdeps/unix/make-syscalls.sh: Likewise.
20119 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20121         * sysdeps/sh/stackguard-macros.h: New file.
20123 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
20125         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20126         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
20127         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
20128         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
20129         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20130         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
20132 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20134         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
20135         Fix thread ID register.
20137 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
20139         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
20140         [POSIX || UNIX98]: Require rather than permitting all symbols from
20141         <time.h>.
20142         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
20143         element of struct sched_param.
20144         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
20145         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
20146         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
20147         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
20148         constant.
20150 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
20152         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
20153         argument calculation.
20155 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
20157         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
20158         Expect macro.
20159         [POSIX] (pthread_attr_t): Do not require type.
20160         [POSIX] (pthread_cond_t): Likewise.
20161         [POSIX] (pthread_condattr_t): Likewise.
20162         [POSIX] (pthread_key_t): Likewise.
20163         [POSIX] (pthread_mutex_t): Likewise.
20164         [POSIX] (pthread_mutexattr_t): Likewise.
20165         [POSIX] (pthread_once_t): Likewise.
20166         [POSIX] (pthread_t): Likewise.
20167         [POSIX-based standards] (pthread_atfork): Expect function.
20169 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
20170             Richard Sandiford  <richard@codesourcery.com>
20172         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
20173         (swap_endianness_p): New extern variable.
20174         (set_big_endian): New inline function.
20175         (maybe_swap_uint32): Likewise.
20176         (maybe_swap_uint32_array): Likewise.
20177         (maybe_swap_uint32_obstack): Likewise.
20178         * locale/programs/locfile.c: Include <stdbool.h>.
20179         (swap_endianness_p): New variable.
20180         (add_locale_uint32): Call maybe_swap_uint32.
20181         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
20182         (write_locale_data): Call maybe_swap_uint32_array.
20183         * locale/programs/ld-collate.c (obstack_int32_grow): Call
20184         maybe_swap_uint32.
20185         (obstack_int32_grow_fast): Likewise.
20186         (output_weightwc): Call maybe_swap_uint32_obstack.
20187         (collate_output): Likewise.
20188         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
20189         (OPT_LITTLE_ENDIAN): Likewise.
20190         (options): Add --little-endian and --big-endian options.
20191         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
20192         * locale/programs/locarchive.c: Include "locfile.h".
20193         (GET): New macro.
20194         (SET): Likewise.
20195         (INC): Likewise.
20196         (create_archive): Use the new macros to access fields of
20197         structures directly mapped from or written to locale archives.
20198         (oldlocrecentcmp): Likewise.
20199         (enlarge_archive): Likewise.
20200         (insert_name): Likewise.
20201         (add_alias): Likewise.
20202         (add_locale): Likewise.
20203         (delete_locales_from_archive): Likewise.
20204         (show_archive_content): Likewise.
20205         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
20206         locale data.
20208 2013-09-24  Roland McGrath  <roland@hack.frob.com>
20210         * manual/freemanuals.texi: Updated from (newly) canonical copy at
20211         http://www.gnu.org/doc/freemanuals.texi.
20212         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
20214 2013-09-24  Will Newton  <will.newton@linaro.org>
20216         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
20217         macro.
20219 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
20221         * locale/hashval.h (compute_hashval): Interpret bytes of key as
20222         unsigned char.
20224 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
20226         * manual/threads.texi (POSIX Threads): Fix a typo.
20228 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20230         [BZ #14547]
20231         * string/tst-strcoll-overflow.c: New test case.
20232         * string/Makefile (xtests): Add tst-strcoll-overflow.
20233         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
20234         cache if string sizes may cause integer overflow.
20236         [BZ #14547]
20237         * string/strcoll_l.c (coll_seq): New members rule, idx,
20238         save_idx and back_us.
20239         (get_next_seq_nocache): New function.
20240         (do_compare_nocache): New function.
20241         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
20242         when malloc fails.
20244 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
20246         [BZ #15754]
20247         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
20248         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
20249         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
20251         [BZ #15754]
20252         * elf/Makefile (tests): Add tst-ptrguard1.
20253         (tests-static): Add tst-ptrguard1-static.
20254         (tst-ptrguard1-ARGS): Define.
20255         (tst-ptrguard1-static-ARGS): Define.
20256         * elf/tst-ptrguard1.c: New file.
20257         * elf/tst-ptrguard1-static.c: New file.
20258         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
20259         * sysdeps/i386/stackguard-macros.h: Likewise.
20260         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20261         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20262         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20263         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20264         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20265         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20267 2013-09-23  Hector Marco  <hecmargi@upv.es>
20268             Ismael Ripoll  <iripoll@disca.upv.es>
20269             Carlos O'Donell  <carlos@redhat.com>
20271         [BZ #15754]
20272         * sysdeps/generic/stackguard-macros.h: Define
20273         __pointer_chk_guard_local and POINTER_CHK_GUARD.
20274         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
20275         Define __pointer_chk_guard_local.
20276         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
20277         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
20279 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
20281         [BZ #15859]
20282         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
20284 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
20286         * include/string.h (__ffs): Declare as hidden.
20287         * string/ffs.c (__ffs): Define as hidden.
20288         * sysdeps/i386/ffs.c (__ffs): Likewise.
20289         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
20290         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
20291         * sysdeps/s390/ffs.c (__ffs): Likewise.
20292         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
20294 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
20296         * NEWS: Mention malloc probes.
20298         * malloc/arena.c (new_heap): New memory_heap_new probe.
20299         (grow_heap): New memory_heap_more probe.
20300         (shrink_heap): New memory_heap_less probe.
20301         (heap_trim): New memory_heap_free probe.
20302         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
20303         (systrim): New memory_sbrk_less probe.
20304         * manual/probes.texi: Document them.
20306         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
20307         * manual/probes.texi: Document it.
20309         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
20310         (__libc_realloc): Add memory_realloc_retry probe.
20311         (__libc_memalign): Add memory_memalign_retry probe.
20312         (__libc_valloc): Add memory_valloc_retry probe.
20313         (__libc_pvalloc): Add memory_pvalloc_retry probe.
20314         (__libc_calloc): Add memory_calloc_retry probe.
20315         * manual/probes.texi: Document them.
20317         * malloc/arena.c (get_free_list): Add probe
20318         memory_arena_reuse_free_list.
20319         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
20320         and memory_arena_reuse.
20321         (arena_get2) [!PER_THREAD]: Likewise.
20322         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
20323         memory_arena_reuse_realloc.
20324         * manual/probes.texi: Document them.
20326         * malloc/malloc.c (__libc_free): Add
20327         memory_mallopt_free_dyn_thresholds probe.
20328         (__libc_mallopt): Add multiple memory_mallopt probes.
20329         * manual/probes.texi: Document them.
20331         * malloc/malloc.c: Include stap-probe.h.
20332         (__libc_mallopt): Add memory_mallopt probe.
20333         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
20334         * manual/probes.texi: New.
20335         * manual/Makefile (chapters): Add probes.
20336         * manual/threads.texi: Set next node.
20338 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
20340         [BZ #15963, #13985]
20341         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
20342         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
20343         Add `Chinese' to `nan' entry name.
20345 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20347         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
20348         (POLYNOMIAL): Likewise.
20349         (TAYLOR_SINCOS): Likewise.
20350         (TAYLOR_SLOW): Likewise.
20351         (__sin): Use TAYLOR_SINCOS.
20352         (__cos): Likewise.
20353         (slow): Use TAYLOR_SLOW.
20354         (sloww): Likewise.
20355         (bsloww): Likewise.
20356         (csloww): Likewise.
20358 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20360         * stdlib/strtod_l.c: Fix buffer overrun.
20362 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20364         * benchtests/Makefile (bench): Add sincos.
20365         * benchtests/bench-sincos.c: New file.
20367         * math/libm-test.inc (cos_test_data): New test inputs.
20368         (sin_test_data): Likewise.
20370         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
20371         macro.
20372         (__sin): Use it.
20373         (__cos): Likewise.
20374         (slow1): Likewise.
20375         (slow2): Likewise.
20376         (sloww1): Likewise.
20377         (sloww2): Likewise.
20378         (bsloww1): Likewise.
20379         (bsloww2): Likewise.
20380         (cslow2): Likewise.
20381         (csloww1): Likewise.
20382         (csloww2): Likewise.
20384         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
20385         function.
20386         (__sin): Use it.
20387         (__cos): Likewise.
20389         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
20390         gotos.
20391         (__cos): Likewise.
20393 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
20395         * config.h.in (HAVE_MIPS_NAN2008): New macro.
20396         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
20397         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
20398         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
20399         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
20400         * elf/cache.c (print_entry): Handle the new cache flags.
20402 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
20403             Aldy Hernandez  <aldyh@redhat.com>
20405         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
20406         Change condition to [_SOFT_FLOAT].
20407         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
20408         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
20409         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
20410         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
20411         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
20412         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
20413         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
20414         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
20415         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
20416         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
20417         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
20418         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
20419         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
20420         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
20421         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
20422         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
20423         declaration.
20425 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
20427         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
20428         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
20429         (__longjmp): Use LOAD_GP to load saved GPRs.
20430         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
20431         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
20432         (__sigsetjmp): Use SAVE_GP to save GPRs.
20434         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
20435         Do not append -msoft-float.
20436         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
20438 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20440         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
20442 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
20444         [BZ #15966]
20445         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
20446         (_FPU_GETCW): Use initial "__" on variable and field names but not
20447         on macro parameter name.
20448         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
20449         parentheses around reference to macro parameter.
20451 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
20453         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
20454         prototype.
20455         (ctype_startup): Use uint32_t in cast and sizeof for
20456         ctype->charnames.
20458 2013-09-11  Jia Liu  <proljc@gmail.com>
20460         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
20461         __daddr_t_defined.
20462         [__FreeBSD__]: Likewise.
20464 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
20466         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20467         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
20468         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
20469         (strchr): Remove __strchr_sse42 ifunc selection.
20470         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
20471         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
20473 2013-09-11  Will Newton  <will.newton@linaro.org>
20475         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
20476         parameter to RES. Remove hardcoded 1000 value.
20477         * benchtests/bench-skeleton.c (main): Pass RES parameter
20478         to TIMING_INIT and multiply result by 1000.
20480 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20482         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20484 2013-09-11  Andreas Schwab  <schwab@suse.de>
20486         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
20487         if not defined.
20488         (O_TMPFILE) [__USE_GNU]: Define.
20489         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
20490         Define.
20492 2013-09-11  Will Newton  <will.newton@linaro.org>
20494         [BZ #15857]
20495         * malloc/malloc.c (__libc_memalign): Check the value of bytes
20496         does not overflow.
20498 2013-09-11  Will Newton  <will.newton@linaro.org>
20500         [BZ #15856]
20501         * malloc/malloc.c (__libc_valloc): Check the value of bytes
20502         does not overflow.
20504 2013-09-11  Will Newton  <will.newton@linaro.org>
20506         [BZ #15855]
20507         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
20508         does not overflow.
20510 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
20512         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
20513         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20514         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20515         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20516         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20518 2013-09-10  Allan McRae  <allan@archlinux.org>
20520         [BZ #15748]
20521         * manual/arith.texi (Parsing of Floats): Clarify
20522         cross-reference.
20524         [BZ #15849]
20525         * manual/install.texi (Running make install): Mention
20526         --enable-pt-chown.
20527         * INSTALL: Regenerated.
20529 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
20531         * csu/init-first.c (_init): Remove the !SHARED condition around
20532         FPU control word initialization.
20533         * elf/dl-support.c (_dl_fpu_control): New variable.
20534         (_dl_aux_init) <AT_FPUCW>: Initialize it.
20535         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
20536         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
20537         * math/test-fpucw-static.c: New file.
20538         * math/test-fpucw-ieee.c: New file.
20539         * math/test-fpucw-ieee-static.c: New file.
20540         * math/Makefile (tests): Add `test-fpucw-ieee' and
20541         `$(tests-static)'.
20542         (tests-static): New variable.
20543         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
20544         dependency to...
20545         [($(build-shared),yes)]
20546         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
20547         ... this.
20548         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
20549         New dependency.
20551 2013-09-09  Allan McRae  <allan@archlinux.org>
20553         [BZ #15939]
20554         * manual/string.texi (Collation Functions): Fix typo in
20555         strcoll example.
20556         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
20558         [BZ #15893]
20559         * stdlib/isomac.c (get_null_defines): Fix memory leak.
20561         [BZ #15892]
20562         * libio/memstream.c (open_memstream): Fix memory leak.
20563         * libio/wmemstream.c (open_wmemstream): Likewise.
20565         [BZ #15895]
20566         * nscd/netgroupcache.c: Fix nesting of ifdefs.
20568 2013-09-09  Will Newton  <will.newton@linaro.org>
20570         * malloc/Makefile: Add tst-realloc to tests.
20571         * malloc/tst-realloc.c: New file.
20573 2013-09-09  Allan McRae  <allan@archlinux.org>
20575         [BZ #15844]
20576         * COPYING: Update from GNU website to fix FSF address.
20577         * COPYING.LIB: Likewise.
20579 2013-09-06  David S. Miller  <davem@davemloft.net>
20581         * po/zh_TW.po: Update Chinese (traditional) translation from
20582         translation project.
20584 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
20585             Joseph Myers  <joseph@codesourcery.com>
20587         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
20588         "localeinfo.h".
20589         (obstack_chunk_alloc): New macro.
20590         (obstack_chunk_free): Likewise.
20591         (record_offset): New function.
20592         (init_locale_data): Likewise.
20593         (align_locale_data): Likewise.
20594         (add_locale_empty): Likewise.
20595         (add_locale_raw_data): Likewise.
20596         (add_locale_raw_obstack): Likewise.
20597         (add_locale_string): Likewise.
20598         (add_locale_wstring): Likewise.
20599         (add_locale_uint32): Likewise.
20600         (add_locale_uint32_array): Likewise.
20601         (add_locale_char): Likewise.
20602         (start_locale_structure): Likewise.
20603         (end_locale_structure): Likewise.
20604         (start_locale_prelude): Likewise.
20605         (end_locale_prelude): Likewise.
20606         (write_locale_data): Take locale_file structure rather than an
20607         iovec.
20608         * locale/programs/locfile.h: Include "obstack.h".
20609         (struct locale_file): Change to store locale file contents instead
20610         of header.
20611         (init_locale_data): New prototype.
20612         (align_locale_data): Likewise.
20613         (add_locale_empty): Likewise.
20614         (add_locale_raw_data): Likewise.
20615         (add_locale_raw_obstack): Likewise.
20616         (add_locale_string): Likewise.
20617         (add_locale_wstring): Likewise.
20618         (add_locale_uint32): Likewise.
20619         (add_locale_uint32_array): Likewise.
20620         (add_locale_char): Likewise.
20621         (start_locale_structure): Likewise.
20622         (end_locale_structure): Likewise.
20623         (start_locale_prelude): Likewise.
20624         (end_locale_prelude): Likewise.
20625         (write_locale_data): Update prototype.
20626         * locale/programs/3level.h (struct TABLE): Remove result field.
20627         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
20628         Use new locale_file interface.
20629         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
20630         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
20631         * locale/programs/ld-address.c (address_output): Use new
20632         locale_file interface.
20633         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
20634         NO_ADD_LOCALE.
20635         (collate_finish): Don't call collseq_table_finalize.
20636         (collate_output): Use new locale_file interface.
20637         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
20638         in file.
20639         (NO_FINALIZE): Change to NO_ADD_LOCALE.
20640         (TABLE): Move defines earlier in file.
20641         (ELEMENT): Likewise.
20642         (DEFAULT): Likewise.
20643         (wctrans_table_add): Move macro and inline function earlier in
20644         file.
20645         (struct wctype_table): Move type earlier in file.
20646         (add_locale_wctype_table): New static prototype.
20647         (struct locale_ctype_t): Use logical types instead of struct iovec
20648         pointers for members.
20649         (ctype_output): Use new locale_file interface.
20650         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
20651         new locale_file interface.
20652         (allocate_arrays): Update for use of new locale_file interface.
20653         * locale/programs/ld-identification.c (identification_output): Use
20654         new locale_file interface.
20655         * locale/programs/ld-measurement.c (measurement_output): Likewise.
20656         * locale/programs/ld-messages.c (messages_output): Likewise.
20657         * locale/programs/ld-monetary.c (monetary_output): Likewise.
20658         * locale/programs/ld-name.c (name_output): Likewise.
20659         * locale/programs/ld-numeric.c (numeric_output): Likewise.
20660         * locale/programs/ld-paper.c (paper_output): Likewise.
20661         * locale/programs/ld-telephone.c (telephone_output): Likewise.
20662         * locale/programs/ld-time.c (time_output): Likewise.
20664 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20666         * benchtests/Makefile: Add memrchr benchmark.
20667         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
20668         benchmark as memrchr.
20669         * benchtests/bench-memrchr-ifunc.c: New file.
20670         * benchtests/bench-memrchr.c: New file.
20672 2013-09-06   Will Newton  <will.newton@linaro.org>
20674         * benchtests/Makefile (string-bench): Add memcpy.
20676 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
20677             Cong Wang  <amwang@redhat.com>
20679         [BZ #15850]
20680         * sysdeps/unix/sysv/linux/bits/in.h
20681         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
20682         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
20683         before __USE_KERNEL_IPV6_DEFS uses.
20684         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
20685         IPPROTO_BEETPH.
20686         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
20687         sockaddr_in6, or ipv6_mreq.
20689 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20691         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
20692         memory access for final bytes in some large inputs.
20693         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
20695 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20697         * string/test-memrchr.c: New file.
20698         * string/test-memrchr-ifunc.c: New file.
20699         * string/Makefile: Add new memrchr testcase.
20701 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
20703         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
20704         fanotify_init returns EPERM.
20706 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
20708         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
20709         errors.
20710         (top level): Treat second token from macro or constant entries for
20711         allowed headers as allowed.
20712         * include/complex.h: Condition internal declarations on
20713         [!_ISOMAC].
20714         * include/fenv.h: Condition include of <stdbool.h> and internal
20715         declarations on [!_ISOMAC].
20717 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
20719         [BZ #15923]
20720         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
20722 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
20724         * configure.in (--enable-versioning): Remove configure option.
20725         (libc_cv_asm_symver_directive): Remove configure test.
20726         (libc_cv_ld_version_script_option): Likewise.
20727         (VERSIONING): Remove variable and AC_SUBST.
20728         (DO_VERSIONING): Remove AC_DEFINE.
20729         * configure: Regenerated.
20730         * config.h.in (DO_VERSIONING): Remove macro.
20731         * Makerules [$(versioning) = yes]: Change conditionals to
20732         [$(build-shared) = yes].
20733         * config.make.in (versioning): Remove variable.
20734         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
20735         [$(build-shared) = yes].
20736         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
20737         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
20738         * elf/Makefile [$(versioning) = yes]: Change conditionals to
20739         [$(build-shared) = yes].
20740         * extra-lib.mk [$(versioning) = yes]: Likewise.
20741         * hurd/Makefile [$(versioning) = yes]: Likewise.
20742         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
20743         [SHARED].
20744         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
20745         [SHARED].
20746         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
20747         [SHARED && !NO_HIDDEN].
20748         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
20749         [SHARED].
20750         [SHARED && DO_VERSIONING]: Likewise..
20751         * libio/Makefile [$(versioning) = yes]: Change conditionals to
20752         [$(build-shared) = yes].
20753         * manual/install.texi (--disable-versioning): Remove
20754         documentation.
20755         * INSTALL: Regenerated.
20756         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
20757         to [SHARED].
20758         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
20759         [$(build-shared) = yes].
20760         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
20761         * sysdeps/i386/i686/multiarch/strstr-c.c
20762         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
20763         [SHARED && !NO_HIDDEN].
20764         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
20765         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
20766         * sysdeps/powerpc/powerpc32/dl-machine.c
20767         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
20768         * sysdeps/powerpc/powerpc32/sysdep.h
20769         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
20770         to [SHARED && PIC && !NO_HIDDEN].
20771         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
20772         conditional to [SHARED].
20774 2013-09-04   Will Newton  <will.newton@linaro.org>
20776         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
20777         * benchtests/bench-string.h: Include bench-timing.h instead
20778         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
20779         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
20780         call to HP_TIMING_DIFF_INIT.
20781         * benchtests/bench-memccpy.c: Use bench-timing.h macros
20782         instead of hp-timing.h macros.
20783         * benchtests/bench-memchr.c: Likewise.
20784         * benchtests/bench-memcmp.c: Likewise.
20785         * benchtests/bench-memcpy.c: Likewise.
20786         * benchtests/bench-memmem.c: Likewise.
20787         * benchtests/bench-memmove.c: Likewise.
20788         * benchtests/bench-memset.c: Likewise.
20789         * benchtests/bench-rawmemchr.c: Likewise.
20790         * benchtests/bench-strcasecmp.c: Likewise.
20791         * benchtests/bench-strcasestr.c: Likewise.
20792         * benchtests/bench-strcat.c: Likewise.
20793         * benchtests/bench-strchr.c: Likewise.
20794         * benchtests/bench-strcmp.c: Likewise.
20795         * benchtests/bench-strcpy.c: Likewise.
20796         * benchtests/bench-strcpy_chk.c: Likewise.
20797         * benchtests/bench-strlen.c: Likewise.
20798         * benchtests/bench-strncasecmp.c: Likewise.
20799         * benchtests/bench-strncat.c: Likewise.
20800         * benchtests/bench-strncmp.c: Likewise.
20801         * benchtests/bench-strncpy.c: Likewise.
20802         * benchtests/bench-strnlen.c: Likewise.
20803         * benchtests/bench-strpbrk.c: Likewise.
20804         * benchtests/bench-strrchr.c: Likewise.
20805         * benchtests/bench-strspn.c: Likewise.
20806         * benchtests/bench-strstr.c: Likewise.
20808 2013-09-04  Will Newton  <will.newton@linaro.org>
20810         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
20812 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
20814         [BZ #15427]
20815         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
20816         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
20817         * math/libm-test.inc (lgamma_test_data): Add more tests.
20818         * sysdeps/i386/fpu/libm-test-ulps: Update.
20819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20821 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
20823         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
20824         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20825         Add ifunc.
20826         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20827         Add strcmp-sse2-unaligned
20828         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
20830 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
20832         * Versions.def (libc): Add GLIBC_2.19.
20834 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
20836         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
20837         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
20839 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
20841         [BZ #14155]
20842         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
20843         intermediate calculations in recurrence.
20844         (__ieee754_ynf): Likewise.
20845         * math/libm-test.inc (jn_test_data): Do not allow spurious
20846         underflow exception.  Add more tests.
20847         (yn_test_data): Add more tests.
20848         * sysdeps/i386/fpu/libm-test-ulps: Update.
20849         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20851 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
20853         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
20855 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
20857         * csu/init-first.c: Fix then/than typos.
20858         * locale/programs/ld-collate.c: Likewise.
20859         * locale/programs/linereader.h: Likewise.
20860         * manual/charset.texi: Likewise.
20861         * manual/filesys.texi: Likewise.
20862         * manual/stdio.texi: Likewise.
20863         * manual/string.texi: Likewise.
20864         * stdlib/fmtmsg.c: Likewise.
20865         * sysdeps/i386/stpncpy.S: Likewise.
20866         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20867         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20868         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20869         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20871 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
20873         * elf/dl-open.c: Fix typos.
20874         * iconvdata/gbbig5.c: Likewise.
20875         * iconvdata/iso-2022-jp.c: Likewise.
20876         * iconv/gconv_int.h: Likewise.
20877         * iconv/loop.c: Likewise.
20878         * nis/rpcsvc/nis.h: Likewise.
20879         * resolv/ns_name.c: Likewise.
20880         * stdio-common/vfscanf.c: Likewise.
20881         * streams/stropts.h: Likewise.
20882         * sunrpc/rpc_thread.c: Likewise.
20883         * sysdeps/i386/strpbrk.S: Likewise.
20884         * sysdeps/ieee754/k_standard.c: Likewise.
20885         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20886         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20887         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
20888         * sysdeps/mach/hurd/profil.c: Likewise.
20889         * sysdeps/s390/dl-procinfo.h: Likewise.
20890         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
20891         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
20892         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
20893         * sysdeps/x86_64/dl-trampoline.S: Likewise.
20894         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20896 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
20898         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
20899         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
20901 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
20903         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
20904         aix specific files.
20905         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
20906         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
20907         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
20908         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
20909         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
20910         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
20911         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
20912         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
20914 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
20915             Roland McGrath  <roland@hack.frob.com>
20917         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
20918         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
20920 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20922         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
20923         __executable_start symbol instead of _start.
20925 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
20927         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
20928         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
20929         Move macros to...
20930         * sysdeps/gnu/ldsodefs.h: ... this new file.
20932         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
20933         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
20934         instead of ELFOSABI_LINUX.
20936         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
20937         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
20938         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
20939         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
20940         Likewise.
20941         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
20942         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
20943         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
20944         Likewise.
20945         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
20946         (ibm_extended_long_double): Add ieee_nan member.
20947         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
20948         (do_test): New function.
20950         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
20951         TEST_TRUNC.
20952         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
20953         functions, renamed from truncdfsf_test, trunctfsf_test,
20954         trunctfdf_test.
20955         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
20956         functions.
20957         (do_test): Run all these.
20959 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
20961         * argp/argp-help.c: Fix typos.
20962         * argp/argp-parse.c: Likewise.
20963         * debug/backtracesyms.c: Likewise.
20964         * elf/elf.h: Likewise.
20965         * malloc/malloc.c: Likewise.
20966         * nis/nis_print.c: Likewise.
20967         * resolv/res_comp.c: Likewise.
20968         * stdlib/stdlib.h: Likewise.
20969         * sunrpc/clnt_tcp.c: Likewise.
20970         * sunrpc/clnt_udp.c: Likewise.
20971         * sunrpc/clnt_unix.c: Likewise.
20972         * sysdeps/unix/bsd/ptsname.c: Likewise.
20973         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
20974         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
20975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
20976         Likewise.
20977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
20978         Likewise.
20979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
20980         Likewise.
20981         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
20983 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20985         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
20986         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20988 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
20990         [BZ #15897]
20991         * dlfcn/Makefile (tests): Add bug-dl-leaf.
20992         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
20993         ($(objpfx)bug-dl-leaf): New rule.
20994         ($(objpfx)bug-dl-leaf.so): Likewise.
20995         ($(objpfx)bug-dl-leaf.out): Likewise.
20996         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
20997         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
20998         * dlfcn/bug-dl-leaf.c: New test.
20999         * dlfcn/bug-dl-leaf-lib.c: Likewise.
21000         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
21001         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
21002         (dlclose): Likewise.
21003         (dlmopen): Likewise.
21005 2013-08-27  Roland McGrath  <roland@hack.frob.com>
21007         * include/netdb.h [!_ISOMAC]:
21008         Don't include <tls.h>.
21009         (h_errno, __libc_h_errno): Move declaration and macros out of
21010         [_LIBC_REENTRANT].
21012         * include/resolv.h [_RESOLV_H_]:
21013         Don't include <tls.h>.
21014         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
21015         * resolv/res_libc.c: Don't include <tls.h>.
21016         (_res): Use __attribute__ ((nocommon)) in place of
21017         __attribute__ ((section (".bss"))).
21019         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
21020         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
21022         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
21024         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
21025         only under [SIOCGIFCONF && SIOCGIFNETMASK].
21027         * resolv/res_mkquery.c: Include <sys/time.h>.
21029         * inet/ifreq.c: Moved to ...
21030         * sysdeps/unix/ifreq.c: ... here.
21031         * inet/ifreq.c: New file, true stub version.
21033         * socket/sa_len.c: New file.
21034         * socket/Makefile (aux): Add it.
21035         * sysdeps/unix/sysv/linux/Makefile
21036         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
21037         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
21038         and #include <socket/sa_len.c>.
21039         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
21040         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
21042         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
21043         * bits/socket.h: ... here.
21045         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
21046         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
21047         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
21049 2013-08-27  Andreas Schwab  <schwab@suse.de>
21051         [BZ #15736]
21052         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
21053         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
21054         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
21055         * string/test-strcasecmp.c (test_main): Run tests in several
21056         locales.
21057         * string/test-strncasecmp.c (test_main): Likewise.
21059         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
21060         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
21061         to __strcasecmp_nonascii and __strncasecmp_nonascii.
21062         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
21063         (__strncasecmp_ssse3) [PIC]: Likewise.
21065 2013-08-26  Roland McGrath  <roland@hack.frob.com>
21067         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
21069         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
21070         instead of explicitly declaring xdecrypt.
21071         * nis/nss_nis/nis-publickey.c: Likewise.
21073 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21075         [BZ #15890]
21076         * nscd/aicache.c: Include res_hconf.h.
21077         (addhstaiX): Initialize res_hconf.
21079 2013-08-26  Andreas Schwab  <schwab@suse.de>
21081         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
21082         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
21084 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21086         * nscd/aicache.c (addhstaiX): Fix indentation.
21088 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
21090         * configure.ac: Quote $build_pt_chown test.
21091         * configure: Regenerated.
21093 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
21095         [BZ #15532]
21096         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
21097         * math/s_cexpf.c (__cexpf): Likewise.
21098         * math/s_cexpl.c (__cexpl): Likewise.
21099         * math/libm-test.inc (cexp_test_data): Correct expected return
21100         value for NaN + i0.  Add another test.
21102 2013-08-22  David S. Miller  <davem@davemloft.net>
21104         * po/ca.po: Update Catalan translation from translation project.
21105         * po/uk.po: Add Ukrainian translations from translation project.
21107 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
21109         [BZ #15797]
21110         * math/s_fdim.c (__fdim): Check for infinite arguments if result
21111         is infinite, not alongside NaN test.
21112         * math/s_fdimf.c (__fdimf): Likewise.
21113         * math/s_fdiml.c (__fdiml): Likewise.
21114         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
21115         errno is unchanged.
21117 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
21119         * argp/argp-help.c: Fix typos.
21120         * crypt/speeds.c: Likewise.
21121         * csu/check_fds.c: Likewise.
21122         * elf/dl-load.c: Likewise.
21123         * elf/dl-open.c: Likewise.
21124         * elf/reldep3.c: Likewise.
21125         * elf/reldep.c: Likewise.
21126         * elf/sprof.c: Likewise.
21127         * iconv/iconv_charmap.c: Likewise.
21128         * iconv/skeleton.c: Likewise.
21129         * iconv/strtab.c: Likewise.
21130         * io/lockf64.c: Likewise.
21131         * libio/libioP.h: Likewise.
21132         * resolv/gai_notify.c: Likewise.
21133         * resolv/ns_name.c: Likewise.
21134         * resolv/ns_samedomain.c: Likewise.
21135         * resolv/res_send.c: Likewise.
21136         * stdlib/random.c: Likewise.
21137         * sunrpc/rpc/xdr.h: Likewise.
21138         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
21139         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
21140         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
21141         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
21142         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
21143         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21144         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21145         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
21146         * sysdeps/mach/hurd/check_fds.c: Likewise.
21147         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21148         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21149         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21150         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21151         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21152         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21153         * sysdeps/pthread/aio_notify.c: Likewise.
21154         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
21155         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
21156         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
21157         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21158         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21160 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
21162         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
21163         version if bit_Slow_SSE4_2 is set.
21164         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21165         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21167 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21169         [BZ #15867]
21170         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
21171         trampoline stack frame information.
21172         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
21173         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
21174         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
21175         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
21176         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
21177         * sysdeps/unix/sysv/linux/powerpc/init-first.c
21178         (_libc_vdso_platform_setup): Initialize the signal trampolines.
21179         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
21180         sa_flags value.
21181         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
21182         interrupting a syscall and set with option SA_SIGINFO.
21184 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
21186         [BZ #15531]
21187         * math/s_cproj.c (__cproj): Only return an infinity if one part of
21188         argument is infinite.
21189         * math/s_cprojf.c (__cprojf): Likewise.
21190         * math/s_cprojl.c (__cprojl): Likewise.
21191         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
21192         * math/libm-test.inc (cproj_test_data): Add more tests.
21194         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
21196         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
21197         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
21198         size.  Use __ffs to determine corresponding shift.
21200 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
21201             Roland McGrath  <roland@hack.frob.com>
21203         * Makefile (INSTALL): Remove trailing blank lines from output of
21204         makeinfo.
21206 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21208         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
21209         Align 32 bit compat elf_greg to 8 bytes.
21211 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
21213         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
21215 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
21217         * string/strcoll_l.c (coll_seq): New structure.
21218         (get_next_seq_cached): New function.
21219         (get_next_seq): New function.
21220         (do_compare): New function.
21221         (STRCOLL): Use GNU style definition.  Simplify implementation
21222         by using get_next_seq, get_next_seq_cached and do_compare.
21224 2013-08-16  Florian Weimer  <fweimer@redhat.com>
21226         [BZ #14699]
21227         CVE-2013-4237
21228         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
21229         member.
21230         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
21231         member.
21232         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
21233         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
21234         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
21235         conditional.
21236         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
21237         GETDENTS_64BIT_ALIGNED.
21238         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
21239         * manual/filesys.texi (Reading/Closing Directory): Document
21240         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
21241         strongly.
21242         * manual/conf.texi (Limits for Files): Add portability note to
21243         NAME_MAX, PATH_MAX.
21244         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
21246 2013-08-13  Andreas Schwab  <schwab@suse.de>
21248         [BZ #15749]
21249         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
21250         of fabs.
21251         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
21252         LDBL_MAX_EXP >= 16384]: Add tests for it.
21254 2013-08-12  David S. Miller  <davem@davemloft.net>
21256         * version.h (RELEASE): Set to "development".
21257         (VERSION): Set to "2.18.90".
21258         * NEWS: Add 2.19 section.
21260 2013-08-03  David S. Miller  <davem@davemloft.net>
21262         * po/ko.po: Update Korean translation from translation project.
21264 2013-08-01  David S. Miller  <davem@davemloft.net>
21266         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
21267         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
21268         Bilka.
21270 2013-07-30  David S. Miller  <davem@davemloft.net>
21272         * po/fr.po: Update French translation from translation project.
21274 2013-07-28  David S. Miller  <davem@davemloft.net>
21276         * po/cs.po: Update Czech translation from translation project.
21278         * po/sv.po: Update Swedish translation from translation project.
21280 2013-07-27  David S. Miller  <davem@davemloft.net>
21282         * po/eo.po: Update Esperanto translation from translation project.
21284         * po/vi.po: Update Vietnamese translation from translation project.
21286         * po/de.po: Update German translation from translation project.
21288 2013-07-26  David S. Miller  <davem@davemloft.net>
21290         * po/bg.po: Update Bulgarian translation from translation project.
21292         * po/nl.po: Update Dutch translation from translation project.
21293         * po/pl.po: Update Polish translation from translation project.
21294         * po/ru.po: Update Russian translation from translation project.
21296 2013-07-24  David S. Miller  <davem@davemloft.net>
21298         * po/libc.pot: Update.
21300 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21302         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
21303         variable page size.
21304         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
21305         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
21306         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
21308 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21310         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
21312 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21313             Andreas Schwab  <schwab@suse.de>
21314             Roland McGrath  <roland@hack.frob.com>
21315             Joseph Myers  <joseph@codesourcery.com>
21316             Carlos O'Donell  <carlos@redhat.com>
21318         [BZ #15755]
21319         * config.h.in: Define HAVE_PT_CHOWN.
21320         * config.make.in (build-pt-chown): New variable.
21321         * configure.in (--enable-pt_chown): New configure option.
21322         * configure: Regenerate.
21323         * login/Makefile: Include Makeconfig.  Build pt_chown only if
21324         build-pt-chown is enabled.
21325         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
21326         pt_chown to fix pty ownership.
21327         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
21328         CLOSE_ALL_FDS.
21329         * manual/install.texi (Configuring and compiling): Mention
21330         --enable-pt_chown. Add @findex for grantpt.
21331         * INSTALL: Regenerate.
21333 2013-07-20  David S. Miller  <davem@davemloft.net>
21335         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
21336         difference between 32-bit and 64-bit.
21338 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
21340         [BZ #15711]
21341         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
21342         Avoid system header dependency with -ffreestanding.
21343         ($(objpfx)bits/syscall%d): Likewise.
21345 2013-07-13  David S. Miller  <davem@davemloft.net>
21347         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
21348         underflows from atanl/atan2l due to bug 15319.
21349         (casinh_test_data): Likewise.
21351 2013-07-07  David S. Miller  <davem@davemloft.net>
21353         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
21355 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
21357         * sysdeps/i386/fpu/libm-test-ulps: Update.
21358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21360 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21362         * configure.in (--enable-lock-elision): Fix message text.
21363         * INSTALL: Regenerate.
21364         * configure: Regenerate.
21366 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21368         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21370 2013-07-03  Andreas Jaeger  <aj@suse.de>
21372         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
21373         define.
21374         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
21375         (ptrace_peeksiginfo_args): Add.
21376         (__ptrace_peeksiginfo_flags): Add.
21377         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21378         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21379         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21381 2013-07-03  Allan McRae  <allan@archlinux.org>
21383         * sysdeps/i386/fpu/libm-test-ulps: Update.
21385 2013-07-02  David S. Miller  <davem@davemloft.net>
21387         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21389 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
21391         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21393 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
21395         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
21396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21398 2013-07-02  Andi Kleen <ak@linux.intel.com>
21400         * config.h.in (ENABLE_LOCK_ELISION): Add.
21401         * configure.in (--enable-lock-elision): Add option.
21402         * manual/install.texi: Document --enable lock elision.
21403         * configure: Regenerate
21404         * INSTALL: Regenerate.
21406 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
21408         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
21409         SSE4.2 strcasecmp for libc.a.
21410         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
21412 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
21414         [BZ #13304]
21415         * soft-fp/op-common.h (_FP_FMA): New macro.
21416         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
21417         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
21418         (_FP_MUL_MEAT_1_imm): ... here.
21419         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
21420         (_FP_MUL_MEAT_1_wide): ... here.
21421         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
21422         (_FP_MUL_MEAT_1_hard): ... here.
21423         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
21424         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
21425         (_FP_MUL_MEAT_2_wide): ... here.
21426         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
21427         (_FP_MUL_MEAT_2_wide_3mul): ... here.
21428         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
21429         (_FP_MUL_MEAT_2_gmp): ... here.
21430         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
21431         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
21432         (_FP_MUL_MEAT_4_wide): ... here.
21433         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
21434         (_FP_MUL_MEAT_4_gmp): ... here.
21435         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
21436         (_FP_WFRACBITS_DW_S): Likewise.
21437         (_FP_WFRACXBITS_DW_S): Likewise.
21438         (_FP_HIGHBIT_DW_S): Likewise.
21439         (FP_FMA_S): Likewise.
21440         (_FP_FRAC_HIGH_DW_S): Likewise.
21441         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
21442         (_FP_WFRACBITS_DW_D): Likewise.
21443         (_FP_WFRACXBITS_DW_D): Likewise.
21444         (_FP_HIGHBIT_DW_D): Likewise.
21445         (FP_FMA_D): Likewise.
21446         (_FP_FRAC_HIGH_DW_D): Likewise.
21447         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
21448         (_FP_WFRACBITS_DW_E): Likewise.
21449         (_FP_WFRACXBITS_DW_E): Likewise.
21450         (_FP_HIGHBIT_DW_E): Likewise.
21451         (FP_FMA_E): Likewise.
21452         (_FP_FRAC_HIGH_DW_E): Likewise.
21453         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
21454         (_FP_WFRACBITS_DW_Q): Likewise.
21455         (_FP_WFRACXBITS_DW_Q): Likewise.
21456         (_FP_HIGHBIT_DW_Q): Likewise.
21457         (FP_FMA_Q): Likewise.
21458         (_FP_FRAC_HIGH_DW_Q): Likewise.
21459         * soft-fp/fmasf4.c: New file.
21460         * soft-fp/fmadf4.c: Likewise.
21461         * soft-fp/fmatf4.c: Likewise.
21463 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
21465         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
21466         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
21467         Silvermont.
21468         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
21469         macro.
21470         (index_Slow_SSE4_2): Likewise.
21471         (index_Prefer_PMINUB_for_stringop): Likewise.
21472         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
21473         bit_Slow_SSE4_2 is set.
21474         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
21475         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21477 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21479         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
21480         rtld_global._dl_hwcap2.
21481         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
21482         POWER8.
21483         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
21484         POWER8 feature descriptions defined in _dl_hwcap2.
21485         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
21486         string handling for POWER8 feature bits.
21487         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
21488         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
21489         _dl_powerpc_cap_flags.
21490         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
21491         * sysdeps/powerpc/rtld-global-offsets.sym
21492         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
21493         _dl_hwcap2 in the rtld_global_ro structure.
21495 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21497         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
21498         hardware capabilities in support of AT_HWCAP2.
21499         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
21500         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
21501         GLRO(dl_hwcap2).
21502         (_dl_show_auxv): Add support for calling _dl_procinfo to display
21503         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
21504         explicitly the unknown a_type display mechanism is used.
21505         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
21506         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
21507         struct member.
21508         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
21509         to macro prototype for AT_HWCAP2 support.
21510         * sysdeps/i386/dl-procinfo.h: Likewise.
21511         * sysdeps/s390/dl-procinfo.h: Likewise.
21512         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
21513         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
21514         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
21515         return -1 for unknown a_type display fallback.
21516         * sysdeps/sparc/dl-procinfo.h: Likewise.
21517         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
21518         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
21520 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
21522         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
21523         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
21525 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
21527         [BZ #12492]
21528         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
21529         mprotect making __stack_prot writable.
21531 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
21532             Joseph Myers  <joseph@codesourcery.com>
21534         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
21535         as being properly aligned.
21537 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
21539         * dlfcn/modstatic5.c: New file.
21540         * dlfcn/tststatic5.c: New file.
21541         * dlfcn/Makefile (tests): Add tststatic5.
21542         (tests-static): Likewise.
21543         (modules-names): Add modstatic5.
21544         (tststatic5-ENV): New variable.
21545         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
21547         [BZ #15022]
21548         * elf/dl-support.c (_dl_main_map): New variable.
21549         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
21550         (_dl_nns, _dl_load_adds): Set to 1.
21551         (_dl_initial_searchlist): Refer to _dl_main_map.
21552         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
21553         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
21554         call to _dl_get_origin.
21555         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
21556         around call_map.
21557         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
21558         * dlfcn/modstatic3.c: New file.
21559         * dlfcn/tststatic3.c: New file.
21560         * dlfcn/tststatic4.c: New file.
21561         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
21562         (tests-static): Likewise.
21563         (modules-names): Add modstatic3.
21564         (tststatic3-ENV, tststatic4-ENV): New variables.
21565         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
21566         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
21568 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
21570         * configure.in (CC): Require GCC version 4.4 or later.
21571         * configure: Regenerated.
21572         * manual/install.texi (Tools for Compilation): Update GCC version
21573         requirement.
21574         * INSTALL: Regenerated.
21576 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
21578         [BZ #15674]
21579         * string/test-memcmp.c (check2): New.
21580         (main): Call check2.
21582         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
21584 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
21586         [BZ #15022]
21587         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
21588         over to...
21589         (dl_open_worker) [!SHARED]: ... here.
21591 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21593         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
21595 2013-06-25  Richard Henderson  <rth@redhat.com>
21597         * locale/programs/locarchive.c: Include <libc-internal.h>
21599 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
21601         * manual/texinfo.tex: Update to version 2013-06-21.17, with
21602         trailing whitespace removed.
21604 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
21606         [BZ #10283]
21607         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
21608         * locale/programs/locarchive.c: Include libc-mmap.h.
21609         (prepare_address_space): Take two new outputs (the mmap base and len).
21610         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
21611         values.
21612         (create_archive): Declare new mmap base and len values for
21613         prepare_address_space, and store the result in ah.
21614         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
21615         (enlarge_archive): If ah->mmap_base is not NULL, use that and
21616         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
21617         Declare new mmap base and len values for
21618         prepare_address_space, and store the result in new_ah.
21619         (open_archive): Declare new mmap base and len values for
21620         prepare_address_space, and store the result in ah.
21621         (close_archive): If ah->mmap_base is not NULL, use that and
21622         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
21623         * sysdeps/generic/libc-mmap.h: New file.
21625 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
21627         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
21628         (ALIGN_UP): Likewise.
21629         (PTR_ALIGN_DOWN): Likewise.
21630         (PTR_ALIGN_UP): Likewise.
21632 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21634         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
21635         entry mapped to PPC_PLATFORM_POWER8.
21636         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
21637         POWER8.
21638         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
21639         (_dl_string_platform): Add case for exporting platform position for
21640         POWER8.
21641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
21642         search path to sysdeps/powerpc/powerpc32/power8 directory.
21643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
21644         search path to sysdeps/powerpc/powerpc64/power8 directory.
21645         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
21646         power7 directories.
21647         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
21648         power7 directories.
21650 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21652         * INSTALL: Regenerate.
21654         * nscd/connections.c (nscd_init): Fix comment.
21656 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
21658         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
21660         [BZ #15667]
21661         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
21662         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
21664 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
21666         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
21667         DL_DST_REQ_STATIC.
21668         (DL_DST_REQ_STATIC): Remove macro.
21670 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
21672         [BZ #7006]
21673         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
21674         with a shift of 0 bits.
21676 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
21678         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
21679         $(tststatic-ENV).
21681 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21683         [BZ #15655]
21684         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
21686 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21688         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
21689         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
21690         accepts -fno-tree-loop-distribute-patterns.
21691         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
21692         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
21693         recursive call.
21694         * string/memset.c (memset): Likewise.
21695         * string/test-memmove.c (simple_memmove): Disable loop transformation
21696         to library calls.
21697         * string/test-memset.c (simple_memset): Likewise.
21698         * benchtests/bench-memmove.c (simple_memmove): Likewise.
21699         * benchtests/bench-memset.c (simple_memset): Likewise.
21700         * configure: Regenerated.
21702 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
21704         * math/test-misc.c (main): Ignore fesetround failure when failures
21705         of subsequent rounding tests would be ignored.
21707         [BZ #15654]
21708         * math/fedisblxcpt.c (fedisableexcept): Return 0.
21709         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
21710         * math/fegetenv.c (__fegetenv): Return 0.
21711         * math/fegetexcept.c (fegetexcept): Return 0.
21712         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
21713         FE_TONEAREST.
21714         * math/feholdexcpt.c (feholdexcept): Return 0.
21715         * math/fesetenv.c (__fesetenv): Return 0.
21716         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
21717         argument FE_TONEAREST.
21718         * math/feupdateenv.c (__feupdateenv): Return 0.
21719         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
21721 2013-06-18  Roland McGrath  <roland@hack.frob.com>
21723         * elf/rtld-Rules (rtld-compile-command.S): New variable.
21724         (rtld-compile-command.s, rtld-compile-command.c): New variables.
21725         ($(objpfx)rtld-%.os rules): Use them.
21727 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21729         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
21730         fields.
21732 2013-06-17  Roland McGrath  <roland@hack.frob.com>
21734         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
21735         length of target pattern, then descending length of dependency pattern.
21736         * configure.in (AWK): Require gawk 3.1.2 or newer.
21737         * manual/install.texi (Tools for Compilation): Say that we do.
21738         * configure: Regenerated.
21740         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
21741         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
21742         * scripts/sysd-rules.awk: ... this new script.
21743         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
21744         than a glob-style pattern.
21746 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
21748         * math/test-misc.c (main): Do not treat incorrectly rounded
21749         conversions as failure unless ROUNDING_TESTS passes.
21751 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
21753         [BZ #15631]
21754         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
21755         restore exception state around main square root computation, then
21756         check for inexactness explicitly.
21758         * math/libm-test.inc (fma_test_data): Add another test.
21760 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21762         * manual/threads.texi (Non-POSIX Extensions): New document
21763         node.  Document pthread_getattr_default_np and
21764         pthread_setattr_default_np.
21766         * Versions.def (libpthread): Add GLIBC_2.18.
21767         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
21768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21769         Likewise.
21770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21771         Likewise.
21772         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21773         Likewise.
21774         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21775         Likewise.
21776         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
21777         Likewise.
21778         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21779         Likewise.
21780         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21781         Likewise.
21782         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21783         Likewise.
21784         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
21785         Likewise.
21787 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
21789         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21790         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
21792 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21793             H.J. Lu  <hjl.tools@gmail.com>
21795         [BZ #15627]
21796         * sysdeps/x86_64/rtld-memset.c: Remove file.
21797         * sysdeps/x86_64/rtld-memset.S: New file.
21799 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
21801         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
21802         (test_in_one_mode): Take arguments for whether the rounding mode
21803         is supported for each floating-point type.
21804         (do_test): Pass new arguments to test_in_one_mode using
21805         ROUNDING_TESTS.
21807 2013-06-13  Roland McGrath  <roland@hack.frob.com>
21809         * posix/tst-waitid.c (do_test): Distinguish different instances of
21810         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
21811         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
21812         before entering the kernel for waitpid.
21814 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21816         * NEWS: Fix note on clock function precision.  Text by Roland
21817         McGrath.
21819 2013-06-13  Roland McGrath  <roland@hack.frob.com>
21821         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
21822         it into place only when and if the sanity check passes.
21824 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
21826         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
21827         output for whether conversion result is exact.  Take argument
21828         indicating whether type is IBM long double.
21829         (round_for_all): Change need_exact field to ibm_ld.
21830         * stdlib/tst-strtod-round.c (struct exactness): New type.
21831         (struct test): Change bool ld_ok field to struct exactness exact.
21832         (TEST): Update all definitions for change to field.
21833         (tests): Regenerate array contents.
21834         (test_in_one_mode): Take pointer to new field instead of old ld_ok
21835         field value.  Check for IBM long double here.
21836         (do_test): Update calls to test_in_one_mode.
21838 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21840         [BZ #12515]
21841         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
21842         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
21844 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21846         [BZ #15605]
21847         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
21848         generated by the compiler on loop optimizations.
21849         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
21850         general definitions.
21852 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
21854         * math/bug-nextafter.c: Include <math-tests.h>.
21855         (main): Only test for exceptions if EXCEPTION_TESTS is true for
21856         the relevant type.
21857         * math/bug-nexttoward.c: Include <math-tests.h>.
21858         (main): Only test for exceptions if EXCEPTION_TESTS is true for
21859         the relevant type.
21860         * math/test-misc.c: Include <math-tests.h>.
21861         (main): Only test for exceptions if EXCEPTION_TESTS is true for
21862         the relevant type.
21864 2013-06-12  Andreas Jaeger  <aj@suse.de>
21866         * po/ia.po: Update Interlingua translation from translation
21867         project.
21869 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21871         * include/fenv.h: Include stdbool.h.
21872         (struct rm_ctx): New structure.
21873         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
21874         Define macro.
21875         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
21876         (SET_RESTORE_ROUNDF): Likewise.
21877         (SET_RESTORE_ROUNDL): Likewise.
21878         (SET_RESTORE_ROUND_NOEX): Likewise.
21879         (SET_RESTORE_ROUND_NOEXF): Likewise.
21880         (SET_RESTORE_ROUND_NOEXL): Likewise.
21881         (SET_RESTORE_ROUND_53BIT): Likewise.
21882         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
21883         (libc_feresetround_noexf_ctx): Likewise.
21884         (libc_feresetround_noexl_ctx): Likewise.
21885         (libc_feholdsetround_53bit_ctx): Likewise.
21886         (libc_feresetround_53bit_ctx): Likewise.
21887         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
21888         (libc_feholdexcept_setround_sse_ctx): New function.
21889         (libc_fesetenv_sse_ctx): Likewise.
21890         (libc_feupdateenv_sse_ctx): Likewise.
21891         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
21892         (libc_feholdexcept_setround_387_ctx): Likewise.
21893         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
21894         (libc_feholdsetround_387_prec_ctx): Likewise.
21895         (libc_feholdsetround_387_ctx): Likewise.
21896         (libc_feholdsetround_387_53bit_ctx): Likewise.
21897         (libc_feholdsetround_sse_ctx): Likewise.
21898         (libc_feresetround_sse_ctx): Likewise.
21899         (libc_feresetround_387_ctx): Likewise.
21900         (libc_feupdateenv_387_ctx): Likewise.
21901         (libc_feholdexcept_setroundf_ctx): Define macro.
21902         (libc_fesetenvf_ctx): Likewise.
21903         (libc_feupdateenvf_ctx): Likewise.
21904         (libc_feholdsetroundf_ctx): Likewise.
21905         (libc_feresetroundf_ctx): Likewise.
21906         (libc_feholdexcept_setround_ctx): Likewise.
21907         (libc_fesetenv_ctx): Likewise.
21908         (libc_feupdateenv_ctx): Likewise.
21909         (libc_feholdsetround_ctx): Likewise.
21910         (libc_feresetround_ctx): Likewise.
21911         (libc_feholdexcept_setroundl_ctx): Likewise.
21912         (libc_feupdateenvl_ctx): Likewise.
21913         (libc_feholdsetroundl_ctx): Likewise.
21914         (libc_feresetroundl_ctx): Likewise.
21915         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
21916         (libc_feresetround_53bit_ctx): Likewise.
21918 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21920         * locale/iso-639.def: Convert to UTF-8.
21922 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
21924         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
21925         (EXCEPTION_TESTS_double): Likewise.
21926         (EXCEPTION_TESTS_long_double): Likewise.
21927         (EXCEPTION_TESTS): Likewise.
21928         * math/libm-test.inc (test_exceptions): Only test exceptions if
21929         EXCEPTION_TESTS (FLOAT).
21931 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21933         * benchtests/Makefile (string-bench): Add strcpy_chk and
21934         stpcpy_chk.
21935         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
21936         * benchtests/bench-stpcpy_chk.c: New file.
21937         * benchtests/bench-strcpy_chk-ifunc.c: New file.
21938         * benchtests/bench-strcpy_chk.c: New file.
21939         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
21940         code.
21941         (do_test): Likewise.
21943 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21945         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
21946         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
21947         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
21948         with tabs where appropriate.
21949         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
21950         dl-procinfo.h.
21951         [PPC_PLATFORM_PPC440]: Likewise.
21952         [PPC_PLATFORM_PPC464]: Likewise.
21953         [PPC_PLATFORM_PPC476]: Likewise.
21954         (_dl_string_platform): Add support for detecting ppc405, ppc440,
21955         ppc464, and ppc476 platform strings merging from ports/
21956         dl-procinfo.h.
21958 2013-06-11  Andreas Schwab  <schwab@suse.de>
21960         [BZ #14991]
21961         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
21962         (from_ucs4_idx): Regenerate.
21963         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
21964         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
21965         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
21966         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
21967         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
21968         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
21969         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
21970         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
21971         from FROM_LOOP and TO_LOOP specific macros.
21972         (BODY): Handle combining characters.
21973         * iconvdata/BIG5HKSCS.irreversible: Update.
21974         * iconvdata/BIG5HKSCS.precomposed: New file.
21975         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
21976         characters.
21977         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
21979 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21981         * include/sys/time.h: Fix indentation and add copyright header.
21983         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
21984         (do_test): Likewise.
21985         * string/test-memchr.c (do_one_test): Likewise.
21986         (do_test): Likewise.
21987         * string/test-memcmp.c (do_one_test): Likewise.
21988         (do_test): Likewise.
21989         * string/test-memcpy.c (do_one_test): Likewise.
21990         (do_test): Likewise.
21991         * string/test-memmem.c (do_one_test): Likewise.
21992         (do_test): Likewise.
21993         (do_random_tests): Likewise.
21994         * string/test-memmove.c (do_one_test): Likewise.
21995         (do_test): Likewise.
21996         * string/test-memset.c (do_one_test): Likewise.
21997         (do_test): Likewise.
21998         * string/test-rawmemchr.c (do_one_test): Likewise.
21999         (do_test): Likewise.
22000         * string/test-strcasecmp.c (do_one_test): Likewise.
22001         (do_test): Likewise.
22002         * string/test-strcasestr.c (do_one_test): Likewise.
22003         (do_test): Likewise.
22004         * string/test-strcat.c (do_one_test): Likewise.
22005         (do_test): Likewise.
22006         * string/test-strchr.c (do_one_test): Likewise.
22007         (do_test): Likewise.
22008         * string/test-strcmp.c (do_one_test): Likewise.
22009         (do_test): Likewise.
22010         * string/test-strcpy.c (do_one_test): Likewise.
22011         (do_test): Likewise.
22012         * string/test-string.h: Likewise.
22013         (test_init): Likewise.
22014         * string/test-strlen.c (do_one_test): Likewise.
22015         (do_test): Likewise.
22016         * string/test-strncasecmp.c (do_one_test): Likewise.
22017         (do_test): Likewise.
22018         * string/test-strncat.c (do_one_test): Likewise.
22019         (do_test): Likewise.
22020         * string/test-strncmp.c (do_one_test): Likewise.
22021         (do_test_limit): Likewise.
22022         (do_test): Likewise.
22023         * string/test-strncpy.c (do_one_test): Likewise.
22024         (do_test): Likewise.
22025         * string/test-strnlen.c (do_one_test): Likewise.
22026         (do_test): Likewise.
22027         * string/test-strpbrk.c (do_one_test): Likewise.
22028         (do_test): Likewise.
22029         * string/test-strrchr.c (do_one_test): Likewise.
22030         (do_test): Likewise.
22031         * string/test-strspn.c (do_one_test): Likewise.
22032         (do_test): Likewise.
22033         * string/test-strstr.c (do_one_test): Likewise.
22034         (do_test): Likewise.
22036         * benchtests/Makefile (string-bench): Add string benchmarks.
22037         * benchtests/bench-bcopy-ifunc.c: New file.
22038         * benchtests/bench-bcopy.c: New file.
22039         * benchtests/bench-bzero-ifunc.c: New file.
22040         * benchtests/bench-bzero.c: New file.
22041         * benchtests/bench-memccpy-ifunc.c: New file.
22042         * benchtests/bench-memccpy.c: New file.
22043         * benchtests/bench-memchr-ifunc.c: New file.
22044         * benchtests/bench-memchr.c: New file.
22045         * benchtests/bench-memcmp-ifunc.c: New file.
22046         * benchtests/bench-memcmp.c: New file.
22047         * benchtests/bench-memmem-ifunc.c: New file.
22048         * benchtests/bench-memmem.c: New file.
22049         * benchtests/bench-memmove-ifunc.c: New file.
22050         * benchtests/bench-memmove.c: New file.
22051         * benchtests/bench-mempcpy-ifunc.c: New file.
22052         * benchtests/bench-mempcpy.c: New file.
22053         * benchtests/bench-memset-ifunc.c: New file.
22054         * benchtests/bench-memset.c: New file.
22055         * benchtests/bench-rawmemchr-ifunc.c: New file.
22056         * benchtests/bench-rawmemchr.c: New file.
22057         * benchtests/bench-stpcpy-ifunc.c: New file.
22058         * benchtests/bench-stpcpy.c: New file.
22059         * benchtests/bench-stpncpy-ifunc.c: New file.
22060         * benchtests/bench-stpncpy.c: New file.
22061         * benchtests/bench-strcasecmp-ifunc.c: New file.
22062         * benchtests/bench-strcasecmp.c: New file.
22063         * benchtests/bench-strcasestr-ifunc.c: New file.
22064         * benchtests/bench-strcasestr.c: New file.
22065         * benchtests/bench-strcat-ifunc.c: New file.
22066         * benchtests/bench-strcat.c: New file.
22067         * benchtests/bench-strchr-ifunc.c: New file.
22068         * benchtests/bench-strchr.c: New file.
22069         * benchtests/bench-strchrnul-ifunc.c: New file.
22070         * benchtests/bench-strchrnul.c: New file.
22071         * benchtests/bench-strcmp-ifunc.c: New file.
22072         * benchtests/bench-strcmp.c: New file.
22073         * benchtests/bench-strcpy-ifunc.c: New file.
22074         * benchtests/bench-strcpy.c: New file.
22075         * benchtests/bench-strcspn-ifunc.c: New file.
22076         * benchtests/bench-strcspn.c: New file.
22077         * benchtests/bench-strlen-ifunc.c: New file.
22078         * benchtests/bench-strlen.c: New file.
22079         * benchtests/bench-strncasecmp-ifunc.c: New file.
22080         * benchtests/bench-strncasecmp.c: New file.
22081         * benchtests/bench-strncat-ifunc.c: New file.
22082         * benchtests/bench-strncat.c: New file.
22083         * benchtests/bench-strncmp-ifunc.c: New file.
22084         * benchtests/bench-strncmp.c: New file.
22085         * benchtests/bench-strncpy-ifunc.c: New file.
22086         * benchtests/bench-strncpy.c: New file.
22087         * benchtests/bench-strnlen-ifunc.c: New file.
22088         * benchtests/bench-strnlen.c: New file.
22089         * benchtests/bench-strpbrk-ifunc.c: New file.
22090         * benchtests/bench-strpbrk.c: New file.
22091         * benchtests/bench-strrchr-ifunc.c: New file.
22092         * benchtests/bench-strrchr.c: New file.
22093         * benchtests/bench-strspn-ifunc.c: New file.
22094         * benchtests/bench-strspn.c: New file.
22095         * benchtests/bench-strstr-ifunc.c: New file.
22096         * benchtests/bench-strstr.c: New file.
22098         * benchtests/Makefile: Disable parallel execution of targets.
22099         (string-bench): Add memcpy.
22100         (benchset): New variable to store a list of benchmark sets.
22101         (bench-func): Renamed from bench.
22102         (bench-set): New target.
22103         (bench): Depend on bench-func and bench-set.
22104         * benchtests/README: Add section on benchmark sets.
22105         * benchtests/bench-memcpy-ifunc.c: New file.
22106         * benchtests/bench-memcpy.c: New file.
22107         * benchtests/bench-string.h: New file.
22109 2013-06-11  Andreas Schwab  <schwab@suse.de>
22111         [BZ #15577]
22112         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
22113         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
22114         values in the triple.
22115         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
22116         terminator in the group key.
22118 2013-06-11  Andreas Jaeger  <aj@suse.de>
22120         * po/zh_TW.po: Update Chinese (traditional) translation from
22121         translation project.
22123 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22125         * include/time.h (__clock_gettime): Add libc_hidden_proto.
22126         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
22127         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
22128         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
22129         (clock_getcpuclockid): Likewise.
22130         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
22131         Add weak_alias and libc_hidden_def.
22132         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
22133         * rt/clock_gettime.c (clock_gettime): Rename to
22134         __clock_gettime.  Add weak_alias and libc_hidden_def.
22135         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
22136         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
22137         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
22138         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
22139         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
22140         Likewise.
22141         * rt/clock_settime.c (clock_settime): Rename to
22142         __clock_settime.  Add weak_alias and libc_hidden_def.
22143         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
22145 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
22147         * mach/err_boot.sub: Remove trailing whitespace.
22148         * mach/err_ipc.sub: Likewise.
22149         * mach/err_mach.sub: Likewise.
22151         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
22152         (ROUNDING_TESTS_double): Likewise.
22153         (ROUNDING_TESTS_long_double): Likewise.
22154         (ROUNDING_TESTS): Likewise.
22155         * math/libm-test.inc: Include <math-tests.h>.
22156         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
22157         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
22158         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
22159         (IF_ROUND_INIT_FE_UPWARD): Likewise.
22161 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22163         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
22164         of assigning.
22166 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
22168         * sysdeps/gnu/errlist.awk: Do not generate space at end of
22169         otherwise empty TRANS lines.
22170         * sysdeps/gnu/errlist.c: Regenerated.
22172         * catgets/gencat.c (error_print): Use (void) in function
22173         definition.
22174         * crypt/crypt_util.c (__init_des): Likewise.
22175         * crypt/speeds.c (Stop): Likewise.
22176         (main): Likewise.
22177         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
22178         * inet/ruserpass.c (token): Likewise.
22179         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
22180         * intl/localealias.c (extend_alias_table): Likewise.
22181         * intl/plural-exp.c (init_germanic_plural): Likewise.
22182         * libio/fcloseall.c (__fcloseall): Likewise.
22183         * libio/genops.c (_IO_flush_all): Likewise.
22184         (_IO_flush_all_linebuffered): Likewise.
22185         (_IO_cleanup): Likewise.
22186         (_IO_iter_begin): Likewise.
22187         (_IO_iter_end): Likewise.
22188         (_IO_list_lock): Likewise.
22189         (_IO_list_unlock): Likewise.
22190         (_IO_list_resetlock): Likewise.
22191         * libio/getchar.c (getchar): Likewise.
22192         * libio/getchar_u.c (getchar_unlocked): Likewise.
22193         * libio/getwchar.c (getwchar): Likewise.
22194         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
22195         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
22196         * login/getpt.c (__getpt): Likewise.
22197         * login/tst-utmp.c (main): Likewise.
22198         * malloc/hooks.c (__malloc_check_init): Likewise.
22199         * malloc/malloc.c (__malloc_stats): Likewise.
22200         * malloc/mtrace.c (tr_break): Likewise.
22201         (mtrace): Likewise.
22202         (muntrace): Likewise.
22203         * misc/fstab.c (endfsent): Likewise.
22204         * misc/getclktck.c (__getclktck): Likewise.
22205         * misc/getdtsz.c (__getdtablesize): Likewise.
22206         * misc/gethostid.c (gethostid): Likewise.
22207         * misc/getpagesize.c (__getpagesize): Likewise.
22208         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
22209         (__get_nprocs): Likewise.
22210         (__get_phys_pages): Likewise.
22211         (__get_avphys_pages): Likewise.
22212         * misc/getttyent.c (getttyent): Likewise.
22213         (setttyent): Likewise.
22214         (endttyent): Likewise.
22215         * misc/getusershell.c (getusershell): Likewise.
22216         (endusershell): Likewise.
22217         (setusershell): Likewise.
22218         (initshells): Likewise.
22219         * misc/hsearch.c (__hdestroy): Likewise.
22220         * misc/sync.c (sync): Likewise.
22221         * misc/syslog.c (closelog_internal): Likewise.
22222         (closelog): Likewise.
22223         * misc/ttyslot.c (ttyslot): Likewise.
22224         * misc/vhangup.c (vhangup): Likewise.
22225         * posix/fork.c (__fork): Likewise.
22226         * posix/getegid.c (__getegid): Likewise.
22227         * posix/geteuid.c (__geteuid): Likewise.
22228         * posix/getgid.c (__getgid): Likewise.
22229         * posix/getpid.c (__getpid): Likewise.
22230         * posix/getppid.c (__getppid): Likewise.
22231         * posix/getuid.c (__getuid): Likewise.
22232         * posix/pause.c (pause): Likewise.
22233         * posix/setpgrp.c (setpgrp): Likewise.
22234         * posix/setsid.c (__setsid): Likewise.
22235         * posix/test-vfork.c (noop): Likewise.
22236         * resolv/gethnamaddr.c (_endhtent): Likewise.
22237         (_gethtent): Likewise.
22238         (ht_endhostent): Likewise.
22239         (gethostent): Likewise.
22240         (dns_service): Likewise.
22241         * stdlib/drand48.c (drand48): Likewise.
22242         * stdlib/lrand48.c (lrand48): Likewise.
22243         * stdlib/mrand48.c (mrand48): Likewise.
22244         * stdlib/rand.c (rand): Likewise.
22245         * stdlib/random.c (__random): Likewise.
22246         * stdlib/setenv.c (clearenv): Likewise.
22247         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
22248         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
22249         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
22250         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
22251         (__get_nprocs): Likewise.
22252         (__get_phys_pages): Likewise.
22253         (__get_avphys_pages): Likewise.
22254         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
22255         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
22256         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
22257         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
22258         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
22259         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
22260         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
22261         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
22262         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
22263         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
22264         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
22265         * sysdeps/mach/hurd/sync.c (sync): Likewise.
22266         * sysdeps/posix/clock.c (clock): Likewise.
22267         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
22268         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
22269         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
22270         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
22271         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
22272         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
22273         (__get_nprocs_conf): Likewise.
22274         (__get_phys_pages): Likewise.
22275         (__get_avphys_pages): Likewise.
22276         * time/clock.c (clock): Likewise.
22277         * time/tzset.c (__tzname_max): Likewise.
22279 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
22281         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
22282         (__bswap_32): Do not use "register".
22283         * crypt/crypt.c (_ufc_doit_r): Likewise.
22284         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
22285         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
22286         * gmon/gmon.c (__monstartup): Likewise.
22287         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
22288         * hurd/hurdmalloc.c (more_memory): Likewise.
22289         (malloc): Likewise.
22290         (free): Likewise.
22291         (realloc): Likewise.
22292         (malloc_fork_prepare): Likewise.
22293         (malloc_fork_parent): Likewise.
22294         (malloc_fork_child): Likewise.
22295         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
22296         (_svcauth_des): Likewise.
22297         * inet/inet_lnaof.c (inet_lnaof): Likewise.
22298         * inet/inet_net.c (inet_network): Likewise.
22299         * inet/inet_netof.c (inet_netof): Likewise.
22300         * inet/rcmd.c (__validuser2_sa): Likewise.
22301         * io/fts.c (fts_open): Likewise.
22302         (fts_load): Likewise.
22303         (fts_close): Likewise.
22304         (fts_read): Likewise.
22305         (fts_children): Likewise.
22306         (fts_build): Likewise.
22307         (fts_stat): Likewise.
22308         (fts_sort): Likewise.
22309         (fts_alloc): Likewise.
22310         (fts_lfree): Likewise.
22311         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
22312         (_IO_file_xsgetn): Likewise.
22313         (_IO_file_xsgetn_mmap): Likewise.
22314         * libio/iofopncook.c (_IO_cookie_read): Likewise.
22315         (_IO_cookie_write): Likewise.
22316         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
22317         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
22318         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
22319         * malloc/obstack.c (_obstack_begin): Likewise.
22320         (_obstack_begin_1): Likewise.
22321         (_obstack_newchunk): Likewise.
22322         (_obstack_allocated_p): Likewise.
22323         (obstack_free): Likewise.
22324         (_obstack_memory_used): Likewise.
22325         * misc/getttyent.c (getttynam): Likewise.
22326         (getttyent): Likewise.
22327         (skip): Likewise.
22328         (value): Likewise.
22329         * misc/getusershell.c (initshells): Likewise.
22330         * misc/syslog.c (__vsyslog_chk): Likewise.
22331         * misc/ttyslot.c (ttyslot): Likewise.
22332         * nis/nis_hash.c (__nis_hash): Likewise.
22333         * posix/fnmatch_loop.c (FCT): Likewise.
22334         * posix/getconf.c (print_all): Likewise.
22335         (main): Likewise.
22336         * posix/getopt.c (exchange): Likewise.
22337         * posix/glob.c (globfree): Likewise.
22338         (prefix_array): Likewise.
22339         (__glob_pattern_type): Likewise.
22340         * resolv/arpa/nameser.h (NS_GET16): Likewise.
22341         (NS_GET32): Likewise.
22342         (NS_PUT16): Likewise.
22343         (NS_PUT32): Likewise.
22344         * resolv/gethnamaddr.c (getanswer): Likewise.
22345         (gethostbyname2): Likewise.
22346         (gethostbyaddr): Likewise.
22347         (_gethtent): Likewise.
22348         (_gethtbyname2): Likewise.
22349         (_gethtbyaddr): Likewise.
22350         * resolv/ns_print.c (dst_s_get_int16): Likewise.
22351         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
22352         * resolv/res_init.c (__res_vinit): Likewise.
22353         (net_mask): Likewise.
22354         * resolv/res_mkquery.c (outchar): Likewise.
22355         (PRINT): Likewise.
22356         * stdio-common/printf_fp.c (outchar): Likewise.
22357         (PRINT): Likewise.
22358         * stdio-common/printf_fphex.c (outchar): Likewise.
22359         (PRINT): Likewise.
22360         * stdio-common/printf_size.c (outchar): Likewise.
22361         (PRINT): Likewise.
22362         * stdio-common/test_rdwr.c (main): Likewise.
22363         * stdio-common/tfformat.c (matches): Likewise.
22364         * stdio-common/vfprintf.c (outchar): Likewise.
22365         (printf_unknown): Likewise.
22366         (buffered_vfprintf): Likewise.
22367         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
22368         * stdio-common/xbug.c (AppendToBuffer): Likewise.
22369         (ReadFile): Likewise.
22370         * stdlib/qsort.c (SWAP): Likewise.
22371         (_quicksort): Likewise.
22372         * stdlib/setenv.c (__add_to_environ): Likewise.
22373         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
22374         * stdlib/strtol_l.c (__strtol_l): Likewise.
22375         * stdlib/tst-strtod.c (main): Likewise.
22376         * stdlib/tst-strtol.c (main): Likewise.
22377         * stdlib/tst-strtoll.c (main): Likewise.
22378         * string/bits/string2.h (__strcmp_cc): Likewise.
22379         (__strcmp_cg): Likewise.
22380         (__strcspn_c1): Likewise.
22381         (__strcspn_c2): Likewise.
22382         (__strcspn_c3): Likewise.
22383         (__strspn_c1): Likewise.
22384         (__strspn_c2): Likewise.
22385         (__strspn_c3): Likewise.
22386         (__strsep_1c): Likewise.
22387         (__strsep_2c): Likewise.
22388         (__strsep_3c): Likewise.
22389         * string/memccpy.c (__memccpy): Likewise.
22390         * string/stpcpy.c (__stpcpy): Likewise.
22391         * string/strcmp.c (strcmp): Likewise.
22392         * string/strrchr.c (strrchr): Likewise.
22393         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
22394         Likewise.
22395         * sysdeps/mach/hurd/getcwd.c
22396         (_hurd_canonicalize_directory_name_internal): Likewise.
22397         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
22398         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
22399         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
22400         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
22401         Likewise, in both definitions.
22402         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
22403         definitions.
22404         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
22405         64] (__bswap_64): Likewise.
22406         * time/test_time.c (main): Likewise.
22407         * time/tzfile.c (__tzfile_read): Likewise.
22408         (__tzfile_compute): Likewise.
22409         * time/tzset.c (__tzset_parse_tz): Likewise.
22410         (tzset_internal): Likewise.
22411         (compute_change): Likewise.
22412         * wcsmbs/wcscat.c (__wcscat): Likewise.
22413         * wcsmbs/wcschr.c (wcschr): Likewise.
22414         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
22415         * wcsmbs/wcscspn.c (wcscspn): Likewise.
22416         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
22417         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
22418         * wcsmbs/wcsspn.c (wcsspn): Likewise.
22419         * wcsmbs/wcsstr.c (wcsstr): Likewise.
22420         * wcsmbs/wmemchr.c (wmemchr): Likewise.
22421         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22422         * wcsmbs/wmemset.c (wmemset): Likewise.
22424 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
22426         * scripts/config.guess: Update to version 2013-05-16.
22427         * scripts/config.sub: Update to version 2013-04-24.
22428         * scripts/install-sh: Update to version 2011-11-20.07.
22429         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
22430         * scripts/move-if-change: Update to version 2012-01-06 07:23.
22432 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
22434         * debug/fgetws_u_chk.c: Fix leading whitespaces.
22435         * elf/sln.c: Likewise.
22436         * hurd/hurd/ioctl.h: Likewise.
22437         * hurd/hurdmalloc.c: Likewise.
22438         * hurd/xattr.c: Likewise.
22439         * include/shlib-compat.h: Likewise.
22440         * inet/ruserpass.c: Likewise.
22441         * libio/iofgets_u.c: Likewise.
22442         * libio/iofgetws_u.c: Likewise.
22443         * locale/programs/ld-identification.c: Likewise.
22444         * locale/programs/ld-time.c: Likewise.
22445         * mach/msg-destroy.c: Likewise.
22446         * nss/nss_files/files-netgrp.c: Likewise.
22447         * resolv/res_data.c: Likewise.
22448         * soft-fp/op-1.h: Likewise.
22449         * soft-fp/op-2.h: Likewise.
22450         * soft-fp/op-4.h: Likewise.
22451         * soft-fp/op-common.h: Likewise.
22452         * stdio-common/printf_fphex.c: Likewise.
22453         * stdlib/strtod_l.c: Likewise.
22454         * sunrpc/rpc/clnt.h: Likewise.
22455         * sysdeps/generic/framestate.c: Likewise.
22456         * sysdeps/i386/bsd-_setjmp.S: Likewise.
22457         * sysdeps/i386/bsd-setjmp.S: Likewise.
22458         * sysdeps/i386/__longjmp.S: Likewise.
22459         * sysdeps/i386/setjmp.S: Likewise.
22460         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22461         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22462         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22463         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22464         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22465         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22466         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22467         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22468         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22469         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
22470         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22471         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22472         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22473         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22474         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22475         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22476         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22477         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
22478         * sysdeps/ieee754/support.c: Likewise.
22479         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22480         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
22481         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
22482         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
22483         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
22484         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
22485         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
22486         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
22487         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
22488         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
22489         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
22490         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
22491         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
22492         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
22493         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
22494         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
22495         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
22498 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
22500         * posix/transbug.c: Remove executable mode.
22502 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
22504         * crypt/speeds.c: Remove trailing whitespace.
22505         * dlfcn/default.c: Likewise.
22506         * elf/ifuncdep2.c: Likewise.
22507         * elf/ifuncmain1.c: Likewise.
22508         * elf/ifuncmain1vis.c: Likewise.
22509         * elf/testobj.h: Likewise.
22510         * elf/tst-stackguard1.c: Likewise.
22511         * gmon/sys/gmon.h: Likewise.
22512         * hurd/hurdmsg.c: Likewise.
22513         * hurd/new-fd.c: Likewise.
22514         * hurd/ports-get.c: Likewise.
22515         * iconvdata/ibm1008_420.c: Likewise.
22516         * inet/tst-getni1.c: Likewise.
22517         * inet/tst-getni2.c: Likewise.
22518         * libio/ioungetc.c: Likewise.
22519         * libio/wfiledoalloc.c: Likewise.
22520         * manual/libm-err-tab.pl: Likewise.
22521         * math/w_dremf.c: Likewise.
22522         * misc/ftruncate.c: Likewise.
22523         * posix/bug-glob2.c: Likewise.
22524         * posix/tst-pcre.c: Likewise.
22525         * posix/wait4.c: Likewise.
22526         * resolv/README: Likewise.
22527         * resolv/res_debug.h: Likewise.
22528         * resolv/tst-inet_ntop.c: Likewise.
22529         * setjmp/bug269-setjmp.c: Likewise.
22530         * soft-fp/extended.h: Likewise.
22531         * soft-fp/op-1.h: Likewise.
22532         * soft-fp/op-2.h: Likewise.
22533         * soft-fp/op-4.h: Likewise.
22534         * soft-fp/op-8.h: Likewise.
22535         * soft-fp/testit.c: Likewise.
22536         * stdio-common/bug16.c: Likewise.
22537         * stdlib/random.c: Likewise.
22538         * sunrpc/rpcsvc/rquota.x: Likewise.
22539         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
22540         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22541         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22542         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22543         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22544         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22545         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22546         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22547         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22548         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22549         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22550         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22551         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22552         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22553         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22554         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22555         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22556         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22557         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22558         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22559         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22560         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22561         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
22562         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22563         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22564         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22565         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22566         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
22567         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22568         * sysdeps/ieee754/s_lib_version.c: Likewise.
22569         * sysdeps/mach/hurd/check_fds.c: Likewise.
22570         * sysdeps/mach/hurd/getsockname.c: Likewise.
22571         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
22572         * sysdeps/mach/hurd/recvfrom.c: Likewise.
22573         * sysdeps/powerpc/bits/link.h: Likewise.
22574         * sysdeps/powerpc/dl-procinfo.c: Likewise.
22575         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
22576         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
22577         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
22578         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22579         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22580         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
22581         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22582         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
22583         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
22584         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
22585         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
22586         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
22587         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
22588         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
22589         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
22590         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
22591         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
22592         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
22593         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22594         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22595         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
22596         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22597         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
22598         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
22599         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
22600         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
22601         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22602         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22603         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
22604         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
22605         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
22606         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22607         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22608         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
22609         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
22610         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
22611         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
22612         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
22613         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
22614         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
22615         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
22616         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
22617         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
22618         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
22619         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
22620         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
22621         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
22622         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
22623         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
22624         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22625         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22626         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22627         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22628         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
22629         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
22630         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
22631         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22632         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
22633         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
22634         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
22635         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
22636         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
22637         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22638         * sysdeps/powerpc/sysdep.h: Likewise.
22639         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22640         * sysdeps/s390/s390-64/sub_n.S: Likewise.
22641         * sysdeps/sh/dl-trampoline.S: Likewise.
22642         * sysdeps/sh/memset.S: Likewise.
22643         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
22644         * sysdeps/sh/strlen.S: Likewise.
22645         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
22646         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
22647         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
22648         * sysdeps/sparc/sparc32/rem.S: Likewise.
22649         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
22650         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
22651         * sysdeps/sparc/sparc32/strchr.S: Likewise.
22652         * sysdeps/sparc/sparc32/udiv.S: Likewise.
22653         * sysdeps/sparc/sparc32/urem.S: Likewise.
22654         * sysdeps/sparc/sparc64/add_n.S: Likewise.
22655         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22656         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
22657         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
22658         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
22659         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
22660         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
22661         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
22662         * sysdeps/unix/bsd/times.c: Likewise.
22663         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
22664         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
22665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
22666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
22667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
22668         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
22669         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
22670         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
22671         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
22672         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
22673         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
22674         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22675         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
22676         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22677         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22678         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
22679         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22680         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
22681         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
22682         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
22683         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
22684         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
22685         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22686         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
22687         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
22688         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
22689         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
22690         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22691         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
22692         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
22693         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
22694         * sysdeps/x86_64/strcspn.S: Likewise.
22696 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22698         * locale/C-translit.h: Revert #include <stdint.h> because this is a
22699         generated file.  Regenerate properly from gen-translit.pl.
22700         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
22701         locale/C-translit.h.
22703 2013-06-05  Andreas Schwab  <schwab@suse.de>
22705         [BZ #15100]
22706         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
22707         week as 6 instead of -1.
22708         * time/tst-strptime.c (day_tests): Add test case.
22710 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
22712         * sysdeps/generic/math_private.h
22713         (libc_feholdexcept_setround_53bit): Replace with
22714         libc_feholdsetround_53bit.
22715         (libc_feupdateenv_53bit): Replace with
22716         libc_feresetround_53bit.
22717         (SET_RESTORE_ROUND_53BIT): Adjust.
22719 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
22721         * string/test-strchrnul.c: Add copyright header.
22723         * posix/tst-getaddrinfo4.c: Increase test timeout.
22725 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
22727         [BZ #15536]
22728         * math/libm-test.inc (MAX_EXP): Remove
22729         (MIN_EXP): Define.
22730         (ulp): Use MIN_EXP - MANT_DIG.
22731         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
22733 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
22735         * po/be.po: Revert last change.
22736         * po/zh_CN.po: Likewise.
22737         * po/header.pot: Likewise.
22739 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
22741         * Makefile ($(common-objpfx)linkobj/libc.so): Define
22742         link-libc-deps to empty as target-specific variable.
22743         * Makerules (link-libc-args): New variable.
22744         (libc-for-link): Likewise.
22745         (link-libc-deps): Likewise.
22746         (lib%.so): Depend on $(link-libc-deps).  Link with
22747         $(link-libc-args).
22748         (build-module): Link with $(link-libc-args).
22749         (build-module-asneeded): Likewise.
22750         (build-module-helper-objlist): Filter out $(link-libc-deps) from
22751         list of objects.
22752         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
22753         target-specific variable.
22754         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
22755         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
22756         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
22757         libc.
22758         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
22759         libc and ld.so.
22760         ($(objpfx)libpcprofile.so): Likewise.
22761         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
22762         libc_nonshared.a.
22763         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
22764         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
22765         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
22766         $(link-libc-deps).
22767         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
22768         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
22769         * login/Makefile ($(objpfx)libutil.so): Likewise.
22770         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
22771         * math/Makefile ($(objpfx)libm.so): Likewise.
22772         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
22773         $(objpfx)libnsl.so): Define libc-for-link as target-specific
22774         variable instead of depending directly on libc.
22775         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
22776         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
22777         $(link-libc-deps).
22778         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
22779         libc.
22780         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
22781         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
22782         ($(objpfx)libanl.so): Likewise.
22783         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
22784         ld.so.
22785         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
22786         $(link-libc-deps).
22787         * sysdeps/i386/fpu/Makefile: Remove file.
22788         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
22789         ($(objpfx)libm.so): Remove dependency on ld.so.
22791 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
22793         [BZ # 15553]
22794         * nis/yp_xdr.c (XDRMAXNAME): Define.
22795         (XDRMAXRECORD): Define.
22796         (xdr_domainname): Use XDRMAXNAME.
22797         (xdr_mapname): Likewise.
22798         (xdr_peername): Likewise.
22799         (xdr_keydat): Use XDRMAXRECORD.
22800         (xdr_valdat): Likewise.
22802 2013-05-30  Jeff Law  <law@redhat.com>
22804         [BZ #14256]
22805         * manual/errno.texi (ESTALE): Update to account for more than
22806         just NFS file systems.
22807         * sysdeps/gnu/errlist.c: Regenerated.
22809 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22811         [BZ #15465]
22812         * elf/Makefile (tests): Add tst-null-argv.
22813         (modules-names):  Add tst-null-argv-lib.
22814         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
22815         (tst-null-argv-ENV): Set environment for tst-null-argv.
22816         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
22817         (RTLD_PROGNAME): New macro.
22818         * elf/tst-null-argv.c: New test case.
22819         * elf/tst-null-argv-lib.c: Library for test case.
22820         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
22821         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
22822         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
22823         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
22824         * elf/dl-init.c (call_init): Likewise.
22825         (_dl_init): Likewise.
22826         * elf/dl-load.c (print_search_path): Likewise.
22827         (_dl_map_object): Likewise.
22828         * elf/dl-lookup.c (do_lookup_x): Likewise.
22829         (add_dependency): Likewise.
22830         (_dl_lookup_symbol_x): Likewise.
22831         (_dl_debug_bindings): Likewise.
22832         * elf/dl-open.c (_dl_show_scope): Likewise.
22833         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
22834         * elf/dl-version.c (match_symbol): Likewise.
22835         (_dl_check_map_versions): Likewise.
22836         * elf/rtld.c (dl_main): Likewise.
22837         (print_unresolved): Use RTLD_PROGNAME.
22838         (print_missing_version): Likewise.
22839         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
22840         (elf_machine_rela): Likewise.
22841         * sysdeps/powerpc/powerpc32/dl-machine.c
22842         (__process_machine_rela): Likewise.
22843         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22844         Likewise.
22845         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
22846         Likewise.
22847         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
22848         Likewise.
22849         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22850         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
22851         Likewise.
22852         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
22853         Likewise.
22854         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22856 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
22858         * po/be.po: Add descriptive title.
22859         * po/zh_CN.po: Likewise.
22860         * po/header.pot: Likewise.
22862 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
22864         * locale/programs/locarchive.c (create_archive): Inlucde fname in
22865         error message.
22866         (enlarge_archive): Likewise.
22868 2013-05-28  Ben North  <ben@redfrontdoor.org>
22870         * manual/arith.texi (frexp): It is the magnitude of the return
22871         value which lies in [0.5, 1), not the return value itself.
22873 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22875         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22877 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
22879         * stdio-common/bug26.c (main): Correct fscanf template.
22881         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
22882         declare _dl_skip_args.
22884         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
22885         Don't declare.
22887         * manual/platform.texi: Add missing @end deftypefun.
22889 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
22891         [BZ #15529]
22892         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
22893         bit of mantissa of 2^16382.
22894         * math/libm-test.inc (hypot_test_data): Add more tests.
22896         * math/libm-test.inc: Add drem and pow10 to list of tested
22897         functions.
22898         (pow10_test): New function.
22899         (drem_test): Likewise.
22900         (drem_test_tonearest): Likewise.
22901         (drem_test_towardzero): Likewise.
22902         (drem_test_downward): Likewise.
22903         (drem_test_upward): Likewise.
22904         (main): Call the new functions.
22906         * math/libm-test.inc (finite_test_data): Remove.
22907         (finite_test): Run tests from isfinite_test_data.
22908         (gamma_test_data): Remove.
22909         (gamma_test): Run tests from lgamma_test_data.
22910         * sysdeps/i386/fpu/libm-test-ulps: Update.
22911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22913 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22915         * manual/platform.texi: Add PowerPC PPR function set documentation.
22916         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
22917         implementation.
22919 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
22921         * math/libm-test.inc (MAX_EXP): Define.
22922         (ULPDIFF): Define.
22923         (ulp): New function.
22924         (check_float_internal): Use ULPDIFF.
22925         (cpow_test): Disable failing test.
22926         (check_ulp): Test ulp() implemetnation.
22927         (main): Call check_ulp before starting tests.
22929 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
22931         * math/gen-libm-test.pl (generate_testfile): Do not handle
22932         START_DATA and END_DATA.
22933         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
22934         END_DATA.
22935         (acos_tonearest_test_data): Likewise.
22936         (acos_towardzero_test_data): Likewise.
22937         (acos_downward_test_data): Likewise.
22938         (acos_upward_test_data): Likewise.
22939         (acosh_test_data): Likewise.
22940         (asin_test_data): Likewise.
22941         (asin_tonearest_test_data): Likewise.
22942         (asin_towardzero_test_data): Likewise.
22943         (asin_downward_test_data): Likewise.
22944         (asin_upward_test_data): Likewise.
22945         (asinh_test_data): Likewise.
22946         (atan_test_data): Likewise.
22947         (atanh_test_data): Likewise.
22948         (atan2_test_data): Likewise.
22949         (cabs_test_data): Likewise.
22950         (cacos_test_data): Likewise.
22951         (cacosh_test_data): Likewise.
22952         (carg_test_data): Likewise.
22953         (casin_test_data): Likewise.
22954         (casinh_test_data): Likewise.
22955         (catan_test_data): Likewise.
22956         (catanh_test_data): Likewise.
22957         (cbrt_test_data): Likewise.
22958         (ccos_test_data): Likewise.
22959         (ccosh_test_data): Likewise.
22960         (ceil_test_data): Likewise.
22961         (cexp_test_data): Likewise.
22962         (cimag_test_data): Likewise.
22963         (clog_test_data): Likewise.
22964         (clog10_test_data): Likewise.
22965         (conj_test_data): Likewise.
22966         (copysign_test_data): Likewise.
22967         (cos_test_data): Likewise.
22968         (cos_tonearest_test_data): Likewise.
22969         (cos_towardzero_test_data): Likewise.
22970         (cos_downward_test_data): Likewise.
22971         (cos_upward_test_data): Likewise.
22972         (cosh_test_data): Likewise.
22973         (cosh_tonearest_test_data): Likewise.
22974         (cosh_towardzero_test_data): Likewise.
22975         (cosh_downward_test_data): Likewise.
22976         (cosh_upward_test_data): Likewise.
22977         (cpow_test_data): Likewise.
22978         (cproj_test_data): Likewise.
22979         (creal_test_data): Likewise.
22980         (csin_test_data): Likewise.
22981         (csinh_test_data): Likewise.
22982         (csqrt_test_data): Likewise.
22983         (ctan_test_data): Likewise.
22984         (ctan_tonearest_test_data): Likewise.
22985         (ctan_towardzero_test_data): Likewise.
22986         (ctan_downward_test_data): Likewise.
22987         (ctan_upward_test_data): Likewise.
22988         (ctanh_test_data): Likewise.
22989         (ctanh_tonearest_test_data): Likewise.
22990         (ctanh_towardzero_test_data): Likewise.
22991         (ctanh_downward_test_data): Likewise.
22992         (ctanh_upward_test_data): Likewise.
22993         (erf_test_data): Likewise.
22994         (erfc_test_data): Likewise.
22995         (exp_test_data): Likewise.
22996         (exp_tonearest_test_data): Likewise.
22997         (exp_towardzero_test_data): Likewise.
22998         (exp_downward_test_data): Likewise.
22999         (exp_upward_test_data): Likewise.
23000         (exp10_test_data): Likewise.
23001         (exp2_test_data): Likewise.
23002         (expm1_test_data): Likewise.
23003         (fabs_test_data): Likewise.
23004         (fdim_test_data): Likewise.
23005         (finite_test_data): Likewise.
23006         (floor_test_data): Likewise.
23007         (fma_test_data): Likewise.
23008         (fma_towardzero_test_data): Likewise.
23009         (fma_downward_test_data): Likewise.
23010         (fma_upward_test_data): Likewise.
23011         (fmax_test_data): Likewise.
23012         (fmin_test_data): Likewise.
23013         (fmod_test_data): Likewise.
23014         (fpclassify_test_data): Likewise.
23015         (frexp_test_data): Likewise.
23016         (gamma_test_data): Likewise.
23017         (hypot_test_data): Likewise.
23018         (ilogb_test_data): Likewise.
23019         (isfinite_test_data): Likewise.
23020         (isgreater_test_data): Likewise.
23021         (isgreaterequal_test_data): Likewise.
23022         (isinf_test_data): Likewise.
23023         (isless_test_data): Likewise.
23024         (islessequal_test_data): Likewise.
23025         (islessgreater_test_data): Likewise.
23026         (isnan_test_data): Likewise.
23027         (isnormal_test_data): Likewise.
23028         (issignaling_test_data): Likewise.
23029         (isunordered_test_data): Likewise.
23030         (j0_test_data): Likewise.
23031         (j1_test_data): Likewise.
23032         (jn_test_data): Likewise.
23033         (ldexp_test_data): Likewise.
23034         (lgamma_test_data): Likewise.
23035         (lrint_test_data): Likewise.
23036         (lrint_tonearest_test_data): Likewise.
23037         (lrint_towardzero_test_data): Likewise.
23038         (lrint_downward_test_data): Likewise.
23039         (lrint_upward_test_data): Likewise.
23040         (llrint_test_data): Likewise.
23041         (llrint_tonearest_test_data): Likewise.
23042         (llrint_towardzero_test_data): Likewise.
23043         (llrint_downward_test_data): Likewise.
23044         (llrint_upward_test_data): Likewise.
23045         (log_test_data): Likewise.
23046         (log10_test_data): Likewise.
23047         (log1p_test_data): Likewise.
23048         (log2_test_data): Likewise.
23049         (logb_test_data): Likewise.
23050         (logb_downward_test_data): Likewise.
23051         (lround_test_data): Likewise.
23052         (llround_test_data): Likewise.
23053         (modf_test_data): Likewise.
23054         (nearbyint_test_data): Likewise.
23055         (nextafter_test_data): Likewise.
23056         (nexttoward_test_data): Likewise.
23057         (pow_test_data): Likewise.
23058         (pow_tonearest_test_data): Likewise.
23059         (pow_towardzero_test_data): Likewise.
23060         (pow_downward_test_data): Likewise.
23061         (pow_upward_test_data): Likewise.
23062         (remainder_test_data): Likewise.
23063         (remainder_tonearest_test_data): Likewise.
23064         (remainder_towardzero_test_data): Likewise.
23065         (remainder_downward_test_data): Likewise.
23066         (remainder_upward_test_data): Likewise.
23067         (remquo_test_data): Likewise.
23068         (rint_test_data): Likewise.
23069         (rint_tonearest_test_data): Likewise.
23070         (rint_towardzero_test_data): Likewise.
23071         (rint_downward_test_data): Likewise.
23072         (rint_upward_test_data): Likewise.
23073         (round_test_data): Likewise.
23074         (scalb_test_data): Likewise.
23075         (scalbn_test_data): Likewise.
23076         (scalbln_test_data): Likewise.
23077         (signbit_test_data): Likewise.
23078         (sin_test_data): Likewise.
23079         (sin_tonearest_test_data): Likewise.
23080         (sin_towardzero_test_data): Likewise.
23081         (sin_downward_test_data): Likewise.
23082         (sin_upward_test_data): Likewise.
23083         (sincos_test_data): Likewise.
23084         (sinh_test_data): Likewise.
23085         (sinh_tonearest_test_data): Likewise.
23086         (sinh_towardzero_test_data): Likewise.
23087         (sinh_downward_test_data): Likewise.
23088         (sinh_upward_test_data): Likewise.
23089         (sqrt_test_data): Likewise.
23090         (tan_test_data): Likewise.
23091         (tan_tonearest_test_data): Likewise.
23092         (tan_towardzero_test_data): Likewise.
23093         (tan_downward_test_data): Likewise.
23094         (tan_upward_test_data): Likewise.
23095         (tanh_test_data): Likewise.
23096         (tgamma_test_data): Likewise.
23097         (trunc_test_data): Likewise.
23098         (y0_test_data): Likewise.
23099         (y1_test_data): Likewise.
23100         (yn_test_data): Likewise.
23101         (significand_test_data): Likewise.
23103         * math/gen-libm-test.pl (@functions): Remove variable.
23104         (generate_testfile): Don't handle START and END lines.
23105         * math/libm-test.inc (START): New macro.
23106         (END): Likewise.
23107         (END_COMPLEX): Likewise.
23108         (acos_test): Use END macro without arguments.
23109         (acos_test_tonearest): Likewise.
23110         (acos_test_towardzero): Likewise.
23111         (acos_test_downward): Likewise.
23112         (acos_test_upward): Likewise.
23113         (acosh_test): Likewise.
23114         (asin_test): Likewise.
23115         (asin_test_tonearest): Likewise.
23116         (asin_test_towardzero): Likewise.
23117         (asin_test_downward): Likewise.
23118         (asin_test_upward): Likewise.
23119         (asinh_test): Likewise.
23120         (atan_test): Likewise.
23121         (atanh_test): Likewise.
23122         (atan2_test): Likewise.
23123         (cabs_test): Likewise.
23124         (cacos_test): Use END_COMPLEX macro without arguments.
23125         (cacosh_test): Likewise.
23126         (carg_test): Use END macro without arguments.
23127         (casin_test): Use END_COMPLEX macro without arguments.
23128         (casinh_test): Likewise.
23129         (catan_test): Likewise.
23130         (catanh_test): Likewise.
23131         (cbrt_test): Use END macro without arguments.
23132         (ccos_test): Use END_COMPLEX macro without arguments.
23133         (ccosh_test): Likewise.
23134         (ceil_test): Use END macro without arguments.
23135         (cexp_test): Use END_COMPLEX macro without arguments.
23136         (cimag_test): Use END macro without arguments.
23137         (clog_test): Use END_COMPLEX macro without arguments.
23138         (clog10_test): Likewise.
23139         (conj_test): Likewise.
23140         (copysign_test): Use END macro without arguments.
23141         (cos_test): Likewise.
23142         (cos_test_tonearest): Likewise.
23143         (cos_test_towardzero): Likewise.
23144         (cos_test_downward): Likewise.
23145         (cos_test_upward): Likewise.
23146         (cosh_test): Likewise.
23147         (cosh_test_tonearest): Likewise.
23148         (cosh_test_towardzero): Likewise.
23149         (cosh_test_downward): Likewise.
23150         (cosh_test_upward): Likewise.
23151         (cpow_test): Use END_COMPLEX macro without arguments.
23152         (cproj_test): Likewise.
23153         (creal_test): Use END macro without arguments.
23154         (csin_test): Use END_COMPLEX macro without arguments.
23155         (csinh_test): Likewise.
23156         (csqrt_test): Likewise.
23157         (ctan_test): Likewise.
23158         (ctan_test_tonearest): Likewise.
23159         (ctan_test_towardzero): Likewise.
23160         (ctan_test_downward): Likewise.
23161         (ctan_test_upward): Likewise.
23162         (ctanh_test): Likewise.
23163         (ctanh_test_tonearest): Likewise.
23164         (ctanh_test_towardzero): Likewise.
23165         (ctanh_test_downward): Likewise.
23166         (ctanh_test_upward): Likewise.
23167         (erf_test): Use END macro without arguments.
23168         (erfc_test): Likewise.
23169         (exp_test): Likewise.
23170         (exp_test_tonearest): Likewise.
23171         (exp_test_towardzero): Likewise.
23172         (exp_test_downward): Likewise.
23173         (exp_test_upward): Likewise.
23174         (exp10_test): Likewise.
23175         (exp2_test): Likewise.
23176         (expm1_test): Likewise.
23177         (fabs_test): Likewise.
23178         (fdim_test): Likewise.
23179         (finite_test): Likewise.
23180         (floor_test): Likewise.
23181         (fma_test): Likewise.
23182         (fma_test_towardzero): Likewise.
23183         (fma_test_downward): Likewise.
23184         (fma_test_upward): Likewise.
23185         (fmax_test): Likewise.
23186         (fmin_test): Likewise.
23187         (fmod_test): Likewise.
23188         (fpclassify_test): Likewise.
23189         (frexp_test): Likewise.
23190         (gamma_test): Likewise.
23191         (hypot_test): Likewise.
23192         (ilogb_test): Likewise.
23193         (isfinite_test): Likewise.
23194         (isgreater_test): Likewise.
23195         (isgreaterequal_test): Likewise.
23196         (isinf_test): Likewise.
23197         (isless_test): Likewise.
23198         (islessequal_test): Likewise.
23199         (islessgreater_test): Likewise.
23200         (isnan_test): Likewise.
23201         (isnormal_test): Likewise.
23202         (issignaling_test): Likewise.
23203         (isunordered_test): Likewise.
23204         (j0_test): Likewise.
23205         (j1_test): Likewise.
23206         (jn_test): Likewise.
23207         (ldexp_test): Likewise.
23208         (lgamma_test): Likewise.
23209         (lrint_test): Likewise.
23210         (lrint_test_tonearest): Likewise.
23211         (lrint_test_towardzero): Likewise.
23212         (lrint_test_downward): Likewise.
23213         (lrint_test_upward): Likewise.
23214         (llrint_test): Likewise.
23215         (llrint_test_tonearest): Likewise.
23216         (llrint_test_towardzero): Likewise.
23217         (llrint_test_downward): Likewise.
23218         (llrint_test_upward): Likewise.
23219         (log_test): Likewise.
23220         (log10_test): Likewise.
23221         (log1p_test): Likewise.
23222         (log2_test): Likewise.
23223         (logb_test): Likewise.
23224         (logb_test_downward): Likewise.
23225         (lround_test): Likewise.
23226         (llround_test): Likewise.
23227         (modf_test): Likewise.
23228         (nearbyint_test): Likewise.
23229         (nextafter_test): Likewise.
23230         (nexttoward_test): Likewise.
23231         (pow_test): Likewise.
23232         (pow_test_tonearest): Likewise.
23233         (pow_test_towardzero): Likewise.
23234         (pow_test_downward): Likewise.
23235         (pow_test_upward): Likewise.
23236         (remainder_test): Likewise.
23237         (remainder_test_tonearest): Likewise.
23238         (remainder_test_towardzero): Likewise.
23239         (remainder_test_downward): Likewise.
23240         (remainder_test_upward): Likewise.
23241         (remquo_test): Likewise.
23242         (rint_test): Likewise.
23243         (rint_test_tonearest): Likewise.
23244         (rint_test_towardzero): Likewise.
23245         (rint_test_downward): Likewise.
23246         (rint_test_upward): Likewise.
23247         (round_test): Likewise.
23248         (scalb_test): Likewise.
23249         (scalbn_test): Likewise.
23250         (scalbln_test): Likewise.
23251         (signbit_test): Likewise.
23252         (sin_test): Likewise.
23253         (sin_test_tonearest): Likewise.
23254         (sin_test_towardzero): Likewise.
23255         (sin_test_downward): Likewise.
23256         (sin_test_upward): Likewise.
23257         (sincos_test): Likewise.
23258         (sinh_test): Likewise.
23259         (sinh_test_tonearest): Likewise.
23260         (sinh_test_towardzero): Likewise.
23261         (sinh_test_downward): Likewise.
23262         (sinh_test_upward): Likewise.
23263         (sqrt_test): Likewise.
23264         (tan_test): Likewise.
23265         (tan_test_tonearest): Likewise.
23266         (tan_test_towardzero): Likewise.
23267         (tan_test_downward): Likewise.
23268         (tan_test_upward): Likewise.
23269         (tanh_test): Likewise.
23270         (tgamma_test): Likewise.
23271         (trunc_test): Likewise.
23272         (y0_test): Likewise.
23273         (y1_test): Likewise.
23274         (yn_test): Likewise.
23275         (significand_test): Likewise.
23277 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
23279         [BZ #15381]
23280         * libio/genops.c (_IO_no_init): Initialize wide struct info.
23282 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
23284         [BZ #14894]
23285         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
23286         __ppc_mdoio and __ppc_mdoom.
23287         * manual/platform.texi: Document new functions __ppc_yield,
23288         __ppc_mdoio and __ppc_mdoom.
23290 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
23292         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
23293         (main): Mention "tls" pseudo-hwcap is legacy.
23294         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
23296 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
23298         * math/gen-libm-test.pl (parse_args): Output only string of
23299         arguments as text for test name, not full call or descriptions of
23300         tests for extra outputs.
23301         (generate_testfile): Do not pass function name to parse_args.
23302         Generate this_func variable from START.
23303         * math/libm-test.inc (struct test_f_f_data): Rename test_name
23304         field to arg_str.
23305         (struct test_ff_f_data): Likewise.
23306         (test_ff_f_data_nexttoward): Likewise.
23307         (struct test_fi_f_data): Likewise.
23308         (struct test_fl_f_data): Likewise.
23309         (struct test_if_f_data): Likewise.
23310         (struct test_fff_f_data): Likewise.
23311         (struct test_c_f_data): Likewise.
23312         (struct test_f_f1_data): Likewise.  Remove field extra_name.
23313         (struct test_fF_f1_data): Likewise.
23314         (struct test_ffI_f1_data): Likewise.
23315         (struct test_c_c_data): Rename test_name field to arg_str.
23316         (struct test_cc_c_data): Likewise.
23317         (struct test_f_i_data): Likewise.
23318         (struct test_ff_i_data): Likewise.
23319         (struct test_f_l_data): Likewise.
23320         (struct test_f_L_data): Likewise.
23321         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
23322         and extra2_name.
23323         (COMMON_TEST_SETUP): New macro.
23324         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
23325         (COMMON_TEST_CLEANUP): Likewise.
23326         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
23327         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
23328         macros.
23329         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
23330         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
23331         macros.
23332         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
23333         (RUN_TEST_fff_f): Take argument string.  Call new setup and
23334         cleanup macros.
23335         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
23336         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
23337         macros.
23338         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
23339         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
23340         macros.
23341         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
23342         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
23343         cleanup macros.
23344         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
23345         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
23346         cleanup macros.
23347         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
23348         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
23349         cleanup macros.
23350         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
23351         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
23352         macros.
23353         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
23354         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
23355         macros.
23356         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
23357         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
23358         macros.
23359         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
23360         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
23361         cleanup macros.
23362         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
23363         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
23364         cleanup macros.
23365         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
23366         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
23367         macros.
23368         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
23369         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
23370         cleanup macros.
23371         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
23372         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
23373         macros.
23374         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
23375         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
23376         macros.
23377         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
23378         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
23379         cleanup macros.
23380         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
23382 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
23384         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
23385         to _sifields.sigfault.
23386         (si_addr_lsb): Define new macro.
23387         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
23388         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23389         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
23391 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
23393         [BZ #15441]
23394         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
23395         returns -1.
23396         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
23397         null return -1.
23398         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
23399         loading the domain.
23401 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
23403         * math/gen-libm-test.pl (parse_args): Do not include expected
23404         result in test name.
23405         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
23406         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23407         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23408         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23409         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23412 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
23414         * benchtests/Makefile: Sort function entries.
23416         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
23417         tanh, asinh, acosh, atanh.
23418         * benchtests/acos-inputs: New file.
23419         * benchtests/acosh-inputs: New file.
23420         * benchtests/asin-inputs: New file.
23421         * benchtests/asinh-inputs: New file.
23422         * benchtests/atanh-inputs: New file.
23423         * benchtests/cosh-inputs: New file.
23424         * benchtests/log-inputs: New file.
23425         * benchtests/sinh-inputs: New file.
23426         * benchtests/tanh-inputs: New file.
23428 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
23430         [BZ #15339]
23431         * posix/tst-getaddrinfo4.c: New test.
23432         * posix/Makefile (tests): Add it.
23434 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23436         [BZ #15339]
23437         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
23438         when no services were used.
23439         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
23440         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
23442 2013-05-21  Andreas Schwab  <schwab@suse.de>
23444         [BZ #15014]
23445         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
23446         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
23447         successful.
23448         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
23449         redundant variable declarations and reallocation of buffer when
23450         parsing as IPv6 address.  Always set NSS status when called from
23451         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
23452         buffer too small.  Correct computation of needed size.
23453         * nss/Makefile (tests): Add test-digits-dots.
23454         * nss/test-digits-dots.c: New test.
23456 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23458         * benchtests/Makefile: Remove instructions for adding
23459         benchmark tests.
23460         * benchtests/README: New file to explain how to execute and
23461         enhance the benchmark tests.
23463 2013-05-21  Andreas Schwab  <schwab@suse.de>
23465         [BZ #15493]
23466         * setjmp/Makefile (tests): Add tst-sigsetjmp.
23467         * setjmp/tst-sigsetjmp.c: New test.
23469 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
23471         * sysdeps/x86_64/memset.S (memset): New implementation.
23472         (__bzero): Likewise.
23473         (__memset_tail): New function.
23475 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
23477         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
23478         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
23479         __memcpy_sse2_unaligned ifunc selection.
23480         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23481         Add memcpy-sse2-unaligned.S.
23482         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23483         Add: __memcpy_sse2_unaligned.
23485 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
23487         [BZ #15490]
23488         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23489         math_force_eval before restoring floating-point envrionment.
23490         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
23491         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
23492         Likewise.
23493         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
23494         <math_private.h>.
23495         (__nearbyintl): Use math_force_eval before restoring
23496         floating-point environment.
23497         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
23499         * math/gen-libm-test.pl (special_functions): Remove.
23500         (parse_args): Don't handle TEST_extra.  Handle functions with no
23501         return value.
23502         * math/libm-test.inc (struct test_sincos_data): Replace with
23503         struct test_fFF_11_data.
23504         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
23505         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
23506         (sincos_test_data): Change element type to struct
23507         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
23508         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
23509         RUN_TEST_LOOP_sincos.
23510         * math/README.libm-test: Don't mention special handling of
23511         individual functions.
23512         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
23513         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23514         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23515         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23516         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23519         * math/gen-libm-test.pl (get_variable): Remove function.
23520         (parse_args): Don't show pointer parameters to call in test
23521         names.  Use "extra output N" in test names for extra outputs
23522         rather than naming variables.
23524 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
23526         [BZ #15488]
23527         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
23528         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
23529         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
23530         double tests.
23531         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
23532         disable.
23533         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
23534         check_long_double.
23536         * math/gen-libm-test.pl (@tests): Remove variable.
23537         ($count): Likewise.
23538         (new_test): Remove function.
23539         (show_exceptions): New function.
23540         (special_functions): Use show_exceptions instead of new_test.
23541         (parse_args): Likewise.
23542         (generate_testfile): Pass only function name in generated call to
23543         print_max_error or print_complex_max_error.
23544         (get_ulps): Do not handle complex tests specially.
23545         (output_test): Rename to ...
23546         (get_all_ulps_for_test): ... this.  Return a string rather than
23547         printing to a file.  Require ulps to be present.
23548         (output_ulps): Generate arrays rather than #defines.
23549         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
23550         (struct ulp_data): New type.
23551         (BUILD_COMPLEX_ULP): Remove macro.
23552         (compare_ulp_data): New function.
23553         (find_ulps): Likewise.
23554         (find_test_ulps): Likewise.
23555         (find_function_ulps): Likewise.
23556         (find_complex_function_ulps): Likewise.
23557         (print_max_error): Determine allowed ulps using
23558         find_function_ulps.
23559         (print_complex_max_error): Determine allowed ulps using
23560         find_complex_function_ulps.
23561         (check_float_internal): Determine max ulps using find_test_ulps.
23562         (check_float): Do not take max_ulp parameter.  Update call to
23563         check_float_internal.
23564         (check_complex): Likewise.
23565         (check_int): Do not take max_ulp parameter.
23566         (check_long): Likewise.
23567         (check_bool): Likewise.
23568         (check_longlong): Likewise.
23569         (struct test_f_f_data): Remove max_ulp field.
23570         (struct test_ff_f_data): Likewise.
23571         (struct test_ff_f_data_nexttoward): Likewise.
23572         (struct test_fi_f_data): Likewise.
23573         (struct test_fl_f_data): Likewise.
23574         (struct test_if_f_data): Likewise.
23575         (struct test_fff_f_data): Likewise.
23576         (struct test_c_f_data): Likewise.
23577         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
23578         (struct test_fF_f1_data): Likewise.
23579         (struct test_ffI_f1_data): Likewise.
23580         (struct test_c_c_data): Remove max_ulp field.
23581         (struct test_cc_c_data): Likewise.
23582         (struct test_f_i_data): Likewise.
23583         (struct test_ff_i_data): Likewise.
23584         (struct test_f_l_data): Likewise.
23585         (struct test_f_L_data): Likewise.
23586         (struct test_sincos_data): Likewise.
23587         (RUN_TEST_f_f): Do not handle ulps.
23588         (RUN_TEST_LOOP_f_f): Likewise.
23589         (RUN_TEST_2_f): Likewise.
23590         (RUN_TEST_LOOP_2_f): Likewise.
23591         (RUN_TEST_fff_f): Likewise.
23592         (RUN_TEST_LOOP_fff_f): Likewise.
23593         (RUN_TEST_c_f): Likewise.
23594         (RUN_TEST_LOOP_c_f): Likewise.
23595         (RUN_TEST_f_f1): Likewise.
23596         (RUN_TEST_LOOP_f_f1): Likewise.
23597         (RUN_TEST_fF_f1): Likewise.
23598         (RUN_TEST_LOOP_fF_f1): Likewise.
23599         (RUN_TEST_fI_f1): Likewise.
23600         (RUN_TEST_LOOP_fI_f1): Likewise.
23601         (RUN_TEST_ffI_f1): Likewise.
23602         (RUN_TEST_LOOP_ffI_f1): Likewise.
23603         (RUN_TEST_c_c): Likewise.
23604         (RUN_TEST_LOOP_c_c): Likewise.
23605         (RUN_TEST_cc_c): Likewise.
23606         (RUN_TEST_LOOP_cc_c): Likewise.
23607         (RUN_TEST_f_i): Likewise.
23608         (RUN_TEST_LOOP_f_i): Likewise.
23609         (RUN_TEST_f_i_tg): Likewise.
23610         (RUN_TEST_LOOP_f_i_tg): Likewise.
23611         (RUN_TEST_ff_i_tg): Likewise.
23612         (RUN_TEST_LOOP_ff_i_tg): Likewise.
23613         (RUN_TEST_f_b): Likewise.
23614         (RUN_TEST_LOOP_f_b): Likewise.
23615         (RUN_TEST_f_b_tg): Likewise.
23616         (RUN_TEST_LOOP_f_b_tg): Likewise.
23617         (RUN_TEST_f_l): Likewise.
23618         (RUN_TEST_LOOP_f_l): Likewise.
23619         (RUN_TEST_f_L): Likewise.
23620         (RUN_TEST_LOOP_f_L): Likewise.
23621         (RUN_TEST_sincos): Likewise.
23622         (RUN_TEST_LOOP_sincos): Likewise.
23624 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
23626         [BZ #15480]
23627         [BZ #15485]
23628         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
23629         main case of finite arguments, set rounding mode to FE_TONEAREST
23630         and discard exceptions.
23631         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
23632         exceptions.
23633         (remainder_tonearest_test_data): New variable.
23634         (remainder_test_tonearest): New function.
23635         (remainder_towardzero_test_data): New variable.
23636         (remainder_test_towardzero): New function.
23637         (remainder_downward_test_data): New variable.
23638         (remainder_test_downward): New function.
23639         (remainder_upward_test_data): New variable.
23640         (remainder_test_upward): New function.
23641         (main): Call the new test functions.
23643         * math/libm-test.inc (struct test_f_f1_data): Remove field
23644         extra_init.
23645         (struct test_fF_f1_data): Likewise.
23646         (struct test_ffI_f1_data): Likewise.
23647         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
23648         based on value of EXTRA_EXPECTED.
23649         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
23650         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
23651         EXTRA_VAR based on value of EXTRA_EXPECTED.
23652         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
23653         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
23654         EXTRA_VAR based on value of EXTRA_EXPECTED.
23655         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
23656         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
23657         EXTRA_VAR based on value of EXTRA_EXPECTED.
23658         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
23659         * math/gen-libm-test.pl (parse_args): Don't output initializers
23660         for extra output values.
23662         * math/libm-test.inc (check_int): Expect result to be exactly
23663         equal to expected value and do not handle ulps.
23664         (check_long): Likewise.
23665         (check_longlong): Likewise.
23667         * math/libm-test.inc (ceil_test_data): Test for "inexact"
23668         exceptions.
23669         (cimag_test_data): Likewise.
23670         (conj_test_data): Likewise.
23671         (copysign_test_data): Likewise.
23672         (cproj_test_data): Likewise.
23673         (creal_test_data): Likewise.
23674         (fabs_test_data): Likewise.
23675         (fdim_test_data): Likewise.
23676         (finite_test_data): Likewise.
23677         (floor_test_data): Likewise.
23678         (fmax_test_data): Likewise.
23679         (fmin_test_data): Likewise.
23680         (fmod_test_data): Likewise.
23681         (fpclassify_test_data): Likewise.
23682         (frexp_test_data): Likewise.
23683         (ilogb_test_data): Likewise.
23684         (isfinite_test_data): Likewise.
23685         (isgreater_test_data): Likewise.
23686         (isgreaterequal_test_data): Likewise.
23687         (isinf_test_data): Likewise.
23688         (isless_test_data): Likewise.
23689         (islessequal_test_data): Likewise.
23690         (islessgreater_test_data): Likewise.
23691         (isnan_test_data): Likewise.
23692         (isnormal_test_data): Likewise.
23693         (issignaling_test_data): Likewise.
23694         (isunordered_test_data): Likewise.
23695         (ldexp_test_data): Likewise.
23696         (lrint_test_data): Likewise.
23697         (lrint_test_data) [TEST_FLOAT]: Disable one test.
23698         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
23699         (lrint_tonearest_test_data): Test for "inexact" exceptions.
23700         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
23701         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
23702         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
23703         test input.
23704         (lrint_towardzero_test_data): Test for "inexact" exceptions.
23705         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
23706         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
23707         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
23708         that test input.
23709         (lrint_downward_test_data): Test for "inexact" exceptions.
23710         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
23711         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
23712         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
23713         test input.
23714         (lrint_upward_test_data): Test for "inexact" exceptions.
23715         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
23716         test input.
23717         (llrint_test_data): Test for "inexact" exceptions.
23718         (llrint_test_data) [TEST_FLOAT]: Disable one test.
23719         (llrint_tonearest_test_data): Test for "inexact" exceptions.
23720         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
23721         (llrint_towardzero_test_data): Test for "inexact" exceptions.
23722         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
23723         (llrint_downward_test_data): Test for "inexact" exceptions.
23724         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
23725         (llrint_upward_test_data): Test for "inexact" exceptions.
23726         (logb_test_data): Likewise.
23727         (logb_downward_test_data): Likewise.
23728         (nextafter_test_data): Likewise.
23729         (nexttoward_test_data): Likewise.
23730         (remainder_test_data): Likewise.
23731         (remquo_test_data): Likewise.
23732         (scalbn_test_data): Likewise.
23733         (scalbln_test_data): Likewise.
23734         (signbit_test_data): Likewise.
23735         (sqrt_test_data): Likewise.
23736         (significand_test_data): Likewise.
23738 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
23740         [BZ #15424]
23741         * benchtests/bench-modf.c (struct args): Mark arg0 as
23742         volatile.
23743         * scripts/bench.pl: Mark members of struct args as volatile.
23745 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23747         [BZ # 15497]
23748         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
23749         negative infinity on POWER6 or lower.
23750         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
23752 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
23754         [BZ #15442]
23755         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
23756         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
23757         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
23758         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
23759         (_FP_SETQNAN): New macro.
23760         (_FP_SETQNAN_SEMIRAW): Likewise.
23761         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
23762         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
23763         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
23764         (FP_EXTEND): Use _FP_FRAC_SNANP.
23765         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
23766         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
23767         into account.
23768         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
23769         New macro.
23770         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
23771         Likewise.
23773 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
23775         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
23776         with DIVIDE_BY_ZERO_EXCEPTION.
23777         (gamma_test_data): Likewise.
23778         (lgamma_test_data): Likewise.
23779         (log_test_data): Likewise.
23780         (log10_test_data): Likewise.
23781         (log2_test_data): Likewise.
23782         (tgamma_test_data): Likewise.
23784         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
23785         (acos_test_tonearest): Likewise.
23786         (acos_test_towardzero): Likewise.
23787         (acos_test_downward): Likewise.
23788         (acos_test_upward): Likewise.
23789         (acosh_test): Likewise.
23790         (asin_test): Likewise.
23791         (asin_test_tonearest): Likewise.
23792         (asin_test_towardzero): Likewise.
23793         (asin_test_downward): Likewise.
23794         (asin_test_upward): Likewise.
23795         (asinh_test): Likewise.
23796         (atan_test): Likewise.
23797         (atanh_test): Likewise.
23798         (atan2_test): Likewise.
23799         (cabs_test): Likewise.
23800         (cacos_test): Likewise.
23801         (cacosh_test): Likewise.
23802         (casin_test): Likewise.
23803         (casinh_test): Likewise.
23804         (catan_test): Likewise.
23805         (catanh_test): Likewise.
23806         (cbrt_test): Likewise.
23807         (ccos_test): Likewise.
23808         (ccosh_test): Likewise.
23809         (cexp_test): Likewise.
23810         (clog_test): Likewise.
23811         (clog10_test): Likewise.
23812         (cos_test): Likewise.
23813         (cos_test_tonearest): Likewise.
23814         (cos_test_towardzero): Likewise.
23815         (cos_test_downward): Likewise.
23816         (cos_test_upward): Likewise.
23817         (cosh_test): Likewise.
23818         (cosh_test_tonearest): Likewise.
23819         (cosh_test_towardzero): Likewise.
23820         (cosh_test_downward): Likewise.
23821         (cosh_test_upward): Likewise.
23822         (cpow_test): Likewise.
23823         (csin_test): Likewise.
23824         (csinh_test): Likewise.
23825         (csqrt_test): Likewise.
23826         (ctan_test): Likewise.
23827         (ctan_test_tonearest): Likewise.
23828         (ctan_test_towardzero): Likewise.
23829         (ctan_test_downward): Likewise.
23830         (ctan_test_upward): Likewise.
23831         (ctanh_test): Likewise.
23832         (ctanh_test_tonearest): Likewise.
23833         (ctanh_test_towardzero): Likewise.
23834         (ctanh_test_downward): Likewise.
23835         (ctanh_test_upward): Likewise.
23836         (erf_test): Likewise.
23837         (erfc_test): Likewise.
23838         (exp_test): Likewise.
23839         (exp_test_tonearest): Likewise.
23840         (exp_test_towardzero): Likewise.
23841         (exp_test_downward): Likewise.
23842         (exp_test_upward): Likewise.
23843         (exp10_test): Likewise.
23844         (exp2_test): Likewise.
23845         (expm1_test): Likewise.
23846         (fmod_test): Likewise.
23847         (gamma_test): Likewise.
23848         (hypot_test): Likewise.
23849         (j0_test): Likewise.
23850         (j1_test): Likewise.
23851         (jn_test): Likewise.
23852         (lgamma_test): Likewise.
23853         (log_test): Likewise.
23854         (log10_test): Likewise.
23855         (log1p_test): Likewise.
23856         (log2_test): Likewise.
23857         (logb_test_downward): Likewise.
23858         (pow_test): Likewise.
23859         (pow_test_tonearest): Likewise.
23860         (pow_test_towardzero): Likewise.
23861         (pow_test_downward): Likewise.
23862         (pow_test_upward): Likewise.
23863         (remainder_test): Likewise.
23864         (remquo_test): Likewise.
23865         (sin_test): Likewise.
23866         (sin_test_tonearest): Likewise.
23867         (sin_test_towardzero): Likewise.
23868         (sin_test_downward): Likewise.
23869         (sin_test_upward): Likewise.
23870         (sincos_test): Likewise.
23871         (sinh_test): Likewise.
23872         (sinh_test_tonearest): Likewise.
23873         (sinh_test_towardzero): Likewise.
23874         (sinh_test_downward): Likewise.
23875         (sinh_test_upward): Likewise.
23876         (sqrt_test): Likewise.
23877         (tan_test): Likewise.
23878         (tan_test_tonearest): Likewise.
23879         (tan_test_towardzero): Likewise.
23880         (tan_test_downward): Likewise.
23881         (tan_test_upward): Likewise.
23882         (tanh_test): Likewise.
23883         (tgamma_test): Likewise.
23884         (y0_test): Likewise.
23885         (y1_test): Likewise.
23886         (yn_test): Likewise.
23888         * math/gen-libm-test.pl (adjust_arg): Remove function.
23889         (special_function): Remove argument $in_func.  Only handle
23890         generating output for tables of tests, not inside functions.
23891         (parse_args): Likewise.
23892         (generate_testfile): Remove variable $in_func.  Update call to
23893         parse_args.
23894         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
23895         (MINUS_ZERO_INIT): Rename macro to minus_zero.
23896         (PLUS_INFTY_INIT): Rename macro to plus_infty.
23897         (MINUS_INFTY_INIT): Rename macro to minus_infty.
23898         (QNAN_VALUE_INIT): Rename macro to qnan_value.
23899         (MAX_VALUE_INIT): Rename macro to max_value.
23900         (MIN_VALUE_INIT): Rename macro to min_value.
23901         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
23902         (plus_zero): Remove variable.
23903         (minus_zero): Likewise.
23904         (plus_infty): Likewise.
23905         (minus_infty): Likewise.
23906         (qnan_value): Likewise.
23907         (max_value): Likewise.
23908         (min_value): Likewise.
23909         (min_subnorm_value): Likewise.
23911 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23913         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
23914         uint64_t or uint32_t usage.
23915         * crypt/sha256-block.c: Likewise.
23916         * crypt/sha256-crypt.c: Likewise.
23917         * crypt/sha256.c: Likewise.
23918         * crypt/sha512-block.c: Likewise.
23919         * crypt/sha512-crypt.c: Likewise.
23920         * crypt/sha512.c: Likewise.
23921         * debug/backtrace-tst.c: Likewise.
23922         * debug/pcprofiledump.c: Likewise.
23923         * elf/cache.c: Likewise.
23924         * elf/dl-cache.c: Likewise.
23925         * elf/dl-misc.c: Likewise.
23926         * elf/dl-profile.c: Likewise.
23927         * elf/dl-support.c: Likewise.
23928         * elf/ldconfig.c: Likewise.
23929         * elf/sprof.c: Likewise.
23930         * iconv/dummy-repertoire.c: Likewise.
23931         * iconv/iconv_charmap.c: Likewise.
23932         * iconv/skeleton.c: Likewise.
23933         * iconvdata/8bit-generic.c: Likewise.
23934         * iconvdata/cp737.h: Likewise.
23935         * iconvdata/cp775.h: Likewise.
23936         * iconvdata/ibm1008.h: Likewise.
23937         * iconvdata/ibm1025.h: Likewise.
23938         * iconvdata/ibm1046.h: Likewise.
23939         * iconvdata/ibm1097.h: Likewise.
23940         * iconvdata/ibm1112.h: Likewise.
23941         * iconvdata/ibm1122.h: Likewise.
23942         * iconvdata/ibm1123.h: Likewise.
23943         * iconvdata/ibm1124.h: Likewise.
23944         * iconvdata/ibm1129.h: Likewise.
23945         * iconvdata/ibm1130.h: Likewise.
23946         * iconvdata/ibm1132.h: Likewise.
23947         * iconvdata/ibm1133.h: Likewise.
23948         * iconvdata/ibm1137.h: Likewise.
23949         * iconvdata/ibm1140.h: Likewise.
23950         * iconvdata/ibm1141.h: Likewise.
23951         * iconvdata/ibm1142.h: Likewise.
23952         * iconvdata/ibm1143.h: Likewise.
23953         * iconvdata/ibm1144.h: Likewise.
23954         * iconvdata/ibm1145.h: Likewise.
23955         * iconvdata/ibm1146.h: Likewise.
23956         * iconvdata/ibm1147.h: Likewise.
23957         * iconvdata/ibm1148.h: Likewise.
23958         * iconvdata/ibm1149.h: Likewise.
23959         * iconvdata/ibm1153.h: Likewise.
23960         * iconvdata/ibm1154.h: Likewise.
23961         * iconvdata/ibm1155.h: Likewise.
23962         * iconvdata/ibm1156.h: Likewise.
23963         * iconvdata/ibm1157.h: Likewise.
23964         * iconvdata/ibm1158.h: Likewise.
23965         * iconvdata/ibm1160.h: Likewise.
23966         * iconvdata/ibm1161.h: Likewise.
23967         * iconvdata/ibm1162.h: Likewise.
23968         * iconvdata/ibm1163.h: Likewise.
23969         * iconvdata/ibm1164.h: Likewise.
23970         * iconvdata/ibm1166.h: Likewise.
23971         * iconvdata/ibm1167.h: Likewise.
23972         * iconvdata/ibm12712.h: Likewise.
23973         * iconvdata/ibm1390.h: Likewise.
23974         * iconvdata/ibm1399.h: Likewise.
23975         * iconvdata/ibm16804.h: Likewise.
23976         * iconvdata/ibm4517.h: Likewise.
23977         * iconvdata/ibm4899.h: Likewise.
23978         * iconvdata/ibm4909.h: Likewise.
23979         * iconvdata/ibm4971.h: Likewise.
23980         * iconvdata/ibm5347.h: Likewise.
23981         * iconvdata/ibm803.h: Likewise.
23982         * iconvdata/ibm856.h: Likewise.
23983         * iconvdata/ibm901.h: Likewise.
23984         * iconvdata/ibm902.h: Likewise.
23985         * iconvdata/ibm9030.h: Likewise.
23986         * iconvdata/ibm9066.h: Likewise.
23987         * iconvdata/ibm921.h: Likewise.
23988         * iconvdata/ibm922.h: Likewise.
23989         * iconvdata/ibm9448.h: Likewise.
23990         * iconvdata/isiri-3342.h: Likewise.
23991         * iconvdata/jis0201.h: Likewise.
23992         * include/link.h: Likewise.
23993         * include/netdb.h: Likewise.
23994         * inet/check_native.c: Likewise.
23995         * inet/check_pf.c: Likewise.
23996         * inet/getipv4sourcefilter.c: Likewise.
23997         * inet/getnameinfo.c: Likewise.
23998         * inet/getsourcefilter.c: Likewise.
23999         * inet/htonl.c: Likewise.
24000         * inet/setipv4sourcefilter.c: Likewise.
24001         * inet/setsourcefilter.c: Likewise.
24002         * inet/test-inet6_opt.c: Likewise.
24003         * inet/tst-network.c: Likewise.
24004         * locale/C-collate.c: Likewise.
24005         * locale/C-ctype.c: Likewise.
24006         * locale/C-time.c: Likewise.
24007         * locale/C-translit.h: Likewise.
24008         * locale/loadarchive.c: Likewise.
24009         * locale/programs/3level.h: Likewise.
24010         * locale/programs/charmap.c: Likewise.
24011         * locale/programs/charmap.h: Likewise.
24012         * locale/programs/ld-address.c: Likewise.
24013         * locale/programs/ld-collate.c: Likewise.
24014         * locale/programs/ld-ctype.c: Likewise.
24015         * locale/programs/ld-identification.c: Likewise.
24016         * locale/programs/ld-measurement.c: Likewise.
24017         * locale/programs/ld-messages.c: Likewise.
24018         * locale/programs/ld-monetary.c: Likewise.
24019         * locale/programs/ld-name.c: Likewise.
24020         * locale/programs/ld-numeric.c: Likewise.
24021         * locale/programs/ld-paper.c: Likewise.
24022         * locale/programs/ld-telephone.c: Likewise.
24023         * locale/programs/ld-time.c: Likewise.
24024         * locale/programs/linereader.c: Likewise.
24025         * locale/programs/locale.c: Likewise.
24026         * locale/programs/locarchive.c: Likewise.
24027         * locale/programs/locfile.h: Likewise.
24028         * locale/programs/repertoire.c: Likewise.
24029         * locale/programs/simple-hash.c: Likewise.
24030         * locale/programs/simple-hash.h: Likewise.
24031         * malloc/memusage.c: Likewise.
24032         * malloc/memusagestat.c: Likewise.
24033         * nis/nis_defaults.c: Likewise.
24034         * nis/nis_hash.c: Likewise.
24035         * nis/nis_print.c: Likewise.
24036         * nis/nis_xdr.c: Likewise.
24037         * nscd/connections.c: Likewise.
24038         * nscd/hstcache.c: Likewise.
24039         * nscd/nscd_gethst_r.c: Likewise.
24040         * nscd/nscd_getserv_r.c: Likewise.
24041         * nscd/nscd_helper.c: Likewise.
24042         * nscd/servicescache.c: Likewise.
24043         * nss/makedb.c: Likewise.
24044         * nss/nss_db/db-XXX.c: Likewise.
24045         * nss/nss_db/db-initgroups.c: Likewise.
24046         * nss/nss_db/db-netgrp.c: Likewise.
24047         * nss/nss_files/files-network.c: Likewise.
24048         * nss/nss_files/files-parse.c: Likewise.
24049         * posix/bug-regex5.c: Likewise.
24050         * posix/fnmatch_loop.c: Likewise.
24051         * posix/regcomp.c: Likewise.
24052         * posix/regexec.c: Likewise.
24053         * posix/tst-rfc3484-2.c: Likewise.
24054         * posix/tst-rfc3484-3.c: Likewise.
24055         * posix/tst-rfc3484.c: Likewise.
24056         * resolv/nss_dns/dns-canon.c: Likewise.
24057         * resolv/nss_dns/dns-network.c: Likewise.
24058         * resolv/res_init.c: Likewise.
24059         * resolv/res_mkquery.c: Likewise.
24060         * resolv/tst-aton.c: Likewise.
24061         * stdlib/cxa_atexit.c: Likewise.
24062         * stdlib/cxa_finalize.c: Likewise.
24063         * stdlib/gen-fpioconst.c: Likewise.
24064         * stdlib/strtol_l.c: Likewise.
24065         * string/tst-endian.c: Likewise.
24066         * sunrpc/auth_des.c: Likewise.
24067         * sunrpc/clnt_udp.c: Likewise.
24068         * sunrpc/rtime.c: Likewise.
24069         * sunrpc/svcauth_des.c: Likewise.
24070         * sunrpc/xdr.c: Likewise.
24071         * sunrpc/xdr_intXX_t.c: Likewise.
24072         * sunrpc/xdr_rec.c: Likewise.
24073         * sysdeps/generic/ldconfig.h: Likewise.
24074         * sysdeps/generic/ldsodefs.h: Likewise.
24075         * sysdeps/generic/memusage.h: Likewise.
24076         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24077         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
24078         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
24079         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24080         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24081         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24082         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24083         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24084         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24085         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24086         * sysdeps/posix/getaddrinfo.c: Likewise.
24087         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24088         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24089         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
24090         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24091         * sysdeps/powerpc/test-gettimebase.c: Likewise.
24092         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24093         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
24094         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
24095         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
24096         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
24097         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24098         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24099         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
24100         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
24101         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
24102         * sysdeps/x86_64/dl-tls.h: Likewise.
24103         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
24104         * time/alt_digit.c: Likewise.
24105         * time/era.c: Likewise.
24106         * wcsmbs/tst-c16c32-1.c: Likewise.
24108 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
24110         * math/libm-test.inc (struct test_sincos_data): New type.
24111         (RUN_TEST_LOOP_sincos): New macro.
24112         (sincos_test_data): New variable.
24113         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
24115 2013-05-16  Richard Henderson  <rth@redhat.com>
24117         * math/atest-exp2.c (LIMB64): New macro.
24118         (CONSTSZ): New macro.
24119         (mp_exp1, mp_exp_m1, mp_log2): New variables.
24120         (hexdig): Move ...
24121         (print_mpn_fp): ... to function scope.
24122         (read_mpn_hex): Remove.
24123         (get_log2): Remove.
24124         (exp2_mpn): Use mp_log2.
24125         (main): Use mp_exp1.
24127 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
24129         * math/libm-test.inc: Remove comment about not testing "inexact"
24130         exceptions.
24131         (INEXACT_EXCEPTION): New macro.
24132         (NO_INEXACT_EXCEPTION): Likewise.
24133         (INVALID_EXCEPTION_OK): Update value.
24134         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24135         (OVERFLOW_EXCEPTION_OK): Likewise.
24136         (UNDERFLOW_EXCEPTION_OK): Likewise.
24137         (IGNORE_ZERO_INF_SIGN): Likewise.
24138         (ERRNO_UNCHANGED): Likewise.
24139         (ERRNO_EDOM): Likewise.
24140         (ERRNO_ERANGE): Likewise.
24141         (test_exceptions): Handle testing "inexact" exceptions.
24142         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
24143         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
24144         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
24145         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
24146         INEXACT_EXCEPTION.
24147         (rint_towardzero_test_data): Likewise.
24148         (rint_downward_test_data): Likewise.
24149         (rint_upward_test_data): Likewise.
24151         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
24152         with OVERFLOW_EXCEPTION.
24153         (exp10_test_data): Likewise.
24154         (exp2_test_data): Likewise.
24155         (expm1_test_data): Likewise.
24156         (lgamma_test_data): Likewise.
24157         (pow_test_data): Likewise.
24158         (tgamma_test_data): Likewise.
24159         (yn_test_data): Remove duplicate test of overflow.
24161         * math/libm-test.inc (struct test_cc_c_data): New type.
24162         (RUN_TEST_LOOP_cc_c): New macro.
24163         (cpow_test_data): New variable.
24164         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
24166         * math/libm-test.inc (struct test_f_L_data): New type.
24167         (RUN_TEST_LOOP_f_L): New macro.
24168         (llrint_test_data): New variable.
24169         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
24170         (llrint_tonearest_test_data): New variable.
24171         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
24172         (llrint_towardzero_test_data): New variable.
24173         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
24174         (llrint_downward_test_data): New variable.
24175         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
24176         (llrint_upward_test_data): New variable.
24177         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
24178         (llround_test_data): New variable.
24179         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
24181 2013-05-13  Peter Collingbourne  <pcc@google.com>
24183         * math/atest-exp2.c (get_log2): Remove const attribute.
24185 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
24187         * math/libm-test.inc (struct test_f_l_data): New type.
24188         (RUN_TEST_LOOP_f_l): New macro.
24189         (lrint_test_data): New variable.
24190         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
24191         (lrint_tonearest_test_data): New variable.
24192         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
24193         (lrint_towardzero_test_data): New variable.
24194         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
24195         (lrint_downward_test_data): New variable.
24196         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
24197         (lrint_upward_test_data): New variable.
24198         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
24199         (lround_test_data): New variable.
24200         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
24202 2013-05-15  Peter Collingbourne  <pcc@google.com>
24204         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
24205         (EXTRACT_WORDS64) Use where appropriate.
24206         (INSERT_WORDS64) Likewise.
24208         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
24209         constraints with x constraints.
24210         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
24212         * malloc/obstack.c (_obstack_compat): Add initializer.
24214 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
24216         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
24217         si_trapno and add si_addr_lsb to _sifields.sigfault.
24218         (si_trapno): Remove macro.
24219         (si_addr_lsb): Define new macro.
24220         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
24222 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
24224         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
24225         instead of TEST_f_l.
24226         (llrint_test_tonearest): Likewise.
24227         (llrint_test_towardzero): Likewise.
24228         (llrint_test_downward): Likewise.
24229         (llrint_test_upward): Likewise.
24230         (llround_test): Likewise.
24232         * math/libm-test.inc (struct test_f_i_data): Add comment.
24233         (RUN_TEST_LOOP_f_b): New macro.
24234         (RUN_TEST_LOOP_f_b_tg): Likewise.
24235         (finite_test_data): New variable.
24236         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
24237         (isfinite_test_data): New variable.
24238         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24239         (isinf_test_data): New variable.
24240         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24241         (isnan_test_data): New variable.
24242         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24243         (isnormal_test_data): New variable.
24244         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24245         (issignaling_test_data): New variable.
24246         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24247         (signbit_test_data): New variable.
24248         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24250         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
24251         with INVALID_EXCEPTION.
24252         (acosh_test_data): Likewise.
24253         (asin_test_data): Likewise.
24254         (atanh_test_data): Likewise.
24255         (fmod_test_data): Likewise.
24256         (log_test_data): Likewise.
24257         (log10_test_data): Likewise.
24258         (log2_test_data): Likewise.
24259         (pow_test_data): Likewise.
24260         (sqrt_test_data): Likewise.
24261         (y0_test_data): Likewise.
24262         (y1_test_data): Likewise.
24263         (yn_test_data): Likewise.
24265         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
24266         function contents.
24268         * math/libm-test.inc (struct test_ff_i_data): New type.
24269         (RUN_TEST_LOOP_ff_i_tg): New macro.
24270         (isgreater_test_data): New variable.
24271         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24272         (isgreaterequal_test_data): New variable.
24273         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24274         (isless_test_data): New variable.
24275         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24276         (islessequal_test_data): New variable.
24277         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24278         (islessgreater_test_data): New variable.
24279         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24280         (isunordered_test_data): New variable.
24281         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24283 2013-05-14  David S. Miller  <davem@davemloft.net>
24285         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24287 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
24289         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
24291         * math/libm-test.inc (struct test_fF_f1_data): Change type of
24292         extra_test to int.
24293         (struct test_f_i_data): Change type of max_ulp to int.
24295         * math/libm-test.inc (test_ffI_f1_data): New type.
24296         (RUN_TEST_LOOP_ffI_f1): New macro.
24297         (remquo_test_data): New variable.
24298         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
24300         * setjmp/tst-setjmp-fp.c: New file.
24301         * setjmp/Makefile (tests): Add tst-setjmp-fp.
24302         (link-libm): New variable.
24303         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
24305         * math/libm-test.inc (struct test_f_i_data): New type.
24306         (RUN_TEST_LOOP_f_i): New macro.
24307         (RUN_TEST_LOOP_f_i_tg): Likewise.
24308         (fpclassify_test_data): New variable.
24309         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
24310         (ilogb_test_data): New variable.
24311         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
24313         * math/libm-test.inc (scalbln_test): Correct function name in END
24314         call.
24316         * math/libm-test.inc (struct test_f_f1_data): Add comment.
24317         (RUN_TEST_LOOP_fI_f1): New macro.
24318         (frexp_test_data): New variable.
24319         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
24321         * math/libm-test.inc (struct test_fF_f1_data): New type.
24322         (RUN_TEST_LOOP_fF_f1): New macro.
24323         (modf_test_data): New variable.
24324         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
24326         * math/libm-test.inc (struct test_f_f1_data): New type.
24327         (RUN_TEST_LOOP_f_f1): New macro.
24328         (gamma_test_data): New variable.
24329         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
24330         (lgamma_test_data): New variable.
24331         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
24333 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
24335         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
24336         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
24337         (main): Comment "tls" pseudo-hwcap.
24339 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
24341         * math/libm-test.inc (struct test_fl_f_data): New type.
24342         (RUN_TEST_LOOP_fl_f): New variable.
24343         (scalbln_test_data): New variable.
24344         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
24346         * math/libm-test.inc (struct test_fi_f_data): New type.
24347         (RUN_TEST_LOOP_fi_f): New macro.
24348         (ldexp_test_data): New variable.
24349         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
24350         (scalbn_test_data): New variable.
24351         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
24353         * math/libm-test.inc (struct test_c_f_data): New type.
24354         (RUN_TEST_LOOP_c_f): New macro.
24355         (cabs_test_data): New variable.
24356         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
24357         (carg_test_data): New variable.
24358         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
24359         (cimag_test_data): New variable.
24360         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
24361         (creal_test_data): New variable.
24362         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
24364         * math/libm-test.inc (struct test_if_f_data): New type.
24365         (RUN_TEST_LOOP_if_f): New macro.
24366         (jn_test_data): New variable.
24367         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
24368         (yn_test_data): New variable.
24369         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
24371         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
24373 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24375         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
24376         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
24378 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
24380         * benchtests/Makefile (CPPFLAGS-nonlib): Add
24381         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
24382         (bench-deps): Add bench-timing.h.
24383         * benchtests-bench-skeleton.c: Include bench-timing.h.
24384         (main): Use TIMING_* macros instead of clock_gettime.
24385         * benchtests/bench-timing.h: New file.
24387         [BZ #14582]
24388         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
24389         Renamed from _LIB_VERSION.
24390         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
24392 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
24394         * math/libm-test.inc (struct test_fff_f_data): New type.
24395         (RUN_TEST_LOOP_fff_f): New macro.
24396         (fma_test_data): New variable.
24397         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
24398         (fma_towardzero_test_data): New variable.
24399         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
24400         (fma_downward_test_data): New variable.
24401         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
24402         (fma_upward_test_data): New variable.
24403         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
24405         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
24406         (struct test_c_c_data): New type.
24407         (RUN_TEST_LOOP_c_c): New macro.
24408         (cacos_test_data): New variable.
24409         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
24410         (cacosh_test_data): New variable.
24411         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
24412         (casin_test_data): New variable.
24413         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
24414         (casinh_test_data): New variable.
24415         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
24416         (catan_test_data): New variable.
24417         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
24418         (catanh_test_data): New variable.
24419         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
24420         (ccos_test_data): New variable.
24421         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
24422         (ccosh_test_data): New variable.
24423         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
24424         (cexp_test_data): New variable.
24425         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
24426         (clog_test_data): New variable.
24427         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
24428         (clog10_test_data): New variable.
24429         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
24430         (conj_test_data): New variable.
24431         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
24432         (cproj_test_data): New variable.
24433         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
24434         (csin_test_data): New variable.
24435         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
24436         (csinh_test_data): New variable.
24437         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
24438         (csqrt_test_data): New variable.
24439         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
24440         (ctan_test_data): New variable.
24441         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
24442         (ctan_tonearest_test_data): New variable.
24443         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
24444         (ctan_towardzero_test_data): New variable.
24445         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
24446         (ctan_downward_test_data): New variable.
24447         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
24448         (ctan_upward_test_data): New variable.
24449         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
24450         (ctanh_test_data): New variable.
24451         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
24452         (ctanh_tonearest_test_data): New variable.
24453         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
24454         (ctanh_towardzero_test_data): New variable.
24455         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
24456         (ctanh_downward_test_data): New variable.
24457         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
24458         (ctanh_upward_test_data): New variable.
24459         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
24460         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
24461         of BUILD_COMPLEX.
24463         * math/libm-test.inc (struct test_ff_f_data): New type.
24464         (struct test_ff_f_data_nexttoward): Likewise.
24465         (RUN_TEST_LOOP_2_f): New macro.
24466         (RUN_TEST_LOOP_ff_f): Likewise.
24467         (atan2_test_data): New variable.
24468         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
24469         (copysign_test_data): New variable.
24470         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
24471         (fdim_test_data): New variable.
24472         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
24473         (fmax_test_data): New variable.
24474         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
24475         (fmin_test_data): New variable.
24476         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
24477         (fmod_test_data): New variable.
24478         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
24479         (hypot_test_data): New variable.
24480         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
24481         (nextafter_test_data): New variable.
24482         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
24483         (nexttoward_test_data): New variable.
24484         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
24485         (pow_test_data): New variable.
24486         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
24487         (pow_tonearest_test_data): New variable.
24488         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
24489         (pow_towardzero_test_data): New variable.
24490         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
24491         (pow_downward_test_data): New variable.
24492         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
24493         (pow_upward_test_data): New variable.
24494         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
24495         (remainder_test_data): New variable.
24496         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
24497         (scalb_test_data): New variable.
24498         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
24499         * sysdeps/i386/fpu/libm-test-ulps: Update.
24501 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
24503         * math/libm-test.inc (fma_test): Use max_value instead of local
24504         variable fltmax.
24505         (nextafter_test): Likewise.
24507         * math/libm-test.inc (acos_towardzero_test_data): New variable.
24508         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24509         (acos_downward_test_data): New variable.
24510         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24511         (acos_upward_test_data): New variable.
24512         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24513         (acosh_test_data): New variable.
24514         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
24515         (asin_test_data): New variable.
24516         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
24517         (asin_tonearest_test_data): New variable.
24518         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24519         (asin_towardzero_test_data): New variable.
24520         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24521         (asin_downward_test_data): New variable.
24522         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24523         (asin_upward_test_data): New variable.
24524         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24525         (asinh_test_data): New variable.
24526         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
24527         (atan_test_data): New variable.
24528         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
24529         (atanh_test_data): New variable.
24530         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
24531         (cbrt_test_data): New variable.
24532         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
24533         (ceil_test_data): New variable.
24534         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
24535         (cos_test_data): New variable.
24536         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
24537         (cos_tonearest_test_data): New variable.
24538         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24539         (cos_towardzero_test_data): New variable.
24540         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24541         (cos_downward_test_data): New variable.
24542         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24543         (cos_upward_test_data): New variable.
24544         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24545         (cosh_test_data): New variable.
24546         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
24547         (cosh_tonearest_test_data): New variable.
24548         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24549         (cosh_towardzero_test_data): New variable.
24550         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24551         (cosh_downward_test_data): New variable.
24552         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24553         (cosh_upward_test_data): New variable.
24554         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24555         (erf_test_data): New variable.
24556         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
24557         (erfc_test_data): New variable.
24558         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
24559         (exp_test_data): New variable.
24560         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
24561         (exp_tonearest_test_data): New variable.
24562         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24563         (exp_towardzero_test_data): New variable.
24564         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24565         (exp_downward_test_data): New variable.
24566         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24567         (exp_upward_test_data): New variable.
24568         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24569         (exp10_test_data): New variable.
24570         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
24571         (exp2_test_data): New variable.
24572         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
24573         (expm1_test_data): New variable.
24574         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
24575         (fabs_test_data): New variable.
24576         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
24577         (floor_test_data): New variable.
24578         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
24579         (j0_test_data): New variable.
24580         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
24581         (j1_test_data): New variable.
24582         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
24583         (log_test_data): New variable.
24584         (log_test): Run tests with RUN_TEST_LOOP_f_f.
24585         (log10_test_data): New variable.
24586         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
24587         (log1p_test_data): New variable.
24588         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
24589         (log2_test_data): New variable.
24590         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
24591         (logb_test_data): New variable.
24592         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
24593         (logb_downward_test_data): New variable.
24594         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24595         (nearbyint_test_data): New variable.
24596         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
24597         (rint_test_data): New variable.
24598         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
24599         (rint_tonearest_test_data): New variable.
24600         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24601         (rint_towardzero_test_data): New variable.
24602         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24603         (rint_downward_test_data): New variable.
24604         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24605         (rint_upward_test_data): New variable.
24606         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24607         (round_test_data): New variable.
24608         (round_test): Run tests with RUN_TEST_LOOP_f_f.
24609         (sin_test_data): New variable.
24610         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
24611         (sin_tonearest_test_data): New variable.
24612         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24613         (sin_towardzero_test_data): New variable.
24614         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24615         (sin_downward_test_data): New variable.
24616         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24617         (sin_upward_test_data): New variable.
24618         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24619         (sinh_test_data): New variable.
24620         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
24621         (sinh_tonearest_test_data): New variable.
24622         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24623         (sinh_towardzero_test_data): New variable.
24624         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24625         (sinh_downward_test_data): New variable.
24626         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24627         (sinh_upward_test_data): New variable.
24628         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24629         (sqrt_test_data): New variable.
24630         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
24631         (tan_test_data): New variable.
24632         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
24633         (tan_tonearest_test_data): New variable.
24634         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24635         (tan_towardzero_test_data): New variable.
24636         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24637         (tan_downward_test_data): New variable.
24638         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24639         (tan_upward_test_data): New variable.
24640         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24641         (tanh_test_data): New variable.
24642         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
24643         (tgamma_test_data): New variable.
24644         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
24645         (trunc_test_data): New variable.
24646         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
24647         (y0_test_data): New variable.
24648         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
24649         (y1_test_data): New variable.
24650         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
24651         (significand_test_data): New variable.
24652         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
24654 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
24656         [BZ #12387]
24657         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
24659 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24661         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
24663 2013-05-10  Andreas Jaeger  <aj@suse.de>
24665         [BZ #15448]
24666         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
24667         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
24669 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
24671         * math/gen-libm-test.pl (adjust_arg): New function.
24672         (special_functions): Handle generating output in both functions
24673         and arrays.
24674         (parse_args): Likewise.
24675         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
24676         $in_func argument to parse_args.
24677         * math/libm-test.inc (struct test_f_f_data): New type.
24678         (IF_ROUND_INIT_): New macro.
24679         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
24680         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
24681         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
24682         (IF_ROUND_INIT_FE_UPWARD): Likewise.
24683         (ROUND_RESTORE_): Likewise.
24684         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
24685         (ROUND_RESTORE_FE_TONEAREST): Likewise.
24686         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
24687         (ROUND_RESTORE_FE_UPWARD): Likewise.
24688         (RUN_TEST_LOOP_f_f): New macro.
24689         (acos_test_data): New variable.
24690         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
24691         (acos_tonearest_test_data): New variable.
24692         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24694 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24696         * benchtests/bench-skeleton.c (startup): Fix coding style.
24698 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
24700         [BZ #6809]
24701         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
24702         negative infinity argument.
24703         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
24704         negative infinity argument.
24705         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
24706         negative infinity argument.
24707         * math/libm-test.inc (tgamma_test): Expect errno to be set for
24708         domain errors.
24710 2013-05-10  Florian Weimer  <fweimer@redhat.com>
24712         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
24713         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
24714         * iconv/iconv_prog.c (main): Likewise.
24715         * locale/programs/charmap-dir.c (charmap_readdir)
24716         (fopen_uncompressed): Likewise.
24717         * locale/programs/locfile.c (siblings_uncached)
24718         (write_locale_data): Use lstat64 instead of lstat.
24719         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
24720         stat.
24722 2013-05-10  Andreas Jaeger  <aj@suse.de>
24724         [BZ #15395]
24725         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
24726         localization.
24727         Include <locale.h>.
24729 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
24731         * elf/dl-close.c (_dl_close_worker): Add comments.
24733 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
24735         [BZ #15359]
24736         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
24737         high part of pi/2.
24738         (__ieee754_rem_pio2l): Update comments.
24740         [BZ #15429]
24741         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
24742         high part of pi/2.
24743         (__ieee754_rem_pio2l): Update comments.
24745         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
24746         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
24748         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
24749         M_PI_4l.
24751         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
24752         (M_PI_34_LOG10El): Likewise.
24753         (M_PI2_LOG10El): Likewise.
24754         (M_PI4_LOG10El): Likewise.
24755         (M_PI_LOG10El): Likewise.
24757 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24759         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24761 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
24763         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
24764         (MINUS_ZERO_INIT): Likewise.
24765         (PLUS_INFTY_INIT): Likewise.
24766         (MINUS_INFTY_INIT): Likewise.
24767         (QNAN_VALUE_INIT): Likewise.
24768         (MAX_VALUE_INIT): Likewise.
24769         (MIN_VALUE_INIT): Likewise.
24770         (MIN_SUBNORM_VALUE_INIT): Likewise.
24771         (plus_zero): Initialize with PLUS_ZERO_INIT.
24772         (minus_zero): Initialize with MINUS_ZERO_INIT.
24773         (plus_infty): Initialize with PLUS_INFTY_INIT.
24774         (minus_infty): Initialize with MINUS_INFTY_INIT.
24775         (qnan_value): Initialize with QNAN_VALUE_INIT.
24776         (max_value): Initialize with MAX_VALUE_INIT.
24777         (min_value): Initialize with MIN_VALUE_INIT.
24778         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
24780         * math/libm-test.inc (RUN_TEST_if_f): New macro.
24781         (jn_test): Use TEST_if_f instead of TEST_ff_f.
24782         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
24783         (yn_test): Use TEST_if_f instead of TEST_ff_f.
24785         * math/libm-test.inc (RUN_TEST_f_f): New macro.
24786         (RUN_TEST_2_f): Likewise.
24787         (RUN_TEST_ff_f): Likewise.
24788         (RUN_TEST_fi_f): Likewise.
24789         (RUN_TEST_fl_f): Likewise.
24790         (RUN_TEST_fff_f): Likewise.
24791         (RUN_TEST_c_f): Likewise.
24792         (RUN_TEST_f_f1): Likewise.
24793         (RUN_TEST_fF_f1): Likewise.
24794         (RUN_TEST_fI_f1): Likewise.
24795         (RUN_TEST_ffI_f1): Likewise.
24796         (RUN_TEST_c_c): Likewise.
24797         (RUN_TEST_cc_c): Likewise.
24798         (RUN_TEST_f_i): Likewise.
24799         (RUN_TEST_f_i_tg): Likewise.
24800         (RUN_TEST_ff_i_tg): Likewise.
24801         (RUN_TEST_f_b): Likewise.
24802         (RUN_TEST_f_b_tg): Likewise.
24803         (RUN_TEST_f_l): Likewise.
24804         (RUN_TEST_f_L): Likewise.
24805         (RUN_TEST_sincos): Likewise.
24806         * math/gen-libm-test.pl (new_test): Take new argument to indicate
24807         whether to show exceptions.  Do not include ");\n" in return
24808         value.
24809         (special_functions): Output call to RUN_TEST_sincos instead of
24810         check_float calls.  Update calls to new_test.
24811         (parse_args): Output call to single RUN_TEST_* macro instead of
24812         check_* calls and other assignments.  Update calls to new_test.
24814         [BZ #2546]
24815         [BZ #2560]
24816         [BZ #5159]
24817         [BZ #15426]
24818         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
24819         input to result for tgamma overflow.
24820         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
24821         (gamma_coeff): New variable.
24822         (NCOEFF): New macro.
24823         (gamma_positive): New function.
24824         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
24825         underflow here.  Use gamma_positive instead of exp (lgamma) for
24826         other arguments.
24827         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
24828         (gamma_coeff): New variable.
24829         (NCOEFF): New macro.
24830         (gammaf_positive): New function.
24831         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
24832         underflow here.  Use gamma_positive instead of exp (lgamma) for
24833         other arguments.
24834         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
24835         (gamma_coeff): New variable.
24836         (NCOEFF): New macro.
24837         (gammal_positive): New function.
24838         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
24839         underflow here.  Use gamma_positive instead of exp (lgamma) for
24840         other arguments.
24841         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
24842         (gamma_coeff): New variable.
24843         (NCOEFF): New macro.
24844         (gammal_positive): New function.
24845         (__ieee754_gammal_r): Handle positive infinity, overflow and
24846         underflow here.  Handle NaN the same as positive infinity.  Remove
24847         check x < 0xffffffff for negative integers.  Use gamma_positive
24848         instead of exp (lgamma) for other arguments.
24849         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
24850         (gamma_coeff): New variable.
24851         (NCOEFF): New macro.
24852         (gammal_positive): New function.
24853         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
24854         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
24855         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
24856         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
24857         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
24858         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
24859         * sysdeps/generic/math_private.h (__gamma_productf): New
24860         prototype.
24861         (__gamma_product): Likewise.
24862         (__gamma_productl): Likewise.
24863         * math/Makefile (libm-calls): Add gamma_product.
24864         * math/libm-test.inc (tgamma_test): Add more tests.
24865         * sysdeps/i386/fpu/libm-test-ulps: Update.
24866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24868 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
24870         * benchtests/bench-skeleton.c (main): Preheat CPU.
24872 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
24874         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
24876 2013-05-07  Roland McGrath  <roland@hack.frob.com>
24878         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
24879         and _dl_skip_args_internal.
24881 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
24883         * manual/message.texi (Message Translation): Talk about users.
24884         Message to key mapping impacts design.
24886 2013-05-06  Roland McGrath  <roland@hack.frob.com>
24888         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
24890         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
24892         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
24893         * sysdeps/wordsize-64/glob64.c: ... here.
24895         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
24896         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
24897         New macros.
24899         * debug/getlogin_r_chk.c: Moved to ...
24900         * login/getlogin_r_chk.c: ... here.
24901         * debug/Makefile (routines): Move getlogin_r_chk to ...
24902         * login/Makefile (routines): ... here.
24903         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
24904         * login/Versions (libc: GLIBC_2.4): ... here.
24906         * io/poll.c (__poll): Renamed from poll.
24907         Add libc_hidden_def.
24908         (poll): Define as weak alias.
24910         * debug/ptsname_r_chk.c: Moved to ...
24911         * login/ptsname_r_chk.c: ... here.
24912         * debug/Makefile (routines): Move ptsname_r_chk to ...
24913         * login/Makefile (routines): ... here.
24914         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
24915         * login/Versions (libc: GLIBC_2.4): ... here.
24917         * posix/getlogin.c: Moved to ...
24918         * login/getlogin.c: ... here.
24919         * posix/getlogin_r.c: Moved to ...
24920         * login/getlogin_r.c: ... here.
24921         * posix/getlogin_r.c: Moved to ...
24922         * login/getlogin_r.c: ... here.
24923         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
24924         * login/Makefile (routines): ... here.
24925         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
24926         * login/Versions (libc: GLIBC_2.0): ... here.
24928         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
24929         (setrlimit): Define as weak alias.
24931         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
24932         Call __ names for open, ftruncate, and close.
24933         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
24934         (truncate): Define as weak alias.
24936 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
24938         * math/gen-libm-test.pl (parse_args): Initialize x before each
24939         test of frexp, modf and remquo.
24941         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
24942         test signgam value.
24944 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24946         [BZ #15418]
24947         [BZ #15419]
24948         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
24949         internal tests.
24950         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24952 2013-05-06  Roland McGrath  <roland@hack.frob.com>
24954         * elf/dl-writev.h: New file.
24955         * elf/dl-misc.c: Include it.
24956         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
24957         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
24959 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
24961         * math/libm-test.inc (noXFails): Remove variable.
24962         (noXPasses): Likewise.
24963         (BUILD_COMPLEX_INT): Remove macro.
24964         (print_screen): Remove xfail argument.
24965         (print_screen_max_error): Likewise.
24966         (update_stats): Likewise.
24967         (print_max_error): Likewise.  Update calls to other affected
24968         functions.
24969         (print_complex_max_error): Likewise.
24970         (test_single_exception): Update calls to print_screen.
24971         (test_single_errno): Likewise.
24972         (check_float_internal): Remove xfail argument.  Update calls to
24973         other affected functions.
24974         (check_float): Likewise.
24975         (check_complex): Likewise.
24976         (check_int): Likewise.
24977         (check_long): Likewise.
24978         (check_bool): Likewise.
24979         (check_longlong): Likewise.
24980         (main): Don't print noXFails and noXPasses.
24981         * math/gen-libm-test.pl (top level): Don't mention expected
24982         failure handling in comment.
24983         (new_test): Don't handle expected failures.
24984         (parse_args): Don't mention expected failure handling in comment.
24985         (generate_testfile): Don't handle expected failures.
24986         (parse_ulps): Likewise.
24987         (print_ulps_file): Likewise.
24988         (get_failure): Remove function.
24989         (output_test): Don't handle expected failures.
24990         * make/README.libm-test: Don't mention expected failure handling.
24992         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
24993         (minus_zero): Likewise.
24994         (plus_infty): Likewise.
24995         (minus_infty): Likewise.
24996         (qnan_value): Likewise.
24997         (max_value): Likewise.
24998         (min_value): Likewise.
24999         (min_subnorm_value): Likewise.
25000         (initialize): Do not initialize those variables dynamically.
25002 2013-05-03  Roland McGrath  <roland@hack.frob.com>
25004         * io/open.c (__open_2): Moved to ...
25005         * io/open_2.c: ... this new file.
25006         * io/open64.c (__open64_2): Moved to ...
25007         * io/open64_2.c: ... this new file.
25008         * io/openat.c (__openat_2): Moved to ...
25009         * io/openat_2.c: ... this new file.
25010         * io/openat64.c (__openat64_2): Moved to ...
25011         * io/openat64_2.c: ... this new file.
25012         * io/Makefile (routines): Add them.
25013         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
25014         * sysdeps/unix/sysv/linux/open_2.c: File removed.
25015         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
25016         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
25017         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
25018         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
25019         (__openat64): Add hidden_ver.
25020         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
25021         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
25023         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
25024         Separately conditionalize setting of GLRO(dl_sysinfo) so
25025         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
25026         as well, but the actual setting is only under [NEED_DL_SYSINFO].
25028 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25030         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
25031         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
25032         definition.
25033         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
25034         * sysdeps/unix/sysv/linux/powerpc/init-first.c
25035         (_libc_vdso_platform_setup): Add __vdso_time initialization.
25036         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
25037         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
25039 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
25041         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
25042         test signgam value.
25044         * math/libm-test.inc (hypot_test): Do not use
25045         IGNORE_ZERO_INF_SIGN.
25047 2013-05-03  Andreas Jaeger  <aj@suse.de>
25049         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
25050         Linux 3.9.
25051         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
25052         (PF_MAX): Adjust for VSOCK change.
25054 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25056         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25058 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
25060         [BZ #15264]
25061         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
25062         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
25063         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
25065 2013-05-02  David S. Miller  <davem@davemloft.net>
25067         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25069 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
25071         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
25073 2013-05-01  Roland McGrath  <roland@hack.frob.com>
25075         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
25077 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
25079         [BZ #14952]
25080         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
25081         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
25082         Use __attribute__ ((__gnu_inline__)).
25083         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
25084         Don't use __attribute__ ((__gnu_inline__)).
25086 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
25088         [BZ #15423]
25089         * math/s_catan.c (__catan): Handle small real or imaginary part of
25090         input specially to avoid spurious underflow.
25091         * math/s_catanf.c (__catanf): Likewise.
25092         * math/s_catanh.c (__catanh): Likewise.
25093         * math/s_catanhf.c (__catanhf): Likewise.
25094         * math/s_catanhl.c (__catanhl): Likewise.
25095         * math/s_catanl.c (__catanl): Likewise.
25096         * math/libm-test.inc (catan_test): Add more tests.
25097         (catanh_test): Likewise.
25098         * sysdeps/i386/fpu/libm-test-ulps: Update.
25099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25101 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25103         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25105 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
25107         [BZ #15416]
25108         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
25109         accurately for denominator in atan2.
25110         * math/s_catanf.c (__catanf): Likewise.
25111         * math/s_catanh.c (__catanh): Likewise.
25112         * math/s_catanhf.c (__catanhf): Likewise.
25113         * math/s_catanhl.c (__catanhl): Likewise.
25114         * math/s_catanl.c (__catanl): Likewise.
25115         * math/libm-test.inc (catan_test): Add more tests.
25116         (catanh_test): Likewise.
25117         * sysdeps/i386/fpu/libm-test-ulps: Update.
25118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25120 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25122         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
25124         * benchtests/Makefile (bench): Remove slow benchmarks.
25125         * benchtests/atan-inputs: Add slow benchmark inputs.
25126         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
25127         (BENCH_FUNC): Accept variant offset.
25128         (VARIANT): Define.
25129         * benchtests/bench-skeleton.c (main): Run benchmark for each
25130         variant.
25131         * benchtests/cos-inputs: Add slow benchmark inputs.
25132         * benchtests/exp-inputs: Likewise.
25133         * benchtests/pow-inputs: Likewise.
25134         * benchtests/sin-inputs: Likewise.
25135         * benchtests/slowatan-inputs: Remove.
25136         * benchtests/slowatan.c: Remove.
25137         * benchtests/slowcos-inputs: Remove.
25138         * benchtests/slowcos.c: Remove.
25139         * benchtests/slowexp-inputs: Remove.
25140         * benchtests/slowexp.c: Remove.
25141         * benchtests/slowpow-inputs: Remove.
25142         * benchtests/slowpow.c: Remove.
25143         * benchtests/slowsin-inputs: Remove.
25144         * benchtests/slowsin.c: Remove.
25145         * benchtests/slowtan-inputs: Remove.
25146         * benchtests/slowtan.c: Remove.
25147         * benchtests/tan-inputs: Add slow benchmark inputs.
25148         * scripts/bench.pl: Parse comments and directives.
25150         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
25151         in CPPFLAGS.
25152         ($(objpfx)bench-%.c): Remove *-ITER.
25153         * benchtests/bench-modf.c: Remove definition of ITER.
25154         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
25155         (main): Loop for DURATION seconds instead of fixed number of
25156         iterations.
25157         * scripts/bench.pl: Don't expect iterations in parameters.
25159 2013-04-29  Roland McGrath  <roland@hack.frob.com>
25161         * io/fchdir.c (__fchdir): Renamed from fchdir.
25162         (fchdir): Define as weak alias.
25164 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
25166         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
25167         (ERRNO_EDOM): Likewise.
25168         (ERRNO_ERANGE): Likewise.
25169         (noErrnoTests): New variable.
25170         (init_max_error): Set errno to 0.
25171         (test_single_errno): New function.
25172         (test_errno): Likewise.
25173         (check_float_internal): Call test_errno.  Set errno to 0.
25174         (check_complex): Refer to errno tests in comment.
25175         (check_int): Call test_errno.  Set errno to 0.
25176         (check_long): Likewise.
25177         (check_bool): Likewise.
25178         (check_longlong): Likewise.
25179         (cos_test): Use ERRNO_* flags for errno tests instead of
25180         check_int.
25181         (expm1_test): Likewise.
25182         (fmod_test): Likewise.
25183         (ilogb_test): Likewise.
25184         (lgamma_test): Likewise.
25185         (pow_test): Likewise.
25186         (remainder_test): Likewise.
25187         (sin_test): Likewise.
25188         (tan_test): Likewise.
25189         (yn_test): Likewise.
25190         (initialize): Set errno to 0.
25191         (main): Print number of errno tests.
25192         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
25194 2013-04-29  Andreas Jaeger  <aj@suse.de>
25196         [BZ #15084]
25197         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
25198         and RES_USEVC.
25200         [BZ #15085]
25201         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
25202         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
25203         unimplemented.
25205         [BZ #15380]
25206         * stdlib/random.c (__initstate): Return NULL if
25207         __initstate fails.
25209         [BZ #15086]
25210         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
25211         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
25212         RES_SNGLKUPREOP.
25214 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25216         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25218 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
25220         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
25221         of individual tests.
25222         (casin_test): Likewise.
25223         (casinh_test): Likewise.
25225 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
25227         [BZ #15409]
25228         * math/s_catan.c (__catan): Handle arguments with large real or
25229         imaginary part separately without squaring.
25230         * math/s_catanf.c (__catanf): Likewise.
25231         * math/s_catanh.c (__catanh): Likewise.
25232         * math/s_catanhf.c (__catanhf): Likewise.
25233         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25234         and redefine.
25235         (__catanhl): Handle arguments with large real or imaginary part
25236         separately without squaring.
25237         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25238         and redefine.
25239         (__catanl): Handle arguments with large real or imaginary part
25240         separately without squaring.
25241         * math/libm-test.inc (catan_test): Add more tests.
25242         (catanh_test): Likewise.
25243         * sysdeps/i386/fpu/libm-test-ulps: Update.
25244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25246 2013-04-27  Andreas Jaeger  <aj@suse.de>
25248         [BZ #15007]
25249         * stdlib/stdlib.h: Update guards for qecvt.
25250         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
25251         <stdlib.h>.
25253 2013-04-27  Allan McRae  <allan@archlinux.org>
25255         * sysdeps/i386/fpu/libm-test-ulps: Update.
25257 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
25259         [BZ #15406]
25260         * math/s_catan.c: Include <float.h>.
25261         (__catan): Ensure underflow exception occurs for underflowed
25262         result.
25263         * math/s_catanf.c: Include <float.h>.
25264         (__catanf): Ensure underflow exception occurs for underflowed
25265         result.
25266         * math/s_catanh.c: Include <float.h>.
25267         (__catanh): Ensure underflow exception occurs for underflowed
25268         result.
25269         * math/s_catanhf.c: Include <float.h>.
25270         (__catanhf): Ensure underflow exception occurs for underflowed
25271         result.
25272         * math/s_catanhl.c: Include <float.h>.
25273         (__catanhl): Ensure underflow exception occurs for underflowed
25274         result.
25275         * math/s_catanl.c: Include <float.h>.
25276         (__catanl): Ensure underflow exception occurs for underflowed
25277         result.
25278         * math/libm-test.inc (catan_test): Add more tests.
25279         (catanh_test): Likewise.
25281         [BZ #15405]
25282         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
25283         underflowed result.
25284         * math/s_ccoshf.c (__ccoshf): Likewise.
25285         * math/s_ccoshl.c (__ccoshl): Likewise.
25286         * math/s_csin.c (__csin): Likewise.
25287         * math/s_csinf.c (__csinf): Likewise.
25288         * math/s_csinh.c (__csinh): Likewise.
25289         * math/s_csinhf.c (__csinhf): Likewise.
25290         * math/s_csinhl.c (__csinhl): Likewise.
25291         * math/s_csinl.c (__csinl): Likewise.
25292         * math/libm-test.inc (ccos_test): Add more tests.
25293         (ccosh_test): Likewise.
25294         (csin_test): Likewise.
25295         (csinh_test): Likewise.
25297 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25299         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
25300         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
25301         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
25302         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
25303         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
25304         powerpc/power5+/fpu folders.
25305         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
25308 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
25310         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25312 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
25314         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
25315         additions to variable.
25316         [$(config-machine) = x86_64] (modules-names): Likewise.
25317         ($(objpfx)tst-audit3): Remove dependency.
25318         ($(objpfx)tst-audit3.out): Likewise.
25319         ($(objpfx)tst-audit4): Likewise.
25320         ($(objpfx)tst-audit4.out): Likewise.
25321         ($(objpfx)tst-audit5): Likewise.
25322         ($(objpfx)tst-audit5.out): Likewise.
25323         ($(objpfx)tst-audit6): Likewise.
25324         ($(objpfx)tst-audit6.out): Likewise.
25325         ($(objpfx)tst-audit7): Likewise.
25326         ($(objpfx)tst-audit7.out): Likewise.
25327         (tst-audit3-ENV): Remove variable.
25328         (tst-audit4-ENV): Likewise.
25329         (tst-audit5-ENV): Likewise.
25330         (tst-audit6-ENV): Likewise.
25331         (tst-audit7-ENV): Likewise.
25332         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
25333         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
25334         addition to variable.
25335         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
25336         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
25337         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
25338         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
25339         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
25340         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
25341         tst-audit3, tst-audit4 and tst-audit5.
25342         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
25343         tst-audit6 and tst-audit7.
25344         [$(subdir) = elf] (modules-names): Add audit modules for those
25345         tests.
25346         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
25347         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
25348         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
25349         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
25350         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
25351         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
25352         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
25353         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
25354         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
25355         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
25356         [$(subdir) = elf] (tst-audit3-ENV): New variable.
25357         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
25358         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
25359         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
25360         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
25361         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
25362         Likewise.
25363         [$(subdir) = elf && $(config-cflags-avx) = yes]
25364         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
25365         [$(subdir) = elf && $(config-cflags-avx) = yes]
25366         (CFLAGS-tst-auditmod4a.c): Likewise.
25367         [$(subdir) = elf && $(config-cflags-avx) = yes]
25368         (CFLAGS-tst-auditmod4b.c): Likewise.
25369         [$(subdir) = elf && $(config-cflags-avx) = yes]
25370         (CFLAGS-tst-auditmod6b.c): Likewise.
25371         [$(subdir) = elf && $(config-cflags-avx) = yes]
25372         (CFLAGS-tst-auditmod6c.c): Likewise.
25373         [$(subdir) = elf && $(config-cflags-avx) = yes]
25374         (CFLAGS-tst-auditmod7b.c): Likewise.
25375         * elf/tst-audit3.c: Move to ...
25376         * sysdeps/x86_64/tst-audit3.c: ... here.
25377         * elf/tst-audit4.c: Move to ...
25378         * sysdeps/x86_64/tst-audit4.c: ... here.
25379         * elf/tst-audit5.c: Move to ...
25380         * sysdeps/x86_64/tst-audit5.c: ... here.
25381         * elf/tst-audit6.c: Move to ...
25382         * sysdeps/x86_64/tst-audit6.c: ... here.
25383         * elf/tst-audit7.c: Move to ...
25384         * sysdeps/x86_64/tst-audit7.c: ... here.
25385         * elf/tst-auditmod3a.c: Move to ...
25386         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
25387         * elf/tst-auditmod3b.c: Move to ...
25388         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
25389         * elf/tst-auditmod4a.c: Move to ...
25390         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
25391         * elf/tst-auditmod4b.c: Move to ...
25392         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
25393         * elf/tst-auditmod5a.c: Move to ...
25394         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
25395         * elf/tst-auditmod5b.c: Move to ...
25396         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
25397         * elf/tst-auditmod6a.c: Move to ...
25398         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
25399         * elf/tst-auditmod6b.c: Move to ...
25400         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
25401         * elf/tst-auditmod6c.c: Move to ...
25402         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
25403         * elf/tst-auditmod7a.c: Move to ...
25404         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
25405         * elf/tst-auditmod7b.c: Move to ...
25406         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
25408 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
25410         [BZ #15366]
25411         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
25412         define unconditionally.
25413         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
25414         define unconditionally.
25415         (INT8_C, INT16_C, etc.): Likewise.
25417 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
25419         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
25420         __ehdr_start with hidden visibility.
25422         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
25424 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
25426         * math/libm-test.inc (cos_test): Use accurate hex constants.
25427         (sincost_test): Likewise.
25429 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
25431         * math/libm-test.inc (catan_test): Add more tests.
25432         (catanh_test): Likewise.
25434         * math/s_catanf.c (__catanf): Use suffixed floating-point
25435         constants.
25436         * math/s_catanhf.c (__catanhf): Likewise.
25437         * math/s_catanhl.c (__catanhl): Likewise.
25438         * math/s_catanl.c (__catanl): Likewise.
25440         [BZ #15394]
25441         * math/s_catan.c (__catan): Calculate imaginary part of result
25442         with log1p not log unless computing log of number close to 0.
25443         * math/s_catanf.c (__catanf): Likewise.
25444         * math/s_catanl.c (__catanl): Likewise.
25445         * math/s_catanh.c (__catanh): Calculate real part of result with
25446         log1p not log unless computing log of number close to 0.
25447         * math/s_catanhf.c (__catanhf): Likewise.
25448         * math/s_catanhl.c (__catanhl): Likewise.
25449         * math/libm-test.inc (catan_test): Add more tests.
25450         (catanh_test): Likewise.
25451         * sysdeps/i386/fpu/libm-test-ulps: Update.
25452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25454 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25456         * benchtests/Makefile: Mention files in which fast and slow
25457         paths of math functions are implemented.
25459 2013-04-23  Roland McGrath  <roland@hack.frob.com>
25461         * sysdeps/posix/timespec_get.c: New file.
25463 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25465         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
25466         POWER.
25467         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
25468         for POWER.
25469         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
25470         powerpc/power5/fpu folders.
25471         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
25472         * benchtests/Makefile: Add modf testcase.
25473         * benchtests/bench-modf.c: New file: Benchmark test for mo
25475 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
25477         [BZ #14888]
25478         * time/Makefile (tests): Add tst-strptime-whitespace.
25479         * time/strptime_l.c (get_number): Use ISSPACE.
25480         (__strptime_internal): Likewise.
25481         * time/tst-strptime-whitespace.c: New test case.
25483 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
25485         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
25486         member.
25487         (_nss_files_init): Set it here.
25489 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
25491         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
25492         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
25493         unsigned.
25495 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
25497         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
25499 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
25501         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
25502         size just once.
25504 2013-04-21  David S. Miller  <davem@davemloft.net>
25506         * po/ru.po: Update Russion translation from translation project.
25508 2013-04-17  Adam Conrad  <adconrad@0c3.net>
25510         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
25511         and setfsgid.
25513 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
25515         * configure.in: Remove i386 configure warning. Remove i386 case.
25516         * configure: Regenerate.
25517         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
25518         Add example to error message.
25519         * sysdeps/i386/configure: Regenerate.
25521 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
25523         * benchtests/Makefile (bench): Add cos, tan, slowcos and
25524         slowtan.
25525         * benchtests/cos-inputs: New file.
25526         * benchtests/slowcos-inputs: New file.
25527         * benchtests/slowcos.c: New file.
25528         * benchtests/slowtan-inputs: New file.
25529         * benchtests/slowtan.c: New file.
25530         * benchtests/tan-inputs: New file.
25532 2013-04-16  Roland McGrath  <roland@hack.frob.com>
25534         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
25535         considered kosher.
25537 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25539         * benchtests/Makefile: Include cppflags-iterator.mk to add
25540         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
25542         * Makefile.in (bench-clean): New target.
25543         * benchtests/Makefile (bench-clean): Likewise.
25545 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
25547         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
25549 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
25551         * stdio-common/tstdiomisc.c: Fix coding-style violation.
25553 2013-04-15  Andreas Schwab  <schwab@suse.de>
25555         * nscd/grpcache.c (cache_addgr): Properly check for short write.
25556         * nscd/initgrcache.c (addinitgroupsX): Likewise.
25557         * nscd/pwdcache.c (cache_addpw): Likewise.
25558         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
25559         more than recsize.
25561 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25563         * benchtests/Makefile (bench): Write all output to
25564         bench-out.tmp together.
25566 2013-04-15  Andreas Schwab  <schwab@suse.de>
25568         * nscd/nscd.c (main): Don't fork again after closing files.
25570 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25572         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
25574         * benchtests/Rules (bench-deps): Collect dependencies into a
25575         single variable.  Add Makefile to dependencies.
25576         ($(objpfx)bench-%.c): Depend on bench-deps.
25578 2013-04-12  Roland McGrath  <roland@hack.frob.com>
25579             Xavier Roche  <roche+kml2@exalead.com>
25581         [BZ #15361]
25582         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
25583         just that it's a file descriptor.
25584         * manual/llio.texi (Synchronizing AIO Operations): Update description
25585         for EBADF error from aio_fsync.
25587 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25589         * Rules (bench): Move target definition...
25590         * benchtests/Makefile: ... here.
25592 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
25594         * math/libm-test.inc (cos_test): Fix PI/2 test.
25595         (sincos_test): Likewise.
25596         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
25597         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
25599 2013-04-11  Andreas Schwab  <schwab@suse.de>
25601         [BZ #13988]
25602         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
25603         accept exponent character only when digits were seen.
25604         * stdio-common/Makefile (tests): Add bug26.
25605         * stdio-common/bug26.c: New file.
25607         [BZ #14293]
25608         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
25609         non-freeable.
25611 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25613         * Makeconfig (rtld-prefix): Define built linker prefix.
25614         * Rules (run-bench): Use it.
25615         * math/Makefile (run-regen-ulps): Likewise.
25617         * Rules (bench): Remove eval.
25619 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25620             Roland McGrath  <roland@hack.frob.com>
25621             Ondrej Bilka  <neleai@seznam.cz>
25623         [BZ #15346]
25624         * time/getdate.c: Include ctype.h and alloca.h.
25625         (__getdate_r): Trim leading and trailing spaces of input.
25626         * time/tst-getdate.c (tests): Add tests with leading and
25627         trailing spaces.
25629 2013-04-08  Roland McGrath  <roland@hack.frob.com>
25631         [BZ #14280]
25632         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
25633         when computing value.
25635 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
25637         * math/README.libm-test (How can I generate "libm-test-ulps"?):
25638         Use testrun.sh to run libm tests.
25640         [BZ #15309]
25641         * elf/dl-open.c (dl_open_worker): memset all of seen array.
25643 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
25645         [BZ #15264]
25646         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
25648 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
25650         * Makefile.in (regen-ulps): New target.
25651         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
25652         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
25653         [ifneq (no,$(PERL)] (regen-ulps): New target.
25654         [ifeq (no,$(PERL)] (regen-ulps): New target.
25655         * math/libm-test.inc (ulps_file_name): Define.
25656         (output_dir): New variable.
25657         (options): Add "output-dir" option.
25658         (parse_opt): Handle 'o' case.
25659         (main): If output_dir is non-NULL use it as a prefix
25660         otherwise use "".
25661         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
25663 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
25665         [BZ #10060, #10062]
25666         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
25667         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
25668         fail configure if __sync_val_compare_and_swap is not inlined.
25669         * sysdeps/i386/configure: Regenerate.
25670         * configure.in: Build for i686 when configured for i386.
25671         * configure: Regenerate.
25672         * README: Remove i386 reference.
25674 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
25676         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
25677         * sysdeps/s390/s390-64/sysdep.h: Likewise.
25679 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
25681         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
25682         (lmsnanval): New variables.
25683         (F): Add conversion tests.
25684         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
25685         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
25687         * stdio-common/tstdiomisc.c (F): Properly collect individual
25688         tests' results.
25690         [BZ #14686, #15336]
25691         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
25692         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
25693         Instead, use input NaN values or generate a qNaN by arithmetic
25694         operation.  Also fix bugs to comply with the standard.
25695         * math/libm-test.inc (remainder_test): Add more tests.
25697         [BZ #15335, #15342]
25698         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
25699         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
25700         input NaN values or generate a qNaN by arithmetic operation.
25702         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
25703         unreachable code.
25705         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
25706         definitions.
25708 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
25710         [BZ #14478]
25711         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
25712         underflowed result.
25713         * math/s_cexpf.c (__cexpf): Likewise.
25714         * math/s_cexpl.c (__cexpl): Likewise.
25715         * math/libm-test.inc (cexp_test): Add more tests.
25717 2013-04-03  Andreas Schwab  <schwab@suse.de>
25719         [BZ #15330]
25720         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
25721         order arrays from heap if bigger than alloca cutoff.
25723 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
25725         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
25726         (SNAN_TESTS_double): Refer to GCC PR56831.
25727         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
25728         GCC PR56828.
25730 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
25732         * Rules (bench): Move bench.out after the run is complete.
25734         * Rules (bench): Echo currently running benchmark.
25736         * benchtests/Makefile (bench): Add atan and slowatan.
25737         * benchtests/atan-inputs: New file.
25738         * benchtests/slowatan-inputs: New file.
25739         * benchtests/slowatan.c: New file.
25741         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
25742         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
25743         its value.
25745         [BZ #15305]
25746         * sysdeps/unix/sysv/linux/kernel-features.h
25747         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
25748         __ASSUME_XFS_RESTRICTED_CHOWN.
25749         * sysdeps/unix/sysv/linux/pathconf.c
25750         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
25751         Save and restore errno.
25753 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
25755         [BZ #15327]
25756         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
25757         arguments using __kernel_casinh.
25758         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
25759         arguments using __kernel_casinhf.
25760         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
25761         arguments using __kernel_casinhl.
25762         * math/libm-test.inc (cacosh_test): Add more tests.
25763         * sysdeps/i386/fpu/libm-test-ulps: Update.
25764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25766 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25768         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
25769         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
25771         * bench/Makefile (bench): Add sin and slowsin.
25772         * benchtests/sin-inputs: New file.
25773         * benchtests/slowsin-inputs: New file.
25774         * benchtests/slowsin.c: New file.
25776         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
25777         (bench): Add slowexp and slowpow.
25778         (exp-ITER): Increase iterations.
25779         (pow-ITER): Likewise.
25780         * benchtests/exp-inputs: Change input.
25781         * benchtests/pow-inputs: Likewise.
25782         * benchtests/slowexp-inputs: New file.
25783         * benchtests/slowexp.c: New file.
25784         * benchtests/slowpow-inputs: New file.
25785         * benchtests/slowpow.c: New file.
25787 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25789         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
25790         instructions.
25791         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25792         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
25793         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
25794         * benchtests/Makefile: Add rint benchtest.
25795         * benchtests/rint-inputs: Input for rint benchtest.
25797 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
25799         * Versions.def (libm): Add GLIBC_2.18.
25800         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
25801         hidden libm prototypes.
25802         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
25803         * math/Makefile (libm-calls): Add s_issignaling.
25804         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
25805         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
25806         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
25807         declaration.
25808         * math/math.h [__USE_GNU] (issignaling): New macro.
25809         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
25810         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
25811         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
25812         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
25813         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
25814         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
25815         * manual/arith.texi (issignaling): New section.
25816         * manual/libm-err-tab.pl (@all_functions): Update comment.
25817         * math/gen-libm-test.pl (parse_args): Apply special handling for
25818         issignaling.
25819         * math/libm-test.inc (print_float, issignaling_test): New
25820         functions.
25821         (check_float_internal): Add issignaling checks.
25822         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
25823         default definition.
25824         * sysdeps/powerpc/math-tests.h: New file.
25825         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
25826         tests.
25827         * math/test-snan.c (TEST_FUNC): Likewise.
25829 2013-03-30  David S. Miller  <davem@davemloft.net>
25831         * po/de.po: Update from translation team.
25833 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
25835         [BZ #10357]
25836         * math/k_casinh.c (__kernel_casinh): Handle arguments with
25837         imaginary part less than 1.0 and real part less than 0.5
25838         specially.
25839         * math/k_casinhf.c (__kernel_casinhf): Likewise.
25840         * math/k_casinhl.c (__kernel_casinhl): Likewise.
25841         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
25842         (cacos_test): Add more tests.
25843         (casin_test): Likewise.
25844         (casinh_test): Likewise.
25845         * sysdeps/i386/fpu/libm-test-ulps: Update.
25846         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25848 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25850         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
25851         ONE with its value.
25853         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
25854         (__pow_mp): Replace ONE and MONE with their values.
25855         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25856         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
25857         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25858         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
25859         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25860         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25862         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
25864         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
25865         (__pow_mp): Replace ZERO and MZERO with their values.
25866         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
25867         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25868         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25869         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25870         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25871         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
25872         (__sqr): Likewise.
25874         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
25876         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
25878 2013-03-28  Roland McGrath  <roland@hack.frob.com>
25880         * include/stdlib.h [!SHARED] (__call_tls_dtors):
25881         Declare with __attribute__ ((weak)).
25882         * stdlib/exit.c (__libc_atexit) [!SHARED]:
25883         Call __call_tls_dtors only if it's not NULL.
25885 2013-03-28  Roland McGrath  <roland@hack.frob.com>
25887         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
25888         didn't do it already, then set _dl_phdr and _dl_phnum based on the
25889         magic __ehdr_start linker symbol if it's defined.
25890         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
25891         them up here if it was already done.
25893         * elf/dl-support.c (_dl_phdr): Make pointer to const.
25894         (_dl_aux_init): Use const in cast when setting it.
25895         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
25896         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
25897         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
25899         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
25900         Declare them here.
25901         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
25902         * csu/libc-tls.c: Nor here.
25903         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
25905         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
25906         (__libc_message): Never call vsyslog.
25908 2013-03-28  Alan Modra  <amodra@gmail.com>
25910         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
25911         Define as empty.
25912         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
25913         Likewise.
25915 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25917         [BZ #15214]
25918         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
25919         underflow.
25920         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25922 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25924         [BZ #15304]
25925         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
25926         Don't add gid passed as argument.
25928         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
25930 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
25932         [BZ #15307]
25933         * math/k_casinh.c (__kernel_casinh): Handle arguments with
25934         imaginary part between 1.0 and 1.5 and real part less than 0.5
25935         specially.
25936         * math/k_casinhf.c (__kernel_casinhf): Likewise.
25937         * math/k_casinhl.c (__kernel_casinhl): Likewise.
25938         * math/libm-test.inc (cacos_test): Add more tests.
25939         (casin_test): Likewise.
25940         (casinh_test): Likewise.
25941         * sysdeps/i386/fpu/libm-test-ulps: Update.
25942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25944 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25946         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
25947         constants.
25948         (norm): Likewise.
25949         (denorm): Likewise.
25950         (__dbl_mp): Likewise.
25951         (add_magnitudes): Likewise.
25952         (sub_magnitudes): Likewise.
25953         (__add): Likewise.
25954         (__sub): Likewise.
25955         (__mul): Likewise.
25956         (__sqr): Likewise.
25957         (__inv): Likewise.
25958         (__dvd): Likewise.
25960         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
25961         commented code.
25962         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
25963         (__dubcos): Likewise.
25964         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
25965         (__ieee754_acos): Likewise.
25966         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
25967         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
25968         (__exp1): Likewise.
25969         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25970         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25971         (log1): Likewise.
25972         (my_log2): Likewise.
25973         (checkint): Likewise.
25974         * sysdeps/ieee754/dbl-64/e_remainder.c
25975         (__ieee754_remainder): Likewise.
25976         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25977         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
25978         (bsloww): Likewise.
25979         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25981         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25982         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
25983         MANTISSA_STORE_T to store computations on mantissa.  Use
25984         macros for rounding and division.
25985         (denorm): Likewise.
25986         (__dbl_mp): Likewise.
25987         (add_magnitudes): Likewise.
25988         (sub_magnitudes): Likewise.
25989         (__mul): Likewise.
25990         (__sqr): Likewise.
25991         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
25992         powers of two in terms of TWOPOW macro.
25993         (mp_no): Make type of mantissa as MANTISSA_T.
25994         [!RADIXI]: Define RADIXI.
25995         [!TWO52]: Define TWO52.
25996         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
25998 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26000         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
26001         llroundl symbol when building for PPC32.
26003 2013-03-24  Mark H Weaver  <mhw@netris.org>
26005         * manual/arith.texi (Normalization Functions): Fix prototypes for
26006         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
26008 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26010         [BZ #13889]
26011         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
26012         high value to check if expl overflow.
26013         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
26014         to check for underflow and overflow.
26015         * math/libm-test.inc: Add exp test.
26017 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
26019         [BZ #11120]
26020         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
26021         with NOT_IN_libc.
26023 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26025         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
26026         symbol.
26028 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
26030         * math/gen-libm-test.pl (parse_args, special_functions): Properly
26031         wrap blocks consisting of several statements.
26033         * sysdeps/generic/math-tests.h: New file.
26034         * sysdeps/i386/fpu/math-tests.h: Likewise.
26035         * math/test-snan.c: Include it.
26036         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
26038 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
26040         [BZ #15285]
26041         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
26042         (__ieee754_j0l): Do not improve calculations using cos of twice
26043         input for inputs above LDBL_MAX / 2.0L.
26044         (__ieee754_y0l): Likewise.
26045         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
26046         (__ieee754_j1l): Do not improve calculations using cos of twice
26047         input for inputs above LDBL_MAX / 2.0L.
26048         (__ieee754_y1l): Likewise.
26049         * math/libm-test.inc (j0_test): Add another test.
26050         (j1_test): Likewise.
26051         (y0_test): Likewise.
26052         (y1_test): Likewise.
26053         * sysdeps/i386/fpu/libm-test-ulps: Update.
26055 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26057         * Rules ($(objpfx)bench-%.c): Include code from a C source
26058         file.
26060 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
26062         [BZ #15287]
26063         * math/k_casinh.c (__kernel_casinh): Handle arguments with
26064         imaginary part 1.0 and real part less than 0.5 specially.
26065         * math/k_casinhf.c (__kernel_casinhf): Likewise.
26066         * math/k_casinhl.c (__kernel_casinhl): Likewise.
26067         * math/libm-test.inc (cacos_test): Add more tests.
26068         (casin_test): Likewise.
26069         (casinh_test): Likewise.
26070         * sysdeps/i386/fpu/libm-test-ulps: Update.
26071         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26073 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26075         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
26076         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
26078 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
26080         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
26081         * config.make.in (config-cflags-sse4): Remove variable.
26082         (config-cflags-avx): Likewise.
26083         (config-cflags-sse2avx): Likewise.
26084         (config-cflags-novzeroupper): Likewise.
26085         (config-asflags-i686): Likewise.
26086         (have-mfma4): Likewise.
26087         (have-as-vis3): Likewise.
26088         (MIG): Likewise.
26089         * configure.in (MIG): Do not AC_SUBST.
26090         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
26091         (libc_cv_cc_sse4): Do not AC_SUBST.
26092         (libc_cv_cc_avx): Likewise.
26093         (libc_cv_cc_sse2avx): Likewise.
26094         (libc_cv_cc_novzeroupper): Likewise.
26095         (libc_cv_cc_fma4): Likewise.
26096         (libc_cv_as_i686): Likewise.
26097         (libc_cv_sparc_as_vis3): Likewise.
26098         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
26099         LIBC_CONFIG_VAR.
26100         (config-asflags-i686): Likewise.
26101         (config-cflags-avx): Likewise.
26102         (config-cflags-sse2avx): Likewise.
26103         (have-mfma4): Likewise.
26104         (config-cflags-novzeroupper): Likewise.
26105         * sysdeps/mach/configure.in (MIG): Likewise.
26106         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
26107         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
26108         LIBC_CONFIG_VAR.
26109         (config-cflags-avx): Likewise.
26110         (config-cflags-sse2avx): Likewise.
26111         (have-mfma4): Likewise.
26112         (config-cflags-novzeroupper): Likewise.
26113         * configure: Regenerated.
26114         * sysdeps/i386/configure: Likewise.
26115         * sysdeps/mach/configure: Likewise.
26116         * sysdeps/sparc/configure: Likewise.
26117         * sysdeps/x86_64/configure: Likewise.
26119 2013-03-20  Roland McGrath  <roland@hack.frob.com>
26121         [BZ #14812]
26122         * locale/programs/localedef.c (options): Put N_ translation marker
26123         on argument names, not just descriptions.
26125 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26127         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
26129 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
26131         [BZ #14176]
26132         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
26134 2013-03-19  Roland McGrath  <roland@hack.frob.com>
26136         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
26137         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
26138         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
26139         [!BEFORE_ABORT] (before_abort): New function.
26140         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
26141         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
26142         (writev_for_fatal): New function.
26143         (WRITEV_FOR_FATAL): New macro; call that.
26144         (backtrace_and_maps): New function.
26145         (BEFORE_ABORT): New macro; call that.
26146         (struct str_list): Type removed.
26147         (__libc_message, __libc_fatal): Functions removed.
26148         Include <sysdeps/posix/libc_fatal.c> instead.
26150 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
26152         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
26153         constants.
26154         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
26155         double constants.
26157 2013-03-19  Andreas Schwab  <schwab@suse.de>
26159         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
26160         * sysdeps/gnu/configure: Regenerate.
26162         * configure.in: Substitute libc_cv_rtlddir.
26163         * configure: Regenerate.
26164         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
26165         * Makeconfig (rtlddir, inst_rtlddir): New variables.
26166         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
26167         * elf/Makefile (install-others, CFLAGS-interp.c)
26168         (ldso_install, common-ldd-rewrite): Likewise.
26169         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
26170         $(inst_slibdir)/$(rtld-installed-name).
26171         * scripts/rellns-sh: Add -p option.
26172         * Makerules (make-shlib-link): Use rellns-sh to get relative name
26173         for source.
26175 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26177         * manual/nptl.texi: Renamed to ...
26178         * manual/threads.texi: ... this.
26179         * manual/Makefile (chapters): Update.
26181 2013-03-18  Roland McGrath  <roland@hack.frob.com>
26183         [BZ #14812]
26184         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
26185         on argument names, not just descriptions.
26186         * malloc/memusagestat.c (options): Likewise.
26187         * nss/getent.c (options): Likewise.
26189 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
26191         [BZ #14812]
26192         * iconv/iconv_prog.c (options): Put N_ translation marker
26193         on argument names, not just descriptions.
26194         * iconv/iconvconfig.c (options): Likewise.
26196 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
26198         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
26199         implementation which is faster on all x86_64 architectures.
26200         Tested on AMD, Intel Nehalem, SNB, IVB.
26201         * sysdeps/x86_64/strnlen.S: Likewise.
26203         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26204         Remove all multiarch strlen and strnlen versions.
26205         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
26206         Remove strlen and strnlen related parts.
26208         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
26209         Inline strlen part.
26210         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
26212         * sysdeps/x86_64/multiarch/strlen.S: Remove.
26213         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
26214         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
26215         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
26216         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26217         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
26219 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
26221         * manual/memory.texi (Malloc Tunable Parameters):
26222         Sort parameters alphabetically. Add comments for missing entries.
26224 2013-03-17  David S. Miller  <davem@davemloft.net>
26226         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26228 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
26230         [BZ #15283]
26231         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
26232         for arguments at most half maximum finite value.
26233         * math/libm-test.inc (j0_test): Add more tests.
26234         (j1_test): Likewise.
26235         (y0_test): Likewise.
26236         (y1_test): Likewise.
26237         * sysdeps/i386/fpu/libm-test-ulps: Update.
26238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26240         [BZ #14155]
26241         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
26242         1 / x and functions P and Q for arguments above 0x1p256L.
26243         (__ieee754_y0l): Likewise.
26244         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
26245         (__ieee754_y1l): Likewise.
26246         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
26247         (j1_test): Likewise.
26248         (y0_test): Likewise.
26249         (y1_test): Likewise.
26251 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
26253         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
26254         variable.
26256 2013-03-15  Roland McGrath  <roland@hack.frob.com>
26258         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
26259         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
26260         zero since it's initialized to EXEC_PAGESIZE.
26262         * sysdeps/unix/sysv/linux/ldsodefs.h
26263         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
26264         * sysdeps/generic/ldsodefs.h: ... here.
26266 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
26268         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
26270         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
26271         math/test-snan.c.
26272         * math/test-snan.c: Renamed from
26273         sysdeps/powerpc/fpu/test-powerpc-snan.c.
26274         * math/Makefile (tests): Add test-snan.
26275         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
26276         test-powerpc-snan.
26278         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
26279         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
26280         functions.
26281         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
26282         __builtin_nan family of functions.
26283         * math/libm-test.inc (initialize): Initialize qnan_value with
26284         __builtin_nan family of functions.
26285         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
26286         Remove variables.
26287         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
26288         Remove functions.
26289         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
26290         storage class.  Initialize qNaN_var and sNaN_var with
26291         __builtin_nan and __builtin_nans families of functions,
26292         respectively.
26294         * math/libm-test.inc (acosh_test): Also test with qNaN input.
26295         (sqrt_test): Remove duplicate test with qNaN input.
26296         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
26297         (round_test, signbit_test, significand_test): Note missing +/-Inf
26298         as well as qNaN tests.
26300         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
26301         qNaN_var.  Fix a few strings, too.
26302         * math/libm-test.inc (nan_value): Rename to qnan_value.
26303         * math/gen-libm-test.pl (%beautify): Adjust to that.
26304         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
26305         * math/test-misc.c (main): Likewise.
26306         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
26307         to __qnan_bytes, and __qnan_union, respectively.
26308         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
26309         Likewise.
26310         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
26311         and lqnanval, respectively.
26312         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
26313         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
26314         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
26315         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
26317         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
26318         * math/test-misc.c (main) [__x86_64__]: Enable test for long
26319         doubles.
26321         * math/test-misc.c (main): Fix copy'n'pastos.
26322         * misc/tst-efgcvt.c (special): Likewise.
26324         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
26325         Remove declarations.
26327 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26329         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
26330         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
26331         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
26332         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
26334 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26336         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
26337         macro to return vdso values correctly in IFUNC implementations.
26338         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
26339         Optimization by using IFUNC.
26341 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26342             Richard Henderson  <rth@redhat.com>
26343             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26345         * Makefile.in (bench): New target.
26346         * NEWS: Mention the benchmark framework.
26347         * Rules (bench): Likewise.
26348         (binaries-bench): Generate binaries for functions to
26349         benchmark.
26350         * benchtests/Makefile: New makefile for benchmark tests.
26351         * benchtests/bench-skeleton.c: New skeleton file for benchmark
26352         programs.
26353         * benchtests/exp-inputs: New input file for EXP function.
26354         * benchtests/pow-inputs: New input file for POW function.
26355         * scripts/bench.pl: New script to generate source files for
26356         benchmark programs.
26358 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26360         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
26361         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
26362         computations on mantissa.  Use macros for rounding and
26363         division.
26364         (denorm): Likewise.
26365         (__dbl_mp): Likewise.
26366         (add_magnitudes): Likewise.
26367         (sub_magnitudes): Likewise.
26368         (__mul): Likewise.
26369         (__sqr): Likewise.
26370         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
26371         powers of two in terms of TWOPOW macro.
26372         (mp_no): Make type of mantissa as MANTISSA_T.
26373         [!RADIXI]: Define RADIXI.
26374         [!TWO52]: Define TWO52.
26375         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
26377         * manual/nptl.texi (cindex): Modify threads to pthreads.
26379 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
26381         * sysdeps/x86_64/preconfigure: Regenerated.
26383 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
26385         [BZ #14155]
26386         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
26387         0x1p28 and above.
26388         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
26389         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
26390         0x1p28 and above.
26391         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
26392         * math/libm-test.inc (j0_test): Do not allow one spurious
26393         underflow exception.
26394         (y1_test): Likewise.
26396 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26398         * manual/Makefile (chapters): Add nptl.
26399         * manual/debug.texi (Debugging Support): Add link to Threads
26400         chapter.
26401         * manual/nptl.texi: New file.
26403         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
26405 2013-03-14  Petr Baudis  <pasky@ucw.cz>
26407         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
26408         for non-NULL pointer before the memory validity test. Pointed
26409         out by Holger Brunck <holger.brunck@keymile.com>.
26411 2013-03-13  Andreas Schwab  <schwab@suse.de>
26413         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
26414         instead of .os.
26416 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
26418         * timezone/zic.c: Update from tzcode 2013b.
26420 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
26422         * manual/install.texi (Configuring and compiling):
26423         Mention i686 and i586.
26424         * INSTALL: Regenerate.
26426 2013-03-12  Roland McGrath  <roland@hack.frob.com>
26428         * sysdeps/init_array/elf-init.c: New file.
26429         * csu/elf-init.c
26430         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
26431         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
26433         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
26434         __gmon_start__ as global, but as static with a .preinit_array pointer.
26435         * sysdeps/init_array/gmon-start.c: New file.  Use that.
26436         * sysdeps/init_array/crti.S: New file, empty except for comments.
26437         * sysdeps/init_array/crtn.S: Likewise.
26439 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
26441         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
26442         definining bcopy.
26443         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26444         Remove Prefer_SSE_for_memop.
26445         * sysdeps/x86_64/multiarch/init-arch.h: Remove
26446         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
26447         HAS_PREFER_SSE_FOR_MEMOP.
26448         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
26449         memset-x86-64.
26450         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26451         Remove bzero, memset ifunc support.
26452         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
26453         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
26454         * sysdeps/x86_64/multiarch/memset.S: Likewise.
26455         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26457 2013-03-11  Andreas Schwab  <schwab@suse.de>
26459         [BZ #15234]
26460         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
26461         by SHLIB_COMPAT.
26462         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
26463         (GLIBC_2.16): Remove pthread_atfork.
26465 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
26467         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
26468         (ptestcases.h): Likewise.
26470 2013-03-08  Roland McGrath  <roland@hack.frob.com>
26472         * Makeconfig ($(common-objpfx)config.status): Depend on
26473         sysdeps/*/preconfigure{,.in} too.
26475 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
26477         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
26478         (__free_hook): Use void * instead of __malloc_ptr_t.
26479         (__malloc_hook): Likewise.
26480         (__realloc_hook): Likewise.
26481         (__memalign_hook): Likewise.
26482         (__after_morecore_hook): Likewise.
26483         * malloc/arena.c (save_malloc_hook): Likewise.
26484         (save_free_hook): Likewise.
26485         * malloc/hooks.c (malloc_hook_ini): Likewise.
26486         (realloc_hook_ini): Likewise.
26487         (memalign_hook_ini): Likewise.
26488         * malloc/malloc.c (malloc_hook_ini): Likewise.
26489         (realloc_hook_ini): Likewise.
26490         (memalign_hook_ini): Likewise.
26491         (__free_hook): Likewise.
26492         (__malloc_hook): Likewise.
26493         (__realloc_hook): Likewise.
26494         (__memalign_hook): Likewise.
26495         (__libc_malloc): Likewise.
26496         (__libc_free): Likewise.
26497         (__libc_realloc): Likewise.
26498         (__libc_memalign): Likewise.
26499         (__libc_valloc): Likewise.
26500         (__libc_pvalloc): Likewise.
26501         (__libc_calloc): Likewise.
26502         (__posix_memalign): Likewise.
26503         * malloc/morecore.c (__sbrk): Likewise.
26504         (__default_morecore): Likewise.
26506         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
26508         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
26509         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
26510         __malloc_ptrdiff_t.
26512         * malloc/malloc.h (__malloc_size_t): Remove macro.
26513         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
26514         __malloc_size_t.
26515         (old_memalign_hook): Likewise.
26516         (old_realloc_hook): Likewise.
26517         (struct hdr): Likewise.
26518         (flood): Likewise.
26519         (mallochook): Likewise.
26520         (memalignhook): Likewise.
26521         (reallochook): Likewise.
26522         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
26523         (tr_old_realloc_hook): Likewise.
26524         (tr_old_memalign_hook): Likewise.
26525         (tr_mallochook): Likewise.
26526         (tr_reallochook): Likewise.
26527         (tr_memalignhook): Likewise.
26529 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26531         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
26532         default_ldbl_pack and using as default implementation.
26533         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
26534         implementation.
26535         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
26536         redundant definition.
26537         (ldbl_insert_mantissa): Likewise.
26538         (ldbl_canonicalize): Likewise.
26539         (ldbl_nearbyint): Likewise.
26540         (ldbl_pack): Rename to ldbl_pack_ppc.
26541         (ldbl_unpack): Rename to ldbl_unpack_ppc.
26542         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
26543         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
26545 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
26547         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
26548         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
26549         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
26550         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
26551         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
26552         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
26553         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
26554         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
26556 2013-03-07  Andreas Jaeger  <aj@suse.de>
26558         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26559         bits/mman-linux.h.
26561 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
26563         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
26564         Include mpa.h and declare __MPEXP.
26565         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
26566         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
26567         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
26568         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
26569         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
26570         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
26571         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
26573         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
26574         (__slowpow): Use long double EXPL and LOGL functions to
26575         compute POW.
26576         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
26577         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
26578         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
26579         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
26580         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
26581         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
26583         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
26584         intermediate variable to calculate exponent.
26585         (__sqr): Likewise.
26586         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26587         Likewise.
26588         (__sqr): Likewise.
26590         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
26591         [!NO__SQR]: Define __sqr.
26592         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
26593         and NO__SQR.  Remove all code except __mul and __sqr.  Include
26594         sysdeps/ieee754/dbl-64/mpa.c.
26595         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26597         [BZ #12723]
26598         * posix/Makefile (tests): Add tst-pathconf.
26599         * posix/tst-pathconf.c: New test case.
26600         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
26601         _PC_PIPE_BUF.
26602         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
26604 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
26606         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
26608 2013-03-06  Andreas Jaeger  <aj@suse.de>
26610         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
26611         definition via __MAP_ANONYMOUS.
26613         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
26614         it's not part of Linux headers.
26616         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
26617         (MAP_HUGE_MASK): Define.
26619         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
26620         Define.
26621         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26622         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
26623         Define.
26624         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26625         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
26626         Define.
26627         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26628         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
26629         Define.
26630         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26632         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
26633         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
26634         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
26635         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
26636         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
26637         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
26639         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26640         Handle f2fs.
26642         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26643         Handle f2fs and efivarfs.
26645         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
26646         f2fs.
26648         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
26649         (EFIVARFS_MAGIC): Add.
26650         (F2FS_LINK_MAX): Add.
26652 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
26654         * stdio-common/vfprintf.c: Replace __builtin_expect with
26655         __glibc_unlikely.
26657 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
26659         [BZ #13550]
26660         * sysdeps/generic/bp-sym.h: Remove file.
26661         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
26662         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
26663         <bp-sym.h> and <bp-asm.h>.
26664         (__longjmp): Don't use BP_SYM.
26665         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
26666         and <bp-asm.h>.
26667         (memcpy): Don't use BP_SYM.
26668         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
26669         <bp-sym.h> and <bp-asm.h>.
26670         (memcpy): Don't use BP_SYM.
26671         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
26672         <bp-asm.h>.
26673         (memcpy): Don't use BP_SYM.
26674         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
26675         <bp-asm.h>.
26676         (memset): Don't use BP_SYM.
26677         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26678         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26679         (__bzero): Don't use BP_SYM.
26680         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26681         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26682         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
26683         <bp-sym.h> and <bp-asm.h>.
26684         (memcmp): Don't use BP_SYM.  Remove comment about bounded
26685         pointers.
26686         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
26687         <bp-sym.h> and <bp-asm.h>.
26688         (memcpy): Don't use BP_SYM.
26689         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
26690         <bp-sym.h> and <bp-asm.h>.
26691         (memset): Don't use BP_SYM.
26692         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26693         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26694         (__bzero): Don't use BP_SYM.
26695         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26696         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26697         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
26698         <bp-sym.h> and <bp-asm.h>.
26699         (strncmp): Don't use BP_SYM.  Remove comment about bounded
26700         pointers.
26701         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
26702         <bp-sym.h> and <bp-asm.h>.
26703         (memcpy): Don't use BP_SYM.
26704         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
26705         <bp-sym.h> and <bp-asm.h>.
26706         (memset): Don't use BP_SYM.
26707         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26708         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26709         (__bzero): Don't use BP_SYM.
26710         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26711         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26712         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
26713         <bp-sym.h> and <bp-asm.h>.
26714         (__memchr): Don't use BP_SYM.
26715         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
26716         <bp-sym.h> and <bp-asm.h>.
26717         (memcmp): Don't use BP_SYM.  Remove comment about bounded
26718         pointers.
26719         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
26720         <bp-sym.h> and <bp-asm.h>.
26721         (memcpy): Don't use BP_SYM.
26722         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
26723         <bp-sym.h> and <bp-asm.h>.
26724         (__mempcpy): Don't use BP_SYM.
26725         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
26726         <bp-sym.h> and <bp-asm.h>.
26727         (__memrchr): Don't use BP_SYM.
26728         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
26729         <bp-sym.h> and <bp-asm.h>.
26730         (memset): Don't use BP_SYM.
26731         (__bzero): Likewise.
26732         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
26733         <bp-sym.h> and <bp-asm.h>.
26734         (__rawmemchr): Don't use BP_SYM.
26735         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
26736         <bp-sym.h> and <bp-asm.h>.
26737         (__STRCMP): Don't use BP_SYM.
26738         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
26739         <bp-sym.h> and <bp-asm.h>.
26740         (strchr): Don't use BP_SYM.
26741         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
26742         <bp-sym.h> and <bp-asm.h>.
26743         (__strchrnul): Don't use BP_SYM.
26744         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
26745         <bp-sym.h> and <bp-asm.h>.
26746         (strlen): Don't use BP_SYM.
26747         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
26748         <bp-sym.h> and <bp-asm.h>.
26749         (strncmp): Don't use BP_SYM.  Remove comment about bounded
26750         pointers.
26751         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
26752         <bp-sym.h> and <bp-asm.h>.
26753         (__strnlen): Don't use BP_SYM.
26754         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
26755         <bp-sym.h> and <bp-asm.h>.
26756         (__GI__setjmp): Don't use BP_SYM.
26757         (_setjmp): Likewise.
26758         (__sigsetjmp): Likewise.
26759         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
26760         (L(start_addresses)): Don't use BP_SYM.
26761         (_start): Likewise.
26762         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
26763         <bp-asm.h>.
26764         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
26765         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
26766         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26767         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26768         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
26769         <bp-asm.h>.
26770         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
26771         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
26772         about bounded pointers.
26773         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26774         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26775         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
26776         <bp-asm.h>.
26777         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
26778         about bounded pointers.  Remove GKM FIXME comments.
26779         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26780         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
26781         <bp-asm.h>.
26782         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
26783         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
26784         Remove GKM FIXME comments.
26785         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26786         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26787         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
26788         <bp-asm.h>.
26789         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
26790         about bounded pointers.  Remove GKM FIXME comment.
26791         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
26792         and <bp-asm.h>.
26793         (strncmp): Don't use BP_SYM.  Remove comment about bounded
26794         pointers.
26795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
26796         <bp-sym.h> and <bp-asm.h>.
26797         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
26798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
26799         <bp-sym.h> and <bp-asm.h>.
26800         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
26801         comment.
26803 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
26805         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
26806         call free(NULL).
26808 2013-03-05  David S. Miller  <davem@davemloft.net>
26810         * po/es.po: Update from translation team.
26812 2013-03-05  Andreas Jaeger  <aj@suse.de>
26814         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
26815         <bits/mman-linux.h>.
26816         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26817         is fine.
26818         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
26819         <bits/mman-linux.h> to end of file.
26820         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26821         is fine.
26822         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
26823         <bits/mman-linux.h> to end of file.
26824         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26825         is fine.
26826         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
26827         <bits/mman-linux.h> to end of file.
26829         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
26830         (MCL_CURRENT, MCL_FUTURE): Define here.
26832 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26834         [BZ #15232]
26835         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
26836         attribute_hidden.
26837         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26839 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26841         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
26842         fourth parameter needed for rt_sigprocmask syscall.
26843         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
26844         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26845         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
26846         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26847         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26848         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
26850 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
26852         [BZ #13550]
26853         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
26854         comment about bounded pointers.
26855         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
26856         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
26858 2013-03-04  Andreas Jaeger  <aj@suse.de>
26860         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
26861         common definitions.
26863         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
26864         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
26865         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
26866         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26867         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26868         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26870 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26872         [BZ #15055]
26873         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
26874         __ieee754_sqrl instead of __sqrl.
26876 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
26878         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
26879         * sysdeps/powerpc/fpu_control.h: ... here.
26880         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
26881         * sysdeps/powerpc/bits/fenvinline.h: ... here.
26882         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
26883         * sysdeps/powerpc/bits/mathinline.h: ... here.
26885 2013-03-01  Roland McGrath  <roland@hack.frob.com>
26887         * elf/dl-hwcaps.c (_dl_important_hwcaps):
26888         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
26889         to just [NEED_DL_SYSINFO_DSO].
26890         * elf/dl-support.c: Likewise.
26891         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
26892         * elf/rtld.c (dl_main): Likewise.
26893         * elf/setup-vdso.h (setup_vdso): Likewise.
26894         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
26895         * sysdeps/unix/sysv/linux/dl-sysdep.c
26896         (_dl_discover_osversion): Likewise.
26898 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
26900         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
26901         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
26903 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
26905         * NEWS: Mention libm performance improvements and non-x86 PI
26906         futex support.
26908         * csu/libc-start.c (__pthread_initialize_minimal): Change
26909         function arguments.
26910         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
26912 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
26914         [BZ #13550]
26915         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
26916         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
26917         <bp-sym.h> and <bp-asm.h>.
26918         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26919         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
26920         and <bp-asm.h>.
26921         (memcpy): Don't use BP_SYM.
26922         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
26923         <bp-asm.h>.
26924         (__mpn_add_n): Don't use BP_SYM.
26925         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
26926         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
26927         and <bp-asm.h>.
26928         (__mpn_addmul_1): Don't use BP_SYM.
26929         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26930         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
26931         <bp-sym.h>.
26932         (_setjmp): Don't use BP_SYM.
26933         (__novmx_setjmp): Likewise.
26934         (__GI__setjmp): Likewise.
26935         (__vmx_setjmp): Likewise.
26936         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
26937         <bp-sym.h>.
26938         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
26939         (__bzero): Don't use BP_SYM.
26940         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26941         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26942         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
26943         <bp-sym.h> and <bp-asm.h>.
26944         (memcpy): Don't use BP_SYM.
26945         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
26946         <bp-sym.h> and <bp-asm.h>.
26947         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26948         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
26949         <bp-sym.h> and <bp-asm.h>.
26950         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26951         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
26952         <bp-asm.h>.
26953         (__mpn_lshift): Don't use BP_SYM.
26954         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26955         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
26956         <bp-asm.h>.
26957         (memset): Don't use BP_SYM.
26958         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26959         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26960         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
26961         <bp-asm.h>.
26962         (__mpn_mul_1): Don't use BP_SYM.
26963         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26964         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
26965         <bp-sym.h> and <bp-asm.h>.
26966         (memcmp): Don't use BP_SYM.
26967         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
26968         <bp-sym.h> and <bp-asm.h>.
26969         (memcpy): Don't use BP_SYM.
26970         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
26971         <bp-sym.h> and <bp-asm.h>.
26972         (memset): Don't use BP_SYM.
26973         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
26974         <bp-sym.h> and <bp-asm.h>.
26975         (strncmp): Don't use BP_SYM.
26976         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
26977         <bp-sym.h> and <bp-asm.h>.
26978         (memcpy): Don't use BP_SYM.
26979         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
26980         <bp-sym.h> and <bp-asm.h>.
26981         (memset): Don't use BP_SYM.
26982         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
26983         <bp-sym.h> and <bp-asm.h>.
26984         (__memchr): Don't use BP_SYM.
26985         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
26986         <bp-sym.h> and <bp-asm.h>.
26987         (memcmp): Don't use BP_SYM.
26988         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
26989         <bp-sym.h> and <bp-asm.h>.
26990         (memcpy): Don't use BP_SYM.
26991         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
26992         <bp-sym.h> and <bp-asm.h>.
26993         (__mempcpy): Don't use BP_SYM.
26994         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
26995         <bp-sym.h> and <bp-asm.h>.
26996         (__memrchr): Don't use BP_SYM.
26997         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
26998         <bp-sym.h> and <bp-asm.h>.
26999         (memset): Don't use BP_SYM.
27000         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
27001         <bp-sym.h> and <bp-asm.h>.
27002         (__rawmemchr): Don't use BP_SYM.
27003         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
27004         <bp-sym.h> and <bp-asm.h>.
27005         (__STRCMP): Don't use BP_SYM.
27006         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
27007         <bp-sym.h> and <bp-asm.h>.
27008         (strchr): Don't use BP_SYM.
27009         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
27010         <bp-sym.h> and <bp-asm.h>.
27011         (__strchrnul): Don't use BP_SYM.
27012         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
27013         <bp-sym.h> and <bp-asm.h>.
27014         (strlen): Don't use BP_SYM.
27015         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
27016         <bp-sym.h> and <bp-asm.h>.
27017         (strncmp): Don't use BP_SYM.
27018         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
27019         <bp-sym.h> and <bp-asm.h>.
27020         (__strnlen): Don't use BP_SYM.
27021         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
27022         <bp-asm.h>.
27023         (__mpn_rshift): Don't use BP_SYM.
27024         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27025         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
27026         <bp-sym.h> and <bp-asm.h>.
27027         (__sigsetjmp): Don't use BP_SYM.
27028         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
27029         (L(start_addresses)): Don't use BP_SYM.
27030         (_start): Likewise.
27031         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
27032         <bp-asm.h>.
27033         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
27034         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27035         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27036         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
27037         <bp-asm.h>.
27038         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
27039         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27040         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27041         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
27042         <bp-asm.h>.
27043         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
27044         comments.
27045         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27046         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
27047         <bp-asm.h>.
27048         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
27049         FIXME comments.
27050         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27051         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27052         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
27053         <bp-asm.h>.
27054         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
27055         comment.
27056         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
27057         and <bp-asm.h>.
27058         (strncmp): Don't use BP_SYM,
27059         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
27060         <bp-asm.h>.
27061         (__mpn_sub_n): Don't use BP_SYM.
27062         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27063         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
27064         and <bp-asm.h>.
27065         (__mpn_submul_1): Don't use BP_SYM.
27066         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
27068         <bp-sym.h> and <bp-asm.h>.
27069         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
27070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
27071         <bp-sym.h> and <bp-asm.h>.
27072         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
27073         comment.
27075 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27077         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
27078         Use ZK to minimize writes to Z.
27079         (sub_magnitudes): Simplify code a bit.
27080         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
27081         Use ZK to minimize writes to Z.
27082         (sub_magnitudes): Simplify code a bit.
27084 2013-02-27  Roland McGrath  <roland@hack.frob.com>
27086         * csu/gmon-start.c: Add special exception to license text.
27088 2013-02-27  Richard Henderson  <rth@redhat.com>
27090         * scripts/config.guess: Update from config.git.
27091         * scripts/config.sub: Likewise.
27093 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27095         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
27097         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
27099         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
27101         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
27103         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
27105 2013-02-26  Roland McGrath  <roland@hack.frob.com>
27107         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
27108         [$(build-shared = yes].
27110 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27112         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
27113         (__mul): Reduce iterations for calculating mantissa.
27115         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
27116         MPTWO.
27117         (__mpranred): Likewise.
27119         [BZ #15160]
27120         * malloc/memusagestat.c (main): Draw graphs for heap and stack
27121         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
27123 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
27125         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
27126         Define __attribute__.
27128 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27130         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
27131         unused.
27132         * posix/regex_internal.h (__attribute): Remove.
27133         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
27134         (re_string_context_at): Likewise.
27135         (bitset_not): Use __attribute__ and mark function as possibly
27136         unused.
27137         (bitset_merge): Likewise.
27138         (bitset_mask): Likewise.
27139         (re_string_char_size_at): Likewise.
27140         (re_string_wchar_at): Likewise.
27141         (re_string_elem_size_at): Likewise.
27143 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27145         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
27146         code.
27147         (cc32): Likewise.
27149         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
27150         (__acr): Likewise.
27151         (__cpy): Likewise.
27152         (norm): Likewise.
27153         (denorm): Likewise.
27154         (__dbl_mp): Likewise.
27155         (add_magnitudes): Likewise.
27156         (sub_magnitudes): Likewise.
27157         (__mul): Likewise.
27158         (__inv): Likewise.
27160         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
27161         style.
27163         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
27164         style.
27166         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
27167         code.
27169         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
27170         up changes with default code.
27171         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
27172         Likewise.
27174 2013-02-24  Allan McRae  <allan@archlinux.org>
27176         * manual/socket.texi (The Internet Namespace): Order menu items
27177         to match that in the file.
27179         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
27180         node listing of the info page menu.
27182 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
27184         [BZ #13550]
27185         * sysdeps/i386/bp-asm.h: Remove file.
27186         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
27187         (PARMS): Do not use macros from bp-asm.h.
27188         (S1): Likewise.
27189         (S2): Likewise.
27190         (SIZE): Likewise.
27191         (__mpn_add_n): Do not use BP_SYM
27192         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
27193         "bp-asm.h".
27194         (PARMS): Do not use macros from bp-asm.h.
27195         (S1): Likewise.
27196         (SIZE): Likewise.
27197         (__mpn_addmul_1): Do not use BP_SYM
27198         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
27199         "bp-asm.h".
27200         (PARMS): Do not use macros from bp-asm.h.
27201         (SIGMSK): Likewise.
27202         (_setjmp): Likewise.  Do not use BP_SYM.
27203         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
27204         "bp-asm.h".
27205         (PARMS): Do not use macros from bp-asm.h.
27206         (SIGMSK): Likewise.
27207         (setjmp): Likewise.  Do not use BP_SYM.
27208         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
27209         "bp-asm.h".
27210         (PARMS): Do not use macros from bp-asm.h.
27211         (__frexp): Do not use BP_SYM.
27212         (frexp): Likewise.
27213         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
27214         "bp-asm.h".
27215         (PARMS): Do not use macros from bp-asm.h.
27216         (__frexpf): Do not use BP_SYM.
27217         (frexpf): Likewise.
27218         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
27219         "bp-asm.h".
27220         (PARMS): Do not use macros from bp-asm.h.
27221         (__frexpl): Do not use BP_SYM.
27222         (frexpl): Likewise.
27223         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
27224         "bp-asm.h".
27225         (PARMS): Do not use macros from bp-asm.h.
27226         (__remquo): Do not use BP_SYM.
27227         (remquo): Likewise.
27228         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
27229         "bp-asm.h".
27230         (PARMS): Do not use macros from bp-asm.h.
27231         (__remquof): Do not use BP_SYM.
27232         (remquof): Likewise.
27233         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
27234         "bp-asm.h".
27235         (PARMS): Do not use macros from bp-asm.h.
27236         (__remquol): Do not use BP_SYM.
27237         (remquol): Likewise.
27238         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
27239         "bp-asm.h".
27240         (PARMS): Do not use macros from bp-asm.h.
27241         (DEST): Likewise.
27242         (SRC): Likewise.
27243         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
27244         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
27245         "bp-asm.h".
27246         (PARMS): Do not use macros from bp-asm.h.
27247         (strlen): Do not use BP_SYM.
27248         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
27249         "bp-asm.h".
27250         (PARMS): Do not use macros from bp-asm.h.
27251         (S1): Likewise.
27252         (S2): Likewise.
27253         (SIZE): Likewise.
27254         (__mpn_add_n): Do not use BP_SYM.
27255         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
27256         "bp-asm.h".
27257         (PARMS): Do not use macros from bp-asm.h.
27258         (S1): Likewise.
27259         (SIZE): Likewise.
27260         (__mpn_addmul_1): Do not use BP_SYM.
27261         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
27262         weak_alias.
27263         (bzero): Likewise.
27264         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
27265         "bp-asm.h".
27266         (PARMS): Do not use macros from bp-asm.h.
27267         (S): Likewise.
27268         (SIZE): Likewise.
27269         (__mpn_lshift): Do not use BP_SYM.
27270         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
27271         "bp-asm.h".
27272         (PARMS): Do not use macros from bp-asm.h.
27273         (DEST): Likewise.
27274         (SRC): Likewise.
27275         (LEN): Likewise.
27276         (memcpy): Likewise.  Do not use BP_SYM.
27277         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
27278         libc_hidden_def and weak_alias.
27279         (mempcpy): Do not use BP_SYM in weak_alias.
27280         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
27281         "bp-asm.h".
27282         (PARMS): Do not use macros from bp-asm.h.
27283         (DEST): Likewise.
27284         (LEN): Likewise.
27285         [!BZERO_P] (CHR): Likewise.
27286         (memset): Likewise.  Do not use BP_SYM.
27287         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
27288         "bp-asm.h".
27289         (PARMS): Do not use macros from bp-asm.h.
27290         (S1): Likewise.
27291         (SIZE): Likewise.
27292         (__mpn_mul_1): Do not use BP_SYM.
27293         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
27294         "bp-asm.h".
27295         (PARMS): Do not use macros from bp-asm.h.
27296         (S): Likewise.
27297         (SIZE): Likewise.
27298         (__mpn_rshift): Do not use BP_SYM.
27299         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
27300         "bp-asm.h".
27301         (PARMS): Do not use macros from bp-asm.h.
27302         (STR): Likewise.
27303         (CHR): Likewise.
27304         (strchr): Likewise.  Do not use BP_SYM.
27305         (index): Do not use BP_SYM in weak_alias.
27306         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
27307         "bp-asm.h".
27308         (PARMS): Do not use macros from bp-asm.h.
27309         (DEST): Likewise.
27310         (SRC): Likewise.
27311         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
27312         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
27313         "bp-asm.h".
27314         (PARMS): Do not use macros from bp-asm.h.
27315         (strlen): Do not use BP_SYM.
27316         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
27317         "bp-asm.h".
27318         (PARMS): Do not use macros from bp-asm.h.
27319         (S1): Likewise.
27320         (S2): Likewise.
27321         (SIZE): Likewise.
27322         (__mpn_sub_n): Do not use BP_SYM.
27323         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
27324         "bp-asm.h".
27325         (PARMS): Do not use macros from bp-asm.h.
27326         (S1): Likewise.
27327         (SIZE): Likewise.
27328         (__mpn_submul_1): Do not use BP_SYM.
27329         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
27330         "bp-asm.h".
27331         (PARMS): Do not use macros from bp-asm.h.
27332         (S1): Likewise.
27333         (S2): Likewise.
27334         (SIZE): Likewise.
27335         (__mpn_add_n): Do not use BP_SYM.
27336         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
27337         weak_alias.
27338         (bzero): Likewise.
27339         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
27340         "bp-asm.h".
27341         (PARMS): Do not use macros from bp-asm.h.
27342         (BLK2): Likewise.
27343         (LEN): Likewise.
27344         (memcmp): Do not use BP_SYM.
27345         (bcmp): Do not use BP_SYM in weak_alias.
27346         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
27347         "bp-asm.h".
27348         (PARMS): Do not use macros from bp-asm.h.
27349         (DEST): Likewise.
27350         (SRC): Likewise.
27351         (LEN): Likewise.
27352         (memcpy): Likewise.  Do not use BP_SYM.
27353         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
27354         "bp-asm.h".
27355         (PARMS): Do not use macros from bp-asm.h.
27356         (DEST): Likewise.
27357         (SRC): Likewise.
27358         (LEN): Likewise.
27359         (memmove): Likewise.  Do not use BP_SYM.
27360         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
27361         "bp-asm.h".
27362         (PARMS): Do not use macros from bp-asm.h.
27363         (DEST): Likewise.
27364         (SRC): Likewise.
27365         (LEN): Likewise.
27366         (__mempcpy): Likewise.  Do not use BP_SYM.
27367         (mempcpy): Do not use BP_SYM in weak_alias.
27368         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
27369         "bp-asm.h".
27370         (PARMS): Do not use macros from bp-asm.h.
27371         (DEST): Likewise.
27372         (LEN): Likewise.
27373         [!BZERO_P] (CHR): Likewise.
27374         (memset): Likewise.  Do not use BP_SYM.
27375         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
27376         "bp-asm.h".
27377         (PARMS): Do not use macros from bp-asm.h.
27378         (STR2): Likewise.
27379         (strcmp): Do not use BP_SYM.
27380         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
27381         "bp-asm.h".
27382         (PARMS): Do not use macros from bp-asm.h.
27383         (STR): Likewise.
27384         (DELIM): Likewise.
27385         [USE_AS_STRTOK_R] (SAVE): Likewise.
27386         (FUNCTION): Likewise.  Do not use BP_SYM.
27387         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
27388         aliases.
27389         (strtok_r): Likewise.
27390         (__GI___strtok_r): Likewise.
27391         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
27392         (PARMS): Do not use macros from bp-asm.h.
27393         (S): Likewise.
27394         (SIZE): Likewise.
27395         (__mpn_lshift): Do not use BP_SYM.
27396         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
27397         (PARMS): Do not use macros from bp-asm.h.
27398         (STR): Likewise.
27399         (CHR): Likewise.
27400         (__memchr): Do not use BP_SYM.
27401         (memchr): Do not use BP_SYM in weak_alias.
27402         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
27403         (PARMS): Do not use macros from bp-asm.h.
27404         (BLK2): Likewise.
27405         (LEN): Likewise.
27406         (memcmp): Do not use BP_SYM.
27407         (bcmp): Do not use BP_SYM in weak_alias.
27408         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
27409         (PARMS): Do not use macros from bp-asm.h.
27410         (S1): Likewise.
27411         (SIZE): Likewise.
27412         (__mpn_mul_1): Do not use BP_SYM.
27413         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
27414         "bp-asm.h".
27415         (PARMS): Do not use macros from bp-asm.h.
27416         (STR): Likewise.
27417         (CHR): Likewise.
27418         (__rawmemchr): Do not use BP_SYM.
27419         (rawmemchr): Do not use BP_SYM in weak_alias.
27420         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
27421         (PARMS): Do not use macros from bp-asm.h.
27422         (S): Likewise.
27423         (SIZE): Likewise.
27424         (__mpn_rshift): Do not use BP_SYM.
27425         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
27426         (PARMS): Do not use macros from bp-asm.h.
27427         (SIGMSK): Likewise.
27428         (__sigsetjmp): Likewise.  Do not use BP_SYM.
27429         * sysdeps/i386/start.S: Do not include "bp-sym.h".
27430         (_start): Do not use BP_SYM.
27431         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
27432         (PARMS): Do not use macros from bp-asm.h.
27433         (DEST): Likewise.
27434         (SRC): Likewise.
27435         (__stpcpy): Likewise.  Do not use BP_SYM.
27436         (stpcpy): Do not use BP_SYM in weak_alias.
27437         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
27438         "bp-asm.h".
27439         (PARMS): Do not use macros from bp-asm.h.
27440         (DEST): Likewise.
27441         (SRC): Likewise.
27442         (LEN): Likewise.
27443         (__stpncpy): Likewise.  Do not use BP_SYM.
27444         (stpncpy): Do not use BP_SYM in weak_alias.
27445         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
27446         (PARMS): Do not use macros from bp-asm.h.
27447         (STR): Likewise.
27448         (CHR): Likewise.
27449         (strchr): Likewise.  Do not use BP_SYM.
27450         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
27451         "bp-asm.h".
27452         (PARMS): Do not use macros from bp-asm.h.
27453         (STR): Likewise.
27454         (CHR): Likewise.
27455         (__strchrnul): Likewise.  Do not use BP_SYM.
27456         (strchrnul): Do not use BP_SYM in weak_alias.
27457         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
27458         "bp-asm.h".
27459         (PARMS): Do not use macros from bp-asm.h.
27460         (STOP): Likewise.
27461         (strcspn): Do not use BP_SYM.
27462         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
27463         "bp-asm.h".
27464         (PARMS): Do not use macros from bp-asm.h.
27465         (STR): Likewise.
27466         (STOP): Likewise.
27467         (strpbrk): Likewise.  Do not use BP_SYM.
27468         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
27469         "bp-asm.h".
27470         (PARMS): Do not use macros from bp-asm.h.
27471         (STR): Likewise.
27472         (CHR): Likewise.
27473         (strrchr): Likewise.  Do not use BP_SYM.
27474         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
27475         (PARMS): Do not use macros from bp-asm.h.
27476         (SKIP): Likewise.
27477         (strspn): Do not use BP_SYM.
27478         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
27479         (PARMS): Do not use macros from bp-asm.h.
27480         (STR): Likewise.
27481         (DELIM): Likewise.
27482         (SAVE): Likewise.
27483         (FUNCTION): Likewise.  Do not use BP_SYM.
27484         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
27485         aliases.
27486         (strtok_r): Likewise.
27487         (__GI___strtok_r): Likewise.
27488         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
27489         (PARMS): Do not use macros from bp-asm.h.
27490         (S1): Likewise.
27491         (S2): Likewise.
27492         (SIZE): Likewise.
27493         (__mpn_sub_n): Do not use BP_SYM.
27494         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
27495         "bp-asm.h".
27496         (PARMS): Do not use macros from bp-asm.h.
27497         (S1): Likewise.
27498         (SIZE): Likewise.
27499         (__mpn_submul_1): Do not use BP_SYM.
27500         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
27501         <bp-sym.h>.
27502         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
27503         and <bp-asm.h>.
27504         (PARMS): Do not use macros from bp-asm.h.
27505         (FLAGS): Likewise.
27506         (PTID): Likewise.
27507         (TLS): Likewise.
27508         (CTID): Likewise.
27509         (__clone): Do not use BP_SYM.
27510         (clone): Do not use BP_SYM in weak_alias.
27511         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
27512         and <bp-asm.h>.
27513         (PARMS): Do not use macros from bp-asm.h.
27514         (LEN): Likewise.
27515         (__mmap64): Do not use BP_SYM.
27516         (mmap64): Do not use BP_SYM in weak_alias.
27517         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
27518         <bp-sym.h> and <bp-asm.h>.
27519         (PARMS): Do not use macros from bp-asm.h.
27520         (__posix_fadvise64_l64): Do not use BP_SYM.
27521         * sysdeps/unix/sysv/linux/i386/semtimedop.S
27522         (PARMS): Do not use macros from bp-asm.h.
27523         (NSOPS): Likewise.
27524         (semtimedop): Do not use BP_SYM.
27525         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
27526         and <bp-asm.h>.
27528 2013-02-21  Allan McRae  <allan@archlinux.org>
27530         * manual/message.texi (Charset conversion in gettext):
27531         Move @end statement to beginning of line.
27533 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27535         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
27536         static.
27537         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
27538         Likewise.
27540         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
27541         (denorm): Likewise.
27542         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
27543         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
27545 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27547         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
27548         tail-call to the resolved function if pltexit isn't needed.
27550 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27552         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
27553         or Y being zero as being unlikely.
27554         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
27555         Likewise.
27557 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
27559         * manual/nss.texi (System Databases and Name Service Switch):
27560         Remove frobnicate @pxref.
27562 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
27564         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
27565         __attribute__ ((unused)) to __attribute__ ((__unused__)).
27567 2013-02-20  Petr Machata  <pmachata@redhat.com>
27569         * elf/elf.h (R_ARM_TARGET1): New macro.
27570         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
27571         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
27572         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
27573         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
27574         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
27575         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
27576         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
27577         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
27578         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
27579         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
27580         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
27581         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
27582         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
27583         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
27584         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
27585         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
27586         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
27587         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
27588         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
27589         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
27590         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
27591         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
27592         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
27593         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
27594         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
27595         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
27596         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
27597         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
27598         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
27599         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
27600         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
27601         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
27602         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
27603         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
27604         (R_ARM_THM_GOT_BREL12): Likewise.
27605         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
27606         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
27607         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
27608         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
27609         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
27610         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
27611         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
27612         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
27613         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
27615 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
27617         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
27618         __attribute_used__ to __attribute__ ((unused)).
27620 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
27622         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
27623         powerpc mpa.c.
27624         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
27625         comment formatting.
27626         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
27628 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
27630         [BZ #13550]
27631         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
27632         Remove macro.
27633         (ENTER): Remove both macro definitions.
27634         (LEAVE): Likewise.
27635         (CHECK_BOUNDS_LOW): Likewise.
27636         (CHECK_BOUNDS_HIGH): Likewise.
27637         (CHECK_BOUNDS_BOTH): Likewise.
27638         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
27639         (RETURN_BOUNDED_POINTER): Likewise.
27640         (RETURN_NULL_BOUNDED_POINTER): Likewise.
27641         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
27642         (POP_ERRNO_LOCATION_RETURN): Likewise.
27643         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
27644         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27645         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
27646         macros.
27647         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27648         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
27649         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
27650         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
27651         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
27652         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
27653         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
27654         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
27655         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
27656         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
27657         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
27658         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
27659         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27660         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
27661         removed macros.
27662         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27663         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
27664         macros.
27665         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27666         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
27667         * sysdeps/i386/i586/memset.S (memset): Likewise.
27668         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
27669         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27670         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
27671         macros.
27672         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27673         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
27674         Change uses of L(2) to L(out).
27675         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
27676         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
27677         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
27678         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27679         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
27680         removed macros.
27681         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27682         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
27683         macros.
27684         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27685         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
27686         (RETURN): Do not use macro LEAVE.
27687         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
27688         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
27689         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
27690         * sysdeps/i386/i686/memset.S (memset): Likewise.
27691         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
27692         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
27693         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27694         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
27695         Likewise.
27696         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27697         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
27698         L(1_2) and L(1_3) into L(1).
27699         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
27700         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
27701         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27702         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
27703         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27704         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
27705         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
27706         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27707         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
27708         macros.
27709         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
27710         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27711         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
27712         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
27713         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
27714         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27715         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
27716         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
27717         * sysdeps/i386/strcspn.S (strcspn): Likewise.
27718         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
27719         * sysdeps/i386/strrchr.S (strrchr): Likewise.
27720         * sysdeps/i386/strspn.S (strspn): Likewise.
27721         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
27722         conditional code.
27723         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27724         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
27725         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
27726         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
27727         L(1_3) into L(1_1).
27728         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
27729         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27730         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
27731         macros.
27732         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27734 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
27736         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
27737         macro.
27739 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27741         * math/atest-exp.c (exp_mpn): Remove ROUND.
27742         * math/atest-exp2.c (exp_mpn): Likewise.
27743         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
27745         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
27746         * stdlib/tst-tls-atexit-lib.c: Likewise.
27747         * stdlib/tst-tls-atexit.c: Likewise.
27749 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
27751         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
27752         and __attribute_alloc_size__.
27754 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
27756         * include/programs/xmalloc.h: Change __attribute_alloc_size to
27757         __attribute_alloc_size__.
27758         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
27759         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
27761 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
27763         * include/programs/xmalloc.h: New file.
27764         * catgets/gencat.c: Include it.
27765         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
27766         * elf/pldd.c: Likewise.
27767         * iconv/iconv_charmap.c: Likewise.
27768         * iconv/iconvconfig.c: Likewise.
27769         * iconv/strtab.c: Likewise.
27770         * locale/programs/locale.c: Likewise.
27771         * locale/programs/localedef.h: Likewise.
27772         * locale/programs/simple-hash.c: Likewise.
27773         * nscd/nscd.h: Likewise.
27774         * nss/makedb.c: Likewise.
27775         * sysdeps/generic/ldconfig.h: Likewise.
27777 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27779         * Versions.def: Add GLIBC_2.18.
27780         * include/link.h (struct link_map): New member l_tls_dtor_count.
27781         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
27782         (__call_tls_dtors): Likewise.
27783         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
27784         __cxa_thread_atexit_impl.
27785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27786         Likewise.
27787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27788         Likewise.
27789         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27790         Likewise.
27791         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27792         Likewise.
27793         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27794         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
27795         Likewise.
27796         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
27797         Likewise.
27798         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27799         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27800         Likewise.
27801         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
27802         (tests): Add test case tst-tls-atexit.
27803         (modules-names): Add shared library for tst-tls-atexit.
27804         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
27805         (GLIBC_PRIVATE): Add __call_tls_dtors.
27806         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
27807         for libstdc++.
27808         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
27809         * stdlib/tst-tls-atexit.c: New test case.
27810         * stdlib/tst-tls-atexit-lib.c: New test case.
27812         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
27814         * elf/Versions (ld): Add _dl_find_dso_for_object.
27815         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
27816         * elf/dl-open.c (_dl_find_dso_for_object): New function.
27817         (dl_open_worker): Use _dl_find_dso_for_object.
27818         * elf/dl-sym.c (do_sym): Likewise.
27819         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
27821 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27823         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
27824         Syntactic changes only.
27825         (_dl_runtime_profile): Do a tail-call to the resolved function.
27827 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
27829         [BZ #13550]
27830         * sysdeps/x86_64/bp-asm.h: Remove file.
27831         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
27832         <bp-sym.h> and <bp-asm.h>.
27833         (__clone): Do not use BP_SYM.
27834         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
27835         <bp-sym.h> and <bp-asm.h>.
27836         * sysdeps/unix/x86_64/sysdep.S: Likewise.
27837         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
27838         "bp-asm.h".
27839         (_setjmp): Do not use BP_SYM.
27840         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
27841         "bp-asm.h".
27842         (setjmp): Do not use BP_SYM.
27843         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
27844         libc_hidden_def.
27845         (mempcpy): Do not use BP_SYM in weak_alias.
27846         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
27847         "bp-asm.h".
27848         (strchr): Do not use BP_SYM.
27849         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
27850         "bp-asm.h".
27851         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
27852         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
27853         (_start): Do not use BP_SYM.
27854         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
27855         "bp-asm.h".
27856         (strcat): Do not use BP_SYM.
27857         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
27858         "bp-asm.h".
27859         (STRCMP): Do not use BP_SYM.
27860         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
27861         "bp-asm.h".
27862         (STRCPY): Do not use BP_SYM.
27863         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
27864         "bp-asm.h".
27865         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
27866         "bp-asm.h".
27867         (FUNCTION): Do not use BP_SYM.
27868         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
27869         weak_alias.
27870         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
27872 2013-02-17  Andreas Jaeger  <aj@suse.de>
27874         * time/Versions: Sort entries.
27875         * string/Versions: Likewise.
27876         * resolv/Versions: Likewise.
27877         * posix/Versions: Likewise.
27878         * iconv/Versions: Likewise.
27879         * elf/Versions: Likewise.
27880         * wcsmbs/Versions: Likewise.
27882 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27884         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
27885         loop termination condition.
27887         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
27888         variable to calculate EZ.
27889         (__sqr): Likewise.
27891         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
27892         the lower precision input.
27894 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
27896         [BZ #13550]
27897         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
27898         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
27899         (run-via-rtld-prefix): Do not handle %-bp tests.
27900         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
27901         (all-object-suffixes): Remove .ob.
27902         (bppfx): Remove variable.
27903         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
27904         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
27905         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
27906         [$(build-bounded) = yes] (libtype.ob): Likewise.
27907         * Makerules (elide-routines.ob): Remove variable.
27908         (do-tests-clean): Do not handle *-bp.out.
27909         (common-mostlyclean): Do not handle *-bp and *-bp.out.
27910         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
27911         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
27912         (tests): Do not include $(tests-bp.out).
27913         (xtests): Do not include $(xtests-bp.out).
27914         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
27915         [$(build-bounded) = yes] ($(addprefix
27916         $(objpfx),$(binaries-bounded))): Remove rule.
27917         ($(objpfx)%-bp.out): Remove rule.
27918         * config.make.in (build-bounded): Remove variable.
27919         * crypt/Makefile [$(build-bounded) = yes]
27920         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
27921         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
27922         append to variable.
27923         [$(build-bounded) = yes] (install-lib): Likewise.
27924         [$(build-bounded) = yes] (generated): Likewise.
27925         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
27926         Remove rule.
27927         * intl/Makefile [$(build-bounded) = yes]
27928         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
27929         * math/Makefile [$(build-bounded) = yes]
27930         ($(tests:%=$(objpfx)%-bp): Likewise.
27931         * misc/Makefile [$(build-bounded) = yes]
27932         ($(objpfx)tst-tsearch-bp): Likewise.
27933         * nptl/Makeconfig (bounded-thread-library): Remove variable.
27934         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
27935         Remove dependency.
27936         * string/Makefile (o-objects.ob): Remove variable.
27937         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
27938         (CFLAGS-.ob): Remove variable.
27939         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
27940         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
27941         both definitions of variable.
27942         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
27943         (ASFLAGS-.ob): Remove variable.
27945 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
27947         [BZ #13550]
27948         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
27949         Remove __BOUNDED_POINTERS__ from condition.
27950         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
27951         * string/bits/string2.h [!__NO_STRING_INLINES &&
27952         !__BOUNDED_POINTERS__]: Likewise.
27953         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
27954         Likewise.
27955         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
27956         Remove conditional code.
27957         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
27958         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
27959         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
27960         condition.
27962         [BZ #13550]
27963         * csu/libc-start.c: Do not include <bp-sym.h>.
27964         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
27965         * elf/dl-open.c: Do not include <bp-sym.h>.
27966         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
27967         * math/fegetenv.c: Do not include <bp-sym.h>.
27968         (fegetenv): Do not use BP_SYM in versioned symbols.
27969         * nptl/sysdeps/pthread/bits/libc-lockP.h
27970         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
27971         <bp-sym.h>.
27972         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27973         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
27974         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27975         (__pthread_mutex_destroy): Likewise.
27976         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27977         (__pthread_mutex_lock): Likewise.
27978         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27979         (__pthread_mutex_trylock): Likewise.
27980         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27981         (__pthread_mutex_unlock): Likewise.
27982         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27983         (__pthread_mutexattr_init): Likewise.
27984         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27985         (__pthread_mutexattr_destroy): Likewise.
27986         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27987         (__pthread_mutexattr_settype): Likewise.
27988         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27989         (__pthread_rwlock_init): Likewise.
27990         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27991         (__pthread_rwlock_destroy): Likewise.
27992         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27993         (__pthread_rwlock_rdlock): Likewise.
27994         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27995         (__pthread_rwlock_tryrdlock): Likewise.
27996         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27997         (__pthread_rwlock_wrlock): Likewise.
27998         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27999         (__pthread_rwlock_trywrlock): Likewise.
28000         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28001         (__pthread_rwlock_unlock): Likewise.
28002         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28003         (__pthread_key_create): Likewise.
28004         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28005         (__pthread_setspecific): Likewise.
28006         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28007         (__pthread_getspecific): Likewise.
28008         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
28009         Likewise.
28010         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28011         (_pthread_cleanup_push_defer): Likewise.
28012         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28013         (_pthread_cleanup_pop_restore): Likewise.
28014         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28015         (pthread_setcancelstate): Likewise.
28016         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
28017         <bp-sym.h>.
28018         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
28019         (memchr): Do not use BP_SYM in weak_alias.
28020         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
28021         (fegetenv): Do not use BP_SYM in versioned symbols.
28022         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
28023         (fesetenv): Do not use BP_SYM in versioned symbols.
28024         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
28025         (feupdateenv): Do not use BP_SYM in versioned symbols.
28026         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
28027         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
28028         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
28029         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
28030         (open64): Do not use BP_SYM in weak_alias.
28031         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
28032         (fegetenv): Do not use BP_SYM in versioned symbols.
28033         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
28034         (fesetenv): Do not use BP_SYM in versioned symbols.
28035         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
28036         (feupdateenv): Do not use BP_SYM in versioned symbols.
28037         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
28038         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
28039         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
28040         (feraiseexcept): Do not use BP_SYM in versioned symbols.
28041         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
28042         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
28043         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
28044         <bp-sym.h>.
28045         (__libc_start_main): Do not use BP_SYM.
28047 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28049         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
28050         redundant return line.
28051         (norm): Likewise.
28052         (denorm): Likewise.
28053         (dbl_mp): Likewise.
28054         (sub_magnitudes): Likewise.
28055         (__add): Likewise.
28056         (__sub): Likewise.
28057         (__mul): Likewise.
28058         (__inv): Likewise.
28059         (__dvd): Likewise.
28060         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
28061         (norm): Likewise.
28062         (denorm): Likewise.
28063         (dbl_mp): Likewise.
28064         (sub_magnitudes): Likewise.
28065         (__add): Likewise.
28066         (__sub): Likewise.
28067         (__mul): Likewise.
28068         (__inv): Likewise.
28069         (__dvd): Likewise.
28071         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
28072         instead of __mul.
28073         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28074         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
28075         (cc32): Likewise.
28077         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
28078         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
28079         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
28080         of __mul for squares.
28081         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
28082         function
28083         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
28084         Likewise.
28085         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
28086         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28088 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
28090         [BZ #13550]
28091         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
28092         code.
28093         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
28094         prototype or function definition.  Rename ubp_* variables and
28095         parameters.  Remove argv definitions conditional on
28096         [__BOUNDED_POINTERS__].
28097         * debug/backtrace.c (__backtrace): Do not use __unbounded.
28098         * elf/dl-runtime.c (_dl_fixup): Likewise.
28099         * include/set-hooks.h (RUN_HOOK): Likewise.
28100         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
28101         definition.
28102         * string/strcpy.c (strcpy): Do not use __unbounded.
28103         * sysdeps/generic/frame.h (struct layout): Likewise.
28104         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
28105         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
28106         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
28107         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
28108         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
28109         (__backtrace): Likewise.
28110         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
28111         use __ptrvalue.
28112         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
28113         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
28114         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28115         Likewise.
28116         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
28117         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
28118         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
28119         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
28120         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
28121         Do not use __unbounded.
28122         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
28123         Rename __unboundedrlimits parameter to rlimits in prototype.
28124         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
28125         Do not use __unbounded.
28126         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
28127         not use __ptrvalue.
28128         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
28129         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
28130         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
28131         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
28132         __ptrvalue or __unbounded.
28133         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
28134         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
28135         use __unbounded.
28136         (__new_msgctl): Do not use __ptrvalue.
28137         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
28138         __unbounded.
28139         (__libc_msgrcv): Do not use __ptrvalue.
28140         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
28141         startup_info): Do not use __unbounded.
28142         (__libc_start_main): Likewise.  Rename ubp_* variables and
28143         parameters.  Remove argv definitions conditional on
28144         [__BOUNDED_POINTERS__].
28145         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
28146         __ptrvalue.
28147         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
28148         use __unbounded.
28149         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
28150         or __ptrvalue.
28151         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
28152         use __unbounded.
28153         (__new_shmctl): Do not use __ptrvalue.
28154         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
28155         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
28156         Likewise.
28157         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
28158         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
28159         (__libc_sigaction): Likewise.
28160         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
28161         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
28162         Likewise.
28163         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
28165 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
28167         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
28169         * string/mempcpy.c: Implement by calling memcpy.
28171 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
28173         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
28175         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
28176         evaluation.
28178         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
28179         values in the mantissa.
28181         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
28182         minimize writes to Z.
28183         (sub_magnitudes): Simplify code a bit.
28185 2013-02-12  Roland McGrath  <roland@hack.frob.com>
28187         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
28188         from the message.  The linker prefixes all warnings with that already.
28190 2013-02-12  Andreas Schwab  <schwab@suse.de>
28192         [BZ #15078]
28193         * posix/regexec.c (extend_buffers): Add parameter min_len.
28194         (check_matching): Pass minimum needed length.
28195         (clean_state_log_if_needed): Likewise.
28196         (get_subexp): Likewise.
28197         * posix/Makefile (tests): Add bug-regex34.
28198         (bug-regex34-ENV): Define.
28199         * posix/bug-regex34.c: New file.
28201         [BZ #11561]
28202         * posix/regcomp.c (parse_bracket_exp): When looking up collating
28203         elements compare against the byte sequence of it, not its name.
28204         * posix/Makefile (tests): Add bug-regex35.
28205         (bug-regex35-ENV): Define.
28206         * posix/bug-regex35.c: New file.
28208 2013-02-11  Tom de Vries  <tom@codesourcery.com>
28210         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
28211         comment.
28212         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
28213         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
28214         (CHECK_EOL): Add undef.
28216 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
28218         * bits/stdlib-bsearch.h: New file.
28219         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
28220         * stdlib/stdlib.h: Likewise.
28222 2013-02-11  Roland McGrath  <roland@hack.frob.com>
28224         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
28225         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
28226         declaration.
28227         * manual/search.texi (Array Search Function): Add missing const in
28228         lfind prototype.
28229         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
28230         declaration to use rlim_t.
28231         (Basic Scheduling Functions): Remove erroneous const from
28232         sched_getparam prototype.  Remove erroneous * from
28233         sched_get_priority_max and sched_get_priority_min prototypes.
28234         (Resource Usage): Fix summary @comment on vtimes to refer to
28235         sys/vtimes.h rather than vtimes.h.
28236         Add missing *s in vtimes prototype.
28237         (Limits on Resources): Fix ulimit prototype to return long int.
28238         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
28239         prototypes to use long int rather than double.
28240         (BSD Random): Fix initstate and setstate to use char *, not void *.
28241         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
28242         prototype to make second argument 'struct aiocb64 *const[]'.
28243         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
28244         (Status of AIO Operations): Remove erroneous const in aio_return and
28245         aio_return64 prototypes.
28246         (Synchronizing I/O): Fix sync prototype to return void.
28247         * manual/startup.texi (Suboptions): Remove an erroneous const in
28248         getsubopt prototype.
28249         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
28250         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
28251         use size_t rather than int.
28252         (Scanning All Users): Likewise for getpwent_r.
28253         (Setting Groups): Add missing const to setgroups prototype.
28254         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
28255         * manual/socket.texi (Host Names): Fix gethostbyaddr and
28256         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
28257         'const void *' rather than 'const char *'.
28258         (Host Address Functions): Likewise for inet_ntop.
28259         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
28260         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
28261         ssize_t for return value.
28262         (Sending Data): Likewise for send, sendto, sendmsg.
28263         (Socket Option Functions): Add a missing const in setsockopt prototype.
28264         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
28265         use wchar_t for the argument.
28266         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
28267         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
28268         take no arguments.
28269         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
28270         double/float/long double for second argument.
28271         Fix return types of significand, significandf, significandl.
28272         * manual/filesys.texi (Setting Permissions): Use mode_t for second
28273         argument in fchmod prototype.
28274         (File Owner): Use uid_t and gid_t in fchown prototype.
28275         (File Times): Add const to utimes, futimes, and lutimes prototypes.
28276         (Making Special Files): Use mode_t and dev_t in mknod prototype.
28277         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
28278         use 'const struct dirent **' as argument types to CMP function pointer
28279         argument.
28280         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
28281         (File Times): Fix summary magic @comment for struct utimbuf and utime
28282         to refer to utime.h, not time.h.
28283         * manual/string.texi (Argz Functions): Add missing const in
28284         argz_extract and argz_next prototypes.
28285         (Finding Tokens in a String): Likewise for basename.
28286         (String/Array Comparison): Fix typo in wcscasecmp prototype.
28287         (Copying and Concatenation): Fix typo in wmemmove prototype.
28288         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
28289         (Signal Stack): Remove erroneous const in sigstack prototype.
28290         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
28291         prototype.
28292         (Simple Calendar Time): Likewise for stime.
28293         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
28294         prototype.
28295         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
28296         say sys/sysctl.h instead.
28297         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
28298         and vsyslog prototypes.
28300 2013-02-11  Tom de Vries  <tom@codesourcery.com>
28302         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
28303         Remove.
28305 2013-02-11  Roland McGrath  <roland@hack.frob.com>
28307         * misc/sys/mman.h: Fix typo in mremap comment.
28309 2013-02-08  Roland McGrath  <roland@hack.frob.com>
28311         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
28312         the '\0' terminator.
28314 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
28316         [BZ #13550]
28317         * debug/segfault.c: Don't include <bp-checks.h>.
28318         * sysdeps/generic/bp-checks.h: Remove file.
28319         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
28320         (__GETDENTS): Don't use CHECK_N.
28321         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
28322         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
28323         (__getgroups): Don't use CHECK_N.
28324         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
28325         (setgroups): Don't use CHECK_N.
28326         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
28327         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
28328         (__libc_msgrcv): Don't use CHECK_N.
28329         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
28330         (__libc_msgsnd): Don't use CHECK_N.
28331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
28332         <bp-checks.h>.
28333         (__libc_pread): Don't use CHECK_N.
28334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
28335         include <bp-checks.h>.
28336         (__libc_pread64): Don't use CHECK_N.
28337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
28338         include <bp-checks.h>.
28339         (__libc_pwrite): Don't use CHECK_N.
28340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
28341         include <bp-checks.h>.
28342         (__libc_pwrite64): Don't use CHECK_N.
28343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
28344         <bp-checks.h>.
28345         (__libc_pread): Don't use CHECK_N.
28346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
28347         include <bp-checks.h>.
28348         (__libc_pread64): Don't use CHECK_N.
28349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
28350         include <bp-checks.h>.
28351         (__libc_pwrite): Don't use CHECK_N.
28352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
28353         include <bp-checks.h>.
28354         (__libc_pwrite64): Don't use CHECK_N.
28355         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
28356         (do_pread): Don't use CHECK_N.
28357         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
28358         (do_pread64): Don't use CHECK_N.
28359         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
28360         (do_pwrite): Don't use CHECK_N.
28361         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
28362         (do_pwrite64): Don't use CHECK_N.
28363         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
28364         (__libc_readv): Don't use CHECK_N.
28365         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
28366         (semop): Don't use CHECK_N.
28367         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
28368         <bp-checks.h>.
28369         (semtimedop): Don't use CHECK_N.
28370         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
28371         (__libc_pread): Don't use CHECK_N.
28372         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
28373         <bp-checks.h>.
28374         (__libc_pread64): Don't use CHECK_N.
28375         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
28376         <bp-checks.h>.
28377         (__libc_pwrite): Don't use CHECK_N.
28378         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
28379         <bp-checks.h>.
28380         (__libc_pwrite64): Don't use CHECK_N.
28381         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
28382         <bp-checks.h>.
28383         (__libc_msgrcv): Don't use CHECK_N.
28384         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
28385         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
28386         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
28387         (__libc_writev): Don't use CHECK_N.
28389 2013-02-08  Roland McGrath  <roland@hack.frob.com>
28391         * string/strcpy.c: Removed unused variable.
28393         * Makeconfig (+sysdep-includes): Define with := rather than =.
28394         Use an existing include/ subdir of each sysdeps dir before it.
28396 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
28398         * nscd/connection.c (register_traced_file): Comment function.
28399         [HAVE_INOTIFY] (union __inev): Define.
28400         [HAVE_INOTIFY] (inotify_check_files): New function.
28401         [HAVE_INOTIFY] (clear_db_cache): Likewise.
28402         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
28403         clear_db_cache.
28404         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
28406 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
28408         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
28409         loaded if not already and that a failure is permanent.
28411 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
28413         [BZ #15006]
28414         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
28415         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
28417 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
28419         [BZ #13550]
28420         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
28421         (CHECK_1_NULL_OK): Likewise.
28422         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
28423         (__fxstat): Do not use CHECK_1.
28424         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
28425         <bp-checks.h>.
28426         (___fxstat64): Do not use CHECK_1.
28427         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
28428         <bp-checks.h>.
28429         (__fxstatat): Do not use CHECK_1.
28430         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
28431         <bp-checks.h>.
28432         (__fxstatat64): Do not use CHECK_1.
28433         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
28434         <bp-checks.h>.
28435         (__fxstat): Do not use CHECK_1.
28436         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
28437         <bp-checks.h>.
28438         (__fxstatat): Do not use CHECK_1.
28439         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
28440         <bp-checks.h>.
28441         (__getresgid): Do not use CHECK_1.
28442         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
28443         <bp-checks.h>.
28444         (__getresuid): Do not use CHECK_1.
28445         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
28446         <bp-checks.h>.
28447         (__lxstat): Do not use CHECK_1.
28448         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
28449         <bp-checks.h>.
28450         (__old_msgctl): Do not use CHECK_1.
28451         (__new_msgctl): Likewise.
28452         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
28453         <bp-checks.h>.
28454         (__new_setrlimit): Do not use CHECK_1.
28455         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
28456         <bp-checks.h>.
28457         (__old_shmctl): Do not use CHECK_1.
28458         (__new_shmctl): Likewise.
28459         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
28460         <bp-checks.h>.
28461         (__xstat): Do not use CHECK_1.
28462         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
28463         (__lxstat): Do not use CHECK_1.
28464         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
28465         <bp-checks.h>.
28466         (___lxstat64): Do not use CHECK_1.
28467         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
28468         (__old_msgctl): Do not use CHECK_1.
28469         (__new_msgctl): Likewise.
28470         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
28471         <bp-checks.h>.
28472         (__gettimeofday): Do not use CHECK_1.
28473         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
28474         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
28475         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
28476         <bp-checks.h>.
28477         (__gettimeofday): Do not use CHECK_1.
28478         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
28479         (__old_shmctl): Do not use CHECK_1_NULL_OK.
28480         (__new_shmctl): Do not use CHECK_1.
28481         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
28482         <bp-checks.h>.
28483         (do_sigtimedwait): Do not use CHECK_1.
28484         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
28485         <bp-checks.h>.
28486         (do_sigwaitinfo): Do not use CHECK_1.
28487         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
28488         <bp-checks.h>.
28489         (msgctl): Do not use CHECK_1.
28490         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
28491         <bp-checks.h>.
28492         (shmctl): Do not use CHECK_1.
28493         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
28494         (ustat): Do not use CHECK_1.
28495         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
28496         <bp-checks.h>.
28497         (__fxstat): Do not use CHECK_1.
28498         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
28499         <bp-checks.h>.
28500         (__fxstatat): Do not use CHECK_1.
28501         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
28502         <bp-checks.h>.
28503         (__lxstat): Do not use CHECK_1.
28504         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
28505         <bp-checks.h>.
28506         (__xstat): Do not use CHECK_1.
28507         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
28508         (__xstat): Do not use CHECK_1.
28509         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
28510         (___xstat64): Do not use CHECK_1.
28512         [BZ #13550]
28513         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
28514         definitions.
28515         (CHECK_BOUNDS_HIGH): Likewise.
28516         * string/strcpy.c: Do not include <bp-checks.h>.
28517         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
28519 2013-02-07  Roland McGrath  <roland@hack.frob.com>
28521         * nscd/nscd-client.h (__nscd_drop_map_ref):
28522         Add __attribute__ ((unused)).
28523         * nis/nss-nisplus.h (niserr2nss): Likewise.
28525         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
28526         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
28528         * csu/libc-tls.c (init_static_tls, init_slotinfo):
28529         Remove inline keyword.
28530         * include/rounding-mode.h (round_away): Likewise.
28531         * libio/wfileops.c (adjust_wide_data): Likewise.
28532         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
28533         (__m128i_strloadu_tolower): Likewise.
28534         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
28535         (__m128i_strloadu_tolower): Likewise.
28536         * time/mktime.c (ydhms_diff): Likewise.
28537         * locale/elem-hash.h (elem_hash): Likewise.
28538         * locale/setlocale.c (setdata): Likewise.
28539         * posix/regex_internal.h (re_string_char_size_at): Likewise.
28540         (re_string_wchar_at): Likewise.
28541         (bitset_not, bitset_merge, bitset_mask): Likewise.
28542         [!(__GNUC__ > 3)] (inline): Remove macro.
28543         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
28544         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
28545         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
28546         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
28547         * string/memcmp.c (memcmp_bytes): Likewise.
28548         * locale/programs/locarchive.c (compute_hashval): Likewise.
28549         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
28550         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
28551         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
28552         * nss/getent.c (print_rpc, print_protocols): Likewise.
28553         (print_passwd, print_group, print_aliases): Likewise.
28554         * nis/nss-nisplus.h (niserr2nss): Likewise.
28555         * nscd/connections.c (restart_p): Likewise.
28556         Change return type to bool.
28558 2013-02-05  Roland McGrath  <roland@hack.frob.com>
28560         * Makeconfig (all-Depend-files): Add existing
28561         $(sorted-subdirs:=/Depend) files.
28562         (all-subdirs): Remove nss.
28563         * sysdeps/unix/inet/Subdirs: Add it here instead.
28564         * hesiod/Depend: New file.
28566         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
28567         instead of calling alloca.
28569         * io/lseek.c (__lseek): Rename to __libc_lseek.
28570         Define __lseek as an alias.
28572         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
28574 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
28576         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
28577         else clause and remove check for non-standard endianness.
28579 2013-02-04  David S. Miller  <davem@davemloft.net>
28581         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28583 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
28585         [BZ #13550]
28586         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
28587         (__ubp_memchr): Remove prototype.
28588         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
28589         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
28590         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
28591         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
28592         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
28593         Remove alias.
28594         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
28595         (__ubp_memchr): Likewise.
28596         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
28597         (__ubp_memchr): Likewise.
28598         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
28599         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
28600         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
28601         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
28602         CHECK_STRING.
28603         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
28604         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
28605         (__getcwd): Do not use CHECK_STRING.
28606         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
28607         <bp-checks.h>.
28608         (__real_chown): Do not use CHECK_STRING.
28609         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
28610         <bp-checks.h>.
28611         (fchownat): Do not use CHECK_STRING.
28612         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
28613         CHECK_STRING.
28614         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
28615         <bp-checks.h>.
28616         (__lchown): Do not use CHECK_STRING.
28617         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
28618         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
28619         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
28620         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
28621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
28622         include <bp-checks.h>.
28623         (truncate64): Do not use CHECK_STRING.
28624         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
28625         <bp-checks.h>.
28626         (__real_chown): Do not use CHECK_STRING.
28627         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
28628         <bp-checks.h>.
28629         (__lchown): Do not use CHECK_STRING.
28630         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
28631         <bp-checks.h>.
28632         (__chown): Do not use CHECK_STRING.
28633         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
28634         <bp-checks.h>.
28635         (truncate64): Do not use CHECK_STRING.
28636         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
28637         Likewise.
28638         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
28639         (__xmknod): Do not use CHECK_STRING.
28640         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
28641         <bp-checks.h>.
28642         (__xmknodat): Do not use CHECK_STRING.
28643         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
28644         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
28646 2013-02-04  Andreas Schwab  <schwab@suse.de>
28648         [BZ #14142]
28649         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
28650         * include/netdb.h: Likewise for h_errno.
28651         * elf/tst-stackguard1.c: Include <tls.h>.
28653 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
28655         * elf/link.h (struct link_map): Extend the l_addr comment.
28656         * include/link.h (struct link_map): Likewise.
28658 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
28660         [BZ #13550]
28661         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
28662         (BOUNDED_1): Remove macro.
28663         * debug/backtrace.c: Don't include <bp-checks.h>.
28664         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
28665         (__backtrace): Likewise.
28666         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
28667         <bp-checks.h>.
28668         (__backtrace): Don't use BOUNDED_1.
28669         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
28670         <bp-checks.h>.
28671         (__backtrace): Don't use BOUNDED_1.
28672         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
28673         (__backtrace): Don't use BOUNDED_1.
28674         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
28675         (shmat): Don't use BOUNDED_N.
28677 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
28679         [BZ #13550]
28680         * sysdeps/generic/bp-start.h: Remove file.
28681         * csu/libc-start.c: Don't include <bp-start.h>.
28682         (LIBC_START_MAIN): Set up __environ directly instead of using
28683         INIT_ARGV_and_ENVIRON.
28684         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
28685         <bp-start.h>.
28687         [BZ #13550]
28688         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
28689         definitions.
28690         (CHECK_FCNTL): Likewise.
28691         (CHECK_N_PAGES): Likewise.
28693         [BZ #13550]
28694         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
28695         definitions.
28696         (CHECK_SIGSET_NULL_OK): Likewise.
28697         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
28698         <bp-checks.h>.
28699         (sigpending): Don't use CHECK_SIGSET.
28700         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
28701         <bp-checks.h>.
28702         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28703         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
28704         <bp-checks.h>.
28705         (do_sigsuspend): Don't use CHECK_SIGSET.
28706         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
28707         use CHECK_SIGSET.
28708         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
28709         (do_sigwait): Don't use CHECK_SIGSET.
28710         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
28711         use CHECK_SIGSET.
28712         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
28713         include <bp-checks.h>.
28714         (sigpending): Don't use CHECK_SIGSET.
28715         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
28716         include <bp-checks.h>.
28717         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28718         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
28719         <bp-checks.h>.
28720         (sigpending): Don't use CHECK_SIGSET.
28721         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
28722         <bp-checks.h>.
28723         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28725         [BZ #13550]
28726         * sysdeps/generic/bp-semctl.h: Remove file.
28727         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
28728         <bp-checks.h> and <bp-semctl.h>.
28729         (__old_semctl): Don't use CHECK_SEMCTL.
28730         (__new_semctl): Likewise.
28731         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
28732         and <bp-semctl.h>.
28733         (__old_semctl): Don't use CHECK_SEMCTL.
28734         (__new_semctl): Likewise.
28735         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
28736         <bp-checks.h> and <bp-semctl.h>.
28737         (__old_semctl): Don't use CHECK_SEMCTL.
28738         (__new_semctl): Likewise.
28739         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
28740         <bp-checks.h> and <bp-semctl.h>.
28741         (semctl): Don't use CHECK_SEMCTL.
28743         [BZ #13550]
28744         * Makerules (elide-bp-thunks): Remove variable.
28745         (elide-routines.oS): Don't use $(elide-bp-thunks).
28746         (elide-routines.os): Likewise.
28747         (elide-routines.o): Likewise.
28748         (elide-routines.op): Likewise.
28749         (elide-routines.og): Likewise.
28750         (objects): Don't use $(bp-thunks).
28751         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
28752         include.
28753         (common-generated): Do not add s-proto-bp.d.
28754         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
28755         (int): Likewise.
28756         (typ): Likewise.
28757         Do not generate makefile rules for bounded-pointer thunks.
28758         * sysdeps/generic/bp-thunks.h: Remove file.
28759         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
28760         * sysdeps/unix/s-proto-bp.S: Likewise.
28762         [BZ #15062]
28763         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
28764         parts of result separately when argument is not close to line from
28765         -i to i and one part of argument is small.
28766         * math/k_casinhf.c (__kernel_casinhf): Likewise.
28767         * math/k_casinhl.c (__kernel_casinhl): Likewise.
28768         * math/libm-test.inc (cacos_test): Add more tests.
28769         (casin_test): Likewise.
28770         (casinh_test): Likewise.
28771         * sysdeps/i386/fpu/libm-test-ulps: Update.
28772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28774 2013-01-31  David S. Miller  <davem@davemloft.net>
28776         * po/de.po: Update from translation team.
28778 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
28780         * time/tzfile.c: Include stdint.h for SIZE_MAX.
28782 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
28784         * configure.in (_AC_PROG_CC_C89): New definition.
28785         * configure: Regenerate.
28787         * configure.in (AC_PROG_CPP): New definition.
28788         * configure: Regenerate.
28790 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
28792         * debug/tst-backtrace.h: New file.
28793         * debug/tst-backtrace2.c: Include tst-backtrace.h.
28794         (ret): Remove variable.
28795         (x): Likewise.
28796         (FAIL): Remove macro.
28797         (NO_INLINE): Likewise.
28798         (fn1): Use match function instead of strstr.
28799         * debug/tst-backtrace3.c: Include tst-backtrace.h.
28800         (ret): Remove variable.
28801         (x): Likewise.
28802         (FAIL): Remove macro.
28803         (NO_INLINE): Likewise.
28804         (fn): Use match function instead of strstr.
28805         * debug/tst-backtrace4.c: Include tst-backtrace.h.
28806         (ret): Remove variable.
28807         (x): Likewise.
28808         (FAIL): Remove macro.
28809         (NO_INLINE): Likewise.
28810         (handle_signal): Use match function instead of strstr.
28811         * debug/tst-backtrace5.c: Include tst-backtrace.h.
28812         (ret): Remove variable.
28813         (x): Likewise.
28814         (FAIL): Remove macro.
28815         (NO_INLINE): Likewise.
28816         (handle_signal): Use match function instead of strstr.
28818 2013-01-23  Roland McGrath  <roland@hack.frob.com>
28820         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
28822 2013-01-23  David S. Miller  <davem@davemloft.net>
28824         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
28825         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
28826         argument of CAS if possible.
28827         * sysdeps/sparc/sparc64/bits/atomic.h
28828         (__arch_compare_and_exchange_val_32_acq): Likewise.
28829         (__arch_compare_and_exchange_val_64_acq): Likewise.
28831 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
28833         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
28834         * sysdeps/posix/ulimit.c: ... this.
28835         Include <limits.h>.
28836         * sysdeps/unix/bsd/ulimit.c: Remove file.
28838 2013-01-23  Adam Conrad  <adconrad@0c3.net>
28840         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
28841         (LDFLAGS-tst-array5): Likewise.
28843 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
28845         [BZ #15036]
28846         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
28847         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
28848         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
28849         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
28851 2013-01-21  David S. Miller  <davem@davemloft.net>
28853         * sysdeps/sparc/backtrace.c: New file.
28854         * sysdeps/sparc/sparc32/backtrace.h: New file.
28855         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
28856         * sysdeps/sparc/sparc64/backtrace.h: New file.
28857         * sysdeps/sparc/sparc64/backtrace.c: Delete.
28858         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
28859         -funwind-tables.
28861 2013-01-21  Andreas Schwab  <schwab@suse.de>
28863         [BZ #15020]
28864         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
28865         closed its stdout.
28867 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
28869         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
28870         "mpa2.h".
28871         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28873 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
28874             Mark Mitchell  <mark@codesourcery.com>
28875             Tom de Vries  <tom@codesourcery.com>
28876             Paul Pluzhnikov  <ppluzhnikov@google.com>
28878         * debug/tst-backtrace2.c: New file.
28879         * debug/tst-backtrace3.c: Likewise.
28880         * debug/tst-backtrace4.c: Likewise.
28881         * debug/tst-backtrace5.c: Likewise.
28882         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
28883         (CFLAGS-tst-backtrace3.c): Likewise.
28884         (CFLAGS-tst-backtrace4.c): Likewise.
28885         (CFLAGS-tst-backtrace5.c): Likewise.
28886         (LDFLAGS-tst-backtrace2): Likewise.
28887         (LDFLAGS-tst-backtrace3): Likewise.
28888         (LDFLAGS-tst-backtrace4): Likewise.
28889         (LDFLAGS-tst-backtrace5): Likewise.
28890         (tests): Add new tests tst-backtrace2, tst-backtrace3,
28891         tst-backtrace4 and tst-backtrace5.
28893 2013-01-18  Anton Blanchard  <anton@samba.org>
28894             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
28896         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
28897         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
28898         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
28899         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
28900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28901         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
28902         "+r" and remove output regs list as redundant.  Add explicit inline
28903         asm to specify register of return val to work around compiler codegen
28904         bug.  Remove (int) cast on return value.  Add return type parameter to
28905         use in macro so that this macro does not truncate return value for
28906         64-bit values.
28907         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
28908         pass to INTERNAL_VSYSCALL_NCS.
28909         (INLINE_VSYSCALL): Add 'long int' as return type to
28910         INTERNAL_VSYSCALL_NCS macro invocation.
28911         (INTERNAL_VSYSCALL): Add 'long int' as return type to
28912         INTERNAL_VSYSCALL_NCS macro invocation.
28913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28915 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28917         [BZ #14496]
28918         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
28919         Fix application of SIMD FP exception mask.
28921         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
28922         mp_no from a power of two.
28923         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
28924         __mpexp_twomm1.  Use __pow_mp.
28926         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
28927         multiplication.
28929 2013-01-17  David S. Miller  <davem@davemloft.net>
28931         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28933 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
28935         [BZ #15023]
28936         * include/complex.h: Condition contents on [!_COMPLEX_H].
28937         (__kernel_casinhf): New prototype.
28938         (__kernel_casinh): Likewise.
28939         (__kernel_casinhl): Likewise.
28940         * math/Makefile (libm_calls): Add k_casinh.
28941         * math/k_casinh.c: New file.
28942         * math/k_casinhf.c: Likewise.
28943         * math/k_casinhl.c: Likewise.
28944         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
28945         finite nonzero arguments.
28946         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
28947         finite nonzero arguments.
28948         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
28949         finite nonzero arguments.
28950         * math/s_casinh.c: Do not include <float.h>.
28951         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
28952         * math/s_casinhf.c: Do not include <float.h>.
28953         (__casinhf): Move code for finite nonzero arguments to
28954         k_casinhf.c.
28955         * math/s_casinhl.c: Do not include <float.h>.
28956         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
28957         redefine.
28958         (__casinhl): Move code for finite nonzero arguments to
28959         k_casinhl.c.
28960         * math/libm-test.inc (cacos_test): Add more tests.
28961         * sysdeps/i386/fpu/libm-test-ulps: Update.
28962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28964 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
28966         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
28967         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
28968         [!HAVE_MREMAP]: Remove [defined linux] case.
28969         * malloc/arena.c: Do not include <malloc-sysdep.h>.
28971 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
28973         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
28975 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
28977         * elf/elf.h (R_386_SIZE32): New relocation.
28978         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
28979         R_386_SIZE32.
28980         (elf_machine_rela): Likewise.
28981         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28982         R_X86_64_SIZE64 and R_X86_64_SIZE32.
28984 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
28986         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
28987         (FP_FAST_FMA): Do not define.
28988         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
28989         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
28990         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
28991         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
28992         !_SOFT_FLOAT]: Likewise.
28993         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
28994         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
28995         value.
28996         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
28997         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
28998         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
28999         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
29000         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
29001         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
29002         file.
29004 2013-01-16  Andreas Schwab  <schwab@suse.de>
29006         [BZ #14327]
29007         * include/stdlib.h (__mktemp): Add declaration.
29008         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
29009         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
29011 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29013         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
29014         definitions.
29015         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
29016         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
29017         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
29018         definitions here.
29019         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
29020         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
29021         definitions.
29022         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
29023         and ONE.
29024         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
29025         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
29026         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
29027         definitions.
29028         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
29029         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
29030         definitions.
29031         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
29033         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
29035 2013-01-15  David S. Miller  <davem@davemloft.net>
29037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29038         trunc{,f} to libm-sysdep_routes.
29039         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29040         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
29041         file.
29042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
29043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
29044         file.
29045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
29046         file.
29047         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
29048         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
29049         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
29050         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
29051         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
29052         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
29053         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
29054         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
29056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29057         nearbyint{,f} to libm-sysdep_routes.
29058         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
29060         New file.
29061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
29062         file.
29063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
29064         New file.
29065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
29066         file.
29067         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
29068         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
29069         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
29070         file.
29071         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
29072         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
29073         file.
29074         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
29075         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
29076         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
29078         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29079         libc_feholdexcept and libc_fesetenv.
29081 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
29083         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
29085 2013-01-14  David S. Miller  <davem@davemloft.net>
29087         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
29088         (SPARC_ASM_VIS2_IFUNC): Likewise.
29089         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
29090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
29091         use of 'siam' instruction.
29092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
29093         Likewise.
29094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
29095         Likewise.
29096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
29097         Likewise.
29098         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
29099         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
29100         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
29101         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
29102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
29103         file.
29104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
29105         file.
29106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
29107         file.
29108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
29109         file.
29110         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
29111         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
29112         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
29113         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
29114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
29115         new VIS2 routines.
29116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
29117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
29118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
29119         Likewise.
29120         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
29121         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
29122         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
29123         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
29124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
29125         routines to libm-sysdep_routines.
29126         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29129         fdim/fdimf to libm-sysdep_routines.
29130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
29131         file.
29132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
29133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
29134         file.
29135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
29136         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
29137         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
29138         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
29139         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
29140         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
29141         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
29143 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29145         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
29146         to optimize copies.
29148         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
29149         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29150         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29152         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
29153         local variable MPTWO.
29154         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29155         Likewise.
29157 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
29159         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
29160         GLOB_NOESCAPE.
29162 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
29164         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
29166 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
29168         * manual/pattern.texi (glob_t): Document gl_flags.
29169         (glob64_t): Likewise.
29171 2013-01-11  David S. Miller  <davem@davemloft.net>
29173         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
29174         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
29175         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
29176         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
29177         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
29178         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
29179         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
29180         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
29181         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
29182         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
29183         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
29184         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
29185         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
29187         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
29188         sparc V9 rather than using V8 code.
29189         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29190         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29192         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
29193         Move to...
29194         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
29195         Here.
29197 2013-01-11  Roland McGrath  <roland@hack.frob.com>
29199         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
29200         not in the main loop.
29201         * configure: Regenerated.
29203 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
29205         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
29206         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
29207         to just #else.
29208         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
29209         [!__GLIBC_HAVE_LONG_LONG] case.
29210         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
29211         condition to just #else.
29212         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
29213         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
29214         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
29215         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
29216         unconditional.
29217         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
29218         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
29219         #elif condition to just #else.
29220         * sysdeps/unix/sysv/linux/sys/sysmacros.h
29221         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
29222         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
29223         #elif condition to just #else.
29225 2013-01-11  Steve Ellcey  <sellcey@mips.com>
29227         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
29228         (EF_MIPS_ARCH_64): Fix value.
29229         (EF_MIPS_ARCH_32R2): New.
29230         (EF_MIPS_ARCH_64R2): New.
29232 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
29234         * Makeconfig (+link-pie-before-libc): New.
29235         (+link-pie-after-libc): Likewise.
29236         (+link-pie-tests): Likewise.
29237         (+link-pie): Rewritten.
29238         (link-before-libc): Remove $(config-LDFLAGS).
29239         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
29240         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
29241         (config-LDFLAGS): Renamed to ...
29242         (rtld-LDFLAGS): This.
29243         (rtld-tests-LDFLAGS): New macro.
29244         (link-libc-rpath-link): Likewise.
29245         (link-libc-tests-rpath-link): Likewise.
29246         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
29247         (link-libc): Prepand $(link-libc-rpath-link).
29248         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
29249         (test-program-prefix): New macro.
29250         (test-via-rtld-prefix): Likewise.
29251         (test-program-cmd): Likewise.
29252         (host-test-program-cmd): Likewise.
29253         * Makefile ($(common-objpfx)testrun.sh): Replace
29254         $(run-program-prefix) with $(test-program-prefix).
29255         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
29256         $(rtld-LDFLAGS).
29257         ($(common-objpfx)shlib.lds): Likewise.
29258         (build-module-helper): Likewise.
29259         ($(common-objpfx)format.lds): Likewise.
29260         * Rules (binaries-pie-tests): New.
29261         (binaries-pie-notests): Likewise.
29262         (binaries-pie): Rewritten.
29263         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
29264         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
29265         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
29266         (make-test-out): Replace $(host-built-program-cmd) with
29267         $(host-test-program-cmd).
29268         * config.make.in (build-hardcoded-path-in-tests): New variable.
29269         * configure.in (--enable-hardcoded-path-in-tests): New configure
29270         option.
29271         (hardcoded_path_in_tests): New AC_SUBST.
29272         * configure: Regenerated.
29273         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
29274         $(built-program-cmd) with $(test-program-cmd).
29275         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
29276         (test_program_cmd): This.
29277         * elf/Makefile ($(objpfx)order.out): Run test with
29278         $(test-program-prefix).
29279         ($(objpfx)order2.out): Likewise.
29280         ($(objpfx)tst-initorder.out): Likewise.
29281         ($(objpfx)tst-initorder2.out): Likewise.
29282         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
29283         $(test-program-cmd).
29284         ($(objpfx)tst-array1-static.out): Likewise.
29285         ($(objpfx)tst-array2.out): Likewise.
29286         ($(objpfx)tst-array3.out): Likewise.
29287         ($(objpfx)tst-array4.out): Likewise.
29288         ($(objpfx)tst-array5.out): Likewise.
29289         ($(objpfx)tst-array5-static.out): Likewise.
29290         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
29291         $(test-program-cmd).
29292         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
29293         $(run-program-prefix) with $(test-program-prefix).
29294         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
29295         (test_program_prefix): This.
29296         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
29297         $(run-program-prefix) with $(test-program-prefix).
29298         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
29299         (test_program_prefix): This.
29300         * iconvdata/tst-tables.sh: Likewise.
29301         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
29302         $(run-program-prefix) with $(test-program-prefix).
29303         ($(objpfx)tst-translit.out): Likewise.
29304         ($(objpfx)tst-gettext2.out): Likewise.
29305         ($(objpfx)tst-gettext4.out): Likewise.
29306         ($(objpfx)tst-gettext6.out): Likewise.
29307         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
29308         (test_program_prefix): This.
29309         * intl/tst-gettext2.sh: Likewise.
29310         * intl/tst-gettext4.sh  Likewise.
29311         * intl/tst-gettext6.sh: Likewise.
29312         * intl/tst-translit.sh: Likewise.
29313         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
29314         with $(test-program-cmd).
29315         * libio/Makefile ($(objpfx)test-freopen.out): Replace
29316         $(run-program-prefix) with $(test-program-prefix).
29317         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
29318         (test_program_prefix): This.
29319         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
29320         $(run-program-prefix) with $(test-program-prefix).
29321         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
29322         (test_program_prefix): This.
29323         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
29324         * posix/Makefile ($(objpfx)globtest.out): Replace
29325         $(run-via-rtld-prefix) and $(test-wrapper) with
29326         $(test-program-prefix) and $(test-via-rtld-prefix).
29327         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
29328         $(test-program-prefix).
29329         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
29330         $(host-test-program-cmd).
29331         (tst-spawn-ARGS): Likewise.
29332         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
29333         $(test-program-prefix).
29334         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
29335         (test_via_rtld_prefix): This.
29336         (test_wrapper): Renamed to ...
29337         (test_program_prefix): This.
29338         (run_program_prefix): Replaced by test_program_prefix.
29339         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
29340         (test_program_prefix): This.
29341         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
29342         with $(host-test-program-cmd).
29343         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
29344         $(run-program-prefix) with $(test-program-prefix).
29345         ($(objpfx)tst-printf.out): Likewise.
29346         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
29347         $(test-program-cmd).
29348         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
29349         (test_program_prefix): This.
29350         * stdio-common/tst-unbputc.sh: Likewise.
29351         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
29352         $(run-program-prefix) with $(test-program-prefix).
29353         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
29354         (test_program_prefix): This.
29355         * string/Makefile ($(objpfx)tst-svc.out):  Replace
29356         $(built-program-cmd) with $(test-program-cmd).
29358 2013-01-11  Andreas Jaeger  <aj@suse.de>
29360         [BZ #15003]
29361         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
29362         value. Sync with Linux 3.7.
29364 2013-01-10  David S. Miller  <davem@davemloft.net>
29366         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
29367         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29368         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29370 2013-01-10  Roland McGrath  <roland@hack.frob.com>
29372         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
29373         never set.
29374         * configure: Regenerated.
29376 2013-01-10  David S. Miller  <davem@davemloft.net>
29378         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
29379         sparc V9 rather than using V8 code.
29380         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29381         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29383 2013-01-10  Roland McGrath  <roland@hack.frob.com>
29385         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
29386         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
29387         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
29388         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
29389         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
29390         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
29391         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
29392         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
29393         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
29394         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
29395         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
29396         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
29397         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
29398         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
29399         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
29400         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
29401         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
29402         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
29403         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
29404         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
29405         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
29406         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
29407         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
29408         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
29409         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
29410         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
29411         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
29413 2013-01-10  David S. Miller  <davem@davemloft.net>
29415         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29417 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
29419         * posix/Makefile (tests-static): New variable.
29420         (tests): Add $(tests-static).
29421         (tst-exec-static-ARGS): New variable.
29422         (tst-spawn-static-ARGS): Likewise.
29423         * posix/tst-exec-static.c: New file.
29424         * posix/tst-spawn-static.c: Likewise.
29425         * posix/tst-exec.c: Support run directly.
29426         * posix/tst-spawn.c: Likewise.
29428 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
29430         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
29431         long.
29432         * math/bits/mathcalls.h (llrint): Likewise.
29433         (llround): Likewise.
29434         * stdlib/stdlib.h (struct drand48_data): Likewise.
29435         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
29436         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
29437         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
29438         Likewise.
29439         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
29440         Likewise.
29441         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
29442         (elf_greg_t): Likewise.
29443         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
29444         (__jmp_buf): Likewise.
29445         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
29446         definitions.
29447         (llrint): Likewise, for all definitions.
29448         (llrintl): Likewise.
29450         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
29451         Remove [__GNUC__] condition.
29452         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
29453         condition to just [__USE_ISOC99].
29454         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
29456 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
29458         [BZ #14200]
29459         * sysdeps/unix/sysv/linux/x86/bits/environments.h
29460         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
29461         defined.
29462         (_POSIX_V6_ILP32_OFF32): Likewise.
29463         (_XBS5_ILP32_OFF32): Likewise.
29464         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
29465         (__ILP32_OFFBIG_LDFLAGS): Likewise.
29467 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29469         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
29471         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
29472         doubles __mpexp_twomm1.  Adjust usage.
29473         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
29474         Remove.
29476 2013-01-10  Andreas Schwab  <schwab@suse.de>
29478         [BZ #14964]
29479         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
29480         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
29482 2013-01-09  David S. Miller  <davem@davemloft.net>
29484         [BZ #15003]
29485         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
29486         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
29487         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
29488         (TCP_FASTOPEN): Define.
29489         (tcp_repair_opt): New structure.
29490         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
29491         enum values.
29492         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
29493         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
29494         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
29495         (tcp_cookie_transactions): New structure.
29497 2013-01-09  Anton Blanchard  <anton@samba.org>
29499         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
29500         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
29501         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
29502         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
29504 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
29506         * include/features.h (__USE_ANSI): Remove.
29508 2013-01-09  Roland McGrath  <roland@hack.frob.com>
29510         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
29512         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
29514 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
29516         * sysdeps/s390/fpu/libm-test-ulps: Update.
29518         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29520         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
29521         (__acr): Likewise.
29522         (__cpy): Likewise.
29523         (norm): Likewise.
29524         (denorm): Likewise.
29525         (__mp_dbl): Likewise.
29526         (__dbl_mp): Likewise.
29527         (add_magnitudes): Likewise.
29528         (sub_magnitudes): Likewise.
29529         (__add): Likewise.
29530         (__sub): Likewise.
29531         (__mul): Likewise.
29532         (__inv): Likewise.
29533         (__dvd): Likewise.
29534         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
29535         (__acr): Likewise.
29536         (__cpy): Likewise.
29537         (norm): Likewise.
29538         (denorm): Likewise.
29539         (__mp_dbl): Likewise.
29540         (__dbl_mp): Likewise.
29541         (add_magnitudes): Likewise.
29542         (sub_magnitudes): Likewise.
29543         (__add): Likewise.
29544         (__sub): Likewise.
29545         (__mul): Likewise.
29546         (__inv): Likewise.
29547         (__dvd): Likewise.
29548         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
29549         (__acr): Likewise.
29550         (__cpy): Likewise.
29551         (norm): Likewise.
29552         (denorm): Likewise.
29553         (__mp_dbl): Likewise.
29554         (__dbl_mp): Likewise.
29555         (add_magnitudes): Likewise.
29556         (sub_magnitudes): Likewise.
29557         (__add): Likewise.
29558         (__sub): Likewise.
29559         (__mul): Likewise.
29560         (__inv): Likewise.
29561         (__dvd): Likewise.
29563 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
29565         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
29566         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
29567         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
29568         2 && __USE_EXTERN_INLINES]: Likewise.
29570 2013-01-08  Andreas Jaeger  <aj@suse.de>
29572         [BZ# 14985]
29573         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
29574         Remove.
29575         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
29576         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
29578 2013-01-07  Anton Blanchard  <anton@samba.org>
29580         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
29581         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
29582         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
29583         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
29584         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
29585         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29586         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
29587         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
29588         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29589         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29590         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29591         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29592         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29593         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29594         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
29595         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29596         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29597         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29598         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
29599         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
29600         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
29601         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
29602         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29603         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
29604         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
29605         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
29606         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29607         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
29608         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
29609         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29610         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
29611         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29612         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29613         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
29614         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
29615         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29616         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29617         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29618         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
29619         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
29620         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
29621         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29622         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
29624 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
29626         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
29627         (__MALLOC_PMT): Likewise.
29628         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
29629         [__GNUC__], only on [_LIBC].
29630         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
29631         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
29632         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
29633         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
29634         forward declaration.
29635         (realloc_hook_ini): Likewise.
29636         (memalign_hook_ini): Likewise.
29637         (__libc_memalign): Do not use __MALLOC_PMT in variable
29638         declaration.
29639         (__libc_valloc): Likewise.
29640         (__libc_pvalloc): Likewise.
29641         (__libc_calloc): Likewise.
29642         (__posix_memalign): Likewise.
29644         [BZ #14996]
29645         * math/s_casinh.c: Include <float.h>.
29646         (__casinh): Do not do computation with squaring and square root
29647         for large arguments.
29648         * math/s_casinhf.c: Include <float.h>.
29649         (__casinhf): Do not do computation with squaring and square root
29650         for large arguments.
29651         * math/s_casinhl.c: Include <float.h>.
29652         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
29653         (__casinhl): Do not do computation with squaring and square root
29654         for large arguments.
29655         * math/libm-test.inc (casin_test): Add more tests.
29656         (casinh_test): Likewise.
29657         * sysdeps/i386/fpu/libm-test-ulps: Update.
29658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29660 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
29662         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
29663         (__x86_64_raw_data_cache_size): Likewise.
29664         (__x86_64_data_cache_size_half): Likewise.
29665         (__x86_64_raw_data_cache_size_half): Likewise.
29666         (__x86_64_shared_cache_size): Likewise.
29667         (__x86_64_raw_shared_cache_size): Likewise.
29668         (__x86_64_shared_cache_size_half): Likewise.
29669         (__x86_64_raw_shared_cache_size_half): Likewise.
29670         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
29671         to ...
29672         (__x86_data_cache_size): This.
29673         (__x86_64_raw_data_cache_size): Renamed to ...
29674         (__x86_raw_data_cache_size): This.
29675         (__x86_64_data_cache_size_half): Renamed to ...
29676         (__x86_data_cache_size_half): This.
29677         (__x86_64_raw_data_cache_size_half): Renamed to ...
29678         (__x86_raw_data_cache_size_half): This.
29679         (__x86_64_shared_cache_size): Renamed to ...
29680         (__x86_shared_cache_size): This.
29681         (__x86_64_raw_shared_cache_size): Renamed to ...
29682         (__x86_raw_shared_cache_size): This.
29683         (__x86_64_shared_cache_size_half): Renamed to ...
29684         (__x86_shared_cache_size_half): This.
29685         (__x86_64_raw_shared_cache_size_half): Renamed to ...
29686         (__x86_raw_shared_cache_size_half): This.
29687         * sysdeps/x86_64/memcpy.S: Updated.
29688         * sysdeps/x86_64/memset.S: Likewise.
29689         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
29690         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29691         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29693 2013-01-04  David S. Miller  <davem@davemloft.net>
29695         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29697 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
29699         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
29700         1 to avoid redefinition warning.
29701         (__USE_GNU): Don't define.
29702         (init_signaling_nan): Protoize.
29704         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29706 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29708         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
29709         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
29710         (__cpymn): Likewise.
29711         (norm): Remove commented code.
29712         (denorm): Likewise.
29713         (__mp_dbl): Likewise.
29714         (__inv): Likewise.
29715         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
29716         (__cpymn): Likewise.
29717         (norm): Remove commented code.
29718         (denorm): Likewise.
29719         (__mp_dbl): Likewise.
29720         (__inv): Likewise.
29722         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
29723         mp_no value for 1.0 and 2.0.
29724         (norm): Use RADIXI instead of radixi.d.
29725         (denorm): Likewise.
29726         (__mul): Use 0.0 instead of zero.d.
29727         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
29728         mp_no value for 1.0 and 2.0.
29729         (norm): Use RADIXI instead of radixi.d.
29730         (denorm): Likewise.
29731         (__mul): Use 0.0 instead of zero.d.
29733 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
29735         [BZ #14994]
29736         * math/s_casinh.c (__casinh): Reduce finite argument to first
29737         quadrant then set signs of results at the end.
29738         * math/s_casinhf.c (__casinhf): Likewise.
29739         * math/s_casinhl.c (__casinhl): Likewise.
29740         * math/libm-test.inc (casin_test): Add more tests.
29741         (casinh_test): Likewise.
29742         * sysdeps/i386/fpu/libm-test-ulps: Update.
29743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29745 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29747         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
29749         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
29751         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
29752         declarations.
29753         (denorm): Likewise.
29754         (__mp_dbl): Likewise.
29755         (__inv): Likewise.
29757         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
29758         and adjust the header comment.
29760         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
29761         variable name from declaration.
29763 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
29765         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29766         Initialize COMMON_CPUID_INDEX_7 element.
29767         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
29768         (CPUID_RTM): Likewise.
29769         (HAS_RTM): Likewise.
29770         (COMMON_CPUID_INDEX_7): New enum.
29772 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
29774         [BZ #14981]
29775         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
29776         size is zero, record memory as freed.
29778 2013-01-03  Andreas Jaeger  <aj@suse.de>
29780         * po/ia.po: Add new Interlingua translation.
29782 2012-01-03  Allan McRae  <allan@archlinux.org>
29784         * locale/programs/localedef.c: Fix description of '--posix' flag.
29786 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
29788         * NEWS: Update dates in second copyright notice.
29789         * README: Update copyright dates in example.
29790         * manual/libc.texinfo: Update copyright dates.
29791         * scripts/test-installation.pl: Update copyright date in --version
29792         output.
29794         * hurd/ctty-input.c: Fix copyright notice formatting.
29795         * hurd/ctty-output.c: Likewise.
29796         * hurd/dtable.c: Likewise.
29797         * hurd/hurd-raise.c: Likewise.
29798         * hurd/hurdprio.c: Likewise.
29799         * hurd/msgportdemux.c: Likewise.
29800         * misc/sys/file.h: Likewise.
29801         * misc/sys/ioctl.h: Likewise.
29802         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
29803         * sysdeps/mach/hurd/chdir.c: Likewise.
29804         * sysdeps/mach/hurd/fchdir.c: Likewise.
29805         * sysdeps/mach/hurd/rename.c: Likewise.
29806         * sysdeps/mach/hurd/rmdir.c: Likewise.
29807         * sysdeps/mach/hurd/seekdir.c: Likewise.
29808         * sysdeps/mach/hurd/setsid.c: Likewise.
29809         * sysdeps/posix/wait3.c: Likewise.
29811         * All files with FSF copyright notices: Update copyright dates
29812         using scripts/update-copyrights.
29813         * intl/plural.c: Regenerated.
29814         * locale/programs/charmap-kw.h: Likewise.
29815         * locale/programs/locfile-kw.h: Likewise.
29817 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29819         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
29820         four values.
29822         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
29823         calculation loop and add branch prediction.
29825         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
29826         check access beyond bounds of m1np.
29828         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
29829         MPTWO.
29830         (__inv): Remove local variable MPTWO to use the global
29831         constant.
29832         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
29833         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
29834         variable MPTWO.
29835         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
29836         MP3HALFS static const.
29838 2013-01-01  David S. Miller  <davem@davemloft.net>
29840         * po/ca.po: Update from translation team.
29842 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
29844         * scripts/update-copyrights: New file.
29845         * Makeconfig: Reformat copyright notice.
29846         * ctype/ctype.h: Likewise.
29847         * debug/swprintf_chk.c: Likewise.
29848         * elf/dl-cache.c: Likewise.
29849         * elf/dl-debug.c: Likewise.
29850         * elf/dl-object.c: Likewise.
29851         * grp/initgroups.c: Likewise.
29852         * hurd/Makefile: Likewise.
29853         * hurd/hurd/signal.h: Likewise.
29854         * hurd/hurdfault.c: Likewise.
29855         * hurd/hurdioctl.c: Likewise.
29856         * hurd/hurdlookup.c: Likewise.
29857         * hurd/intr-msg.c: Likewise.
29858         * iconv/gconv_open.c: Likewise.
29859         * libio/swprintf.c: Likewise.
29860         * locale/lc-ctype.c: Likewise.
29861         * locale/nl_langinfo.c: Likewise.
29862         * mach/Machrules: Likewise.
29863         * mach/Makefile: Likewise.
29864         * malloc/obstack.h: Likewise.
29865         * manual/Makefile: Likewise.
29866         * manual/tsort.awk: Likewise.
29867         * misc/bits/stab.def: Likewise.
29868         * nis/nis_print_group_entry.c: Likewise.
29869         * nis/nis_table.c: Likewise.
29870         * nis/nss_compat/compat-pwd.c: Likewise.
29871         * nis/nss_compat/compat-spwd.c: Likewise.
29872         * po/Makefile: Likewise.
29873         * posix/fnmatch.c: Likewise.
29874         * posix/regex.h: Likewise.
29875         * resolv/Makefile: Likewise.
29876         * resolv/nss_dns/dns-network.c: Likewise.
29877         * resolv/res_hconf.c: Likewise.
29878         * scripts/gen-sorted.awk: Likewise.
29879         * soft-fp/soft-fp.h: Likewise.
29880         * stdio-common/printf.h: Likewise.
29881         * stdlib/monetary.h: Likewise.
29882         * stdlib/random.c: Likewise.
29883         * stdlib/random_r.c: Likewise.
29884         * sysdeps/generic/Makefile: Likewise.
29885         * sysdeps/gnu/Makefile: Likewise.
29886         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29887         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29888         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29889         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29890         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29891         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29892         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29893         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29894         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29895         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29896         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29897         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29898         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29899         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29900         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
29901         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29902         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29903         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29904         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29905         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29906         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29907         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29908         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29909         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
29910         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
29911         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29912         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
29913         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
29914         * sysdeps/mach/hurd/errnos.awk: Likewise.
29915         * sysdeps/mach/hurd/fork.c: Likewise.
29916         * sysdeps/mach/hurd/getcwd.c: Likewise.
29917         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
29918         * sysdeps/mach/hurd/mmap.c: Likewise.
29919         * sysdeps/mach/hurd/utimes.c: Likewise.
29920         * sysdeps/mach/hurd/xmknod.c: Likewise.
29921         * sysdeps/posix/profil.c: Likewise.
29922         * sysdeps/posix/readdir_r.c: Likewise.
29923         * sysdeps/powerpc/bits/mathdef.h: Likewise.
29924         * sysdeps/powerpc/bits/setjmp.h: Likewise.
29925         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
29926         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
29927         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29928         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29929         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29930         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29931         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29932         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29933         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29934         * sysdeps/pthread/lio_listio.c: Likewise.
29935         * sysdeps/sparc/dl-procinfo.h: Likewise.
29936         * sysdeps/unix/i386/sysdep.S: Likewise.
29937         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
29938         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
29939         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
29940         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
29941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29942         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
29943         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
29944         * sysdeps/unix/sysv/linux/speed.c: Likewise.
29945         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
29946         * sysdeps/wordsize-32/divdi3.c: Likewise.
29947         * time/sys/time.h: Likewise.
29948         * wcsmbs/Makefile: Likewise.
29950 2013-01-01  David S. Miller  <davem@davemloft.net>
29952         * po/fr.po: Update from translation team.
29954         * catgets/gencat.c: Update copyright year.
29955         * csu/version.c: Likewise.
29956         * debug/catchsegv.sh: Likewise.
29957         * debug/pcprofiledump.c: Likewise.
29958         * debug/xtrace.sh: Likewise.
29959         * elf/ldconfig.c: Likewise.
29960         * elf/ldd.bash.in: Likewise.
29961         * elf/pldd.c: Likewise.
29962         * elf/sotruss.ksh: Likewise.
29963         * elf/sprof.c: Likewise.
29964         * iconv/iconv_prog.c: Likewise.
29965         * iconv/iconvconfig.c: Likewise.
29966         * locale/programs/locale.c: Likewise.
29967         * locale/programs/localedef.c: Likewise.
29968         * login/programs/pt_chown.c: Likewise.
29969         * malloc/memusage.sh: Likewise.
29970         * malloc/memusagestat.c: Likewise.
29971         * malloc/mtrace.pl: Likewise.
29972         * nscd/nscd.c: Likewise.
29973         * nss/getent.c: Likewise.
29974         * nss/makedb.c: Likewise.
29975         * posix/getconf.c: Likewise.
29977 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
29979         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
29980         numbers.
29982 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
29984         * math/bits/mathcalls.h (modf): Use __nonnull.
29986 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29988         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
29989         (split): Use macro CN instead of the bare value.
29990         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
29991         could be used.
29992         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
29993         instead of the bare value.
29994         (power1): Likewise.
29996 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29998         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
29999         __ATAN_TWOM.
30000         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30002         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
30003         their values.
30004         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
30005         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30006         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
30007         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
30009 2012-12-28  Andreas Jaeger  <aj@suse.de>
30011         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
30012         values are from Linux 3.7.
30014         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
30015         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
30017 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30019         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
30020         TRUE case.
30022         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
30023         (norm): Likewise.
30024         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
30025         variables with preprocessor constants.
30026         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30027         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
30028         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
30030 2012-12-27  Bruno Haible  <bruno@clisp.org>
30032         [BZ #14317]
30033         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
30034         only if needed.
30036 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30038         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
30039         and use variable directly.
30040         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
30042         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
30043         MPONE.
30044         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
30045         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
30046         variable MPONE.
30047         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30048         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30049         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
30050         include directive.  Remove local variable MPONE.
30051         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
30052         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
30053         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30055 2012-12-25  David S. Miller  <davem@davemloft.net>
30057         * version.h (RELEASE): Set to "development".
30058         (VERSION): Set to "2.17.90".
30059         * NEWS: Add 2.18 section.
30061 2012-12-21  David S. Miller  <davem@davemloft.net>
30063         * po/hr.po: Update from translation team.
30065 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30067         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
30069 2012-12-19  Steve Ellcey  <sellcey@mips.com>
30071         * NEWS:  Mention new memcpy for MIPS.
30073 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30075         * manual/contrib.texi (Contributors): Spelling correction.
30077 2012-12-15  David S. Miller  <davem@davemloft.net>
30079         * po/ru.po: Update from translation team.
30081 2012-12-13  David S. Miller  <davem@davemloft.net>
30083         * NEWS: Mention IFUNC testsuite enhancements.
30085         * po/pl.po: Update from translation team.
30086         * po/bg.po: Likewise.
30088         * manual/contrib.texi (Contributors): Update entries for Hongjiu
30089         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
30091 2012-12-11  David S. Miller  <davem@davemloft.net>
30093         * po/sv.po: Update from translation team.
30095         * po/vi.po: Update from translation team.
30097         * po/cs.po: Update from translation team.
30099         * po/de.po: Update from translation team.
30100         * po/eo.po: Likewise.
30101         * po/nl.po: Likewise.
30103 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30105         [BZ #14246]
30106         * manual/argp.texi (Argp Helper Functions): Move node to follow
30107         Argp Parsing State.
30109         [BZ #14872]
30110         * manual/conf.texi (Limits on File System Capacity): Mention if
30111         terminating null is included in the max size.
30113 2012-12-10  Andreas Jaeger  <aj@suse.de>
30115         * po/cs.po: Update from translation team.
30117 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
30119         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
30120         void pointer and cast to uintptr_t.
30121         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
30122         path.
30123         * sysdeps/s390/s390-64/memcpy.S: Likewise.
30124         * sysdeps/s390/s390-64/memset.S: Likewise.
30126 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
30128         [BZ #14833]
30129         * menual/message.texi (Message Translation): Fix typos.
30130         (Helper programs for gettext): Likewise.
30132 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
30134         [BZ #14898]
30135         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
30136         Change to -1.
30138 2012-12-07  David S. Miller  <davem@davemloft.net>
30140         * po/libc.pot: Update.
30142 2012-12-07  Richard Henderson  <rth@redhat.com>
30144         [BZ #10114]
30145         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
30146         normal/normal case to before the switch.
30147         (_FP_DIV): Likewise.
30149 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
30150             Mike Frysinger  <vapier@gentoo.org>
30152         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
30153         check for __NR_fadvise64_64.
30155 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
30157         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
30158         0, not just to plain "0" as a statement.
30159         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
30160         with cw.
30162 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
30164         * NEWS: Use sourceware.org in Bugzilla URL.
30166 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
30168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30169         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
30171         * stdio-common/tst-put-error.c (do_test): Add newline to the
30172         padded test to ensure flush.
30174 2012-12-05  Jeff Law  <law@redhat.com>
30176         * sunrpc/etc.rpc (fedfs_admin): Add entry.
30178 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
30180         * README: Don't refer to ports add-on as distributed separately.
30181         Mention AArch64 in list of systems supported in the ports add-on.
30183         * LICENSES: Add more non-FSF copyright and license notices.
30185         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
30186         ((unused)).
30188         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
30190         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
30191         10000 as width of padded output.
30193 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
30195         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
30197         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
30198         variable LX with __attribute__ ((unused)).
30199         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30200         Likewise.
30201         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
30202         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30203         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
30204         with __attribute__ ((unused)).
30206 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
30208         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
30210 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
30212         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
30213         (CFLAGS-nldbl-acos.c): New variable.
30214         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
30215         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
30216         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
30217         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
30218         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
30219         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
30220         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
30221         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
30222         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
30223         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
30224         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
30225         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
30226         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
30227         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
30228         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
30229         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
30230         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
30231         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
30232         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
30233         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
30234         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
30235         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
30236         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
30237         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
30238         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
30239         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
30240         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
30241         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
30242         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
30243         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
30244         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
30245         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
30246         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
30247         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
30248         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
30249         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
30250         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
30251         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
30252         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
30253         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
30254         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
30255         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
30256         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
30257         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
30258         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
30259         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
30260         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
30261         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
30262         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
30263         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
30264         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
30265         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
30266         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
30267         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
30268         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
30269         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
30270         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
30271         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
30272         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
30273         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
30274         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
30275         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
30276         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
30277         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
30278         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
30279         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
30280         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
30281         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
30282         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
30283         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
30284         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
30285         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
30286         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
30287         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
30288         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
30289         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
30290         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
30291         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
30292         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
30293         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
30294         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
30295         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
30296         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
30297         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
30298         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
30299         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
30300         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
30301         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
30302         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
30303         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
30304         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
30305         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
30306         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
30307         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
30308         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
30309         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
30310         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
30312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30313         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
30315         [BZ #14914]
30316         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
30317         whole low double instead of just low 47 bits when splitting values
30318         into two parts.
30320 2012-12-03  Allan McRae  <allan@archlinux.org>
30322         * manual/stdio.texi (Predefined Printf Handlers): Remove
30323         @hsep and @vsep usage.
30325 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
30327         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
30328         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
30330 2012-12-03  Jeff Law  <law@redhat.com>
30332         * time/sys/time.h (settimeofday): Do not mark TV argument
30333         as __nonnull.
30335 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
30337         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
30338         when currently writing and seek to current position when not.
30339         * libio/Makefile (tests): Remove bug-fclose1.
30340         * libio/bug-fclose1.c: Delete.
30342 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
30344         * manual/arith.texi (feenableexcept): Fix typo.
30345         (fedisableexcept): Likewise.
30347 2012-11-30  Roland McGrath  <roland@hack.frob.com>
30349         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
30350         second, differently-typed declaration, rather than a cast.
30352 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
30354         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
30355         * include/rpc/svc.h: ... here.
30357 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
30359         [BZ #13013]
30360         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
30361         depending n and resplen2 to catch cases where answer
30362         equals answerp2.
30364 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
30366         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
30367         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
30369 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
30371         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
30373 2012-11-29  Roland McGrath  <roland@hack.frob.com>
30375         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
30377 2012-11-28  Jeff Law  <law@redhat.com>
30379         [BZ #13761]
30380         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
30381         dataset_temporary.  Track alloca usage into alloca_used.
30382         If dataset is large allocate and release it via malloc/free.
30384 2012-06-04  Florian Weimer  <fweimer@redhat.com>
30386         [BZ #14197]
30387         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
30389 2012-11-28  David S. Miller  <davem@davemloft.net>
30391         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30393 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
30395         [BZ #14803]
30396         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
30397         of pi/2 rounded to nearest to 64 bits.
30398         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
30399         nearest to 64 bits.
30400         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
30401         bits.
30403 2012-11-28  Jeff Law <law@redhat.com>
30404             Martin Osvald <mosvald@redhat.com>
30406         [BZ #14889]
30407         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
30408         * sunrpc/svc.c: Include time.h.
30409         (__svc_accept_failed): New function.
30410         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
30411         any reason other than EINTR, call __svc_accept_failed.
30412         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
30413         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
30415 2012-11-28  Andreas Schwab  <schwab@suse.de>
30417         * scripts/abilist.awk: Also handle indirect functions in .opd
30418         section.
30420 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
30422         [BZ #13881]
30423         * sysdeps/x86/fpu/powl_helper.c: New file.
30424         * sysdeps/x86/fpu/Makefile: Likewise.
30425         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
30426         (p3): New object.
30427         (__ieee754_powl): Use __powl_helper for finite arguments except
30428         integer exponents below 8.
30429         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
30430         (p3): New object.
30431         (__ieee754_powl): Use __powl_helper for finite arguments except
30432         integer exponents below 8.
30433         * math/libm-test.inc (pow_test): Add more tests and enable some
30434         previously disabled tests.
30435         * sysdeps/i386/fpu/libm-test-ulps: Update.
30436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30438 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30439             Carlos O'Donell  <carlos_odonell@mentor.com>
30441         * nss/makedb.c (is_prime): Assert that input is odd and greater
30442         than 4.  Note that fact in a comment too.
30443         (next_prime): Add 4 to input.
30445 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30447         [BZ #11741]
30448         * libio/Makefile (tests): Add test case tst-fwrite-error.
30449         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
30450         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
30451         * libio/tst-fwrite-error.c: New test case.
30453 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
30455         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
30456         before casting to void *.
30457         * include/libc-internal.h (__pointer_type): New macro.
30458         (__integer_if_pointer_type_sub): Likewise.
30459         (__integer_if_pointer_type): Likewise.
30460         (cast_to_integer): Likewise.
30461         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
30462         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
30463         before casting to atomic64_t.
30464         (atomic_exchange_acq): Likewise.
30465         (__arch_exchange_and_add_body): Likewise.
30466         (__arch_add_body): Likewise.
30467         (atomic_add_negative): Likewise.
30468         (atomic_add_zero): Likewise.
30470 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
30472         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
30473         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
30474         (add_fdes): Likewise.
30475         (linear_search_fdes): Likewise.
30476         (binary_search_unencoded_fdes): Likewise.
30478 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
30480         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
30482 2012-11-24  Adam Conrad  <adconrad@0c3.net>
30484         * configure.in: Autodetect C++ header directories.
30485         * configure: Regenerated.
30487 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
30489         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
30491 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
30493         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30495 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
30497         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
30498         LDBL_MANT_DIG == 106]: Disable some tests.
30499         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
30500         Likewise.
30501         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
30502         Likewise.
30504         [BZ #14871]
30505         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
30506         input for small inputs.  Return +/- pi/2 for large inputs.
30507         * math/libm-test.inc (atan_test): Add more tests.
30509         * sysdeps/generic/unwind-dw2-fde-glibc.c
30510         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
30511         __attribute__ ((unused)).
30513         [BZ #14645]
30514         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
30515         x * y if x and y are nonzero and z is zero.
30517         [BZ #14811]
30518         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
30519         nonzero exponents with absolute value below 0x1p-117 to +/-
30520         0x1p-117.
30522         [BZ #14869]
30523         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
30524         up arguments below 2**-450, not just those below 2**-500.
30525         * math/libm-test.inc (hypot_test): Add another test.
30527         [BZ #14868]
30528         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
30529         Return a+b for ratio over 2**120, not 2**60.
30530         * math/libm-test.inc (hypot_test): Add another test.
30532         * math/libm-test.inc (clog_test): Use
30533         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
30534         (clog10_test): Likewise.
30536         [BZ #6778]
30537         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
30539 2012-11-22  Andreas Schwab  <schwab@suse.de>
30541         * sysdeps/i386/fpu/libm-test-ulps: Update.
30543 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
30545         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
30546         printf output with newline.
30548 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
30550         [BZ #14865]
30551         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
30552         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
30553         -z nodlopen, -z initfirst and -z execstack support.
30554         * configure: Regenerated.
30556         * elf/elf.h (DF_1_NODIRECT): New macro.
30557         (DF_1_IGNMULDEF): Likewise.
30558         (DF_1_NOKSYMS): Likewise.
30559         (DF_1_NOHDR): Likewise.
30560         (DF_1_EDITED): Likewise.
30561         (DF_1_NORELOC): Likewise.
30562         (DF_1_SYMINTPOSE): Likewise.
30563         (DF_1_GLOBAUDIT): Likewise.
30564         (DF_1_SINGLETON): Likewise.
30565         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
30566         DT_1_SUPPORTED_MASK bits.
30567         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
30569 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
30571         * sysdeps/unix/make-syscalls.sh: Document prefixes.
30573 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
30575         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
30576         macro.
30578         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
30579         (sendmmsg): Move declarations...
30580         * socket/sys/socket.h: ... here.
30581         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
30582         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
30583         include it from...
30584         * socket/recvmmsg.c: ... this new file.
30585         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
30586         (sendmmsg): Rename to __sendmmsg, create weak alias and make
30587         definition of __sendmmsg hidden.
30588         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
30589         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
30590         Move ENOSYS stub into and include it from...
30591         * socket/sendmmsg.c: ... this new file.
30592         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
30593         (sysdep_routines): Move recvmmsg and sendmmsg...
30594         * socket/Makefile (routines): ... here.
30595         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
30596         (GLIBC_PRIVATE): Add __sendmmsg.
30597         * include/sys/socket.h (__sendmmsg): Add declarations.
30598         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
30599         sendmmsg.
30601 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
30603         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
30604         variable I1 with __attribute__ ((unused)).
30605         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30607 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
30609         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
30610         DUMMY variables with __attribute__ ((unused)).
30612         * bits/byteswap.h: Include <bits/types.h>.
30613         (__bswap_64): Use __uint64_t instead of unsigned long long int.
30615 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
30617         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
30618         string_t.  Do not manually set errno.
30619         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
30620         length with __strnlen.  Make sure to both set errno and return it on
30621         failure.
30623 2012-11-19  David S. Miller  <davem@davemloft.net>
30625         With help from Joseph Myers.
30626         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
30627         very large arguments properly.
30628         * math/libm-test.inc (atan_test): New tests.
30629         (atan2_test): New tests.
30630         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30631         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30633 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
30635         [BZ #14856]
30636         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
30637         Define to 3.
30639         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
30640         [POSIX] (EADDRNOTAVAIL): Likewise.
30641         [POSIX] (EAFNOSUPPORT): Likewise.
30642         [POSIX] (EALREADY): Likewise.
30643         [POSIX] (ECONNABORTED): Likewise.
30644         [POSIX] (ECONNREFUSED): Likewise.
30645         [POSIX] (ECONNRESET): Likewise.
30646         [POSIX] (EDESTADDRREQ): Likewise.
30647         [POSIX] (EDQUOT): Likewise.
30648         [POSIX] (EHOSTUNREACH): Likewise.
30649         [POSIX] (EIDRM): Likewise.
30650         [POSIX] (EISCONN): Likewise.
30651         [POSIX] (ELOOP): Likewise.
30652         [POSIX] (EMULTIHOP): Likewise.
30653         [POSIX] (ENETDOWN): Likewise.
30654         [POSIX] (ENETUNREACH): Likewise.
30655         [POSIX] (ENOBUFS): Likewise.
30656         [POSIX] (ENODATA): Likewise.
30657         [POSIX] (ENOLINK): Likewise.
30658         [POSIX] (ENOMSG): Likewise.
30659         [POSIX] (ENOPROTOOPT): Likewise.
30660         [POSIX] (ENOSR): Likewise.
30661         [POSIX] (ENOSTR): Likewise.
30662         [POSIX] (ENOTCONN): Likewise.
30663         [POSIX] (ENOTSOCK): Likewise.
30664         [POSIX] (EOPNOTSUPP): Likewise.
30665         [POSIX] (EOVERFLOW): Likewise.
30666         [POSIX] (EPROTO): Likewise.
30667         [POSIX] (EPROTONOSUPPORT): Likewise.
30668         [POSIX] (EPROTOTYPE): Likewise.
30669         [POSIX] (ESTALE): Likewise.
30670         [POSIX] (ETIME): Likewise.
30671         [POSIX] (ETXTBSY): Likewise.
30672         [POSIX] (EWOULDBLOCK): Likewise.
30673         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
30674         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
30675         [POSIX] (SEEK_CUR): Likewise.
30676         [POSIX] (SEEK_END): Likewise.
30677         [POSIX || UNIX98] (mode_t): Do not require.
30678         [POSIX] (off_t): Likewise.
30679         [POSIX] (pid_t): Likewise.
30680         [POSIX] (sys/stat.h): Do not allow header.
30681         [POSIX] (unistd.h): Likewise.
30682         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
30683         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
30684         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
30685         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
30686         require.
30687         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
30688         sigevent): Specify elements.
30689         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
30690         entry.
30691         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
30692         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
30694         * conform/data/cpio.h-data [POSIX]: Disable whole file.
30695         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
30696         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
30697         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
30698         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
30699         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
30700         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
30701         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
30702         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
30703         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
30704         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
30705         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
30706         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
30707         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
30708         Likewise.
30709         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
30710         Likewise.
30711         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
30712         Likewise.
30713         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
30714         Likewise.
30715         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
30716         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
30717         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
30718         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
30719         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
30720         Specify lower bound on value.
30721         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
30722         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
30723         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
30724         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
30725         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
30726         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
30727         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
30728         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
30729         value.
30730         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
30731         as optional.
30732         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
30733         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
30734         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
30735         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
30736         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
30737         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
30738         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
30739         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
30740         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
30741         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
30742         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
30743         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
30744         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
30745         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
30746         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
30747         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
30748         entry.
30749         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
30750         optional.
30751         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
30752         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
30753         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
30754         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
30755         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
30756         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
30757         Likewise.
30758         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
30759         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
30760         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
30761         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
30762         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
30763         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
30764         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
30765         as optional.
30766         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
30767         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
30768         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
30769         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
30770         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
30771         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
30772         specify as optional.
30773         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
30774         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
30775         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
30776         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
30777         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
30778         [XPG3] (NL_LANGMAX): Likewise.
30779         [POSIX || XPG3] (NL_MSGMAX): Likewise.
30780         [POSIX || XPG3] (NL_NMAX): Likewise.
30781         [POSIX || XPG3] (NL_SETMAX): Likewise.
30782         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
30783         [XPG3] (NZERO): Likewise.
30784         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
30785         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
30786         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
30787         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
30788         (REG_ERANGE): Expect.
30789         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
30790         optional-constant.
30791         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
30792         Use (void) in prototype.
30793         [POSIX] (*_t): Allow.
30794         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
30795         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
30796         (WRDE_BADVAL): Expect.
30798         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
30799         expect.
30800         [XPG3 || XPG4] (O_RSYNC): Likewise.
30801         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
30802         Likewise.
30803         [XPG3 || XPG4] (pthread_sigmask): Likewise.
30804         [XPG3 || XPG4] (sigqueue): Likewise.
30805         [XPG3 || XPG4] (sigtimedwait): Likewise.
30806         [XPG3 || XPG4] (sigwaitinfo): Likewise.
30807         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
30808         [XPG3 || XPG4] (vsnprintf): Likewise.
30809         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
30810         Likewise.
30811         [XPG3 || XPG4] (blksize_t): Likewise.
30812         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
30813         Likewise.
30814         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
30815         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
30816         [XPG3 || XPG4] (struct itimerspec): Likewise.
30817         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
30818         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
30819         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
30820         [XPG3 || XPG4] (clockid_t): Likewise.
30821         [XPG3 || XPG4] (timer_t): Likewise.
30822         [XPG3 || XPG4] (clock_getres): Likewise.
30823         [XPG3 || XPG4] (clock_gettime): Likewise.
30824         [XPG3 || XPG4] (clock_settime): Likewise.
30825         [XPG3 || XPG4] (nanosleep): Likewise.
30826         [XPG3 || XPG4] (timer_create): Likewise.
30827         [XPG3 || XPG4] (timer_delete): Likewise.
30828         [XPG3 || XPG4] (timer_gettime): Likewise.
30829         [XPG3 || XPG4] (timer_getoverrun): Likewise.
30830         [XPG3 || XPG4] (timer_settime): Likewise.
30831         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
30832         [XPG3 || XPG4] (getlogin_r): Likewise.
30833         [XPG3 || XPG4] (pread): Likewise.
30834         [XPG3 || XPG4] (pthread_atfork): Likewise.
30835         [XPG3 || XPG4] (pwrite): Likewise.
30837         [BZ #14835]
30838         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
30839         <bits/siginfo.h>.
30841 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
30843         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
30844         finalizing MALLSTREAM.
30846         * sysdeps/mach/hurd/syncfs.c: New file.
30848 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30850         [BZ #14719]
30851         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
30852         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
30853         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
30854         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
30855         (_nss_dns_gethostbyname4_r): Likewise.
30856         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
30857         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
30859 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
30861         [BZ #13763]
30862         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
30864 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
30866         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
30867         * elf/cache.c (print_entry): Print ",AArch64" for
30868         FLAG_AARCH64_LIB64
30870         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
30871         * elf/cache.c (print_entry): Print ",hard-float" for
30872         FLAG_ARM_LIBHF.
30874 2012-11-18  David S. Miller  <davem@davemloft.net>
30876         With help from Joseph Myers.
30877         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
30878         cutoff to 2**-13.
30879         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
30880         cutoff to 2**-25.
30881         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
30882         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
30883         small.
30884         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
30885         * math/libm-test.inc (y0_test): New tests.
30886         (y1_test): New tests.
30887         * sysdeps/i386/fpu/libm-test-ulps: Update.
30888         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30889         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30891 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
30893         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
30894         64-bit targets.
30895         * configure: Regenerated.
30897 2012-11-17  David S. Miller  <davem@davemloft.net>
30899         [BZ #14811]
30900         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
30901         nonzero exponents with absolute value below 0x1p-128 to +/-
30902         0x1p-128.
30904 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
30906         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
30908         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
30910         * posix/getconf-speclist.c: New file.
30911         * posix/posix-envs.def: Likewise.
30912         * posix/confstr.c (START_ENV_GROUP): New macro.
30913         (END_ENV_GROUP): Likewise.
30914         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
30915         (KNOWN_PRESENT_ENV_STRING): Likewise.
30916         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
30917         (UNKNOWN_ENVIRONMENT): Likewise.
30918         (confstr): Include posix-envs.def instead of handling
30919         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
30920         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
30921         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
30922         (END_ENV_GROUP): Likewise.
30923         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
30924         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
30925         (UNKNOWN_ENVIRONMENT): Likewise.
30926         (__sysconf): Include posix-envs.def instead of handling associated
30927         cases directly here.
30928         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
30929         preprocessing getconf-speclist.c rather than running getconf or
30930         generating empty file.
30932 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
30934         * scripts/check-local-headers.sh: Ignore 'mach' headers.
30936 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
30938         [BZ #14672]
30939         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
30941 2012-11-16  David S. Miller  <davem@davemloft.net>
30943         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
30944         smaller than LDBL_EPSILON/2.0L, just return xm1.
30946 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
30948         * elf/tst-array1.c (init): Set constructor priority to 1000.
30949         (fini): Set destructor priority to 1000.
30950         * elf/tst-array2dep.c: Likewise.
30952 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30954         [BZ #11741]
30955         * libio/fileops.c (_IO_new_file_write): Correctly return error.
30956         (_IO_new_file_xsputn): Also return EOF if none of the input
30957         data was written when overflow failed.
30958         * libio/iopadn.c (_IO_padn): Likewise.
30959         * libio/iowpadn.c (_IO_wpadn): Likewise.
30960         * stdio-common/tst-put-error.c: Add copyright notice.
30961         (do_test): Add case for printing padded string.
30962         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
30963         _IO_padn returned error.
30964         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
30965         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
30966         return EOF.
30968 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30970         * libio/libioP.h: Add comment note that the references to C++
30971         bits are now obsolete.
30973 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30975         * math/libm-test.inc (check_complex): Use asprintf.
30977 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
30979         * debug/pcprofiledump.c (print_version): Update copyright year.
30980         * malloc/memusagestat.c (print_version): Likewise.
30982 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
30984         [BZ #14831]
30985         * elf/Makefile (tests): Add tst-audit8.
30986         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
30987         ($(objpfx)tst-audit8.out): New target.
30988         (tst-audit8-ENV): New variable.
30989         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
30990         audit if l_reloc_result is NULL.
30991         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
30992         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
30993         * elf/tst-audit8.c: New file.
30995 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30997         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
30998         * misc/Makefile (CFLAGS-select.c): Define.
30999         * posix/Makefile (CFLAGS-pause.c): Define.
31001 2012-11-13  David S. Miller  <davem@davemloft.net>
31003         * crypt/Makefile: Move test targets after toplevel Rules
31004         inclusion.  Grab any necessary sysdep routines when linking.
31005         * crypt/md5.c (md5_process_block): Remove define, we will always
31006         name it __md5_process_block.
31007         (md5_finish_ctx): Update md5_process_block call.
31008         (md5_stream): Likewise.
31009         (md5_process_bytes): Likewise.
31010         (md5_process_block): Rename to __md5_process_block and move to ...
31011         * crypt/md5-block.c: ... here.
31012         * crypt/sha256.c (sha256_process_block): Move to ...
31013         * crypt/sha256-block.c: ... here.
31014         * crypt/sha512.c (sha512_process_block): Move to ...
31015         * crypt/sha512-block.c: ... here.
31016         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
31017         path.
31018         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
31019         * sysdeps/sparc/sparc64/multiarch/Makefile
31020         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
31021         crypt subdir.
31022         (localedef-aux): Add md5 crypto assembler when in locale subdir.
31023         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
31024         multiarch changes.
31025         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
31026         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
31027         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
31028         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
31029         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
31030         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
31031         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
31032         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
31033         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
31034         file.
31035         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
31036         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
31037         file.
31038         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
31040 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
31042         * timezone/tzselect.ksh: Update from tzcode git revision
31043         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
31044         * timezone/zdump.c: Likewise.
31045         * timezone/zic.c: Likewise.
31046         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
31047         in TZVERSION setting, not $(PKGVERSION).
31048         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
31049         REPORT_BUGS_TO settings.
31051         [BZ #14838]
31052         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
31053         macro.
31055 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31057         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
31058         detection to immediately after _FP_ROUND().
31059         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
31060         bits are 0.
31062 2012-11-11  David S. Miller  <davem@davemloft.net>
31064         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
31065         inttypes.h
31066         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
31067         __close rather than their public counterparts.
31069 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
31071         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
31072         file.
31073         [UNIX98] (sem_timedwait): Do not expect.
31074         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
31075         [XPG4 || UNIX98] (sockatmark): Do not expect.
31076         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
31077         (clock_getcpuclockid): Do not expect.
31078         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
31079         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
31080         Do not expect.
31081         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
31082         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
31083         [UNIX98] (vwscanf): Likewise.
31084         [UNIX98] (vswscanf): Likewise.
31086 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
31088         * timezone/version.h: Remove file.
31089         * timezone/README: Do not refer to version.h.
31090         * timezone/Makefile ($(objpfx)zic.o): New dependency on
31091         $(objpfx)version.h.
31092         ($(objpfx)zdump.o): Likewise.
31093         ($(objpfx)version.h): New target.
31095         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
31096         2012i.
31097         * timezone/README: Don't mention modification to tzselect.ksh.
31098         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
31099         work on unmodified tzselect.ksh.  Substitute version numbers in
31100         tzselect.ksh.
31102         * Makefile (format-me): Remove.
31103         (INSTALL): Adjust indentation.  Use commands directly instead of
31104         using $(format-me).
31106         * aclocal.m4 (ACX_PKGVERSION): New macro.
31107         (ACX_BUGURL): Likewise.
31108         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
31109         (PKGVERSION): New AC_DEFINE_UNQUOTED.
31110         (REPORT_BUGS_TO): Likewise.
31111         * configure: Regenerated.
31112         * config.h.in (PKGVERSION): New macro.
31113         (REPORT_BUGS_TO): Likewise.
31114         * config.make.in (PKGVERSION): New variable.
31115         (PKGVERSION_TEXI): Likewise.
31116         (REPORT_BUGS_TO): Likewise.
31117         (REPORT_BUGS_TEXI): Likewise.
31118         * Makefile (format-me): Use -I$(common-objpfx)manual.
31119         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
31120         ($(common-objpfx)manual/%): New target.
31121         (manual/%): Remove target.
31122         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
31123         (print_version): Use PKGVERSION.
31124         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
31125         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
31126         and REPORT_BUGS_TO.
31127         ($(objpfx)xtrace): Likewise.
31128         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
31129         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
31130         (print_version): Use PKGVERSION.
31131         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
31132         (do_version): Use PKGVERSION.
31133         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
31134         REPORT_BUGS_TO.
31135         (common-ldd-rewrite): Likewise.
31136         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
31137         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
31138         (print_version): Use PKGVERSION.
31139         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
31140         * elf/pldd.c (argp_program_bug_address): Remove variable.
31141         (more_help): New function.
31142         (argp): Use more_help.
31143         (print_version): Use PKGVERSION.
31144         * elf/sln.c (main): Use PKGVERSION.
31145         (usage): Use REPORT_BUGS_TO.
31146         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
31147         (top level): Use PKGVERSION.
31148         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
31149         (print_version): Use PKGVERSION.
31150         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
31151         (print_version): Use PKGVERSION.
31152         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
31153         (print_version): Use PKGVERSION.
31154         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
31155         (print_version): Use PKGVERSION.
31156         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
31157         (print_version): Use PKGVERSION.
31158         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
31159         (print_version): Use PKGVERSION.
31160         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
31161         and BUGURL.
31162         ($(objpfx)memusage): Likewise.
31163         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
31164         (do_version): Use PKGVERSION.
31165         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
31166         (print_version): Use PKGVERSION.
31167         * malloc/mtrace.pl ($PACKAGE): Remove variable.
31168         ($PKGVERSION): New variable.
31169         ($REPORT_BUGS_TO): Likewise.
31170         (usage): Use $REPORT_BUGS_TO.
31171         (top level): Use $PKGVERSION.
31172         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
31173         ($(objpfx)pkgvers.texi): New rule.
31174         ($(objpfx)stamp-pkgvers): Likewise.
31175         * manual/install.texi: Include pkgvers.texi.
31176         (--with-pkgversion): Document new configure option.
31177         (--with-bugurl): Likewise.
31178         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
31179         than necessarily for this particular distribution.  Use
31180         REPORT_BUGS_TO for where to report bugs.
31181         * INSTALL: Regenerated.
31182         * manual/libc.texinfo: Include pkgvers.texi.
31183         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
31184         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
31185         (print_version): Use PKGVERSION.
31186         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
31187         (print_version): Use PKGVERSION.
31188         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
31189         (print_version): Use PKGVERSION.
31190         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
31191         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
31192         macro.
31193         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
31194         (print_version): Use PKGVERSION.
31195         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
31196         (print_version): Use PKGVERSION.
31197         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
31198         and PKGVERSION.
31200         * timezone/checktab.awk: Update from tzcode 2012i.
31201         * timezone/ialloc.c: Likewise.
31202         * timezone/private.h: Likewise.
31203         * timezone/scheck.c: Likewise.
31204         * timezone/tzfile.h: Likewise.
31205         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
31206         (TZVERSION): Hardcode tzcode version number.
31207         * timezone/zdump.c: Update from tzcode 2012i.
31208         * timezone/zic.c: Likewise.
31209         * timezone/version.h: New file.
31210         * timezone/README: Describe version.h.  Update upstream location.
31212         [BZ #14824]
31213         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
31214         (mktemp): Enable declaration.
31215         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
31216         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
31217         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
31218         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
31219         Likewise.
31220         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
31221         Likewise.
31222         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
31223         Likewise.
31224         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
31225         Likewise.
31226         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
31227         Likewise.
31228         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
31229         Likewise.
31231         [BZ #14821]
31232         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
31233         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
31234         for copies of such integer values.
31235         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31236         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31238 2012-11-09  Andreas Jaeger  <aj@suse.de>
31240         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
31241         definitions and declarations that are provided by
31242         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31244 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31246         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
31247         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
31248         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
31249         definition.
31251 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31253         * elf/elf.h: Update comment before AArch64 relocations.
31255 2012-11-07  David S. Miller  <davem@davemloft.net>
31257         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
31258         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
31259         (__start_context): Declare.
31260         (__makecontext_ret): Delete.
31261         (__makecontext): Hook up __start_context instead of
31262         __makecontext_ret.
31263         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
31264         (sysdep_routines): Add __start_context when in stdlib.
31266 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
31268         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
31269         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
31270         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
31271         hardcoded "nm".
31272         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
31273         (READELF): New variable.  Use it instead of hardcoded "readelf".
31275 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
31277         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
31278         * sysdeps/x86/Makefile: Here.
31279         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
31280         * sysdeps/x86/tst-xmmymm.sh: This.
31282 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
31284         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
31285         expectations.
31286         [UNIX98] (pthread_barrier_t): Do not expect.
31287         [UNIX98] (pthread_barrierattr_t): Likewise.
31288         [UNIX98] (pthread_spinlock_t): Likewise.
31289         [UNIX98] (pthread_barrier_destroy): Likewise.
31290         [UNIX98] (pthread_barrier_init): Likewise.
31291         [UNIX98] (pthread_barrier_wait): Likewise.
31292         [UNIX98] (pthread_barrierattr_destroy): Likewise.
31293         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
31294         [UNIX98] (pthread_barrierattr_init): Likewise.
31295         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
31296         [UNIX98] (pthread_getcpuclockid): Likewise.
31297         [UNIX98] (pthread_mutex_timedlock): Likewise.
31298         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
31299         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
31300         [UNIX98] (pthread_sigmask): Likewise.
31301         [UNIX98] (pthread_spin_destroy): Likewise.
31302         [UNIX98] (pthread_spin_init): Likewise.
31303         [UNIX98] (pthread_spin_lock): Likewise.
31304         [UNIX98] (pthread_spin_trylock): Likewise.
31305         [UNIX98] (pthread_spin_unlock): Likewise.
31306         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
31307         Do not expect.
31308         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
31309         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
31310         [XPG3 || XPG4] (pthread_cond_t): Likewise.
31311         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
31312         [XPG3 || XPG4] (pthread_key_t): Likewise.
31313         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
31314         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
31315         [XPG3 || XPG4] (pthread_once_t): Likewise.
31316         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
31317         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
31318         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
31319         [XPG3 || XPG4] (pthread_t): Likewise.
31321         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
31322         not expect.
31323         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
31325         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
31326         Change function return type to int.
31328         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
31329         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
31330         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
31331         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
31332         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
31333         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
31334         [!POSIX] (posix_madvise): Likewise.
31335         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
31336         && !UNIX98].
31337         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
31338         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
31339         (mode_t): Likewise.
31340         (posix_mem_offset): Likewise.
31341         (posix_typed_mem_get_info): Likewise.
31342         (posix_typed_mem_open): Likewise.
31344         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
31345         Change condition to [XOPEN2K8].
31347         * conform/conformtest.pl: Preprocess allow-header data with -x c
31348         instead of from stdin.
31349         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
31350         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
31351         [C99-based standards] (cerfc): Likewise.
31352         [C99-based standards] (cexp2): Likewise.
31353         [C99-based standards] (cexpm1): Likewise.
31354         [C99-based standards] (clog10): Likewise.
31355         [C99-based standards] (clog1p): Likewise.
31356         [C99-based standards] (clog2): Likewise.
31357         [C99-based standards] (clgamma): Likewise.
31358         [C99-based standards] (ctgamma): Likewise.
31359         [C99-based standards] (cerff): Likewise.
31360         [C99-based standards] (cerfcf): Likewise.
31361         [C99-based standards] (cexp2f): Likewise.
31362         [C99-based standards] (cexpm1f): Likewise.
31363         [C99-based standards] (clog10f): Likewise.
31364         [C99-based standards] (clog1pf): Likewise.
31365         [C99-based standards] (clog2f): Likewise.
31366         [C99-based standards] (clgammaf): Likewise.
31367         [C99-based standards] (ctgammaf): Likewise.
31368         [C99-based standards] (cerfl): Likewise.
31369         [C99-based standards] (cerfcl): Likewise.
31370         [C99-based standards] (cexp2l): Likewise.
31371         [C99-based standards] (cexpm1l): Likewise.
31372         [C99-based standards] (clog10l): Likewise.
31373         [C99-based standards] (clog1pl): Likewise.
31374         [C99-based standards] (clog2l): Likewise.
31375         [C99-based standards] (clgammal): Likewise.
31376         [C99-based standards] (ctgammal): Likewise.
31377         * conform/data/inttypes.h-data [C99-based standards]: Include
31378         stdint.h-data.  Remove all expectations for stdint.h contents.
31379         [C99-based standards] (PRI*): Do not allow.
31380         [C99-based standards] (SCN*): Likewise.
31381         [C99-based standards] (*_t): Likewise.
31382         [C99-based-standards] (PRId8): Expect macro.
31383         [C99-based-standards] (PRIi8): Likewise.
31384         [C99-based-standards] (PRIo8): Likewise.
31385         [C99-based-standards] (PRIu8): Likewise.
31386         [C99-based-standards] (PRIx8): Likewise.
31387         [C99-based-standards] (PRIX8): Likewise.
31388         [C99-based-standards] (SCNd8): Likewise.
31389         [C99-based-standards] (SCNi8): Likewise.
31390         [C99-based-standards] (SCNo8): Likewise.
31391         [C99-based-standards] (SCNu8): Likewise.
31392         [C99-based-standards] (SCNx8): Likewise.
31393         [C99-based-standards] (PRIdLEAST8): Likewise.
31394         [C99-based-standards] (PRIiLEAST8): Likewise.
31395         [C99-based-standards] (PRIoLEAST8): Likewise.
31396         [C99-based-standards] (PRIuLEAST8): Likewise.
31397         [C99-based-standards] (PRIxLEAST8): Likewise.
31398         [C99-based-standards] (PRIXLEAST8): Likewise.
31399         [C99-based-standards] (SCNdLEAST8): Likewise.
31400         [C99-based-standards] (SCNiLEAST8): Likewise.
31401         [C99-based-standards] (SCNoLEAST8): Likewise.
31402         [C99-based-standards] (SCNuLEAST8): Likewise.
31403         [C99-based-standards] (SCNxLEAST8): Likewise.
31404         [C99-based-standards] (PRIdFAST8): Likewise.
31405         [C99-based-standards] (PRIiFAST8): Likewise.
31406         [C99-based-standards] (PRIoFAST8): Likewise.
31407         [C99-based-standards] (PRIuFAST8): Likewise.
31408         [C99-based-standards] (PRIxFAST8): Likewise.
31409         [C99-based-standards] (PRIXFAST8): Likewise.
31410         [C99-based-standards] (SCNdFAST8): Likewise.
31411         [C99-based-standards] (SCNiFAST8): Likewise.
31412         [C99-based-standards] (SCNoFAST8): Likewise.
31413         [C99-based-standards] (SCNuFAST8): Likewise.
31414         [C99-based-standards] (SCNxFAST8): Likewise.
31415         [C99-based-standards] (PRId16): Likewise.
31416         [C99-based-standards] (PRIi16): Likewise.
31417         [C99-based-standards] (PRIo16): Likewise.
31418         [C99-based-standards] (PRIu16): Likewise.
31419         [C99-based-standards] (PRIx16): Likewise.
31420         [C99-based-standards] (PRIX16): Likewise.
31421         [C99-based-standards] (SCNd16): Likewise.
31422         [C99-based-standards] (SCNi16): Likewise.
31423         [C99-based-standards] (SCNo16): Likewise.
31424         [C99-based-standards] (SCNu16): Likewise.
31425         [C99-based-standards] (SCNx16): Likewise.
31426         [C99-based-standards] (PRIdLEAST16): Likewise.
31427         [C99-based-standards] (PRIiLEAST16): Likewise.
31428         [C99-based-standards] (PRIoLEAST16): Likewise.
31429         [C99-based-standards] (PRIuLEAST16): Likewise.
31430         [C99-based-standards] (PRIxLEAST16): Likewise.
31431         [C99-based-standards] (PRIXLEAST16): Likewise.
31432         [C99-based-standards] (SCNdLEAST16): Likewise.
31433         [C99-based-standards] (SCNiLEAST16): Likewise.
31434         [C99-based-standards] (SCNoLEAST16): Likewise.
31435         [C99-based-standards] (SCNuLEAST16): Likewise.
31436         [C99-based-standards] (SCNxLEAST16): Likewise.
31437         [C99-based-standards] (PRIdFAST16): Likewise.
31438         [C99-based-standards] (PRIiFAST16): Likewise.
31439         [C99-based-standards] (PRIoFAST16): Likewise.
31440         [C99-based-standards] (PRIuFAST16): Likewise.
31441         [C99-based-standards] (PRIxFAST16): Likewise.
31442         [C99-based-standards] (PRIXFAST16): Likewise.
31443         [C99-based-standards] (SCNdFAST16): Likewise.
31444         [C99-based-standards] (SCNiFAST16): Likewise.
31445         [C99-based-standards] (SCNoFAST16): Likewise.
31446         [C99-based-standards] (SCNuFAST16): Likewise.
31447         [C99-based-standards] (SCNxFAST16): Likewise.
31448         [C99-based-standards] (PRId32): Likewise.
31449         [C99-based-standards] (PRIi32): Likewise.
31450         [C99-based-standards] (PRIo32): Likewise.
31451         [C99-based-standards] (PRIu32): Likewise.
31452         [C99-based-standards] (PRIx32): Likewise.
31453         [C99-based-standards] (PRIX32): Likewise.
31454         [C99-based-standards] (SCNd32): Likewise.
31455         [C99-based-standards] (SCNi32): Likewise.
31456         [C99-based-standards] (SCNo32): Likewise.
31457         [C99-based-standards] (SCNu32): Likewise.
31458         [C99-based-standards] (SCNx32): Likewise.
31459         [C99-based-standards] (PRIdLEAST32): Likewise.
31460         [C99-based-standards] (PRIiLEAST32): Likewise.
31461         [C99-based-standards] (PRIoLEAST32): Likewise.
31462         [C99-based-standards] (PRIuLEAST32): Likewise.
31463         [C99-based-standards] (PRIxLEAST32): Likewise.
31464         [C99-based-standards] (PRIXLEAST32): Likewise.
31465         [C99-based-standards] (SCNdLEAST32): Likewise.
31466         [C99-based-standards] (SCNiLEAST32): Likewise.
31467         [C99-based-standards] (SCNoLEAST32): Likewise.
31468         [C99-based-standards] (SCNuLEAST32): Likewise.
31469         [C99-based-standards] (SCNxLEAST32): Likewise.
31470         [C99-based-standards] (PRIdFAST32): Likewise.
31471         [C99-based-standards] (PRIiFAST32): Likewise.
31472         [C99-based-standards] (PRIoFAST32): Likewise.
31473         [C99-based-standards] (PRIuFAST32): Likewise.
31474         [C99-based-standards] (PRIxFAST32): Likewise.
31475         [C99-based-standards] (PRIXFAST32): Likewise.
31476         [C99-based-standards] (SCNdFAST32): Likewise.
31477         [C99-based-standards] (SCNiFAST32): Likewise.
31478         [C99-based-standards] (SCNoFAST32): Likewise.
31479         [C99-based-standards] (SCNuFAST32): Likewise.
31480         [C99-based-standards] (SCNxFAST32): Likewise.
31481         [C99-based-standards] (PRId64): Likewise.
31482         [C99-based-standards] (PRIi64): Likewise.
31483         [C99-based-standards] (PRIo64): Likewise.
31484         [C99-based-standards] (PRIu64): Likewise.
31485         [C99-based-standards] (PRIx64): Likewise.
31486         [C99-based-standards] (PRIX64): Likewise.
31487         [C99-based-standards] (SCNd64): Likewise.
31488         [C99-based-standards] (SCNi64): Likewise.
31489         [C99-based-standards] (SCNo64): Likewise.
31490         [C99-based-standards] (SCNu64): Likewise.
31491         [C99-based-standards] (SCNx64): Likewise.
31492         [C99-based-standards] (PRIdLEAST64): Likewise.
31493         [C99-based-standards] (PRIiLEAST64): Likewise.
31494         [C99-based-standards] (PRIoLEAST64): Likewise.
31495         [C99-based-standards] (PRIuLEAST64): Likewise.
31496         [C99-based-standards] (PRIxLEAST64): Likewise.
31497         [C99-based-standards] (PRIXLEAST64): Likewise.
31498         [C99-based-standards] (SCNdLEAST64): Likewise.
31499         [C99-based-standards] (SCNiLEAST64): Likewise.
31500         [C99-based-standards] (SCNoLEAST64): Likewise.
31501         [C99-based-standards] (SCNuLEAST64): Likewise.
31502         [C99-based-standards] (SCNxLEAST64): Likewise.
31503         [C99-based-standards] (PRIdFAST64): Likewise.
31504         [C99-based-standards] (PRIiFAST64): Likewise.
31505         [C99-based-standards] (PRIoFAST64): Likewise.
31506         [C99-based-standards] (PRIuFAST64): Likewise.
31507         [C99-based-standards] (PRIxFAST64): Likewise.
31508         [C99-based-standards] (PRIXFAST64): Likewise.
31509         [C99-based-standards] (SCNdFAST64): Likewise.
31510         [C99-based-standards] (SCNiFAST64): Likewise.
31511         [C99-based-standards] (SCNoFAST64): Likewise.
31512         [C99-based-standards] (SCNuFAST64): Likewise.
31513         [C99-based-standards] (SCNxFAST64): Likewise.
31514         [C99-based-standards] (PRIdMAX): Likewise.
31515         [C99-based-standards] (PRIiMAX): Likewise.
31516         [C99-based-standards] (PRIoMAX): Likewise.
31517         [C99-based-standards] (PRIuMAX): Likewise.
31518         [C99-based-standards] (PRIxMAX): Likewise.
31519         [C99-based-standards] (PRIXMAX): Likewise.
31520         [C99-based-standards] (SCNdMAX): Likewise.
31521         [C99-based-standards] (SCNiMAX): Likewise.
31522         [C99-based-standards] (SCNoMAX): Likewise.
31523         [C99-based-standards] (SCNuMAX): Likewise.
31524         [C99-based-standards] (SCNxMAX): Likewise.
31525         [C99-based-standards] (PRIdPTR): Likewise.
31526         [C99-based-standards] (PRIiPTR): Likewise.
31527         [C99-based-standards] (PRIoPTR): Likewise.
31528         [C99-based-standards] (PRIuPTR): Likewise.
31529         [C99-based-standards] (PRIxPTR): Likewise.
31530         [C99-based-standards] (PRIXPTR): Likewise.
31531         [C99-based-standards] (SCNdPTR): Likewise.
31532         [C99-based-standards] (SCNiPTR): Likewise.
31533         [C99-based-standards] (SCNoPTR): Likewise.
31534         [C99-based-standards] (SCNuPTR): Likewise.
31535         [C99-based-standards] (SCNxPTR): Likewise.
31536         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
31537         allow.
31538         * conform/data/stdint.h-data: Update comments to clarify
31539         requirements.
31540         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
31541         type.
31542         [C99-based standards] (INT8_MAX): Likewise.
31543         [C99-based standards] (INT16_MIN): Likewise.
31544         [C99-based standards] (INT16_MAX): Likewise.
31545         [C99-based standards] (INT32_MIN): Likewise.
31546         [C99-based standards] (INT32_MAX): Likewise.
31547         [C99-based standards] (INT64_MIN): Likewise.
31548         [C99-based standards] (INT64_MAX): Likewise.
31549         [C99-based standards] (UINT8_MAX): Likewise.
31550         [C99-based standards] (UINT16_MAX): Likewise.
31551         [C99-based standards] (UINT32_MAX): Likewise.
31552         [C99-based standards] (UINT64_MAX): Likewise.
31553         [C99-based standards] (INT_LEAST8_MIN): Likewise.
31554         [C99-based standards] (INT_LEAST8_MAX): Likewise.
31555         [C99-based standards] (INT_LEAST16_MIN): Likewise.
31556         [C99-based standards] (INT_LEAST16_MAX): Likewise.
31557         [C99-based standards] (INT_LEAST32_MIN): Likewise.
31558         [C99-based standards] (INT_LEAST32_MAX): Likewise.
31559         [C99-based standards] (INT_LEAST64_MIN): Likewise.
31560         [C99-based standards] (INT_LEAST64_MAX): Likewise.
31561         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
31562         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
31563         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
31564         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
31565         [C99-based standards] (INT_FAST8_MIN): Likewise.
31566         [C99-based standards] (INT_FAST8_MAX): Likewise.
31567         [C99-based standards] (INT_FAST16_MIN): Likewise.
31568         [C99-based standards] (INT_FAST16_MAX): Likewise.
31569         [C99-based standards] (INT_FAST32_MIN): Likewise.
31570         [C99-based standards] (INT_FAST32_MAX): Likewise.
31571         [C99-based standards] (INT_FAST64_MIN): Likewise.
31572         [C99-based standards] (INT_FAST64_MAX): Likewise.
31573         [C99-based standards] (UINT_FAST8_MAX): Likewise.
31574         [C99-based standards] (UINT_FAST16_MAX): Likewise.
31575         [C99-based standards] (UINT_FAST32_MAX): Likewise.
31576         [C99-based standards] (UINT_FAST64_MAX): Likewise.
31577         [C99-based standards] (INTPTR_MIN): Likewise.
31578         [C99-based standards] (INTPTR_MAX): Likewise.
31579         [C99-based standards] (UINTPTR_MAX): Likewise.
31580         [C99-based standards] (INTMAX_MIN): Likewise.
31581         [C99-based standards] (INTMAX_MAX): Likewise.
31582         [C99-based standards] (UINTMAX_MAX): Likewise.
31583         [C99-based standards] (PTRDIFF_MIN): Likewise.
31584         [C99-based standards] (PTRDIFF_MAX): Likewise.
31585         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
31586         [C99-based standards] (SIZE_MAX): Likewise.
31587         [C99-based standards] (WCHAR_MAX): Likewise.
31588         [C99-based standards] (WINT_MAX): Likewise.
31589         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
31590         constraint on value.
31591         [C99-based standards] (WCHAR_MIN): Likewise.
31592         [C99-based standards] (WINT_MIN): Likewise.
31593         [C99-based standards] (*_t): Allow.
31594         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
31595         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
31596         Include math.h-data and complex.h-data.  Remove all expectations
31597         of math.h and complex.h contents.
31598         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
31599         at end of line.
31600         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
31601         (struct tm): Expect tag.
31602         [C99-based-standards] (wcstof): Expect function.
31603         [C99-based-standards] (wcstold): Likewise.
31604         [C99-based-standards] (wcstoll): Likewise.
31605         [C99-based-standards] (wcstoull): Likewise.
31606         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
31607         macro-int-constant.  Specify type.
31608         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
31609         constraint on value.
31610         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
31611         Specify type.
31612         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
31613         Specify value.
31614         [ISO C standards]: Do not allow headers.
31615         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
31616         wcs[abcdefghijklmnopqrstuvwxyz]*.
31617         [ISO C standards] (*_t): Do not allow.
31618         * conform/data/wctype.h-data [C99-based standards] (iswblank):
31619         Expect function.
31620         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
31621         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
31622         Specify type.
31623         [ISO C standards]: Do not allow headers.
31624         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
31625         is[abcdefghijklmnopqrstuvwxyz]*.
31626         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
31627         to[abcdefghijklmnopqrstuvwxyz]*.
31628         [ISO C standards] (*_t): Do not allow.
31629         * conform/data/stdalign.h-data: New file.
31630         * conform/data/stdbool.h-data: Likewise.
31631         * conform/data/stdnoreturn.h-data: Likewise.
31633 2012-11-07  Roland McGrath  <roland@hack.frob.com>
31635         [BZ #14815]
31636         * manual/filesys.texi (Directory Entries): Typo fix.
31637         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
31639 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31641         * elf/elf.h (EM_AARCH64): New macro.
31642         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
31643         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
31644         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
31645         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
31646         (R_AARCH64_TLSDESC): Likewise.
31647         (NT_ARM_TLS): Likewise.
31648         (NT_ARM_HW_BREAK): Likewise.
31649         (NT_ARM_HW_WATCH): Likewise.
31651 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
31653         [BZ #14811]
31654         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
31655         (__ieee754_powl): Saturate nonzero exponents with absolute value
31656         below 0x1p-79 to +/- 0x1p-79.
31657         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
31658         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
31659         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
31660         nonzero exponents with absolute value below 0x1p-32 to +/-
31661         0x1p-32.
31662         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
31663         (__ieee754_powl): Saturate nonzero exponents with absolute value
31664         below 0x1p-79 to +/- 0x1p-79.
31665         * math/libm-test.inc (pow_test): Add more tests.
31667 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31669         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
31670         _dl_s390_cap_flags with kernel. Increase string length.
31671         (_dl_s390_platforms): Add z196 and zEC12.
31673 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
31675         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
31676         Change XOPEN21K to XOPEN2K.
31678 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
31680         * string/memmove.c: Use memcpy when possible.
31682 2012-11-06  Andreas Jaeger  <aj@suse.de>
31684         * po/eo.po: Update from translation team.
31686 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
31688         [BZ #14793]
31689         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
31690         exponent and small x and y exponents, scale x or y up.  Increase
31691         by 2 the exponent used in scaling up.
31692         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31693         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31694         * math/libm-test.inc (fma_test): Add more tests.
31695         (fma_test_towardzero): Likewise.
31696         (fma_test_downward): Likewise.
31697         (fma_test_upward): Likewise.
31699 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
31701         [BZ #14805]
31702         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
31703         fenv_t *.
31705         [BZ #14801]
31706         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
31707         namespace for names of struct fields.
31708         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
31709         fenv_t fields.
31710         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
31711         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
31713 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31715         [BZ #3665]
31716         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
31718 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
31720         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
31721         PTR_DEMANGLE.
31723         [BZ #5246]
31724         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
31725         PTR_DEMANGLE.
31727 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
31729         [BZ #14797]
31730         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
31731         definitely overflow as x * y not x * y + z.
31732         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31733         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31734         * math/libm-test.inc (fma_test): Add more tests.
31735         (fma_test_towardzero): Likewise.
31736         (fma_test_downward): Likewise.
31737         (fma_test_upward): Likewise.
31739 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
31741         [BZ #157]
31743         * include/stub-tag.h: Remove file.
31744         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
31745         '#include' of it.
31746         * manual/maint.texi (Porting): Don't reference it.
31747         * Makerules ($(objpfx)stubs): Likewise.
31748         * dirent/closedir.c: Don't include <stub-tag.h>.
31749         * dirent/dirfd.c: Likewise.
31750         * dirent/fdopendir.c: Likewise.
31751         * dirent/getdents.c: Likewise.
31752         * dirent/getdents64.c: Likewise.
31753         * dirent/opendir.c: Likewise.
31754         * dirent/readdir.c: Likewise.
31755         * dirent/readdir64.c: Likewise.
31756         * dirent/readdir64_r.c: Likewise.
31757         * dirent/readdir_r.c: Likewise.
31758         * dirent/rewinddir.c: Likewise.
31759         * dirent/seekdir.c: Likewise.
31760         * dirent/telldir.c: Likewise.
31761         * gmon/profil.c: Likewise.
31762         * grp/setgroups.c: Likewise.
31763         * inet/if_index.c: Likewise.
31764         * io/access.c: Likewise.
31765         * io/chdir.c: Likewise.
31766         * io/chmod.c: Likewise.
31767         * io/chown.c: Likewise.
31768         * io/close.c: Likewise.
31769         * io/dup.c: Likewise.
31770         * io/dup2.c: Likewise.
31771         * io/dup3.c: Likewise.
31772         * io/euidaccess.c: Likewise.
31773         * io/faccessat.c: Likewise.
31774         * io/fchdir.c: Likewise.
31775         * io/fchmod.c: Likewise.
31776         * io/fchmodat.c: Likewise.
31777         * io/fchown.c: Likewise.
31778         * io/fchownat.c: Likewise.
31779         * io/fcntl.c: Likewise.
31780         * io/flock.c: Likewise.
31781         * io/fstatfs.c: Likewise.
31782         * io/fstatfs64.c: Likewise.
31783         * io/fstatvfs.c: Likewise.
31784         * io/fstatvfs64.c: Likewise.
31785         * io/futimens.c: Likewise.
31786         * io/fxstat.c: Likewise.
31787         * io/fxstat64.c: Likewise.
31788         * io/fxstatat.c: Likewise.
31789         * io/fxstatat64.c: Likewise.
31790         * io/getcwd.c: Likewise.
31791         * io/isatty.c: Likewise.
31792         * io/lchmod.c: Likewise.
31793         * io/lchown.c: Likewise.
31794         * io/link.c: Likewise.
31795         * io/linkat.c: Likewise.
31796         * io/lseek.c: Likewise.
31797         * io/lseek64.c: Likewise.
31798         * io/lxstat64.c: Likewise.
31799         * io/mkdir.c: Likewise.
31800         * io/mkdirat.c: Likewise.
31801         * io/mkfifo.c: Likewise.
31802         * io/mkfifoat.c: Likewise.
31803         * io/open.c: Likewise.
31804         * io/open64.c: Likewise.
31805         * io/openat.c: Likewise.
31806         * io/openat64.c: Likewise.
31807         * io/pipe.c: Likewise.
31808         * io/pipe2.c: Likewise.
31809         * io/poll.c: Likewise.
31810         * io/posix_fadvise.c: Likewise.
31811         * io/posix_fadvise64.c: Likewise.
31812         * io/posix_fallocate.c: Likewise.
31813         * io/posix_fallocate64.c: Likewise.
31814         * io/read.c: Likewise.
31815         * io/readlink.c: Likewise.
31816         * io/readlinkat.c: Likewise.
31817         * io/rmdir.c: Likewise.
31818         * io/sendfile.c: Likewise.
31819         * io/sendfile64.c: Likewise.
31820         * io/statfs.c: Likewise.
31821         * io/statfs64.c: Likewise.
31822         * io/statvfs.c: Likewise.
31823         * io/statvfs64.c: Likewise.
31824         * io/symlink.c: Likewise.
31825         * io/symlinkat.c: Likewise.
31826         * io/ttyname.c: Likewise.
31827         * io/ttyname_r.c: Likewise.
31828         * io/umask.c: Likewise.
31829         * io/unlink.c: Likewise.
31830         * io/unlinkat.c: Likewise.
31831         * io/utime.c: Likewise.
31832         * io/utimensat.c: Likewise.
31833         * io/write.c: Likewise.
31834         * io/xmknod.c: Likewise.
31835         * io/xmknodat.c: Likewise.
31836         * io/xstat.c: Likewise.
31837         * io/xstat64.c: Likewise.
31838         * login/getpt.c: Likewise.
31839         * login/grantpt.c: Likewise.
31840         * login/unlockpt.c: Likewise.
31841         * math/e_acoshl.c: Likewise.
31842         * math/e_acosl.c: Likewise.
31843         * math/e_asinl.c: Likewise.
31844         * math/e_atan2l.c: Likewise.
31845         * math/e_atanhl.c: Likewise.
31846         * math/e_coshl.c: Likewise.
31847         * math/e_expl.c: Likewise.
31848         * math/e_fmodl.c: Likewise.
31849         * math/e_gammal_r.c: Likewise.
31850         * math/e_hypotl.c: Likewise.
31851         * math/e_j0l.c: Likewise.
31852         * math/e_j1l.c: Likewise.
31853         * math/e_jnl.c: Likewise.
31854         * math/e_lgammal_r.c: Likewise.
31855         * math/e_log10l.c: Likewise.
31856         * math/e_log2l.c: Likewise.
31857         * math/e_logl.c: Likewise.
31858         * math/e_powl.c: Likewise.
31859         * math/e_rem_pio2l.c: Likewise.
31860         * math/e_sinhl.c: Likewise.
31861         * math/e_sqrtl.c: Likewise.
31862         * math/fclrexcpt.c: Likewise.
31863         * math/fedisblxcpt.c: Likewise.
31864         * math/feenablxcpt.c: Likewise.
31865         * math/fegetenv.c: Likewise.
31866         * math/fegetexcept.c: Likewise.
31867         * math/fegetround.c: Likewise.
31868         * math/feholdexcpt.c: Likewise.
31869         * math/fesetenv.c: Likewise.
31870         * math/fesetround.c: Likewise.
31871         * math/feupdateenv.c: Likewise.
31872         * math/fgetexcptflg.c: Likewise.
31873         * math/fraiseexcpt.c: Likewise.
31874         * math/fsetexcptflg.c: Likewise.
31875         * math/ftestexcept.c: Likewise.
31876         * math/k_cosl.c: Likewise.
31877         * math/k_rem_pio2l.c: Likewise.
31878         * math/k_sinl.c: Likewise.
31879         * math/k_tanl.c: Likewise.
31880         * math/s_asinhl.c: Likewise.
31881         * math/s_atanl.c: Likewise.
31882         * math/s_cbrtl.c: Likewise.
31883         * math/s_erfl.c: Likewise.
31884         * math/s_expm1l.c: Likewise.
31885         * math/s_log1pl.c: Likewise.
31886         * math/s_tanhl.c: Likewise.
31887         * misc/acct.c: Likewise.
31888         * misc/brk.c: Likewise.
31889         * misc/chflags.c: Likewise.
31890         * misc/chroot.c: Likewise.
31891         * misc/fchflags.c: Likewise.
31892         * misc/fgetxattr.c: Likewise.
31893         * misc/flistxattr.c: Likewise.
31894         * misc/fremovexattr.c: Likewise.
31895         * misc/fsetxattr.c: Likewise.
31896         * misc/fsync.c: Likewise.
31897         * misc/ftruncate.c: Likewise.
31898         * misc/futimes.c: Likewise.
31899         * misc/futimesat.c: Likewise.
31900         * misc/getdomain.c: Likewise.
31901         * misc/getdtsz.c: Likewise.
31902         * misc/gethostid.c: Likewise.
31903         * misc/gethostname.c: Likewise.
31904         * misc/getloadavg.c: Likewise.
31905         * misc/getpagesize.c: Likewise.
31906         * misc/getsysstats.c: Likewise.
31907         * misc/getxattr.c: Likewise.
31908         * misc/gtty.c: Likewise.
31909         * misc/ioctl.c: Likewise.
31910         * misc/lgetxattr.c: Likewise.
31911         * misc/listxattr.c: Likewise.
31912         * misc/llistxattr.c: Likewise.
31913         * misc/lremovexattr.c: Likewise.
31914         * misc/lsetxattr.c: Likewise.
31915         * misc/lutimes.c: Likewise.
31916         * misc/madvise.c: Likewise.
31917         * misc/mincore.c: Likewise.
31918         * misc/mlock.c: Likewise.
31919         * misc/mlockall.c: Likewise.
31920         * misc/mmap.c: Likewise.
31921         * misc/mprotect.c: Likewise.
31922         * misc/msync.c: Likewise.
31923         * misc/munlock.c: Likewise.
31924         * misc/munlockall.c: Likewise.
31925         * misc/munmap.c: Likewise.
31926         * misc/preadv.c: Likewise.
31927         * misc/preadv64.c: Likewise.
31928         * misc/ptrace.c: Likewise.
31929         * misc/pwritev.c: Likewise.
31930         * misc/pwritev64.c: Likewise.
31931         * misc/readv.c: Likewise.
31932         * misc/reboot.c: Likewise.
31933         * misc/remap_file_pages.c: Likewise.
31934         * misc/removexattr.c: Likewise.
31935         * misc/revoke.c: Likewise.
31936         * misc/select.c: Likewise.
31937         * misc/setdomain.c: Likewise.
31938         * misc/setegid.c: Likewise.
31939         * misc/seteuid.c: Likewise.
31940         * misc/sethostid.c: Likewise.
31941         * misc/sethostname.c: Likewise.
31942         * misc/setregid.c: Likewise.
31943         * misc/setreuid.c: Likewise.
31944         * misc/setxattr.c: Likewise.
31945         * misc/sstk.c: Likewise.
31946         * misc/stty.c: Likewise.
31947         * misc/swapoff.c: Likewise.
31948         * misc/swapon.c: Likewise.
31949         * misc/sync.c: Likewise.
31950         * misc/syncfs.c: Likewise.
31951         * misc/syscall.c: Likewise.
31952         * misc/truncate.c: Likewise.
31953         * misc/ualarm.c: Likewise.
31954         * misc/usleep.c: Likewise.
31955         * misc/ustat.c: Likewise.
31956         * misc/utimes.c: Likewise.
31957         * misc/vhangup.c: Likewise.
31958         * misc/writev.c: Likewise.
31959         * posix/_exit.c: Likewise.
31960         * posix/alarm.c: Likewise.
31961         * posix/execve.c: Likewise.
31962         * posix/fexecve.c: Likewise.
31963         * posix/fork.c: Likewise.
31964         * posix/fpathconf.c: Likewise.
31965         * posix/getaddrinfo.c: Likewise.
31966         * posix/getegid.c: Likewise.
31967         * posix/geteuid.c: Likewise.
31968         * posix/getgid.c: Likewise.
31969         * posix/getgroups.c: Likewise.
31970         * posix/getlogin.c: Likewise.
31971         * posix/getlogin_r.c: Likewise.
31972         * posix/getpgid.c: Likewise.
31973         * posix/getpid.c: Likewise.
31974         * posix/getppid.c: Likewise.
31975         * posix/getresgid.c: Likewise.
31976         * posix/getresuid.c: Likewise.
31977         * posix/getsid.c: Likewise.
31978         * posix/getuid.c: Likewise.
31979         * posix/glob64.c: Likewise.
31980         * posix/nanosleep.c: Likewise.
31981         * posix/pathconf.c: Likewise.
31982         * posix/pause.c: Likewise.
31983         * posix/posix_madvise.c: Likewise.
31984         * posix/pread.c: Likewise.
31985         * posix/pread64.c: Likewise.
31986         * posix/pwrite.c: Likewise.
31987         * posix/pwrite64.c: Likewise.
31988         * posix/sched_getaffinity.c: Likewise.
31989         * posix/sched_getp.c: Likewise.
31990         * posix/sched_gets.c: Likewise.
31991         * posix/sched_primax.c: Likewise.
31992         * posix/sched_primin.c: Likewise.
31993         * posix/sched_rr_gi.c: Likewise.
31994         * posix/sched_setaffinity.c: Likewise.
31995         * posix/sched_setp.c: Likewise.
31996         * posix/sched_sets.c: Likewise.
31997         * posix/sched_yield.c: Likewise.
31998         * posix/setgid.c: Likewise.
31999         * posix/setlogin.c: Likewise.
32000         * posix/setpgid.c: Likewise.
32001         * posix/setresgid.c: Likewise.
32002         * posix/setresuid.c: Likewise.
32003         * posix/setsid.c: Likewise.
32004         * posix/setuid.c: Likewise.
32005         * posix/sleep.c: Likewise.
32006         * posix/spawni.c: Likewise.
32007         * posix/sysconf.c: Likewise.
32008         * posix/times.c: Likewise.
32009         * posix/wait.c: Likewise.
32010         * posix/wait3.c: Likewise.
32011         * posix/wait4.c: Likewise.
32012         * posix/waitpid.c: Likewise.
32013         * resolv/gai_sigqueue.c: Likewise.
32014         * resource/getpriority.c: Likewise.
32015         * resource/getrlimit.c: Likewise.
32016         * resource/getrusage.c: Likewise.
32017         * resource/nice.c: Likewise.
32018         * resource/setpriority.c: Likewise.
32019         * resource/setrlimit.c: Likewise.
32020         * resource/ulimit.c: Likewise.
32021         * rt/aio_cancel.c: Likewise.
32022         * rt/aio_fsync.c: Likewise.
32023         * rt/aio_read.c: Likewise.
32024         * rt/aio_sigqueue.c: Likewise.
32025         * rt/aio_suspend.c: Likewise.
32026         * rt/aio_write.c: Likewise.
32027         * rt/clock_getres.c: Likewise.
32028         * rt/clock_gettime.c: Likewise.
32029         * rt/clock_nanosleep.c: Likewise.
32030         * rt/clock_settime.c: Likewise.
32031         * rt/lio_listio.c: Likewise.
32032         * rt/mq_close.c: Likewise.
32033         * rt/mq_getattr.c: Likewise.
32034         * rt/mq_notify.c: Likewise.
32035         * rt/mq_open.c: Likewise.
32036         * rt/mq_receive.c: Likewise.
32037         * rt/mq_send.c: Likewise.
32038         * rt/mq_setattr.c: Likewise.
32039         * rt/mq_timedreceive.c: Likewise.
32040         * rt/mq_timedsend.c: Likewise.
32041         * rt/mq_unlink.c: Likewise.
32042         * rt/shm_open.c: Likewise.
32043         * rt/shm_unlink.c: Likewise.
32044         * rt/timer_create.c: Likewise.
32045         * rt/timer_delete.c: Likewise.
32046         * rt/timer_getoverr.c: Likewise.
32047         * rt/timer_gettime.c: Likewise.
32048         * rt/timer_settime.c: Likewise.
32049         * setjmp/__longjmp.c: Likewise.
32050         * setjmp/setjmp.c: Likewise.
32051         * signal/kill.c: Likewise.
32052         * signal/killpg.c: Likewise.
32053         * signal/raise.c: Likewise.
32054         * signal/sigaction.c: Likewise.
32055         * signal/sigaltstack.c: Likewise.
32056         * signal/sigblock.c: Likewise.
32057         * signal/sigignore.c: Likewise.
32058         * signal/sigintr.c: Likewise.
32059         * signal/signal.c: Likewise.
32060         * signal/sigpause.c: Likewise.
32061         * signal/sigpending.c: Likewise.
32062         * signal/sigqueue.c: Likewise.
32063         * signal/sigreturn.c: Likewise.
32064         * signal/sigset.c: Likewise.
32065         * signal/sigsetmask.c: Likewise.
32066         * signal/sigstack.c: Likewise.
32067         * signal/sigsuspend.c: Likewise.
32068         * signal/sigtimedwait.c: Likewise.
32069         * signal/sigvec.c: Likewise.
32070         * signal/sigwait.c: Likewise.
32071         * signal/sigwaitinfo.c: Likewise.
32072         * signal/sysv_signal.c: Likewise.
32073         * socket/accept.c: Likewise.
32074         * socket/accept4.c: Likewise.
32075         * socket/bind.c: Likewise.
32076         * socket/connect.c: Likewise.
32077         * socket/getpeername.c: Likewise.
32078         * socket/getsockname.c: Likewise.
32079         * socket/getsockopt.c: Likewise.
32080         * socket/isfdtype.c: Likewise.
32081         * socket/listen.c: Likewise.
32082         * socket/recv.c: Likewise.
32083         * socket/recvfrom.c: Likewise.
32084         * socket/recvmsg.c: Likewise.
32085         * socket/send.c: Likewise.
32086         * socket/sendmsg.c: Likewise.
32087         * socket/sendto.c: Likewise.
32088         * socket/setsockopt.c: Likewise.
32089         * socket/shutdown.c: Likewise.
32090         * socket/sockatmark.c: Likewise.
32091         * socket/socket.c: Likewise.
32092         * socket/socketpair.c: Likewise.
32093         * stdio-common/ctermid.c: Likewise.
32094         * stdio-common/cuserid.c: Likewise.
32095         * stdio-common/remove.c: Likewise.
32096         * stdio-common/rename.c: Likewise.
32097         * stdio-common/renameat.c: Likewise.
32098         * stdio-common/tempname.c: Likewise.
32099         * stdlib/getcontext.c: Likewise.
32100         * stdlib/makecontext.c: Likewise.
32101         * stdlib/setcontext.c: Likewise.
32102         * stdlib/swapcontext.c: Likewise.
32103         * stdlib/system.c: Likewise.
32104         * streams/fattach.c: Likewise.
32105         * streams/fdetach.c: Likewise.
32106         * streams/getmsg.c: Likewise.
32107         * streams/getpmsg.c: Likewise.
32108         * streams/putmsg.c: Likewise.
32109         * streams/putpmsg.c: Likewise.
32110         * sysdeps/unix/bsd/getpt.c: Likewise.
32111         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
32112         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
32113         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32115         Likewise.
32116         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
32117         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32118         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
32119         * sysvipc/msgctl.c: Likewise.
32120         * sysvipc/msgget.c: Likewise.
32121         * sysvipc/msgrcv.c: Likewise.
32122         * sysvipc/msgsnd.c: Likewise.
32123         * sysvipc/semctl.c: Likewise.
32124         * sysvipc/semget.c: Likewise.
32125         * sysvipc/semop.c: Likewise.
32126         * sysvipc/semtimedop.c: Likewise.
32127         * sysvipc/shmat.c: Likewise.
32128         * sysvipc/shmctl.c: Likewise.
32129         * sysvipc/shmdt.c: Likewise.
32130         * sysvipc/shmget.c: Likewise.
32131         * termios/tcdrain.c: Likewise.
32132         * termios/tcflow.c: Likewise.
32133         * termios/tcflush.c: Likewise.
32134         * termios/tcgetattr.c: Likewise.
32135         * termios/tcgetpgrp.c: Likewise.
32136         * termios/tcsendbrk.c: Likewise.
32137         * termios/tcsetattr.c: Likewise.
32138         * termios/tcsetpgrp.c: Likewise.
32139         * time/adjtime.c: Likewise.
32140         * time/clock.c: Likewise.
32141         * time/getitimer.c: Likewise.
32142         * time/gettimeofday.c: Likewise.
32143         * time/setitimer.c: Likewise.
32144         * time/settimeofday.c: Likewise.
32145         * time/stime.c: Likewise.
32146         * time/time.c: Likewise.
32148 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
32150         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
32151         /usr/old/bin.
32153         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
32154         instead of spaces.
32155         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
32157 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
32159         [BZ #14796]
32160         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
32161         FE_TONEAREST before applying Dekker multiplication and Knuth
32162         addition.  Clear inexact exceptions and check for exact zero
32163         results afterwards.
32164         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32165         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32166         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32167         * math/libm-test.inc (fma_test): Add more tests.
32168         (fma_test_towardzero): Likewise.
32169         (fma_test_downward): Likewise.
32170         (fma_test_upward): Likewise.
32171         * sysdeps/generic/math_private.h (default_libc_fesetround): New
32172         function.
32173         (libc_fesetround): New macro.
32174         (libc_fesetroundf): Likewise.
32175         (libc_fesetroundl): Likewise.
32176         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
32177         function.
32178         (libc_fesetround_387): Likewise.
32179         (libc_fesetroundf): New macro.
32180         (libc_fesetround): Likewise.
32181         (libc_fesetroundl): Likewise.
32182         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
32183         function.
32184         (libc_fesetroundf): New macro.
32185         (libc_fesetround): Likewise.
32186         (libc_fesetroundl): Likewise.
32187         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
32188         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
32189         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
32190         libm_hidden_ver.
32191         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
32192         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
32193         libm_hidden_def.
32194         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
32195         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
32196         libm_hidden_ver.
32197         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
32198         libm_hidden_def.
32200         [BZ #3439]
32201         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
32202         integer constant usable in #if and use that to give value to enum
32203         constant.
32204         (FE_DIVBYZERO): Likewise.
32205         (FE_UNDERFLOW): Likewise.
32206         (FE_OVERFLOW): Likewise.
32207         (FE_INVALID): Likewise.
32208         (FE_INVALID_SNAN): Likewise.
32209         (FE_INVALID_ISI): Likewise.
32210         (FE_INVALID_IDI): Likewise.
32211         (FE_INVALID_ZDZ): Likewise.
32212         (FE_INVALID_IMZ): Likewise.
32213         (FE_INVALID_COMPARE): Likewise.
32214         (FE_INVALID_SOFTWARE): Likewise.
32215         (FE_INVALID_SQRT): Likewise.
32216         (FE_INVALID_INTEGER_CONVERSION): Likewise.
32217         (FE_TONEAREST): Likewise.
32218         (FE_TOWARDZERO): Likewise.
32219         (FE_UPWARD): Likewise.
32220         (FE_DOWNWARD): Likewise.
32221         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
32222         (FE_DIVBYZERO): Likewise.
32223         (FE_OVERFLOW): Likewise.
32224         (FE_UNDERFLOW): Likewise.
32225         (FE_INEXACT): Likewise.
32226         (FE_TONEAREST): Likewise.
32227         (FE_DOWNWARD): Likewise.
32228         (FE_UPWARD): Likewise.
32229         (FE_TOWARDZERO): Likewise.
32230         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
32231         (FE_UNDERFLOW): Likewise.
32232         (FE_OVERFLOW): Likewise.
32233         (FE_DIVBYZERO): Likewise.
32234         (FE_INVALID): Likewise.
32235         (FE_TONEAREST): Likewise.
32236         (FE_TOWARDZERO): Likewise.
32237         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
32238         (FE_OVERFLOW): Likewise.
32239         (FE_UNDERFLOW): Likewise.
32240         (FE_DIVBYZERO): Likewise.
32241         (FE_INEXACT): Likewise.
32242         (FE_TONEAREST): Likewise.
32243         (FE_TOWARDZERO): Likewise.
32244         (FE_UPWARD): Likewise.
32245         (FE_DOWNWARD): Likewise.
32246         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
32247         (FE_DIVBYZERO): Likewise.
32248         (FE_OVERFLOW): Likewise.
32249         (FE_UNDERFLOW): Likewise.
32250         (FE_INEXACT): Likewise.
32251         (FE_TONEAREST): Likewise.
32252         (FE_DOWNWARD): Likewise.
32253         (FE_UPWARD): Likewise.
32254         (FE_TOWARDZERO): Likewise.
32256 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
32258         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
32260 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
32262         * scripts/cross-test-ssh.sh (command): Use newlines to separate
32263         commands.  Quote $PWD.
32264         (blacklist_exports): Don't use remove_newlines.  Replace "declare
32265         -x" by "export".
32266         (remove_newlines): Remove.
32268 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
32270         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
32271         * stdlib/stdlib.h (atof): Moved to ...
32272         * include/bits/stdlib-float.h: Here.  New file.
32273         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
32274         * stdlib/bits/stdlib-float.h: New file.
32275         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
32276         -mno-sse -mno-mmx.
32277         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
32278         <xmmintrin.h>.
32280 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
32282         * conform/conformtest.pl (@headers): Add fenv.h.
32283         * conform/data/fenv.h-data: New file.
32284         * include/fenv.h [_ISOMAC]: Disable all contents of file except
32285         include of <math/fenv.h>.
32287         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
32288         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
32289         && !UNIX98].  Enables tests for XOPEN2K8.
32290         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
32291         POSIX2008]: Likewise.
32293         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
32294         (struct rusage): Do not expect type or its members.
32296         [BZ #3439]
32297         * math/math.h (FP_NAN): Define macro to integer constant usable in
32298         #if and use that to give value to enum constant.
32299         (FP_INFINITE): Likewise.
32300         (FP_ZERO): Likewise.
32301         (FP_SUBNORMAL): Likewise.
32302         (FP_NORMAL): Likewise.
32304 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
32306         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
32307         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
32308         arguments.
32310 2012-11-02  Roland McGrath  <roland@hack.frob.com>
32312         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
32313         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
32314         autoconf-time if not.
32315         * configure.in: Remove AC_PREREQ.
32317 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32319         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
32320         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
32321         of the internal implementation.
32323 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
32325         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
32326         except include of <misc/sys/syslog.h>.
32328 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
32330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
32331         function returns with a NULL context exit with zero.
32333 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32335         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
32337 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
32339         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
32340         (run_program_cmd): This.
32341         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
32342         (tst_langinfo): New variable.  Use it.
32344 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
32346         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
32347         floating point opcodes.
32349 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
32351         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
32352         variable.
32354         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
32356         * sysdeps/mach/hurd/powerpc: Remove directory.
32357         * sysdeps/mach/powerpc: Likewise.
32359 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
32361         * scripts/check-local-headers.sh: Ignore c++ headers.
32363 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
32365         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
32366         __libc_cleanup_region_start argument.
32368 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
32370         [BZ #14784]
32371         [BZ #14785]
32372         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
32373         x * y using scaling, not as x * y + z.
32374         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32375         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32376         * math/libm-test.inc (fma_test): Add more tests.
32377         (fma_test_towardzero): Likewise.
32378         (fma_test_downward): Likewise.
32379         (fma_test_upward): Likewise.
32381 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
32383         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
32385 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
32387         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
32388         New variable.
32390 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
32392         * rt/tst-shm.c (worker): Correct checking for mmap failure.
32394 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
32396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32397         Fix sort order.
32398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32399         Likewise.
32401 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32404         Fix the order of the list for glibc 2.17.
32405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32406         Likewise.
32408 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
32410         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32412 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
32414         [BZ #14610]
32415         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
32416         for low part of x being zero before using __atanl (y).
32417         * math/libm-test.inc (atan2_test): Add another test.
32419         * manual/install.texi (Configuring and compiling): Document
32420         general use of test-wrapper and test-wrapper-env.
32421         * INSTALL: Regenerated.
32423         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
32424         (__fma): Do not extract and scale down low bits on after-rounding
32425         systems when result rounded to normal precision would have normal
32426         exponent.
32427         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
32428         (__fmal): Do not extract and scale down low bits on after-rounding
32429         systems when result rounded to normal precision would have normal
32430         exponent.
32431         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
32432         (__fmal): Do not extract and scale down low bits on after-rounding
32433         systems when result rounded to normal precision would have normal
32434         exponent.
32435         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
32436         macro.
32437         (fma_test): Add more tests.
32438         (fma_test_towardzero): Likewise.
32439         (fma_test_downward): Likewise.
32440         (fma_test_upward): Likewise.
32442 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
32444         * sysdeps/i386/tininess.h: Renamed to ...
32445         * sysdeps/x86/tininess.h: This.
32446         * sysdeps/x86_64/tininess.h: Removed.
32448 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
32450         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
32451         input.  Use $(build-program-cmd).
32452         ($(objpfx)tst-array1-static.out): Likewise.
32453         ($(objpfx)tst-array2.out): Likewise.
32454         ($(objpfx)tst-array3.out): Likewise.
32455         ($(objpfx)tst-array4.out): Likewise.
32456         ($(objpfx)tst-array5.out): Likewise.
32457         ($(objpfx)tst-array5-static.out): Likewise.
32459 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
32461         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
32462         if defined.
32464         * nss/nsswitch.h (nss_interface_function): Provide new
32465         macro for use with NSS functions.
32466         * grp/initgroups.c: Use new macro.
32467         * nss/getXXbyYY.c: Likewise.
32468         * nss/getXXbyYY_r.c: Likewise.
32469         * nss/getXXent.c: Likewise.
32470         * nss/getXXent_r.c: Likewise.
32471         * sysdeps/posix/getaddrinfo.c: Likewise.
32473 2012-10-30  Andreas Jaeger  <aj@suse.de>
32475         * po/ru.po: Update Russion translation from translation project.
32477 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
32479         [BZ #14152]
32480         [BZ #14783]
32481         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
32482         result and shift together with sticky bit instead of replicating
32483         round-to-nearest rounding.
32484         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32485         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32486         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
32487         missing underflow exceptions.
32488         (fma_test_towardzero): Add more tests.
32489         (fma_test_downward): Likewise.
32490         (fma_test_upward): Likewise.
32492         [BZ #14047]
32493         * sysdeps/generic/tininess.h: New file.
32494         * sysdeps/i386/tininess.h: Likewise.
32495         * sysdeps/sh/tininess.h: Likewise.
32496         * sysdeps/x86_64/tininess.h: Likewise.
32497         * stdlib/tst-strtod-underflow.c: Likewise.
32498         * stdlib/tst-tininess.c: Likewise.
32499         * stdlib/strtod_l.c: Include <tininess.h>.
32500         (round_and_return): Do not set errno for exact underflow cases.
32501         Force an underflow exception when setting errno for underflow.
32502         Determine underflow based on rounding to normal precision if
32503         TININESS_AFTER_ROUNDING.
32504         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
32505         ERANGE for exact underflow cases.
32506         * stdlib/Makefile (tests): Add tst-tininess and
32507         tst-strtod-underflow.
32508         ($(objpfx)tst-tininess): Use $(link-libm).
32509         ($(objpfx)tst-strtod-underflow): Likewise.
32511 2012-10-30  Andreas Jaeger  <aj@suse.de>
32513         [BZ#14767]
32514         * elf/Makefile (tests): Remove conditional for have-initfini-array
32515         since this is now always required and the variable does not exist
32516         anymore.
32517         (tests-static): Likewise.
32518         (modules-names): Likewise.
32520         * po/eo.po: Add Esperanto translation from translation project.
32522         * elf/tst-array1.c (fini_array): Make writeable so that it can be
32523         merged with constructor/destructor.
32524         (init_array): Likewise.
32525         * elf/tst-array2dep.c (fini_array): Likewise.
32526         (init_array): Likewise.
32528 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
32530         * manual/message.texi: Delete @cartouche tags.
32532 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
32534         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
32535         EOPNOTSUPP.
32536         * sysdeps/mach/hurd/fsync.c: Likewise.
32538         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
32539         [_POSIX_REALTIME_SIGNALS]: Change condition to
32540         [_POSIX_REALTIME_SIGNALS > 0].
32542 2012-10-27  Andreas Jaeger  <aj@suse.de>
32544         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
32545         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
32546         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
32547         [__WORDSIZE != 64]: Likewise.
32549 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
32551         *  iconvdata/tst-table.sh: Remove ${SHELL}.
32552         *  iconvdata/tst-tables.sh: Likewise.
32554 2012-10-25  David S. Miller  <davem@davemloft.net>
32556         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32557         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
32558         of strtoull.
32560         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
32561         ifunc-impl-list.c
32562         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32563         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
32564         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
32565         file.
32567 2012-10-25  Roland McGrath  <roland@hack.frob.com>
32569         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32570         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
32571         __getdirentries.
32573 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
32574             Jim Blandy  <jimb@codesourcery.com>
32576         * scripts/cross-test-ssh.sh: New file.
32577         * manual/install.texi (Configuring and compiling): Document use of
32578         cross-test-ssh.sh.
32579         * INSTALL: Regenerated.
32581 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
32583         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
32584         EOPNOTSUPP.
32586 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
32588         * Makeconfig (run-program-prefix): Fix comment.
32590 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
32591             Jim Blandy  <jimb@codesourcery.com>
32593         * Makeconfig (test-wrapper): New variable,
32594         (test-wrapper-env): Likewise.
32595         [$(cross-compiling) = yes && $(test-wrapper) != ""]
32596         (run-built-tests): Define to yes.
32597         (run-program-prefix): Use $(test-wrapper).
32598         (built-program-cmd): Likewise.
32599         * Rules (make-test-out): Use $(test-wrapper-env) and
32600         $(host-built-program-cmd).
32601         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
32602         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
32603         tst-pathopt.sh.
32604         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
32605         $(test-wrapper-env) to tst-rtld-load-self.sh.
32606         ($(objpfx)order2.out): Use $(test-wrapper).
32607         ($(objpfx)tst-initorder.out): Likewise.
32608         ($(objpfx)tst-initorder2.out): Likewise.
32609         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
32610         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
32611         (test_wrapper_env): New variable.  Use it to run ld.so.
32612         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
32613         Use it to run ld.so.
32614         (test_wrapper_env): Likewise.
32615         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
32616         $(test-wrapper) to run-iconv-test.sh.
32617         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
32618         (ICONV): Use $test_wrapper.
32619         * posix/Makefile ($(objpfx)globtest.out): Pass
32620         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
32621         globtest.sh, not $(run-program-prefix).
32622         * posix/globtest.sh (run_via_rtld_prefix): New variable.
32623         (test_wrapper): Likewise.
32624         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
32625         set together with run_via_rtld_prefix.
32626         (run_program_prefix): Define in terms of test_wrapper and
32627         run_via_rtld_prefix.
32629 2012-10-24  Roland McGrath  <roland@hack.frob.com>
32631         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
32632         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
32633         Targets removed.
32635         [BZ #14743]
32636         * include/time.h: Remove librt_hidden_proto (clock_gettime).
32637         Declare __clock_getres, __clock_gettime, __clock_settime,
32638         __clock_nanosleep, and __clock_getcpuclockid.
32639         * rt/clock_gettime.c: Define __clock_gettime as an alias.
32640         Remove librt_hidden_def (clock_gettime).
32641         * sysdeps/unix/clock_gettime.c: Likewise.
32642         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
32643         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
32644         * rt/clock_getres.c: Define __clock_getres as an alias.
32645         * sysdeps/posix/clock_getres.c: Likewise.
32646         * rt/clock_settime.c: Define __clock_settime as an alias.
32647         * sysdeps/unix/clock_settime.c: Likewise.
32648         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
32649         * sysdeps/unix/clock_nanosleep.c: Likewise.
32650         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
32651         * rt/clock-compat.c: New file.
32652         * rt/Makefile (librt-routines): Add clock-compat and move
32653         $(clock-routines) to ...
32654         (routines): ... here, new variable.
32655         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
32656         Don't add get_clockfreq here.
32657         * rt/Versions (libc: GLIBC_2.17): New version set.
32658         Add clock_* symbols here.
32659         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
32660         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
32661         (GLIBC_2.17): Add clock_* symbols.
32662         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32663         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32664         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32666         Likewise.
32667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32668         Likewise.
32669         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32670         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32671         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32672         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32673         * NEWS: Mention the move.
32675         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
32676         Use __open, __read, __close rather than their public counterparts.
32677         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32678         (__get_clockfreq_via_cpuinfo): Likewise.
32679         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
32680         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
32682         * config.h.in (HAVE_IFUNC): New #undef.
32683         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
32684         was successful.
32685         * configure: Regenerated.
32687 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
32689         * configure.in: Move READELF check to start of file.
32690         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
32691         libc_cv_asm_gnu_indirect_function in the process.
32692         * configure: Regenerated.
32694 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
32696         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
32697         send the output to /dev/null.
32698         (libc_cv_cc_with_libunwind): Likewise.
32699         (libc_cv_as_noexecstack): Likewise.
32700         * configure: Regenerate.
32702 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
32704         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
32706         * posix/globtest.sh (TMPDIR): Do not set.
32707         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
32708         (testout): Likewise.
32710 2012-10-24  Andreas Jaeger  <aj@suse.de>
32712         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
32713         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
32714         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
32715         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
32716         posix_fadvise64, posix_fallocate64.
32718         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
32719         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
32720         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
32721         Likewise.
32722         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
32723         Likewise.
32724         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
32726         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
32727         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
32728         <bits/fcntl-linux.h>.
32729         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
32731         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
32732         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
32733         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
32734         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
32735         [__WORDSIZE != 64]: Likewise.
32737 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
32739         * Makeconfig (run-built-tests): New variable.
32740         * Rules [$(cross-compiling) = yes]: Change condition to
32741         [$(run-built-tests) = no].
32742         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
32743         to [$(run-built-tests) = yes].
32744         * elf/Makefile [$(cross-compiling) = no]: Likewise
32745         * grp/Makefile [$(cross-compiling) = no]: Likewise.
32746         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
32747         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
32748         * intl/Makefile [$(cross-compiling) = no]: Likewise.
32749         * io/Makefile [$(cross-compiling) = no]: Likewise.
32750         * libio/Makefile [$(cross-compiling) = no]: Likewise.
32751         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
32752         * misc/Makefile [$(cross-compiling) = no]: Likewise.
32753         * posix/Makefile [$(cross-compiling) = no]: Likewise.
32754         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
32755         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
32756         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
32757         * string/Makefile [$(cross-compiling) = no]: Likewise.
32759         * posix/Makefile ($(objpfx)globtest.out): Pass
32760         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
32761         $(rtld-installed-name).
32762         * posix/globtest.sh (elf_objpfx): Remove variable.
32763         (rtld_installed_name): Likewise.
32764         (library_path): Likewise.
32765         (run_program_prefix): New variable.  Use for running globtest
32766         binary.
32768 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
32769             Joseph Myers  <joseph@codesourcery.com>
32771         * Makeconfig (host-built-program-cmd): New variable.
32772         * elf/Makefile (tst-stackguard1-ARGS): Use
32773         $(host-built-program-cmd).
32774         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
32775         (tst-spawn-ARGS): Likewise.
32776         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
32778 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
32779             Jim Blandy  <jimb@codesourcery.com>
32781         * Makeconfig (run-via-rtld-prefix): New variable.
32782         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
32783         (built-program-cmd): Likewise.
32785 2012-10-22  Andreas Jaeger  <aj@suse.de>
32787         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
32788         __O_RSYNC if it exists, otherwise to O_SYNC.
32790 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
32791             Joseph Myers  <joseph@codesourcery.com>
32793         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
32794         /dev/null.
32795         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
32796         from /dev/null
32797         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
32798         /dev/null.
32800 2012-10-22  Andreas Jaeger  <aj@suse.de>
32802         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
32803         Define always.
32804         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
32806         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32807         bits/fcntl-linux.h.
32809         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
32810         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
32812         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
32813         to __O_LARGEFILE.
32814         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
32815         to __O_LARGEFILE.
32817 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
32818             Joseph Myers  <joseph@codesourcery.com>
32820         * config.make.in (NM): New variable.
32822 2012-10-21  Andreas Jaeger  <aj@suse.de>
32824         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
32825         definitions and declarations that are provided by
32826         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
32828 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
32830         [BZ #14683]
32831         * elf/Makefile (tests-static): Add tst-leaks1-static.
32832         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
32833         ($(objpfx)tst-leaks1-static): New rule.
32834         ($(objpfx)tst-leaks1-static-mem): Likewise.
32835         (tst-leaks1-static-ENV): New macro.
32836         * elf/dl-open.c (dl_open_worker): Check the main application
32837         only if SHARED is defined.
32838         * elf/tst-leaks1-static.c: New file.
32840 2012-10-20  Andreas Jaeger  <aj@suse.de>
32842         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
32843         generic values for Linux.
32844         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
32845         and declarations that are provided by <bits/fcntl-linux.h> and
32846         include <bits/fcntl-linux.h>.
32847         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32848         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32850 2012-10-20  Roland McGrath  <roland@hack.frob.com>
32852         * io/fcntl.h: Move include of <bits/types.h> to the top and
32853         include it unconditionally.
32855 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
32857         * wcsmbs/Makefile (tests-ifunc): New variable.
32858         (tests): Add $(tests-ifunc).
32859         * wcsmbs/test-wcschr-ifunc.c: New file.
32860         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
32861         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
32862         * wcsmbs/test-wcslen-ifunc.c: Likewise.
32863         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
32864         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
32866         * string/Makefile (tests-ifunc): New variable.
32867         (tests): Add $(tests-ifunc).
32868         * string/test-memccpy.c (TEST_NAME): New macro.
32869         * string/test-memchr.c (TEST_NAME): Likewise.
32870         * string/test-memcmp.c (TEST_NAME): Likewise.
32871         * string/test-memcpy.c (TEST_NAME): Likewise.
32872         * string/test-memmem.c (TEST_NAME): Likewise.
32873         * string/test-memmove.c (TEST_NAME): Likewise.
32874         * string/test-memset.c (TEST_NAME): Likewise.
32875         * string/test-rawmemchr.c (TEST_NAME): Likewise.
32876         * string/test-stpcpy.c (TEST_NAME): Likewise.
32877         * string/test-stpncpy.c (TEST_NAME): Likewise.
32878         * string/test-strcasecmp.c (TEST_NAME): Likewise.
32879         * string/test-strcasestr.c (TEST_NAME): Likewise.
32880         * string/test-strcat.c (TEST_NAME): Likewise.
32881         * string/test-strchr.c (TEST_NAME): Likewise.
32882         * string/test-strcmp.c(TEST_NAME): Likewise.
32883         * string/test-strcpy.c (TEST_NAME): Likewise.
32884         * string/test-strcspn.c (TEST_NAME): Likewise.
32885         * string/test-strlen.c (TEST_NAME): Likewise.
32886         * string/test-strncasecmp.c (TEST_NAME): Likewise.
32887         * string/test-strncmp.c (TEST_NAME): Likewise.
32888         * string/test-strncpy.c (TEST_NAME): Likewise.
32889         * string/test-strnlen.c (TEST_NAME): Likewise.
32890         * string/test-strpbrk.c (TEST_NAME): Likewise.
32891         * string/test-strrchr.c (TEST_NAME): Likewise.
32892         * string/test-strspn.c (TEST_NAME): Likewise.
32893         * string/test-strstr.c (TEST_NAME): Likewise.
32894         * string/test-bcopy-ifunc.c: New file.
32895         * string/test-bzero-ifunc.c: Likewise.
32896         * string/test-memccpy-ifunc.c: Likewise.
32897         * string/test-memchr-ifunc.c: Likewise.
32898         * string/test-memcmp-ifunc.c: Likewise.
32899         * string/test-memcpy-ifunc.c: Likewise.
32900         * string/test-memmem-ifunc.c: Likewise.
32901         * string/test-memmove-ifunc.c: Likewise.
32902         * string/test-mempcpy-ifunc.c: Likewise.
32903         * string/test-memset-ifunc.c: Likewise.
32904         * string/test-rawmemchr-ifunc.c: Likewise.
32905         * string/test-stpcpy-ifunc.c: Likewise.
32906         * string/test-stpncpy-ifunc.c: Likewise.
32907         * string/test-strcasecmp-ifunc.c: Likewise.
32908         * string/test-strcasestr-ifunc.c: Likewise.
32909         * string/test-strcat-ifunc.c: Likewise.
32910         * string/test-strchr-ifunc.c: Likewise.
32911         * string/test-strchrnul-ifunc.c: Likewise.
32912         * string/test-strcmp-ifunc.c: Likewise.
32913         * string/test-strcpy-ifunc.c: Likewise.
32914         * string/test-strcspn-ifunc.c: Likewise.
32915         * string/test-strlen-ifunc.c: Likewise.
32916         * string/test-strncasecmp-ifunc.c: Likewise.
32917         * string/test-strncat-ifunc.c: Likewise.
32918         * string/test-strncmp-ifunc.c: Likewise.
32919         * string/test-strncpy-ifunc.c: Likewise.
32920         * string/test-strnlen-ifunc.c: Likewise.
32921         * string/test-strpbrk-ifunc.c: Likewise.
32922         * string/test-strrchr-ifunc.c: Likewise.
32923         * string/test-strspn-ifunc.c: Likewise.
32924         * string/test-strstr-ifunc.c: Likewise.
32926         * debug/Makefile (tests-ifunc): New variable.
32927         (tests): Add $(tests-ifunc).
32928         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
32929         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
32930         * debug/test-stpcpy_chk-ifunc.c: New file.
32931         * debug/test-strcpy_chk-ifunc.c: Likewise.
32933 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
32935         [BZ #13601]
32936         * elf/dl-load.c (open_verify): Retry read if the entire ELF
32937         header is not read in.
32939 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
32941         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
32942         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
32943         directly.  Pass built executable to script as
32944         $(built-program-cmd).
32945         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
32946         $testprogram without using LD_LIBRARY_PATH and $ldso.
32948         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
32949         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
32950         $(rtld-installed-name).
32951         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
32952         (rtld_installed_name): Likewise.
32953         (library_path): Likewise.
32954         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
32955         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
32956         $(run-program-prefix) to tst-tables.sh.
32957         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
32958         it to run tst-table-from and tst-table-to.
32959         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
32960         Pass it to tst-table.sh.
32961         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
32962         $(run-program-prefix) to tst-gettext.sh.
32963         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
32964         tst-translit.sh.
32965         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
32966         tst-gettext2.sh.
32967         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
32968         to run tst-gettext.
32969         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
32970         to run tst-gettext2.
32971         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
32972         to run tst-translit.
32973         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
32974         $(run-program-prefix) to tst-mtrace.sh.
32975         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
32976         to run tst-mtrace.
32977         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
32978         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
32979         $(rtld-installed-name).
32980         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
32981         (rtld_installed_name): Likewise.
32982         (run_program_prefix): New variable.  Use it to run wordexp-test.
32984         * Makeconfig (ARCH): Remove all definitions.
32985         (machine): Likewise.
32986         [ARCH]: Remove conditional code.
32987         [!objdir]: Give error.
32988         [!objdir] (objpfx): Remove.
32989         [!objdir] (common-objpfx): Likewise.
32990         [!objdir] (common-objdir): Likewise.
32991         * configure.in (config_makefile): Remove.  Hardcode Makefile in
32992         AC_CONFIG_FILES call.
32993         * configure: Regenerated.
32995         [BZ #13888]
32996         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
32997         or TMPDIR.
32998         (testout): Likewise.
33000         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
33001         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
33002         $(rtld-installed-name).
33003         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
33004         (rtld_installed_name): Likwise.
33005         (runit): Remove function.
33006         (run_getconf): New variable,  Use it for running getconf binary.
33008 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
33010         [BZ #14716]
33011         * string/test-memmem.c (check_result): New function.
33012         (do_one_test): Use it.
33013         (check1): New function.
33014         (test_main): Use it.
33016 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
33018         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
33020 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
33022         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
33023         (_G_LSEEK64): Likewise.
33024         (_G_MMAP64): Likewise.
33025         (_G_FSTAT64): Likewise.
33026         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
33027         (_G_LSEEK64): Likewise.
33028         (_G_MMAP64): Likewise.
33029         (_G_FSTAT64): Likewise.
33030         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
33031         unconditional.  Call __mmap64 directly.
33032         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
33033         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
33034         __lseek64 directly.
33035         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
33036         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
33037         __mmap64 directly.
33038         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
33039         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
33040         __lseek64 directly.
33041         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
33042         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
33043         __lseek64 directly.
33044         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
33045         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
33046         __lseek64 directly.
33047         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
33048         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
33049         __fxstat64 directly.
33050         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
33051         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
33052         unconditional.
33053         (freopen64) [!_G_OPEN64]: Remove conditional code.
33054         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
33055         unconditional.
33056         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
33057         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
33058         unconditional.
33059         (ftello64) [!_G_LSEEK64]: Remove conditional code.
33060         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
33061         unconditional.
33062         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33063         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
33064         unconditional.
33065         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
33066         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
33067         unconditional.
33068         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33069         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
33070         unconditional.
33071         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33072         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
33073         unconditional.
33074         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33076 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
33078         [BZ #12140]
33079         * manual/memory.texi (Malloc Tunable Parameters): Add note
33080         about free list pointers overwriting some perturb bytes.
33081         Wording suggested by Roland McGrath.
33083 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
33085         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
33086         (lgamma_test): Likewise.
33087         (tgamma_test): Likewise.
33089 2012-10-16  Florian Weimer  <fweimer@redhat.com>
33091         [BZ #14700]
33092         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
33093         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
33095 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
33097         * NEWS: Mention BZ #14716.
33098         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
33099         when removing AVAILABLE1_USES_J macro.
33101 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
33103         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
33104         (__bswap_64): __uint64_t for unsigned 64-bit int.
33106 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
33108         * include/string.h (memmem): Declare libc hidden alias.
33109         * string/memmem.c (memmem): Define libc hidden alias.
33110         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
33111         __read, __close instead of open, read, close.
33113 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
33115         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
33116         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
33117         global and hidden.
33118         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
33119         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
33120         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
33121         Likewise.
33122         (__rawmemchr_sse2): Likewise.
33123         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
33124         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
33125         (__strchr_sse2): Likewise.
33126         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
33127         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
33128         (__strcasecmp_sse2): Likewise.
33129         (__strncasecmp_sse2): Likewise.
33130         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
33131         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
33132         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
33133         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
33134         (__strrchr_sse2): Likewise.
33135         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
33136         ifunc-impl-list.c.
33137         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
33138         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
33139         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
33140         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33141         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
33142         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
33143         * sysdeps/x86_64/multiarch/memset.S: Likewise.
33144         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33145         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
33146         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
33147         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
33148         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
33149         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
33150         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
33151         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
33152         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33153         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
33154         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
33155         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
33156         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
33157         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
33158         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
33159         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
33160         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
33161         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
33162         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33163         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33164         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
33165         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
33166         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
33168         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
33169         global and hidden.
33170         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
33171         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
33172         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
33173         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
33174         Likewise.
33175         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
33176         Likewise.
33177         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
33178         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
33179         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
33180         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
33181         ifunc-impl-list.c.
33182         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33183         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33184         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33185         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33186         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33187         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33188         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33189         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33190         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33191         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33192         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33193         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33194         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33195         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
33196         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
33197         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33198         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
33199         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
33200         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33201         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
33202         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33203         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33204         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33205         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33206         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33207         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
33208         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
33209         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
33210         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
33211         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33212         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
33213         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33214         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33215         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
33216         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33217         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33218         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33219         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33220         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33221         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33222         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
33224         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
33225         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
33226         * include/ifunc-impl-list.h: New file.
33227         * misc/ifunc-impl-list.c: Likewise.
33228         * misc/Makefile (routines): Add ifunc-impl-list.
33229         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
33230         * string/test-string.h: Include <ifunc-impl-list.h>.
33231         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
33232         TEST_NAME]: New variables.
33233         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
33234         are defined.
33235         (test_init): Call __libc_ifunc_impl_list to initialize
33236         func_list if TEST_IFUNC and TEST_NAME are defined.
33238         * string/Makefile (strop-tests): Add bcopy and bzero.
33239         * string/test-bcopy.c: New file.
33240         * string/test-bzero.c: Likewise.
33241         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
33242         defined.
33243         * string/test-memset.c: Support bzero test if TEST_BZERO is
33244         defined.
33245         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
33246         __libc_memmove.
33247         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
33248         __libc_memset.
33249         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
33250         of memset.
33252 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
33254         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
33255         * configure: Regenerated.
33257         * Makeconfig (+link-static-before-libc): Don't include
33258         $(link-static-libc).
33260         * libio/libio.h (_IO_pos_t): Remove.
33262 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
33264         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
33265         McGrath.
33267 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
33269         * crypt/crypt-entry.c: Include fips-private.h.
33270         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
33271         * crypt/md5c-test.c (main): Tolerate disabled MD5.
33272         * sysdeps/unix/sysv/linux/fips-private.h: New file.
33273         * sysdeps/generic/fips-private.h: New file, dummy fallback.
33275 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
33277         * crypt/crypt-private.h: Include stdbool.h.
33278         (_ufc_setup_salt_r): Return bool.
33279         * crypt/crypt-entry.c: Include errno.h.
33280         (__crypt_r): Return NULL with EINVAL for bad salt.
33281         * crypt/crypt_util.c (bad_for_salt): New.
33282         (_ufc_setup_salt_r): Check that salt is long enough and within
33283         the specified alphabet.
33284         * crypt/badsalttest.c: New file.
33285         * crypt/Makefile (tests): Add it.
33286         ($(objpfx)badsalttest): New.
33288 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
33290         * NEWS: Add entry for BZ #14602.
33292 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
33294         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
33295         type-generic.
33296         * math/libm-test.inc: Update comment listing what functions and
33297         macros are tested.
33298         (isgreater_test): New function.
33299         (isgreaterequal_test): Likewise.
33300         (isless_test): Likewise.
33301         (islessequal_test): Likewise.
33302         (islessgreater_test): Likewise.
33303         (isunordered_test): Likewise.
33304         (main): Call the new functions.
33306 2012-10-09  Roland McGrath  <roland@hack.frob.com>
33308         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
33309         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
33310         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
33311         * sysdeps/i386/configure: Regenerated.
33312         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
33313         * sysdeps/mach/configure: Regenerated.
33314         * sysdeps/mach/hurd/configure: Regenerated.
33315         * sysdeps/powerpc/configure: Regenerated.
33316         * sysdeps/powerpc/powerpc32/configure: Regenerated.
33317         * sysdeps/powerpc/powerpc64/configure: Regenerated.
33318         * sysdeps/s390/s390-32/configure: Regenerated.
33319         * sysdeps/s390/s390-64/configure: Regenerated.
33320         * sysdeps/sh/configure: Regenerated.
33321         * sysdeps/sparc/configure: Regenerated.
33322         * sysdeps/unix/sysv/linux/configure: Regenerated.
33323         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
33324         * sysdeps/x86_64/configure: Regenerated.
33326         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
33327         defined.  Don't check if MAP is NULL.
33329 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
33331         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
33332         (_G_stat64): Likewise.
33333         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
33334         (_G_stat64): Likewise.
33335         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
33336         instead of struct _G_stat64.
33337         * libio/fileops.c (mmap_remap_check): Likewise.
33338         (decide_maybe_mmap): Likewise.
33339         (_IO_new_file_seekoff): Likewise.
33340         (_IO_file_stat): Likewise.
33341         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
33342         _G_off64_t.
33343         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
33344         instead of struct _G_stat64.
33345         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
33347 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
33349         [BZ #14602]
33350         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33351         Replace with ...
33352         (CHECK_EOL): New macro.
33353         (two_way_short_needle): Check beginning of haystack for EOL.  Use
33354         CHECK_EOL.
33355         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33356         Replace with CHECK_EOL.
33357         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33358         Replace with CHECK_EOL.
33360 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
33362         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
33363         type-generic.
33364         * math/libm-test.inc: Update comment listing what functions and
33365         macros are tested.
33366         (finite_test): New function.
33367         (isinf_test): Likewise.
33368         (isnan_test): Likewise.
33369         (fpclassify_test): Test subnormal input.
33370         (isfinite_test): Likewise.
33371         (isnormal_test): Likewise.
33372         (main): Call the new functions.
33374 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
33376         [BZ #14660]
33377         * Makerules (%.dynsym): Force C locale when running
33378         $(OBJDUMP) --dynamic-syms.
33380 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
33382         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
33383         <stdint.h>.
33385 2012-10-06  David S. Miller  <davem@davemloft.net>
33387         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
33388         upper 32-bits of the length value in %o2 since we use branch-on-register
33389         tests which consider the entire 64-bit register.
33391 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
33393         * string/test-strstr.c (check2): Add a test for page boundary.
33395 2012-10-05  David S. Miller  <davem@davemloft.net>
33397         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
33398         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
33399         file.
33400         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
33401         sysdep_routines.
33402         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
33403         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
33404         and bzero when HWCAP_SPARC_CRYPTO is present.
33406 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
33408         [BZ #14602]
33409         * string/test-strstr.c (check2): New function.
33410         (test_main): Call check2.
33412         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
33413         and bug-strchr1.
33414         * string/bug-strcasestr1.c (do_test): Moved to ...
33415         * string/test-strcasestr.c (check1): Here.  New function.
33416         (do_one_test): Break out result checking code into ...
33417         (check_result): This.  New function.
33418         (do_one_test): Call check_result.
33419         (test_main): Call check1.
33420         * string/bug-strchr1.c (do_test): Moved to ...
33421         * string/test-strchr.c (check1): Here.  New function.
33422         (do_one_test): Break out result checking code into ...
33423         (check_result): This.  New function.
33424         (do_one_test): Call check_result.
33425         (test_main): Call check1.
33426         * string/bug-strstr1.c (main): Moved to ...
33427         * string/test-strstr.c (check1): Here.  New function.
33428         (do_one_test): Break out result checking code into ...
33429         (check_result): This.  New function.
33430         (do_one_test): Call check_result.
33431         (test_main): Call check1.
33432         * string/bug-strcasestr1.c: Removed.
33433         * string/bug-strchr1.c: Likewise.
33434         * string/bug-strstr1.c: Likewise.
33436         * elf/Makefile (dl-routines): Add hwcaps.
33437         * elf/dl-support.c (_dl_important_hwcaps): Removed.
33438         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
33439         (_dl_important_hwcaps): Moved to ...
33440         * elf/dl-hwcaps.c: Here.  New file.
33441         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
33443         [BZ #14557]
33444         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
33445         if IS_IN_rtld isn't defined.
33447         * elf/dl-support.c (_dl_sysinfo_map): New.
33448         Include "get-dynamic-info.h" and "setup-vdso.h".
33449         (_dl_non_dynamic_init): Call setup_vdso.
33450         * elf/dynamic-link.h: Don't include <assert.h>.
33451         (elf_get_dynamic_info): Moved to ...
33452         * elf/get-dynamic-info.h: Here.  New file.
33453         * elf/dynamic-link.h: Include "get-dynamic-info.h".
33454         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
33455         * elf/setup-vdso.h: Here.  New file.
33456         * elf/rtld.c: Include "setup-vdso.h".
33457         (dl_main): Call setup_vdso.
33459 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
33461         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
33462         creal in comment listing functions tested.  List finite, isinf,
33463         isnan, isless, islessequal, isgreater, isgreaterequal,
33464         islessgreater, isunordered, lgamma_r and pow10 as functions and
33465         macros not tested.  Mention which functions not tested are aliases
33466         for other functions.  Fix typo.  Note that signs of NaNs are not
33467         tested.
33469         * scripts/config.guess: Update from config.git.
33470         * scripts/config.sub: Likewise.
33472 2012-10-04  Roland McGrath  <roland@hack.frob.com>
33474         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
33475         * misc/madvise.c (madvise): Renamed to __madvise.
33476         Make madvise a weak alias.
33477         * include/sys/mman.h: Declare __madvise.
33478         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
33479         * sysdeps/unix/syscalls.list
33480         (madvise): Make __madvise the strong name, and madvise a weak alias.
33481         * sysdeps/unix/sysv/linux/syscalls.list
33482         (madvise, mmap): Remove redundant entries.
33483         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
33484         * malloc/malloc.c (mtrim): Likewise.
33485         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
33487 2012-10-03  Roland McGrath  <roland@hack.frob.com>
33489         * sysdeps/mach/hurd/dl-cache.c: File removed.
33490         * config.h.in (USE_LDCONFIG): New #undef.
33491         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
33492         * configure: Regenerated.
33493         * elf/Makefile (dl-routines): Add dl-cache only under
33494         [$(use-ldconfig) = yes].
33495         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
33496         cache on [USE_LDCONFIG].
33497         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
33498         [USE_LDCONFIG].
33499         * elf/rtld.c (dl_main): Likewise.
33501 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
33503         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
33504         _SC_LEVEL4_CACHE_LINESIZE.
33506 2012-10-03  Roland McGrath  <roland@hack.frob.com>
33508         * sysdeps/unix/bsd/confstr.h: File removed.
33510 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
33512         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
33513         sys/sdt-config.h.
33515 2012-10-02  Roland McGrath  <roland@hack.frob.com>
33517         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
33518         Make 'mapoff' field ElfW(Off) rather than off_t.
33520 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
33522         * nscd/Makefile: Remove nscd-cflags and all its users.
33523         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
33524         (CFLAGS-nonlib): Add compiler flags for nscd modules.
33526         [BZ #10631]
33527         * malloc.c (malloc_printerr): Clarify error message.
33529 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
33531         [BZ #14648]
33532         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33533         Set bit_FMA_Usable if FMA is supported.
33534         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
33535         macro.
33536         (bit_FMA4_Usable): Updated.
33537         (index_FMA_Usable): New macro.
33538         (CPUID_FMA): Likewise
33539         (HAS_FMA): Defined with bit_FMA_Usable.
33541 2012-10-01  Roland McGrath  <roland@hack.frob.com>
33543         * bits/types.h (__swblk_t): Type removed.
33544         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
33545         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
33546         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33547         (__SWBLK_T_TYPE): Likewise.
33548         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33549         (__SWBLK_T_TYPE): Likewise.
33550         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33551         (__SWBLK_T_TYPE): Likewise.
33552         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33553         (__SWBLK_T_TYPE): Likewise.
33555 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
33556             Honza Horak <hhorak@redhat.com>
33558         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
33559         (xdr_mapname): Use YPMAXMAP as maxsize.
33560         (xdr_peername): Use YPMAXPEER as maxsize.
33561         (xdr_keydat): Use YPAXRECORD as maxsize.
33562         (xdr_valdat): Use YPMAXRECORD as maxsize.
33564 2012-10-01  Roland McGrath  <roland@hack.frob.com>
33566         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
33568         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
33569         * csu/init-first.c: ... here.
33570         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
33571         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
33572         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
33573         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
33574         * sysdeps/i386/init-first.c: File removed.
33575         * sysdeps/sh/init-first.c: File removed.
33577 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
33579         [BZ #14645]
33580         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
33581         if x * y might underflow to zero and z is zero.
33582         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33583         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33584         * math/libm-test.inc (min_subnorm_value): New variable.
33585         (fma_test): Add more tests.
33586         (fma_test_towardzero): Likewise.
33587         (fma_test_downward): Likewise
33588         (fma_test_upward): Likewise.
33589         (initialize): Set min_subnorm_value.
33591 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
33593         [BZ #14638]
33594         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
33595         0 + 0.
33596         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
33597         mode for addition resulting in exact zero.
33598         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
33599         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
33600         exact 0 + 0.
33601         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33602         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33603         * math/libm-test.inc (fma_test): Add more tests.
33604         (fma_test_towardzero): New function.
33605         (fma_test_downward): Likewise.
33606         (fma_test_upward): Likewise.
33607         (main): Call the new functions.
33609 2012-09-28  David S. Miller  <davem@davemloft.net>
33611         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
33613 2012-09-28  Roland McGrath  <roland@hack.frob.com>
33615         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
33616         instead of SIGALRM.
33618         * sysdeps/gnu/_G_config.h: Moved to ...
33619         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
33620         * sysdeps/mach/hurd/_G_config.h: Moved to ...
33621         * sysdeps/generic/_G_config.h: ... here.
33623         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
33625         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
33627         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
33628         Conditionalize target on [libnss_test1.so-version].
33630         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
33632         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
33633         (elfobjdir): Move out of conditionals.
33635         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
33636         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
33637         (__nss_lookup_function): Conditionalize label remove_from_tree on
33638         [!DO_STATIC_NSS || SHARED], matching its only use.
33640 2012-09-28  David S. Miller  <davem@davemloft.net>
33642         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
33643         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
33644         file.
33645         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
33646         sysdep_routines.
33647         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
33648         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
33649         when HWCAP_SPARC_CRYPTO is present.
33651 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
33653         * io/tst-mknodat.c: Create a FIFO instead of a socket.
33655 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
33657         [BZ #6530]
33658         * stdio-common/vfprintf.c (process_string_arg): Revert
33659         2000-07-22 change.
33661 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
33663         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
33664         for testcase.
33665         * stdio-common/tst-sprintf.c: Include <locale.h>
33666         (main): Test sprintf's handling of incomplete multibyte
33667         characters.
33669 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
33671         * elf/dl-runtime.c (VERSYMIDX): Removed.
33672         * elf/dl-version.c (VERSYMIDX): Likewise.
33673         * elf/do-rel.h (VERSYMIDX): Likewise.
33674         (VALIDX): Likewise.
33675         * elf/dynamic-link.h (VERSYMIDX): Likewise.
33676         * elf/rtld.c (VALIDX): Likewise.
33677         (ADDRIDX): Likewise.
33678         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
33679         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
33680         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
33681         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
33682         (VALIDX): Likewise.
33683         (ADDRIDX): Likewise.
33685 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
33687         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
33689 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
33691         [BZ #11438]
33692         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
33693         to global scope.
33694         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
33695         addresses are in the same scope as 192.0.2/24.
33696         * posix/gai.conf: Document new scope table defaults.
33698 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33700         [BZ #5298]
33701         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
33702         for ftell.  Compute offsets from write pointers instead.
33703         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
33705 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33707         [BZ #14543]
33708         * libio/Makefile (tests): New test case tst-fseek.
33709         * libio/tst-fseek.c: New test case to verify that fseek/ftell
33710         combination works in wide mode.
33711         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
33712         state when the external buffer state changes.
33714 2012-09-27  David S. Miller  <davem@davemloft.net>
33716         [BZ #14376]
33717         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
33718         pass reloc->r_addend in as the 'high' argument to
33719         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
33721         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33723 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
33725         * rt/tst-aio2.c: Include <pthread.h>.
33726         * rt/tst-aio3.c: Likewise.
33728 2012-09-27  Steve Ellcey  <sellcey@mips.com>
33730         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
33732 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
33734         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
33735         contents on [SHARED].
33737 2012-09-26  Marek Polacek  <polacek@redhat.com>
33739         [BZ #14530]
33740         [BZ #13741]
33741         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
33742         for C++ and GCC <4.3 as well as for non GCC compilers.
33744 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
33746         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33748 2012-09-25  Roland McGrath  <roland@hack.frob.com>
33750         * Makefile.in (all, install): Declare with .PHONY.
33751         Reported by Michael Hope <michael.hope@linaro.org>.
33753 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33755         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
33756         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
33757         system header.
33758         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
33759         Likewise.
33760         (sydep_routines): Add the new and the internal functions.
33761         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
33762         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
33763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
33764         (GLIBC_2.17): Add the new function.
33765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33766         (GLIBC_2.17): Likewise.
33767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
33768         (GLIBC_2.17): Likewise.
33769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
33770         (GLIBC_2.17): Likewise.
33771         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
33773 2012-09-25  Alan Modra  <amodra@gmail.com>
33775         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
33776         Add release barrier before setting once_control to say
33777         initialisation is done.  Add hints on lwarx.  Use macro in
33778         place of isync.
33779         (clear_once_control): Add release barrier.
33781 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
33783         [BZ #13629]
33784         * math/s_clog.c (__clog): Handle more values close to |z| = 1
33785         specially.
33786         * math/s_clog10.c (__clog10): Likewise.
33787         * math/s_clog10f.c (__clog10f): Likewise.
33788         * math/s_clog10l.c (__clog10l): Likewise.
33789         * math/s_clogf.c (__clogf): Likewise.
33790         * math/s_clogl.c (__clogl): Likewise.
33791         * math/Makefile (libm-calls): Add x2y2m1.
33792         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
33793         (__x2y2m1): Likewise.
33794         (__x2y2m1l): Likewise.
33795         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
33796         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
33797         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
33798         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
33799         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
33800         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
33801         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
33802         * sysdeps/i386/fpu/libm-test-ulps: Update.
33803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33805         [BZ #14621]
33806         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
33807         int as type of variable DEPTH.
33808         (glob): Use size_t instead of int as type of variables NEWCOUNT
33809         and OLD_PATHC.
33811 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33813         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
33814         Add s_sincosf-sse2.
33815         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
33816         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
33817         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
33818         macros for using routine as __sincosf_ia32.
33819         Use macro for function declaration and weak_alias.
33820         * sysdeps/i386/fpu/libm-test-ulps: Update.
33822         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
33823         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33825         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
33826         subnormal argument.
33827         * math/s_cexpf.c (__cexpf): Likewise.
33828         * math/s_csinf.c (__csinf): Likewise.
33829         * math/s_csinhf.c (__csinhf): Likewise.
33830         * math/s_ctanf.c (__ctanf): Likewise.
33831         * math/s_ctanhf.c (__ctanhf): Likewise.
33832         * math/s_ccosh.c (__ccoshf): Likewise.
33833         * math/s_cexp.c (__cexpl): Likewise.
33834         * math/s_csin.c (__csin): Likewise.
33835         * math/s_csinh.c (__csinh): Likewise.
33836         * math/s_ctan.c (__ctan): Likewise.
33837         * math/s_ctanh.c (ctanh): Likewise.
33838         * math/s_ccoshl.c (__ccoshl): Likewise.
33839         * math/s_cexpl.c (__cexpl): Likewise.
33840         * math/s_csinl.c (__csinl): Likewise.
33841         * math/s_csinhl.c (__csinhl): Likewise.
33842         * math/s_ctanl.c (__ctanl): Likewise.
33843         * math/s_ctanhl.c (__ctanhl): Likewise.
33845 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
33847         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
33848         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
33849         (_IO_off_t): Define to __off_t, not _G_off_t.
33850         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
33851         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
33852         (_IO_wint_t): Define to wint_t, not _G_wint_t.
33853         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
33854         type of __dummy and __dummy2 fields.
33855         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
33856         (_G_ssize_t): Likewise.
33857         (_G_off_t): Likewise.
33858         (_G_pid_t): Likewise.
33859         (_G_uid_t): Likewise.
33860         (_G_wchar_t): Likewise.
33861         (_G_wint_t): Likewise.
33862         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
33863         (_G_ssize_t): Likewise.
33864         (_G_off_t): Likewise.
33865         (_G_pid_t): Likewise.
33866         (_G_uid_t): Likewise.
33867         (_G_wchar_t): Likewise.
33868         (_G_wint_t): Likewise.
33869         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
33870         (_G_ssize_t): Likewise.
33871         (_G_off_t): Likewise.
33872         (_G_pid_t): Likewise.
33873         (_G_uid_t): Likewise.
33874         (_G_wchar_t): Likewise.
33875         (_G_wint_t): Likewise.
33877 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
33879         * malloc/arena.c: Include malloc-sysdep.h.
33880         (shrink_heap): Use check_may_shrink_heap to decide if madvise
33881         is sufficient to shrink the heap or an unmap is needed.
33882         * sysdeps/generic/malloc-sysdep.h: New file.  Define
33883         new function check_may_shrink_heap.
33884         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
33885         new function check_may_shrink_heap.
33887 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
33889         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
33890         comments.
33892 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
33894         * catgets/test-gencat.sh: Add "set -e".
33895         * elf/tst-pathopt.sh: Likewise.
33896         * grp/tst_fgetgrent.sh: Likewise.
33897         * iconvdata/run-iconv-test.sh: Likewise.
33898         * intl/tst-gettext.sh: Likewise.
33899         * intl/tst-gettext2.sh: Likewise.
33900         * intl/tst-gettext4.sh: Likewise.
33901         * intl/tst-gettext6.sh: Likewise.
33902         * intl/tst-translit.sh: Likewise.
33903         * io/ftwtest-sh: Likewise.
33904         * libio/test-freopen.sh: Likewise.
33905         * malloc/tst-mtrace.sh: Likewise.
33906         * posix/globtest.sh: Likewise.
33907         * posix/tst-getconf.sh: Likewise.
33908         * posix/wordexp-tst.sh: Likewise.
33909         * stdio-common/tst-printf.sh: Likewise.
33910         * stdio-common/tst-unbputc.sh: Likewise.
33911         * stdlib/tst-fmtmsg.sh: Likewise.
33912         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
33913         * catgets/Makefile: Do not specify -e option when running
33914         testsuite shell scripts.
33915         * elf/Makefile: Likewise.
33916         * grp/Makefile: Likewise.
33917         * iconvdata/Makefile: Likewise.
33918         * intl/Makefile: Likewise.
33919         * io/Makefile: Likewise.
33920         * libio/Makefile: Likewise.
33921         * malloc/Makefile: Likewise.
33922         * posix/Makefile: Likewise.
33923         * stdio-common/Makefile: Likewise.
33924         * stdlib/Makefile: Likewise.
33925         * sysdeps/x86_64/Makefile: Likewise.
33927         * io/ftwtest-sh: Add copyright header.
33928         * posix/globtest.sh: Likewise.
33929         * posix/tst-getconf.sh: Likewise.
33930         * posix/wordexp-tst.sh: Likewise.
33931         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
33933 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
33935         [BZ #13679]
33936         * Makeconfig (+link): Defined as $(+link-static) if
33937         $(build-shared) isn't yes.
33938         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
33939         isn't yes.
33940         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
33942         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
33944         [BZ #14562]
33945         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
33946         new chunk size with MALLOC_ALIGN_MASK.
33948 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
33950         [BZ #5044]
33951         * stdio-common/printf_fphex.c: Include <stdbool.h> and
33952         <rounding-mode.h>.
33953         (__printf_fphex): Determine rounding using get_rounding_mode and
33954         round_away.
33955         * stdio-common/tst-printf-round.c (struct hex_test): New
33956         structure.
33957         (hex_tests): New variable.
33958         (test_hex_in_one_mode): New function.
33959         (do_test): Also run tests for hex float output.
33961 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
33963         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
33964         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33965         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
33966         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
33967         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33968         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
33969         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
33970         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
33972 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
33974         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
33975         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
33976         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
33977         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
33979 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
33981         [BZ #14579]
33982         * elf/rtld.c (dl_main): Limit the check for self loading to normal
33983         mode only.
33984         * elf/tst-rtld-load-self.sh: New test.
33985         * elf/Makefile: Run it.
33987 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
33989         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
33990         (tst-writev-ENV): Remove.
33991         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
33993 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
33995         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
33997 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
33999         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
34000         unconditional.
34001         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
34002         Likewise.
34003         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
34004         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
34005         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
34006         Likewise.
34008 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
34010         [BZ #14587]
34011         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
34012         * config.make.in (have-cpp-asm-debuginfo): Removed.
34013         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
34014         * configure: Regenerated.
34016 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
34018         [BZ #5044]
34019         * stdio-common/printf_fp.c: Include <stdbool.h> and
34020         <rounding-mode.h>.
34021         (___printf_fp): Determine rounding using get_rounding_mode and
34022         round_away.
34023         * stdio-common/tst-printf-round.c: New file.
34024         * stdio-common/Makefile (tests): Add tst-printf-round.
34025         (link-libm): New variable.
34026         ($(objpfx)tst-printf-round): Depend in $(link-libm).
34028 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
34030         [BZ #14576]
34031         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
34032         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
34033         Likewise.
34034         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
34035         Likewise.
34037 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
34039         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
34040         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34041         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34042         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34044 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
34046         [BZ #14518]
34047         * include/rounding-mode.h: New file.
34048         * sysdeps/generic/get-rounding-mode.h: Likewise.
34049         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
34050         * stdlib/strtod_l.c: Include <rounding-mode.h>.
34051         (MAX_VALUE): New macro.
34052         (MIN_VALUE): Likewise.
34053         (overflow_value): New function.
34054         (underflow_value): Likewise.
34055         (round_and_return): Use overflow_value and underflow_value to
34056         determine return values in overflow and underflow cases.  Use
34057         round_away to determine rounding depending on rounding mode.
34058         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
34059         determine return values in overflow and underflow cases.
34060         * stdlib/tst-strtod-round.c: Include <fenv.h>.
34061         (struct test_results): New structure.
34062         (struct test): Use struct test_results to store expected results
34063         for all rounding modes.
34064         (TEST): Include expected results for all rounding modes.
34065         (test_in_one_mode): New function.
34066         (do_test): Use test_in_one_mode to compute and check results.
34067         Check results for all rounding modes.
34068         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
34069         $(link-libm).
34071 2012-12-09  Allan McRae  <allan@archlinux.org>
34073         * sysdeps/i386/fpu/libm-test-ulps: Update
34075 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
34077         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
34078         (_G_int32_t): Likewise.
34079         (_G_uint16_t): Likewise.
34080         (_G_uint32_t): Likewise.
34081         (_G_HAVE_BOOL): Likewise.
34082         (_G_HAVE_ATEXIT): Likewise.
34083         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34084         (_G_HAVE_IO_FILE_OPEN): Likewise.
34085         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
34086         (_G_int32_t): Likewise.
34087         (_G_uint16_t): Likewise.
34088         (_G_uint32_t): Likewise.
34089         (_G_HAVE_BOOL): Likewise.
34090         (_G_HAVE_ATEXIT): Likewise.
34091         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34092         (_G_HAVE_IO_FILE_OPEN): Likewise.
34093         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
34094         (_G_int32_t): Likewise.
34095         (_G_uint16_t): Likewise.
34096         (_G_uint32_t): Likewise.
34097         (_G_HAVE_BOOL): Likewise.
34098         (_G_HAVE_ATEXIT): Likewise.
34099         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34100         (_G_HAVE_IO_FILE_OPEN): Likewise.
34102 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
34104         * csu/libc-tls.c: Update copyright years.
34106 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
34108         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
34109         [!_G_USING_THUNKS]: Remove conditional code.
34110         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
34111         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
34113         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
34114         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
34115         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34116         (_G_VTABLE_LABEL_PREFIX): Likewise.
34117         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34118         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34119         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34120         (_G_VTABLE_LABEL_PREFIX): Likewise.
34121         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
34122         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34123         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34124         (_G_VTABLE_LABEL_PREFIX): Likewise.
34125         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
34127 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
34129         * libio/Makefile: Include ../Makeconfig before tests.
34130         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
34131         only if $(build-shared) is yes.
34133         * iconv/gconv_db.c: Update copyright years.
34135 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34137         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
34138         unwind info if defined PIC. Fix special cases description.
34139         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
34141         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
34142         DP_HI_MASK entry.
34143         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
34145 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
34147         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
34149         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
34150         is NULL.
34152         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
34153         (LDLIBS-tst-chk4): This.
34154         (LDFLAGS-tst-chk5): Renamed to ...
34155         (LDLIBS-tst-chk5): This.
34156         (LDFLAGS-tst-chk6): Renamed to ...
34157         (LDLIBS-tst-chk6): This.
34158         (LDFLAGS-tst-lfschk4): Renamed to ...
34159         (LDLIBS-tst-lfschk4): This.
34160         (LDFLAGS-tst-lfschk5): Renamed to ...
34161         (LDLIBS-tst-lfschk5): This.
34162         (LDFLAGS-tst-lfschk6): Renamed to ...
34163         (LDLIBS-tst-lfschk6): This.
34165         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
34166         on $(common-objpfx)soversions.mk.
34168 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
34170         [BZ #10014]
34171         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
34172         example host name.
34174 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
34176         * malloc/arena.c (arena_get_retry): New function that gets
34177         another arena for the caller to try its request on.
34178         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
34179         current arena cannot fulfill the request.
34180         (__libc_memalign): Likewise.
34181         (__libc_memalign): Likewise.
34182         (__libc_pvalloc): Likewise.
34183         (__libc_calloc): Likewise.
34185 2012-09-05  John Tobey  <john.tobey@gmail.com>
34187         [BZ #13542]
34188         * manual/arith.texi (Operations on Complex): Fix description
34189         of carg branch cut.
34191 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
34193         [BZ #10014]
34194         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
34195         host name.
34197         [BZ #10038]
34198         * manual/memory.texi (Memory): Make order of menu items match
34199         order of sections.
34201 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
34203         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
34204         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
34205         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
34207 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
34209         * csu/libc-tls.c (static_dtv): Renamed to ...
34210         (_dl_static_dtv): This.  Make it global.
34211         (_dl_initial_dtv): Removed.
34212         (__libc_setup_tls): Updated.
34213         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
34214         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
34215         DL_INITIAL_DTV.
34217 2012-09-06  Petr Machata  <pmachata@redhat.com>
34219         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
34220         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
34221         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
34222         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
34224 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
34226         [BZ #14545]
34227         * csu/libc-tls.c (_dl_initial_dtv): New variable.
34228         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
34229         freeing dtv[-1].
34231 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
34233         [BZ #14544]
34234         * Makeconfig (link-static-before-libc): Replace $(+prector)
34235         with $(+prectorT).
34236         (link-static-after-libc): Replace $(+postctor) with
34237         $(+postctorT).
34238         (link-bounded): Replace $(+prector)/$(+postctor) with
34239         $(+prectorT)/$(+postctorT).
34240         (+prectorT): New macro.
34241         (+postctorT): Likewise.
34243 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
34245         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
34246         (round_str): Handle values above the maximum for IBM long double
34247         as inexact.
34248         * stdlib/tst-strtod-round.c (tests): Regenerated.
34250 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34252         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
34253         assembler flag.
34254         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
34255         zarch_nohighgprs around the zarch optimized routines.
34256         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
34257         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
34258         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
34259         for zarch.
34261 2012-09-05  David S. Miller  <davem@davemloft.net>
34263         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34265         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
34266         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
34267         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
34268         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34269         entries.
34271 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
34273         * malloc/arena.c: Fold copyright years.
34274         * malloc/mcheck.c, malloc/memusage.c: Likewise.
34276 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
34278         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
34280 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
34282         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
34284 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
34286         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
34287         change internal state upon failure.
34289 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
34291         * malloc/mcheck.c (mcheck_check_all): Fix typo.
34292         * malloc/memusage.c (mmap): Likewise.
34293         (mmap64, mremap): Likewise.  Adjust name in comment.
34295 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
34297         * libio/fileops.c: Fix typos in comments.
34298         * libio/oldfileops.c: Likewise.
34299         * libio/wfileops.c: Likewise.
34301 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
34303         [BZ #1349]
34304         * malloc/Makefile (tests): Add tst-malloc-usable test case.
34305         (tst-malloc-usable-ENV): Set environment for test case.
34306         * malloc/hooks.c (malloc_check_get_size): New function to get
34307         requested size.
34308         * malloc/malloc.c (musable): Use malloc_check_get_size.
34309         * malloc/tst-malloc-usable.c: New test case.
34311 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
34313         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
34315 2012-09-05  Allan McRae  <allan@archlinux.org>
34317         [BZ #13966]
34318         * configure.in (CXX_SYSINCLUDES): Use compiler output to
34319         determine header location.
34320         * configure: Regenerated.
34322 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
34324         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
34325         float format.
34326         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
34327         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
34328         format.
34329         (test): Regenerate.
34331 2012-09-04  David S. Miller  <davem@davemloft.net>
34333         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
34334         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
34335         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
34337 2012-09-04  Florian Weimer  <fweimer@redhat.com>
34339         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
34340         failures.
34342         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
34344 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
34346         [BZ #9914]
34347         * libio/iogetdelim.c: Include <limits.h>.
34348         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
34349         + len + 1 would overflow.
34351 2012-09-03  Andreas Jaeger  <aj@suse.de>
34353         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34354         * sysdeps/i386/fpu/libm-test-ulps: Update.
34356 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34358         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
34359         Add s_sinf-sse2, s_conf-sse2.
34361         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
34362         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
34363         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
34364         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
34366         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
34367         for using routine as __sinf_ia32.
34368         Use macro for function declaration and weak_alias.
34369         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
34370         for using routine as __cosf_ia32.
34371         Use macro for function declaration and weak_alias.
34373         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
34374         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
34376         * sysdeps/x86_64/fpu/s_sinf.S: New file.
34377         * sysdeps/x86_64/fpu/s_cosf.S: New file.
34378         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34380         * math/libm-test.inc (cos_test): Add more test cases.
34381         (sin_test): Likewise.
34382         (sincos_test): Likewise.
34384 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34386         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
34387         (IFUNC_RESOLVE): Make pointers to the specialized implementations
34388         hidden.
34389         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
34391 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
34393         [BZ #14538]
34394         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
34395         first element of the GOT.
34396         (elf_machine_load_address): Return the difference between
34397         the runtime address of _DYNAMIC and elf_machine_dynamic ().
34399 2012-09-01  Allan McRae  <allan@archlinux.org>
34401         [BZ #13412]
34402         * configure.in (AWK): Require gawk version 3.0 or later.
34403         * configure: Regenerated.
34405 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
34407         * sysdeps/unix/sysv/linux/kernel-features.h
34408         (__ASSUME_POSIX_CPU_TIMERS): Remove.
34409         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34410         [__NR_clock_getres]: Make code unconditional.
34411         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
34412         (clock_getcpuclockid): Remove code left unreachable by removal of
34413         conditionals.
34414         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
34415         code unconditional.
34416         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
34417         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34418         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
34419         Make code unconditional.
34420         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
34421         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34422         * sysdeps/unix/sysv/linux/clock_settime.c
34423         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
34424         conditional code.
34425         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
34426         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34428 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
34430         [BZ #14476]
34431         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
34432         scripts/test-installation.pl.
34434         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
34435         and $ld_so_version if it is set.
34437 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34439         [BZ #14516]
34440         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
34441         failure if reading from procfs failed.
34442         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
34444 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
34446         * sysdeps/unix/sysv/linux/kernel-features.h
34447         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
34448         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
34449         Remove conditional code.
34450         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34451         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
34452         Remove conditional code.
34453         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34454         * sysdeps/unix/sysv/linux/i386/fxstat.c
34455         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34456         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34457         * sysdeps/unix/sysv/linux/i386/fxstatat.c
34458         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34459         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34460         * sysdeps/unix/sysv/linux/i386/lxstat.c
34461         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34462         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34463         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
34464         Remove conditional code.
34465         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34466         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
34467         Remove conditional code.
34468         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34469         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
34470         <kernel-features.h>.
34471         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
34472         Remove.
34473         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
34474         Remove conditional code.
34475         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34476         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
34477         Remove conditional.
34479 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
34481         [BZ #5400]
34482         * NEWS: Add fixed bug number.
34484 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
34486         [BZ #14519]
34487         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
34488         underflowing exponent in case of negative sign.
34489         * stdlib/tst-strtod-round-data: Add more tests.
34490         * stdlib/tst-strtod-round.c (tests): Regenerated.
34492         [BZ #3479]
34493         * stdlib/strtod_l.c (NDIG): Remove.
34494         (HEXNDIG): Likewise.
34495         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
34496         smallest representable value.
34497         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
34498         lie within an exact representation of 1/2 ulp of the result.
34499         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
34500         unconditionally.
34501         (TENS_P9_IDX): Define unconditionally.
34502         (TENS_P9_SIZE): Likewise.
34503         (TENS_P10_IDX): Likewise.
34504         (TENS_P10_SIZE): Likewise.
34505         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
34506         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
34507         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
34508         entries for 10^2^13 and 10^2^14.
34509         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
34510         (TENS_P13_IDX): Define.
34511         (TENS_P13_SIZE): Likewise.
34512         (TENS_P14_IDX): Likewise.
34513         (TENS_P14_SIZE): Likewise.
34514         (_fpioconst_pow10): Change array size to
34515         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
34516         unconditional.
34517         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
34518         1024]: Add entries for 10^2^13 and 10^2^14.
34519         [LAST_POW10 > _LAST_POW10]: Remove #error.
34520         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
34521         (_fpioconst_pow10): Change array size to
34522         FPIOCONST_POW10_ARRAY_SIZE.
34523         * stdlib/gen-fpioconst.c: New file.
34524         * stdlib/gen-tst-strtod-round.c: Likewise.
34525         * stdlib/tst-strtod-round-data: Likewise.
34526         * stdlib/tst-strtod-round.c: Likewise.
34527         * stdlib/Makefile (tests): Add tst-strtod-round.
34529         [BZ #14459]
34530         * stdlib/strtod_l.c: Include <stdint.h>.
34531         (NDEBUG): Do not define.
34532         (round_and_return): Change EXPONENT parameter to type intmax_t.
34533         Rearrange calculations to avoid internal overflow possibilities.
34534         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
34535         Rearrange calculations to avoid internal overflow possibilities.
34536         Assert that number fits inside MPNSIZE limbs.
34537         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
34538         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
34539         calculations and add assertions to avoid internal overflow
34540         possibilities.  Add casts to avoid signed/unsigned operations.
34541         * stdlib/tst-strtod-overflow.c: New file.
34542         * stdlib/Makefile (tests): Add tst-strtod-overflow.
34544 2012-08-25  Marek Polacek  <polacek@redhat.com>
34546         * time/time.h: Fix some typos in comments.
34548 2012-08-23  Roland McGrath  <roland@hack.frob.com>
34550         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
34551         * posix/tst-rfc3484-2.c: Likewise.
34552         * posix/tst-rfc3484-3.c: Likewise.
34554 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
34556         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
34557         (EF_ARM_ABI_FLOAT_HARD): Likewise.
34559 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
34561         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
34562         #include of fxstatat64.c.
34564 2012-08-22  Roland McGrath  <roland@hack.frob.com>
34566         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
34567         * shadow/getspent_r.c: Likewise.
34568         * shadow/getspnam.c: Likewise.
34569         * shadow/getspnam_r.c: Likewise.
34570         * gshadow/getsgent.c: Likewise.
34571         * gshadow/getsgent_r.c: Likewise.
34572         * gshadow/getsgnam.c: Likewise.
34573         * gshadow/getsgnam_r.c: Likewise.
34574         * inet/getnetbyad.c: Likewise.
34575         * inet/getnetbyad_r.c: Likewise.
34576         * inet/getnetbynm.c: Likewise.
34577         * inet/getnetbynm_r.c: Likewise.
34578         * inet/getnetent.c: Likewise.
34579         * inet/getnetent_r.c: Likewise.
34580         * inet/getproto.c: Likewise.
34581         * inet/getproto_r.c: Likewise.
34582         * inet/getprtent.c: Likewise.
34583         * inet/getprtent_r.c: Likewise.
34584         * inet/getprtname.c: Likewise.
34585         * inet/getprtname_r.c: Likewise.
34586         * inet/getrpcbyname.c: Likewise.
34587         * inet/getrpcbyname_r.c: Likewise.
34588         * inet/getrpcbynumber.c: Likewise.
34589         * inet/getrpcbynumber_r.c: Likewise.
34590         * inet/getrpcent.c: Likewise.
34591         * inet/getrpcent_r.c: Likewise.
34592         * inet/getaliasent.c: Likewise.
34593         * inet/getaliasent_r.c: Likewise.
34594         * inet/getaliasname.c: Likewise.
34595         * inet/getaliasname_r.c: Likewise.
34596         * nscd/getgrgid_r.c: Likewise.
34597         * nscd/getgrnam_r.c: Likewise.
34598         * nscd/gethstbyad_r.c: Likewise.
34599         * nscd/gethstbynm3_r.c: Likewise.
34600         * nscd/getpwnam_r.c: Likewise.
34601         * nscd/getpwuid_r.c: Likewise.
34602         * nscd/getsrvbynm_r.c: Likewise.
34603         * nscd/getsrvbypt_r.c: Likewise.
34604         * nscd/gai.c: Likewise.
34606         * configure.in (build_nscd): New substituted variable, set
34607         by --disable-build-nscd and defaults to $use_nscd.
34608         * configure: Regenerated.
34609         * config.make.in (build-nscd): New substituted variable.
34610         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
34611         Change conditional to require [$(build-nscd) = yes] as well.
34612         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
34614         [BZ# 13696]
34615         * configure.in (use_nscd): New substituted variable, set by
34616         --disable-nscd.  If enabled, define USE_NSCD.
34617         * configure: Regenerated.
34618         * config.h.in: Add USE_NSCD.
34619         * config.make.in (use-nscd): New substituted variable.
34620         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
34621         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
34622         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
34623         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
34624         (CFLAGS-getgrnam_r.c): Likewise.
34625         (CFLAGS-initgroups.c): Likewise.
34626         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
34627         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
34628         Variables removed.
34629         * inet/getnetgrent_r.c
34630         (nscd_setnetgrent): New function, broken out of ...
34631         (setnetgrent): ... here.  Call it.
34632         (innetgr): Conditionalize nscd bits on [USE_NSCD].
34633         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
34634         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
34635         * nscd/Makefile (routines, aux): Move definitions after include of
34636         Makeconfig.  Conditionalize on [$(use-nscd) != no].
34637         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
34638         Conditionalize on [USE_NSCD].
34639         (is_nscd, nscd_init_cb): Likewise.
34640         (nss_load_library): Conditionalize init callback on [USE_NSCD].
34641         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
34642         * nss/nss_db/db-init.c: Likewise.
34643         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
34644         [USE_NSCD].
34645         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
34646         (make_request): Use it.
34647         (cache_valid_p): New function.
34648         (__check_pf): Use it.
34649         * NEWS: Add item for --disable-nscd.
34651 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
34653         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
34654         to support sed >= 4.2.1-20-ga9bf076.
34655         * configure: Regenerated.
34657 2012-08-22  Roland McGrath  <roland@hack.frob.com>
34659         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
34660         Conditionalize whole body on [IREL].
34662 2012-08-22  Jeff Law <law@redhat.com>
34664         [BZ #14505]
34665         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
34666         if the family is PF_UNSPEC.
34668 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
34670         * Makerules (lib-version): Rename from V.
34671         (install-lib-nosubdir): Change V to lib-version.
34673 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
34675         [BZ #14252]
34676         * powerpc32/power6/wcschr.c: New file.
34677         * powerpc32/power6/wcscpy.c: New file.
34678         * powerpc32/power6/wcsrchr.c: New file.
34679         * powerpc64/power6/wcschr.c: New file.
34680         * powerpc64/power6/wcscpy.c: New file.
34681         * powerpc64/power6/wcsrchr.c: New file.
34683 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
34685         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
34686         (two_way_short_needle): Use it.
34687         * string/strstr.c (AVAILABLE1_USES_J): Define.
34688         * string/strcasestr.c: Likewise.
34690         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
34691         array references.
34692         * string/strcasestr.c (TOLOWER): Make side-effect safe.
34694         [BZ #11607]
34695         * NEWS: Add an entry.
34696         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
34697         define their defaults.
34698         (two_way_short_needle): Detect end-of-string on-the-fly.
34699         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
34700         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
34701         * string/bug-strcasestr1.c: New test.
34702         * string/Makefile: Run it.
34704 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
34706         [BZ #11607]
34707         * string/str-two-way.h (two_way_short_needle): Optimize matching of
34708         the first character.
34710 2012-08-21  Roland McGrath  <roland@hack.frob.com>
34712         * csu/elf-init.c (__libc_csu_irel): Function removed.
34713         * csu/libc-start.c (apply_irel): New function.
34714         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
34716 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
34718         * sysdeps/unix/sysv/linux/kernel-features.h
34719         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
34720         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
34721         <kernel-features.h>.
34722         [__NR_fadvise64_64]: Make code unconditional.
34723         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
34724         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
34725         !__NR_fadvise64_64)]: Likewise.
34726         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
34727         !__NR_fadvise64_64))]: Likewise.
34728         [__NR_fadvise64]: Make code unconditional.
34729         [!__NR_fadvise64]: Remove conditional code.
34730         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
34731         <kernel-features.h>.
34732         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34733         unconditional.
34734         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34735         conditional code.
34736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
34737         not include <kernel-features.h>.
34738         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34739         unconditional.
34740         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34741         conditional code.
34742         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
34743         include <kernel-features.h>.
34744         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34745         unconditional.
34746         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34747         conditional code.
34749 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
34751         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
34752         slight instruction rearrangements per scrollpipe analysis.
34753         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
34755 2012-08-20  Roland McGrath  <roland@hack.frob.com>
34757         * manual/syslog.texi (syslog; vsyslog, closelog):
34758         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
34759         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
34761         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
34762         DSOCAPS to match condition on defining it.
34764 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
34766         * sysdeps/unix/sysv/linux/kernel-features.h
34767         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
34768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
34769         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34770         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
34772         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34773         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
34775         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34776         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34778         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
34779         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
34781         * sysdeps/unix/sysv/linux/kernel-features.h
34782         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
34783         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
34784         unconditional.
34785         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34786         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
34787         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
34788         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34789         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
34790         Make code unconditional.
34791         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34792         (__mmap64) [!__NR_mmap2]: Likewise.
34793         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
34794         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
34795         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34796         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
34797         [__NR_mmap2]: Make code unconditional.
34798         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34799         (__mmap64) [!__NR_mmap2]: Likewise.
34801 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34803         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
34805 2012-08-18  Andreas Jaeger  <aj@suse.de>
34807         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
34809 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
34811         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
34812         * include/unistd.h (__have_sock_cloexec): Likewise.
34813         (__have_pipe2): Likewise.
34814         (__have_dup3): Likewise.
34816 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
34818         [BZ #9685]
34819         * include/unistd.h (__have_pipe2): Change define into an extern int.
34820         (__have_dup3): Likewise.
34821         * socket/have_sock_cloexec.c: Include fcntl.h.
34822         (__have_pipe2): New variable.
34823         (__have_dup3): Likewise.
34825 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
34827         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
34829 2012-08-17  Marek Polacek  <polacek@redhat.com>
34831         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
34832         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
34834 2012-08-17  Roland McGrath  <roland@hack.frob.com>
34836         * configure.in: Add AC_SUBST for sysheaders.
34837         * configure: Regenerated.
34838         * config.make.in (sysheaders): New substituted variable.
34840         * sysdeps/unix/mkfifo.c: Moved ...
34841         * sysdeps/posix/mkfifo.c: ... here.
34842         * sysdeps/unix/mkfifoat.c: Moved ...
34843         * sysdeps/posix/mkfifoat.c: ... here.
34845         * sysdeps/unix/utime.c: Moved ...
34846         * sysdeps/posix/utime.c: ... here.
34848         * sysdeps/unix/time.c: Moved ...
34849         * sysdeps/posix/time.c: ... here.
34850         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
34851         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
34853         * sysdeps/unix/nice.c: Moved ...
34854         * sysdeps/posix/nice.c: ... here.
34856         * sysdeps/unix/alarm.c: Moved ...
34857         * sysdeps/posix/alarm.c: ... here.
34859         * intl/Makefile ($(codeset_mo)): Depend on the input file.
34861 2012-08-17  Jeff Law <law@redhat.com>
34863         * intl/Makefile (codeset_mo): New variable.
34864         ($(codeset_mo)): New target.
34865         (tst-codeset.out): Depend on that.  Remove explicit rule.
34866         (tst-gettext3.out, tst-gettext5.out): Likewise.
34867         (LOCPATH-ENV, tst-codeset-ENV): New variables.
34868         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
34869         * intl/tst-codeset.sh: Remove.
34870         * intl/tst-gettext3.sh: Likewise.
34871         * intl/tst-gettext5.sh: Likewise.
34873 2012-08-17  Roland McGrath  <roland@hack.frob.com>
34875         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
34876         * sysdeps/unix/syscalls.list: ... here.
34878         * sysdeps/posix/getaddrinfo.c
34879         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
34880         (gaiconf_init, gaiconf_reload): Use them.
34881         [!_STATBUF_ST_NSEC]
34882         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
34883         Define using time_t rather than struct timespec.
34885         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
34886         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
34887         Macros removed.
34888         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
34889         [!NO_THREADS].
34890         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
34891         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
34892         Likewise.
34894         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
34895         __libc_cleanup_push argument.
34897         * bits/param.h: New file.
34898         * misc/sys/param.h: New file.
34899         * include/sys/param.h: New file.
34900         * misc/Makefile (headers): Add bits/param.h.
34901         * sysdeps/generic/sys/param.h: File removed.
34902         * sysdeps/unix/sysv/linux/bits/param.h: New file.
34903         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
34904         * sysdeps/mach/hurd/bits/param.h: New file.
34905         * sysdeps/mach/hurd/sys/param.h: File removed.
34907         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
34908         last change.
34910         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
34911         [_IO_MTSAFE_IO].
34912         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
34913         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
34914         New macros.
34916         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
34917         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
34918         rather than -D_IO_MTSAFE_IO conditionally.
34919         * stdio-common/Makefile (CPPFLAGS): Likewise.
34920         * wcsmbs/Makefile (CPPFLAGS): Likewise.
34921         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
34922         Use $(libio-mtsafe).
34923         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
34924         of -D_IO_MTSAFE_IO.
34925         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
34926         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
34927         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
34928         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
34929         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
34930         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
34931         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
34932         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
34933         (CFLAGS-fread_u_chk.c): Likewise.
34934         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
34935         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
34936         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
34937         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
34938         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
34939         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
34940         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
34941         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
34942         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
34944         * libio/Makefile: Test [$(libc-reentrant) = yes]
34945         instead of [$(filter %REENTRANT, $(defines)) nonempty].
34947         * Makeconfig
34948         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
34949         * sysdeps/pthread/configure: File removed.
34950         * sysdeps/pthread/Makeconfig: New file.
34951         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
34952         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
34954 2012-08-16  Gary Benson  <gbenson@redhat.com>
34956         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
34957         unmapping the first object in a namespace.
34959 2012-08-16  Roland McGrath  <roland@hack.frob.com>
34961         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
34962         (__internal_setnetgrent): ... this.  Add internal_function to
34963         definition.  Add libc_hidden_def.
34964         (setnetgrent): Update caller.
34965         (internal_endnetgrent): Renamed to ...
34966         (__internal_endnetgrent): ... this.  Add internal_function to
34967         definition.  Add libc_hidden_def.
34968         (endnetgrent): Update caller.
34969         (internal_getnetgrent_r): Renamed to ...
34970         (__internal_getnetgrent_r): ... this.  Add internal_function to
34971         definition.  Add libc_hidden_def.
34972         (__getnetgrent_r): Update caller.
34973         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
34975 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
34977         * stdlib/longlong.h: Update from GCC.
34979 2012-08-16  Roland McGrath  <roland@hack.frob.com>
34981         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
34982         on _QL, which is set by umul_ppmm but never used.
34983         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
34984         variables, which are set by GMP macros but never used.
34985         * stdio-common/_itowa.c (_itowa): Likewise.
34986         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
34987         * stdlib/mod_1.c (mpn_mod_1): Likewise.
34989 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
34991         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
34992         struct La_sh_regs is not constant.
34993         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
34994         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
34995         and struct La_sparc64_regs are not constant.
34997 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
34999         * sysdeps/unix/sysv/linux/kernel-features.h
35000         (__ASSUME_POSIX_TIMERS): Remove.
35001         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35002         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35003         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
35004         Make code unconditional.
35005         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35006         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
35007         Make code unconditional.
35008         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35009         * sysdeps/unix/sysv/linux/clock_nanosleep.c
35010         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
35011         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35012         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
35013         Make code unconditional.
35014         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35015         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
35016         (__libc_missing_posix_timers): Remove.
35018 2012-08-15  Roland McGrath  <roland@hack.frob.com>
35020         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
35021         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
35023         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
35025         * elf/dl-sym.c: Include <stdlib.h>.
35027         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
35028         constants, which avoids warnings in 32-bit builds.
35030         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
35031         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
35033         * misc/lseek.c: File moved to ...
35034         * io/lseek.c: ... here.
35036         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
35038         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
35039         shifting LEN more than 31 bits at once.
35041 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35043         [BZ #14195]
35044         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
35045         segmentation fault for a case of two empty input strings.
35046         * string/test-strncasecmp.c (check1): Renamed to...
35047         (bz12205): ...this.
35048         (bz14195): Add new testcase for two empty input strings and N > 0.
35049         (test_main): Call new testcase, adapt for renamed function.
35051 2012-08-15  Andreas Jaeger  <aj@suse.de>
35053         [BZ #14090]
35054         * crypt/md5test2.c: New test, based on test supplied by Serge
35055         Belyshev <belyshev@depni.sinp.msu.ru>.
35056         * crypt/Makefile (xtests): Add md5test-giant..
35057         * crypt/Makefile ($(objpfx)md5test-giant): Add.
35059 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
35061         [BZ #14090]
35062         * crypt/md5.c (md5_process_block): Don't assume the buffer
35063         length is less than 2**32.
35064         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
35065         length is less than 2**64.
35067 2012-08-15  Roland McGrath  <roland@hack.frob.com>
35069         * string/str-two-way.h: Include <sys/param.h>.
35070         (MAX): Macro removed.
35072         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
35073         Move #define and #undef of memmove to just before and after
35074         including <string.h>.
35076         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
35077         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
35078         and after including <string.h>.  Move declarations of
35079         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
35080         to before #include "string/memmove.c".
35082         * include/dirent.h: Declare __getdirentries.
35084         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
35085         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
35087 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
35089         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
35090         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
35091         * sysdeps/i386/configure: Regenerated.
35092         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
35093         STABS_CURRENT_FILE, and STABS_FUN.
35094         (END): Remove call to STABS_FUN_END.
35095         (STABS_CURRENT_FILE1): Delete.
35096         (STABS_CURRENT_FILE): Likewise.
35097         (STABS_FUN): Likewise.
35098         (STABS_FUN_END): Likewise.
35099         (STABS_FUN2): Likewise.
35100         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
35101         * sysdeps/x86_64/configure: Regenerated.
35103 2012-08-14  Roland McGrath  <roland@hack.frob.com>
35105         * elf/dl-open.c: Include <atomic.h>.
35106         * elf/dl-lookup.c: Likewise.
35108 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
35110         * sysdeps/unix/sysv/linux/kernel-features.h
35111         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
35112         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
35113         unconditionally.
35114         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
35115         unconditionally.
35116         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
35117         condition on __ASSUME_CLONE_THREAD_FLAGS.
35119 2012-08-14  Andreas Jaeger  <aj@suse.de>
35121         * sysdeps/i386/fpu/libm-test-ulps: Update.
35123 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
35125         * include/atomic.h (atomic_exchange_and_add): Split into ...
35126         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
35127         New atomic macros.
35129 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
35131         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35133 2012-08-13  Jeff Law <law@redhat.com>
35135         * manual/stdio.texi (snprintf): Clarify handling of the trailing
35136         null byte in the output string.
35138 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
35140         * sysdeps/unix/sysv/linux/kernel-features.h
35141         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
35142         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
35143         (__ASSUME_ARG_MAX_STACK_BASED): Define.
35144         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
35145         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
35146         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
35147         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
35149 2012-08-09  Jeff Law <law@redhat.com>
35151         [BZ #13939]
35152         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
35153         When avoid_arena is set, don't retry in the that arena.  Pick the
35154         next one, whatever it might be.
35155         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
35156         (arena_lock): Pass in new parameter to arena_get2.
35157         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
35158         arena_get2.
35159         (__libc_malloc): Unify retrying after main arena failure with
35160         __libc_memalign version.
35161         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
35163 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
35165         [BZ #14166]
35166         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
35167         to __redirect_strstr.
35168         (__strstr_sse42): Use typeof __redirect_strstr.
35169         (__strstr_ia32): Likewise.
35170         (__libc_strstr): New prototype.
35171         (strstr): Renamed to ...
35172         (__libc_strstr): This.
35173         (strstr): New strong alias of __libc_strstr.
35174         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35175         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
35176         __redirect_time.
35177         Include <time.h>.
35178         (__libc_time): New prototype.
35179         (time_ifunc): Replace time with __libc_time.
35180         (time): New strong alias and hidden definition of __libc_time.
35181         (__GI_time): Remove strong alias.
35182         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
35183         Include <stddef.h>.
35184         (memmove): Redefined to __redirect_memmove.
35185         (__memmove_sse2): Use typeof __redirect_memmove.
35186         (__memmove_ssse3): Likewise.
35187         (__memmove_ssse3_back): Likewise.
35188         (__libc_memmove): New prototype.
35189         (memmove): Renamed to ...
35190         (__libc_memmove): This.
35191         (memmove): New strong alias of __libc_memmove.
35193 2012-08-08  Mark Salter  <msalter@redhat.com>
35195         * elf/elf.h
35196         (R_MN10300_TLS_GD): Define.
35197         (R_MN10300_TLS_LD): Likewise.
35198         (R_MN10300_TLS_LDO): Likewise.
35199         (R_MN10300_TLS_GOTIE): Likewise.
35200         (R_MN10300_TLS_IE): Likewise.
35201         (R_MN10300_TLS_LE): Likewise.
35202         (R_MN10300_TLS_DTPMOD): Likewise.
35203         (R_MN10300_TLS_DTPOFF): Likewise.
35204         (R_MN10300_TLS_TPOFF): Likewise.
35205         (R_MN10300_SYM_DIFF): Likewise.
35206         (R_MN10300_ALIGN): Likewise.
35207         (R_MN10300_NUM): Update.
35209 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
35211         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
35212         Remove.
35214 2012-08-08  Roland McGrath  <roland@hack.frob.com>
35216         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
35218         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
35219         sysdeps/unix -> sysdeps/posix move.
35220         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
35222 2012-08-07      Allan McRae     <allan@archlinux.org>
35224         [BZ #14303]
35225         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
35226         (SUNOS_CPP): Likewise.
35227         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
35228         not found.
35229         (open_input): Call CPP using execvp.
35231 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
35233         * sysdeps/unix/sysv/linux/kernel-features.h
35234         (__ASSUME_PROT_GROWSUPDOWN): Remove.
35235         (__ASSUME_NO_CLONE_DETACHED): Likewise.
35236         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
35237         (__ASSUME_WAITID_SYSCALL): Likewise.
35238         * sysdeps/unix/sysv/linux/dl-execstack.c
35239         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
35240         code unconditional.
35241         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
35242         conditional code.
35243         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
35244         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
35245         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
35246         code.
35247         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
35248         unconditional.
35249         [__ASSUME_WAITID_SYSCALL]: Likewise.
35250         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
35252 2012-08-07  Roland McGrath  <roland@hack.frob.com>
35254         * sysdeps/unix/closedir.c: Renamed to ...
35255         * sysdeps/posix/closedir.c: ... here.
35256         * sysdeps/unix/dirfd.c: Renamed to ...
35257         * sysdeps/posix/dirfd.c: ... here.
35258         * sysdeps/unix/dirstream.h: Renamed to ...
35259         * sysdeps/posix/dirstream.h: ... here.
35260         * sysdeps/unix/fdopendir.c: Renamed to ...
35261         * sysdeps/posix/fdopendir.c: ... here.
35262         * sysdeps/unix/opendir.c: Renamed to ...
35263         * sysdeps/posix/opendir.c: ... here.
35264         * sysdeps/unix/readdir.c: Renamed to ...
35265         * sysdeps/posix/readdir.c: ... here.
35266         * sysdeps/unix/readdir_r.c: Renamed to ...
35267         * sysdeps/posix/readdir_r.c: ... here.
35268         * sysdeps/unix/rewinddir.c: Renamed to ...
35269         * sysdeps/posix/rewinddir.c: ... here.
35270         * sysdeps/unix/seekdir.c: Renamed to ...
35271         * sysdeps/posix/seekdir.c: ... here.
35272         * sysdeps/unix/telldir.c: Renamed to ...
35273         * sysdeps/posix/telldir.c: ... here.
35274         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
35275         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
35276         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
35277         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
35279         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
35280         * bits/fcntl.h: ... here.
35282         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
35283         not 0.
35284         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
35285         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
35286         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
35287         (struct flock): Move l_start, l_len to the beginning.
35288         Use __pid_t for l_pid.
35289         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
35290         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
35291         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
35292         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
35293         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
35294         [__USE_LARGEFILE64] (struct flock64): New type.
35295         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
35297         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
35298         * bits/dirent.h: ... here.
35300         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
35301         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
35303 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
35305         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35306         Change from 2.6.0 to 2.6.16.
35307         * sysdeps/unix/sysv/linux/configure: Regenerated.
35308         * sysdeps/unix/sysv/linux/kernel-features.h
35309         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
35310         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
35311         version.
35312         (__ASSUME_UTIMES): Likewise.
35313         (__ASSUME_CLONE_STOPPED): Remove.
35314         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
35315         architectures, not kernel version.
35316         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
35317         (__ASSUME_NO_CLONE_DETACHED): Likewise.
35318         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
35319         (__ASSUME_WAITID_SYSCALL): Likewise.
35320         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
35321         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
35322         * README: State 2.6.16 as minimum Linux kernel version.  Do not
35323         refer to older versions.
35325 2012-08-06  Roland McGrath  <roland@hack.frob.com>
35327         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
35328         Define alphasort64 as an alias.
35329         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
35330         Define versionsort64 as an alias.
35331         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
35332         Define scandir64 as an alias.
35333         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
35334         Define scandirat64 as an alias.
35335         * dirent/alphasort64.c (alphasort64):
35336         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
35337         * dirent/versionsort64.c: Likewise.
35338         * dirent/scandir64.c: Likewise.
35339         * dirent/scandirat64.c: Likewise.
35340         * sysdeps/wordsize-64/alphasort.c: File removed.
35341         * sysdeps/wordsize-64/alphasort64.c: File removed.
35342         * sysdeps/wordsize-64/scandir.c: File removed.
35343         * sysdeps/wordsize-64/scandir64.c: File removed.
35344         * sysdeps/wordsize-64/scandirat.c: File removed.
35345         * sysdeps/wordsize-64/scandirat64.c: File removed.
35346         * sysdeps/wordsize-64/versionsort.c: File removed.
35347         * sysdeps/wordsize-64/versionsort64.c: File removed.
35348         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
35349         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
35350         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
35351         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
35352         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
35353         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
35354         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
35355         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
35357         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
35358         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
35359         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
35360         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35361         [defined __arch64__ || defined __sparcv9]
35362         (__INO_T_MATCHES_INO64_T): New macro.
35363         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35364         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
35365         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
35366         * sysdeps/unix/sysv/linux/bits/dirent.h
35367         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
35368         (_DIRENT_MATCHES_DIRENT64): New macro.
35370         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
35371         Define lockf64 as an alias.
35372         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
35373         Define fseeko64 as an alias.
35374         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
35375         Define ftello64 as an alias.
35376         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
35377         Define _IO_fgetpos64 and fgetpos64 as aliases.
35378         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
35379         Define _IO_fsetpos64 and fsetpos64 as aliases.
35380         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
35381         Conditionalize body on this.
35382         * libio/fseeko64.c: Likewise.
35383         * libio/ftello64.c: Likewise.
35384         * libio/iofgetpos64.c: Likewise.
35385         * libio/iofsetpos64.c: Likewise.
35386         * sysdeps/wordsize-64/lockf.c: File removed.
35387         * sysdeps/wordsize-64/lockf64.c: File removed.
35388         * sysdeps/wordsize-64/fseeko.c: File removed.
35389         * sysdeps/wordsize-64/fseeko64.c: File removed.
35390         * sysdeps/wordsize-64/ftello.c: File removed.
35391         * sysdeps/wordsize-64/ftello64.c: File removed.
35392         * sysdeps/wordsize-64/iofgetpos.c: File removed.
35393         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
35394         * sysdeps/wordsize-64/iofsetpos.c: File removed.
35395         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
35396         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
35397         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
35398         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
35399         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
35400         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
35401         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
35402         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
35403         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
35404         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
35405         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
35407         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
35408         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
35409         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
35410         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35411         [defined __arch64__ || defined __sparcv9]
35412         (__OFF_T_MATCHES_OFF64_T): New macro.
35413         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35414         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
35415         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35416         (__OFF_T_MATCHES_OFF64_T): New macro.
35418 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
35420         * stdlib/secure-getenv.c (__secure_getenv): Replace
35421         GLIBC_2_16 with GLIBC_2_17.
35423 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
35425         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
35426         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35428 2012-08-03  David S. Miller  <davem@davemloft.net>
35430         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35432 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
35434         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
35435         Remove.
35436         (__ASSUME_CORRECT_SI_PID): Likewise.
35437         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
35438         (__ASSUME_TMPFS_NAME): Likewise.
35439         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
35440         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
35441         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
35442         (HAVE_AUX_SECURE): Make definition unconditional.
35443         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
35444         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
35446 2012-08-03  Roland McGrath  <roland@hack.frob.com>
35448         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
35449         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
35450         * sysdeps/mach/hurd/eloop-threshold.h: New file.
35451         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35452         __eloop_threshold instead of SYMLOOP_MAX.
35454         * sysdeps/generic/eloop-threshold.h: New file.
35455         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
35456         of MAXSYMLINKS.
35457         * elf/chroot_canon.c (chroot_canon): Likewise.
35459 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
35461         [BZ #13717]
35462         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35463         Change to 2.6.0 everywhere.
35464         * sysdeps/unix/sysv/linux/configure: Regenerated.
35465         * sysdeps/unix/sysv/linux/kernel-features.h
35466         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
35467         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
35468         kernel versions.
35469         (__ASSUME_POSIX_TIMERS): Define unconditionally.
35470         (__ASSUME_FUTEX_REQUEUE): Remove.
35471         (__ASSUME_STATFS64): Define unconditionally.
35472         (__ASSUME_AT_SECURE): Likewise.
35473         (__ASSUME_CORRECT_SI_PID): Likewise.
35474         (__ASSUME_TGKILL): Define without depending on kernel version for
35475         i386.
35476         (__ASSUME_UTIMES): Likewise.
35477         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
35478         kernel version.
35479         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
35480         (__ASSUME_TMPFS_NAME): Likewise.
35481         * README: Update reference to Linux kernel versions.
35483 2012-08-02  Marek Polacek  <polacek@redhat.com>
35485         [BZ# 14150]
35486         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
35487         libc_cv_asm_type_prefix with %.
35488         * configure: Regenerated.
35489         * include/libc-symbols.h: Remove comment about
35490         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
35491         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
35492         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
35493         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
35494         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
35495         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
35496         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
35497         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
35498         * elf/tst-unique2mod1.c: Likewise.
35499         * elf/tst-unique1mod2.c: Likewise.
35500         * elf/tst-unique1mod1.c: Likewise.
35501         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
35502         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
35503         Replace ASM_TYPE_DIRECTIVE with .type.
35504         * sysdeps/s390/s390-64/sysdep.h: Likewise.
35505         * sysdeps/i386/sysdep.h: Likewise.
35506         * sysdeps/x86_64/sysdep.h: Likewise.
35507         * sysdeps/sh/sysdep.h: Likewise.
35508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
35509         Do not define ASM_TYPE_DIRECTIVE.
35510         * sysdeps/powerpc/sysdep.h: Likewise.
35511         * sysdeps/powerpc/powerpc32/sysdep.h:
35512         Replace ASM_TYPE_DIRECTIVE with .type.
35513         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
35514         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35515         * sysdeps/i386/fpu/e_powf.S: Likewise.
35516         * sysdeps/i386/fpu/e_expl.S: Likewise.
35517         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35518         * sysdeps/i386/fpu/e_acosh.S: Likewise.
35519         * sysdeps/i386/fpu/e_pow.S: Likewise.
35520         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35521         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35522         * sysdeps/i386/fpu/s_expm1.S: Likewise.
35523         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35524         * sysdeps/i386/fpu/e_log2.S: Likewise.
35525         * sysdeps/i386/fpu/e_log2l.S: Likewise.
35526         * sysdeps/i386/fpu/e_scalb.S: Likewise.
35527         * sysdeps/i386/fpu/e_powl.S: Likewise.
35528         * sysdeps/i386/fpu/e_log10f.S: Likewise.
35529         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35530         * sysdeps/i386/fpu/e_logl.S: Likewise.
35531         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35532         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35533         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35534         * sysdeps/i386/fpu/e_log2f.S: Likewise.
35535         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35536         * sysdeps/i386/fpu/e_log.S: Likewise.
35537         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35538         * sysdeps/i386/fpu/e_logf.S: Likewise.
35539         * sysdeps/i386/fpu/e_log10l.S: Likewise.
35540         * sysdeps/i386/fpu/e_atanh.S: Likewise.
35541         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35542         * sysdeps/i386/fpu/e_log10.S: Likewise.
35543         * sysdeps/i386/fpu/s_frexp.S: Likewise.
35544         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35545         * sysdeps/i386/fpu/s_asinh.S: Likewise.
35546         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35547         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35548         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
35549         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35550         * sysdeps/i386/i686/strtok.S: Likewise.
35551         * sysdeps/i386/i386-mcount.S: Likewise.
35552         * sysdeps/i386/strtok.S: Likewise.
35553         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
35554         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35555         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35556         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35557         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
35558         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35559         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35560         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35561         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35562         * sysdeps/x86_64/_mcount.S: Likewise.
35563         * sysdeps/x86_64/strtok.S: Likewise.
35564         * sysdeps/sh/_mcount.S: Likewise.
35566 2012-08-01  Roland McGrath  <roland@hack.frob.com>
35568         * libio/iofopen.c: Include <fcntl.h>.
35569         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
35570         (_IO_fopen64, fopen64): Define as aliases.
35571         * libio/iofopen64.c: Include <fcntl.h>.
35572         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
35573         Conditionalize body on this.
35574         * sysdeps/wordsize-64/iofopen.c: File removed.
35575         * sysdeps/wordsize-64/iofopen64.c: File removed.
35577 2012-08-01  Marek Polacek  <polacek@redhat.com>
35579         * libc/Makeconfig: Use elf in place of binfmt-subdir.
35580         Use dlfcn directly instead of a variable.
35581         (binfmt-subdir): Do not define.
35582         (dlfcn): Likewise.
35584 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
35586         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
35587         Remove all definitions.
35588         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
35589         <kernel-features.h>.
35590         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
35591         (miss_F_GETOWN_EX): Remove all definitions.
35592         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
35593         macro definition.
35594         [!__ASSUME_FCNTL64]: Remove conditional code.
35595         [__ASSUME_FCNTL64]: Make code unconditional.
35596         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
35597         <kernel-features.h>.
35598         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
35599         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
35600         (lockf64) [__NR_fcntl64]: Make code unconditional.
35601         (lockf64) [__ASSUME_FCNTL64]: Likewise.
35603         * sysdeps/unix/sysv/linux/kernel-features.h
35604         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
35605         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
35606         Make code unconditional.
35607         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
35608         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
35609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
35610         [__NR_vfork]: Make code unconditional.
35611         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
35612         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
35613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
35614         [__NR_vfork]: Make code unconditional.
35615         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
35616         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
35618 2012-08-01  Roland McGrath  <roland@hack.frob.com>
35620         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
35621         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
35623         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35624         Define mkstemp64 as an alias.
35625         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35626         Define mkstemps64 as an alias.
35627         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35628         Define mkostemp64 as an alias.
35629         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35630         Define mkostemps64 as an alias.
35631         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
35632         Conditionalize body on this.
35633         * misc/mkostemp64.c: Likewise.
35634         * misc/mkostemps64.c: Likewise.
35635         * misc/mkstemps64.c: Likewise.
35636         * sysdeps/wordsize-64/mkstemp64.c: File removed.
35637         * sysdeps/wordsize-64/mkostemp64.c: File removed.
35638         * sysdeps/wordsize-64/mkostemp.c: File removed.
35639         * sysdeps/wordsize-64/mkstemp.c: File removed.
35640         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
35641         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
35642         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
35643         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
35645         [BZ #14138]
35646         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
35647         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
35648         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
35649         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
35651         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
35652         compat_symbol macros from <shlib-compat.h> rather than the underlying
35653         default_symbol_version and symbol_version macros, so that DEFAULT
35654         lines in shlib-versions are respected.
35655         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
35657 2012-08-01  Florian Weimer  <fweimer@redhat.com>
35659         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
35660         Declare with warn_unused_result.
35661         (setgid, setregid, setegid, setresgid): Likewise.
35662         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
35663         Likewise.
35664         * WUR-REPORT: Remove set*id functions.
35666 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
35668         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
35670 2012-07-31  Roland McGrath  <roland@hack.frob.com>
35672         [BZ #10191]
35673         * include/sys/socket.h (__libc_accept, __libc_accept4):
35674         Add attribute_hidden.
35675         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
35677         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
35678         use of PTR_MANGLE.
35679         * inet/getnetgrent_r.c (setup): Likewise.
35681         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
35683 2012-07-31  David S. Miller  <davem@davemloft.net>
35685         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35687 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
35689         [BZ #13629]
35690         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
35691         value between 1.0 and 2.0 and smaller part has absolute value less
35692         than 1.0.
35693         * math/s_clog10.c (__clog10): Likewise.
35694         * math/s_clog10f.c (__clog10f): Likewise.
35695         * math/s_clog10l.c (__clog10l): Likewise.
35696         * math/s_clogf.c (__clogf): Likewise.
35697         * math/s_clogl.c (__clogl): Likewise.
35698         * math/libm-test.inc (clog_test): Add more tests.
35699         (clog10_test): Likewise.
35700         * sysdeps/i386/fpu/libm-test-ulps: Update.
35701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35703 2012-07-31  Florian Weimer  <fweimer@redhat.com>
35705         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
35706         Exit with zero in case no suitable GID is found, and write a
35707         message to standard error.
35709 2012-07-30  Roland McGrath  <roland@hack.frob.com>
35711         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
35712         rather than to 1.
35713         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
35714         (MAXPATHLEN): Removed.
35715         (NOGROUP, NODEV): New macros.
35716         (setbit, clrbit, isset, isclr): New macros.
35717         (howmany, roundup, powerof2): New macros.
35718         (DEV_BSIZE): New macro.
35720         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
35721         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
35723         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
35724         definition on [!__NO_LONG_DOUBLE_MATH].
35726         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
35727         PTR_MANGLE and PTR_DEMANGLE.
35729         * socket/accept4.c (accept4): Rename to __libc_accept4.
35730         Define accept4 as a weak alias.
35732         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
35733         on [_DIRENT_HAVE_D_TYPE].
35734         * io/ftw.c (ftw_dir): Likewise.
35736         * io/xmknod.c (__xmknod): Don't check PATH for being null.
35738         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
35740         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
35741         Use the BSD numbers rather than the arbitrary ones we had.
35742         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
35743         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
35744         (SIGXCPU, SIGXFSZ): New macros.
35745         (_NSIG): Now 32.
35747         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
35748         initializer on [_LIBC_REENTRANT].
35750         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
35751         definitions inside [_POSIX_MAPPED_FILES].
35753         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
35755         * dirent/opendir.c: Include <fcntl.h>.
35757         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
35758         (__libc_getspecific): Likewise.
35759         (__libc_key_create): Likewise.
35761         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
35762         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
35763         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
35764         (tmpfile64): Define as alias.
35765         * sysdeps/wordsize-64/tmpfile.c: File removed.
35766         * sysdeps/wordsize-64/tmpfile64.c: File removed.
35767         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
35768         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
35770         * stdio-common/vfscanf.c: Include <stdbool.h>.
35771         * nss/makedb.c: Likewise.
35772         * stdio-common/_i18n_number.h: Likewise.
35773         * argp/argp-help.c: Likewise.
35774         * posix/wordexp.c: Likewise.
35775         * sysdeps/posix/spawni.c: Likewise.
35776         * nss/nss_files/files-initgroups.c: Likewise.
35777         * stdio-common/reg-modifier.c: Include <stdlib.h>.
35778         * nss/nss_files/files-initgroups.c: Likewise.
35779         * nss/nss_db/db-netgrp.c: Likewise.
35780         * nss/nss_db/db-initgroups.c: Likewise.
35781         * io/fchmodat.c: Include <sys/stat.h>.
35783         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
35784         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
35786         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
35787         [HAVE_MMAP].
35789         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
35790         Add multiple inclusion protection.
35792 2012-07-27  David S. Miller  <davem@davemloft.net>
35794         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35796 2012-07-27  Gary Benson  <gbenson@redhat.com>
35798         [BZ #14298]
35799         * elf/rtld.c: Include <stap-probe.h>.
35800         (dl_main): Added static probes "init_start" and "init_complete".
35801         * elf/dl-load.c: Include <stap-probe.h>.
35802         (lose): Take new parameter "nsid".
35803         Added static probe "map_failed".
35804         (_dl_map_object_from_fd): Pass namespace id to lose.
35805         Added static probe "map_start".
35806         (open_verify): Pass namespace id to lose.
35807         * elf/dl-open.c: Include <stap-probe.h>.
35808         (dl_open_worker) Added static probes "map_complete", "reloc_start"
35809         and "reloc_complete".
35810         * elf/dl-close.c: Include <stap-probe.h>.
35811         (_dl_close_worker): Added static probes "unmap_start" and
35812         "unmap_complete".
35813         * elf/rtld-debugger-interface.txt: New file documenting the above.
35815 2012-07-26  Roland McGrath  <roland@hack.frob.com>
35817         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
35818         rather than a string variable.
35819         * sunrpc/rpc_main.c (h_output): Likewise.
35820         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
35822 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
35824         * inet/check_native.c: New file.
35826 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
35828         [BZ #13629]
35829         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
35830         if larger part has absolute value 1.0.
35831         * math/s_clog10.c (__clog10): Likewise.
35832         * math/s_clog10f.c (__clog10f): Likewise.
35833         * math/s_clog10l.c (__clog10l): Likewise.
35834         * math/s_clogf.c (__clogf): Likewise.
35835         * math/s_clogl.c (__clogl): Likewise.
35836         * math/libm-test.inc (clog_test): Add more tests.
35837         (clog10_test): Likewise.
35838         * sysdeps/i386/fpu/libm-test-ulps: Update.
35839         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35841         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
35842         (pltexit): Likewise.
35843         (La_regs): Likewise.
35844         (La_retval): Likewise.
35845         (int_retval): Likewise.
35846         Update #error for removed macros to refer only to definitions in
35847         tst-audit.h.
35848         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
35849         macro.
35850         (pltexit): Likewise.
35851         (La_regs): Likewise.
35852         (La_retval): Likewise.
35853         (int_retval): Likewise.
35854         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
35855         macro.
35856         (pltexit): Likewise.
35857         (La_regs): Likewise.
35858         (La_retval): Likewise.
35859         (int_retval): Likewise.
35860         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
35861         macro.
35862         (pltexit): Likewise.
35863         (La_regs): Likewise.
35864         (La_retval): Likewise.
35865         (int_retval): Likewise.
35866         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
35867         macro.
35868         (pltexit): Likewise.
35869         (La_regs): Likewise.
35870         (La_retval): Likewise.
35871         (int_retval): Likewise.
35872         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
35873         macro.
35874         (pltexit): Likewise.
35875         (La_regs): Likewise.
35876         (La_retval): Likewise.
35877         (int_retval): Likewise.
35878         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
35879         macro.
35880         (pltexit): Likewise.
35881         (La_regs): Likewise.
35882         (La_retval): Likewise.
35883         (int_retval): Likewise.
35884         * sysdeps/generic/tst-audit.h: Update comment to refer only to
35885         macro definitions in tst-audit.h.
35886         * sysdeps/i386/tst-audit.h: New file.
35887         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
35888         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
35889         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
35890         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
35891         * sysdeps/sh/tst-audit.h: Likewise.
35892         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
35893         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
35894         * sysdeps/x86_64/tst-audit.h: Likewise.
35896 2012-07-26  Andreas Jaeger  <aj@suse.de>
35898         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
35899         ptrace.
35901         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
35902         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
35903         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
35904         PTRACE_O_MASK.
35905         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
35906         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
35907         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
35909         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
35910         value.
35912         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
35913         _sigsys.
35914         (si_call_addr, si_syscall, si_arch): Define new macro.
35915         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
35916         _sigsys.
35917         (si_call_addr, si_syscall, si_arch): Define new marcro.
35918         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
35919         _sigsys.
35920         (si_call_addr, si_syscall, si_arch): Define new macro.
35921         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
35922         _sigsys.
35923         (si_call_addr, si_syscall, si_arch): Define new macro.
35925 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
35927         [BZ #13717]
35928         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35929         Change to 2.4.21 where previously 2.4.1.
35930         * sysdeps/unix/sysv/linux/configure: Regenerated.
35931         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
35932         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
35933         Linux kernel version.
35934         (__ASSUME_STD_AUXV): Remove.
35935         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
35936         kernel version.
35937         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
35938         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
35939         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
35940         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
35941         (__ASSUME_NETLINK_SUPPORT): Likewise.
35942         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
35943         (__no_netlink_support): Remove conditional definition.
35944         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
35945         Remove.
35946         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
35947         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
35948         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
35949         (if_nameindex_ioctl): Remove.
35950         (if_nameindex_netlink): Do not handle __no_netlink_support.
35951         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
35952         code.
35953         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
35954         Remove conditional code.
35955         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
35956         code.
35957         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
35958         unconditional.
35959         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
35960         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
35961         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
35962         Remove.
35963         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
35964         [!__ASSUME_STD_AUXV]: Remove conditional code.
35965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
35966         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
35967         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
35968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
35969         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
35970         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
35971         code.
35972         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
35973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35974         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
35975         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
35976         conditional code.
35977         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
35978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
35979         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
35980         code.
35981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35982         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
35983         conditional code.
35984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
35985         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35986         code unconditional.
35987         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35988         conditional code.
35989         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35990         unconditional.
35991         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35992         conditional code.
35993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35994         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35995         unconditional.
35996         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35997         conditional code.
35998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
35999         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36000         code unconditional.
36001         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36002         conditional code.
36003         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36004         unconditional.
36005         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36006         conditional code.
36007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
36008         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36009         code unconditional.
36010         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36011         conditional code.
36012         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36013         unconditional.
36014         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36015         conditional code.
36017 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
36019         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
36020         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
36021         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
36022         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
36023         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
36024         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
36025         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
36026         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
36027         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
36028         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
36029         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
36030         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
36031         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
36032         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
36033         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
36034         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
36035         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
36036         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
36037         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
36038         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
36039         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
36040         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
36041         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36043 2012-07-25  Florian Weimer  <fweimer@redhat.com>
36045         * Versions.def: Add GLIBC_2.17.
36046         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
36047         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
36048         Introduce __libc_secure_getenv.
36049         * stdlib/Versions (2.17): Add secure_getenv
36050         (GLIBC_PRIVATE): Add __libc_secure_getenv.
36051         * stdlib/secure-getenv.c: Rename __secure_getenv to
36052         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
36053         symbol __secure_getenv for GLIBC_2.0.
36054         * stdlib/tst-secure-getenv.c: New.
36055         * stdlib/Makefile (tests): Add testcase.
36056         * manual/startup.texi (Environment Access): Document
36057         secure_getenv.
36058         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
36059         __libc_secure_getenv.
36060         * inet/ruserpass.c (ruserpass): Likewise.
36061         * malloc/mtrace.c (mtrace): Likewise.
36062         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
36063         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
36064         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
36065         * sysdeps/posix/tempname.c: Likewise.  Evaluate
36066         HAVE_SECURE_GETENV.
36067         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
36068         __secure_getenv to __libc_secure_getenv.
36069         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
36070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36071         Likewise.
36072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36073         Likewise.
36074         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36075         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36076         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36077         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36078         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36079         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36080         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
36082 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
36084         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
36085         (struct La_i86_retval): Likewise.
36086         (struct La_x86_64_regs): Likewise.
36087         (struct La_x86_64_retval): Likewise.
36088         (struct La_x32_regs): Likewise.
36089         (struct La_x32_retval): Likewise.
36090         (struct La_ppc32_regs): Likewise.
36091         (struct La_ppc32_retval): Likewise.
36092         (struct La_ppc64_regs): Likewise.
36093         (struct La_ppc64_retval): Likewise.
36094         (struct La_sh_regs): Likewise.
36095         (struct La_sh_retval): Likewise.
36096         (struct La_s390_32_regs): Likewise.
36097         (struct La_s390_32_retval): Likewise.
36098         (struct La_s390_64_regs): Likewise.
36099         (struct La_s390_64_retval): Likewise.
36100         (struct La_sparc32_regs): Likewise.
36101         (struct La_sparc32_retval): Likewise.
36102         (struct La_sparc64_regs): Likewise.
36103         (struct La_sparc64_retval): Likewise.
36104         (struct audit_ifaces): Remove architecture-specific pltenter and
36105         pltexit members.
36106         * sysdeps/i386/ldsodefs.h: New file.
36107         * sysdeps/powerpc/ldsodefs.h: Likewise.
36108         * sysdeps/s390/ldsodefs.h: Likewise.
36109         * sysdeps/sh/ldsodefs.h: Likewise.
36110         * sysdeps/sparc/ldsodefs.h: Likewise.
36111         * sysdeps/x86_64/ldsodefs.h: Likewise.
36113 2012-07-25  Marek Polacek  <polacek@redhat.com>
36115         [BZ #6808]
36116         * math/libm-test.inc (yn_test): Add another test.
36117         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
36118         to ERANGE when the result is +-Inf.
36119         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
36120         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
36121         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
36122         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
36124 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
36126         * conform/data/time.h-data (NULL): Use macro-constant.  Require
36127         equal to 0.
36128         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
36129         clock_t.
36130         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
36132 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
36134         * configure.in <sysdeps resolving>: Correct printing
36135         Implies_before.
36136         * configure: Regenerate.
36138 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
36140         * math/w_ilogb.c: Include <limits.h>.
36141         * math/w_ilogbl.c: Likewise.
36143 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
36145         * manual/lang.texi (__va_copy): Document primarily as ISO C99
36146         va_copy.  Document allowing for unavailable va_copy only as
36147         pre-C99 compatibility.
36148         * manual/string.texi (Copying and Concatenation): Use va_copy
36149         instead of __va_copy in concat example.
36151 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
36153         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
36154         (__sendto): Use create_address_port.  Initialize APORT and deallocate
36155         it if not null.
36157         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
36158         with O_NOLINK passed to __file_name_lookup.
36160         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
36161         with O_NOLINK passed to __file_name_lookup.
36163         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
36164         negative N or less than NGIDS.
36166         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
36167         type to string_t.  Set ERANGE as errno and return it if NAME is not big
36168         enough.  Use memcpy instead of strncpy.
36170 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
36172         * elf/Makefile (check-data): Remove.
36173         (localplt.data): New vpath directive.
36174         ($(objpfx)check-localplt.out): Use localplt.data from vpath
36175         instead of $(check-data).
36176         * scripts/data/localplt-generic.data: Move to ...
36177         * sysdeps/generic/localplt.data: ... here.
36178         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
36179         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
36180         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
36181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
36182         ... here.
36183         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
36184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
36185         ... here.
36186         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
36187         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
36188         ... here.
36189         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
36190         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
36191         ... here.
36192         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
36193         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
36194         ... here.
36195         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
36196         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
36197         ... here.
36199 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36201         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
36202         PPC32 and PPC64 files.
36203         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
36204         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
36206 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36208         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
36209         __makecontext_ret to ...
36210         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
36211         ... here and call exit if uc_link is NULL.  New file.
36212         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
36213         __makecontext_ret.S.
36214         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
36215         __makecontext_ret to ...
36216         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
36217         ... here and call exit if uc_link is NULL.  New file.
36218         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
36219         __makecontext_ret.S.
36221 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36223         * elf/elf.h (R_390_IRELATIVE): New definition.
36224         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
36225         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
36226         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
36227         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
36228         (elf_machine_lazy_rel): Likewise.
36229         * sysdeps/s390/dl-irel.h: New file.
36230         * sysdeps/s390/s390-64/memcpy.S: New asm code.
36231         * sysdeps/s390/s390-64/memset.S: New asm code.
36232         * sysdeps/s390/s390-64/memcmp.S: New asm code.
36233         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
36234         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
36235         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
36236         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
36237         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
36238         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
36239         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
36240         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
36241         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
36242         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
36243         * sysdeps/s390/s390-32/memcpy.S: New asm code.
36244         * sysdeps/s390/s390-32/memset.S: New asm code.
36245         * sysdeps/s390/s390-32/memcmp.S: New asm code.
36247 2012-07-17  Marek Polacek  <polacek@redhat.com>
36249         [BZ #14349]
36250         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
36251         * sysdeps/s390/s390-64/configure.in: Likewise.
36252         * sysdeps/sparc/configure.in: Likewise.
36253         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
36254         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
36255         * sysdeps/i386/configure.in: Likewise.
36256         * sysdeps/x86_64/configure.in: Likewise.
36257         * sysdeps/sh/configure.in: Likewise.
36258         * sysdeps/s390/s390-32/configure: Regenerated.
36259         * sysdeps/s390/s390-64/configure: Likewise.
36260         * sysdeps/x86_64/configure: Likewise.
36261         * sysdeps/sh/configure: Likewise.
36262         * sysdeps/powerpc/powerpc64/configure: Likewise.
36263         * sysdeps/powerpc/powerpc32/configure: Likewise.
36264         * sysdeps/sparc/configure: Likwise.
36265         * sysdeps/i386/configure: Likewise.
36267         * elf/dl-open.c: Comment fixes.
36269 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
36271         * Makefile [CXX] (check-data): Remove.
36272         [CXX] (c++-types.data): New vpath directive.
36273         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
36274         vpath.  Do not allow for C++ type data being missing.
36275         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
36276         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
36277         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
36278         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
36279         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
36280         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
36281         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
36282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
36283         ... here.
36284         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
36285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
36286         ... here.
36287         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
36288         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
36289         ... here.
36290         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
36291         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
36292         ... here.
36293         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
36294         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
36295         ... here.
36296         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
36297         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
36298         ... here.
36299         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
36300         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
36301         ... here.
36302         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
36303         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
36305         * elf/tls-macros.h (TLS_LE): Move architecture-specific
36306         definitions to architecture-specific files.
36307         (TLS_IE): Likewise.
36308         (TLS_LD): Likewise.
36309         (TLS_GD): Likewise.
36310         * sysdeps/i386/tls-macros.h: New file.
36311         * sysdeps/powerpc/tls-macros.h: Likewise.
36312         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
36313         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
36314         * sysdeps/sh/tls-macros.h: Likewise.
36315         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
36316         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
36317         * sysdeps/x86_64/tls-macros.h: Likewise.
36319 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
36321         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
36322         zero value for regular exit case.
36324         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
36325         (__start_context): Preserve zero value for regular exit case.
36327 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
36328             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36330         * manual/setjmp.texi (setcontext): Clarify normal process
36331         termination when uc_link is the null pointer.
36332         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
36333         exit call.
36335 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
36337         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
36338         preprocessor.  Test for each exception mask separately.
36340 2012-07-16  Andreas Jaeger  <aj@suse.de>
36342         * po/ru.po: Update from translation team.
36344 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
36346         * conform/data/string.h-data (NULL): Use macro-constant.  Require
36347         equal to 0.
36348         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
36349         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
36350         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
36351         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
36352         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36354 2012-07-13  Andreas Jaeger  <aj@suse.de>
36356         * po/fr.po: Update from translation team.
36358 2012-07-12  Marek Polacek  <polacek@redhat.com>
36360         [BZ #14173]
36361         * math/libm-test.inc (yn_test): Add test for BZ #14173.
36362         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
36363         loop condition.
36365 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
36367         [BZ #13717]
36368         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36369         Change to 2.4.1 where previously 2.4.0.
36370         * sysdeps/unix/sysv/linux/configure: Regenerated.
36371         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
36372         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
36373         version.
36374         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
36375         (__ASSUME_AT_CLKTCK): Remove.
36376         (__ASSUME_AT_PAGESIZE): Likewise.
36377         (__ASSUME_AT_XID): Likewise.
36378         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
36379         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
36380         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
36381         unconditionally.
36382         (HAVE_AUX_PAGESIZE): Likewise.
36383         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
36384         [__ASSUME_AT_CLKTCK]: Make code unconditional.
36385         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
36387 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
36389         [BZ #14307]
36390         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
36391         the temporary buffer used to invoke __gethostbyname2_r,
36392         __gethostbyaddr_r and gethostbyname4_r to make room for struct
36393         host_data / struct gaih_addrtuple.
36394         * resolv/nss_dns/dns-host.c (global scope): Move definition of
36395         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
36396         header file nss/nsswitch.h.
36397         * nss/nsswitch.h (global scope): Add definition of implementation
36398         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
36399         resolv/nss_dns/dns-host.c).
36401 2012-07-11  Andreas Jaeger  <aj@suse.de>
36403         * po/fr.po: Update from translation team.
36405         * po/sv.po: Update from translation team
36406         * po/fr.po: Another update from translation team.
36408 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36410         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
36411         for subnormals or multiply small sinh result by itself.
36412         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36413         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36415 2012-07-11  David S. Miller  <davem@davemloft.net>
36417         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36419 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
36421         [BZ #14347]
36422         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
36423         (INTERNAL_MARK): Shift it here.
36425 2012-07-10  Marek Polacek  <polacek@redhat.com>
36427         [BZ #14151]
36428         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
36429         libc_cv_asm_global_directive with .globl.
36430         * configure: Regenerated.
36431         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
36432         with .globl.
36433         * sysdeps/i386/configure: Regenerated.
36434         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
36435         with .globl.
36436         * sysdeps/x86_64/configure: Regenerated.
36437         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
36438         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
36439         * elf/tst-unique2mod2.c: Likewise.
36440         * elf/tst-unique2mod1.c: Likewise.
36441         * elf/tst-unique1mod2.c: Likewise.
36442         * elf/tst-unique1mod1.c: Likewise.
36443         * sysdeps/s390/s390-32/sysdep.h: Likewise.
36444         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
36445         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36446         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
36447         * sysdeps/mach/sysdep.h: Likewise.
36448         * sysdeps/i386/sysdep.h: Likewise.
36449         * sysdeps/i386/i386-mcount.S: Likewise.
36450         * sysdeps/x86_64/_mcount.S: Likewise.
36451         * sysdeps/x86_64/sysdep.h: Likewise.
36452         * sysdeps/sh/_mcount.S: Likewise.
36453         * sysdeps/sh/sysdep.h: Likewise.
36454         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
36455         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
36456         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
36457         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36458         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
36459         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
36460         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
36461         * locale/localeinfo.h: Likewise.
36462         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
36463         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
36465 2012-07-09  Roland McGrath  <roland@hack.frob.com>
36467         [BZ #14336]
36468         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
36469         system".
36470         * manual/message.texi (The Uniforum approach): Likewise.
36471         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
36472         (glibc iconv Implementation): Likewise.
36474 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
36476         [BZ #14337]
36477         * math/s_clog.c (__clog): Avoid scaling a value down where that
36478         could result in underflow.
36479         * math/s_clog10.c (__clog10): Likewise.
36480         * math/s_clog10f.c (__clog10f): Likewise.
36481         * math/s_clog10l.c (__clog10l): Likewise.
36482         * math/s_clogf.c (__clogf): Likewise.
36483         * math/s_clogl.c (__clogl): Likewise.
36484         * math/libm-test.inc (clog_test): Add more tests.
36485         (clog10_test): Likewise.
36486         * sysdeps/i386/fpu/libm-test-ulps: Update.
36487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36489 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
36491         [BZ #14283]
36492         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
36493         by 7 not 8 to examine high bit of fractional part.
36495         [BZ #14042]
36496         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
36497         for call to __mcount_internal.
36498         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
36499         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
36500         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
36502 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
36504         [BZ #14154]
36505         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
36506         approximation for values within 0x1p-13f of an odd multiple of
36507         pi/4.
36508         * math/libm-test.inc (tan_test): Do not allow spurious underflow
36509         exception.  Add more tests.
36510         * sysdeps/i386/fpu/libm-test-ulps: Update.
36512         [BZ #6778]
36513         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
36514         inputs and return -1 for them.  Do not check for +Inf in case not
36515         reachable for +Inf.
36516         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
36517         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
36518         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
36519         and return -1 for them.  Do not check for +Inf in case not
36520         reachable for +Inf.
36521         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
36522         define.
36523         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
36524         and return -1 for them.  Do not check for +Inf in case not
36525         reachable for +Inf.
36526         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
36527         spurious underflow.
36528         * sysdeps/i386/fpu/libm-test-ulps: Update.
36529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36531 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
36533         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
36535 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
36537         [BZ #14157]
36538         [BZ #14331]
36539         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
36540         could result in spurious underflow.  Scale down values above
36541         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
36542         * math/s_csqrtf.c (__csqrtf): Likewise.
36543         * math/s_csqrtl.c (__csqrtl): Likewise.
36544         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
36545         spurious underflow.
36546         * sysdeps/i386/fpu/libm-test-ulps: Update.
36547         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36549 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
36551         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
36552         xopen-msg.sed.
36553         * catgets/xopen-msg.awk: New file.
36554         * catgets/xopen-msg.sed: Removed.
36556         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
36557         po2text.sed.
36558         * intl/po2test.awk: New file.
36559         * intl/po2test.sed: Removed.
36561 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
36563         [BZ #14328]
36564         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
36565         or multiply small sinh result by itself.
36566         * math/s_ctanf.c (__ctanf): Likewise.
36567         * math/s_ctanh.c (__ctanh): Likewise.
36568         * math/s_ctanhf.c (__ctanhf): Likewise.
36569         * math/s_ctanhl.c (__ctanhl): Likewise.
36570         * math/s_ctanl.c (__ctanl): Likewise.
36571         * math/libm-test.inc (ctan_test_tonearest): New function.
36572         (ctan_test_towardzero): Likewise.
36573         (ctan_test_downward): Likewise.
36574         (ctan_test_upward): Likewise.
36575         (ctanh_test_tonearest): Likewise.
36576         (ctanh_test_towardzero): Likewise.
36577         (ctanh_test_downward): Likewise.
36578         (ctanh_test_upward): Likewise.
36579         (main): Call these new functions.
36580         * sysdeps/i386/fpu/libm-test-ulps: Update.
36581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36583 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
36585         * .gitignore: Delete /ports entry.
36587 2012-07-03  Andreas Jaeger  <aj@suse.de>
36589         * po/bg.po: Update from translation team.
36590         * po/cs.po: Likewise.
36591         * po/de.po: Likewise.
36592         * po/hr.po: Likewise.
36593         * po/nl.pl: Likewise.
36594         * po/pl.po: Likewise.
36595         * po/vi.po: Likewise.
36597 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
36599         * Makeconfig [!+link] (+link-before-libc): New variable.
36600         [!+link] (+link-after-libc): Likewise.
36601         [!+link] (+link-tests): Likewise.
36602         [!+link] (+link): Define in terms of $(+link-before-libc) and
36603         $(+link-after-libc).
36604         [!+link-static] (+link-static-before-libc): New variable.
36605         [!+link-static] (+link-static-after-libc): Likewise.
36606         [!+link-static] (+link-static-tests): Likewise.
36607         [!+link-static] (+link-static): Define in terms of
36608         $(+link-static-before-libc) and $(+link-static-after-libc).
36609         [build-shared] (link-libc-before-gnulib): New variable.
36610         [build-shared] (link-libc-tests): Likewise.
36611         [build-shared] (link-libc): Define in terms of
36612         $(link-libc-before-gnulib).
36613         [!build-shared] (link-libc-tests): New variable.
36614         (link-libc-static-tests): New variable.
36615         [!gnulib] (gnulib-arch): New variable.
36616         [!gnulib] (gnulib-tests): Likewise.
36617         [!gnulib] (static-gnulib-arch): Likewise.
36618         [!gnulib] (static-gnulib-tests): Likewise.
36619         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
36620         Define with "=" instead of ":=".
36621         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
36622         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
36623         * Rules (binaries-all-notests): New variable.
36624         (binaries-all-tests): Likewise.
36625         (binaries-static-notests): Likewise.
36626         (binaries-static-tests): Likewise.
36627         (binaries-all): Define using $(binaries-all-notests) and
36628         $(binaries-all-tests).
36629         (binaries-static): Define using $(binaries-static-notests) and
36630         $(binaries-static-tests).
36631         (binaries-shared-tests): New variable.
36632         (binaries-shared-notests): Likewise.
36633         (binaries-shared): Remove variable.
36634         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
36635         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
36636         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
36637         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
36638         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
36639         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
36640         * elf/Makefile (sln-modules): New variable.
36641         (extra-objs): Add $(sln-modules:=.o).
36642         (ldconfig-modules): Add static-stubs.
36643         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
36644         * elf/static-stubs.c: New file.
36646         [BZ #14283]
36647         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
36648         by 7 not 8 to examine high bit of fractional part.  Use volatile
36649         variables when splitting into final array of floats if
36650         __FLT_EVAL_METHOD__ != 0.
36651         * math/libm-test.inc (cos_test): Add another test.
36652         (sin_test): Likewise.
36653         * sysdeps/i386/fpu/libm-test-ulps: Update.
36655         [BZ #14273]
36656         * math/libm-test.inc (cosh_test): Add more tests.
36658         * version.h (RELEASE): Set to "development".
36659         (VERSION): Set to "2.16.90".
36661 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
36663         * NEWS: Update copyright. Remove last-updated date.
36664         Mention math library bug fixes and timezone data changes.
36665         * README: Mention GNU/Hurd, x32, and HPPA support status.
36667 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
36669         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
36671 2012-06-27  Andreas Jaeger  <aj@suse.de>
36673         * manual/contrib.texi (Contributors): Add Samuel Thibault.
36675 2012-06-25  Andreas Jaeger  <aj@suse.de>
36677         * sysdeps/s390/fpu/libm-test-ulps: Update.
36679 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
36680             Thomas Schwinge  <thomas@codesourcery.com>
36682         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
36683         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
36684         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
36685         fanotify_mark.
36687 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
36689         * sysdeps/mach/start.c: Remove file.
36690         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
36691         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
36692         * sysdeps/sh/init-first.c: Likewise.
36694         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
36695         registers for frame unwinding purposes, add CFI directives.
36696         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
36697         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
36698         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
36699         Likewise.
36701         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
36702         __fortify_fail returning.
36703         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
36705         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
36706         sysdeps/sh/____longjmp_chk.S.
36707         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
36708         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
36709         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
36710         (gen-as-const-headers): Append sigaltstack-offsets.sym.
36712         * sysdeps/sh/abort-instr.h: New file.
36713         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
36714         process in case exit returns.
36716         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
36717         initialize the GOT register before use.
36719         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
36720         calculation of ARGC > 4.
36722         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
36723         meaningful names to some local labels.
36725 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36726             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36728         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
36729         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
36730         (__arch_compare_and_exchange_val_16_acq): Likewise.
36731         (__arch_compare_and_exchange_val_32_acq): Likewise.
36732         (atomic_exchange_and_add): Fix gUSA sequence.
36733         (atomic_add): Likewise.
36734         (atomic_add_negative): Likewise.
36735         (atomic_add_zero): Likewise.
36736         (atomic_bit_test_set): Likewise.
36738 2012-06-22  Andreas Schwab  <schwab@redhat.com>
36740         [BZ #13579]
36741         * include/link.h (struct link_map): Add l_free_initfini.
36742         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
36743         l_initfini.
36744         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
36745         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
36746         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
36747         set.
36749 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
36751         * configure.in: Use AC_LANG_SOURCE.
36752         * configure: Regenerate.
36754 2012-06-22  Roland McGrath  <roland@hack.frob.com>
36756         * configure.in (libc_cv_localstatedir): New substituted variable.
36757         * configure: Regenerated.
36758         * config.make.in (localstatedir): New variable, substituted from
36759         libc_cv_localstatedir.
36760         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
36761         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
36762         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
36763         * sysdeps/gnu/configure: Regenerated.
36765 2012-06-21  Jeff Law  <law@redhat.com>
36767         [BZ #14277]
36768         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
36769         free.  Simplify list management for _LIBC case.
36771 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
36773         [BZ #14273]
36774         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
36775         Clear sign bit of 64-bit integer value before comparing against
36776         overflow value.
36778         * sysdeps/mach/configure: Regenerated.
36780 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
36782         [BZ #14278]
36783         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
36785 2012-06-21  Jeff Law  <law@redhat.com>
36787         [BZ #13882]
36788         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
36789         uint16_t for elements in the "seen" array to avoid char overflows.
36790         * elf/dl-fini.c (_dl_sort_fini): Likewise.
36791         * elf/dl-open.c (dl_open_worker): Likewise.
36793 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
36795         * scripts/list-sources.sh: Scan PORTS for translations.
36796         * po/libc.pot: Regenerated.
36798 2012-06-21  Andreas Jaeger  <aj@suse.de>
36800         [BZ #12194]
36801         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
36802         warning.
36803         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
36804         * bits/byteswap-16.h (__bswap_16): Likewise.
36805         * bits/byteswap.h (__bswap_constant_16): Likewise.
36807 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
36809         [BZ #14117]
36810         * sysdeps/i386/fpu_control.h: Removed.
36811         * sysdeps/x86_64/fpu_control.h: Moved to ...
36812         * sysdeps/x86/fpu_control.h: Here.
36814         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
36815         (_FPU_SETCW): Likewise.
36817 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
36819         [BZ #14117]
36820         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
36821         * sysdeps/x86/fpu/bits/mathinline.h: This.
36822         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
36824         [BZ #14050]
36825         [BZ #14117]
36826         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
36827         functions if __x86_64__ is defined.
36829 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
36831         * string/endian.h: Add !__ASSEMBLER__ condition for including
36832         conversion interfaces.
36834 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
36836         [BZ #14241]
36837         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
36838         of ABS(x) in calculating zero to negative powers other than odd
36839         integers.
36840         * math/libm-test.inc (pow_test): Add more tests.
36842 2012-06-15  Andreas Jaeger  <aj@suse.de>
36844         * manual/contrib.texi (Contributors): Update entry of Liubov
36845         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
36846         Machado Filho.
36848 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
36850         * string/string.h: Add __wur to GNU version of strerror_r.
36852 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
36854         [BZ #14229]
36855         * string/Makefile (tests): Add tst-strtok_r.
36856         * string/tst-strtok_r.c: New file.
36857         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
36858         RAX_LP/RDX_LP on SAVE_PTR.
36860 2012-06-14  Roland McGrath  <roland@hack.frob.com>
36862         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
36864 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
36866         * libm_test.inc (csqrt_test): Allow more spurious underflow
36867         exceptions.
36868         (j0_test): Likewise.
36869         (j1_test): Likewise.
36870         (y0_test): Likewise.
36871         (y1_test): Likewise.
36873 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
36875         * po/Makefile (libc.pot): Use UTF-8 charset.
36877 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
36879         [BZ #14210]
36880         Suppress sign-conversion warning from FD_SET.
36881         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
36882         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
36883         not unsigned long int.
36884         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
36886 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
36888         [BZ #14050]
36889         [BZ #14117]
36890         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
36891         __extern_always_inline instead of __extern_inline.
36892         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
36893         (__signbit): Likewise.
36894         (__signbitl): Support C++ namespace.
36895         (lrintf): New inline function.
36896         (lrint): Likewise.
36897         (llrintf): Likewise.
36898         (llrint): Likewise.
36899         (fmaxf): Likewise.
36900         (fmax): Likewise.
36901         (fminf): Likewise.
36902         (fmin): Likewise.
36903         (rint): Likewise.
36904         (rintf): Likewise.
36905         (ceil): Likewise.
36906         (ceilf): Likewise.
36907         (floor): Likewise.
36908         (floorf): Likewise.
36909         (nearbyint): Likewise.
36910         (nearbyintf): Likewise.
36912 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
36914         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
36915         non-default versions.
36917 2012-06-11  Roland McGrath  <roland@hack.frob.com>
36919         [BZ #14218]
36920         * manual/argp.texi (Argp): Reword argp_parse description slightly.
36922 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
36924         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
36925         (FE_UPWARD, FE_DOWNWARD): Don't define.
36926         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
36927         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36929         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
36930         reading it.
36931         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36932         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36934 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36936         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36937         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
36938         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
36939         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
36941 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
36943         [BZ #14117]
36944         * sysdeps/i386/fpu/bits/fenv.h: Removed.
36945         * sysdeps/i386/fpu/Implies: New file.
36946         * sysdeps/x86_64/fpu/Implies: Likewise.
36947         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
36948         * sysdeps/x86/fpu/bits/fenv.h: This.
36950         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
36951         __SSE_MATH__.
36953 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
36955         [BZ #14134]
36956         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
36957         character 0xffff that matches the last element of the
36958         conversion table.
36960 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36962         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
36963         fmodl commit.
36965 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36967         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
36968         values higher than 25.6283.
36970 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36972         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
36973         subnormal exponent extraction and add some __builtin_expect.
36974         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
36975         Fix for subnormal mantissa calculation.
36977 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
36979         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
36980         cpu2 is -1 and errno is not ENOSYS.
36982 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
36984         [BZ #14117]
36985         * sysdeps/i386/i486/bits/string.h: Renamed to ...
36986         * sysdeps/x86/bits/string.h: This.
36987         * sysdeps/x86_64/bits/string.h: Removed.
36989         * sysdeps/i386/i486/bits/string.h: Define inline functions only
36990         if not compiling for x86-64, but compiling for >= i486.
36992         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
36993         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
36995         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
36996         New macro from Linux kernel 3.4.0.
36997         (FP_XSTATE_MAGIC2): Likewise.
36998         (FP_XSTATE_MAGIC2_SIZE): Likewise.
36999         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
37000         (struct _fpx_sw_bytes): New struct.
37001         (struct _xsave_hdr): Likewise.
37002         (struct _ymmh_state): Likewise.
37003         (struct _xstate): Likewise.
37005         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
37006         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
37007         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
37008         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
37009         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
37010         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
37012         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
37013         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
37014         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
37015         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
37016         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
37017         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
37019 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37021         [BZ #13743]
37022         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
37023         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
37024         (sysdep_headers): Include sys/platform/ppc.h.
37025         * sysdeps/powerpc/test-gettimebase.c: Test for
37026         __ppc_get_timebase() to catch future ISA opcode/insn changes.
37027         * manual/Makefile (appendices): Include platform.texi.
37028         * manual/contrib.texi (Contributors): Update @node pointers.
37029         * manual/maint.texi (Maintenance): Likewise.
37030         (Platform): New node.
37031         * manual/platform.texi: New file.  Document the new features.
37033 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37034             Jakub Jelinek  <jakub@redhat.com>
37036         [BZ #14188]
37037         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
37038         where __builtin_expect is unavailable.
37040 2012-06-03  David S. Miller  <davem@davemloft.net>
37042         * stdlib/longlong.h: Updated from GCC.
37044 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
37046         [BZ #14042]
37047         * sysdeps/powerpc/powerpc32/mcount.c: New file.
37048         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
37049         __mcount_internal.
37050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37051         (GLIBC_2.16): Likewise.
37053 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
37055         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
37057 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
37059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
37060         (default-abi): New variable.
37061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
37062         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
37063         variable.
37064         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
37065         Likewise.
37066         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
37067         Likewise.
37068         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
37069         Likewise.
37071         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
37072         definition.  Document in comment.
37074 2012-06-01  David S. Miller  <davem@davemloft.net>
37076         * stdlib/longlong.h: Updated from GCC.
37078 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
37080         [BZ #14117]
37081         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
37082         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
37083         sys/debugreg.h sys/io.h here.
37084         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
37085         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
37086         sys/io.h.
37087         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
37088         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
37089         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
37090         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
37091         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
37092         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
37094         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
37095         Define only if __x86_64__ is defined.
37097 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
37099         [BZ #14048]
37100         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
37101         Use int64_t for variable i.
37102         * math/libm-test.inc (fmod_test): Add more tests.
37104         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
37105         z computation is not scheduled after fetestexcept.
37106         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
37107         Use math_force_eval instead of asm to ensure calculation scheduled
37108         before exception test.
37109         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
37110         Ensure a1 + u.d computation is not scheduled after fetestexcept.
37112 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
37114         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
37115         computation is not scheduled after fetestexcept.
37117 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
37119         [BZ #14117]
37120         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
37121         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
37123 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37125         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
37126         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37128 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
37130         [BZ #14117]
37131         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
37132         <bits/wordsize.h>.
37133         (__WCHAR_MIN): Support __WORDSIZE == 64.
37134         (__WCHAR_MAX): Likewise.
37136         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
37137         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
37139         [BZ #14183]
37140         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
37141         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
37143         [BZ #14117]
37144         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
37145         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
37147         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
37148         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
37150         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
37151         Defined to 1 if __x86_64__ isn't defined.
37152         (_STAT_VER_LINUX_OLD): New.
37153         (st_atime): Remove duplicate.
37154         (st_mtime): Likewise.
37155         (st_ctime): Likewise.
37157 2012-05-31  David S. Miller  <davem@davemloft.net>
37159         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
37160         entries.
37162 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
37164         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
37165         gen-libm-test.pl.
37167         [BZ #14132]
37168         * elf/dl-reloc.c: Include <_itoa.h>.
37169         (_dl_reloc_bad_type): Remove use of INTUSE.
37170         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
37171         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
37172         * stdio-common/psiginfo.c (psiginfo): Likewise.
37173         * stdio-common/psignal.c (psignal): Likewise.
37174         * string/strsignal.c (strsignal): Likewise.
37175         * include/signal.h (_sys_siglist): Declare hidden proto.
37176         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
37177         INTVARDEF with libc_hidden_data_def.
37178         * stdio-common/itoa-udigits.c: Likewise.
37179         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
37180         (_itoa_lower_digits_internal): Remove declaration.
37181         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
37182         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
37183         (_sys_sigabbrev_internal): Remove aliases.
37184         (_sys_siglist): Define hidden alias.
37186 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
37188         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37189         bits/sysctl.h.
37191 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
37193         [BZ #14117]
37194         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
37195         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
37197         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
37198         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
37199         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
37200         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
37201         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
37202         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
37204         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
37205         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
37206         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
37208         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
37209         with __addr.
37210         (insw): Likewise.
37211         (insl): Likewise.
37212         (outsb): Likewise.
37213         (outsw): Likewise.
37214         (outsl): Likewise.
37216         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
37217         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
37218         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
37220         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
37221         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
37222         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
37223         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
37224         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
37225         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
37227         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
37228         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
37230         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
37231         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
37233         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
37234         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
37235         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
37237         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
37238         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
37239         to ...
37240         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
37242         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
37243         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
37244         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
37246         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
37247         for x86-64.
37248         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
37250 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
37252         * math/math.h (M_El): Use two more decimal places.
37253         (M_LOG2El): Likewise.
37254         (M_LOG10El): Likewise.
37255         (M_LN2l): Likewise.
37256         (M_LN10l): Likewise.
37257         (M_PIl): Likewise.
37258         (M_PI_2l): Likewise.
37259         (M_PI_4l): Likewise.
37260         (M_1_PIl): Likewise.
37261         (M_2_PIl): Likewise.
37262         (M_2_SQRTPIl): Likewise.
37263         (M_SQRT2l): Likewise.
37264         (M_SQRT1_2l): Likewise.
37266 2012-05-31  David S. Miller  <davem@davemloft.net>
37268         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
37269         values between float registers.
37270         * sysdeps/sparc/sparc64/memset.S: Likewise.
37271         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37273 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
37275         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
37276         -D_FORTIFY_SOURCE=1.
37277         (CPPFLAGS-tst-longjmp_chk.c): Define.
37278         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
37279         (CPPFLAGS-tst-longjmp_chk2.c): Define.
37280         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
37281         CFLAGS-tst-wchar-h.c.
37283 2012-05-31  Marek Polacek  <polacek@redhat.com>
37285         [BZ #14132]
37286         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
37287         __endmntent_internal): Remove declaration.
37288         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
37289         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
37290         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
37292 2012-05-30  David S. Miller  <davem@davemloft.net>
37294         * sysdeps/sparc/sparc32/soft-fp/q_util.c
37295         (___Q_simulate_exceptions): Use real FP ops rather than writing
37296         into the %fsr.
37297         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
37298         Likewise.
37300 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
37302         [BZ #14117]
37303         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
37304         * sysdeps/x86/bits/xtitypes.h: This.
37306         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
37307         * sysdeps/x86/bits/wordsize.h: This.
37309         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
37310         * sysdeps/x86/bits/huge_vall.h: This.
37312         * sysdeps/i386/bits/select.h: Removed.
37313         * sysdeps/x86_64/bits/select.h: Renamed to ...
37314         * sysdeps/x86/bits/select.h: This.
37316         * sysdeps/i386/bits/setjmp.h: Removed.
37317         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
37318         * sysdeps/x86/bits/setjmp.h: This.
37320         * sysdeps/i386/bits/mathdef.h: Removed.
37321         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
37322         * sysdeps/x86/bits/mathdef.h: This.
37324 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
37326         [BZ #14132]
37327         * include/sys/socket.h (__connect_internal)
37328         (__libc_sa_len_internal): Remove declaration.
37329         (__connect, __libc_sa_len): Declare hidden_proto.
37330         (SA_LEN): Remove use of INTUSE.
37331         * socket/connect.c: Add libc_hidden_def.
37332         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
37333         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
37334         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
37335         alias.
37336         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
37337         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
37338         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
37339         of adding _internal alias.
37341 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
37343         [BZ #14117]
37344         * sysdeps/i386/bits/link.h: Removed.
37345         * sysdeps/i386/bits/linkmap.h: Likewise.
37346         * sysdeps/x86_64/bits/link.h: Renamed to ...
37347         * sysdeps/x86/bits/link.h: This.
37348         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
37349         * sysdeps/x86/bits/linkmap.h: This.
37351         * sysdeps/i386/bits/endian.h: Removed.
37352         * sysdeps/x86_64/bits/endian.h: Renamed to ...
37353         * sysdeps/x86/bits/endian.h: This.
37355         * sysdeps/i386/bits/byteswap.h: Removed.
37356         * sysdeps/i386/bits/byteswap-16.h: Likewise.
37357         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
37358         * sysdeps/x86/bits/byteswap.h: This.
37359         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
37360         * sysdeps/x86/bits/byteswap-16.h: This.
37361         * sysdeps/i386/Implies: Add x86.
37362         * sysdeps/x86_64/Implies: Likewise.
37364 2012-05-30  David S. Miller  <davem@davemloft.net>
37366         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
37367         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
37368         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
37369         (FP_TRAPPING_EXCEPTIONS): Define.
37370         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
37371         (FP_TRAPPING_EXCEPTIONS): Define.
37372         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
37373         subnormals only when inexact has been signalled or underflow
37374         exceptions are enabled.
37375         (_FP_PACK_CANONICAL): Likewise.
37377 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
37379         [BZ #14183]
37380         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
37381         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
37383 2012-05-30  Richard Henderson  <rth@twiddle.net>
37385         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
37386         with #ifndef NOT_IN_libc.
37388         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
37389         marked to avoid plt entry.
37391 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
37393         [BZ #14112]
37394         * Makeconfig (default-abi): New macro.
37395         (abi-includes): Likewise.
37396         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
37397         $(abi-$(default-abi)-lib-soname) for soname if defined.
37398         ($(common-objpfx)gnu/lib-names.stmp): Generate from
37399         abi-variants.
37400         * Makefile (installed-stubs): Likewise.
37401         * include/stubs-biarch.h: Removed.
37402         * scripts/lib-names.awk: Only handle one library at a time.
37403         * scripts/soversions.awk: Remove WORDSIZE support.
37404         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
37405         entries.
37406         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
37407         Removed.
37408         (syscall-list-default-condition): Likewise.
37409         (syscall-list-default-condition): Likewise.
37410         (syscall-list-includes): Likewise.
37411         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
37412         syscall-list-* with abi-*.  Handle undefined abi-variants.
37413         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
37414         * sysdeps/unix/sysv/linux/i386/Implies: New file.
37415         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
37416         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
37417         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
37418         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
37419         Removed.
37420         (syscall-list-32-options): Likewise.
37421         (syscall-list-32-condition): Likewise.
37422         (syscall-list-64-options): Likewise.
37423         (syscall-list-64-condition): Likewise.
37424         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
37425         macro.
37426         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
37427         Renamed to ...
37428         (abi-*): This.
37429         (abi-64-ld-soname): New macro.
37430         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
37431         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
37432         Renamed to ...
37433         (abi-*): This.
37434         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
37435         * sysdeps/x86_64/x32/shlib-versions: Likewise.
37437 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
37439         * sysdeps/unix/sysv/linux/kernel-features.h
37440         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
37441         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
37442         include <kernel-features.h>.
37443         [!__NR_ftruncate64]: Remove conditional code.
37444         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37445         [__NR_ftruncate64]: Make code unconditional.
37446         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37447         * sysdeps/unix/sysv/linux/truncate64.c: Do not
37448         include <kernel-features.h>.
37449         [!__NR_ftruncate64]: Remove conditional code.
37450         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37451         [__NR_ftruncate64]: Make code unconditional.
37452         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
37454         include <kernel-features.h>.
37455         [!__NR_ftruncate64]: Remove conditional code.
37456         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37457         [__NR_ftruncate64]: Make code unconditional.
37458         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
37460         include <kernel-features.h>.
37461         [!__NR_ftruncate64]: Remove conditional code.
37462         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37463         [__NR_ftruncate64]: Make code unconditional.
37464         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37466         * configure.in (libc_cv_fpie): Weaken to a compile test using
37467         LIBC_TRY_CC_OPTION.
37468         * configure: Regenerated.
37470 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37472         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
37473         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
37474         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
37475         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37476         Refreshed.
37477         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
37478         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
37479         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
37480         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
37481         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
37482         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37483         Refreshed.
37485 2012-05-27  David S. Miller  <davem@davemloft.net>
37487         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
37488         (___Q_zero): New.
37489         (__Q_simulate_exceptions): Return void.  Change to simulate
37490         exceptions by writing into the %fsr.
37491         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
37492         (__Qp_handle_exceptions): Likewise.
37493         (numbers): Delete.
37494         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
37495         __Qp_handle_exceptions.
37496         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
37497         __Qp_handle_exceptions.
37498         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
37499         as unused and give dummy FP_RND_NEAREST initializer.
37500         (FP_INHIBIT_RESULTS): Define.
37501         (___Q_simulate_exceptions): Update declaration.
37502         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
37503         formatting.
37504         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
37505         as unused and give dummy FP_RND_NEAREST initializer.
37506         (__Qp_handle_exceptions): Update declaration.
37507         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
37508         formatting.
37510 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
37512         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
37513         the temporary FPU control word.
37514         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
37515         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
37516         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
37517         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
37518         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
37519         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
37520         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
37521         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
37522         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
37523         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
37524         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37526 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37528         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
37529         fields.
37531 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
37533         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
37534         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
37535         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
37536         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
37537         Likewise.
37538         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
37539         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
37540         Likewise.
37542 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
37544         * po/h.po: Update from translation team.
37546 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
37548         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
37550         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
37551         handling of denormals.
37552         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
37553         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
37554         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
37555         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
37556         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37557         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
37558         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
37559         Likewise.
37561 2012-05-26  Marek Polacek  <polacek@redhat.com>
37563         [BZ #14152]
37564         * math/libm-test.inc (fma_test): Don't always expect underflow
37565         exception.
37567 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37569         [BZ #12416]
37570         * elf/tst-execstack.c: Include stackinfo.h.
37571         (do_test): Adjust test case to ensure that pthread_getattr_np
37572         behaviour remains the same after marking stack executable.
37574 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
37576         * sysdeps/unix/sysv/linux/kernel-features.h
37577         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
37578         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
37579         kernel-features.h.
37580         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
37581         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
37582         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
37583         kernel-features.h.
37584         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
37585         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
37587 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
37589         * configure.in: Define the default includes to being none.
37590         * configure: Regenerated.
37592 2012-05-25  Roland McGrath  <roland@hack.frob.com>
37594         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
37595         * sysdeps/x86_64/setjmp.S: Likewise.
37596         * sysdeps/i386/bsd-setjmp.S: Likewise.
37597         * sysdeps/i386/bsd-_setjmp.S: Likewise.
37598         * sysdeps/i386/setjmp.S: Likewise.
37599         * sysdeps/i386/__longjmp.S: Likewise.
37600         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
37601         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
37603         * include/stap-probe.h: New file.
37604         * configure.in: Handle --enable-systemtap.
37605         * configure: Regenerated.
37606         * config.h.in (USE_STAP_PROBE): New #undef.
37607         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
37608         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
37609         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
37611 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
37613         [BZ #13717]
37614         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
37615         to 2.4.0 where earlier.
37616         * sysdeps/unix/sysv/linux/configure: Regenerated.
37617         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
37618         <kernel-features.h>.
37619         [__ASSUME_32BITUIDS]: Make code unconditional.
37620         [!__ASSUME_32BITUIDS]: Remove conditional code.
37621         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
37622         <kernel-features.h>.
37623         [__ASSUME_32BITUIDS]: Make code unconditional.
37624         [!__ASSUME_32BITUIDS]: Remove conditional code.
37625         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
37626         [__ASSUME_32BITUIDS]: Make code unconditional.
37627         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
37628         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.c: Do not include
37649         <kernel-features.h>.
37650         [__ASSUME_32BITUIDS]: Make code unconditional.
37651         [!__ASSUME_32BITUIDS]: Remove conditional code.
37652         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
37653         <kernel-features.h>.
37654         [__ASSUME_32BITUIDS]: Make code unconditional.
37655         [!__ASSUME_32BITUIDS]: Remove conditional code.
37656         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
37657         <kernel-features.h>.
37658         [__ASSUME_32BITUIDS]: Make code unconditional.
37659         [!__ASSUME_32BITUIDS]: Remove conditional code.
37660         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
37661         <kernel-features.h>.
37662         [__ASSUME_32BITUIDS]: Make code unconditional.
37663         [!__ASSUME_32BITUIDS]: Remove conditional code.
37664         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
37665         <kernel-features.h>.
37666         [__ASSUME_32BITUIDS]: Make code unconditional.
37667         [!__ASSUME_32BITUIDS]: Remove conditional code.
37668         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
37669         <kernel-features.h>.
37670         [__NR_setresgid] (__setresgid): Do not declare.
37671         [__ASSUME_32BITUIDS]: Make code unconditional.
37672         [!__ASSUME_32BITUIDS]: Remove conditional code.
37673         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
37674         <kernel-features.h>.
37675         [__NR_setresuid] (__setresuid): Do not declare.
37676         [__ASSUME_32BITUIDS]: Make code unconditional.
37677         [!__ASSUME_32BITUIDS]: Remove conditional code.
37678         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/i386/setresgid.c: Do not include
37699         <kernel-features.h>.
37700         [__ASSUME_32BITUIDS]: Make code unconditional.
37701         [!__ASSUME_32BITUIDS]: Remove conditional code.
37702         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
37703         <kernel-features.h>.
37704         [__ASSUME_32BITUIDS]: Make code unconditional.
37705         [!__ASSUME_32BITUIDS]: Remove conditional code.
37706         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
37707         <kernel-features.h>.
37708         [__ASSUME_32BITUIDS]: Make code unconditional.
37709         [!__ASSUME_32BITUIDS]: Remove conditional code.
37710         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
37711         <kernel-features.h>.
37712         [__ASSUME_32BITUIDS]: Make code unconditional.
37713         [!__ASSUME_32BITUIDS]: Remove conditional code.
37714         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
37715         <kernel-features.h>.
37716         [__ASSUME_32BITUIDS]: Make code unconditional.
37717         [!__ASSUME_32BITUIDS]: Remove conditional code.
37718         * sysdeps/unix/sysv/linux/kernel-features.h
37719         (__ASSUME_SETRESUID_SYSCALL): Remove.
37720         (__ASSUME_SETRESGID_SYSCALL): Likewise.
37721         (__ASSUME_32BITUIDS): Likewise.
37722         (__ASSUME_LDT_WORKS): Likewise.
37723         (__ASSUME_O_DIRECTORY): Likewise.
37724         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
37725         architecture but not kernel version.
37726         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
37727         (__ASSUME_MMAP2_SYSCALL): Likewise.
37728         (__ASSUME_STAT64_SYSCALL): Likewise.
37729         (__ASSUME_IPC64): Likewise.
37730         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
37731         <kernel-features.h>.
37732         [__ASSUME_32BITUIDS]: Make code unconditional.
37733         [!__ASSUME_32BITUIDS]: Remove conditional code.
37734         * sysdeps/unix/sysv/linux/opendir.c: Do not include
37735         <kernel-features.h>.
37736         [__ASSUME_O_DIRECTORY]: Make code unconditional.
37737         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
37738         132096]: Remove conditional code.
37739         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
37740         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
37741         <kernel-features.h>.
37742         [__ASSUME_32BITUIDS]: Make code unconditional.
37743         [!__ASSUME_32BITUIDS]: Remove conditional code.
37744         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
37745         <kernel-features.h>.
37746         [__ASSUME_32BITUIDS]: Make code unconditional.
37747         [!__ASSUME_32BITUIDS]: Remove conditional code.
37748         * sysdeps/unix/sysv/linux/setegid.c: Do not include
37749         <kernel-features.h>.
37750         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
37751         unconditional.
37752         (__setresgid): Do not declare.
37753         [__ASSUME_32BITUIDS]: Make code unconditional.
37754         [!__ASSUME_32BITUIDS]: Remove conditional code.
37755         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
37756         <kernel-features.h>.
37757         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
37758         unconditional.
37759         (__setresuid): Do not declare.
37760         [__ASSUME_32BITUIDS]: Make code unconditional.
37761         [!__ASSUME_32BITUIDS]: Remove conditional code.
37762         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
37763         <kernel-features.h>.
37764         [__ASSUME_32BITUIDS]: Make code unconditional.
37765         [!__ASSUME_32BITUIDS]: Remove conditional code.
37766         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
37767         <kernel-features.h>.
37768         [__ASSUME_32BITUIDS]: Make code unconditional.
37769         [!__ASSUME_32BITUIDS]: Remove conditional code.
37771 2012-05-25  Richard Henderson  <rth@twiddle.net>
37773         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
37774         dl_hwcap to ifunc resolver.
37775         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
37776         elf_ifunc_invoke.
37777         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
37778         dl_hwcap to ifunc resolver.
37779         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
37781 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
37783         [BZ #14153]
37784         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
37785         for |x| <= 2**-26, not 2**-57.
37786         * math/libm-test.inc (acos_test): Do not allow spurious underflow
37787         exception.
37789 2012-05-24  Jeff Law  <law@redhat.com>
37791         * stdio-common/Makefile (tests): Add bug25.
37792         * stdio-common/bug25.c: New test.
37794 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
37796         [BZ #13576]
37797         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
37798         multiple of MALLOC_ALIGNMENT in size.
37799         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
37801 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
37803         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
37804         Require >= 256.
37805         (FILENAME_MAX): Use macro-int-constant.
37806         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
37807         (_IOFBF): Use macro-int-constant.
37808         (_IOLBF): Likewise.
37809         (_IONBF): Likewise.
37810         (SEEK_CUR): Likewise.
37811         (SEEK_END): Likewise.
37812         (SEEK_SET): Likewise.
37813         (TMP_MAX): Likewise.
37814         (EOF): Use macro-int-constant.  Require < 0.
37815         (NULL): Use macro-constant.  Require == 0.
37816         (stdin): Require type to be FILE *.
37817         (stdout): Likewise.
37818         (stderr): Likewise.
37819         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
37820         macro-int-constant.
37821         (EXIT_SUCCESS): Likewise.
37822         (NULL): Use macro-constant.  Require == 0.
37823         (RAND_MAX): Use macro-int-constant.
37824         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
37825         [C99-based standards] (strtof): Require function.
37826         [C99-based standards] (strtold): Likewise.
37827         [C99-based standards] (strtoll): Likewise.
37828         [C99-based standards] (strtoull): Likewise.
37829         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
37830         [ISO || ISO99 || ISO11] (limits.h): Likewise.
37831         [ISO || ISO99 || ISO11] (math.h): Likewise.
37832         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
37833         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
37834         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37836 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
37838         [BZ #14132]
37839         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
37840         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
37841         * intl/dgettext.c (DCGETTEXT): Likewise.
37842         * intl/gettext.c (DCGETTEXT): Likewise.
37843         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
37844         * posix/regex_internal.h (gettext): Likewise.
37845         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
37846         Remove declaration.
37847         * include/argz.h (__argz_count_internal)
37848         (__argz_stringify_internal): Remove declaration.
37849         (__argz_count, __argz_stringify): Declare hidden proto.
37850         * intl/dcgettext.c: Remove use of INTDEF.
37851         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
37852         * string/argz-stringify.c: Likewise.
37853         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
37854         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
37855         Declare hidden proto.
37856         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
37857         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
37858         Declare hidden proto.
37859         * include/stdio.h (__asprintf_internal): Don't declare.
37860         (__asprintf): Don't define as macro.  Declare hidden proto.
37861         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
37862         (__fsetlocking): Declare hidden proto.
37863         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
37864         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
37865         hidden proto.
37866         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
37867         (_IO_setlinebuf): Remove use of INTUSE.
37868         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
37869         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
37870         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
37871         Remove declaration.
37872         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
37873         (_IO_do_flush): Remove use of INTUSE.
37874         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
37875         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
37876         (_IO_adjust_column, _IO_least_wmarker)
37877         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
37878         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
37879         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
37880         (_IO_default_doallocate, _IO_wdefault_doallocate)
37881         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
37882         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
37883         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
37884         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
37885         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
37886         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
37887         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
37888         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
37889         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
37890         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
37891         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
37892         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
37893         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
37894         proto.
37895         (_IO_flush_all_internal, _IO_adjust_column_internal)
37896         (_IO_default_uflow_internal, _IO_default_finish_internal)
37897         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
37898         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
37899         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
37900         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
37901         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
37902         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
37903         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
37904         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
37905         (_IO_file_close_internal, _IO_file_close_it_internal)
37906         (_IO_file_underflow_internal, _IO_file_overflow_internal)
37907         (_IO_file_init_internal, _IO_file_attach_internal)
37908         (_IO_file_fopen_internal, _IO_file_read_internal)
37909         (_IO_file_sync_internal, _IO_file_seek_internal)
37910         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
37911         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
37912         (_IO_str_underflow_internal, _IO_str_overflow_internal)
37913         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
37914         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
37915         (_IO_list_all_internal, _IO_link_in_internal)
37916         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
37917         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
37918         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
37919         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
37920         (_IO_do_write_internal, _IO_padn_internal)
37921         (_IO_getline_info_internal, _IO_getline_internal)
37922         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
37923         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
37924         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
37925         (_IO_vfscanf_internal, _IO_vfprintf_internal)
37926         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
37927         (_IO_init_internal, _IO_un_link_internal): Don't declare.
37928         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
37929         with libc_hidden_ver, remove use of INTUSE.
37930         * libio/genops.c: Likewise.
37931         * libio/freopen.c: Likewise.
37932         * libio/freopen64.c: Likewise.
37933         * libio/iofclose.c: Likewise.
37934         * libio/iofdopen.c: Likewise.
37935         * libio/iofflush.c: Likewise.
37936         * libio/iofflush_u.c: Likewise.
37937         * libio/iofgets.c: Likewise.
37938         * libio/iofgets_u.c: Likewise.
37939         * libio/iofopen.c: Likewise.
37940         * libio/iofopncook.c: Likewise.
37941         * libio/iofread.c: Likewise.
37942         * libio/iofread_u.c: Likewise.
37943         * libio/ioftell.c: Likewise.
37944         * libio/iofwrite.c: Likewise.
37945         * libio/iogetline.c: Likewise.
37946         * libio/iogets.c: Likewise.
37947         * libio/iogetwline.c: Likewise.
37948         * libio/iopadn.c: Likewise.
37949         * libio/iopopen.c: Likewise.
37950         * libio/ioseekoff.c: Likewise.
37951         * libio/ioseekpos.c: Likewise.
37952         * libio/iosetbuffer.c: Likewise.
37953         * libio/iosetvbuf.c: Likewise.
37954         * libio/ioungetc.c: Likewise.
37955         * libio/ioungetwc.c: Likewise.
37956         * libio/iovdprintf.c: Likewise.
37957         * libio/iovsprintf.c: Likewise.
37958         * libio/iovsscanf.c: Likewise.
37959         * libio/memstream.c: Likewise.
37960         * libio/obprintf.c: Likewise.
37961         * libio/oldfileops.c: Likewise.
37962         * libio/oldiofclose.c: Likewise.
37963         * libio/oldiofdopen.c: Likewise.
37964         * libio/oldiofopen.c: Likewise.
37965         * libio/oldiopopen.c: Likewise.
37966         * libio/oldstdfiles.c: Likewise.
37967         * libio/putc.c: Likewise.
37968         * libio/setbuf.c: Likewise.
37969         * libio/setlinebuf.c: Likewise.
37970         * libio/stdfiles.c: Likewise.
37971         * libio/strops.c: Likewise.
37972         * libio/vasprintf.c: Likewise.
37973         * libio/vscanf.c: Likewise.
37974         * libio/vsnprintf.c: Likewise.
37975         * libio/vswprintf.c: Likewise.
37976         * libio/wfiledoalloc.c: Likewise.
37977         * libio/wfileops.c: Likewise.
37978         * libio/wgenops.c: Likewise.
37979         * libio/wmemstream.c: Likewise.
37980         * libio/wstrops.c: Likewise.
37981         * libio/__fpurge.c: Likewise.
37982         * libio/__fsetlocking.c: Likewise.
37983         * assert/assert.c: Likewise.
37984         * debug/fgets_chk.c: Likewise.
37985         * debug/fgets_u_chk.c: Likewise.
37986         * debug/fread_chk.c: Likewise.
37987         * debug/fread_u_chk.c: Likewise.
37988         * debug/gets_chk.c: Likewise.
37989         * debug/obprintf_chk.c: Likewise.
37990         * debug/vasprintf_chk.c: Likewise.
37991         * debug/vdprintf_chk.c: Likewise.
37992         * debug/vsnprintf_chk.c: Likewise.
37993         * debug/vsprintf_chk.c: Likewise.
37994         * malloc/mtrace.c: Likewise.
37995         * misc/error.c: Likewise.
37996         * misc/syslog.c: Likewise.
37997         * stdio-common/asprintf.c: Likewise.
37998         * stdio-common/fxprintf.c: Likewise.
37999         * stdio-common/getw.c: Likewise.
38000         * stdio-common/isoc99_fscanf.c: Likewise.
38001         * stdio-common/isoc99_scanf.c: Likewise.
38002         * stdio-common/isoc99_vfscanf.c: Likewise.
38003         * stdio-common/isoc99_vscanf.c: Likewise.
38004         * stdio-common/isoc99_vsscanf.c: Likewise.
38005         * stdio-common/printf-prs.c: Likewise.
38006         * stdio-common/printf_fp.c: Likewise.
38007         * stdio-common/printf_fphex.c: Likewise.
38008         * stdio-common/printf_size.c: Likewise.
38009         * stdio-common/putw.c: Likewise.
38010         * stdio-common/scanf.c: Likewise.
38011         * stdio-common/sprintf.c: Likewise.
38012         * stdio-common/tmpfile.c: Likewise.
38013         * stdio-common/vfprintf.c: Likewise.
38014         * stdio-common/vfscanf.c: Likewise.
38015         * stdlib/strfmon_l.c: Likewise.
38016         * sunrpc/openchild.c: Likewise.
38017         * sunrpc/xdr_stdio.c: Likewise.
38018         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
38019         * sysdeps/mach/hurd/tmpfile.c: Likewise.
38021 2012-05-24  Roland McGrath  <roland@hack.frob.com>
38023         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
38025         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
38026         in the third column, to generate for the shared library an IFUNC
38027         that uses _dl_vdso_vsym.
38028         * Makerules (COMPILE.c, compile-stdin.c): New variables.
38029         * Makeconfig (object-suffixes-noshared): New variable.
38031         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
38032         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
38033         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
38034         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
38036         [BZ #14132]
38037         * include/sys/time.h (__gettimeofday): Remove macro.
38038         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
38039         * time/gettimeofday.c (__gettimeofday): Remove #undef.
38040         Remove INTDEF.
38041         (__gettimeofday): Add libc_hidden_def.
38042         (gettimeofday): Add libc_hidden_weak.
38043         * sysdeps/mach/gettimeofday.c: Likewise.
38044         * sysdeps/posix/gettimeofday.c: Likewise.
38045         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
38046         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
38047         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
38048         (__gettimeofday_internal): Remove strong_alias.
38049         (__gettimeofday): Add libc_hidden_def.
38050         (gettimeofday): Add libc_hidden_weak.
38051         * sysdeps/unix/syscalls.list (gettimeofday):
38052         Remove __gettimeofday_internal alias.
38054 2012-05-24  Daniel Jacobowitz  <drow@false.org>
38055             H.J. Lu  <hongjiu.lu@intel.com>
38057         [BZ #12495]
38058         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
38059         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
38060         (largebin_index_32_big): New.
38061         (largebin_index): Use it for 16-byte alignment.
38062         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
38063         correction with front_misalign.
38065 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
38067         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
38068         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
38069         Likewise.
38070         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
38071         Likewise.
38072         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
38073         Likewise.
38074         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
38075         Likewise.
38076         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
38077         Likewise.
38078         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
38079         Likewise.
38080         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
38081         Likewise.
38082         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
38083         Likewise.
38084         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
38085         Likewise.
38086         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
38087         Likewise.
38088         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
38089         Likewise.
38090         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
38091         Likewise.
38093         * scripts/data/c++-types-x32-linux-gnu.data: New file.
38094         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
38096 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
38098         [BZ #10846]
38099         [BZ #14036]
38100         * math/libm-test.inc (exp_test): Add test from bug 14036.
38101         (pow_test): Add test from bug 10846.
38103         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
38104         and other flags.
38105         (special_function): Do not include flags in test name.
38106         (parse_args): Likewise.
38107         * sysdeps/i386/fpu/libm-test-ulps: Update.
38108         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38109         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
38110         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
38111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38113         * math/gen-libm-test.pl (%beautify): Add entries for underflow
38114         exceptions.
38115         * math/libm-test.inc ("Philosophy"): Update comment about
38116         exception testing.
38117         (UNDERFLOW_EXCEPTION): New macro.
38118         (UNDERFLOW_EXCEPTION_OK): Likewise.
38119         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
38120         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
38121         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
38122         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
38123         (INVALID_EXCEPTION_OK): Update value.
38124         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38125         (OVERFLOW_EXCEPTION_OK): Likewise.
38126         (IGNORE_ZERO_INF_SIGN): Likewise.
38127         (test_exceptions): Handle underflow exceptions.
38128         (acos_test): Update for underflow exception expectations.
38129         (cexp_test): Likewise.
38130         (clog_test): Likewise.
38131         (clog10_test): Likewise.
38132         (csqrt_test): Likewise.
38133         (ctan_test): Likewise.
38134         (ctanh_test): Likewise.
38135         (exp_test): Likewise.
38136         (exp10_test): Likewise.
38137         (exp2_test): Likewise.
38138         (expm1_test): Likewise.
38139         (fma_test): Likewise.
38140         (j0_test): Likewise.
38141         (jn_test): Likewise.
38142         (nexttoward_test): Likewise.
38143         (pow_test): Likewise.
38144         (scalbn_test): Likewise.
38145         (scalbln_test): Likewise.
38146         (tan_test): Likewise.
38147         (y1_test): Likewise.
38148         * sysdeps/i386/fpu/libm-test-ulps: Update.
38149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38151 2012-05-23  David S. Miller  <davem@davemloft.net>
38153         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38154         (__libc_sigaction): Remove unused local variables.
38156 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
38158         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
38160 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
38162         mktime: avoid signed integer overflow
38163         * time/mktime.c (__mktime_internal): Do not mishandle the case
38164         where diff == INT_MIN.
38166         mktime: simplify computation of average
38167         * time/mktime.c (ranged_convert): Use new time_t_avg function
38168         instead of rolling our own (probably-slower) code.
38170         mktime: do not assume signed right shift propagates sign bit
38171         * time/mktime.c (isdst_differ): New static function.
38172         (__mktime_internal): No need to normalize tm_isdst now.
38173         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
38174         tm_isdst values.
38176         mktime: merge another wrapv change from gnulib
38177         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
38178         from some compilers.
38180         mktime: remove incorrect attempt at unusual arithmetics
38181         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
38182         The code didn't really work on such machines anyway.
38183         (TYPE_MINIMUM): Assume two's complement.
38184         (twos_complement_arithmetic): Verify that long_int and time_t
38185         are two's complement (or unsigned, in the latter case).
38187         mktime: check signed shifts on long_int and time_t, too
38188         * time/mktime.c (SHR): Check that shifts work as desired
38189         on the types long_int and time_t too, as SHR is used on
38190         such types.
38192         mktime: do not assume 'long' is wide enough
38193         * time/mktime.c (verify): Move decl up.
38194         (long_int): New type.
38195         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
38196         to remove assumption in the code that 'long' is wide enough to
38197         store year values.  This assumption is not true on x32 and on
38198         some non-glibc platforms.
38200         mktime: merge wrapv change from gnulib
38201         * time/mktime.c (WRAPV): New macro.
38202         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
38203         (guess_time_tm, __mktime_internal): Do not assume that signed
38204         integer overflow wraps around; modern compilers generate code
38205         where this assumption is no longer valid.
38207 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
38209         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
38210         Replace "jmp L(pseudo_end)" with "ret".
38211         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
38212         Likewise.
38214 2012-05-23  Andreas Jaeger  <aj@suse.de>
38216         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
38217         * sysdeps/unix/sysv/linux/poll.c: Remove file.
38219 2012-05-23  Andreas Jaeger  <aj@suse.de>
38220             Maximilian Attems  <max@stro.at>
38222         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
38223         New macros.
38225 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
38227         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
38228         code so that pseudo_end is just ret and the stack pointer is
38229         correct also for static library in error case.
38231 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
38233         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
38234         move to syscalls.list.
38235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
38236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
38237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
38238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
38240         * manual/install.texi (Running make install): Do not mention Linux
38241         kernel version for which pt_chown is not needed.
38242         (Linux): Do not mention problems with nscd with 2.0 kernels.
38243         * INSTALL: Regenerated.
38245 2012-05-23  Andreas Jaeger  <aj@suse.de>
38247         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
38248         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
38249         macro.
38250         * sysdeps/unix/sysv/linux/s390/bits/mman.h
38251         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38252         * sysdeps/unix/sysv/linux/sh/bits/mman.h
38253         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38254         * sysdeps/unix/sysv/linux/i386/bits/mman.h
38255         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38256         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
38257         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38258         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
38259         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38260         * sysdeps/unix/sysv/linux/bits/in.h
38261         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
38263 2012-05-22  Roland McGrath  <roland@hack.frob.com>
38265         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
38266         (PREPARE_VERSION): Just use assert instead, it will be elided
38267         under [NDEBUG] anyway.
38269 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
38271         * sysdeps/unix/sysv/linux/Makefile: Include
38272         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
38273         (sysdep_routines): Remove sysctl.
38274         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
38275         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
38276         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
38277         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
38278         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
38280 2012-05-22  Andreas Jaeger  <aj@suse.de>
38282         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
38283         that pseudo_end is just ret and the stack pointer is correct also
38284         for static library in error case.
38286 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
38288         [BZ #14122]
38289         * nss/nsswitch.c (defconfig_entries): New variable.
38290         (__nss_database_lookup): Don't leak defconfig entries.
38291         (nss_parse_service_list): Don't leak on error paths.
38292         (free_database_entries): New function.
38293         (free_defconfig): New function.
38294         (free_mem): Move common code to free_database_entries.
38296 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
38298         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
38299         Add arch_prctl.
38300         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
38302         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38303         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
38304         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
38305         New macro.
38306         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
38307         (INTERNAL_SYSCALL_TYPES): Likewise.
38308         (LOAD_ARGS_TYPES_[1-6]): Likewise.
38309         (LOAD_REGS_TYPES_[1-6]): Likewise.
38310         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
38311         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
38313 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38315         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
38316         copysignl for GLIBC_2_0.
38317         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
38318         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
38319         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
38320         logbl for GLIBC_2_0.
38321         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
38322         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
38324 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
38326         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
38327         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
38329         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
38330         Use "neg %eax".
38332         * time/mktime.c: Update copyright years.
38334 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
38336         mktime: merge comment-quoting-style change from gnulib
38337         * time/mktime.c: Quote 'like this' in comments.
38338         The GNU coding standards suggest that we no longer quote `like this',
38339         as "`" and "'" are typically rendered asymmetrically nowadays.
38340         The typical gnulib style is to quote 'like this' when quoting
38341         code, and "like this" when quoting English.
38343         * time/mktime.c (compile-command): Add "-I.".
38345         mktime: merge mktime-internal.h change from gnulib
38346         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
38348         mktime: merge time_r change from gnulib
38349         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
38351         mktime: merge DEBUG change from gnulib
38352         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
38353         case system <time.h> has a #define.
38355         mktime: merge <sys/types.h> change from gnulib
38356         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
38357         since <time.t> is now guaranteed to define time_t.
38359         mktime: merge HAVE_CONFIG_H change from gnulib
38360         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
38362 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
38364         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
38365         Use "neg %eax".
38367         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
38368         __rlim_t cast.
38369         (struct rusage): Use anonymous union to pad each field to
38370         __syscall_slong_t.
38372 2012-05-21  David S. Miller  <davem@davemloft.net>
38374         * Makefules (o-iterator): Remove .s cases.
38375         (compile-command.s): Delete.
38376         (COMPILE.s): Delete.
38377         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
38379 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
38381         * configure.in (libc_cv_predef_stack_protector): Only consider
38382         "foobar" and "__stack_chk_fail" lines in libc_undefs.
38383         * configure: Regenerated.
38385 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
38387         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
38388         New macro.  Use R*LP on int and pointer.
38389         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
38390         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
38391         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
38392         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
38394         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
38395         [__WORDSIZE_TIME64_COMPAT32] instead of
38396         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
38397         (struct utmp): Likewise.
38398         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
38399         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
38400         Renamed to ...
38401         (__WORDSIZE_TIME64_COMPAT32): This.
38402         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
38403         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
38404         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
38405         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
38406         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
38407         (__WORDSIZE_TIME64_COMPAT32): New macro.
38409 2012-05-21  Andreas Jaeger  <aj@suse.de>
38411         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
38412         only if [SHARED]. Add prototype for __wcschr_ia32.
38414 2012-05-21  Roland McGrath  <roland@hack.frob.com>
38416         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
38417         of %rbp unmolested in the jmp_buf while mangling the low bits.
38418         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
38419         unmolested high bits of %rbp while demangling the low bits.
38420         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
38422 2012-05-21  Andreas Jaeger  <aj@suse.de>
38424         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
38425         * sunrpc/svc_simple.c: Use it for registerrpc.
38426         * sunrpc/xcrypt.c: Use it for passwd2des.
38428         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
38430 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
38432         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
38433         Don't define if [__SYSCALL_WORDSIZE != 32].
38434         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
38435         New macro.
38437 2012-05-21  Bruno Haible  <bruno@clisp.org>
38438             Andreas Jaeger  <aj@suse.de>
38440         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
38441         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
38442         inptr and inend for must_buffer_ch.
38443         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
38444         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
38445         * stdio-common/Makefile (tests): Remove bug15.
38446         (bug15-ENV): Remove macro.
38447         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
38448         anymore.
38450 2012-05-19  Andreas Jaeger  <aj@suse.de>
38451             Roland McGrath  <roland@hack.frob.com>
38453         * manual/contrib.texi: Completely rewritten. It contains now an
38454         alphabetical list of contributors and their contributions.
38456 2012-05-21  Richard Henderson  <rth@twiddle.net>
38458         * misc/getauxval.c (__getauxval): Use unsigned long int.
38459         * misc/sys/auxv.h: Include <sys/cdefs.h>.
38460         (getauxval): Use unsigned long int.
38462 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
38464         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
38466 2012-05-21  Roland McGrath  <roland@hack.frob.com>
38468         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
38469         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
38470         __alignof__ (long double).
38472 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38474         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38476 2012-05-20  Richard Henderson  <rth@twiddle.net>
38478         * misc/getauxval.c: New file.
38479         * misc/sys/auxv.h: New file.
38480         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
38481         (routines): Add getauxval.
38482         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
38483         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
38484         * elf/dl-sysdep.c (_dl_auxv): Remove.
38485         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
38486         * elf/dl-support.c (_dl_auxv): New variable.
38487         (_dl_aux_init): Initialize it.
38488         * manual/startup.texi (Auxiliary Vector): New node.
38489         * sysdeps/generic/bits/hwcap.h: New file.
38490         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
38491         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
38492         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
38493         * sysdeps/sparc/sysdep.h: ... here.  Include it.
38494         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
38495         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
38496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38497         Update.
38498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
38499         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
38500         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
38501         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
38502         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
38503         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
38504         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
38505         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
38507 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38509         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38511 2012-05-19  David S. Miller  <davem@davemloft.net>
38513         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38515 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
38517         [BZ #14123]
38518         * math/s_ccosh.c: Include <float.h>
38519         (__ccosh): Avoid internal overflow calculating sinh and cosh
38520         values before multiplying by sin and cos values.
38521         * math/s_ccoshf.c: Likewise.
38522         * math/s_ccoshl.c: Likewise.
38523         * math/s_csin.c: Likewise.
38524         * math/s_csinf.c: Likewise.
38525         * math/s_csinl.c: Likewise.
38526         * math/s_csinh.c: Likewise.
38527         * math/s_csinhf.c: Likewise.
38528         * math/s_csinhl.c: Likewise.
38529         * math/libm-test.inc (ccos_test): Add more tests.
38530         (ccosh_test): Likewise.
38531         (csin_test): Likewise.
38532         (csinh_test): Likewise.
38533         * sysdeps/i386/fpu/libm-test-ulps: Update.
38534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38536 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
38538         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
38539         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
38541         * sysdeps/x86_64/x32/_itoa.h: Add comment.
38543 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
38545         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
38546         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
38547         * sysdeps/powerpc/soft-fp/Versions: Likewise.
38548         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
38549         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
38550         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
38551         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
38552         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
38553         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
38554         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
38555         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
38556         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
38557         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
38558         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
38559         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
38560         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
38561         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
38562         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
38563         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
38564         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
38565         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
38566         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
38567         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
38568         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
38569         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
38570         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
38571         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
38572         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
38573         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
38574         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
38575         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
38577 2012-05-18  Andreas Jaeger  <aj@suse.de>
38579         * csu/.gitignore: Delete.
38581 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
38583         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
38584         (timex): Use __syscall_slong_t.
38586 2012-05-18  Andreas Jaeger  <aj@suse.de>
38587             Carlos O'Donell  <carlos_odonell@mentor.com>
38589         * manual/install.texi (Configuring and compiling): Update
38590         description about files modified in the source directory.
38591         * INSTALL: Regenerated.
38593 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
38595         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
38596         value.  Use "or" to set return value to -1.
38597         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
38598         negate return value.
38600 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38602         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
38603         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
38604         failure if the compiler has Graphite support disabled.
38605         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
38606         Likewise.
38607         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
38608         (CFLAGS-memmove.c): Likewise.
38609         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
38610         Likewise.
38612 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
38614         * sysdeps/x86_64/x32/_itoa.h: New file.
38616         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
38617         getdents system call only if kernel and user dirents have the
38618         same d_ino and d_off.
38620         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38621         LLONG_MAX != LONG_MAX.
38622         (_itoa_word): Use _ITOA_WORD_TYPE on value.
38623         (_fitoa_word): Likewise.
38625         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
38626         years.
38627         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
38628         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
38629         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
38631         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
38632         include <bits/wordsize.h>.  Check __x86_64__ instead of
38633         __WORDSIZE.
38634         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
38635         if __x86_64__ is defined.  Use anonymous union on fpstate.
38637         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
38638         anonymous union.
38640 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
38642         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
38643         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
38644         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
38645         Refer to _rtld_local_ro instead of _rtld_global_ro.
38646         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
38647         Likewise.
38648         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
38649         Likewise.
38650         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
38651         Likewise.
38652         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
38653         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
38654         of _rtld_global, and rtld_progname instead of _dl_argv[0].
38656         * sysdeps/powerpc/powerpc32/dl-machine.c
38657         (__elf_machine_runtime_setup) [PROF]: Don't reference
38658         _dl_prof_resolve.
38660 2012-05-18  Andreas Jaeger  <aj@suse.de>
38662         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
38663         function only available for GCCs before 3.4 since GCC 3.4
38664         introduced a builtin.
38665         (lrint): Likewise.
38666         (llrintf): Likewise.
38667         (llrint): Likewise.
38668         (fmaxf): Likewise.
38669         (fmax): Likewise.
38670         (fminf): Likewise.
38671         (fmin): Likewise.
38672         (rint): Likewise.
38673         (rintf): Likewise.
38674         (nearbyint): Likewise.
38675         (nearbyintf): Likewise.
38676         (ceil): Likewise.
38677         (ceilf): Likewise.
38678         (floor): Likewise.
38679         (floorf): Likewise.
38681 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
38683         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
38684         on both fields and cast pointer to __syscall_ulong_t.
38686         * bits/types.h (__fsword_t): New type.
38687         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
38688         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
38689         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38690         (__FSWORD_T_TYPE): Likewise.
38691         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38692         (__FSWORD_T_TYPE): Likewise.
38693         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38694         (__FSWORD_T_TYPE): Likewise.
38695         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
38696         (__FSWORD_T_TYPE): Likewise.
38697         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
38698         __SWORD_TYPE with __fsword_t.
38699         (statfs64): Likewise.
38701 2012-05-17  David S. Miller  <davem@davemloft.net>
38703         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
38705 2012-05-17  Andreas Jaeger  <aj@suse.de>
38707         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
38708         warning.
38710 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
38712         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
38714 2012-05-17  Andreas Jaeger  <aj@suse.de>
38716         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
38717         when it is used.
38719 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
38721         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
38723 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
38725         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
38726         * sysdeps/x86_64/tst-mallocalign1.c: New file.
38728 2012-05-17  Andreas Jaeger  <aj@suse.de>
38729             Carlos O'Donell  <carlos_odonell@mentor.com>
38731         [BZ #14059]
38732         * sysdeps/x86_64/multiarch/init-arch.h
38733         (bit_YMM_Usable): Rename to...
38734         (bit_AVX_Usable): ... this.
38735         (bit_FMA4_Usable): New macro.
38736         (bit_XMM_state): New macro.
38737         (bit_YMM_state): New macro.
38738         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
38739         [__ASSEMBLER__] (index_AVX_Usable): ... this.
38740         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
38741         (CPUID_OSXSAVE): New macro.
38742         (CPUID_AVX): New macro.
38743         (CPUID_FMA4): New macro.
38744         (index_YMM_Usable): Rename to...
38745         (index_AVX_Usable): ... this.
38746         (HAS_AVX): Use HAS_ARCH_FEATURE.
38747         (HAS_FMA4): Likewise.
38748         (HAS_YMM_USABLE): Remove.
38749         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38750         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
38751         are present.
38752         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
38753         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
38754         * sysdeps/x86_64/multiarch/Makefile: Likewise.
38755         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
38756         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
38758 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
38760         * math/libm-test.c: Support platforms without multiple rounding modes.
38761         * math/bug-nextafter.c: Support platforms without FP exceptions.
38762         * math/bug-nexttoward.c: Likewise.
38763         * math/test-fenv.c: Likewise.
38764         * math/test-misc.c: Likewise.
38765         * stdlib/bug-getcontext.c: Likewise.
38767 2012-05-17  Andreas Jaeger  <aj@suse.de>
38769         * manual/examples/search.c (critter_cmp): Change signature to
38770         avoid warnings.
38771         * manual/string.texi (Collation Functions): Likewise.
38773 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38775         * bits/types.h: Fold copyright years.
38776         * bits/typesizes.h: Likewise.
38777         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
38778         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
38779         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
38780         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
38781         * time/time.h: Likewise.
38783 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
38785         [BZ #208]
38786         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
38787         in instead of returning them.  Return void.
38788         (__libc_mallinfo): Accumulate over all arenas.
38789         (__malloc_stats): Adjust for change in int_mallinfo interface.
38791 2012-05-16  Roland McGrath  <roland@hack.frob.com>
38793         [BZ #10375]
38794         * configure.in (NM): Add AC_CHECK_TOOL for it.
38795         (libc_extra_cflags): New substituted variable.
38796         Check for -fstack-protector being used implicitly.
38797         * configure: Regenerated.
38798         * config.make.in (config-extra-cflags): New variable,
38799         gets @libc_extra_cflags@.
38800         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
38802         [BZ #10375]
38803         * configure.in: Check for _FORTIFY_SOURCE being predefined.
38804         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
38805         * configure: Regenerated.
38806         * config.make.in (CPPUNDEFS): New substituted variable.
38807         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
38808         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
38809         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
38811 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38813         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
38814         (mq_attr): Use __syscall_slong_t.
38816 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38818         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
38819         Check __x86_64__ instead of __WORDSIZE.
38820         (_STAT_VER_LINUX): Likewise.
38821         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
38822         __syscall_ulong_t and __syscall_slong_t.
38823         (stat64): Likewise.
38825 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38827         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
38829 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38831         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
38833 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38835         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
38836         __syscall_ulong_t.
38838         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
38839         include <bits/wordsize.h>.  Check __x86_64__ instead of
38840         __WORDSIZE.
38841         (greg_t): Use "__extension__ long long int" if __x86_64__ is
38842         defined.
38843         (mcontext_t): Replace "unsigned long" with "unsigned long long".
38845         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
38846         include <bits/wordsize.h>.  Check __x86_64__ instead of
38847         __WORDSIZE.
38848         (user_regs_struct): Use "__extension__ unsigned long long"
38849         instead of "unsigned long" if __x86_64__ is defined.
38850         (user): Likewise.  Pad after pointer field if __ILP32__ is
38851         defined.
38853 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
38855         * configure.in (makeinfo): Require version 4.5 or later.  Allow
38856         versions 5 to 9.
38857         * configure: Regenerated.
38858         * manual/install.texi (texinfo): Increase version requirement to
38859         4.5 or later.
38860         * INSTALL: Regenerated.
38862         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
38864 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38866         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
38868         * sysdeps/x86_64/x32/ffs.c: New file.
38870         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
38871         __syscall_ulong_t.
38872         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
38873         defined.  Use __syscall_ulong_t.
38874         (shminfo): Use __syscall_ulong_t.
38875         (shm_info): Likewise.
38877         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
38878         __syscall_ulong_t.
38880         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
38881         <bits/wordsize.h>.
38882         (msgqnum_t): Use __syscall_ulong_t.
38883         (msglen_t): Likewise.
38884         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
38885         __syscall_ulong_t.
38887         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
38888         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
38890         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
38892         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
38893         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
38895         * sysvipc/sys/msg.h (msgbuf): Replace long int with
38896         __syscall_slong_t.
38898         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
38899         include <bits/wordsize.h>.  Check __x86_64__ instead of
38900         __WORDSIZE.
38902         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
38903         "unsigned long long int" if __x86_64__ is defined.
38904         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
38906         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
38907         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
38908         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
38910         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
38911         <stdint.h>.
38912         (GET_PC): Cast to uintptr_t first.
38913         (GET_FRAME): Likewise.
38914         (GET_STACK): Likewise.
38916         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
38917         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
38918         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
38919         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
38920         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
38921         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
38922         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
38923         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
38924         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
38925         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
38926         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
38927         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
38928         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38929         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
38930         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
38931         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
38932         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
38933         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
38934         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
38935         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
38936         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
38937         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
38938         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
38939         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
38940         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
38941         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
38942         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
38943         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
38944         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
38946 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
38948         * Makerules (+depfiles): Also collect depfiles from .oS in
38949         $(extra-objs).
38950         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
38951         .oS, $(libnldbl-routines)).
38953         * Makerules (native-compile-mkdep-flags): Define.
38954         * sunrpc/Makefile (extra-objs): Add $(addprefix
38955         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
38956         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
38957         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
38958         calling $(make-target-directory).
38960 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38962         * bits/types.h (__snseconds_t): Removed.
38963         * time/time.h (struct timespec): Replace __snseconds_t with
38964         __syscall_slong_t.
38965         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
38966         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
38967         Likewise.
38968         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38969         (__SNSECONDS_T_TYPE): Likewise.
38970         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38971         (__SNSECONDS_T_TYPE): Likewise.
38972         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38973         (__SNSECONDS_T_TYPE): Likewise.
38975 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38977         * sysdeps/mach/hurd/bits/typesizes.h
38978         (__SYSCALL_SLONG_TYPE): New macro.
38979         (__SYSCALL_ULONG_TYPE): Likewise.
38981 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38983         * bits/types.h (__syscall_slong_t): New type.
38984         (__syscall_ulong_t): Likewise.
38986         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
38987         (__SYSCALL_ULONG_TYPE): Likewise.
38988         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38989         (__SYSCALL_SLONG_TYPE): Likewise.
38990         (__SYSCALL_ULONG_TYPE): Likewise.
38991         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38992         (__SYSCALL_SLONG_TYPE): Likewise.
38993         (__SYSCALL_ULONG_TYPE): Likewise.
38994         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38995         (__SYSCALL_SLONG_TYPE): Likewise.
38996         (__SYSCALL_ULONG_TYPE): Likewise.
38998 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39000         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
39001         Add sigaltstack-offsets.sym.
39002         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
39003         <sigaltstack-offsets.h>.
39004         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
39005         longjmp_msg pointer.
39006         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
39007         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
39008         signal stack.
39009         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
39011 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
39013         * elf/stackguard-macros.h: Remove file.
39014         * sysdeps/generic/stackguard-macros.h: New file.
39015         * sysdeps/i386/stackguard-macros.h: Likewise.
39016         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
39017         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
39018         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
39019         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
39020         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
39021         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
39022         * sysdeps/x86_64/stackguard-macros.h: Likewise.
39023         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
39024         <elf/stackguard-macros.h>.
39026         [BZ #14109]
39027         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
39028         __aligned__ in attribute.
39029         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
39030         (gregset_t): Likewise.
39032 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39034         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
39035         * sysdeps/x86_64/64/Implies-after: Here.  New file.
39036         * sysdeps/x86_64/x32/Implies-after: New file.
39038 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39040         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
39041         and access return value for _dl_profile_fixup.  Use R10_LP to
39042         load frame size.
39044 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39046         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
39048 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39050         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
39051         * sysdeps/x86_64/x32/sysdep.h: New file.
39053 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39055         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
39056         * sysdeps/x86_64/setjmp.S: Likewise.
39058 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39060         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
39061         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
39062         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
39063         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
39064         remove unused global constant.
39066 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
39068         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
39069         include of <not-cancel.h>.
39071 2012-05-15  Roland McGrath  <roland@hack.frob.com>
39073         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
39075 2012-05-15  Jeff Law  <law@redhat.com>
39076             Andreas Jaeger  <aj@suse.de>
39078         [BZ #13594]
39079         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
39080         out from...
39081         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
39082         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
39083         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
39084         code changing __hst_map_handle.map.
39086 2012-05-15  Roland McGrath  <roland@hack.frob.com>
39088         * configure.in (sysnames): Look for Implies-before and Implies-after
39089         files.
39090         * configure: Regenerated.
39092 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39094         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
39095         8-byte data alignment with LP_SIZE alignment.
39097 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39099         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
39100         into R10_LP.
39102 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39104         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
39106 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39108         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
39109         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
39110         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
39111         Likewise.
39112         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39114 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39116         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
39117         (stackinfo_sub_sp): Likewise.
39119 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39121         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
39122         RAX_LP.
39124 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39126         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
39127         into R*_LP.
39129 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39131         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
39132         sizes into R*_LP.
39134 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39136         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
39138 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39140         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
39141         into R11_LP and load __x86_64_shared_cache_size_half into
39142         R8_LP.
39144 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39146         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
39147         R8_LP.
39149 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39151         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
39152         logb for POWER7.
39153         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
39154         logbf for POWER7.
39155         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
39156         logbl for POWER7.
39157         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
39158         powerpc32/power7/fpu/s_logb.c via #include.
39159         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
39160         powerpc32/power7/fpu/s_logbf.c via #include.
39161         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
39162         powerpc32/power7/fpu/s_logbl.c via #include.
39164 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
39166         * README.libm: Remove file.
39168 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39170         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
39171         count for x32.  Use R*_LP and omit operand-size suffix.
39173 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39175         * shlib-versions: Move x86_64-.*-linux.* entries to ...
39176         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
39177         * sysdeps/x86_64/x32/shlib-versions: New file.
39179 2012-05-14  Roland McGrath  <roland@hack.frob.com>
39181         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
39182         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
39183         Use _dl_fatal_printf instead.
39185 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
39187         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
39188         set if not set by the user.  Do not allow for being unset.
39189         * sysdeps/unix/sysv/linux/configure: Regenerated.
39191 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39193         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
39194         the `q' suffix from lea and replace .quad with ASM_ADDR.
39196 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39198         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
39199         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
39200         instead of $17.
39201         (PTR_DEMANGLE): Likewise.
39203 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39205         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
39206         (LP_OP): Likewise.
39207         (ASM_ADDR): Likewise.
39208         (RAX_LP): Likewise.
39209         (RBP_LP): Likewise.
39210         (RBX_LP): Likewise.
39211         (RCX_LP): Likewise.
39212         (RDI_LP): Likewise.
39213         (RSI_LP): Likewise.
39214         (RSP_LP): Likewise.
39215         (R8_LP): Likewise.
39216         (R9_LP): Likewise.
39217         (R10_LP): Likewise.
39218         (R10_LP): Likewise.
39219         (R11_LP): Likewise.
39220         (R12_LP): Likewise.
39221         (R13_LP): Likewise.
39222         (R14_LP): Likewise.
39223         (R15_LP): Likewise.
39225 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39227         * sysdeps/x86_64/x32/dl-machine.h: New file.
39229 2012-05-14  Andreas Jaeger  <aj@suse.de>
39231         * manual/Makefile (subdir): Remove export of subdir.
39232         (all): Remove target.
39233         (.PHONY): Remove all from list.
39234         (mkinstalldirs): Remove.
39235         (.PHONY): Remove installdirs from list.
39236         ($(inst_infodir)/libc.info): Use make-target-directory.
39237         (installdirs): Remove.
39238         (subdir_%): Remove.
39239         (glibc-targets): Remove.
39240         (lib): Remove.
39241         (stubs): Remove.
39242         ($(objpfx)stubs ../po/manual.pot): Remove.
39243         ($(objpfx)stamp%): Remove.
39244         (make-target-directory): Remove.
39245         (subdir_install): Remove.
39246         (routines): Remove.
39247         (aux): Remove.
39248         (sources): Remove.
39249         (objects): Remove.
39250         (headers): Remove.
39252         [BZ #13750]
39253         * manual/.gitignore: Remove, it's not needed anymore.
39254         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
39255         all files in it.
39256         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
39257         directory.
39258         (texis): Renamed to $(objpfx)texis.
39259         (texis-path): New, contains path to generated files.
39260         (chapters.%): Use texis-path for complete path, add extra argument
39261         libc-texinfo.sh.
39262         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
39263         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
39264         (summary,texi, stamp-summary): Use complete path of
39265         files. Generate files in build dir.
39266         (dir-add.texi): Build in build dir.
39267         (libm-err.texi,stamp-libm-err): Likewise.
39268         (version.texi, stamp-version): Likewise.
39269         (.%c.texi): Likewise.
39270         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
39271         (mostlyclean): Remove target.
39272         (realclean): Remove target.
39273         (generated): Add new variable with contents from mostlyclean and
39274         realclean, remove entries duplicated in common-mostlyclean, add
39275         stamp-libm-err and stamp-version.
39276         (generated-dirs): Add libc directory.
39277         ($(inst_infodir)/libc.info): Install files from build dir.
39279         * manual/install.texi (Configuring and compiling): Adjust since
39280         the info files are not part of the tar ball anymore.
39282 2012-05-14  Andreas Jaeger  <aj@suse.de>
39284         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
39285         variable.
39287 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
39289         [BZ #13717]
39290         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39291         to 2.2.0 where earlier.
39292         * sysdeps/unix/sysv/linux/configure: Regenerated.
39293         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
39294         Remove conditional code.
39295         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
39296         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
39297         Remove conditional code.
39298         [!__NR_lchown]: Likewise.
39299         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39300         [__NR_lchown]: Likewise.
39301         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
39302         comment referencing __ASSUME_LCHOWN_SYSCALL.
39303         * sysdeps/unix/sysv/linux/i386/sigaction.c
39304         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39305         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39306         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
39307         Remove conditional code.
39308         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
39309         (__protocol_available): Remove #if 0 code.
39310         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
39311         conditional code.
39312         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
39313         * sysdeps/unix/sysv/linux/kernel-features.h
39314         (__ASSUME_GETCWD_SYSCALL): Don't define.
39315         (__ASSUME_REALTIME_SIGNALS): Likewise.
39316         (__ASSUME_PREAD_SYSCALL): Likewise.
39317         (__ASSUME_PWRITE_SYSCALL): Likewise.
39318         (__ASSUME_POLL_SYSCALL): Likewise.
39319         (__ASSUME_LCHOWN_SYSCALL): Likewise.
39320         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
39321         non-SPARC.
39322         (__ASSUME_SIOCGIFNAME): Don't define.
39323         (__ASSUME_MSG_NOSIGNAL): Likewise.
39324         (__ASSUME_SENDFILE): Define unconditionally.
39325         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
39326         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
39327         conditional code.
39328         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
39329         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
39330         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
39331         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39332         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
39333         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
39334         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
39336         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39337         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
39339         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39340         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
39342         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39343         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
39345         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39346         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
39348         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39349         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
39351         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39352         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
39354         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39355         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
39357         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39358         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39359         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
39360         Remove conditional code.
39361         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39362         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
39363         Remove conditional code.
39364         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39365         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
39366         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
39367         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
39368         Remove conditional code.
39369         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39370         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
39371         Remove conditional code.
39372         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39373         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
39374         Remove conditional code.
39375         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39376         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
39377         Remove conditional code.
39378         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39379         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
39380         Remove conditional code.
39381         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39382         * sysdeps/unix/sysv/linux/sh/pwrite64.c
39383         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39384         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39385         * sysdeps/unix/sysv/linux/sigaction.c
39386         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39387         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39388         * sysdeps/unix/sysv/linux/sigpending.c
39389         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39390         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39391         * sysdeps/unix/sysv/linux/sigprocmask.c
39392         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39393         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39394         * sysdeps/unix/sysv/linux/sigsuspend.c
39395         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39396         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39397         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
39398         (__libc_missing_rt_sigs): Remove.
39399         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
39400         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
39401         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
39402         Remove conditional code.
39403         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
39404         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
39405         return 1.
39406         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
39407         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
39408         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
39409         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
39411 2012-05-14  Andreas Jaeger  <aj@suse.de>
39413         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
39414         it's not used in glibc.
39415         (__coshm1): Likewise.
39416         (__acosh1p): Likewise.
39417         (__sgn): Likewise.
39419         * manual/string.texi (Copying and Concatenation): Add missing
39420         variable in concat example.
39421         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
39423 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39425         [BZ #14103]
39426         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
39427         __builtin_clzl with __builtin_clzll.
39429 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39431         [BZ #14104]
39432         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
39433         libc_freeres_ptr.
39435 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39437         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
39438         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
39439         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
39440         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
39442 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
39444         * NEWS: Update ia64 info.
39446 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
39448         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
39449         used as bcopy.
39451 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
39453         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
39454         * sysdeps/unix/syscalls.list (dup3): Likewise.
39455         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
39456         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
39458 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
39460         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
39461         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
39463 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
39465         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
39466         thread pointer.
39467         (TLS_IE): Use mov/add instead of movq/addq to load thread
39468         pointer.
39469         (TLS_GD_PREFIX): New.
39470         (TLS_GD): Use it.
39472 2012-05-11  David S. Miller  <davem@davemloft.net>
39474         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
39475         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
39476         (_FPU_SETCW): Likewise.
39478 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
39480         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
39481         is 32-byte aligned.
39483 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
39485         [BZ #11837]
39486         * iconvdata/gb18030.c: Update tables.
39487         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
39488         characters specially.
39489         (BODY for TO_LOOP): Add encoding of missing ranges.
39491 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
39493         [BZ #13673]
39494         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
39495         * sysdeps/mach/hurd/dup3.c: Likewise.
39496         * sysdeps/mach/hurd/readlinkat.c: Likewise.
39497         * sysdeps/powerpc/memmove.c:: Likewise.
39499 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
39501         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
39502         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
39504 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
39506         * elf/elf.h (R_X86_64_RELATIVE64): New.
39507         (R_X86_64_NUM): Updated.
39508         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
39509         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
39510         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
39511         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
39512         tst-quad1pie tst-quad2pie
39513         (modules-names): Add tst-quadmod1 tst-quadmod2.
39514         ($(objpfx)tst-quad1): New dependency.
39515         ($(objpfx)tst-quad2): Likewise.
39516         ($(objpfx)tst-quad1pie): Likewise.
39517         ($(objpfx)tst-quad2pie): Likewise.
39518         * sysdeps/x86_64/tst-quad1.c: New file.
39519         * sysdeps/x86_64/tst-quad1pie.c: New file.
39520         * sysdeps/x86_64/tst-quad2.c: Likewise.
39521         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
39522         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
39523         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
39524         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
39525         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
39527 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39529         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
39530         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
39531         * streams/stropts.h (t_scalar_t): Define type.
39533         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
39534         (_PATH_PRESERVE): Set to "/var/lib".
39535         (_PATH_RWHODIR): Set to "/var/spool/rwho".
39537         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
39538         instead of int.
39540         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
39541         if __dir_mkfile succeeded.
39543         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
39544         checking for _hurd_dtablesize.  Unlock it right after having
39545         finished _hurd_dtable allocation.
39547 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39549         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
39550         * sysdeps/mach/hurd/configure: Regenerated.
39551         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
39552         special-casing to...
39553         * sysdeps/gnu/configure.in: ... this new file.
39554         * sysdeps/unix/sysv/linux/configure: Regenerated.
39555         * sysdeps/gnu/configure: New generated file.
39557         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
39558         for Linux: use nsec instead of usec, as well as:
39559         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
39560         members of type struct timespec.
39561         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
39562         New macros.
39563         (struct stat64): Likewise.
39564         (_STATBUF_ST_NSEC): New macro.
39565         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
39567         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
39568         __strtoul_internal rather than strtoul.
39570 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
39572         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
39573         and reject them.
39575 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39577         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
39578         which preserves existing values.
39579         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
39581 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
39583         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
39584         TIMEOUT values.  Return EINVAL for NFDS values either negative or
39585         greater than FD_SETSIZE.
39587 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39589         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
39590         allocated, call __vm_protect to finish enabling the existing space, and
39591         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
39592         allocate the remainder.
39594 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
39596         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
39597         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
39599 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39601         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
39602         sysdeps/mach/hurd/readlink.c.
39604         * posix/tst-sysconf.c (posix_options): Only use
39605         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
39606         _POSIX_SYNCHRONIZED_IO when they are defined
39607         * sysdeps/mach/hurd/bits/posix_opt.h:
39608         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
39609         (_XOPEN_REALTIME): Undefine macro.
39610         (_XOPEN_REALTIME_THREADS): Undefine macro.
39611         (_XOPEN_SHM): Undefine macro.
39612         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
39613         macro to -1.
39614         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
39615         macro to -1.
39616         (_POSIX_ASYNC_IO): Undefine macro.
39617         (_POSIX_PRIORITIZED_IO): Undefine macro.
39618         (_POSIX_SPIN_LOCKS): Define macro to -1.
39620         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
39621         SA_NODEFER, SA_RESETHAND.
39622         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
39623         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
39624         F_DUPFD_CLOEXEC.
39626 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39628         * elf/Makefile (pldd-modules): Define unconditionally.
39630 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39632         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
39634 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39636         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
39637         Return ENOENT when name is empty.
39638         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
39640 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39642         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
39644         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
39646 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39648         Fix mlock in all cases except non-readable pages.
39649         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
39650         instead of VM_PROT_ALL as parameter to __vm_wire function.
39652         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
39653         (__mkdir): When path is `/', just fail with EEXIST.
39654         * sysdeps/mach/hurd/mkdirat.c: Likewise.
39656 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39658         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
39659         <sys/uio.h> (for writev).
39660         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
39661         and <sys/param.h> (for MIN).
39663 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
39665         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
39666         REQUESTED_TIME.  Properly set the remaining time and return EINTR
39667         if interrupted.
39669 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39671         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
39672         Depend on against $(link-rpcuserlibs).
39674 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39676         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
39677         (__libc_stack_end): Do not use attribute_relro.
39678         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
39679         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
39680         to libthread-provided value.
39681         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
39682         attribute_relro.
39684 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39686         [BZ #3748]
39687         * bits/libc-lock.h (__libc_once_get): New macro.
39688         * sysdeps/mach/bits/libc-lock.h: Likewise.
39689         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
39690         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
39691         instead of using implementation details.
39693         * libio/fileops.c: Unconditionally include <kernel-features.h>.
39694         * libio/freopen.c: Likewise.
39695         * libio/freopen64.c: Likewise.
39696         * misc/syslog.c: Likewise.
39697         * nscd/connections.c: Likewise.
39698         * nscd/netgroupcache.c: Likewise.
39699         * sysdeps/posix/getcwd.c: Likewise.
39701 2012-05-10  Roland McGrath  <roland@hack.frob.com>
39703         * math/w_ilogbf.c: Add #include <limits.h>.
39705 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39707         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
39708         path instead of returning without unlocking.
39710         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
39711         immediate-write ioctls.
39712         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
39714 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39716         * sysdeps/mach/hurd/i386/init-first.c (init): Use
39717         __builtin_frame_address instead of making assumptions about the
39718         location of the return address relative to DATA.  Force early load of
39719         the return address.
39720         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
39721         __builtin_frame_address.
39723         dup3 for GNU Hurd.
39724         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
39725         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
39726         implement dup3 and do some further code clean-ups.
39727         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
39728         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
39730 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39732         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
39734         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
39735         HURD_CRITICAL_END around holding _hurd_dtable_lock.
39736         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
39737         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
39738         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
39739         d->port.lock.
39741         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
39742         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
39743         when handler == SIG_ERR, not when handler != SIG_ERR.
39745 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39747         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
39748         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
39749         definitions.
39751         accept4 for GNU Hurd.
39752         * include/sys/socket.h (__libc_accept4): New prototype.
39753         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
39754         to implement __libc_accept4.
39755         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
39756         __libc_accept4.
39757         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
39759         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
39760         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
39761         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
39762         signal-defines.sym.
39764 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39766         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
39768 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39770         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
39771         assertion on O_CLOEXEC flag.
39772         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
39773         * hurd/intern-fd.c: Likewise.
39774         * hurd/port2fd.c: Likewise.
39776 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39778         [BZ #3906]
39779         * bits/in.h (IPV6_PKTINFO): Define new macro.
39780         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
39782 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39784         [BZ #13954]
39785         [BZ #13955]
39786         [BZ #13956]
39787         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
39788         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39789         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
39790         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
39791         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39792         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
39793         * math/libm-test.inc (logb_test) : Additional logb tests.
39795 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
39796             Andreas Jaeger  <aj@suse.de>
39798         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
39799         * configure: Regenerated.
39800         * config.h.in (LINK_OBSOLETE_RPC): New macro.
39801         * config.make.in (link-obsolete-rpc): New substituted variable.
39802         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
39803         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
39804         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
39805         (shared-only-routines): Don't set it under [link-obsolete-rpc],
39806         so that libc.a contains the symbols.
39807         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
39808         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
39809         * sunrpc/auth_none.c: Likewise.
39810         * sunrpc/auth_unix.c: Likewise.
39811         * sunrpc/authdes_prot.c: Likewise.
39812         * sunrpc/authuxprot.c: Likewise.
39813         * sunrpc/clnt_gen.c: Likewise.
39814         * sunrpc/clnt_perr.c: Likewise.
39815         * sunrpc/clnt_raw.c: Likewise.
39816         * sunrpc/clnt_simp.c: Likewise.
39817         * sunrpc/clnt_tcp.c: Likewise.
39818         * sunrpc/clnt_udp.c: Likewise.
39819         * sunrpc/clnt_unix.c: Likewise.
39820         * sunrpc/des_crypt.c: Likewise.
39821         * sunrpc/des_soft.c: Likewise.
39822         * sunrpc/get_myaddr.c: Likewise.
39823         * sunrpc/key_call.c: Likewise.
39824         * sunrpc/key_prot.c: Likewise.
39825         * sunrpc/netname.c: Likewise.
39826         * sunrpc/pm_getmaps.c: Likewise.
39827         * sunrpc/pm_getport.c: Likewise.
39828         * sunrpc/pmap_clnt.c: Likewise.
39829         * sunrpc/pmap_prot.c: Likewise.
39830         * sunrpc/pmap_prot2.c: Likewise.
39831         * sunrpc/pmap_rmt.c: Likewise.
39832         * sunrpc/publickey.c: Likewise.
39833         * sunrpc/rpc_cmsg.c: Likewise.
39834         * sunrpc/rpc_common.c: Likewise.
39835         * sunrpc/rpc_dtable.c: Likewise.
39836         * sunrpc/rpc_prot.c: Likewise.
39837         * sunrpc/rpc_thread.c: Likewise.
39838         * sunrpc/rtime.c: Likewise.
39839         * sunrpc/svc.c: Likewise.
39840         * sunrpc/svc_auth.c: Likewise.
39841         * sunrpc/svc_raw.c: Likewise.
39842         * sunrpc/svc_run.c: Likewise.
39843         * sunrpc/svc_tcp.c: Likewise.
39844         * sunrpc/svc_udp.c: Likewise.
39845         * sunrpc/svc_unix.c: Likewise.
39846         * sunrpc/svcauth_des.c: Likewise.
39847         * sunrpc/xcrypt.c: Likewise.
39848         * sunrpc/xdr.c: Likewise.
39849         * sunrpc/xdr_array.c: Likewise.
39850         * sunrpc/xdr_float.c: Likewise.
39851         * sunrpc/xdr_intXX_t.c: Likewise.
39852         * sunrpc/xdr_mem.c: Likewise.
39853         * sunrpc/xdr_rec.c: Likewise.
39854         * sunrpc/xdr_ref.c: Likewise.
39855         * sunrpc/xdr_sizeof.c: Likewise.
39856         * sunrpc/xdr_stdio.c: Likewise.
39858 2012-05-10  Roland McGrath  <roland@hack.frob.com>
39860         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
39861         change.  Update copyright years.
39863 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
39865         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
39867 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
39868             Joseph Myers  <joseph@codesourcery.com>
39869             Paul Pluzhnikov  <ppluzhnikov@google.com>
39871         [BZ #14012]
39872         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
39873         requiring rpcgen.
39874         [cross-compiling] (extra-libs): Likewise.
39875         [cross-compiling] (extra-libs-others): Likewise.
39876         [cross-compiling] (librpcsvc-routines): Likewise.
39877         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
39878         [cross-compiling] (omit-deps): Likewise.
39879         (sunrpc-CPPFLAGS): New variable.
39880         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
39881         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
39882         (cross-rpcgen-objs): New variable.
39883         (extra-objs): Append $(cross-rpcgen-objs).
39884         ($(cross-rpcgen-objs)): New rule.
39885         ($(objpfx)cross-rpcgen): Likewise.
39886         (rpcgen-cmd): Define to use $(built-program-file).  Expand
39887         comment.
39888         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
39889         ($(objpfx)x%.stmp): Likewise.
39890         * sunrpc/proto.h [IS_IN_build] (_): Define.
39891         [IS_IN_build] (_libc_intl_domainname): Likewise.
39893 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
39895         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
39896         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
39897         and R_X86_64_TPOFF64.
39899 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
39901         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
39902         sysdeps/unix/sysv/syscalls.list.
39903         (stime): Likewise.
39904         (utime): Likewise.
39905         * sysdeps/unix/sysv/syscalls.list: Remove file.
39907 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
39909         [BZ #3440]
39910         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
39911         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
39912         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
39913         (__LC_IDENTIFICATION): Make these macros useful in #if
39914         expressions, as required by C99.
39916 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
39918         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
39919         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
39920         after this.
39922 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
39924         * stdlib/longlong.h: Updated from GCC.
39926 2012-05-09  Andreas Jaeger  <aj@suse.de>
39928         * nscd/nscd.c (run_modes): Make named enum, reorder so that
39929         default is first entry.
39930         (run_mode): Set type.
39931         (main): Remove informal message about syslog.
39932         (options): Fix typo.
39934         [BZ #14053]
39935         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
39936         to asm.
39937         (lrint): Likewise.
39938         (llrintf): Likewise.
39939         (llrint): Likewise.
39940         (rint): Likewise.
39941         (rintf): Likewise.
39942         (nearbyint): Likewise.
39943         (nearbyintf): Likewise.
39945 2012-05-09  Andreas Jaeger  <aj@suse.de>
39946             Pedro Alves  <palves@redhat.com>
39948         * nscd/nscd.c (run_mode): Use enum.
39949         (main): Cleanup coding style issue.
39951 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
39952             Andreas Jaeger  <aj@suse.de>
39954         * nscd/nscd.c (go_background): Replaced with...
39955         (run_mode): ... this.
39956         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
39957         (options): Add -F --foreground.
39958         (main): Implement it.
39959         (parse_opt): Parse it.
39961 2012-05-09  Andreas Jaeger  <aj@suse.de>
39963         [BZ #14083]
39964         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
39965         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
39966         -Wconversion warning.
39967         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
39968         Likewise.
39970 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
39972         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
39973         == 0.
39974         (LC_ALL): Use macro-int-constant.
39975         (LC_COLLATE): Likewise.
39976         (LC_CTYPE): Likewise.
39977         (LC_MESSAGES): Likewise.
39978         (LC_MONETARY): Likewise.
39979         (LC_NUMERIC): Likewise.
39980         (LC_TIME): Likewise.
39981         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
39982         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
39983         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39984         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
39985         Specify type.
39986         [C99-based standards] (float_t): Expect type.
39987         [C99-based standards] (double_t): Expect type.
39988         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
39989         type.
39990         [C99-based standards] (HUGE_VALL): Likewise.
39991         [C99-based standards] (INFINITY): Likewise.
39992         [C99-based standards] (NAN): Likewise.
39993         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
39994         [C99-based standards] (FP_NAN): Likewise.
39995         [C99-based standards] (FP_NORMAL): Likewise.
39996         [C99-based standards] (FP_SUBNORMAL): Likewise.
39997         [C99-based standards] (FP_ZERO): Likewise.
39998         [C99-based standards] (FP_FAST_FMA): Use
39999         optional-macro-int-constant.  Specify type.  Require == 1.
40000         [C99-based standards] (FP_FAST_FMAF): Likewise.
40001         [C99-based standards] (FP_FAST_FMAL): Likewise.
40002         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
40003         [C99-based standards] (FP_ILOGBNAN): Likewise.
40004         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
40005         Specify type.
40006         [C99-based standards] (MATH_ERREXCEPT): Likewise.
40007         [C99-based standards] (math_errhandling): Specify type.
40008         [ISO99 || ISO11] (signgam): Do not allow.
40009         [non-C99-based standards] (copysignf): Do not allow.
40010         [non-C99-based standards] (exp2f): Likewise.
40011         [non-C99-based standards] (log2f): Likewise.
40012         [non-C99-based standards] (modff): Allow.
40013         [non-C99-based standards] (erff): Do not allow.
40014         [non-C99-based standards] (erfcf): Likewise.
40015         [non-C99-based standards] (gammaf): Likewise.
40016         [non-C99-based standards] (hypotf): Likewise.
40017         [non-C99-based standards] (j0f): Likewise.
40018         [non-C99-based standards] (j1f): Likewise.
40019         [non-C99-based standards] (jnf): Likewise.
40020         [non-C99-based standards] (lgammaf): Likewise.
40021         [non-C99-based standards] (tgammaf): Likewise.
40022         [non-C99-based standards] (y0f): Likewise.
40023         [non-C99-based standards] (y1f): Likewise.
40024         [non-C99-based standards] (ynf): Likewise.
40025         [non-C99-based standards] (isnanf): Likewise.
40026         [non-C99-based standards] (acoshf): Likewise.
40027         [non-C99-based standards] (asinhf): Likewise.
40028         [non-C99-based standards] (atanhf): Likewise.
40029         [non-C99-based standards] (cbrtf): Likewise.
40030         [non-C99-based standards] (expm1f): Likewise.
40031         [non-C99-based standards] (ilogbf): Likewise.
40032         [non-C99-based standards] (log1pf): Likewise.
40033         [non-C99-based standards] (logbf): Likewise.
40034         [non-C99-based standards] (nextafterf): Likewise.
40035         [non-C99-based standards] (remainderf): Likewise.
40036         [non-C99-based standards] (rintf): Likewise.
40037         [non-C99-based standards] (scalbf): Likewise.
40038         [non-C99-based standards] (copysignl): Likewise.
40039         [non-C99-based standards] (exp2l): Likewise.
40040         [non-C99-based standards] (log2l): Likewise.
40041         [non-C99-based standards] (modfl): Allow.
40042         [non-C99-based standards] (erfl): Do not allow.
40043         [non-C99-based standards] (erfcl): Likewise.
40044         [non-C99-based standards] (gammal): Likewise.
40045         [non-C99-based standards] (hypotl): Likewise.
40046         [non-C99-based standards] (j0l): Likewise.
40047         [non-C99-based standards] (j1l): Likewise.
40048         [non-C99-based standards] (jnl): Likewise.
40049         [non-C99-based standards] (lgammal): Likewise.
40050         [non-C99-based standards] (tgammal): Likewise.
40051         [non-C99-based standards] (y0l): Likewise.
40052         [non-C99-based standards] (y1l): Likewise.
40053         [non-C99-based standards] (ynl): Likewise.
40054         [non-C99-based standards] (isnanl): Likewise.
40055         [non-C99-based standards] (acoshl): Likewise.
40056         [non-C99-based standards] (asinhl): Likewise.
40057         [non-C99-based standards] (atanhl): Likewise.
40058         [non-C99-based standards] (cbrtl): Likewise.
40059         [non-C99-based standards] (expm1l): Likewise.
40060         [non-C99-based standards] (ilogbl): Likewise.
40061         [non-C99-based standards] (log1pl): Likewise.
40062         [non-C99-based standards] (logbl): Likewise.
40063         [non-C99-based standards] (nextafterl): Likewise.
40064         [non-C99-based standards] (remainderl): Likewise.
40065         [non-C99-based standards] (rintl): Likewise.
40066         [non-C99-based standards] (scalbl): Likewise.
40067         [ISO || ISO99 || ISO11] (*_t): Do not allow.
40068         [non-C99-based standards] (FP_*): Do not allow.
40069         [C99-based standards] (FP_*): Change to
40070         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
40071         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40072         allow.
40073         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
40074         (SIG_ERR): Likewise.
40075         [X/Open-based standards] (SIG_HOLD): Likewise.
40076         (SIG_IGN): Likewise.
40077         (SIGABRT): Use macro-int-constant.  Specify type.  Require
40078         positive value.
40079         (SIGFPE): Likewise.
40080         (SIGILL): Likewise.
40081         (SIGINT): Likewise.
40082         (SIGSEGV): Likewise.
40083         (SIGTER): Likewise.
40084         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
40085         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
40086         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
40087         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
40088         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
40089         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
40090         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
40091         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
40092         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
40093         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
40094         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
40095         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
40096         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
40097         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
40098         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
40099         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
40100         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
40101         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
40102         [X/Open-based standards] (SIGTRAP): Likewise.
40103         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
40104         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
40105         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
40106         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
40107         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40108         allow.
40110 2012-05-08  Ian Wienand  <ianw@vmware.com>
40112         [BZ #14080]
40113         * time/tzset.c (__tzset_parse_tz): Update default rules for
40114         daylight time changes in the Energy Policy Act of 2005.
40116 2012-05-09  Andreas Jaeger  <aj@suse.de>
40118         [BZ #13983]
40119         * elf/ldconfig.c (parse_conf): Change string to make clear that
40120         ldconfig only issued a warning if ld.so.conf does not exist.
40122 2012-05-08  David S. Miller  <davem@davemloft.net>
40124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
40125         movxtod instead of popping the value on the stack.
40127         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40129 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
40131         * config.h.in: Add HAVE_ARM_PCS_VFP.
40133 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
40135         [BZ #13979]
40136         * include/features.h: Warn if user requests __FORTIFY_SOURCE
40137         checking but the checks are disabled for any reason.
40139 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
40141         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
40142         and ELF64_R_TYPE with ELFW(R_TYPE).
40144 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
40146         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
40147         (ulimit): Likewise.
40149         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
40150         (settimeofday): Likewise.
40152 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
40154         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
40155         a struct th_u2 inside the union, and move tu_block/tu_code into
40156         a new th_u3 union of tu_block/tu_code inside of that.  Move
40157         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
40158         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
40159         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
40160         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
40161         (th_stuff): Change to th_u1.tu_stuff.
40162         (th_data): Define.
40163         (th_msg): Change to th_u1.th_u2.tu_data.
40165 2012-05-07  David S. Miller  <davem@davemloft.net>
40167         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40169         [BZ #14074]
40170         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
40171         (SETUP_PIC_REG): Use it.
40172         (SETUP_PIC_REG_LEAF): Use it.
40174 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
40176         [BZ #13885]
40177         [BZ #13923]
40178         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40179         USE_AS_EXPM1L.
40180         (EXPL_FINITE): Likewise.
40181         (FLDLOG): Likewise.
40182         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
40183         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
40184         e_expl.S.
40185         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40186         USE_AS_EXPM1L.
40187         (EXPL_FINITE): Likewise.
40188         (FLDLOG): Likewise.
40189         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
40190         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
40191         e_expl.S.
40192         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
40193         test of -max_value argument for long double.
40194         * sysdeps/i386/fpu/libm-test-ulps: Update.
40195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40197 2012-05-06  David S. Miller  <davem@davemloft.net>
40199         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
40200         quad soft-float symbols whose references which are compiler
40201         generated.
40202         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40204 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
40206         [BZ #13884]
40207         [BZ #13914]
40208         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40209         USE_AS_EXP10L.
40210         (EXPL_FINITE): Likewise.
40211         (FLDLOG): Likewise.
40212         (c0): Likewise.
40213         (c1): Likewise.
40214         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
40215         Adjust comments for base varying.
40216         (__expl_finite): Change alias to EXPL_FINITE.
40217         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
40218         e_expl.S.
40219         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
40220         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
40221         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
40222         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
40223         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40224         USE_AS_EXP10L.
40225         (EXPL_FINITE): Likewise.
40226         (FLDLOG): Likewise.
40227         (c0): Likewise.
40228         (c1): Likewise.
40229         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
40230         Adjust comments for base varying.
40231         (__expl_finite): Change alias to EXPL_FINITE.
40232         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
40233         tests for bugs.
40234         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40236         [BZ #14064]
40237         * math/libm-test.inc (check_float_internal): Correct ulp
40238         calculation for subnormal expected results.
40240 2012-05-06  Andreas Jaeger  <aj@suse.de>
40242         * Makeconfig (+math-flags): New, set to -frounding-math.
40243         (+cflags): Add +math-flags so that all of glibc gets compiled with
40244         it.
40246         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
40248 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
40250         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
40251         Disable one test.
40253         [BZ #13787]
40254         [BZ #13922]
40255         [BZ #14036]
40256         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
40257         (__ieee754_expl): Allow for and saturate large arguments.
40258         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
40259         (u_threshold): Likewise.
40260         (__exp): Call __ieee754_exp before checking for overflow and
40261         underflow.
40262         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
40263         (u_threshold): Likewise.
40264         (__expf): Call __ieee754_expf before checking for overflow and
40265         underflow.
40266         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
40267         (u_threshold): Likewise.
40268         (__expl): Call __ieee754_expl before checking for overflow and
40269         underflow.
40270         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
40271         (__ieee754_expl): Allow for and saturate large arguments.
40272         * math/libm-test.inc (exp_test): Add another test.  Do not allow
40273         missing overflow exception on overflow.
40274         (expm1_test): Do not allow missing overflow exception on overflow.
40276         * sysdeps/i386/fpu/e_expl.c: Move to ...
40277         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
40278         rather than using inline asm.
40279         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
40280         * sysdeps/x86_64/fpu/e_expl.S: Copy from
40281         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
40283         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
40284         (nice): Likewise.
40285         (poll): Likewise.
40286         (signal): Likewise.
40287         (time): Likewise.
40288         (times): Likewise.
40290 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
40292         * sysdeps/unix/syscalls.list (adjtime): Add entry from
40293         sysdeps/unix/common/syscalls.list.
40294         (fchmod): Likewise.
40295         (fchown): Likewise.
40296         (ftruncate): Likewise.
40297         (getrusage): Likewise.
40298         (gettimeofday): Likewise.
40299         (setpgid): Likewise.
40300         (setregid): Likewise.
40301         (setreuid): Likewise.
40302         (sigaction): Likewise.
40303         (truncate): Likewise.
40304         (vhangup): Likewise.
40305         * sysdeps/unix/common/syscalls.list: Remove file.
40306         * sysdeps/unix/bsd/Implies: Don't include unix/common.
40307         * sysdeps/unix/sysv/linux/Implies: Likewise.
40309 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
40311         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
40312         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
40313         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
40314         Moved to ...
40315         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
40316         Here.
40317         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
40318         to ...
40319         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
40320         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
40321         to ...
40322         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
40323         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
40324         to ...
40325         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
40326         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
40327         to ...
40328         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
40329         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
40330         to ...
40331         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
40332         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
40333         to ...
40334         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
40335         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
40336         to ...
40337         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
40338         Here.
40339         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
40340         to ...
40341         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
40342         Here.
40343         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
40344         to ...
40345         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
40346         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
40347         Moved to ...
40348         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
40349         Here.
40350         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
40351         to ...
40352         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
40354 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
40356         * sysdeps/unix/common/bits/dirent.h: Remove file.
40357         * sysdeps/unix/common/bits/fcntl.h: Likewise.
40359         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
40360         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
40361         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
40362         * sysdeps/unix/bsd/isatty.c: Likewise.
40363         * sysdeps/unix/bsd/tcdrain.c: Likewise.
40364         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
40365         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
40367 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40369         [BZ #13563]
40370         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
40371         long double comparison inaccuracies.
40372         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
40373         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40375 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
40377         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
40378         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
40380 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
40382         [BZ #14049]
40383         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
40384         nonzero digits before rounding a hex value.
40385         * stdlib/tst-strtod.c (tests): Add another test.
40387 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40389         * sysdeps/s390/fpu/libm-test-ulps: Update.
40391 2012-05-03  Andreas Jaeger  <aj@suse.de>
40393         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
40394         does not get optimized out.
40395         (malloc_opt_barrier): New.
40397 2012-05-03  Andreas Jaeger  <aj@suse.de>
40398             Roland McGrath  <roland@hack.frob.com>
40400         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
40401         intermediate file deletion.
40402         (generated): Add .symlist files.
40404 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
40406         [BZ #13775]
40407         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
40408         Redirect under this condition.
40409         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
40410         [__USE_GNU] (__dprintf_chk): Not under this condition.
40411         [__USE_GNU] (__vdprintf_chk): Likewise.
40412         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
40413         under this condition.
40414         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
40415         [__USE_XOPEN2K8] (dprintf): Define under this condition.
40416         [__USE_XOPEN2K8] (vdprintf): Likewise.
40417         [__USE_GNU] (__dprintf_chk): Not under this condition.
40418         [__USE_GNU] (__vdprintf_chk): Likewise.
40419         [__USE_GNU] (dprintf): Likewise.
40420         [__USE_GNU] (vdprintf): Likewise.
40422 2012-05-03  Roland McGrath  <roland@hack.frob.com>
40424         * elf/Makefile (common-generated): Set this instead of generated for
40425         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
40426         $(all-built-dso)-derived lists.
40428 2012-05-03  Andreas Jaeger  <aj@suse.de>
40430         * sysdeps/i386/fpu/libm-test-ulps: Update.
40432         * FAQ: Removed.
40433         * FAQ.in: Likewise.
40434         * scripts/gen-FAQ.pl: Likewise.
40435         * manual/install.texi (Installation): Point to online location of
40436         FAQ.
40437         * Makefile (files-for-dist): Remove FAQ.
40438         (FAQ): Remove.
40440 2012-05-02  Allan McRae  <allan@archlinux.org>
40442         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
40443         (LDFLAGS-reldepmod5.so): Likewise.
40444         (LDFLAGS-reldep6mod1.so): Likewise.
40445         (LDFLAGS-reldep6mod4.so): Likewise.
40446         (LDFLAGS-reldep8mod3.so): Likewise.
40447         (LDFLAGS-unload4mod1.so): Likewise.
40448         (LDFLAGS-unload4mod2.so): Likewise.
40449         (LDFLAGS-tst-initorder): Likewise.
40450         (LDFLAGS-tst-initordera2.so): Likewise.
40451         (LDFLAGS-tst-initordera3.so): Likewise.
40452         (LDFLAGS-tst-initordera4.so): Likewise.
40453         (LDFLAGS-tst-initorderb2.so): Likewise.
40454         (LDFLAGS-noload): Likewise.
40455         (LDFLAGS-next): Likewise.
40456         (LDFLAGS-order2mod1.so): Likewise.
40457         (LDFLAGS-order2mod2.so): Likewise.
40458         (LDFLAGS-tst-initorder2): Likewise.
40459         (LDFLAGS-tst-initorder2a.so): Likewise.
40460         (LDFLAGS-tst-initorder2b.so): Likewise.
40461         (LDFLAGS-tst-initorder2c.so): Likewise.
40462         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
40464 2012-05-02  David S. Miller  <davem@davemloft.net>
40466         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40468 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
40470         [BZ #14055]
40471         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
40473 2012-05-02  Andreas Jaeger  <aj@suse.de>
40475         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
40476         since we manipulate rounding mode.
40477         (CPPFLAGS-test-idouble.c): Likewise.
40478         (CPPFLAGS-test-ifloat.c): Likewise.
40479         (CFLAGS-test-ldouble.c): Likewise.
40480         (CFLAGS-test-double.c): Likewise.
40481         (CFLAGS-test-float.c): Likewise.
40482         (CFLAGS-test-misc.c): Likewise.
40483         (CFLAGS-test-test-fenv.c): Likewise.
40485 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40487         [BZ #2550]
40488         [BZ #2570]
40489         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
40490         comparisons to determine direction to adjust input.
40492 2012-05-01  Roland McGrath  <roland@hack.frob.com>
40494         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
40495         output to the target.
40497         * scripts/localplt.awk: New file.
40498         * elf/Makefile ($(objpfx)check-localplt): Target removed.
40499         (check-localplt-CFLAGS): Variable removed.
40500         ($(all-built-dso:=.jmprel)): New static pattern rule.
40501         (generated): Add those targets.
40502         (localplt-built-dso): New variable.
40503         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
40505         * elf/check-localplt.c: File removed.
40507         * scripts/check-execstack.awk: New file.
40508         * elf/Makefile ($(objpfx)check-execstack): Target removed.
40509         (check-execstack-CFLAGS): Variable removed.
40510         ($(objpfx)check-execstack.h): Target removed.
40511         ($(objpfx)execstack-default): New target.
40512         (generated): Add that instead of check-execstack.h.
40513         ($(all-built-dso:=.phdr)): New static pattern rule.
40514         (generated): Add those targets.
40515         * elf/check-execstack.c: File removed.
40517         * scripts/check-textrel.awk: New file.
40518         * elf/Makefile ($(objpfx)check-textrel): Target removed.
40519         (check-textrel-CFLAGS): Variable removed.
40520         (all-built-dso): Use := to define.o
40521         ($(all-built-dso:=.dyn)): New static pattern rule.
40522         (generated): Add those targets.
40523         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
40524         * config.make.in (READELF): New substituted variable.
40525         * elf/check-textrel.c: File removed.
40527 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
40529         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40530         allow.
40531         * conform/data/ctype.h-data [C99-based standards] (isblank):
40532         Expect function.
40533         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
40534         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
40535         [ISO || ISO99 || ISO11] (*_t): Do not allow.
40536         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
40537         Specify type.  Require positive value.
40538         (EILSEQ): Likewise.
40539         (ERANGE): Likewise.
40540         [ISO || POSIX] (EILSEQ): Do not expect.
40541         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
40542         Specify type.  Require positive value.
40543         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
40544         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
40545         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
40546         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
40547         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
40548         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
40549         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
40550         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
40551         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
40552         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
40553         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
40554         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
40555         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
40556         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
40557         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
40558         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
40559         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
40560         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
40561         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
40562         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
40563         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
40564         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
40565         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
40566         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
40567         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
40568         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
40569         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
40570         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
40571         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
40572         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
40573         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
40574         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
40575         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
40576         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
40577         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
40578         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
40579         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
40580         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
40581         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
40582         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
40583         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
40584         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
40585         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
40586         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
40587         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
40588         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
40589         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
40590         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
40591         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
40592         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
40593         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
40594         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
40595         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
40596         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
40597         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
40598         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
40599         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
40600         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
40601         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
40602         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
40603         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
40604         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
40605         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
40606         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
40607         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
40608         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
40609         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
40610         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
40611         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
40612         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
40613         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
40614         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
40615         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
40616         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
40617         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
40618         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
40619         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
40620         Require >= 2.
40621         (FLT_ROUNDS): Expect as macro, not constant.
40622         (FLT_MANT_DIG): Use macro-int-constant.
40623         (DBL_MANT_DIG): Likewise.
40624         (LDBL_MANT_DIG): Likewise.
40625         (FLT_DIG): Likewise.
40626         (DBL_DIG): Likewise.
40627         (LDBL_DIG): Likewise.
40628         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
40629         (DBL_MIN_EXP): Likewise.
40630         (LDBL_MIN_EXP): Likewise.
40631         (FLT_MAX_EXP): Use macro-int-constant.
40632         (DBL_MAX_EXP): Likewise.
40633         (LDBL_MAX_EXP): Likewise.
40634         (FLT_MAX_10_EXP): Likewise.
40635         (DBL_MAX_10_EXP): Likewise.
40636         (LDBL_MAX_10_EXP): Likewise.
40637         (FLT_MAX): Use macro-constant.
40638         (DBL_MAX): Likewise.
40639         (LDBL_MAX): Likewise.
40640         (FLT_EPSILON): Use macro-constant.  Give upper bound.
40641         (DBL_EPSILON): Likewise.
40642         (LDBL_EPSILON): Likewise.
40643         (FLT_MIN): Likewise.
40644         (DBL_MIN): Likewise.
40645         (LDBL_MIN): Likewise.
40646         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
40647         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
40648         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
40649         [ISO11] (FLT_HAS_SUBNORM): Likewise.
40650         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
40651         [ISO11] (DBL_DECIMAL_DIG): Likewise.
40652         [ISO11] (FLT_DECIMAL_DIG): Likewise.
40653         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
40654         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
40655         [ISO11] (FLT_TRUE_MIN): Likewise.
40656         [ISO11] (LDBL_TRUE_MIN): Likewise.
40657         [ISO || ISO99 || ISO11] (*_t): Do not allow.
40658         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
40659         (SCHAR_MIN): Use macro-int-constant.  Specify type.
40660         (SCHAR_MAX): Likewise.
40661         (UCHAR_MAX): Likewise.
40662         (CHAR_MIN): Likewise.
40663         (CHAR_MAX): Likewise.
40664         (MB_LEN_MAX): Use macro-int-constant.
40665         (SHRT_MIN): Use macro-int-constant.  Specify type.
40666         (SHRT_MAX): Likewise.
40667         (USHRT_MAX): Likewise.
40668         (INT_MAX): Likewise.
40669         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
40670         bound negative.
40671         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
40672         bound with "U".
40673         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
40674         bound with "L".
40675         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
40676         bound negative.  Suffix upper bound with "L".
40677         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
40678         bound with "UL".
40679         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
40680         Specify type.
40681         [C99-based standards] (LLONG_MAX): Likewise.
40682         [C99-based standards] (ULLONG_MAX): Likewise.
40683         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
40684         == 0.
40685         [ISO11] (max_align_t): Require type.
40686         [ISO || ISO99 || ISO11] (*_t): Do not allow.
40688         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
40689         from $CFLAGS, without defining away __attribute__ calls.
40690         (checknamespace): Use $CFLAGS_namespace.
40692         * conform/conformtest.pl (@keywords): Only include C99 keywords
40693         for standards based on C99 or C11.
40695         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
40696         Disable tests.
40697         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
40698         UNIX98]: Likewise.
40700         * conform/conformtest.pl: Handle "macro-int-constant" and test for
40701         usability of symbols in #if.
40703         * conform/conformtest.pl: If macro or constant types start
40704         "promoted:", expect the symbol to be of the following type
40705         promoted by the integer promotions.
40707         * conform/conformtest.pl: Parse all "constant" and "macro" lines
40708         in one place.  Also handle "macro-constant".
40710         * conform/conformtest.pl: Only accept expected macro values with
40711         "==".  Parse all "macro" lines in one place.
40712         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
40714         * conform/conformtest.pl: Handle braced types on "constant" lines
40715         instead of handling "typed-constant".
40716         * conform/data/signal.h-data: Use "constant" instead of
40717         "typed-constant".
40719         * conform/conformtest.pl: Handle "optional-" at start of lines in
40720         one place rather than duplicating several cases.  Handle each
40721         format of "macro" line with initial "optional-".
40723         * conform/conformtest.pl: Only accept expected constant or
40724         optional-constant values with "==".  Parse all "constant" lines in
40725         one place.  Parse all "optional-constant" lines in one place.
40726         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
40727         * conform/data/fmtmsg.h-data: Likewise.
40728         * conform/data/netinet/in.h-data: Likewise.
40729         * conform/data/tar.h-data: Likewise.
40730         * conform/data/limits.h-data: Use "==" form on "constant" and
40731         "optional-constant" lines.
40733         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
40734         Use -std=c99 for XOPEN2K.
40735         (@knownproblems): Remove.
40736         (newtoken): Don't check %isknown.
40738         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
40739         Do not expect macro.
40740         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
40741         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
40742         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
40743         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
40744         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
40745         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
40746         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
40747         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
40748         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
40749         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
40750         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
40751         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
40752         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
40753         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
40754         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
40755         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
40756         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
40757         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
40758         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
40759         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
40760         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
40761         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
40762         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
40763         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
40764         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
40765         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
40766         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
40767         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
40768         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
40769         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
40770         [XPG3] (acosh): Likewise.
40771         [XPG3] (asinh): Likewise.
40772         [XPG3] (atanh): Likewise.
40773         [XPG3] (cbrt): Likewise.
40774         [XPG3] (expm1): Likewise.
40775         [XPG3] (ilogb): Likewise.
40776         [XPG3] (log1p): Likewise.
40777         [XPG3] (logb): Likewise.
40778         [XPG3] (nextafter): Likewise.
40779         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
40780         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
40781         [XPG3] (remainder): Likewise.
40782         [XPG3] (rint): Likewise.
40783         [XPG3 || XPG4 || UNIX98] (round): Likewise.
40784         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
40785         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
40786         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
40787         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
40788         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
40789         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
40790         [UNIX98 || XOPEN2K] (scalb): Expect.
40791         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
40792         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
40793         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
40794         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
40795         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
40796         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
40797         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
40798         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
40799         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
40800         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
40801         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
40802         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
40803         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
40804         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
40805         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
40806         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
40807         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
40808         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
40809         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
40810         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
40811         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
40812         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
40813         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
40814         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
40815         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
40816         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
40817         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
40818         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
40819         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
40820         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
40821         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
40822         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
40823         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
40824         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
40825         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
40826         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
40827         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
40828         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
40829         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
40830         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
40831         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
40832         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
40833         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
40834         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
40835         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
40836         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
40837         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
40838         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
40839         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
40840         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
40841         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
40842         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
40843         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
40844         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
40845         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
40846         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
40847         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
40848         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
40849         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
40850         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
40851         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
40852         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
40853         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
40854         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
40855         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
40856         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
40857         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
40858         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
40859         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
40860         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
40861         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
40862         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
40863         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
40864         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
40865         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
40866         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
40867         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
40868         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
40869         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
40870         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
40871         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
40872         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
40873         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
40874         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
40875         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
40876         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
40877         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
40878         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
40879         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
40880         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
40881         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
40882         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
40883         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
40884         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
40885         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
40886         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
40887         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
40888         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
40889         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
40890         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
40891         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
40892         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
40893         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
40894         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
40895         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
40896         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
40897         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
40898         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
40899         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
40900         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
40901         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
40902         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
40903         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
40904         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
40905         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
40906         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
40907         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
40908         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
40909         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
40910         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
40911         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
40912         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
40913         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
40914         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
40915         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
40916         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
40917         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
40918         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
40919         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
40920         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
40921         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
40922         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
40923         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
40924         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
40925         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
40926         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
40927         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
40929         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
40930         _XOPEN_SOURCE_EXTENDED for XPG4.
40932         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
40934         * Makeconfig (localtime): Remove variable.
40935         (inst_localtime-file): Likewise.
40937 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
40939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
40940         Update.
40941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40942         Update.
40943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
40944         Update.
40945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
40946         Update.
40947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
40948         Update.
40949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
40950         Update.
40951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40952         Update.
40953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
40954         Update.
40955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40956         Update.
40958 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
40960         [BZ #2550]
40961         [BZ #2570]
40962         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
40963         comparisons to determine direction to adjust input.
40964         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
40965         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
40966         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
40967         Likewise.
40968         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
40969         Likewise.
40970         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
40971         Likewise.
40972         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
40973         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
40974         Likewise.
40975         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
40976         Likewise.
40977         * math/libm-test.inc (nexttoward_test): Add more tests.
40979 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
40981         [BZ #14040]
40982         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
40983         in version GLIBC_2.1, not GLIBC_2.0.
40984         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
40985         Likewise.
40987 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
40989         [BZ #13942]
40990         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
40991         (1 - x) * (1 + x).
40992         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
40993         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
40994         * math/libm-test.inc (acos_test): Add more tests.
40995         (asin_test): Likewise.
40996         * sysdeps/i386/fpu/libm-test-ulps: Update.
40997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40999         [BZ #14034]
41000         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
41001         of square root.
41002         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
41003         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
41004         * math/libm-test.inc (acos_test_tonearest): New function.
41005         (acos_test_towardzero): Likewise.
41006         (acos_test_downward): Likewise.
41007         (acos_test_upward): Likewise.
41008         (asin_test_tonearest): Likewise.
41009         (asin_test_towardzero): Likewise.
41010         (asin_test_downward): Likewise.
41011         (asin_test_upward): Likewise.
41012         (main): Call the new functions.
41013         * sysdeps/i386/fpu/libm-test-ulps: Update.
41014         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41016         [BZ #13884]
41017         [BZ #13924]
41018         * math/e_exp10.c: Include <float.h>.
41019         (__ieee754_exp10): Handle underflow here rather than multiplying
41020         large negative argument by M_LN10.
41021         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
41022         of __ieee754_expf.
41023         * math/e_exp10l.c: Include <float.h>.
41024         (__ieee754_exp10l): Handle underflow here rather than multiplying
41025         large negative argument by M_LN10l.
41026         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
41027         spurious overflow exception on underflow.
41029 2012-04-29  Marek Polacek  <polacek@redhat.com>
41031         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
41032         (__fortify_function): New macro.
41033         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
41034         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
41035         __extern_always_inline.
41036         * libio/bits/stdio2.h: Likewise.
41037         * libio/bits/stdio.h: Likewise.
41038         * string/string.h: Likewise.
41039         * string/bits/string3.h: Likewise.
41040         * include/stdio.h: Likewise.
41041         * stdlib/bits/stdlib.h: Likewise.
41042         * stdlib/stdlib.h: Likewise.
41043         * rt/bits/mqueue2.h: Likewise.
41044         * rt/mqueue.h: Likewise.
41045         * posix/bits/unistd.h: Likewise.
41046         * posix/unistd.h: Likewise.
41047         * io/bits/poll2.h: Likewise.
41048         * io/bits/fcntl2.h: Likewise.
41049         * io/fcntl.h: Likewise.
41050         * io/sys/poll.h: Likewise.
41051         * misc/bits/syslog.h: Likewise.
41052         * misc/bits/syslog-ldbl.h: Likewise.
41053         * misc/sys/syslog.h: Likewise.
41054         * socket/bits/socket2.h: Likewise.
41055         * socket/sys/socket.h: Likewise.
41056         * debug/tst-chk1.c: Likewise.
41057         * wcsmbs/bits/wchar2.h: Likewise.
41058         * wcsmbs/bits/wchar-ldbl.h: Likewise.
41059         * wcsmbs/wchar.h: Likewise.
41061 2012-04-29  Andreas Jaeger  <aj@suse.de>
41063         * Makerules (tests): Remove enable-check-abi protection.
41064         (check-abi-warn): Remove.
41065         (check-abi-%): Remove check-abi-warn usage.
41067         * configure.in: Remove check-abi configure option.
41068         * configure: Regenerated.
41069         * config.make.in (enable-check-abi): Remove.
41071 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
41073         [BZ #14033]
41074         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
41075         double functions to double *_finite functions.
41077         [BZ #13941]
41078         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
41079         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
41080         LDBL_MIN_EXP.
41081         * stdio-common/Makefile (tests): Add tst-sprintf3.
41082         * stdio-common/tst-sprintf3.c: New file.
41084         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
41085         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
41087 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
41089         * conform/conformtest.pl: Remove duplicate typed-constant
41090         handling.
41092 2012-04-28  David S. Miller  <davem@davemloft.net>
41094         * Makerules (%.abilist): Add vpath on sysdep_dirs.
41095         (check-abi-%): Remove AWK script prerequisite and explicit
41096         abilist directory.
41097         (check-abi): Rewrite to just diff the symlist with the abilist.
41098         (config-tls, config-abi-config): Delete, no longer used.
41099         (update-abi-%): Remove AWK script and explicit abilist directory.
41100         (update-abi): Rewrite to simply compare and conditionally copy the
41101         symlist and the sysdep abilist file.  Remove update-abi-config
41102         checks.
41103         * abilist/ld.abilist: Remove.
41104         * abilist/libBrokenLocale.abilist: Remove.
41105         * abilist/libanl.abilist: Remove.
41106         * abilist/libcrypt.abilist: Remove.
41107         * abilist/libdl.abilist: Remove.
41108         * abilist/librt.abilist: Remove.
41109         * abilist/libthread_db.abilist: Remove.
41110         * abilist/libutil.abilist: Remove.
41111         * scripts/extract-abilist.awk: Remove.
41112         * scripts/merge-abilist.awk: Remove.
41113         * sysdeps/generic/libcidn.abilist: New file.
41114         * sysdeps/generic/libnss_compat.abilist: New file.
41115         * sysdeps/generic/libnss_db.abilist: New file.
41116         * sysdeps/generic/libnss_dns.abilist: New file.
41117         * sysdeps/generic/libnss_files.abilist: New file.
41118         * sysdeps/generic/libnss_hesiod.abilist: New file.
41119         * sysdeps/generic/libnss_nis.abilist: New file.
41120         * sysdeps/generic/libnss_nisplus.abilist: New file.
41121         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
41122         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
41123         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
41124         file.
41125         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
41126         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
41127         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
41128         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
41129         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
41130         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
41131         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
41132         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
41133         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
41134         file.
41135         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
41136         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
41137         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
41138         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
41139         file.
41140         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
41141         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
41142         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
41143         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
41144         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
41145         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
41146         file.
41147         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
41148         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
41149         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
41150         file.
41151         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
41152         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
41153         New file.
41154         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
41155         New file.
41156         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
41157         New file.
41158         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
41159         New file.
41160         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
41161         New file.
41162         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
41163         New file.
41164         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
41165         New file.
41166         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
41167         New file.
41168         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
41169         New file.
41170         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
41171         New file.
41172         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
41173         New file.
41174         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
41175         New file.
41176         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
41177         New file.
41178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
41179         file.
41180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
41181         New file.
41182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
41183         New file.
41184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
41185         file.
41186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
41187         New file.
41188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
41189         New file.
41190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
41191         file.
41192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
41193         New file.
41194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41195         New file.
41196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
41197         New file.
41198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
41199         New file.
41200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
41201         New file.
41202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
41203         New file.
41204         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
41205         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
41206         file.
41207         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
41208         New file.
41209         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
41210         file.
41211         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
41212         file.
41213         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
41214         file.
41215         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
41216         file.
41217         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
41218         file.
41219         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41220         New file.
41221         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
41222         file.
41223         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
41224         file.
41225         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
41226         New file.
41227         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
41228         file.
41229         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
41230         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
41231         file.
41232         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
41233         New file.
41234         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
41235         file.
41236         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
41237         file.
41238         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
41239         file.
41240         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
41241         file.
41242         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
41243         file.
41244         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41245         New file.
41246         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
41247         file.
41248         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
41249         file.
41250         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
41251         New file.
41252         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
41253         file.
41254         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41255         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
41256         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
41257         file.
41258         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
41259         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
41260         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
41261         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
41262         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
41263         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
41264         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
41265         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
41266         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
41267         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
41268         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
41269         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
41270         file.
41271         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
41272         New file.
41273         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
41274         file.
41275         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
41276         file.
41277         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
41278         file.
41279         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
41280         file.
41281         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
41282         file.
41283         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
41284         New file.
41285         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
41286         New file.
41287         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
41288         file.
41289         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
41290         New file.
41291         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
41292         file.
41293         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
41294         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
41295         file.
41296         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
41297         New file.
41298         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
41299         file.
41300         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
41301         file.
41302         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
41303         file.
41304         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
41305         file.
41306         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
41307         file.
41308         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
41309         New file.
41310         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
41311         New file.
41312         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
41313         file.
41314         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
41315         New file.
41316         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
41317         file.
41319 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
41321         * conform/conformtest.pl: Fix typo in handling typed-constant from
41322         allow-header.
41324 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
41326         * README: Cut down references to pre-2.6 Linux kernels and
41327         Linuxthreads.  Update lists of configurations in libc and ports
41328         and sort alphabetically.  Say "or newer" with Linux kernel version
41329         requirements.
41331         * config.h.in [IS_IN_build]: Allow compiling without optimization.
41333 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41335         [BZ #887]
41336         * math/libm-test.inc (logb_test_downward): New test to expose
41337         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
41338         rounding mode.
41340 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
41342         [BZ #14027]
41343         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
41344         to be done.
41345         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
41346         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
41348 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
41350         * sysdeps/unix/i386/brk.S: Remove file.
41351         * sysdeps/unix/i386/dl-brk.S: Likewise.
41352         * sysdeps/unix/i386/pipe.S: Likewise.
41353         * sysdeps/unix/i386/sigreturn.S: Likewise.
41354         * sysdeps/unix/i386/syscall.S: Likewise.
41355         * sysdeps/unix/i386/vfork.S: Likewise.
41356         * sysdeps/unix/i386/wait.S: Likewise.
41358         * sysdeps/unix/common/tcsendbrk.c: Move to ...
41359         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
41361         * configure.in (arm*-none*): Do not allow without
41362         --enable-hacker-mode.
41363         (netbsd*): Remove case setting base_os.
41364         (386bsd*): Likewise.
41365         (freebsd*): Likewise.
41366         (bsdi*): Likewise.
41367         (osf*): Likewise.
41368         (sunos*): Likewise.
41369         (ultrix*): Likewise.
41370         (newsos*): Likewise.
41371         (dynix*): Likewise.
41372         (*bsd*): Likewise.
41373         (sysv*): Likewise.
41374         (isc*): Likewise.
41375         (esix*): Likewise.
41376         (sco*): Likewise.
41377         (minix*): Likewise.
41378         (irix4*): Likewise.
41379         (irix6*): Likewise.
41380         (solaris[2-9]*): Likewise.
41381         (none): Likewise.
41382         * configure: Regenerated.
41384 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41386         [BZ #11521]
41387         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
41388         overflow or cancellation in calculating denominator.
41389         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
41390         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
41391         down expression to avoid unexpected rounding in newer GCCs.
41392         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
41394 2012-04-26  David S. Miller  <davem@davemloft.net>
41396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
41397         long-double compat symbols.
41398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
41399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
41400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
41401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
41402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
41403         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
41404         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
41405         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
41406         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
41407         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
41408         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
41409         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
41410         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41412 2012-04-25  David S. Miller  <davem@davemloft.net>
41414         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
41415         HWCAP_* values only after the memory barriers have been defined.
41416         (atomic_full_barrier): Define.
41417         (atomic_read_barrier): Define.
41418         (atomic_write_barrier): Define.
41420 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41422         * shlib-versions: Add libgcc_s version information.
41423         * sysdeps/generic/libgcc_s.h: Remove.
41424         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
41425         libgcc_s.h.
41426         * sysdeps/gnu/unwind-resume.c: Likewise.
41427         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
41429 2012-04-25  David S. Miller  <davem@davemloft.net>
41431         * sysdeps/unix/sparc/brk.S: Delete.
41432         * sysdeps/unix/sparc/dl-brk.S: Delete.
41433         * sysdeps/unix/sparc/pipe.S: Delete.
41434         * sysdeps/unix/sparc/sysdep.S: Delete.
41435         * sysdeps/unix/sparc/sysdep.h: Delete.
41436         * sysdeps/unix/sparc/vfork.S: Delete.
41437         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
41438         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
41439         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
41440         (ret_ERRVAL, r0, r1, MOVE): Define.
41441         (JUMPTARGET): Remove.
41442         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
41443         sysdeps/unix/sparc/sysdep.h
41444         (ENTRY, END): Remove.
41445         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41447 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
41449         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
41450         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
41451         -DIS_IN_build.
41453         * timezone/README: Update upstream location and email address for
41454         tzcode and tzdata.
41455         * timezone/zdump.c: Update from tzcode 2012b.
41456         * timezone/zic.c: Likewise.
41458         * configure.in (libc_cv_as_needed): Remove test.
41459         * configure: Regenerated.
41460         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
41461         conditional definition.
41462         [$(have-as-needed) != yes] (no-as-needed): Likewise.
41463         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
41464         * config.make.in (have-as-needed): Remove variable.
41466 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
41467             Paul Pluzhnikov  <ppluzhnikov@google.com>
41469         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
41470         strings correctly.
41472 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
41474         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
41475         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
41476         * sysdeps/sh/strlen.S: Likewise.
41478 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
41480         * sysdeps/unix/fork.S: Remove file.
41481         * sysdeps/unix/i386/fork.S: Likewise.
41482         * sysdeps/unix/sparc/fork.S: Likewise.
41484         * sysdeps/unix/system.c: Remove file.
41485         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
41487         * sysdeps/unix/getegid.S: Remove file.
41488         * sysdeps/unix/geteuid.S: Likewise.
41490 2012-04-24  Roland McGrath  <roland@hack.frob.com>
41492         * scripts/check-localplt.awk: New file.
41493         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
41494         of diff.
41495         * scripts/data/localplt-generic.data: Add a comment.
41497         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
41498         NODE when __dir_mkfile failed.
41499         * sysdeps/mach/hurd/symlinkat.c: Likewise.
41500         Reported by Ludovic Courtès <ludo@gnu.org>.
41502 2012-04-24  Andreas Jaeger  <aj@suse.de>
41504         * Makerules (common-clean): Also remove gen-as-const-headers
41505         files.
41507 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
41509         * Makerules (native-compile): Do not change working directory for
41510         build.  Use $(OUTPUT_OPTION) in command.
41511         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
41513 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41515         [BZ #13886]
41516         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
41517         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
41518         * math/libm-test.inc (floor_test): Add more tests.
41519         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
41521 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
41523         * sysdeps/unix/getdents.c: Remove file.
41524         * sysdeps/unix/sysv/getdents.c: Likewise.
41525         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
41527         * sysdeps/unix/syscalls.list (madvise): Add syscall from
41528         sysdeps/unix/mman/syscalls.list.
41529         (mmap): Likewise.
41530         (mprotect): Likewise.
41531         (msync): Likewise.
41532         (munmap): Likewise.
41533         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
41534         * sysdeps/unix/mman/syscalls.list: Remove.
41535         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
41537         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
41538         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
41539         * configure: Regenerated.
41540         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
41541         $(libgcc_s_suffix).
41542         * config.make.in (libgcc_s_suffix): Remove variable.
41544 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
41546         * sysdeps/unix/sysv/gethostname.c: Move to ...
41547         * sysdeps/posix/gethostname.c: ... here.
41549         * sysdeps/unix/execve.S: Remove file.
41551         * sysdeps/unix/_exit.S: Remove file.
41553 2012-04-23  Andreas Jaeger  <aj@suse.de>
41555         [BZ #13739]
41556         * manual/Makefile: Remove make dist support, there's no
41557         need for a stand-alone documentation tar ball.
41558         (TEXI2DVI): Define always, it's not in Makeconfig.
41559         (dist): Removed.
41560         (tar-it): Removed.
41561         (edition): Removed.
41562         (glibc-doc-$(edition).tar): Removed
41563         (%.Z): Removed.
41564         (%.gz): Removed.
41565         (%.uu): Removed.
41566         (ETAGS): Remove, it's in Makeconfig.
41567         (move-if-change): Remove, it's in Makeconfig.
41569 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
41571         [BZ #13970]
41572         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
41573         (strtod, strtof, strtold, strtol, strtoul, strtoq)
41574         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
41575         (strtod_l, strtof_l, strtold_l): Remove __wur.
41576         It is not necessarily an error to ignore strtol's return value.
41577         One can reliably look at the stored endptr to decide whether
41578         the number had valid syntax.
41580 2012-04-21  Andreas Jaeger  <aj@suse.de>
41582         [BZ #13739]
41583         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
41585 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
41587         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
41588         * sysdeps/unix/sysv/Versions: Remove file.
41590 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
41592         [BZ #13927]
41593         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41595 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
41597         [BZ #7064]
41598         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
41599         version from __vm86.
41601 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
41603         * sysdeps/unix/common/lxstat.c: Remove file.
41604         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
41606         * sysdeps/unix/sysv/Makefile: Remove file.
41608         * sysdeps/unix/sysv/direct.h: Remove file.
41610         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
41611         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
41612         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
41613         * sysdeps/unix/sysv/bits/signum.h: Likewise.
41614         * sysdeps/unix/sysv/bits/stat.h: Likewise.
41615         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
41616         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
41618         * sysdeps/unix/sysv/setrlimit.c: Remove file.
41620         * sysdeps/unix/xmknod.c: Remove file.
41621         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
41623         * sysdeps/unix/sysv/settimeofday.c: Remove file.
41625         * sysdeps/unix/sysv/i386/time.S: Remove file.
41627         * sysdeps/unix/fxstat.c: Remove file.
41628         * sysdeps/unix/xstat.c: Likewise.
41629         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
41631         * sysdeps/unix/sysv/sigaction.c: Remove file.
41633         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
41634         (sysdep_headers): Remove variable.
41635         [termio.h not in sysdep_headers] (generated): Likewise.
41636         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
41637         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
41638         * sysdeps/unix/sysv/tcdrain.c: Likewise.
41639         * sysdeps/unix/sysv/tcflow.c: Likewise.
41640         * sysdeps/unix/sysv/tcflush.c: Likewise.
41641         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
41642         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
41643         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
41644         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
41645         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
41647         * sysdeps/unix/siglist.c: Remove file.
41649         * sysdeps/unix/getppid.S: Remove file.
41651         * sysdeps/unix/mkdir.c: Remove file.
41652         * sysdeps/unix/rmdir.c: Likewise.
41654 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
41656         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
41657         ERR_MAX value.
41658         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
41659         errlist-compat value.
41661 2012-04-18  David S. Miller  <davem@davemloft.net>
41663         * sysdeps/generic/memcopy.h (reg_char): Delete.
41664         * debug/strcat_chk.c: Use char, not reg_char.
41665         * debug/strcpy_chk.c: Likewise.
41666         * debug/strncat_chk.c: Likewise.
41667         * debug/strncpy_chk.c: Likewise.
41668         * string/memchr.c: Likewise.
41669         * string/memrchr.c: Likewise.
41670         * string/rawmemchr.c: Likewise.
41671         * string/strcat.c: Likewise.
41672         * string/strchr.c: Likewise.
41673         * string/strchrnul.c: Likewise.
41674         * string/strcmp.c: Likewise.
41675         * string/strcpy.c: Likewise.
41676         * string/strncat.c: Likewise.
41677         * string/strncmp.c: Likewise.
41678         * string/strncpy.c: Likewise.
41680 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
41682         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
41683         __builtin_memcopy is called when src and dest ranges are known to not
41684         overlap.
41686 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
41688         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
41689         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
41690         fwd_align_merge macro call.
41691         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
41692         bwd_align_merge macro call.
41693         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
41695 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
41697         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
41698         bwd_align_merge macros.
41699         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
41700         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
41701         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
41703 2012-04-18  David S. Miller  <davem@davemloft.net>
41705         * sysdeps/sparc/sparc64/memcopy.h: Delete.
41707 2012-04-18  Andreas Jaeger  <aj@suse.de>
41709         [BZ# 6794]
41710         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
41711         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
41712         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41714         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
41715         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
41716         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41718         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
41719         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
41720         Adjust for changed ldbl-128 files.
41722         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
41723         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
41724         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41726 2012-04-17  David S. Miller  <davem@davemloft.net>
41728         * sysdeps/sparc/sparc32/memcopy.h: Delete.
41730 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
41732         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
41733         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
41734         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
41735         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
41736         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
41737         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
41739 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41741         [BZ #6794]
41742         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
41743         * math/libm-test.inc: Add ilogb errno and exception tests.
41744         * math/w_ilogb.c: New file: ilogb wrapper.
41745         * math/w_ilogbf.c: New file: ilogbf wrapper.
41746         * math/w_ilogbl.c: New file: ilogbl wrapper.
41747         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
41748         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
41749         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
41750         exception being thrown with 0.0 as argument.
41751         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
41752         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
41753         exception being thrown with 0.0 as argument.
41754         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
41755         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
41756         exception being thrown with 0.0 as argument.
41757         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
41758         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
41759         exception being thrown with 0.0 as argument.
41760         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
41761         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
41762         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
41763         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
41764         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
41765         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
41766         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
41767         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
41768         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
41770 2012-04-17  Petr Baudis  <pasky@ucw.cz>
41772         * include/sys/uio.h: Change __vector to __iovec to avoid clash
41773         with altivec.
41775 2012-04-16  Marek Polacek  <polacek@redhat.com>
41777         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
41779 2012-04-16  Marek Polacek  <polacek@redhat.com>
41781         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
41782         operands of fdivp instruction.
41784 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
41786         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
41787         * elf/tst-auditmod3b.c: Likewise.
41788         * elf/tst-auditmod4b.c: Likewise.
41789         * elf/tst-auditmod5b.c: Likewise.
41790         * elf/tst-auditmod6b.c: Likewise.
41791         * elf/tst-auditmod6c.c: Likewise.
41792         * elf/tst-auditmod7b.c: Likewise.
41793         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
41794         * sysdeps/x86_64/preconfigure.in: Likewise.
41795         * sysdeps/x86_64/preconfigure: Regenerated.
41797 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
41799         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
41800         __ILP32__.
41802 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
41804         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41805         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
41807 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
41809         [BZ #13973]
41810         * locale/iso-639.def: Fix gl language name. Spotted by
41811         Yaron Shahrabani.
41813 2012-04-12  Roland McGrath  <roland@hack.frob.com>
41815         [BZ #2074]
41816         * libio/libio.h (__io_write_fn): Update comment.
41818 2012-04-12  Petr Baudis  <pasky@ucw.cz>
41820         [BZ #2074]
41821         * stdio.texi (Hook Functions): The user provided writer function
41822         is not allowed to return -1.
41824 2012-04-11  David S. Miller  <davem@davemloft.net>
41826         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41828 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
41830         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
41831         Add a leading slash to rtkaio.
41833 2012-04-11  Jim Meyering  <meyering@redhat.com>
41835         [BZ #11959]
41836         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
41837         It is not necessarily an error to ignore fwrite's return
41838         value.  One can reliably use ferror to test for errors after
41839         the fact.
41841 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
41843         * bits/types.h (__snseconds_t): New type.
41844         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
41846         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
41847         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41848         (__SNSECONDS_T_TYPE): Likewise.
41849         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41850         (__SNSECONDS_T_TYPE): Likewise.
41851         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41852         (__SNSECONDS_T_TYPE): Likewise.
41854 2012-04-10  Andreas Jaeger  <aj@suse.de>
41856         [BZ #2636]
41857         * manual/time.texi (Processor Time): Return type of times is
41858         elapsed real time since an arbitrary point in the past.
41859         (CPU Time): Move CLK_TCK from here...
41860         (Processor Time): ...to here.  Correct description.
41861         * manual/conf.texi (Constants for Sysconf): Correct description of
41862         _SC_CLK_TCK.
41864 2012-04-10  David S. Miller  <davem@davemloft.net>
41866         [BZ #13967]
41867         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
41868         where the is a gap between DT_REL(A) and DT_JMPREL.
41870 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
41872         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
41873         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
41874         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
41876 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41878         * elf/dl-support.c (_dl_inhibit_cache): New variable.
41879         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
41880         (dl_main): Handle --inhibit-cache.
41881         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
41882         _dl_inhibit_cache.
41883         * elf/dl-load.c (_dl_map_object): Use it.
41884         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
41886 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
41888         [BZ #13872]
41889         * sysdeps/i386/fpu/e_powl.S (p78): New object.
41890         (__ieee754_powl): Saturate large exponents rather than testing for
41891         overflow of y*log2(x).
41892         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41893         * math/libm-test.inc (pow_test): Do not permit spurious overflow
41894         exceptions.
41896         [BZ #11521]
41897         * math/s_ctan.c: Include <float.h>.
41898         (__ctan): Avoid internal overflow or cancellation in calculating
41899         denominator.
41900         * math/s_ctanf.c: Likewise.
41901         * math/s_ctanl.c: Likewise.
41902         * math/s_ctanh.c: Likewise.
41903         * math/s_ctanhf.c: Likewise.
41904         * math/s_ctanhl.c: Likewise.
41905         * math/libm-test.inc (ctan_test): Add more tests.
41906         (ctanh_test): Likewise.
41907         * sysdeps/i386/fpu/libm-test-ulps: Update.
41908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41910 2012-04-09  Andreas Jaeger  <aj@suse.de>
41912         [BZ #6894]
41913         * manual/filesys.texi (Directory Entries): Mention that d_namlen
41914         is an optional BSD extension.
41916         [BZ #10254]
41917         * manual/stdio.texi (Opening Streams): Document additional fopen
41918         parameters.
41920 2012-04-09  Roland McGrath  <roland@hack.frob.com>
41922         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
41923         %eax without telling the compiler.
41925 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
41927         [BZ # 13963]
41928         * manual/install.texi: Use sourceware.org.
41930 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
41932         [BZ #13873]
41933         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
41934         (__ieee754_pow): Generate overflow and underflow using huge*huge
41935         and tiny*tiny rather than just returning constant infinity or zero
41936         for large exponents.
41937         * math/libm-test.inc (pow_test): Require overflow exceptions for
41938         applicable cases of large exponents.
41940         [BZ #706]
41941         * sysdeps/i386/fpu/e_pow.S (p10): New object.
41942         (__ieee754_pow): Use iterative multiplication algorithm only for
41943         integer exponents with absolute value below 1024.  Check for odd
41944         integer exponents when using algorithm for real exponents.
41945         * math/libm-test.inc (pow_test): Add more tests.
41946         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41948 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
41950         [BZ #13705]
41951         * math/libm-test.inc (exp_test): Do not allow overflow exception
41952         on underflow test.
41954 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
41956         [BZ #13705]
41957         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
41958         instead of __kernel_standard_f.
41960 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
41962         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
41963         * sysdeps/x86_64/memset_chk.S: Likewise.
41965 2012-04-08  Andreas Jaeger  <aj@suse.de>
41967         [BZ #10153]
41968         * manual/startup.texi (Environment Access): Describe return value
41969         for putenv and setenv.
41971         [BZ #6895]
41972         * manual/filesys.texi (Directory Entries): Add description for
41973         DT_LNK.
41975         [BZ #6890]
41976         * manual/filesys.texi (Directory Entries): Clarify that it's file
41977         system not operating system in the description of DT_UNKNOWN.
41979         [BZ #6578]
41980         * manual/syslog.texi (closelog): Fix reference, it's openlog.
41982 2012-04-08  Stephen Compall  <s11@member.fsf.org>
41984         [BZ #6649]
41985         * manual/llio.texi (Opening and Closing Files): Add cross
41986         reference to explain mode argument.
41988 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
41990         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
41991         * sysdeps/x86_64/memset_chk.S: Likewise.
41993 2012-04-07  David S. Miller  <davem@davemloft.net>
41995         * elf/elf.h (R_SPARC_WDISP10): Define.
41996         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
41997         R_SPARC_SIZE32.
41998         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
41999         R_SPARC_SIZE64 and R_SPARC_H34.
42001 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
42003         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
42004         conditions and remove no longer applicable assertion.
42006 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
42008         * bits/byteswap.h: Include <features.h>.
42009         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
42010         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
42012 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
42014         * bits/byteswap.h (__bswap_16): Removed.
42015         Include <bits/byteswap-16.h> to get __bswap_16.
42016         * sysdeps/i386/bits/byteswap.h: Likewise.
42017         * sysdeps/s390/bits/byteswap.h: Likewise.
42018         * sysdeps/x86_64/bits/byteswap.h: Likewise.
42019         * bits/byteswap-16.h: New file.
42020         * sysdeps/i386/bits/byteswap-16.h: Likewise.
42021         * sysdeps/s390/bits/byteswap-16.h: Likewise.
42022         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
42023         * string/Makefile (headers): Add bits/byteswap-16.h.
42025 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
42027         [BZ #13895]
42028         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
42029         extra indirection.
42030         * nss/Makefile (tests-static, tests): Add tst-nss-static.
42031         * nss/tst-nss-static.c: New.
42033 2012-04-06  Robert Millan  <rmh@gnu.org>
42035         [BZ #6486]
42036         * manual/llio.texi (File Position Primitive): lseek
42037         refers to WHENCE when it really means OFFSET.
42039 2012-04-06  Andreas Jaeger  <aj@suse.de>
42041         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
42042         strncmp declarations.
42044         * abilist/libc.abilist: Add __poll and __ppoll.
42046 2012-04-05  David S. Miller  <davem@davemloft.net>
42048         * scripts/check-local-headers.sh: Accept a host triplet in the
42049         path matched by the exclude regexp.
42051         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
42052         definition.
42053         * sysdeps/powerpc/powerpc32/dl-machine.h
42054         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
42055         * sysdeps/s390/s390-32/dl-machine.h
42056         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42057         * sysdeps/sparc/sparc32/dl-machine.h
42058         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42059         * sysdeps/sparc/sparc64/dl-machine.h
42060         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42062         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
42063         lazy binding.
42064         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
42065         undefined symbol errors.
42067         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
42068         DT_NEEDED entries.
42070 2012-04-05  Michael Matz  <matz@suse.de>
42072         [BZ #13592]
42073         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
42075 2012-04-05  Andreas Jaeger  <aj@suse.de>
42077         [BZ #13908]
42078         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
42079         comment.
42081 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
42083         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
42084         which ROUND is no valid rounding mode.
42086 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
42088         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
42089         read again.
42090         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
42092 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
42094         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
42095         an exception using FPU order intentionally.
42097 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
42099         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
42100         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
42101         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
42102         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
42104 2012-04-05  Simon Josefsson  <simon@josefsson.org>
42106         [BZ #12340]
42107         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
42108         EINVAL when BUFLEN is too smal.
42110 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
42112         [BZ #13553]
42113         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
42114         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
42116 2012-04-03  Andreas Jaeger  <aj@suse.de>
42118         [BZ #13938]
42119         * manual/setjmp.texi (System V contexts): Fix sentence.
42121         [BZ #13926]
42122         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
42123         New macro for this case.
42124         [!__GNUC__] (__bswap_64): New inline function for this case.
42125         * sysdeps/x86_64/bits/byteswap.h: Likewise.
42126         * bits/byteswap.h: Likewise.
42127         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
42128         ull, guard with __GLIBC_HAVE_LONG_LONG.
42130         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
42131         __GLIBC_HAVE_LONG_LONG.
42133         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
42134         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
42136 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42138         [BZ #13691]
42139         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
42140         inptr and inend, rather than using last_ch.
42142 2012-04-02  David S. Miller  <davem@davemloft.net>
42144         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
42145         * stdio-common/printf-parse.h (read_int): Change return type to
42146         'int', return -1 on INT_MAX overflow.
42147         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
42148         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
42149         overflows INT_MAX.  Check for overflow of in-format-string precision
42150         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
42151         SIZE_MAX not INT_MAX for integer overflow test.
42152         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
42153         skip the construct in the format string but do not record anything.
42154         * stdio-common/bug22.c: Adjust to test both width/prevision
42155         INT_MAX overflow as well as total length INT_MAX overflow.  Check
42156         explicitly for proper errno values.
42158 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
42160         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
42161         CHAR_MAX.
42162         * string/test-strcmp.c [! WIDE]: Likewise.
42163         * time/tst-mktime2.c: Likewise for INT_MAX.
42164         * string/test-string.h: #include <sys/param.h> for MIN.
42166         * csu/init-first.c (__libc_init_first): Call __ctype_init.
42167         * sysdeps/i386/init-first.c (init): Likewise.
42168         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
42169         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
42170         * sysdeps/sh/init-first.c (init): Likewise.
42172 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
42174         * po/ru.po: Update from translation team.
42175         * po/vi.po: Likewise.
42177 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
42179         * resolv/nss_dns/dns-host.c: Merge copyright years.
42181 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42183         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42184         Optimize memcpy with prefetch if
42185         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
42186         src, dst pointers have unequal 16 byte alignments.
42188 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42190         [BZ #13928]
42191         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
42192         from a CNAME entry and return the minimum ttl for the query.
42193         (gaih_getanswer_slice): Likewise.
42195 2012-03-30  Jeff Law  <law@redhat.com>
42197         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
42198         due to long keys.
42199         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
42200         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
42202         * resolv/nss_dns/dns-host.c: Update copyright year.
42204 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
42206         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
42207         requests to save a system call.  Fix check that all bytes are sent.
42209         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
42210         comments for sendmmsg.
42212 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42214         [BZ #13691]
42215         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
42216         with only 1 character between 0x0041 and 0x01b0.
42217         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
42218         * wcsmbs/tst-mbsnrtowcs.c: New file.
42220 2012-03-29  David S. Miller  <davem@davemloft.net>
42222         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
42223         small copies by hand.
42225 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42227         [BZ #13761]
42228         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
42229         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
42230         group memberships.
42232 2012-03-28  David S. Miller  <davem@davemloft.net>
42234         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
42235         that branches into memcpy.
42236         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
42237         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
42238         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
42239         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
42240         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
42241         bits.
42242         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
42243         implementation too.
42244         * sysdeps/sparc/mempcpy.S: New file.
42246         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
42247         the IFUNC routine in the libc case.
42248         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42250         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
42251         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
42252         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
42253         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
42254         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
42255         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
42256         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
42257         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
42259         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
42260         loop to 256 bytes instead of 64 bytes and fix test signedness.
42262         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
42263         * sysdeps/sparc/sparc32/Makefile: rather than here...
42264         * sysdeps/sparc/sparc64/Makefile: and here.
42266 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
42268         * malloc/mallocbug.c: Avoid warnings about unused variables.
42270 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
42272         [BZ #13760]
42273         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
42274         in the right place. Discard and retry query if response is
42275         larger than input buffer size.
42277 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
42279         [BZ #369]
42280         [BZ #2678]
42281         [BZ #3866]
42282         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
42283         x for large integer exponent.
42284         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
42285         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
42286         sign of result as needed afterwards.
42287         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
42288         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
42289         result for underflowing pow the same as for overflow.
42290         (__kernel_standard_l): Handle powl overflow and underflow here
42291         rather than calling __kernel_standard.
42292         * math/libm-test.inc (pow_test): Add more tests.
42294         [BZ #3868]
42295         [BZ #13879]
42296         [BZ #13910]
42297         [BZ #13911]
42298         [BZ #13912]
42299         [BZ #13913]
42300         [BZ #13915]
42301         [BZ #13916]
42302         [BZ #13917]
42303         [BZ #13918]
42304         [BZ #13919]
42305         [BZ #13920]
42306         [BZ #13921]
42307         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
42308         * sysdeps/ieee754/k_standard.c: Include <float.h>.
42309         (__kernel_standard_l): New function.
42310         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
42311         __kernel_standard.
42312         * math/w_acosl.c (__acosl): Likewise.
42313         * math/w_asinl.c (__asinl): Likewise.
42314         * math/w_atan2l.c (__atan2l): Likewise.
42315         * math/w_atanhl.c (__atanhl): Likewise.
42316         * math/w_coshl.c (__coshl): Likewise.
42317         * math/w_exp10l.c (__exp10l): Likewise.
42318         * math/w_exp2l.c (__exp2l): Likewise.
42319         * math/w_fmodl.c (__fmodl): Likewise.
42320         * math/w_hypotl.c (__hypotl): Likewise.
42321         * math/w_j0l.c (__j0l, __y0l): Likewise.
42322         * math/w_j1l.c (__j1l, __y1l): Likewise.
42323         * math/w_jnl.c (__jnl, __ynl): Likewise.
42324         * math/w_lgammal.c (__lgammal): Likewise.
42325         * math/w_log10l.c (__log10l): Likewise.
42326         * math/w_log2l.c (__log2l): Likewise.
42327         * math/w_logl.c (__logl): Likewise.
42328         * math/w_powl.c (__powl): Likewise.
42329         * math/w_remainderl.c (__remainderl): Likewise.
42330         * math/w_scalbl.c (sysv_scalbl): Likewise.
42331         * math/w_sinhl.c (__sinhl): Likewise.
42332         * math/w_sqrtl.c (__sqrtl): Likewise.
42333         * math/w_tgammal.c (__tgammal): Likewise.
42334         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
42335         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
42336         * math/libm-test.inc (acos_test): Add more tests.
42337         (acosh_test): Likewise.
42338         (asin_test): Likewise.
42339         (atanh_test): Likewise.
42340         (exp_test): Likewise.
42341         (exp10_test): Likewise.
42342         (exp2_test): Likewise.
42343         (expm1_test): Likewise.
42344         (lgamma_test): Likewise.
42345         (log_test): Likewise.
42346         (log10_test): Likewise.
42347         (log1p_test): Likewise.
42348         (log2_test): Likewise.
42349         (pow_test): Do not allow some spurious overflow exceptions.
42350         (sqrt_test): Add more tests.
42351         (tgamma_test): Likewise.
42352         (y0_test): Likewise.
42353         (y1_test): Likewise.
42354         (yn_test): Likewise.
42356 2012-03-27  Anton Blanchard  <anton@samba.org>
42358         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
42359         MAP_HUGETLB.
42360         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42361         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
42362         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42364 2012-03-27  David S. Miller  <davem@davemloft.net>
42366         * conform/Makefile: Run run-conformtest.sh using $(BASH).
42368         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
42369         have-as-vis3 check.
42371 2012-03-27  Andreas Jaeger  <aj@suse.de>
42373         * sysdeps/x86_64/elf/configure.in: Moved to ...
42374         * sysdeps/x86_64/configure.in: ... here.
42375         * sysdeps/x86_64/elf/start.S: Moved to ...
42376         * sysdeps/x86_64/start.S: ... here.
42377         * sysdeps/x86_64/elf/configure: Delete.
42379         * sysdeps/x86_64/configure.in: Merge contents from
42380         sysdeps/i386/configure.in (without i686 check).
42382         * sysdeps/i386/elf/Versions: Merge into ...
42383         * sysdeps/i386/Versions: ... this.
42384         * sysdeps/i386/elf/Versions: Delete file.
42385         * sysdeps/i386/elf/start.S: Moved to ...
42386         * sysdeps/i386/start.S: ...here.
42387         * sysdeps/i386/elf/configure.in: Merge into...
42388         * sysdeps/i386/configure.in: ...here.
42389         * sysdeps/i386/elf/configure.in: Delete file.
42390         * sysdeps/i386/elf/configure: Delete file.
42392         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
42393         * debug/backtracesyms.c: ... here.
42394         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
42395         * debug/backtracesymsfd.c: ... here.
42396         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
42397         * sysdeps/generic/ifunc-sel.h: ... here.
42399         * sysdeps/unix/i386/start.c: Delete file.
42400         * sysdeps/unix/sparc/start.c: Delete file.
42401         * sysdeps/unix/start.c: Delete file.
42403         * sysdeps/sh/elf/configure.in: Moved to ...
42404         * sysdeps/sh/configure.in: ... here.
42405         * sysdeps/sh/elf/start.S: Moved to ...
42406         * sysdeps/sh/start.S: ... here.
42407         * sysdeps/sh/elf/configure: Delete file.
42409         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
42410         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
42411         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
42412         * sysdeps/powerpc/powerpc64/entry.h: ... here.
42413         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
42414         * sysdeps/powerpc/powerpc64/start.S: here.
42415         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
42416         * sysdeps/powerpc/powerpc64/Makefile: ... this.
42417         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
42418         * sysdeps/powerpc/powerpc64/configure.in: ... this.
42419         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
42421         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
42422         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
42423         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
42424         * sysdeps/powerpc/powerpc32/start.S: ... here.
42425         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
42426         * sysdeps/powerpc/powerpc32/configure.in: ... this.
42427         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
42429         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
42430         * sysdeps/powerpc/ifunc-sel.h: ... here.
42431         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
42432         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
42434         * sysdeps/sparc/elf/configure.in: Moved to ...
42435         * sysdeps/sparc/configure.in: ... here.
42436         * sysdeps/sparc/elf/configure: Delete file.
42437         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
42438         * sysdeps/sparc/sparc32/start.S: ... here.
42439         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
42440         * sysdeps/sparc/sparc64/start.S: ... here.
42441         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
42442         * sysdeps/sparc/sparc32/Makefile: ... this.
42443         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
42444         * sysdeps/sparc/sparc64/Makefile: ... this.
42446         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
42447         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
42448         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
42449         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
42450         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
42451         * sysdeps/s390/s390-32/setjmp.S: ... here.
42452         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
42453         * sysdeps/s390/s390-32/configure.in: ... here.
42454         * sysdeps/s390/s390-32/elf/configure: Delete file.
42455         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
42456         * sysdeps/s390/s390-32/start.S: ... here.
42458         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
42459         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
42460         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
42461         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
42462         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
42463         * sysdeps/s390/s390-64/setjmp.S: ... here.
42464         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
42465         * sysdeps/s390/s390-64/configure.in: ... here
42466         * sysdeps/s390/s390-64/elf/configure: Delete file.
42467         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
42468         * sysdeps/s390/s390-64/start.S: ... here.
42469         * sysdeps/s390/s390-64/elf/configure: Delete.
42471         * configure.in: Remove support for elf directories in sysdeps.
42473         * configure: Regenerated.
42474         * sysdeps/i386/configure: Regenerated.
42475         * sysdeps/powerpc/powerpc32/configure: Regenerated.
42476         * sysdeps/powerpc/powerpc64/configure: Regenerated.
42477         * sysdeps/s390/s390-32/configure: Regenerated.
42478         * sysdeps/s390/s390-64/configure: Regenerated.
42479         * sysdeps/sh/configure: Regenerated.
42480         * sysdeps/sparc/configure: Regenerated.
42481         * sysdeps/x86_64/configure: Regenerated.
42483 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
42485         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42487         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
42488         denormal result into account.
42490 2012-03-25  Roland McGrath  <roland@hack.frob.com>
42492         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
42493         Reported by Allan McRae <allan@archlinux.org>.
42495 2012-03-23  Jeff Law  <law@redhat.com>
42497         * nss/getnssent.c (__nss_getent): Fix typo.
42499 2012-03-23  David S. Miller  <davem@davemloft.net>
42501         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42503 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
42505         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
42506         to pad to uint64_t for each field.
42507         (dl_tls_index): Replace unsigned long with uint64_t.
42509 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
42510         Paul Pluzhnikov  <ppluzhnikov@google.com>
42512         [BZ #6528]
42513         * grp/Makefile (otherlibs): Don't set it.
42514         * inet/Makefile (otherlibs): Likewise.
42515         * login/Makefile (otherlibs): Likewise.
42516         * nscd/Makefile (otherlibs): Likewise.
42517         * posix/Makefile (otherlibs): Likewise.
42518         * pwd/Makefile (otherlibs): Likewise.
42519         * rt/Makefile (otherlibs): Likewise.
42520         * sunrpc/Makefile (otherlibs): Likewise.
42521         * nss/Makefile (otherlibs): Likewise.
42522         Add libnss_files to routines and static-only-routines.
42523         ($(objpfx)getent): Remove rule.
42524         * resolv/Makefile: Add libnss_dns and libresolv to routines and
42525         static-only-routines.
42527 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
42529         [BZ #13892]
42530         * math/s_cexp.c: Include <float.h>.
42531         (__cexp): Handle exp result overflowing not necessarily
42532         overflowing both real and imaginary parts of result.
42533         * math/s_cexpf.c: Likewise.
42534         * math/s_cexpl.c: Likewise.
42535         * math/libm-test.inc (cexp_test): Add more tests.
42536         * sysdeps/i386/fpu/libm-test-ulps: Update.
42537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42539 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
42541         * include/link.h (ELFW): New macro.
42542         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
42543         Replace ELF64_R_TYPE with ELFW(R_TYPE).
42545 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
42547         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
42548         with uint64_t.
42550 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
42552         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
42553         declaration.
42554         (struct La_x32_retval): Likewise.
42556 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
42558         * sysdeps/x86_64/preconfigure.in: New file.
42559         * sysdeps/x86_64/preconfigure: New generated file.
42561 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
42563         [BZ #13824]
42564         * math/e_exp2l.c: Include <float.h>.
42565         (__ieee754_exp2l): Handle overflow and underflow cases
42566         separately.  Only pass fractional part of argument to
42567         __ieee754_expl.
42568         * math/libm-test.inc (exp2_test): Add more tests.
42570         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
42571         negating x to take absolute value.
42572         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
42573         Likewise.
42574         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
42575         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
42576         Likewise.
42577         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
42578         computing low part if x was negated.
42579         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
42581 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
42583         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
42584         la_x32_gnu_pltexit.
42585         (pltexit): Cast int_retval to ptrdiff_t.
42586         * elf/tst-auditmod3b.c: Likewise.
42587         * elf/tst-auditmod4b.c: Likewise.
42588         * elf/tst-auditmod5b.c: Likewise.
42589         * elf/tst-auditmod6b.c: Likewise.
42590         * elf/tst-auditmod6c.c: Likewise.
42591         * elf/tst-auditmod7b.c: Likewise.
42593         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
42594         and x32_gnu_pltexit.
42596         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
42597         __ELF_NATIVE_CLASS.
42598         (La_x32_regs): New macro.
42599         (La_x32_retval): Likewise.
42600         (la_x32_gnu_pltenter): New function prototype.
42601         (la_x32_gnu_pltexit): Likewise.
42603 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
42605         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
42606         exponent.
42608         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42610         * configure.in (libc_cv_cc_nofma): Check for option to disable
42611         generation of FMA instructions.
42612         * configure: Regenerate.
42613         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
42614         * sysdeps/ieee754/dbl-64/Makefile: New file.
42615         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
42616         Remove brandred-fma4.
42617         (CFLAGS-brandred-fma4.c): Remove.
42618         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
42619         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
42620         define.
42621         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
42622         define.
42624 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
42626         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
42627         LLONG_MAX != LONG_MAX.
42628         (_itoa_word): Use _ITOA_WORD_TYPE on value.
42629         (_fitoa_word): Likewise.
42630         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
42631         LLONG_MAX != LONG_MAX.
42632         * stdio-common/_itowa.h: Include <_itoa.h>.
42633         (_itowa_word): Use _ITOA_WORD_TYPE on value.
42634         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
42635         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
42636         only if not defined.
42637         (_ITOA_WORD_TYPE): Likewise.
42638         (_itoa_word): Use _ITOA_WORD_TYPE on value.
42639         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
42641 2012-03-21  David S. Miller  <davem@davemloft.net>
42643         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42645 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
42647         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
42648         of x86_64 when setting libc_cv_slibdir, libdir and
42649         libc_cv_localedir.
42650         * sysdeps/unix/sysv/linux/configure: Regenerated.
42652 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
42654         * manual/lang.texi (Old Varargs): Remove section.
42655         (How Variadic): Update menu.
42656         (va_start): Do not mention varargs.h.
42658 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
42659             Joseph Myers  <joseph@codesourcery.com>
42661         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
42662         link test.
42663         * configure: Regenerated.
42665 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
42667         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
42668         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
42669         conformtest.pl
42671 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
42673         * NOTES: Remove.
42674         * Makefile (files-for-dist): Remove NOTES.
42675         (NOTES): Remove rule.
42676         * README: Don't refer to NOTES.
42677         * manual/creature.texi: Don't include macros.texi.
42678         * manual/intro.texi (creature.texi): Remove comment referring to
42679         NOTES.
42681         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
42682         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
42683         * configure: Regenerated.
42684         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
42685         LIBC_TRY_CC_OPTION.
42686         (libc_cv_as_i686): Likewise.
42687         (libc_cv_cc_avx): Likewise.
42688         (libc_cv_cc_sse2avx): Likewise.
42689         (libc_cv_cc_fma4): Likewise.
42690         (libc_cv_cc_novzeroupper): Likewise.
42691         * sysdeps/i386/configure: Regenerated.
42693         [BZ #13883]
42694         * sysdeps/i386/fpu/s_cexp.S: Remove.
42695         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42696         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42697         * math/libm-test.inc (cexp_test): Add more tests.
42698         * sysdeps/i386/fpu/libm-test-ulps: Update.
42699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42701 2012-03-21  Allan McRae  <allan@archlinux.org>
42703         * timezone/Makefile: Do not install iso3166.tab and zone.tab
42705 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
42707         [BZ #13871]
42708         * math/w_exp2.c: Do not include <float.h>.
42709         (o_threshold, u_threshold): Remove.
42710         (__exp2): Calculate result before checking finiteness and calling
42711         __kernel_standard.
42712         * math/w_exp2f.c: Likewise.
42713         * math/w_exp2l.c: Likewise.
42714         * math/libm-test.inc (exp2_test): Require overflow exception for
42715         1e6 input.
42717         [BZ #3866]
42718         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
42719         range of signed 64-bit integers before using fistpll.  Remove
42720         checks for whether integers fit in mantissa bits.
42721         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
42722         the range of signed 32-bit integers before using fistpl.  Remove
42723         checks for whether integers fit in mantissa bits.
42724         * sysdeps/i386/fpu/e_powl.S (p64): New object.
42725         (__ieee754_powl): Test for y outside the range of signed 64-bit
42726         integers before using fistpll.  Reduce 64-bit values to 63-bit
42727         ones as needed.
42728         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
42729         divide-by-zero is raised for zero to large negative powers.
42730         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
42731         (__ieee754_powl): Test for y outside the range of signed 64-bit
42732         integers before using fistpll.  Reduce 64-bit values to 63-bit
42733         ones as needed.
42734         * math/libm-test.inc (pow_test): Add more tests.
42736 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
42738         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
42739         <stdio-common/_itoa.h>.
42740         * debug/segfault.c: Likewise.
42741         * elf/dl-cache.c: Likewise.
42742         * elf/dl-minimal.c: Likewise.
42743         * elf/dl-misc.c: Likewise.
42744         * elf/dl-sysdep.c: Likewise.
42745         * elf/dl-version.c: Likewise.
42746         * elf/rtld.c: Likewise.
42747         * hurd/hurdsock.c: Likewise.
42748         * hurd/lookup-retry.c: Likewise.
42749         * malloc/malloc.c: Likewise.
42750         * malloc/mtrace.c: Likewise.
42751         * nscd/nscd_getgr_r.c: Likewise.
42752         * nscd/nscd_getpw_r.c: Likewise.
42753         * nscd/nscd_getserv_r.c: Likewise.
42754         * posix/getopt_init.c: Likewise.
42755         * posix/wordexp.c: Likewise.
42756         * stdio-common/_itoa.c: Likewise.
42757         * stdio-common/printf_fphex.c: Likewise.
42758         * stdio-common/vfprintf.c: Likewise.
42759         * string/_strerror.c: Likewise.
42760         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
42761         * sysdeps/i386/i686/hp-timing.h: Likewise.
42762         * sysdeps/mach/_strerror.c: Likewise.
42763         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
42764         * sysdeps/mach/hurd/sethostid.c: Likewise.
42765         * sysdeps/mach/hurd/xmknodat.c: Likewise.
42766         * sysdeps/mach/xpg-strerror.c: Likewise.
42767         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
42768         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
42769         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
42770         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
42771         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
42772         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
42773         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
42774         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
42775         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
42776         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
42777         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
42778         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
42779         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
42780         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
42781         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
42782         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
42783         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
42784         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
42785         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
42786         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
42787         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
42789         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
42791         * stdio-common/_itoa.h: Moved to ...
42792         * sysdeps/generic/_itoa.h: Here.
42794         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
42796         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
42797         instead of "_itoa.h" and "_itowa.h".
42798         * stdio-common/vfprintf.: Likewise.
42800 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
42802         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
42803         <bits/wordsize.h>.
42804         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
42805         (__signbit): Likwise.
42806         (llrintf): Likwise.
42807         (llrint): Likwise.
42809 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
42811         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
42812         __WORDSIZE != 64.
42814 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
42816         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
42817         OVERFLOW_EXCEPTION_OK.
42818         * math/libm-test.inc ("Philosophy"): Update comment about
42819         exception testing.
42820         (OVERFLOW_EXCEPTION): Define.
42821         (OVERFLOW_EXCEPTION_OK): Likewise.
42822         (INVALID_EXCEPTION_OK): Renumber.
42823         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42824         (IGNORE_ZERO_INF_SIGN): Likewise.
42825         (test_exceptions): Handle FE_OVERFLOW.
42826         (exp10_test): Expect overflow exceptions.
42827         (exp2_test): Likewise.
42828         (expm1_test): Likewise.
42829         (nextafter_test): Likewise.
42830         (pow_test): Likewise.
42831         (scalbn_test): Likewise.
42832         (scalbln_test): Likewise.
42834 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
42836         * sysdeps/x86_64/bits/atomic.h
42837         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
42838         64bit integer.
42839         (atomic_exchange_acq): Likewise.
42840         (__arch_exchange_and_add_body): Likewise.
42841         (__arch_add_body): Likewise.
42842         (atomic_add_negative): Likewise.
42843         (atomic_add_zero): Likewise.
42845 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
42847         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
42848         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
42850 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
42852         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
42853         Check __x86_64__ instead of __WORDSIZE.
42855 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
42857         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
42859 2012-03-19  David S. Miller  <davem@davemloft.net>
42861         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42863         * sysdeps/sparc/fpu/fenv_private.h: New file.
42864         * sysdeps/sparc/fpu/math_private.h: Use it.
42865         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
42866         Remove.
42867         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
42868         (libc_feholdexcept_setroundl): Remove.
42869         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
42870         Remove.
42871         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
42872         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
42874 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
42876         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
42877         int64_t instead of long int.
42878         (INSERT_WORDS64): Likwise.
42880 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
42882         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
42883         _Unwind_GetCFA return to _Unwind_Ptr first.
42885 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
42887         [BZ #13629]
42888         * math/s_clog.c: Include <float.h>.
42889         (__clog): Scale large or subnormal inputs.
42890         * math/s_clogf.c: Likewise.
42891         * math/s_clogl.c: Likewise.
42892         * math/s_clog10.c: Include <float.h>.
42893         (M_LOG10_2): Define.
42894         (__clog10): Scale large or subnormal inputs.
42895         * math/s_clog10f.c: Likewise.
42896         * math/s_clog10l.c: Likewise.
42897         * math/libm-test.inc (clog_test): Add more tests.
42898         (clog10_test): Likewise.
42899         * sysdeps/i386/fpu/libm-test-ulps: Update.
42900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42902         [BZ #11451]
42903         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
42904         x and y.
42905         * math/libm-test.inc (atan2_test): Add another test.
42907         * Makerules (common-objdir-compile): Remove.
42908         * sysdeps/unix/Makefile (config-generated): Do not add
42909         $(unix-generated) to variable.
42910         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
42911         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
42912         Remove rule.
42913         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
42914         Likewise.
42915         [generic bits/local_lim.h] (before-compile): Do not append to
42916         variable.
42917         [generic bits/local_lim.h] (common-generated): Likewise.
42918         [generic sys/param.h] (before-compile): Do not append to variable.
42919         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
42920         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
42921         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
42922         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
42923         include.
42924         [generic sys/param.h] (sys/param.h-includes): Remove variable.
42925         [generic sys/param.h] (sys/param.h-includes): Remove rule.
42926         [generic sys/param.h] ($(addprefix
42927         $(common-objpfx),$(sys/param.h-includes))): Likewise.
42928         [generic sys/param.h] (common-generated): Do not append to
42929         variable.
42930         [generic sys/param.h] (sysdep_headers): Likewise.
42931         [generic bits/errno.h] (before-compile): Do not append to
42932         variable.
42933         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
42934         rule.
42935         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
42936         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
42937         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
42938         [generic bits/errno.h] (common-generated): Do not append to
42939         variable.
42940         [generic bits/ioctls.h] (before-compile): Do not append to
42941         variable.
42942         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
42943         rule.
42944         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
42945         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
42946         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
42947         rule.
42948         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
42949         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
42950         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
42951         [generic bits/ioctls.h] (common-generated): Do not append to
42952         variable.
42953         [generic sys/syscall.h] (syscall.h): Remove variable.
42954         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
42955         rule.
42956         [generic sys/syscall.h] (before-compile): Do not append to
42957         variable.
42958         [generic sys/syscall.h] (common-generated): Likewise.
42959         * sysdeps/unix/errnos-tmpl.c: Remove file.
42960         * sysdeps/unix/errnos.awk: Likewise.
42961         * sysdeps/unix/ioctls-tmpl.c: Likewise.
42962         * sysdeps/unix/ioctls.awk: Likewise.
42963         * sysdeps/unix/mk-local_lim.c: Likewise.
42964         * sysdeps/unix/snarf-ioctls: Likewise.
42966 2012-03-19  Richard Henderson  <rth@twiddle.net>
42968         * sysdeps/i386/fpu/fenv_private.h: New file.
42969         * sysdeps/i386/fpu/math_private.h: Use it.
42970         (math_opt_barrier, math_force_eval): Remove.
42971         (libc_feholdexcept_setround_53bit): Remove.
42972         (libc_feupdateenv_53bit): Remove.
42973         * sysdeps/x86_64/fpu/math_private.h: Likewise.
42974         (math_opt_barrier, math_force_eval): Remove.
42975         (libc_feholdexcept): Remove.
42976         (libc_feholdexcept_setround): Remove.
42977         (libc_fetestexcept, libc_fesetenv): Remove.
42978         (libc_feupdateenv_test): Remove.
42979         (libc_feupdateenv, libc_feholdsetround): Remove.
42980         (libc_feresetround): Remove.
42982         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
42983         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
42985         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
42986         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
42987         (libc_feupdateenv_testl): New.
42988         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
42989         (libc_feupdateenv_testf): New.
42990         (libc_feupdateenv): Use libc_feupdateenv_test.
42991         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
42992         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
42994         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
42995         (libc_feholdsetroundf, libc_feholdsetroundl): New.
42996         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
42997         (libc_feresetround_noex): New.
42998         (libc_feresetround_noexf): New.
42999         (libc_feresetround_noexl): New.
43000         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
43001         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
43002         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
43003         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
43004         SET_RESTORE_ROUND.
43005         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
43006         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
43007         (__cos): Likewise.
43008         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
43009         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
43010         SET_RESTORE_ROUND_NOEX.
43011         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
43012         SET_RESTORE_ROUND_NOEXF.
43013         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
43014         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
43015         (libc_feholdsetroundf): New.
43016         (libc_feresetround, libc_feresetroundf): New.
43018         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
43019         (libc_feholdexcept_setround_53bit): Convert from macro to function.
43020         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
43022         * sysdeps/generic/math_private.h: Include <fenv.h>.
43023         (default_libc_feholdexcept): New.
43024         (default_libc_feholdexcept_setround): New.
43025         (default_libc_fesetenv, default_libc_feupdateenv): New.
43026         (libc_feholdexcept): Only define if undefined.
43027         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
43028         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
43029         (libc_feholdexcept_setroundl): Likewise.
43030         (libc_feholdexcept_setround_53bit): Likewise.
43031         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
43032         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
43033         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
43034         (libc_feupdateenv_53bit): Likewise.
43035         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
43036         (libc_feholdexcept): Convert from macro to inline function.
43037         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
43038         (libc_fesetenv, libc_feupdateenv): Likewise.
43040         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
43041         not previously defined.
43042         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
43043         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
43044         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
43045         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
43046         * sysdeps/ieee754/flt-32/math_private.h: New file.
43047         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
43048         math_private.h below SET_FLOAT_WORD.
43049         (__isnan, __isinf_ns, __finite): Remove.
43050         (__isnanf, __isinf_nsf, __finitef): Remove.
43052 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
43054         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43056 2012-03-17  David S. Miller  <davem@davemloft.net>
43058         [BZ #6471]
43059         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
43060         for 2.16.
43062 2012-03-16  David S. Miller  <davem@davemloft.net>
43064         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
43065         warnings.
43067         [BZ #6471]
43068         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
43069         properly.
43070         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
43071         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
43072         sysdep_routines when subdir is sysvipc.
43073         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
43074         __getshmlba helper.
43076         * sysdeps/sparc/fpu/libm-test/ulps: Update.
43078 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
43080         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
43081         [__LP64__].
43083 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
43085         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
43086         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
43087         (__lround): Renamed to ...
43088         (__llround): This.  Replace long int with long long int.
43089         Define lround functions as aliases of llround functions.
43090         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
43092 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
43094         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
43095         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
43096         adresses to uintptr_t.  Replace "long int" and "unsigned long
43097         int" with "greg_t" on va_arg.
43099 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
43101         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
43102         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
43104         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
43105         Move e_machine check before EI_CLASS check.  Handle x32
43106         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
43107         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
43108         SKIP_EM_IA_64 and include
43109         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
43111         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
43112         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
43113         (add_system_dir): New macro.
43115         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
43116         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
43118 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
43120         [BZ #2551]
43121         [BZ #2552]
43122         [BZ #2553]
43123         [BZ #2554]
43124         [BZ #2562]
43125         [BZ #2563]
43126         [BZ #2565]
43127         [BZ #2566]
43128         [BZ #2576]
43129         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
43130         (y0): Likewise.
43131         * math/w_j0f.c (j0f): Likewise.
43132         (y0f): Likewise.
43133         * math/w_j0l.c (__j0l): Likewise.
43134         (__y0l): Likewise.
43135         * math/w_j1.c (j1): Likewise.
43136         (y1): Likewise.
43137         * math/w_j1f.c (j1f): Likewise.
43138         (y1f): Likewise.
43139         * math/w_j1l.c (__j1l): Likewise.
43140         (__y1l): Likewise.
43141         * math/w_jn.c (jn): Likewise.
43142         (yn): Likewise.
43143         * math/w_jnf.c (jnf): Likewise.
43144         (ynf): Likewise.
43145         * math/w_jnl.c (__jnl): Likewise.
43146         (__ynl): Likewise.
43147         * math/libm-test.inc (j0_test): Add more tests.
43148         (j1_test): Likewise.
43149         (jn_test): Likewise.  Add trailing semicolon to existing test.
43150         (y0_test): Likewise.
43151         (y1_test): Likewise.
43152         * sysdeps/i386/fpu/libm-test-ulps: Update.
43153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43155         [BZ #13851]
43156         [BZ #13854]
43157         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
43158         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
43159         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
43160         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
43161         (__tanl): Set errno for infinite argument.
43162         * sysdeps/i386/fpu/mptan.c: Remove.
43163         * sysdeps/i386/fpu/s_tan.S: Likewise.
43164         * sysdeps/i386/fpu/s_tanl.S: Likewise.
43165         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
43166         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
43167         * math/libm-test.inc (tan_test): Add more tests and enable more
43168         tests for double and long double.
43169         * sysdeps/i386/fpu/libm-test-ulps: Update.
43170         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43172 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
43174         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
43175         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
43177 2012-03-16  Roland McGrath  <roland@hack.frob.com>
43179         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
43180         * configure.in: Use it for both main tree and add-ons.
43181         * configure: Regenerated.
43183 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
43185         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
43187 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
43189         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
43190         in comment.
43192         [BZ #13851]
43193         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
43194         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
43195         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
43196         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
43197         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
43198         infinite argument.
43199         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
43200         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
43201         != 0 for prec == 2.
43202         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
43203         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
43204         * sysdeps/i386/fpu/s_cosl.S: Likewise.
43205         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
43206         * sysdeps/i386/fpu/s_sinl.S: Likewise.
43207         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
43208         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
43209         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
43210         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
43211         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
43212         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
43213         * math/libm-test.inc (cos_test): Add more tests and enable more
43214         tests for long double.
43215         (sin_test): Likewise.
43216         (sincos_test): Likewise.
43217         * sysdeps/i386/fpu/libm-test-ulps: Update.
43218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43220 2012-03-16  David S. Miller  <davem@davemloft.net>
43222         * sysdeps/sparc/fpu/math_private.h: New file.
43224 2012-03-15  David S. Miller  <davem@davemloft.net>
43226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
43227         file.
43228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
43229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
43230         file.
43231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
43232         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
43233         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
43234         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
43235         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
43236         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
43237         sysdep routines.
43238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
43240         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
43241         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
43243         * sysdeps/sparc/sparc-ifunc.h: New file.
43244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
43245         sparc-ifunc.h
43246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
43247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
43248         Likewise.
43249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
43250         Likewise.
43251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
43252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
43253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
43254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
43255         Likewise.
43256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
43257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
43258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
43259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
43260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
43261         Likewise.
43262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
43263         Likewise.
43264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
43265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
43266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
43267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
43268         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
43269         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
43270         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
43271         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
43272         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
43273         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
43274         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
43275         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
43276         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
43277         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
43278         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
43279         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
43280         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
43281         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
43282         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
43283         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
43284         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
43285         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
43286         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
43287         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
43289 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
43291         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
43292         scaling.
43293         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43295 2012-03-15  Andreas Jaeger  <aj@suse.de>
43297         [BZ #13852]
43298         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
43299         ieee754/flt-32 implementation for sin, cos and sincos.
43300         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
43301         * sysdeps/i386/fpu/s_cosf.S: Likewise.
43302         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
43303         * sysdeps/i386/fpu/s_sinf.S: Likewise.
43304         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
43305         ieee754/flt-32 implementation for tan.
43307         * math/libm-test.inc (cos_test): Enable some large input tests for
43308         float as well
43309         (sin_test): Likewise.
43310         (sincos_test): Likewise.
43311         (tan_test): Add tests for large input.
43313         * sysdeps/i386/fpu/libm-test-ulps: Update.
43315 2012-03-15  Andreas Jaeger  <aj@suse.de>
43317         [BZ #13658]
43318         * math/libm-test.inc (cos_test): Add more test cases.
43319         (sin_test): Likewise.
43320         (sincos_test): Likewise.
43322 2012-03-15  Andreas Jaeger  <aj@suse.de>
43324         [BZ #13837]
43325         * math/libm-test.inc (cos_test): Add a test case for large input
43326         value.
43327         (sin_test): Likewise.
43328         (sincos_test): Likewise.
43330 2012-03-15  Andreas Jaeger  <aj@suse.de>
43331             Joseph Myers  <joseph@codesourcery.com>
43333         [BZ #13658]
43334         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
43335         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
43336         * sysdeps/i386/fpu/branred.c: Likewise.
43337         * sysdeps/i386/fpu/dosincos.c: Likewise.
43338         * sysdeps/i386/fpu/mpa.c: Likewise.
43339         * sysdeps/i386/fpu/s_cos.S: Likewise.
43340         * sysdeps/i386/fpu/s_sin.S: Likewise.
43341         * sysdeps/i386/fpu/s_sincos.S: Likewise.
43342         * sysdeps/i386/fpu/sincos32.c: Likewise.
43344         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
43345         Define.
43346         (libc_feupdateenv_53bit): Define.
43347         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
43348         Define.
43349         (libc_feupdateenv_53bit): Define.
43351         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
43352         53 bit (without extend i386 double precision).
43354         * math/libm-test.inc (sincos_test): Add tests for large input.
43355         (sin): Likewise.
43356         (cos): Likewise.
43358         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
43360 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
43362         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43364 2012-03-15  David S. Miller  <davem@davemloft.net>
43366         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
43367         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
43368         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
43369         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
43370         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
43371         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
43372         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
43373         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
43374         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
43375         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
43376         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
43377         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
43378         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
43379         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
43380         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
43381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
43382         file.
43383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
43384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
43385         file.
43386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
43387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
43388         file.
43389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
43390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
43391         file.
43392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
43393         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
43394         fmin/fmax sysdep routines.
43395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
43397 2012-03-14  David S. Miller  <davem@davemloft.net>
43399         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
43400         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
43401         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
43402         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
43403         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
43404         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
43405         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
43406         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
43407         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
43408         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
43409         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
43410         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
43411         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
43412         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
43413         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
43414         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
43415         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
43416         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
43417         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
43418         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
43419         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
43420         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
43421         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
43422         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
43423         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
43424         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
43425         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
43426         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
43427         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
43428         routines.
43429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
43430         file.
43431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
43432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
43433         file.
43434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
43435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
43436         file.
43437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
43438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
43439         file.
43440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
43441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
43442         file.
43443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
43444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
43445         file.
43446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
43447         file.
43448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
43449         file.
43450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
43451         file.
43452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
43453         New file.
43454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
43455         file.
43456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
43457         file.
43458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
43459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
43460         file.
43461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
43462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
43463         file.
43464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
43465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
43466         file.
43467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
43468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
43469         VIS3 routines.
43471         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
43472         New file.
43474         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43476         * sysdeps/sparc/configure.in: New file.
43477         * sysdeps/sparc/configure: Generate.
43478         * configure.in (libc_cv_sparc_as_vis3): Substitute.
43479         * configure: Regenerate.
43480         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
43481         * config.make.in (have-as-vis3): New.
43482         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
43483         available use -Av9d instead of -Av9a.
43484         * sysdeps/sparc/sparc64/Makefile: Likewise.
43485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
43486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
43487         New file.
43488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
43489         file.
43490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
43491         New file.
43492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
43493         file.
43494         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
43495         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
43496         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
43497         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
43498         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
43500         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
43501         fzeros/fnegs to load 0x80000000 into a float register instead of
43502         using the stack.
43503         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
43505 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
43507         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43508         bits/syscall.h.
43509         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
43510         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
43511         ($(inst_includedir)/bits/syscall.h): Remove rule.
43512         ($(objpfx)bits/syscall.d): Include instead of
43513         $(objpfx)syscall-list.d.
43514         (generated): Change syscall-list.h and syscall-list.d to
43515         bits/syscall.h and bits/syscall.d.
43517 2012-03-14  Roland McGrath  <roland@hack.frob.com>
43519         [BZ #13846]
43520         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
43522 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
43524         [BZ #13841]
43525         * math/s_csqrt.c: Include <float.h>.
43526         (__csqrt): Scale large or subnormal inputs.
43527         * math/s_csqrtf.c: Likewise.
43528         * math/s_csqrtl.c: Likewise.
43529         * math/libm-test.inc (csqrt_test): Add more tests.
43530         * sysdeps/i386/fpu/libm-test-ulps: Update.
43531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43533         [BZ #13840]
43534         * math/libm-test.inc (hypot_test): Add more tests.
43536 2012-03-13  David S. Miller  <davem@davemloft.net>
43538         [BZ #13840]
43539         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
43540         double-precision for the calculation instead of scaling.
43542 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
43544         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
43545         manipulate bits before adding and subtracting TWO52[sx].
43546         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
43547         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
43548         Likewise.
43549         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
43551 2012-03-13  David S. Miller  <davem@davemloft.net>
43553         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
43554         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
43555         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
43556         rtld-global-offsets.h
43557         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43559         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
43560         large parameters.
43562         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
43564         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
43565         'err' in the ifdef scope in which it is actually used.
43567         * nss/nss_db/db-init.c: Include string.h
43569 2012-03-12  David S. Miller  <davem@davemloft.net>
43571         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43572         masking out of the most significant byte of random value used.
43573         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43574         Fix coding style in previous change.
43576         * sysdeps/unix/sysv/linux/kernel-features.h
43577         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
43578         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
43579         expression.
43580         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
43581         later.
43583 2012-03-11  David S. Miller  <davem@davemloft.net>
43585         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
43586         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
43587         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
43588         for 'resultvar' otherwise things get truncated on 64-bit.
43590         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43591         Fix masking out of the most significant byte of random value used.
43593         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43595 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
43597         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43599 2012-03-09  David S. Miller  <davem@davemloft.net>
43601         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
43602         variables with appropriate CPP guards.
43603         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
43604         from the frame pointer, not the stack pointer.  Correct layout
43605         comments.  Fix test on resulting framesize and the management of
43606         the outregs buffer for pltexit.  Preserve floating point return
43607         values across _dl_call_pltexit call.
43608         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
43609         framesize and the management of the outregs buffer for pltexit.
43610         Preserve floating point return values across _dl_call_pltexit
43611         call.
43612         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
43613         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
43614         (la_sparc64_gnu_pltexit): New functions.
43615         (print_exit): Fix format string for return register value.
43617 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
43619         * sunrpc/Makefile (others): Add rpcgen.
43620         ($(objpfx)rpcgen): Remove special build rule and dependency on
43621         libc.
43622         * sunrpc/rpcgen.c: New file.
43624 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
43626         [BZ #13673]
43627         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
43628         * stdio-common/bug-vfprintf-nargs.c: Likewise.
43629         * sysdeps/i386/crti.S: Likewise.
43630         * sysdeps/i386/crtn.S: Likewise.
43631         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
43632         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
43633         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
43634         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
43635         * sysdeps/sh/crti.S: Likewise.
43636         * sysdeps/sh/crtn.S: Likewise.
43637         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
43639         [BZ #13673]
43640         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
43641         with URL.
43642         * locale/programs/locfile-kw.gperf: Likewise.
43643         * locale/programs/charmap-kw.h: Regenerated.
43644         * locale/programs/locfile-kw.h: Likewise.
43646         [BZ #13673]
43647         * intl/plural.y: Replace FSF snail mail address with URL.
43648         * intl/plural.c: Regenerated.
43650 2012-03-09  Richard Henderson  <rth@twiddle.net>
43652         * include/math_private.h: Remove file.
43653         * math/math_private.h: Move file ...
43654         * sysdeps/generic/math_private.h: ... here.
43656         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
43657         * sysdeps/powerpc/fpu/math_private.h: Likewise.
43658         * sysdeps/x86_64/fpu/math_private.h: Likewise.
43660         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
43661         and <math_private.h>.
43662         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
43663         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
43664         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
43665         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
43666         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
43667         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
43668         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43669         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43670         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43671         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43672         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43673         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43674         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43675         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43676         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43677         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43678         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43679         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43680         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43681         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43682         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43683         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43684         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43685         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43686         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
43687         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43688         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43689         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43690         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43691         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43692         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43693         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43694         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
43695         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43696         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43697         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43698         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43699         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43700         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43701         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43702         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
43703         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43704         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
43705         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
43706         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
43707         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43708         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
43709         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
43710         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43711         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43712         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
43713         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
43714         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
43715         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43716         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
43717         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43718         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43719         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
43720         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
43721         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
43722         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43723         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
43724         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43725         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43726         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
43727         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43728         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43729         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43730         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
43731         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
43732         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
43733         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43734         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
43735         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43736         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
43737         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
43738         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
43739         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
43740         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
43741         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
43742         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
43743         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
43744         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
43745         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43746         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43747         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
43748         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
43749         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
43750         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43751         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43752         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43753         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43754         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43755         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43756         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43757         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43758         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43759         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43760         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43761         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43762         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43763         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43764         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43765         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43766         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
43767         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43768         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43769         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43770         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
43771         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43772         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
43773         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
43774         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43775         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
43776         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
43777         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43778         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
43779         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
43780         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
43781         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43782         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
43783         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
43784         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43785         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
43786         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
43787         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
43788         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43789         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
43790         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
43791         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
43792         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
43793         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43794         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43795         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
43796         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
43797         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
43798         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43799         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
43800         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
43801         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43802         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43803         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43804         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43805         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
43806         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
43807         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
43808         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
43809         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
43810         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
43811         * sysdeps/ieee754/k_standard.c: Likewise.
43812         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43813         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43814         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43815         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43816         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43817         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43818         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43819         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43820         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43821         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43822         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43823         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43824         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43825         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43826         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43827         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43828         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
43829         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43830         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43831         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
43832         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
43833         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
43834         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43835         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
43836         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
43837         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
43838         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
43839         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
43840         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
43841         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43842         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
43843         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
43844         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
43845         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
43846         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
43847         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
43848         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
43849         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
43850         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
43851         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
43852         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
43853         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
43854         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
43855         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
43856         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
43857         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
43858         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
43859         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
43860         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
43861         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43862         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43863         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
43864         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
43865         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
43866         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43867         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43868         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
43869         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
43870         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
43871         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
43872         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43873         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
43874         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
43875         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43876         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43877         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43878         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43879         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43880         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43881         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43882         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43883         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43884         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43885         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43886         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43887         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43888         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
43889         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43890         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43891         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
43892         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
43893         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
43894         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
43895         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
43896         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
43897         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43898         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
43899         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
43900         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
43901         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
43902         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
43903         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
43904         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
43905         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
43906         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43907         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
43908         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
43909         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
43910         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
43911         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
43912         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
43913         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43914         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43915         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43916         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
43917         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43918         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43919         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
43920         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
43921         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43922         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43923         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43924         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43925         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43926         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43927         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43928         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43929         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43930         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43931         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43932         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43933         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43934         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43935         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43936         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43937         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
43938         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43939         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43940         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43941         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43942         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43943         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43944         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43945         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
43946         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43947         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43948         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
43949         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
43950         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43951         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
43952         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
43953         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43954         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
43955         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
43956         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43957         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43958         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43959         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43960         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43961         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
43962         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43963         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43964         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43965         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43966         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
43967         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
43968         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43969         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43970         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43971         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
43972         * sysdeps/ieee754/s_lib_version.c: Likewise.
43973         * sysdeps/ieee754/s_matherr.c: Likewise.
43974         * sysdeps/ieee754/s_signgam.c: Likewise.
43975         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43976         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43977         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
43978         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
43979         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
43980         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
43981         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
43982         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
43983         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
43984         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
43985         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
43986         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
43987         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43988         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43989         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
43990         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
43991         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
43992         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
43993         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
43994         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43995         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43997 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
43999         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
44000         * sunrpc/rpc_main.c: Likewise.
44001         * sunrpc/rpc_svcout.c: Likewise.
44003 2012-03-09  David S. Miller  <davem@davemloft.net>
44005         * include/math_private.h: New file.
44007 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
44009         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
44010         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
44011         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
44012         from <bits/socket_type.h>.
44013         (enum __socket_type): Don't define here.
44014         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
44015         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44016         bits/socket_type.h.
44018         [BZ #13566]
44019         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
44020         checking __USE_GNU.
44022         * Makerules ($(inst_includedir)/%.h): New rule.
44023         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
44024         (install-others): Remove variable setting.
44025         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
44027 2012-03-08  Richard Henderson  <rth@twiddle.net>
44029         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
44030         from macro to inline function; merge with the
44031         !__LIBC_INTERNAL_MATH_INLINES version.
44032         (__ieee754_sqrtf): Likewise.
44034         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
44035         to inline function.
44036         (__rintf, __floor, __floorf): Likewise.
44038         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
44039         macro to inline function.
44040         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
44042         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
44043         not <math/math_private.h>.
44045 2012-03-08  David S. Miller  <davem@davemloft.net>
44047         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
44048         copyright year.
44049         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
44051 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
44053         * resolv/gai_misc.c (handle_requests): Fix struct timespec
44054         normalization.
44055         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
44056         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
44058 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
44060         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
44061         be defined individually, they must be defined as a block.  Define
44062         S for printing a string instead of hidint the different by using a
44063         macro for adding the 'l'.
44064         * stdio-common/tst-fphex-wide.c: Adjust.
44066 2012-03-07  Marek Polacek  <polacek@redhat.com>
44068         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
44070 2012-03-08  Marek Polacek  <polacek@redhat.com>
44072         [BZ #13806]
44073         * stdio-common/Makefile (tests): Add tst-fphex-wide.
44074         * stdio-common/tst-fphex.c: Define a few macros to make the
44075         test reusable.  Use them.
44076         * stdio-common/tst-fphex-wide.c: New file.
44078 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
44080         [BZ #6911]
44081         * manual/macros.texi (gnusystems): New macro.
44082         (nongnusystems): Likewise.
44083         (gnulinuxhurdsystems): Likewise.
44084         (gnuhurdsystems): Likewise..
44085         (gnulinuxsystems): Likewise.
44086         * manual/charset.texi: Use new macros or @theglibc{} to refer to
44087         variants of the GNU system, not "GNU system".
44088         * manual/conf.texi: Likewise.
44089         * manual/errno.texi: Likewise.  Update example of errno macro
44090         expansion.
44091         * manual/filesys.texi: Likewise.
44092         (getumask): Document as specific to GNU/Hurd.
44093         * manual/install.texi: Likewise.  Reword some references to
44094         GNU/Linux.
44095         * manual/intro.texi: Likewise.
44096         * manual/io.texi: Likewise.
44097         (File Name Portability): Detail which constraints are inapplicable
44098         to all GNU systems and which are only inapplicable to GNU/Hurd.
44099         * manual/job.texi: Likewise.
44100         * manual/llio.texi: Likewise.
44101         (O_NOCTTY): Document as present on GNU/Linux.
44102         * manual/maint.texi: Likewise.
44103         * manual/memory.texi: Likewise.
44104         * manual/pattern.texi: Likewise.
44105         * manual/pipe.texi: Likewise.
44106         * manual/process.texi: Likewise.
44107         * manual/resource.texi: Likewise.
44108         (RUSAGE_CHILDREN): Remove statement about specifying a particular
44109         child on GNU/Hurd.
44110         * manual/setjmp.texi: Likewise.
44111         * manual/signal.texi: Likewise.
44112         * manual/startup.texi: Likewise.
44113         * manual/stdio.texi: Likewise.
44114         * manual/terminal.texi: Likewise.
44115         (ONLCR): Document as POSIX.
44116         (OXTABS): Document availability on GNU/Linux as XTABS.
44117         (ONOEOT): Document availability separately from other bits.
44118         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
44119         * manual/time.texi: Likewise.
44120         * manual/users.texi: Likewise.
44121         * INSTALL: Regenerated.
44122         * sysdeps/gnu/errlist.c: Regenerated.
44124         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
44125         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
44126         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
44127         puts.
44128         * configure: Regenerated.
44130 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
44132         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
44133         default includes instead of AC_HEADER_CHECK.
44134         * sysdeps/i386/configure: Regenerated.
44136         [BZ #10716]
44137         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
44138         * math/s_cacoshf.c (__cacoshf): Likewise.
44139         * math/s_cacoshl.c (__cacoshl): Likewise.
44140         * math/s_casinh.c (__casinh): Set signs of result from argument.
44141         * math/s_casinhf.c (__casinhf): Likewise.
44142         * math/s_casinhl.c (__casinhl): Likewise.
44143         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
44144         (casinh_test): Add more tests.
44145         * sysdeps/i386/fpu/libm-test-ulps: Update.
44146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44148 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
44150         * po/zh_TW.po: Update from translation team.
44152         * login/Makefile (distribute): Remove variable.
44153         * catgets/Makefile: Likewise.
44154         * mach/Makefile: Likewise.
44155         * malloc/Makefile: Likewise.
44156         * misc/Makefile: Likewise.
44157         * iconv/Makefile: Likewise.
44158         * nscd/Makefile: Likewise.
44159         * hurd/Makefile: Likewise.
44160         * manual/Makefile: Likewise.
44161         * locale/Makefile: Likewise.
44162         * intl/Makefile: Likewise.
44163         * conform/Makefile: Likewise.
44164         * nss/Makefile: Likewise.
44165         * time/Makefile: Likewise.
44166         * soft-fp/Makefile: Likewise.
44167         * dirent/Makefile: Likewise.
44168         * gmon/Makefile: Likewise.
44169         * po/Makefile: Likewise.
44170         * rt/Makefile: Likewise.
44171         * socket/Makefile: Likewise.
44172         * math/Makefile: Likewise.
44173         * signal/Makefile: Likewise.
44174         * debug/Makefile: Likewise.
44175         * elf/Makefile: Likewise.
44176         * timezone/Makefile: Likewise.
44177         * stdlib/Makefile: Likewise.
44178         * iconvdata/Makefile: Likewise.
44179         * sunrpc/Makefile: Likewise.
44180         * io/Makefile: Likewise.
44181         * argp/Makefile: Likewise.
44182         * inet/Makefile: Likewise.
44183         * hesiod/Makefile: Likewise.
44184         * grp/Makefile: Likewise.
44185         * csu/Makefile: Likewise.
44186         * wctype/Makefile: Likewise.
44187         * crypt/Makefile: Likewise.
44188         * libio/Makefile: Likewise.
44189         * string/Makefile: Likewise.
44190         * nis/Makefile: Likewise.
44191         * resolv/Makefile: Likewise.
44192         * stdio-common/Makefile: Likewise.
44193         * wcsmbs/Makefile: Likewise.
44194         * dlfcn/Makefile: Likewise.
44195         * posix/Makefile: Likewise.
44197         [BZ #6959]
44198         * timezone/Makefile: Don't install timezone files, just the programs
44199         and scripts.
44201 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
44203         * nss/databases.def: Add missing gshadow entry.
44205         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
44207 2012-03-06  Marek Polacek  <polacek@redhat.com>
44209         [BZ #13726]
44210         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
44211         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
44212         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
44213         * stdio-common/tst-long-dbl-fphex.c: New file.
44215 2012-03-06  David S. Miller  <davem@davemloft.net>
44217         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44218         (set_obp_int): New function.
44219         (get_obp_int): New function.
44220         (__get_clockfreq_via_dev_openprom): Likewise.
44221         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
44222         Avoid unused variable warnings on 'val' and use builtin_expect.
44223         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
44224         __builtin_expect.
44225         (INLINE_CLONE_SYSCALL): Likewise.
44227 2012-03-05  David S. Miller  <davem@davemloft.net>
44229         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44231 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
44233         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44235         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
44236         only for |x| >= 40.
44237         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44239 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
44241         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
44242         Replace gettimeofday with __vdso_gettimeofday.
44244         * sysdeps/unix/sysv/linux/x86_64/init-first.c
44245         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
44246         __vdso_clock_gettime and __vdso_getcpu.
44248         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
44249         time with __vdso_time.
44251 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
44253         * manual/lang.texi (size_t): Note types to which size_t may be
44254         equivalent with the GNU C Library, but do not describe when
44255         differences between them are significant.
44257 2012-03-05  Andreas Jaeger  <aj@suse.de>
44259         * sysdeps/i386/fpu/libm-test-ulps: Update.
44261 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
44263         [BZ #3976]
44264         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
44265         (__ieee754_pow): Save and restore rounding mode and use
44266         round-to-nearest for main computations.
44267         * math/libm-test.inc (pow_test_tonearest): New function.
44268         (pow_test_towardzero): Likewise.
44269         (pow_test_downward): Likewise.
44270         (pow_test_upward): Likewise.
44271         (main): Call the new functions.
44272         * sysdeps/i386/fpu/libm-test-ulps: Update.
44273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44275         [BZ #3976]
44276         * math/libm-test.inc (cosh_test_tonearest): New function.
44277         (cosh_test_towardzero): Likewise.
44278         (cosh_test_downward): Likewise.
44279         (cosh_test_upward): Likewise.
44280         (sinh_test_tonearest): Likewise.
44281         (sinh_test_towardzero): Likewise.
44282         (sinh_test_downward): Likewise.
44283         (sinh_test_upward): Likewise.
44284         (main): Call the new functions.
44285         * sysdeps/i386/fpu/libm-test-ulps: Update.
44286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44288 2012-03-05  Tom de Vries  <tom@codesourcery.com>
44290         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
44291         default stack guard is set in last bytes.
44292         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
44294 2012-03-05  Kees Cook  <keescook@chromium.org>
44296         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
44298         [BZ #13656]
44299         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
44300         possibly allocate from heap instead of stack.
44301         * stdio-common/bug-vfprintf-nargs.c: New file.
44302         * stdio-common/Makefile (tests): Add nargs overflow test.
44304 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
44306         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44308 2012-03-03  Marek Polacek  <polacek@redhat.com>
44310         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
44311         * math/math_private.h: Likewise.
44312         * stdlib/tst-strtod.c: Likewise.
44313         * sysdeps/i386/i486/bits/atomic.h: Likewise.
44314         * sysdeps/x86_64/bits/atomic.h: Likewise.
44316 2012-03-02  David S. Miller  <davem@davemloft.net>
44318         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
44319         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
44320         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
44321         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
44322         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
44323         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
44324         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
44325         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
44327 2012-03-02  Roland McGrath  <roland@hack.frob.com>
44329         [BZ #13792]
44330         * manual/examples/README: New file, says the example source files
44331         can be used under GPL>=2.
44332         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
44333         line containing just "*/".
44334         * manual/examples/add.c: Add copyright header (GPL>=2).
44335         * manual/examples/argp-ex1.c: Likewise.
44336         * manual/examples/argp-ex2.c: Likewise.
44337         * manual/examples/argp-ex3.c: Likewise.
44338         * manual/examples/argp-ex4.c: Likewise.
44339         * manual/examples/atexit.c: Likewise.
44340         * manual/examples/db.c: Likewise.
44341         * manual/examples/dir.c: Likewise.
44342         * manual/examples/dir2.c: Likewise.
44343         * manual/examples/execinfo.c: Likewise.
44344         * manual/examples/filecli.c: Likewise.
44345         * manual/examples/filesrv.c: Likewise.
44346         * manual/examples/fmtmsgexpl.c: Likewise.
44347         * manual/examples/genpass.c: Likewise.
44348         * manual/examples/inetcli.c: Likewise.
44349         * manual/examples/inetsrv.c: Likewise.
44350         * manual/examples/isockad.c: Likewise.
44351         * manual/examples/longopt.c: Likewise.
44352         * manual/examples/memopen.c: Likewise.
44353         * manual/examples/memstrm.c: Likewise.
44354         * manual/examples/mkfsock.c: Likewise.
44355         * manual/examples/mkisock.c: Likewise.
44356         * manual/examples/mygetpass.c: Likewise.
44357         * manual/examples/pipe.c: Likewise.
44358         * manual/examples/popen.c: Likewise.
44359         * manual/examples/rprintf.c: Likewise.
44360         * manual/examples/search.c: Likewise.
44361         * manual/examples/select.c: Likewise.
44362         * manual/examples/setjmp.c: Likewise.
44363         * manual/examples/sigh1.c: Likewise.
44364         * manual/examples/sigusr.c: Likewise.
44365         * manual/examples/stpcpy.c: Likewise.
44366         * manual/examples/strdupa.c: Likewise.
44367         * manual/examples/strftim.c: Likewise.
44368         * manual/examples/strncat.c: Likewise.
44369         * manual/examples/subopt.c: Likewise.
44370         * manual/examples/swapcontext.c: Likewise.
44371         * manual/examples/termios.c: Likewise.
44372         * manual/examples/testopt.c: Likewise.
44373         * manual/examples/testpass.c: Likewise.
44374         * manual/examples/timeval_subtract.c: Likewise.
44376         [BZ #13792]
44377         * manual/time.texi (Elapsed Time): Move timeval_subtract example
44378         function to ...
44379         * manual/timeval_subtract.c.texi: ... here, new file.
44381 2012-03-02  David S. Miller  <davem@davemloft.net>
44383         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
44385 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
44387         [BZ #3976]
44388         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
44389         (__sin): Save and restore rounding mode and use round-to-nearest
44390         for all computations.
44391         (__cos): Save and restore rounding mode and use round-to-nearest
44392         for all computations.
44393         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
44394         <fenv.h>.
44395         (tan): Save and restore rounding mode and use round-to-nearest for
44396         all computations.
44397         * math/libm-test.inc (cos_test_tonearest): New function.
44398         (cos_test_towardzero): Likewise.
44399         (cos_test_downward): Likewise.
44400         (cos_test_upward): Likewise.
44401         (sin_test_tonearest): Likewise.
44402         (sin_test_towardzero): Likewise.
44403         (sin_test_downward): Likewise.
44404         (sin_test_upward): Likewise.
44405         (tan_test_tonearest): Likewise.
44406         (tan_test_towardzero): Likewise.
44407         (tan_test_downward): Likewise.
44408         (tan_test_upward): Likewise.
44409         (main): Call the new functions.
44410         * sysdeps/i386/fpu/libm-test-ulps: Update.
44411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44413         [BZ #10135]
44414         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
44415         small n, then large n, before computing and testing k+n.
44416         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
44417         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
44418         Likewise.
44419         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
44420         Likewise.
44421         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
44422         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
44423         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
44424         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
44425         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
44426         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
44427         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
44428         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
44429         * math/libm-test.inc (scalbn_test): Add more tests.
44430         (scalbln_test): Likewise.
44432         * manual/filesys.texi (mode_t): Describe constraints on size and
44433         signedness, not exact equivalence to a particular type.
44434         (ino_t): Likewise.
44435         (ino64_t): Likewise.
44436         (dev_t): Likewise.
44437         (nlink_t): Likewise.
44438         (blkcnt_t): Likewise.
44439         (blkcnt64_t): Likewise.
44440         * manual/llio.texi (off_t): Likewise.
44442         [BZ #3976]
44443         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
44444         (__ieee754_exp): Save and restore rounding mode and use
44445         round-to-nearest for all computations.
44446         * math/libm-test.inc (exp_test_tonearest): New function.
44447         (exp_test_towardzero): Likewise.
44448         (exp_test_downward): Likewise.
44449         (exp_test_upward): Likewise.
44450         (main): Call the new functions.
44451         * sysdeps/i386/fpu/libm-test-ulps: Update.
44452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44454 2012-03-01  Chris Demetriou  <cgd@google.com>
44456         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
44457         have predictable order.
44459 2012-03-01  David S. Miller  <davem@davemloft.net>
44461         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
44463         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
44464         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
44465         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
44466         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
44468         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
44469         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
44470         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
44471         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
44472         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
44473         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
44474         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
44475         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
44476         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
44478         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44480         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
44481         * sysdeps/sparc/fpu/libm-test-ulps: to here.
44482         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
44484         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
44485         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44486         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
44487         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
44488         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
44489         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
44490         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
44491         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44492         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
44493         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
44494         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
44495         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44496         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44497         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
44498         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
44499         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44500         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
44501         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
44502         * sysdeps/sparc/elf/configure: Regenerated.
44504 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
44506         * configure.in (AS, LD): Require binutils 2.20 or later.
44507         * configure: Regenerated.
44508         * manual/install.texi (Tools for Compilation): Give binutils 2.20
44509         as required minimum version.
44510         * INSTALL: Regenerated.
44512         [BZ #2541]
44513         [BZ #4108]
44514         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
44515         before squaring exponent.
44516         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
44517         bottom long double and 27 bits of top long double before squaring
44518         exponent.
44519         * math/libm-test.inc (erfc_test): Add more tests.
44520         * sysdeps/i386/fpu/libm-test-ulps: Update.
44521         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44524 2012-03-01  Kai Tietz  <ktietz@redhat.com>
44526         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
44527         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
44528         containing bit-fields.
44529         * soft-fp/extended.h (_FP_UNION_E): Likewise.
44530         * soft-fp/single.h (_FP_UNION_S): Likewise.
44531         * soft-fp/double.h (_FP_UNION_D): Likewise.
44533 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
44535         [BZ #13786]
44536         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
44537         not include ../strcmp.S.
44538         [USE_AS_STRNCASECMP_L]: Likewise.
44539         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
44540         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
44541         * sysdeps/i386/i686/multiarch/strncase_l-c.c
44542         (__strncasecmp_l_ia32): Define as alias to
44543         __strncasecmp_l_nonascii.
44545         [BZ #5794]
44546         * math/libm-test.inc (expm1_test): Add test for bug 5794.
44547         * sysdeps/i386/fpu/libm-test-ulps: Update.
44548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44550         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
44551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44553 2012-02-29  Jeff Law  <law@redhat.com>
44555         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
44556         out of bounds read.
44558 2012-02-29  Marek Polacek  <polacek@redhat.com>
44560         [BZ #13706]
44561         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
44562         * elf/Makefile: Add rules to run tst-unused-dep.out.
44564 2012-02-28  David S. Miller  <davem@davemloft.net>
44566         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
44567         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
44568         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
44569         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
44570         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
44571         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
44573 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
44575         * math/libm-test.inc (llround_test): Move one test from
44576         lround_test.  Use TEST_f_L in moved test.
44577         (lround_test): Move misplaced test to llround_test.  Add testcase
44578         from bug 2561.
44580 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
44582         * sysdeps/x86_64/fpu/e_expf.S: New file.
44583         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
44585 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
44587         [BZ #13637]
44588         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
44589         of remain_len that may cause incomplete multi-byte character and
44590         false match.
44591         * posix/bug-regex33.c: New file.
44592         * posix/Makefile (tests): Add bug-regex33.
44594 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
44596         * manual/macros.texi: New file.
44597         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
44598         * manual/libc.texinfo: Include macros.texi.
44599         * manual/creatute.texi: Likewise.
44600         * manual/install.texi: Likewise.
44601         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
44602         @glibcadj{} in references to the GNU C Library.
44603         * manual/charset.texi: Likewise.
44604         * manual/conf.texi: Likewise.
44605         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
44606         when not using those macros.
44607         * manual/creature.texi: Likewise.
44608         * manual/crypt.texi: Likewise.
44609         * manual/errno.texi: Likewise.
44610         * manual/filesys.texi: Likewise.
44611         * manual/header.texi: Likewise.
44612         * manual/install.texi: Likewise.
44613         * manual/intro.texi: Likewise.
44614         * manual/io.texi: Likewise.
44615         * manual/job.texi: Likewise.
44616         * manual/lang.texi: Likewise.
44617         * manual/libc.texiinfo: Likewise.
44618         * manual/llio.texi: Likewise.
44619         * manual/locale.texi: Likewise.
44620         * manual/maint.texi: Likewise.
44621         * manual/math.texi: Likewise.
44622         * manual/memory.texi: Likewise.
44623         * manual/message.texi: Likewise.
44624         * manual/nss.texi: Likewise.
44625         * manual/pattern.texi: Likewise.
44626         * manual/process.texi: Likewise.
44627         * manual/resource.texi: Likewise.
44628         * manual/search.texi: Likewise.
44629         * manual/setjmp.texi: Likewise.
44630         * manual/signal.texi: Likewise.
44631         * manual/socket.texi: Likewise.
44632         * manual/startup.texi: Likewise.
44633         * manual/stdio.texi: Likewise.
44634         * manual/string.texi: Likewise.
44635         * manual/sysinfo.texi: Likewise.
44636         * manual/syslog.texi: Likewise.
44637         * manual/terminal.texi: Likewise.
44638         * manual/time.texi: Likewise.
44639         * manual/users.texi: Likewise.
44640         * INSTALL: Regenerated.
44641         * NOTES: Regenerated.
44642         * sysdeps/gnu/errlist.c: Regenerated.
44644 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
44646         * include/dirent.h: Include <dirstream.h> before
44647         <dirent/dirent.h>.
44649 2012-02-28  David S. Miller  <davem@davemloft.net>
44651         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
44652         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
44653         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
44654         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
44656 2012-02-27  David S. Miller  <davem@davemloft.net>
44658         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
44659         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
44660         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
44661         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
44663         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
44664         frame pointer instead of stack pointer relative arg slot.
44665         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
44666         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
44667         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
44669 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
44671         [BZ #3992]
44672         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
44674 2012-02-27  David S. Miller  <davem@davemloft.net>
44676         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
44677         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
44678         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44679         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
44680         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
44681         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
44682         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
44683         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
44685 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
44687         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
44688         later.  Allow versions 5-9.
44689         * configure: Regenerated.
44690         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
44691         required minimum version and 4.6 as recommended version.  Do not
44692         mention bugs in GCC 2.7 and 2.8.
44693         * INSTALL: Regenerated.
44695 2012-02-27  David S. Miller  <davem@davemloft.net>
44697         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
44698         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
44699         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
44700         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
44701         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
44702         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
44703         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
44704         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
44706         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
44707         manipulate bits before adding and subtracting TWO112[sx].
44708         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
44710 2012-02-27  Roland McGrath  <roland@hack.frob.com>
44712         [BZ #13775]
44713         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
44714         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
44715         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
44716         being in POSIX, because they are in 1003.1-2008.
44718         * rt/tst-aio.c: Include <fcntl.h>.
44719         * rt/tst-aio7.c: Likewise.
44720         * rt/tst-aio64.c: Likewise.
44722         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
44724 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
44726         * manual/install.texi (--with-headers): Describe headers as
44727         interface headers, not private headers.
44728         (Specific advice for GNU/Linux systems): Describe use of headers
44729         from "make headers_install", not private headers from older
44730         kernels.
44731         * INSTALL: Regenerated.
44732         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
44733         Change to 2.6.19.
44734         * sysdeps/unix/sysv/linux/configure: Regenerated.
44736         * manual/llio.texi (fclean): Remove documentation.
44738         * manual/Makefile (libc-texi-generated): New variable.  Include
44739         version.texi.
44740         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
44741         $(libc-texi-generated), not duplicated list of files.
44742         (version.texi, stamp-version): New rules.
44743         (realclean): Remove $(libc-texi-generated), not individual files
44744         from that list.  Do not remove dir-add.texinfo.
44745         * manual/libc.texinfo: Comment out uses of edition numbers and
44746         references to printed manual.  Remove last-updated dates.
44747         (EDITION): Comment out.
44748         (ISBN): Likewise.
44749         (VERSION, UPDATED): Remove.
44750         (version.texi): Include.
44752 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
44754         * sysdeps/posix/spawni.c: Include <signal.h>.
44755         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
44756         * sysdeps/pthread/aio_fsync.c: Likewise.
44758 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
44760         * conform/Makefile (tests): Run only when not cross-compiling and
44761         when fast-check is not defined.
44763         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
44764         * conform/data/limits.h-data: Fixes for POSIX2008.
44765         * conform/run-conformtest.sh: Run all tests.
44766         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
44767         headers.
44768         * include/bits/dlfcn.h: Likewise.
44769         * include/langinfo.h: Likewise.
44770         * include/monetary.h: Likewise.
44771         * include/sys/poll.h: Likewise.
44773         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
44774         for __USE_GNU.
44775         * posix/spawn.h: Define __need_sigset_t.
44776         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
44777         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
44778         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
44779         to get sigevent_t only.
44780         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
44781         only for __USE_GNU.
44782         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44783         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44784         process_vm_writev only for __USE_GNU.
44785         * termios/termios.h: Declare tcgetsid also for POSIX2008.
44787         * conform/Makefile: For now ignore errors from run-conformtest.
44788         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
44789         POSIX to avoid namespace pollution.  Don't prepend headers.
44790         * conform/data/aio.h-data: Fixes for POSIX testing.
44791         * conform/data/fcntl.h-data: Likewise.
44792         * conform/data/glob.h-data: Likewise.
44793         * conform/data/grp.h-data: Likewise.
44794         * conform/data/pthread.h-data: Likewise.
44795         * conform/data/pwd.h-data: Likewise.
44796         * conform/data/signal.h-data: Likewise.
44797         * conform/data/spawn.h-data: Likewise.
44798         * conform/data/stdio.h-data: Likewise.
44799         * conform/data/stdlib.h-data: Likewise.
44800         * conform/data/stropts.h-data: Likewise.
44801         * conform/data/sys/mman.h-data: Likewise.
44802         * conform/data/sys/stat.h-data: Likewise.
44803         * conform/data/sys/types.h-data: Likewise.
44804         * conform/data/sys/wait.h-data: Likewise.
44805         * conform/data/time.h-data: Likewise.
44806         * conform/data/unistd.h-data: Likewise.
44807         * conform/data/utime.h-data: Likewise.
44809         * io/sys/stat.h: fchmod was always in POSIX.
44810         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
44811         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
44812         * rt/aio.h: Define __need_timespec before including <time.h>.
44813         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
44814         struct.  Add forward declaration of pthread_attr_t and use it in
44815         sigevent.
44816         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44817         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44818         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
44819         always remove CLK_TCK definition.
44821 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
44823         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
44825 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
44827         * conform/run-conformtest.sh: New file.
44828         * conform/Makefile: Run run-conformtest for tests.
44829         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
44830         support.
44832         * conform/data/uchar.h-data: New file.
44833         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
44834         * conform/data/arpa/inet.h-data: Likewise.
44835         * conform/data/assert.h-data: Likewise.
44836         * conform/data/complex.h-data: Likewise.
44837         * conform/data/cpio.h-data: Likewise.
44838         * conform/data/ctype.h-data: Likewise.
44839         * conform/data/dirent.h-data: Likewise.
44840         * conform/data/dlfcn.h-data: Likewise.
44841         * conform/data/errno.h-data: Likewise.
44842         * conform/data/fcntl.h-data: Likewise.
44843         * conform/data/float.h-data: Likewise.
44844         * conform/data/fmtmsg.h-data: Likewise.
44845         * conform/data/fnmatch.h-data: Likewise.
44846         * conform/data/ftw.h-data: Likewise.
44847         * conform/data/glob.h-data: Likewise.
44848         * conform/data/grp.h-data: Likewise.
44849         * conform/data/iconv.h-data: Likewise.
44850         * conform/data/inttypes.h-data: Likewise.
44851         * conform/data/langinfo.h-data: Likewise.
44852         * conform/data/libgen.h-data: Likewise.
44853         * conform/data/limits.h-data: Likewise.
44854         * conform/data/locale.h-data: Likewise.
44855         * conform/data/math.h-data: Likewise.
44856         * conform/data/monetary.h-data: Likewise.
44857         * conform/data/mqueue.h-data: Likewise.
44858         * conform/data/ndbm.h-data: Likewise.
44859         * conform/data/net/if.h-data: Likewise.
44860         * conform/data/netdb.h-data: Likewise.
44861         * conform/data/netinet/in.h-data: Likewise.
44862         * conform/data/nl_types.h-data: Likewise.
44863         * conform/data/poll.h-data: Likewise.
44864         * conform/data/pthread.h-data: Likewise.
44865         * conform/data/pwd.h-data: Likewise.
44866         * conform/data/regex.h-data: Likewise.
44867         * conform/data/sched.h-data: Likewise.
44868         * conform/data/search.h-data: Likewise.
44869         * conform/data/semaphore.h-data: Likewise.
44870         * conform/data/setjmp.h-data: Likewise.
44871         * conform/data/signal.h-data: Likewise.
44872         * conform/data/spawn.h-data: Likewise.
44873         * conform/data/stdarg.h-data: Likewise.
44874         * conform/data/stdio.h-data: Likewise.
44875         * conform/data/stdlib.h-data: Likewise.
44876         * conform/data/string.h-data: Likewise.
44877         * conform/data/strings.h-data: Likewise.
44878         * conform/data/stropts.h-data: Likewise.
44879         * conform/data/sys/ipc.h-data: Likewise.
44880         * conform/data/sys/mman.h-data: Likewise.
44881         * conform/data/sys/msg.h-data: Likewise.
44882         * conform/data/sys/resource.h-data: Likewise.
44883         * conform/data/sys/select.h-data: Likewise.
44884         * conform/data/sys/sem.h-data: Likewise.
44885         * conform/data/sys/shm.h-data: Likewise.
44886         * conform/data/sys/socket.h-data: Likewise.
44887         * conform/data/sys/stat.h-data: Likewise.
44888         * conform/data/sys/statvfs.h-data: Likewise.
44889         * conform/data/sys/time.h-data: Likewise.
44890         * conform/data/sys/timeb.h-data: Likewise.
44891         * conform/data/sys/times.h-data: Likewise.
44892         * conform/data/sys/types.h-data: Likewise.
44893         * conform/data/sys/uio.h-data: Likewise.
44894         * conform/data/sys/un.h-data: Likewise.
44895         * conform/data/sys/utsname.h-data: Likewise.
44896         * conform/data/sys/wait.h-data: Likewise.
44897         * conform/data/syslog.h-data: Likewise.
44898         * conform/data/tar.h-data: Likewise.
44899         * conform/data/termios.h-data: Likewise.
44900         * conform/data/utime.h-data: Likewise.
44901         * conform/data/utmpx.h-data: Likewise.
44902         * conform/data/varargs.h-data: Likewise.
44903         * conform/data/wchar.h-data: Likewise.
44904         * conform/data/wctype.h-data: Likewise.
44905         * conform/data/wordexp.h-data: Likewise.
44907         * include/stropts.h: New file.
44908         * include/uchar.h: New file.
44909         * include/aio.h: Changes to allow conformtest.pl to use the headers.
44910         * include/assert.h: Likewise.
44911         * include/ctype.h: Likewise.
44912         * include/dirent.h: Likewise.
44913         * include/dlfcn.h: Likewise.
44914         * include/fcntl.h: Likewise.
44915         * include/fnmatch.h: Likewise.
44916         * include/glob.h: Likewise.
44917         * include/grp.h: Likewise.
44918         * include/libio.h: Likewise.
44919         * include/locale.h: Likewise.
44920         * include/math.h: Likewise.
44921         * include/net/if.h: Likewise.
44922         * include/netdb.h: Likewise.
44923         * include/netinet/in.h: Likewise.
44924         * include/pthread.h: Likewise.
44925         * include/pwd.h: Likewise.
44926         * include/regex.h: Likewise.
44927         * include/sched.h: Likewise.
44928         * include/search.h: Likewise.
44929         * include/setjmp.h: Likewise.
44930         * include/signal.h: Likewise.
44931         * include/stdio.h: Likewise.
44932         * include/stdlib.h: Likewise.
44933         * include/string.h: Likewise.
44934         * include/sys/cdefs.h: Likewise.
44935         * include/sys/mman.h: Likewise.
44936         * include/sys/msg.h: Likewise.
44937         * include/sys/resource.h: Likewise.
44938         * include/sys/select.h: Likewise.
44939         * include/sys/socket.h: Likewise.
44940         * include/sys/stat.h: Likewise.
44941         * include/sys/statvfs.h: Likewise.
44942         * include/sys/time.h: Likewise.
44943         * include/sys/times.h: Likewise.
44944         * include/sys/uio.h: Likewise.
44945         * include/sys/utsname.h: Likewise.
44946         * include/sys/wait.h: Likewise.
44947         * include/termios.h: Likewise.
44948         * include/time.h: Likewise.
44949         * include/ulimit.h: Likewise.
44950         * include/unistd.h: Likewise.
44951         * include/utime.h: Likewise.
44952         * include/wchar.h: Likewise.
44953         * include/wctype.h: Likewise.
44954         * include/wordexp.h: Likewise.
44956         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
44958         * time/time.h: TIME_UTC must be a macro.
44959         Make timespec_get available for ISO C11 only as well.
44961 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
44963         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
44964         Reported by Peng Haitao <penght@cn.fujitsu.com>.
44966 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
44968         * configure.in: Use -o not -a in test for unsupported multi-arch.
44970 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
44972         * manual/texinfo.tex: Update to version 2012-01-19.16.
44974 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
44976         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
44978 2012-02-24  Roland McGrath  <roland@hack.frob.com>
44980         [BZ #13738]
44981         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
44982         * manual/fdl-1.3.texi: New file.
44983         * manual/fdl-1.1.texi: File removed.
44985         [BZ #13738]
44986         * manual/libc.texinfo (FDL_VERSION): New @set.
44987         Use it for mention of FDL in cover text.
44988         (Documentation License): Use it in @include file name.
44990 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
44991             Roland McGrath  <roland@hack.frob.com>
44993         [BZ #5461]
44994         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
44995         (not LONG_LONG_MAX and LONG_LONG_MIN.
44996         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
44997         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
44998         name.
44999         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
45001 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
45003         [BZ #2547]
45004         [BZ #11365]
45005         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
45006         manipulate bits before adding and subtracting TWO23[sx].
45007         * math/libm-test.inc (nearbyint_test): Add more tests.
45009 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
45011         [BZ #2548]
45012         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
45013         bits before adding and subtracting TWO23[sx].
45014         * math/libm-test.inc (rint_test): Add more tests.
45015         (rint_test_tonearest): Likewise.
45016         (rint_test_towardzero): Likewise.
45017         (rint_test_downward): Likewise.
45018         (rint_test_upward: Likewise.
45020 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
45022         [BZ #10110]
45023         * include/stdc-predef.h: New file.  Extracted from features.h.
45024         * include/features.h: Include stdc-predef.h.
45025         * Makefile (headers): Add stdc-predef.h.
45026         * CONFORMANCE (Compiler limitations): Update.
45028 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
45030         * manual/libc.texinfo (VERSION, UPDATED): Revert.
45032 2012-02-21  David S. Miller  <davem@davemloft.net>
45034         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
45035         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
45037 2012-02-20  David S. Miller  <davem@davemloft.net>
45039         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
45040         using a normal save/restore sequence, rather than allocating a
45041         dummy stack frame just to store a frame pointer and restore.
45042         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45044 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
45046         * manual/install.texi: Fix stray word in line-wrapped comment.
45048 2012-02-20  David S. Miller  <davem@davemloft.net>
45050         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
45051         both binutils and gcc support GOTDATA.
45053         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
45054         "rd %pc" in the PIC register setup sequences.
45056         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
45057         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
45058         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
45059         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
45060         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
45061         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45062         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45063         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45064         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
45065         (SYSCALL_ERROR_HANDLER): Likewise.
45066         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45067         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45068         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
45069         (SYSCALL_ERROR_HANDLER): Likewise.
45071         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
45072         (HAVE_GCC_GOTDATA): New.
45073         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
45074         relocation support in both binutils and gcc.
45075         * sysdeps/sparc/elf/configure: Regenerate.
45077         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
45078         * sysdeps/sparc/sparc32/elf/configure: Delete.
45079         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
45080         * sysdeps/sparc/sparc64/elf/configure: Delete.
45081         * sysdeps/sparc/elf/configure.in: New file.
45082         * sysdeps/sparc/elf/configure: Generate.
45084         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
45085         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
45086         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45087         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
45088         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
45090 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
45092         * manual/install.texi: Do not mention specific glibc version
45093         numbers.
45094         * manual/libc.texinfo (VERSION, UPDATED): Update.
45095         (@copying): Use @copyright{} and range of years.
45097 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
45099         [BZ #13695]
45100         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
45101         [crti.S not in sysdirs] (generated): Do not append.
45102         [crti.S not in sysdirs] (omit-deps): Likewise.
45103         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
45104         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
45105         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
45106         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
45107         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
45108         Likewise.
45109         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
45110         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
45111         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
45112         * csu/defs.awk: Remove file.
45113         * sysdeps/generic/initfini.c: Likewise.
45114         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
45115         variable.
45116         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
45117         Likewise.
45119 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
45121         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
45122         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
45123         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
45124         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
45125         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45126         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
45127         <bits/epoll.h>.
45128         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
45129         (__EPOLL_PACKED): Define to empty if not defined by
45130         <bits/epoll.h>.
45131         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
45132         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45133         bits/epoll.h.
45135 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
45137         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
45138         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
45139         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
45140         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
45141         <bits/timerfd.h>.
45142         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
45143         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45144         bits/timerfd.h.
45146 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
45148         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
45149         in C locale.
45150         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45151         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
45152         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
45153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45155 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
45157         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45158         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
45160 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
45162         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
45163         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
45164         defined.
45165         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
45166         Likewise.
45167         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
45168         entry for 2.16.
45170 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
45172         * math/w_acos.c: Use non-signaling floating-point comparisons.
45173         * math/w_acosf.c: Likewise.
45174         * math/w_acosh.c: Likewise.
45175         * math/w_acoshf.c: Likewise.
45176         * math/w_acoshl.c: Likewise.
45177         * math/w_acosl.c: Likewise.
45178         * math/w_asin.c: Likewise.
45179         * math/w_asinf.c: Likewise.
45180         * math/w_asinl.c: Likewise.
45181         * math/w_atanh.c: Likewise.
45182         * math/w_atanhf.c: Likewise.
45183         * math/w_atanhl.c: Likewise.
45184         * math/w_exp2.c: Likewise.
45185         * math/w_exp2f.c: Likewise.
45186         * math/w_exp2l.c: Likewise.
45187         * math/w_j0.c: Likewise.
45188         * math/w_j0f.c: Likewise.
45189         * math/w_j0l.c: Likewise.
45190         * math/w_j1.c: Likewise.
45191         * math/w_j1f.c: Likewise.
45192         * math/w_j1l.c: Likewise.
45193         * math/w_jn.c: Likewise.
45194         * math/w_jnf.c: Likewise.
45195         * math/w_log.c: Likewise.
45196         * math/w_log10.c: Likewise.
45197         * math/w_log10f.c: Likewise.
45198         * math/w_log10l.c: Likewise.
45199         * math/w_log2.c: Likewise.
45200         * math/w_log2f.c: Likewise.
45201         * math/w_log2l.c: Likewise.
45202         * math/w_logf.c: Likewise.
45203         * math/w_logl.c: Likewise.
45204         * math/w_sqrt.c: Likewise.
45205         * math/w_sqrtf.c: Likewise.
45206         * math/w_sqrtl.c: Likewise.
45207         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45208         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
45209         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45210         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45211         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45213 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
45215         [BZ #9739]
45216         * manual/string.texi (strnlen): Use correct parameter name in
45217         equivalent expression.
45219 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
45221         [BZ #11174]
45222         * manual/users.texi (seteuid): Consistently use neweuid for
45223         argument name.
45225 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
45227         [BZ #13704]
45228         * manual/nss.texi (Services in the NSS configuration): Correct
45229         list of services in example configuration file.
45231 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
45233         [BZ #11322]
45234         * manual/arith.texi: Remove statements about negative zero
45235         behaving identically to zero.
45237 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
45239         [BZ #5993]
45240         * manual/install.texi: Do not document upgrading from libc5.
45242 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
45244         [BZ #4596]
45245         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
45247 2012-02-18  David S. Miller  <davem@davemloft.net>
45249         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
45250         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
45251         %o7 across the call.
45252         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
45253         instead.
45254         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
45255         SETUP_PIC_REG_LEAF.
45256         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45257         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
45258         * sysdeps/sparc/crtn.S: Likewise.
45260 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
45262         * aout/Makefile: Remove.
45264 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
45266         [BZ #13058]
45267         * manual/examples/argp-ex1.c (main): Format definition in GNU
45268         style.
45269         * manual/examples/argp-ex2.c (main): Likewise.
45270         * manual/examples/argp-ex3.c (main): Likewise.
45271         * manual/examples/argp-ex4.c (main): Likewise.
45272         * manual/examples/longopt.c (main): Use new-style prototype
45273         definition.
45274         * manual/examples/strncat.c (main): Specify return type and use
45275         (void) for arguments.
45276         * manual/examples/subopt.c (main): Use char **argv argument.
45278 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
45280         [BZ #5077]
45281         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
45282         rounding modes.
45284 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
45286         [BZ #6907]
45287         * manual/string.texi (strchr): Change when strchrnul is
45288         recommended.
45290 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
45292         [BZ #174]
45293         * manual/locale.texi (setlocale): Document LOCPATH.
45295 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
45297         [BZ #10210]
45298         * manual/process.texi (execle): Move @dots{} before last argument.
45300 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
45302         [BZ #12047]
45303         * manual/charset.texi (Generic Charset Conversion): Fix typo
45304         (LC_TYPE -> LC_CTYPE).
45306 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
45308         [BZ #5805]
45309         * manual/arith.texi (scalbn): Use @var{} on parameter names.
45310         (scalbnf): Likewise.
45311         (scalbnl): Likewise.
45312         (scalbln): Likewise.
45313         (scalblnf): Likewise.
45314         (scalblnl): Likewise.
45315         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
45316         (vwarnx): Likewise.
45317         (verr): Likewise.
45318         (verrx): Likewise.
45319         * manual/filesys.texi (telldir): Use braces around return type.
45320         * manual/llio.texi (mmap): Add space after comma.
45321         (mmap64): Likewise.
45322         * manual/math.texi (jn): Use @var{} on parameter names.
45323         (jnf): Likewise.
45324         (jnl): Likewise.
45325         (yn): Likewise.
45326         (ynf): Likewise.
45327         (ynl): Likewise.
45328         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
45329         line.
45330         * manual/resource.texi (ulimit): Use @dots{} instead of literal
45331         "...".
45332         (sched_get_priority_min): Remove semicolon on @deftypefun line.
45333         (sched_get_priority_max): Likewise.
45334         * manual/signal.texi (sigvec): Add space after comma.
45335         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
45336         names.
45337         (if_indextoname): Likewise.
45338         (if_freenameindex): Likewise.
45339         (sendto): Use ',' instead of '.' in prototype.
45340         * manual/startup.texi (syscall): Use @dots{} instead of literal
45341         "...".
45342         * manual/stdio.texi (__fpending): Separate initial words of
45343         paragraph from @deftypefun line.
45344         * manual/syslog.texi (syslog): Use @dots{} instead of literal
45345         "...".
45346         (vsyslog): Use @var{} on parameter names.
45347         * manual/terminal.texi (stty): Use @var{} on parameter names.
45348         * manual/users.texi (getutmp): Use @var{} on parameter names.
45349         (getutmpx): Likewise.
45351 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
45353         [BZ #6884]
45354         * manual/stdio.texi (fopen): Fix typos in description of
45355         ",ccs=STRING".
45357 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
45359         [BZ #4026]
45360         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
45361         get clock_id definition.
45363 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
45365         [BZ #4822]
45366         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
45367         (madvise): Cast every argument to void on its own.
45369 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
45371         [BZ #9902]
45372         * manual/startup.texi (Exit Status): Fix typo.
45374 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
45376         [BZ #10140]
45377         * manual/examples/argp-ex1.c: Include <stdlib.h>.
45378         * manual/examples/argp-ex2.c: Likewise.
45379         * manual/examples/argp-ex3.c: Likewise.
45381 2012-02-16  Richard Henderson  <rth@redhat.com>
45383         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
45384         * sysdeps/s390/s390-32/initfini.c: Remove.
45385         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
45386         * sysdeps/s390/s390-64/initfini.c: Remove.
45388 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45390         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
45391         compiler output for sysdeps/generic/initfini.c.
45392         * sysdeps/sh/elf/initfini.c: Remove file.
45394 2012-02-16  David S. Miller  <davem@davemloft.net>
45396         [BZ #11494]
45397         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
45399         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
45400         * sysdeps/sparc/crti.S: New file.
45401         * sysdeps/sparc/crtn.S: New file.
45402         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
45403         * sysdeps/sparc/sparc64/Makefile: Likewise.
45405 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
45407         [BZ #3335]
45408         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
45410 2012-02-15  Roland McGrath  <roland@hack.frob.com>
45412         [BZ #4822]
45413         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
45415         * mach/devstream.c (cookie_io_functions_t): Macro removed.
45416         (write, read, close): Likewise.
45417         Patch by Aurelien Jarno <aurelien@aurel32.net>.
45419 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
45421         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
45422         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
45423         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
45424         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
45425         <bits/signalfd.h>.
45426         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
45427         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45428         bits/signalfd.h.
45430 2012-02-14  Marek Polacek  <polacek@redhat.com>
45432         * sysdeps/x86_64/crti.S: New file.
45433         * sysdeps/x86_64/crtn.S: New file.
45434         * sysdeps/x86_64/elf/initfini.c: Remove file.
45436 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
45438         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
45439         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
45440         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
45441         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
45442         <bits/inotify.h>.
45443         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
45444         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45445         bits/inotify.h.
45447 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
45449         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
45450         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
45451         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
45452         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
45453         <bits/eventfd.h>.
45454         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
45455         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45456         bits/eventfd.h.
45458 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
45460         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
45461         __feraiseexcept instead of feraiseexcept.
45463         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
45464         nanosleep invocations.
45465         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
45466         strings, and add error checking for a nanosleep invocations.
45468 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
45470         Replace FSF snail mail address with URLs, as per GNU coding standards.
45471         Most of the snail mail addresses were wrong anyway, and omitting
45472         them makes the source code easier to maintain.  Almost all of the
45473         changes are to license notices and to locale LC_IDENTIFICATION
45474         addresses, except for this one:
45475         * manual/libc.texinfo: In "Published by", give the FSF's URL,
45476         not its snail mail address.
45478 2012-02-09  Richard Henderson  <rth@twiddle.net>
45480         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
45481         of kernel-features.h.
45483         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
45485 2012-02-08  Marek Polacek  <polacek@redhat.com>
45487         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
45488         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
45489         * sysdeps/gnu/_G_config.h: Likewise.
45490         * sysdeps/generic/_G_config.h: Likewise.
45492 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
45494         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
45495         tests.
45496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45498         * sysdeps/powerpc/powerpc32/crti.S: New file.
45499         * sysdeps/powerpc/powerpc32/crtn.S: New file.
45500         * sysdeps/powerpc/powerpc64/crti.S: New file.
45501         * sysdeps/powerpc/powerpc64/crtn.S: New file.
45503         * Makeconfig (have-initfini): Don't set.
45504         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
45505         * configure.in (nopic_initfini): Don't substitute.
45506         * config.h.in (HAVE_INITFINI): Don't #undef.
45507         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
45508         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
45510 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
45512         Support crti.S and crtn.S provided directly by architectures.
45513         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
45514         [crti.S in sysdirs] (omit-deps): Likewise.
45515         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
45516         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
45517         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
45518         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
45519         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
45520         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
45521         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
45522         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
45523         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
45524         compiler output for sysdeps/generic/initfini.c.
45525         * sysdeps/i386/elf/Makefile: Remove file.
45526         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
45528 2012-02-07  Marek Polacek  <polacek@redhat.com>
45530         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
45531         * sysdeps/gnu/_G_config.h: Likewise.
45532         * sysdeps/mach/hurd/_G_config.h: Likewise.
45534 2012-02-07  Marek Polacek  <polacek@redhat.com>
45536         * math/Makefile (tests): Add tst-CMPLX2.
45537         * math/tst-CMPLX2.c: New file.
45539 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
45541         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45543         * math/libm-test.inc (jn_test): Add missing L suffix.
45545 2012-02-06  Marek Polacek  <polacek@redhat.com>
45547         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
45548         * sysdeps/i386/fpu/e_powf.S: Likewise.
45549         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45550         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
45551         * sysdeps/i386/fpu/e_acosh.S: Likewise.
45552         * sysdeps/i386/fpu/e_pow.S: Likewise.
45553         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
45554         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45555         * sysdeps/i386/fpu/s_expm1.S: Likewise.
45556         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
45557         * sysdeps/i386/fpu/e_log2.S: Likewise.
45558         * sysdeps/i386/fpu/e_log2l.S: Likewise.
45559         * sysdeps/i386/fpu/e_scalb.S: Likewise.
45560         * sysdeps/i386/fpu/e_powl.S: Likewise.
45561         * sysdeps/i386/fpu/s_log1p.S: Likewise.
45562         * sysdeps/i386/fpu/e_log10f.S: Likewise.
45563         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
45564         * sysdeps/i386/fpu/e_logl.S: Likewise.
45565         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
45566         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
45567         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
45568         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
45569         * sysdeps/i386/fpu/e_log2f.S: Likewise.
45570         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45571         * sysdeps/i386/fpu/e_log.S: Likewise.
45572         * sysdeps/i386/fpu/s_cexp.S: Likewise.
45573         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45574         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
45575         * sysdeps/i386/fpu/e_logf.S: Likewise.
45576         * sysdeps/i386/fpu/e_log10l.S: Likewise.
45577         * sysdeps/i386/fpu/e_atanh.S: Likewise.
45578         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
45579         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
45580         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
45581         * sysdeps/i386/fpu/e_log10.S: Likewise.
45582         * sysdeps/i386/fpu/s_frexp.S: Likewise.
45583         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45584         * sysdeps/i386/fpu/s_asinh.S: Likewise.
45585         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
45586         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45587         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
45588         * sysdeps/i386/asm-syntax.h: Likewise.
45589         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45590         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45591         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45592         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
45593         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
45594         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45595         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
45596         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
45597         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45598         * sysdeps/powerpc/sysdep.h: Likewise.
45599         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
45600         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
45602 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
45604         [BZ #411]
45605         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
45607 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
45609         * sysdeps/i386/sysdep.h: Include <features.h>.
45610         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
45611         version.
45613 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
45615         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
45616         Define.
45617         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
45618         LOAD_PIC_REG_STR.
45620 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
45622         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
45623         (SETUP_PIC_REG): Use GET_PC_THUNK.
45624         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
45625         macro.
45627 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
45629         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
45630         for non-PIC compilation.
45631         (SETUP_PIC_REG): Add .p2align directive.
45632         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
45633         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
45634         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
45635         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
45636         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
45637         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
45638         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
45639         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45640         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
45641         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
45642         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
45643         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
45644         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
45645         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
45646         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
45647         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
45648         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
45649         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
45650         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
45651         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
45652         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
45653         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
45654         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
45655         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
45656         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
45657         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
45658         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45659         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
45660         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
45661         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
45662         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
45663         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45664         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
45665         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
45666         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
45667         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
45668         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
45669         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
45670         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
45671         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
45672         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
45674 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
45676         * math/tst-CMPLX.c: Include <stdio.h>.
45678 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
45680         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
45681         float.
45682         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
45683         * sysdeps/sparc/bits/mathdef.h: Likewise.
45685 2012-01-31  Marek Polacek  <polacek@redhat.com>
45687         * libio/libio.h: Don't define _PARAMS.
45688         * locale/programs/config.h: Don't define PARAMS.
45689         * stdlib/strtol_l.c: Likewise.
45690         (__strtol_l): Remove PARAMS from the prototype.
45692 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
45694         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
45695         names.  Just use the correct names.  Remove unnecessary wrapper
45696         functions.
45697         * malloc/arena.c: Likewise.
45698         * malloc/hooks.c: Likewise.
45700         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
45701         ARENA_TEST says not to.  Simplify test for creation of a new arena.
45702         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
45704 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
45706         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
45707         into tail calls.
45708         (update_get_addr): New function.
45709         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
45710         GET_ADDR_MODULE parameter.
45712 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
45714         * crypt/cert.c: Remove __STDC__ conditionals.
45715         * crypt/crypt-entry.c: Likewise.
45716         * crypt/crypt_util.c: Likewise.
45717         * libio/filedoalloc.c: Likewise.
45718         * libio/fileops.c: Likewise.
45719         * libio/genops.c: Likewise.
45720         * libio/iofclose.c: Likewise.
45721         * libio/iofdopen.c: Likewise.
45722         * libio/iofopen.c: Likewise.
45723         * libio/iofopen64.c: Likewise.
45724         * libio/iogetdelim.c: Likewise.
45725         * libio/iopopen.c: Likewise.
45726         * libio/obprintf.c: Likewise.
45727         * libio/oldfileops.c: Likewise.
45728         * libio/oldiofclose.c: Likewise.
45729         * libio/oldiofdopen.c: Likewise.
45730         * libio/oldiofopen.c: Likewise.
45731         * libio/oldiopopen.c: Likewise.
45732         * libio/wfiledoalloc.c: Likewise.
45733         * libio/wgenops.c: Likewise.
45734         * locale/programs/xmalloc.c: Likewise.
45735         * misc/syslog.c: Likewise.
45736         * stdio-common/xbug.c: Likewise.
45737         * string/memchr.c: Likewise.
45738         * string/memcmp.c: Likewise.
45739         * string/memrchr.c: Likewise.
45740         * string/rawmemchr.c: Likewise.
45741         * sysdeps/posix/getcwd.c: Likewise.
45742         * time/strftime_l.c: Likewise.
45744 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
45746         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
45747         * config.make.in (config-cflags-sse2avx): Define.
45748         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
45749         Fix typo.
45751 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
45753         * scripts/config.guess: Update from upstream config git repository.
45754         * scripts/config.sub: Likewise.
45756 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
45758         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
45759         (EM_NUM): Update.
45760         (R_TILEPRO_*, R_TILEGX_*): New macros.
45762         * scripts/firstversions.awk: Fix bug in version range handling.
45764         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
45766         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
45768         * include/sys/epoll.h: New file.
45769         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
45770         libc_hidden_def.
45772 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
45774         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
45775         Avoid unnecessary __WORDSIZE == 64 test.
45776         (fmaxf): Use VEX format if possible.
45777         (fmax): Likewise.
45778         (fminf): Likewise.
45779         (fmin): Likewise.
45781         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
45782         * math/math_private.h: Remove libc_fegetround* and
45783         libc_fesetround*.
45784         * sysdeps/i386/configure.in: Check for -msse2avx.
45785         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
45786         also if SSE2AVX is defined.
45787         Remove libc_fegetround* and libc_fesetround*.
45788         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
45789         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
45790         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
45791         of HAS_YMM_USABLE.
45792         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45793         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45794         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45795         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45796         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45798         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
45800 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45802         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
45803         size is not set.
45804         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45806 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
45808         [BZ #13618]
45809         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
45810         relocation.
45811         * Makeconfig (libm): Define.
45812         * elf/Makefile: Add rules to build and run tst-relsort1.
45813         * elf/tst-relsort1.c: New file.
45814         * elf/tst-relsort1mod1.c: New file.
45815         * elf/tst-relsort1mod2.c: New file.
45817 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
45819         * math/s_ldexp.c: Remove __STDC__ conditionals.
45820         * math/s_ldexpf.c: Likewise.
45821         * math/s_ldexpl.c: Likewise.
45822         * math/s_nextafter.c: Likewise.
45823         * math/s_nexttowardf.c: Likewise.
45824         * math/s_significand.c: Likewise.
45825         * math/s_significandf.c: Likewise.
45826         * math/s_significandl.c: Likewise.
45827         * math/w_jnl.c: Likewise.
45828         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
45829         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
45830         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
45831         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
45832         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
45833         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45834         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
45835         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45836         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45837         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45838         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45839         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45840         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45841         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45842         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45843         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45844         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45845         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45846         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45847         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45848         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45849         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45850         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45851         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45852         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45853         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45854         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45855         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45856         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
45857         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45858         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45859         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
45860         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45861         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
45862         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
45863         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45864         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
45865         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
45866         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
45867         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
45868         * sysdeps/ieee754/k_standard.c: Likewise.
45869         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45870         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45871         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
45872         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
45873         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
45874         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
45875         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45876         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
45877         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
45878         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
45879         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
45880         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
45881         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
45882         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
45883         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
45884         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
45885         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
45886         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45887         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45888         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
45889         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45890         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45891         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
45892         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
45893         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45894         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
45895         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45896         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45897         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45898         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
45899         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
45900         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
45901         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
45902         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45903         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45904         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
45905         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
45906         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
45907         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
45908         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
45909         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
45910         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
45911         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
45912         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
45913         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
45914         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
45915         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
45916         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45917         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
45918         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
45919         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
45920         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45921         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45922         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
45923         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
45924         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
45925         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
45926         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45927         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45928         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45929         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45930         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
45931         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
45932         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45933         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45934         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45935         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45936         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
45937         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
45938         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45939         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45940         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45941         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45942         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
45943         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
45944         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45945         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
45946         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
45947         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
45948         * sysdeps/ieee754/s_matherr.c: Likewise.
45949         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
45950         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45951         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45952         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45954 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
45956         * crypt/md5.h: Remove __STDC__ conditionals.
45957         * libio/libioP.h: Likewise.
45958         * locale/programs/config.h: Likewise.
45959         * sysdeps/generic/sysdep.h: Likewise.
45960         * sysdeps/i386/asm-syntax.h: Likewise.
45961         * sysdeps/s390/asm-syntax.h: Likewise.
45962         * sysdeps/unix/sysdep.h: Likewise.
45963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
45964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
45966 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
45968         * libio/libio.h: Remove __STDC__ conditionals.
45969         * malloc/obstack.h: Likewise.
45970         * math/complex.h: Likewise.
45971         * math/math.h: Likewise.
45972         * sysdeps/generic/_G_config.h: Likewise.
45973         * sysdeps/gnu/_G_config.h: Likewise.
45974         * sysdeps/mach/hurd/_G_config.h: Likewise.
45975         * sysdeps/powerpc/bits/mathdef.h: Likewise.
45976         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
45977         * sysdeps/sparc/bits/mathdef.h: Likewise.
45979 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
45981         [BZ #13583]
45982         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
45983         Clean up HAS_* macros.
45984         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
45985         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
45986         possible.
45987         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
45988         HAS_AVX.
45989         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45990         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45991         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45992         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45993         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45995 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
45997         * elf/tst-unique3.cc (gets): Remove declaration.
45998         * elf/tst-unique3lib.cc (gets): Likewise.
45999         * elf/tst-unique3lib2.cc (gets): Likewise.
46000         * elf/tst-unique4.cc (gets): Likewise.
46002 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
46004         * include/stdio.h: Add C++ protection.  Add gets declarations and
46005         definitions.
46006         * debug/tst-chk1.c: Don't declare gets here.
46007         * stdio-common/tst-gets.c: Likewise.
46009 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
46011         * posix/glob: Remove directory.
46013 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
46015         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
46017 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
46019         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
46020         of the non-standard EPFNOSUPPORT.
46022 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46024         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
46025         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
46026         ANYWHERE set to 1 only on KERN_NO_SPACE error.
46028 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
46030         * wcsmbs/uchar.h: Test __STDC_VERSION__.
46032 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
46034         * nscd/aicache.c (addhstaiX): Do not cache negative results of
46035         transient errors.
46036         * nscd/grpcache.c (cache_addgr): Likewise.
46037         * nscd/hstcache.c (cache_addhst): Likewise.
46038         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46039         * nscd/pwdcache.c (cache_addpw): Likewise.
46040         * nscd/servicescache.c (cache_addserv): Likewise.
46042 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
46044         * malloc/malloc.c: Various cleanups.
46045         * malloc/hooks.c: Likewise.
46047         * stdlib/Makefile (tests): Add bug-fmtmsg1.
46048         * stdlib/bug-fmtmsg1.c: New file.
46050         * stdlib/fmtmsg.c (init): Add missing unlock.
46051         Patch by Peng Haitao <penght@cn.fujitsu.com>.
46053 2012-01-12  Marek Polacek  <polacek@redhat.com>
46055         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
46056         and _GNU_SOURCE.
46058 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
46060         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
46061         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
46062         macro to ensure uniqueness of label name.
46063         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
46064         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
46066 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
46068         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
46070         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
46071         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46072         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46073         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
46075 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
46077         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
46079         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
46080         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46081         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46083         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
46085         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
46086         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46087         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46088         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
46090         * math/bits/math-finite.h: Add ldexp support.
46092 2012-01-10  Marek Polacek  <polacek@redhat.com>
46094         * locale/programs/localedef.h (show_archive_content): Add noreturn
46095         attribute.
46097 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
46099         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
46101 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
46103         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
46105         * io/Makefile (headers): Add bits/poll2.h.
46107 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
46109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
46110         typo #include statement.
46112 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
46114         * include/sys/cdefs.h: Define __attribute_alloc_size.
46115         * catgets/gencat.c: Add alloc_size attribute and apply consistently
46116         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
46117         * elf/pldd.c: Likewise.
46118         * iconv/iconv_charmap.c: Likewise.
46119         * iconv/iconvconfig.c: Likewise.
46120         * iconv/strtab.c: Likewise.
46121         * locale/programs/locale.c: Likewise.
46122         * locale/programs/localedef.h: Likewise.
46123         * locale/programs/simple-hash.c: Likewise.
46124         * nscd/nscd.h: Likewise.
46125         * nss/makedb.c: Likewise.
46126         * sysdeps/generic/ldconfig.h: Likewise.
46127         * locale/programs/localedef.c: Remove xmalloc prototype.
46128         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
46130 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
46132         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
46133         appropriate.
46135 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
46137         * math/Makefile (tests): Add tst-CMPLX.
46138         * math/tst-CMPLX.c: New file.
46140         * math/complex.h (CMPLXL): Fix typo.
46142         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
46143         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
46144         GLIBC_2.16.
46145         * debug/tst-chk1.c: Add poll and ppoll tests.
46146         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
46147         * include/sys/poll.h: Add hidden proto for ppoll.
46148         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
46149         * sysdeps/mach/hurd/ppoll.c: Likewise.
46150         * io/ppoll.c: Likewise.
46151         * debug/poll_chk.c: New file.
46152         * debug/ppoll_chk.c: New file.
46153         * include/bits/poll2.h: New file.
46154         * io/bits/poll2.h: New file.
46156         [BZ #1350]
46157         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
46159         * configure.in: static is always set to yes.  Remove.
46160         * config.make.in: Don't set build-static.
46161         * Makeconfig: Remove use of build-static.
46162         * dlfcn/Makefile: Likewise.
46163         * elf/Makefile: Likewise.
46164         * math/Makefile: Likewise.
46165         * misc/Makefile: Likewise.
46166         * nptl/Makefile: Likewise.
46167         * sysdeps/mach/hurd/Makefile: Likewise.
46169         * configure.in: PWD_P is not used anymore.
46170         * config.make.in: Remove PWD_P entry.
46172         * configure.in: Remove last remnants of RANLIB.
46173         No need to check for signed size_t anymore.
46174         Don't set libc_commonpagesize and libc_relro_required here for Alpha
46175         and IA-64.
46176         Remove __builtin_expect test because we require at least gcc 3.4.
46177         * aclocal.m4: Likewise.
46179         * wcsmbs/mbrtoc16.c: Implement using towc function.
46180         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
46181         * wcsmbs/wcsmbsload.c: Likewise.
46182         * iconv/gconv_simple.c: Likewise.
46183         * iconv/gconv_int.h: Likewise.
46184         * iconv/gconv_builtin.h: Likewise.
46185         * iconv/iconv_prog.c: Remove CHAR16 handling.
46187         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
46189         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
46191         * configure.in: Remove --with-elf and --enable-bounded options.
46192         Dont set base_machine for ia64.  More non-ELF conditions removed.
46193         Remove testing and setting of leading underscore information.
46194         * config.make.in (build-bounded): Set to no.
46195         * config.h.in: Remove NO_UNDERSCORES entry.
46196         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
46197         them.
46198         * csu/start.c: Remove !NO_UNDERSCORE code.
46199         * locale/localeinfo.h: Likewise.
46200         * sysdeps/generic/machine-gmon.h: Likewise.
46201         * sysdeps/generic/sysdep.h: Likewise.
46202         * sysdeps/i386/sysdep.h: Likewise.
46203         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
46204         * sysdeps/mach/sysdep.h: Likewise.
46205         * sysdeps/s390/s390-32/sysdep.h: Likewise.
46206         * sysdeps/s390/s390-64/sysdep.h: Likewise.
46207         * sysdeps/sh/sysdep.h: Likewise.
46208         * sysdeps/sparc/sparc32/alloca.S: Likewise.
46209         * sysdeps/unix/i386/sysdep.S: Likewise.
46210         * sysdeps/unix/sparc/start.c: Likewise.
46211         * sysdeps/unix/sparc/sysdep.S: Likewise.
46212         * sysdeps/unix/sparc/sysdep.h: Likewise.
46213         * sysdeps/unix/start.c: Likewise.
46214         * sysdeps/unix/x86_64/sysdep.S: Likewise.
46215         * sysdeps/x86_64/sysdep.h: Likewise.
46217 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
46219         [BZ #13553]
46220         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
46221         for non-gcc.
46222         * argp/argp-fmtstream.h: Use const instead __const.
46223         * argp/argp.h: Likewise.
46224         * assert/assert.h: Likewise.
46225         * bits/fenv.h: Likewise.
46226         * bits/sched.h: Likewise.
46227         * bits/sigset.h: Likewise.
46228         * bits/sigthread.h: Likewise.
46229         * catgets/nl_types.h: Likewise.
46230         * conform/data/pthread.h-data: Likewise.
46231         * crypt/crypt-private.h: Likewise.
46232         * crypt/crypt.h: Likewise.
46233         * crypt/crypt_util.c: Likewise.
46234         * ctype/ctype.h: Likewise.
46235         * debug/execinfo.h: Likewise.
46236         * debug/mbsnrtowcs_chk.c: Likewise.
46237         * debug/mbsrtowcs_chk.c: Likewise.
46238         * debug/wcsnrtombs_chk.c: Likewise.
46239         * debug/wcsrtombs_chk.c: Likewise.
46240         * debug/wcstombs_chk.c: Likewise.
46241         * dirent/dirent.h: Likewise.
46242         * dlfcn/dlfcn.h: Likewise.
46243         * elf/neededtest4.c: Likewise.
46244         * grp/grp.h: Likewise.
46245         * gshadow/gshadow.h: Likewise.
46246         * iconv/gconv.h: Likewise.
46247         * iconv/gconv_int.h: Likewise.
46248         * iconv/gconv_simple.c: Likewise.
46249         * iconv/iconv.h: Likewise.
46250         * iconv/loop.c: Likewise.
46251         * iconv/skeleton.c: Likewise.
46252         * include/aio.h: Likewise.
46253         * include/aliases.h: Likewise.
46254         * include/argz.h: Likewise.
46255         * include/arpa/inet.h: Likewise.
46256         * include/assert.h: Likewise.
46257         * include/dirent.h: Likewise.
46258         * include/dlfcn.h: Likewise.
46259         * include/execinfo.h: Likewise.
46260         * include/fcntl.h: Likewise.
46261         * include/fenv.h: Likewise.
46262         * include/glob.h: Likewise.
46263         * include/grp.h: Likewise.
46264         * include/libintl.h: Likewise.
46265         * include/mntent.h: Likewise.
46266         * include/netdb.h: Likewise.
46267         * include/pwd.h: Likewise.
46268         * include/rpc/netdb.h: Likewise.
46269         * include/sched.h: Likewise.
46270         * include/search.h: Likewise.
46271         * include/shadow.h: Likewise.
46272         * include/signal.h: Likewise.
46273         * include/stdio.h: Likewise.
46274         * include/stdlib.h: Likewise.
46275         * include/string.h: Likewise.
46276         * include/sys/socket.h: Likewise.
46277         * include/sys/stat.h: Likewise.
46278         * include/sys/statfs.h: Likewise.
46279         * include/sys/statvfs.h: Likewise.
46280         * include/sys/syslog.h: Likewise.
46281         * include/sys/time.h: Likewise.
46282         * include/sys/uio.h: Likewise.
46283         * include/time.h: Likewise.
46284         * include/unistd.h: Likewise.
46285         * include/utmp.h: Likewise.
46286         * include/wchar.h: Likewise.
46287         * include/wctype.h: Likewise.
46288         * inet/aliases.h: Likewise.
46289         * inet/arpa/inet.h: Likewise.
46290         * inet/netinet/ether.h: Likewise.
46291         * inet/netinet/in.h: Likewise.
46292         * intl/libintl.h: Likewise.
46293         * io/bits/fcntl2.h: Likewise.
46294         * io/fcntl.h: Likewise.
46295         * io/ftw.h: Likewise.
46296         * io/sys/poll.h: Likewise.
46297         * io/sys/stat.h: Likewise.
46298         * io/sys/statfs.h: Likewise.
46299         * io/sys/statvfs.h: Likewise.
46300         * io/utime.h: Likewise.
46301         * libio/bits/stdio.h: Likewise.
46302         * libio/bits/stdio2.h: Likewise.
46303         * libio/libio.h: Likewise.
46304         * libio/libioP.h: Likewise.
46305         * libio/stdio.h: Likewise.
46306         * locale/lc-ctype.c: Likewise.
46307         * locale/locale.h: Likewise.
46308         * login/utmp.h: Likewise.
46309         * malloc/arena.c: Likewise.
46310         * malloc/malloc.c: Likewise.
46311         * malloc/malloc.h: Likewise.
46312         * malloc/mcheck.c: Likewise.
46313         * malloc/mtrace.c: Likewise.
46314         * math/bits/mathcalls.h: Likewise.
46315         * math/fenv.h: Likewise.
46316         * math/math_private.h: Likewise.
46317         * misc/bits/error.h: Likewise.
46318         * misc/bits/syslog.h: Likewise.
46319         * misc/err.h: Likewise.
46320         * misc/error.h: Likewise.
46321         * misc/fstab.h: Likewise.
46322         * misc/mntent.h: Likewise.
46323         * misc/regexp.h: Likewise.
46324         * misc/search.h: Likewise.
46325         * misc/sgtty.h: Likewise.
46326         * misc/sys/mman.h: Likewise.
46327         * misc/sys/syslog.h: Likewise.
46328         * misc/sys/uio.h: Likewise.
46329         * misc/sys/xattr.h: Likewise.
46330         * misc/ttyent.h: Likewise.
46331         * nis/rpcsvc/ypclnt.h: Likewise.
46332         * nss/nss.h: Likewise.
46333         * posix/bits/unistd.h: Likewise.
46334         * posix/fnmatch.h: Likewise.
46335         * posix/glob.h: Likewise.
46336         * posix/sched.h: Likewise.
46337         * posix/spawn.h: Likewise.
46338         * posix/sys/wait.h: Likewise.
46339         * posix/unistd.h: Likewise.
46340         * posix/wordexp.h: Likewise.
46341         * pwd/pwd.h: Likewise.
46342         * resolv/netdb.h: Likewise.
46343         * resource/sys/resource.h: Likewise.
46344         * rt/aio.h: Likewise.
46345         * rt/bits/mqueue2.h: Likewise.
46346         * rt/mqueue.h: Likewise.
46347         * shadow/shadow.h: Likewise.
46348         * signal/signal.h: Likewise.
46349         * socket/send.c: Likewise.
46350         * socket/sendto.c: Likewise.
46351         * socket/sys/socket.h: Likewise.
46352         * stdio-common/printf.h: Likewise.
46353         * stdlib/bits/stdlib.h: Likewise.
46354         * stdlib/fmtmsg.h: Likewise.
46355         * stdlib/monetary.h: Likewise.
46356         * stdlib/stdlib.h: Likewise.
46357         * stdlib/ucontext.h: Likewise.
46358         * streams/stropts.h: Likewise.
46359         * string/argz.h: Likewise.
46360         * string/bits/string2.h: Likewise.
46361         * string/string.h: Likewise.
46362         * string/strings.h: Likewise.
46363         * sunrpc/rpc/auth.h: Likewise.
46364         * sunrpc/rpc/auth_des.h: Likewise.
46365         * sunrpc/rpc/clnt.h: Likewise.
46366         * sunrpc/rpc/netdb.h: Likewise.
46367         * sunrpc/rpc/pmap_clnt.h: Likewise.
46368         * sunrpc/rpc/xdr.h: Likewise.
46369         * sysdeps/generic/inttypes.h: Likewise.
46370         * sysdeps/generic/net/if.h: Likewise.
46371         * sysdeps/generic/sys/swap.h: Likewise.
46372         * sysdeps/gnu/net/if.h: Likewise.
46373         * sysdeps/gnu/utmpx.h: Likewise.
46374         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
46375         * sysdeps/i386/i486/bits/string.h: Likewise.
46376         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
46377         * sysdeps/s390/bits/string.h: Likewise.
46378         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
46379         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
46380         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
46381         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
46382         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
46383         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
46384         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
46385         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
46386         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
46387         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
46388         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
46389         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
46390         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
46391         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
46392         * sysdeps/unix/sysv/linux/readv.c: Likewise.
46393         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
46394         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
46395         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46396         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
46397         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
46398         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
46399         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
46400         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
46401         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
46402         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
46403         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
46404         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
46405         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46406         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
46407         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
46408         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
46409         * sysvipc/sys/ipc.h: Likewise.
46410         * sysvipc/sys/msg.h: Likewise.
46411         * sysvipc/sys/sem.h: Likewise.
46412         * sysvipc/sys/shm.h: Likewise.
46413         * termios/termios.h: Likewise.
46414         * time/sys/time.h: Likewise.
46415         * time/time.h: Likewise.
46416         * wcsmbs/bits/wchar2.h: Likewise.
46417         * wcsmbs/uchar.h: Likewise.
46418         * wcsmbs/wchar.h: Likewise.
46419         * wctype/wctype.h: Likewise.
46421         [BZ #13551]
46422         * Makeconfig: Remove all but ELF support including AIX support.
46423         * Makerules: Likewise.
46424         * config.h.in: Likewise.
46425         * config.make.in: Likewise.
46426         * configure: Likewise.
46427         * configure.in: Likewise.
46428         * csu/Makefile: Likewise.
46429         * csu/version.c: Likewise.
46430         * debug/Makefile: Likewise.
46431         * dlfcn/Makefile: Likewise.
46432         * elf/Makefile: Likewise.
46433         * extra-lib.mk: Likewise.
46434         * iconv/Makefile: Likewise.
46435         * include/libc-symbols.h: Likewise.
46436         * include/shlib-compat.h: Likewise.
46437         * resolv/Makefile: Likewise.
46438         * resolv/res_libc.c: Likewise.
46439         * rt/Makefile: Likewise.
46440         * sysdeps/i386/asm-syntax.h: Likewise.
46441         * sysdeps/i386/sysdep.h: Likewise.
46442         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
46443         * sysdeps/mach/sysdep.h: Likewise.
46444         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
46445         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
46446         * sysdeps/s390/asm-syntax.h: Likewise.
46447         * sysdeps/s390/s390-32/sysdep.h: Likewise.
46448         * sysdeps/s390/s390-64/sysdep.h: Likewise.
46449         * sysdeps/sh/sysdep.h: Likewise.
46450         * sysdeps/unix/sparc/sysdep.h: Likewise.
46451         * sysdeps/wordsize-32/divdi3.c: Likewise.
46452         * sysdeps/x86_64/sysdep.h: Likewise.
46454         * argp/Versions: Remove _argp_unlock_xxx.
46456         [BZ #13559]
46457         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
46458         * abilist/libBrokenLocale.abilist: Likewise.
46459         * abilist/libanl.abilist: Likewise.
46460         * abilist/libc.abilist: Likewise.
46461         * abilist/libcrypt.abilist: Likewise.
46462         * abilist/libdl.abilist: Likewise.
46463         * abilist/libm.abilist: Likewise.
46464         * abilist/libnsl.abilist: Likewise.
46465         * abilist/libpthread.abilist: Likewise.
46466         * abilist/libresolv.abilist: Likewise.
46467         * abilist/librt.abilist: Likewise.
46468         * abilist/libthread_db.abilist: Likewise.
46469         * abilist/libutil.abilist: Likewise.
46470         * abilist/libnss_db.abilist: New file.
46472         * scripts/abilist.awk: Add support for indirect functions.
46474         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
46476         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
46478         * shlib-versions: Remove entries for ports architectures.
46480         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
46481         files in ports.
46482         * elf/stackguard-macros.h: Remove support for IA-64.
46483         * elf/tst-auditmod1.c: Likewise.
46484         * sysdeps/generic/ldsodefs.h: Likewise.
46486         * sysdeps/unix/sysv/linux/configure.in: Ports should define
46487         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
46488         configure files.
46490         [BZ #13552]
46491         * configure.in: Remove --enable-omitfp support.
46492         * FAQ.in: Adjust.
46493         * config.make.in: Likewise.
46494         * Makeconfig: Likewise.
46495         * manual/install.texi: Likewise.
46497         In case anyone cares, the IA-64 architecture could move to ports.
46498         * sysdeps/ia64/*: Removed.
46499         * sysdeps/unix/sysv/linux/ia64/*: Removed.
46500         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
46502         [BZ #13555]
46503         * configure.in: Remove entries for unsupported architectures.
46505         [BZ #13533]
46506         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
46507         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
46508         routines.
46509         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
46510         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
46511         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
46512         fall back to using wcrtomb.
46513         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
46514         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
46515         renaming.
46516         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
46517         * wcsmbs/tst-c16c32-1.c: New file.
46519         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
46520         local variable.
46522         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
46524         * elf/tst-unique3.cc: Add explicit declaration of gets.
46525         * elf/tst-unique3lib.cc: Likewise.
46526         * elf/tst-unique3lib2.cc: Likewise.
46527         * elf/tst-unique4.cc: Likewise.
46529         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
46531 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
46533         [BZ #13566]
46534         * assert/assert.h (static_assert): Don't define for C++.
46535         * libio/stdio.h (gets): Do declare for C++ <= C++11.
46536         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
46538 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
46540         * iconv/loop.c (single loop): Fix assertion in storing of
46541         remaining bytes.
46543         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
46545 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
46547         * posix/getconf.c: Update copyright year.
46548         * nss/getent.c: Likewise.
46549         * nss/makedb.c: Likewise.
46550         * iconv/iconvconfig.c: Likewise.
46551         * iconv/iconv_prog.c: Likewise.
46552         * elf/ldconfig.c: Likewise.
46553         * elf/pldd.c: Likewise.
46554         * elf/sotruss.ksh: Likewise.
46555         * catgets/gencat.c: Likewise.
46556         * csu/version.c: Likewise.
46557         * elf/ldd.bash.in: Likewise.
46558         * elf/sprof.c (print_version): Likewise.
46559         * locale/programs/locale.c: Likewise.
46560         * locale/programs/localedef.c: Likewise.
46561         * login/programs/pt_chown.c: Likewise.
46562         * nscd/nscd.c (print_version): Likewise.
46563         * debug/xtrace.sh: Likewise.
46564         * malloc/memusage.sh: Likewise.
46565         * malloc/mtrace.pl: Likewise.
46566         * debug/catchsegv.sh: Likewise.
46568 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
46570         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
46571         pure attribute.
46573 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
46575         [BZ #13533]
46576         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
46577         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
46578         transformations.
46579         * iconv/gconv_int.h: Likewise.
46580         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
46581         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
46582         from libc for GLIBC_2.16.
46583         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
46584         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
46585         * wcsmbs/uchar.h: Really define mbstate_t.
46586         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
46587         * wcsmbs/c16rtomb.c: New file.
46588         * wcsmbs/mbrtoc16.c: New file.
46589         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
46590         for C/POSIX locale.
46591         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
46592         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
46594         * wcsmbs/wchar.h: Add missing __restrict.
46596 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
46598         [BZ #13532]
46599         * time/Makefile (routines): Add timespec_get.
46600         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
46601         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
46602         timespec for ISO C11.
46603         * time/timespec_get.c: New file.
46604         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
46605         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
46607         [BZ #13531]
46608         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
46609         * stdlib/stdlib.h: Declare aligned_alloc.
46610         * Versions.def: Add GLIBC_2.16 for libc.
46611         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
46613         [BZ 13527]
46614         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
46615         ISO C11.
46617         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
46618         code.
46620         [BZ #13528]
46621         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
46623         [BZ #13529]
46624         * assert/assert.h (static_assert): Define.
46626         * version.h: Update for 2.16 development version.
46628         [BZ #13526]
46629         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
46630         _ISOC11_SOURCE.
46632         * version.h (RELEASE): Bump for 2.15 release.
46633         * include/features.h (__GLIBC_MINOR__): Bump to 15.
46635         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
46636         Patch by Marek Polacek <mpolacek@redhat.com>.
46638         * bits/byteswap.h: Protect long long constants with __extension__.
46639         * sysdeps/i386/bits/byteswap.h: Likewise.
46640         * sysdeps/ia64/bits/byteswap.h: Likewise.
46641         * sysdeps/s390/bits/byteswap.h: Likewise.
46642         * sysdeps/x86_64/bits/byteswap.h: Likewise.
46644 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46646         [BZ #13540]
46647         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
46648         destination buffer.
46649         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
46651 2011-12-23  Marek Polacek  <polacek@redhat.com>
46653         * elf/dl-addr.c (determine_info): Add inline keyword.
46654         * elf/tst-auditmod4b.c (check_avx): Likewise.
46655         * elf/tst-auditmod6b.c (check_avx): Likewise.
46656         * elf/tst-auditmod6c.c (check_avx): Likewise.
46657         * elf/tst-auditmod7b.c (check_avx): Likewise.
46659 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
46661         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
46662         !__SSE_MATH__.
46664 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46666         [BZ #13540]
46667         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
46668         processing for last bytes.
46670 2011-08-06  Bruno Haible  <bruno@clisp.org>
46672         [BZ #13061]
46673         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
46674         U+0385, not to U+1FEE.
46676         [BZ #13062]
46677         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
46678         entry for U+00A5 U+0301.
46680 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
46682         [BZ #13166]
46683         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
46684         buffer for the output is too small.
46686         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
46687         optimization.
46689         [BZ #13185]
46690         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
46691         SSE flags if possible.
46693 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46695         [BZ #13540]
46696         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
46697         processing for last bytes.
46699 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
46701         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
46702         (syscall-list-default-options, syscall-list-default-condition)
46703         (syscall-list-includes): Define.
46704         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
46705         list of ABIs and options and #if conditions for each ABI.  Do not
46706         handle common syscalls between ABIs specially.
46707         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
46708         Remove.
46709         (syscall-list-variants, syscall-list-32bit-options)
46710         (syscall-list-32bit-condition, syscall-list-64bit-options)
46711         (syscall-list-64bit-condition): Define.
46712         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
46713         (syscall-list-variants, syscall-list-32bit-options)
46714         (syscall-list-32bit-condition, syscall-list-64bit-options)
46715         (syscall-list-64bit-condition): Define.
46716         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
46717         Remove.
46718         (syscall-list-variants, syscall-list-32bit-options)
46719         (syscall-list-32bit-condition, syscall-list-64bit-options)
46720         (syscall-list-64bit-condition): Define.
46721         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
46722         Remove.
46723         (syscall-list-variants, syscall-list-32bit-options)
46724         (syscall-list-32bit-condition, syscall-list-64bit-options)
46725         (syscall-list-64bit-condition): Define.
46727 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
46729         * locale/iso-639.def: Add brx entry.
46731         [BZ #13328]
46732         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
46733         Proposed by Mariusz_Cukr <marcukr@op.pl>.
46735         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
46736         __feraiseexcept_renamed.
46738 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
46740         [BZ #13538]
46741         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
46742         EPOLLET with unsigned values.
46743         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46744         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
46746         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
46747         to large cancellation.
46748         * math/s_cacoshf.c: Likewise.
46749         * math/s_cacoshl.c: Likewise.
46751 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
46753         [BZ #13305]
46754         [BZ #12786]
46755         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
46756         * math/s_cacoshf.c: Likewise.
46757         * math/s_cacoshl.c: Likewise.
46759 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
46761         [BZ #13439]
46762         * iconv/gconv.h: Define __GCONV_SWAP.
46763         * iconvdata/unicode.c: The swap bit must be stored in __flags.
46764         * iconvdata/utf-16.c: Likewise.
46765         * iconvdata/utf-32.c: Likewise.
46767 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
46769         [BZ #13524]
46770         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
46771         numerator after shifting it by one limb.
46773 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
46775         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
46776         under [__USE_EXTERN_INLINES].
46778 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
46780         [BZ #13446]
46781         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
46783 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46785         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
46786         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
46787         optimized code.
46788         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
46789         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
46790         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
46791         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
46792         for strncasecmp/strncasecmp_l compilation.
46793         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
46794         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
46796 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
46798         [BZ #13484]
46799         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
46800         of __asm__.
46802 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
46804         [BZ #13506]
46805         * time/tzfile.c (__tzfile_read): Check values from file header.
46807 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
46809         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
46810         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
46811         * powerpc/powerpc32/dl-start.S: Likewise.
46812         * powerpc/powerpc32/elf/start.S: Likewise.
46813         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
46814         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
46815         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
46816         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
46817         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
46818         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
46819         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
46820         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
46821         * powerpc/powerpc32/fpu/s_round.S: Likewise.
46822         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
46823         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
46824         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
46825         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
46826         * powerpc/powerpc32/memset.S: Likewise.
46827         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
46828         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
46829         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
46830         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
46831         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
46832         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
46833         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
46834         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
46835         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
46836         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
46837         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
46838         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
46839         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
46841 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46843         * math/libm-test.inc: Added more nearbyint tests.
46844         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
46845         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
46846         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
46847         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
46849 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
46851         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
46852         FD_CLOEXEC.
46854 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46856         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
46857         Add wcscpy-ssse3 wcscpy-c.
46858         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
46859         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
46860         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
46861         * sysdeps/x86_64/wcschr.S: New file.
46862         * sysdeps/x86_64/wcsrchr.S: New file.
46863         * string/test-strcmp.c: Remove checking of wcscmp function for
46864         wrong alignments.
46865         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
46866         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
46867         wcsrchr-sse2 wcsrchr-c.
46868         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
46869         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
46870         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
46871         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
46872         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
46873         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
46874         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
46875         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
46876         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
46877         * wcsmbc/wcschr.c (WCSCHR): New macro.
46879 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46881         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
46882         * wcsmbs/test-wcsrchr.c: New file.
46883         * string/test-strrchr.c: Add wcsrchr support.
46884         (WIDE): New macro.
46885         * wcsmbs/test-wcscpy.c: New file.
46886         * string/test-strcpy.c: Add wcscpy support.
46887         (WIDE): New macro.
46889 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
46891         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
46892         the inner loop.
46894 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
46896         [BZ #13472]
46897         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
46899 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
46901         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
46902         Minor optimizations.
46904         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
46905         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
46906         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
46908 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
46910         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
46911         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
46912         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
46913         for gcc to avoid warnings.
46914         * inet/Makefile (tests): Add tst-checks.
46915         * inet/tst-checks.c: New file.
46917         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
46918         warning.
46920         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
46921         __wmemcmp_sse2.
46923         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
46924         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
46926         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
46928 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
46930         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
46931         problem.
46933         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
46935 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
46937         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
46938         conditional on GCC version.
46939         (__arch_compare_and_exchange_val_8_acq)
46940         (__arch_compare_and_exchange_val_16_acq)
46941         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
46942         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
46943         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
46945 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
46947         * sysdeps/sh/backtrace.c: New file.
46949 2011-12-02  Andreas Schwab  <schwab@redhat.com>
46951         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
46952         parenthesis.
46954 2011-12-01  Andreas Schwab  <schwab@redhat.com>
46956         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
46957         falling back to utime.
46959 2011-11-30  Andreas Schwab  <schwab@redhat.com>
46961         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
46962         expectations for float.
46964 2011-11-29  Andreas Schwab  <schwab@redhat.com>
46966         * locale/weight.h (findidx): Add parameter len.
46967         * locale/weightwc.h (findidx): Likewise.
46968         * posix/fnmatch_loop.c (FCT): Adjust caller.
46969         * posix/regcomp.c (build_equiv_class): Likewise.
46970         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
46971         * posix/regexec.c (check_node_accept_bytes): Likewise.
46972         * string/strcoll_l.c (STRCOLL): Likewise.
46973         * string/strxfrm_l.c (STRXFRM): Likewise.
46975 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
46977         * Makefile.in: Remove CVSOPT handling.
46978         * configure.in: Remove use of AC_REVISION.
46979         * iconvdata/Makefile (distribute): No need to filter out CVS.
46980         * scripts/list-sources.sh: Remove CVS, subversion and monotone
46981         handling.
46983 2011-11-16  Andreas Schwab  <schwab@redhat.com>
46985         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
46986         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
46987         [USE_AS_STRNCASECMP_L]: Likewise.
46988         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
46989         NO_TLS_DIRECT_SEG_REFS.
46990         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
46991         Fix argument offsets for non-PIC.
46992         [USE_AS_STRNCASECMP_L]: Likewise.
46993         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
46994         NO_TLS_DIRECT_SEG_REFS.
46996 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
46998         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
46999         O_CLOEXEC.
47000         * locale/loadlocale.c (_nl_load_locale): Likewise.
47002 2011-11-15  Andreas Schwab  <schwab@redhat.com>
47004         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
47005         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
47006         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
47007         (SYSCALL_GETTIME): Set errno on error.
47009         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
47010         count references to noai6ai_cached.
47012 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
47014         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
47016         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
47017         FD_CLOEXEC for /proc/self/maps.
47019         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
47020         FD_CLOEXEC for /proc/meminfo.
47022         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
47023         gai.conf.
47025         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
47026         FD_CLOEXEC for given file.
47028         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
47030         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
47031         FD_CLOEXEC for /etc/hosts.
47032         (_gethtent): Likewise.
47034         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
47036         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
47037         cancellation and set FD_CLOEXEC for /etc/netgroup.
47039         * nss/nss_files/files-key.c (search): Don't allow cancellation when
47040         reading /etc/publickey.
47042         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
47043         allow cancellation when reading /etc/group.
47045         * nss/nss_files/files-alias.c (internal_setent): Don't allow
47046         cancellation.
47047         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
47049         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
47050         when using data file.
47052         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
47054         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
47055         (write_nis_obj): Use "c" and "e" in fopen.
47057         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
47059         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
47061         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
47063         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
47065         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
47066         locale.alias.
47068         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
47070         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
47072         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
47074         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
47075         file parsing and set FD_CLOEXEC.
47077 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
47079         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
47081 2011-11-14  Andreas Schwab  <schwab@redhat.com>
47083         * malloc/arena.c (arena_get2): Don't call reused_arena when
47084         _int_new_arena failed.
47086 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
47088         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
47089         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
47090         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
47091         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47092         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47093         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
47094         to compile strcasecmp and strncasecmp.
47095         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
47096         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
47098         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
47100 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
47102         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
47103         locale-defines.sym to gen-as-const-headers.
47104         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
47105         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
47106         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
47107         to compile strcasecmp and strncasecmp.
47108         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
47109         strcasecmp_l and strncasecmp_l.
47110         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
47111         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
47112         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
47113         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
47114         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
47115         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
47116         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
47117         * sysdeps/i386/i686/multiarch/strncase.S: New file.
47118         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
47119         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
47120         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
47122 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
47124         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
47125         result of SYSDEP_GETTIME_CPU to retval.
47126         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
47127         parameter list to macro.  Remove trailing semicolon.  Adjust users.
47129         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
47130         variable.
47132         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
47133         mantissa words.
47134         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
47136         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
47137         from unused variable.
47139         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
47140         DWARF definitions.
47141         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
47142         for assembling.
47144         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
47145         over namespaces.
47147         * sunrpc/rpc_prot.c (rejected): Fix case value.
47149         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
47150         unsigned long long int to avoid warnings in shift.
47152         * posix/regex_internal.c (re_string_reconstruct): Actually use result
47153         of use of trans.
47154         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
47155         variable tmp.
47157         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
47158         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
47159         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
47161         * nis/nis_table.c (nis_list): Use variable of correct type for
47162         result of __follow_path call.
47164 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47166         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
47167         of math functions ceil, trunc, floor, round, and sqrt, when
47168         avaliable on the platform.
47169         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
47170         name clash.
47171         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47172         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47173         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47175 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
47177         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
47178         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
47180 2011-11-11  Roland McGrath  <roland@hack.frob.com>
47182         * include/unistd.h: Fix __readlink return type.
47183         Reported by Chris Metcalf <cmetcalf@tilera.com>.
47185 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
47187         * stdlib/ucontext.h: Undo last change for makecontext.
47189 2011-11-11  Andreas Schwab  <schwab@redhat.com>
47191         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
47193         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
47194         * setjmp/setjmp.h: Mark functions as non-leaf.
47195         * setjmp/bits/setjmp2.h: Likewise.
47196         * stdlib/ucontext.h: Likewise.
47198 2011-11-10  Andreas Schwab  <schwab@redhat.com>
47200         * malloc/arena.c (_int_new_arena): Don't increment narenas.
47201         (reused_arena): Don't check arena limit.
47202         (arena_get2): Atomically check arena limit.
47204 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
47206         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
47207         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
47209         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
47210         instructions.
47212 2011-11-07  Andreas Schwab  <schwab@redhat.com>
47214         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
47215         handler when locking.
47217         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47218         Fix size of allocated buffer.
47220 2011-11-04  Andreas Schwab  <schwab@redhat.com>
47222         [BZ #10103]
47223         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
47224         declarations for long double functions.
47225         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
47227         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
47229 2011-11-03  Andreas Schwab  <schwab@redhat.com>
47231         * nscd/nscd.c (main): Don't start AVC thread until credentials are
47232         installed.
47234         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
47235         is disabled.
47237 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47239         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
47241 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
47243         * include/alloca.h (stackinfo_alloca_round): Define.
47244         (extend_alloca): Use it.
47245         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
47246         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
47247         here.
47249         * scripts/check-local-headers.sh: Ignore libaudit.h.
47251         * nscd/Makefile (extra-objs): Make recursively expanded.
47253 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
47255         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
47256         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
47258         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
47259         * posix/tst-rfc3484-2.c: Likewise.
47260         * posix/tst-rfc3484-3.c: Likewise.
47262         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
47263         process_vm_writev.
47264         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
47265         process_vm_writev.
47266         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
47267         process_vm_writev from libc using GLIBC_2.15 version.
47269         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
47271 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
47273         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
47274         stack usage.
47276 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
47278         [BZ #13367]
47279         * nss/getent.c (initgroups_keys): Show error message in case no group
47280         names are given.
47282         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
47283         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
47284         __bump_nl_timestamp.
47285         * nscd/connections (nscd_init): When host database is served open
47286         netlink socket and request notification about configuration changes.
47287         (main_loop_poll): Track netlink file descriptor and bump timestamp
47288         in case data becomes available.
47289         (main_loop_epoll): Likewise.
47290         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
47291         (database_pers_head): Add extra_data fileds.
47292         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
47293         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
47294         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
47295         Adjust caller.
47296         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
47297         in6ai data, call __free_in6ai.
47298         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
47299         Add -DHAVE_NETLINK.
47300         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
47301         interface information.  Reuse previous data if netlink timestamp
47302         is not changed.
47303         (__bump_nl_timestamp): New function.
47304         (__free_in6ai): New function.
47306 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
47308         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
47309         close_not_cancel_no_status here.
47310         (__check_pf): Reorganize code a bit to not call close twice if OOM.
47312 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
47314         [BZ #13276]
47315         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
47316         return value.
47318         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
47319         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
47320         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
47322 2011-07-03  Andreas Jaeger  <aj@suse.de>
47324         [BZ #10709]
47325         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
47326         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
47327         * math/libm-test.inc (sin_test): Add test case.
47329 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
47331         [BZ #13337]
47332         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
47333         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
47335         * elf/chroot_canon.c (chroot_canon): Cleanups.
47337         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
47339         [BZ #13335]
47340         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
47341         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
47343         * string/test-strchr.c: Make usable for strchrnul testing.
47344         * string/test-strchrnul.c: New file.
47345         * string/Makefile (strop-tests): Add strchrnul.
47347         * po/it.po: Update from translation team.
47348         * po/es.po: Likewise.
47350 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
47352         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
47353         the three constants needed as parameters.  Drop the others.
47354         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
47355         __m128i_strloadu_tolower.
47356         Create and initialize variable zero and use it in all the places
47357         where _mm_setzero_si128 was used.
47359         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
47360         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
47361         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
47362         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
47363         anymore.
47364         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
47365         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
47366         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
47367         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
47368         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
47369         __mpranred, __mptan.
47370         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
47371         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
47372         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
47373         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
47374         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
47375         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
47376         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
47377         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
47378         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
47380 2011-10-28  Andreas Schwab  <schwab@redhat.com>
47382         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
47383         redefine if SHARED.
47384         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
47386         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
47387         wide char related routines to wcsmbs subdir.
47389 2011-10-27  Andreas Schwab  <schwab@redhat.com>
47391         [BZ #13344]
47392         * misc/sys/cdefs.h (__THROWNL): Define.
47393         * posix/unistd.h: Use __THREADNL instead of __THREAD
47394         for memory synchronization functions.
47396 2011-10-26  Roland McGrath  <roland@hack.frob.com>
47398         [BZ #13349]
47399         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
47400         doesn't exist.
47401         * manual/stdio.texi (Obstack Streams): Node removed.
47403 2011-10-26  Andreas Schwab  <schwab@redhat.com>
47405         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
47406         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47407         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47409         * math/math_private.h (math_force_eval): Allow non-addressable
47410         arguments.
47411         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
47413 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
47415         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
47416         file is not needed.
47418         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
47419         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
47420         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47421         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47422         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47423         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47424         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47425         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
47426         Add AVX variants.
47427         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
47428         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
47429         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
47430         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
47431         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
47432         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
47433         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
47434         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
47435         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
47436         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
47437         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
47438         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
47439         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
47440         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
47441         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
47442         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
47443         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
47444         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
47445         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
47447         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
47448         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
47450         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
47451         place.  Use VEX encoding when compiling for AVX.
47453 2011-10-25  Andreas Schwab  <schwab@redhat.com>
47455         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
47456         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
47458         * string/test-strchr.c (do_test): Don't generate NUL bytes.
47460 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
47462         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
47463         useless if() expression.
47464         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47465         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47466         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47467         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47468         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47469         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47470         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47471         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47472         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47473         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47474         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47475         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47476         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
47477         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47478         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
47479         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47480         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47481         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47482         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
47484         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
47486 2011-10-25  Andreas Schwab  <schwab@redhat.com>
47488         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
47489         condition.
47490         * elf/dl-fini.c (_dl_sort_fini): Likewise.
47492 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
47494         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
47495         .text section.  Avoid duplicate constants.
47496         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47497         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47498         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47499         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47500         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47501         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47502         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47503         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47504         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
47505         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
47506         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
47507         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
47508         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
47509         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
47510         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
47511         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
47512         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
47513         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
47514         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47515         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47516         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47517         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47518         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47519         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
47520         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
47521         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
47522         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
47523         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
47524         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
47525         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
47526         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
47527         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
47528         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
47529         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
47530         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
47531         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
47532         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
47533         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
47534         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
47535         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
47536         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
47537         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
47538         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
47539         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
47540         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
47542 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
47544         * sysdeps/x86_64/dla.h: Move to ...
47545         * sysdeps/x86_64/fpu/dla.h: ...here.
47546         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
47547         situations.  Use __builtin_fma only for gcc 4.6 and up.
47549         * config.make.in: Add have-mfma4 entry.
47550         * configure.in: Substitute libc_cv_cc_fma4.
47551         * math/Makefile (dbl-only-routines): Add sincostab.
47552         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
47553         Use __sincostab not sincos.
47554         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
47555         name is a macro.
47556         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47557         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47558         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47559         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
47560         using __copysign.
47561         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
47562         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
47563         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
47564         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
47565         and __inv.
47566         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
47567         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
47568         __copysign.
47569         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
47570         define aliases when function name is a macro.
47571         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
47572         sysdeps/ieee754/dbl-64/sincos.tbl.
47573         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
47574         fma4-enabled routines.
47575         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
47576         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
47577         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
47578         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
47579         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
47580         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
47581         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
47582         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
47583         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
47584         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
47585         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
47586         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
47587         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
47588         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
47589         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
47590         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
47591         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
47592         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
47593         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
47594         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
47595         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
47596         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
47597         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
47598         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
47599         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
47600         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
47601         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
47602         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
47603         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
47604         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
47606         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
47607         rename.
47608         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47609         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47610         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47611         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47612         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47613         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47614         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47615         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47617 2011-10-24  Andreas Schwab  <schwab@redhat.com>
47619         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
47621 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
47623         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
47625         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
47626         prediction.
47627         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
47629         * string/strnlen.c: Don't define STRNLEN, reverse logic.
47630         Remove unused variable magic_bits.
47631         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
47633         * string/strnlen.c: Define and use STRNLEN macro.
47634         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
47635         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
47636         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
47637         * wcsmbs/wcslen.c: Define and use WCSLEN.
47638         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
47639         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
47640         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
47641         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
47642         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
47643         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
47644         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47646 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47648         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47649         strnlen-sse2-no-bsf.
47650         Rename strlen-no-bsf to strlen-sse2-no-bsf.
47651         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
47652         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
47653         Add strnlen support.
47654         (USE_AS_STRNLEN): New macro.
47655         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
47656         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
47657         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
47658         * sysdeps/x86_64/wcslen.S: New file.
47660 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
47662         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
47663         XMM-moves are used for copying on small sizes.
47665 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47667         * wcsmbs/Makefile (strop-tests): Add wcschr.
47668         * wcsmbs/test-wcschr.c: New file.
47669         * string/test-strchr.c: Update.
47670         Add wcschr support.
47671         (WIDE): New macro.
47673 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47675         * wcsmbs/Makefile (strop-tests): Add wcslen.
47676         * wcsmbs/test-wcslen.c: New file.
47677         * string/test-strlen.c: Update.
47678         Add wcslen support.
47679         (WIDE): New macro.
47681 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
47683         * po/it.po: Update from translation team.
47685 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47687         * sysdeps/x86_64/wcscmp.S: Update.
47688         Fix wrong comparison semantics.
47689         wcscmp shall use signed comparison not unsigned.
47690         Don't use substraction to avoid overflow bug.
47691         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
47692         * wcsmbc/wcscmp.c: Likewise.
47693         * string/test-strcmp.c: Likewise.
47694         Add new tests to check cases with negative values.
47696 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
47698         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
47699         * sysdeps/x86_64/dla.h: ...here.  New file.
47700         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
47701         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47702         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47703         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47704         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47705         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47706         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47707         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47708         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47710 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
47712         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
47713         __ynl_finite aliases.
47715 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
47717         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47719         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
47720         define DLA_FMA.
47721         [DLA_FMA] (EMULV): Use DLA_FMA.
47722         [DLA_FMA] (MUL12): Use EMULV.
47723         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
47724         that are not needed.
47725         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47726         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47727         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47728         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47729         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47730         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47731         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47733 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
47735         * math/s_nan.c: Undef __nan.
47736         * math/s_nanf.c: Undef __nanf.
47737         * math/s_nanl.c: Undef __nanl.
47738         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
47739         "math_private.h".
47741 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
47743         * math/s_catan.c: Add branch predictions.
47744         * math/s_catanf.c: Likewise.
47745         * math/s_catanh.c: Likewise.
47746         * math/s_catanhf.c: Likewise.
47747         * math/s_catanhl.c: Likewise.
47748         * math/s_catanl.c: Likewise.
47749         * math/s_cexp.c: Likewise.
47750         * math/s_cexpf.c: Likewise.
47751         * math/s_cexpl.c: Likewise.
47752         * math/s_clog.c: Likewise.
47753         * math/s_clog10.c: Likewise.
47754         * math/s_clog10f.c: Likewise.
47755         * math/s_clog10l.c: Likewise.
47756         * math/s_clogf.c: Likewise.
47757         * math/s_clogl.c: Likewise.
47758         * math/s_csqrt.c: Likewise.
47759         * math/s_csqrtf.c: Likewise.
47760         * math/s_csqrtl.c: Likewise.
47761         * math/s_ctanf.c: Likewise.
47762         * math/s_ctanh.c: Likewise.
47763         * math/s_ctanhf.c: Likewise.
47764         * math/s_ctanhl.c: Likewise.
47765         * math/s_ctanl.c: Likewise.
47767         * math/math_private.h: Define __nan, __nanf, __nanl.
47768         * math/s_cacosh.c: Include <math_private.h>.
47769         * math/s_cacoshl.c: Likewise.
47770         * math/s_casinh.c: Likewise.
47771         * math/s_casinhf.c: Likewise.
47772         * math/s_casinhl.c: Likewise.
47773         * math/s_ccos.c: Rely entire on ccosh.
47774         * math/s_ccosf.c: Rely entire on ccoshf.
47775         * math/s_ccosl.c: Rely entirely on ccoshl.
47776         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
47777         Remove tests for FE_INVALID.
47778         * math/s_ccoshf.c: Likewise.
47779         * math/s_ccoshl.c: Likewise.
47780         * math/s_csin.c: Likewise.
47781         * math/s_csinf.c: Likewise.
47782         * math/s_csinh.c Likewise.
47783         * math/s_csinhf.c: Likewise.
47784         * math/s_csinhl.c: Likewise.
47785         * math/s_csinl.c: Likewise.
47786         * math/s_ctan.c: Likewise.
47787         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
47788         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
47789         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
47791 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
47793         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
47794         compilation problems.
47796         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
47797         __builtin_expect.
47799 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
47801         * sysdeps/i386/configure.in: Test for -mfma4 option.
47802         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
47803         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
47804         COMMON_CPUID_INDEX_80000001.
47805         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
47806         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
47807         use it if FMA3 is not supported.
47808         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
47810         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
47811         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47813 2011-10-20  Andreas Schwab  <schwab@redhat.com>
47815         [BZ #12892]
47816         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
47817         it would create a cycle with a link time dependency.
47819 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
47821         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
47822         instruction.
47823         * string/Makefile (strop-tests): Add rawmemchr.
47824         * string/test-rawmemchr.c: New file.
47826         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
47827         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
47828         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
47829         when compiling str{,n}casecmp and when AVX is available.  Hook up
47830         new optimized code in initializers.
47832 2011-10-19  Andreas Schwab  <schwab@redhat.com>
47834         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
47835         __feraiseexcept instead of feraiseexcept.
47837 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
47839         * math/math_private.h: Define defaults for libc_fetestexcept and
47840         libc_feupdateenv.
47841         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
47842         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
47843         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
47844         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
47845         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47846         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
47847         libc_fetestexcept and libc_feupdateenv.
47849         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
47850         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
47851         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
47852         * sysdeps/x86_64/fpu/math_private.h: Define special version of
47853         libc_feholdexcept_setround.
47855         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
47856         Add s_nearbyint-c and s_nearbyintf-c.
47857         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
47858         nearbyintf inlines.
47859         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
47860         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
47861         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
47862         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
47864         * math/math_private.h: Define defaults for libc_fegetround,
47865         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
47866         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
47867         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
47868         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
47869         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
47870         standard functions.
47871         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47872         Remove comments and hacks for old compiler versions.
47873         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
47874         libc_fegetround, libc_fesetround, libc_feholdexcept, and
47875         libc_feholdexceptl.
47877 2011-10-18  Andreas Schwab  <schwab@redhat.com>
47879         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
47880         (__feraiseexcept_renamed): Add __NTH.
47881         (feraiseexcept): Add __NTH.  Rename local variables to fix
47882         namespace violations.
47884 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
47886         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
47888         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
47890         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
47891         recently added interfaces.
47892         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
47894         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
47895         about macro parameter expansion.
47897         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
47898         __NO_MATH_INLINES is defined.  Cleanups.
47900         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
47901         and __floorf is target has SSE4.1.
47902         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
47903         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
47904         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
47905         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
47907         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
47908         name.
47909         (floorf): Likewise.
47911         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
47913 2011-10-17  Andreas Schwab  <schwab@redhat.com>
47915         * misc/sys/cdefs.h: Fix last change.
47917         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
47918         database lookup.
47920 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
47922         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
47924         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
47925         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47926         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47927         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47928         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47929         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47930         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47931         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47932         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47933         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
47934         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
47935         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
47936         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
47937         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
47938         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
47939         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
47940         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
47941         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
47942         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
47943         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
47944         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
47945         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
47947         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
47948         ceil, ceilf, floor, floorf.
47950         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
47951         Perform IRELATIVE relocations last.
47953         * elf/do-rel.h: Add another parameter nrelative, replacing the
47954         local variable with the same name.  Change name of the function
47955         to end in Rel or Rela (uppercase).
47956         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
47957         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
47958         elf_dynamic_do_##reloc function.
47960 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
47962         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
47963         is sufficient, at least on modern CPUs.
47965         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
47967         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
47968         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
47970         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
47971         __expl_finite.
47972         * math/bits/math-finite.h: Add entries for exp.
47973         * math/e_expl.c: Add __*_finite alias.
47974         * sysdeps/i386/fpu/e_exp.S: Likewise.
47975         * sysdeps/i386/fpu/e_expf.S: Likewise.
47976         * sysdeps/i386/fpu/e_expl.c: Likewise.
47977         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47978         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
47979         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47980         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47981         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
47982         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47983         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47985         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
47986         is sufficient, at least on modern CPUs.
47988         * ctype/ctype-info.c (__ctype_init): Define.
47989         * include/ctype.h (__ctype_init): Declare.
47990         (__ctype_b_loc): The variable is always initialized.
47991         (__ctype_toupper_loc): Likewise.
47992         (__ctype_tolower_loc): Likewise.
47993         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
47994         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
47996 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
47998         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
48000         * configure.in: Also look in $cxxmachine/include for C++ system
48001         headers.
48003 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48005         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
48006         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
48007         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
48008         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
48009         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
48010         (USE_AS_WMEMCMP): New macro.
48011         Fixing indents.
48012         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
48013         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
48014         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
48015         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
48016         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48017         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
48018         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
48019         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
48020         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
48021         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
48022         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
48023         (USE_AS_WMEMCMP): New macro.
48024         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
48025         * sysdeps/string/test-memcmp.c: Update.
48026         Fix simple_wmemcmp.
48027         Add new tests.
48028         * wcsmbs/wmemcmp.c: Update.
48029         (WMEMCMP): New macro.
48030         Fix overflow bug.
48032 2011-10-12  Andreas Jaeger  <aj@suse.de>
48034         [BZ #13268]
48035         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
48037 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
48039         * libio/iofwide.c (do_length): Avoid warning.
48041         * ctype/ctype.h (__isctype_f): Add missing __THROW.
48043 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
48045         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
48047         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
48048         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
48049         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
48050         * sysdeps/i386/i686/fpu/e_log.S: New file.
48051         * sysdeps/i386/i686/fpu/e_logf.S: New file.
48052         * sysdeps/i386/i686/fpu/e_logl.S: New file.
48054         * ctype/ctype.h: Add support for inlined isXXX functions when
48055         compiling C++ code.
48057 2011-10-14  Andreas Schwab  <schwab@redhat.com>
48059         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48061         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
48063 2011-10-13  Roland McGrath  <roland@hack.frob.com>
48065         [BZ #13291]
48066         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
48068 2011-10-13  Andreas Schwab  <schwab@redhat.com>
48070         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
48071         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
48072         feraiseexcept.
48074         * sysdeps/x86_64/memrchr.S: Check for zero size.
48076         * string/stratcliff.c: Add memrchr tests.
48078 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48080         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48081         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
48082         rawmemchr-sse2 rawmemchr-sse2-bsf.
48083         * sysdeps/i386/i686/multiarch/memchr.S: New file.
48084         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
48085         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
48086         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
48087         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
48088         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
48089         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
48090         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
48091         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
48092         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
48093         * string/memrchr.c (MEMRCHR): New macro.
48095 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
48097         Add integration with gcc's -ffinite-math-only and optimize wrapper
48098         functions in libm.
48099         * Versions.def: Define GLIBC_2.15 version for libm.
48100         * math/Makefile (headers): Add bits/math-finite.h.
48101         * math/bits/math-finite.h: New file.
48102         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
48103         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
48104         * math/e_acoshl.c: Add __*_finite alias.
48105         * math/e_acosl.c: Likewise.
48106         * math/e_asinl.c: Likewise.
48107         * math/e_atan2l.c: Likewise.
48108         * math/e_atanhl.c: Likewise.
48109         * math/e_coshl.c: Likewise.
48110         * math/e_exp10.c: Likewise.
48111         * math/e_exp10f.c: Likewise.
48112         * math/e_exp10l.c: Likewise.
48113         * math/e_exp2l.c: Likewise.
48114         * math/e_fmodl.c: Likewise.
48115         * math/e_gammal_r.c: Likewise.
48116         * math/e_hypotl.c: Likewise.
48117         * math/e_j0l.c: Likewise.
48118         * math/e_j1l.c: Likewise.
48119         * math/e_jnl.c: Likewise.
48120         * math/e_lgammal_r.c: Likewise.
48121         * math/e_log10l.c: Likewise.
48122         * math/e_log2l.c: Likewise.
48123         * math/e_logl.c: Likewise.
48124         * math/e_powl.c: Likewise.
48125         * math/e_sinhl.c: Likewise.
48126         * math/e_sqrtl.c: Likewise.
48127         * math/e_scalb.c: Completely rewritten and optimized.
48128         * math/e_scalbf.c: Likewise.
48129         * math/e_scalbl.c: Likewise.
48130         * math/w_acos.c: Likewise.
48131         * math/w_acosf.c: Likewise.
48132         * math/w_acosl.c: Likewise.
48133         * math/w_acosh.c: Likewise.
48134         * math/w_acoshf.c: Likewise.
48135         * math/w_acoshl.c: Likewise.
48136         * math/w_asin.c: Likewise.
48137         * math/w_asinf.c: Likewise.
48138         * math/w_asinl.c: Likewise.
48139         * math/w_atan2.c: Likewise.
48140         * math/w_atan2f.c: Likewise.
48141         * math/w_atan2l.c: Likewise.
48142         * math/w_atanh.c: Likewise.
48143         * math/w_atanhf.c: Likewise.
48144         * math/w_atanhl.c: Likewise.
48145         * math/w_exp10.c: Likewise.
48146         * math/w_exp10f.c: Likewise.
48147         * math/w_exp10l.c: Likewise.
48148         * math/w_fmod.c: Likewise.
48149         * math/w_fmodf.c: Likewise.
48150         * math/w_fmodl.c: Likewise.
48151         * math/w_j0.c: Likewise.
48152         * math/w_j0f.c: Likewise.
48153         * math/w_j0l.c: Likewise.
48154         * math/w_j1.c: Likewise.
48155         * math/w_j1f.c: Likewise.
48156         * math/w_j1l.c: Likewise.
48157         * math/w_jn.c: Likewise.
48158         * math/w_jnf.c: Likewise.
48159         * math/w_log.c: Likewise.
48160         * math/w_logf.c: Likewise.
48161         * math/w_logl.c: Likewise.
48162         * math/w_log10.c: Likewise.
48163         * math/w_log10f.c: Likewise.
48164         * math/w_log10l.c: Likewise.
48165         * math/w_log2.c: Likewise.
48166         * math/w_log2f.c: Likewise.
48167         * math/w_log2l.c: Likewise.
48168         * math/w_pow.c: Likewise.
48169         * math/w_powf.c: Likewise.
48170         * math/w_powl.c: Likewise.
48171         * math/w_remainder.c: Likewise.
48172         * math/w_remainderf.c: Likewise.
48173         * math/w_remainderl.c: Likewise.
48174         * math/w_scalb.c: Likewise.
48175         * math/w_scalbf.c: Likewise.
48176         * math/w_scalbl.c: Likewise.
48177         * math/w_sqrt.c: Likewise.
48178         * math/w_sqrtf.c: Likewise.
48179         * math/w_sqrtl.c: Likewise.
48180         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
48181         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
48182         used.
48183         * math/math_private.h: Declare __kernel_standard_f.
48184         * math/w_cosh.c: Remove cruft and optimize a bit.
48185         * math/w_coshf.c: Likewise.
48186         * math/w_coshl.c: Likewise.
48187         * math/w_exp2.c: Likewise.
48188         * math/w_exp2f.c: Likewise.
48189         * math/w_exp2l.c: Likewise.
48190         * math/w_hypot.c: Likewise.
48191         * math/w_hypotf.c: Likewise.
48192         * math/w_hypotl.c: Likewise.
48193         * math/w_lgamma.c: Likewise.
48194         * math/w_lgamma_r.c: Likewise.
48195         * math/w_lgammaf.c: Likewise.
48196         * math/w_lgammaf_r.c: Likewise.
48197         * math/w_lgammal.c: Likewise.
48198         * math/w_lgammal_r.c: Likewise.
48199         * math/w_sinh.c: Likewise.
48200         * math/w_sinhf.c: Likewise.
48201         * math/w_sinhl.c: Likewise.
48202         * math/w_tgamma.c: Likewise.
48203         * math/w_tgammaf.c: Likewise.
48204         * math/w_tgammal.c: Likewise.
48205         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48206         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48207         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
48208         Minor optimizations.  Pretty printing.  Remove cruft.
48209         * sysdeps/i386/fpu/e_acosf.S: Likewise.
48210         * sysdeps/i386/fpu/e_acosh.S: Likewise.
48211         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48212         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48213         * sysdeps/i386/fpu/e_acosl.c: Likewise.
48214         * sysdeps/i386/fpu/e_asin.S: Likewise.
48215         * sysdeps/i386/fpu/e_asinf.S: Likewise.
48216         * sysdeps/i386/fpu/e_atan2.S: Likewise.
48217         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
48218         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
48219         * sysdeps/i386/fpu/e_atanh.S: Likewise.
48220         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48221         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48222         * sysdeps/i386/fpu/e_exp10.S: Likewise.
48223         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
48224         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
48225         * sysdeps/i386/fpu/e_exp2.S: Likewise.
48226         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
48227         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
48228         * sysdeps/i386/fpu/e_fmod.S: Likewise.
48229         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
48230         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
48231         * sysdeps/i386/fpu/e_hypot.S: Likewise.
48232         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
48233         * sysdeps/i386/fpu/e_log.S: Likewise.
48234         * sysdeps/i386/fpu/e_log10.S: Likewise.
48235         * sysdeps/i386/fpu/e_log10f.S: Likewise.
48236         * sysdeps/i386/fpu/e_log10l.S: Likewise.
48237         * sysdeps/i386/fpu/e_log2.S: Likewise.
48238         * sysdeps/i386/fpu/e_log2f.S: Likewise.
48239         * sysdeps/i386/fpu/e_log2l.S: Likewise.
48240         * sysdeps/i386/fpu/e_logf.S: Likewise.
48241         * sysdeps/i386/fpu/e_logl.S: Likewise.
48242         * sysdeps/i386/fpu/e_pow.S: Likewise.
48243         * sysdeps/i386/fpu/e_powf.S: Likewise.
48244         * sysdeps/i386/fpu/e_powl.S: Likewise.
48245         * sysdeps/i386/fpu/e_remainder.S: Likewise.
48246         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
48247         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
48248         * sysdeps/i386/fpu/e_scalb.S: Likewise.
48249         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48250         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48251         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
48252         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
48253         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
48254         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48255         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48256         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48257         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48258         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48259         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48260         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
48261         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48262         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48263         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48264         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48265         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48266         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48267         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48268         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48269         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48270         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48271         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48272         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48273         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48274         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48275         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48276         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48277         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48278         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48279         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48280         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
48281         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48282         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
48283         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48284         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48285         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48286         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48287         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48288         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48289         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48290         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48291         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48292         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48293         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48294         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48295         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48296         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48297         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48298         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48299         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48300         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48301         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48302         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48303         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
48304         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48305         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48306         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48307         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48308         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48309         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48310         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48311         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48312         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48313         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48314         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48315         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48316         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48317         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48318         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48319         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48320         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48321         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48322         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
48323         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48324         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48325         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48326         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48327         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48328         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48329         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48330         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
48331         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48332         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48333         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48334         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48335         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48336         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
48337         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48338         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48339         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48340         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48341         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48342         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48343         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48344         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48345         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48346         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48347         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
48348         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48349         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
48350         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
48351         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
48352         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
48353         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
48354         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
48355         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
48356         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
48357         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
48358         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48359         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48360         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48361         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48362         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
48363         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48364         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
48365         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
48366         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
48367         (__isnanf): Likewise.
48368         (__isinf_ns): Likewise.
48369         (__isinf_nsf): Likewise.
48370         (__finite): Likewise.
48371         (__finitef): Likewise.
48372         (__ieee754_sqrt): Define as macro.
48373         (__ieee754_sqrtf): Define as macro.
48374         (__ieee754_sqrtl): Define as macro.
48375         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
48376         inlined copy.
48377         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
48378         __FINITE_MATH_ONLY__ consistent.
48379         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
48381 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
48383         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
48384         of rawmemchr.
48386         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
48388 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
48390         * po/ja.po: Update from translation team.
48392 2011-10-08  Roland McGrath  <roland@hack.frob.com>
48394         * locale/programs/locarchive.c (prepare_address_space): New function.
48395         (create_archive, enlarge_archive, open_archive): Use it.
48397         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
48398         inside [SHARED], where it is used.
48400         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
48402         * nss/getent.c (netgroup_keys): Remove unused variable.
48403         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48405 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
48407         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
48408         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
48409         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
48410         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
48411         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
48412         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
48413         * math/Makefile (libm-calls): Add s_isinf_ns.
48414         * math/divtc3.c: Use __isinf_nsl instead of isinf.
48415         * math/multc3.c: Likewise.
48416         * math/s_casin.c: Likewise.
48417         * math/s_casinf.c: Likewise.
48418         * math/s_casinl.c: Likewise.
48419         * math/s_ccos.c: Likewise.
48420         * math/s_ccosf.c: Likewise.
48421         * math/s_ccosl.c: Likewise.
48422         * math/s_ctan.c: Likewise.
48423         * math/s_ctanf.c: Likewise.
48424         * math/s_ctanh.c: Likewise.
48425         * math/s_ctanhf.c: Likewise.
48426         * math/s_ctanhl.c: Likewise.
48427         * math/s_ctanl.c: Likewise.
48428         * math/w_fmod.c: Likewise.
48429         * math/w_fmodf.c: Likewise.
48430         * math/w_fmodl.c: Likewise.
48431         * math/w_remainder.c: Likewise.
48432         * math/w_remainderf.c: Likewise.
48433         * math/w_remainderl.c: Likewise.
48434         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
48435         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
48436         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
48437         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
48438         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
48439         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
48440         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
48441         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
48443         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
48444         of the number.
48445         * stdio-common/printf_fphex.c: Likewise.
48446         * stdio-common/printf_size.c: Likewise.
48448         * math/e_exp10.c: Include math_private.h using <...> not "...".
48449         * math/e_exp10f.c: Likewise.
48450         * math/e_exp10l.c: Likewise.
48451         * math/e_exp2l.c: Likewise.
48452         * math/e_j0l.c: Likewise.
48453         * math/e_j1l.c: Likewise.
48454         * math/e_jnl.c: Likewise.
48455         * math/e_lgammal_r.c: Likewise.
48456         * math/e_rem_pio2l.c: Likewise.
48457         * math/e_scalb.c: Likewise.
48458         * math/e_scalbf.c: Likewise.
48459         * math/e_scalbl.c: Likewise.
48460         * math/k_cosl.c: Likewise.
48461         * math/k_sinl.c: Likewise.
48462         * math/k_tanl.c: Likewise.
48463         * math/s_cacoshf.c: Likewise.
48464         * math/s_catan.c: Likewise.
48465         * math/s_catanf.c: Likewise.
48466         * math/s_catanh.c: Likewise.
48467         * math/s_catanhf.c: Likewise.
48468         * math/s_catanhl.c: Likewise.
48469         * math/s_catanl.c: Likewise.
48470         * math/s_ccosh.c: Likewise.
48471         * math/s_ccoshf.c: Likewise.
48472         * math/s_ccoshl.c: Likewise.
48473         * math/s_cexp.c: Likewise.
48474         * math/s_cexpf.c: Likewise.
48475         * math/s_cexpl.c: Likewise.
48476         * math/s_clog.c: Likewise.
48477         * math/s_clog10.c: Likewise.
48478         * math/s_clog10f.c: Likewise.
48479         * math/s_clog10l.c: Likewise.
48480         * math/s_clogf.c: Likewise.
48481         * math/s_clogl.c: Likewise.
48482         * math/s_csin.c: Likewise.
48483         * math/s_csinf.c: Likewise.
48484         * math/s_csinh.c: Likewise.
48485         * math/s_csinhf.c: Likewise.
48486         * math/s_csinhl.c: Likewise.
48487         * math/s_csinl.c: Likewise.
48488         * math/s_csqrt.c: Likewise.
48489         * math/s_csqrtf.c: Likewise.
48490         * math/s_csqrtl.c: Likewise.
48491         * math/s_ctan.c: Likewise.
48492         * math/s_ctanf.c: Likewise.
48493         * math/s_ctanh.c: Likewise.
48494         * math/s_ctanhf.c: Likewise.
48495         * math/s_ctanhl.c: Likewise.
48496         * math/s_ctanl.c: Likewise.
48497         * math/s_ldexp.c: Likewise.
48498         * math/s_ldexpf.c: Likewise.
48499         * math/s_ldexpl.c: Likewise.
48500         * math/s_significand.c: Likewise.
48501         * math/s_significandf.c: Likewise.
48502         * math/s_significandl.c: Likewise.
48503         * math/w_acos.c: Likewise.
48504         * math/w_acosf.c: Likewise.
48505         * math/w_acosh.c: Likewise.
48506         * math/w_acoshf.c: Likewise.
48507         * math/w_acoshl.c: Likewise.
48508         * math/w_acosl.c: Likewise.
48509         * math/w_asin.c: Likewise.
48510         * math/w_asinf.c: Likewise.
48511         * math/w_asinl.c: Likewise.
48512         * math/w_atan2.c: Likewise.
48513         * math/w_atan2f.c: Likewise.
48514         * math/w_atan2l.c: Likewise.
48515         * math/w_atanh.c: Likewise.
48516         * math/w_atanhf.c: Likewise.
48517         * math/w_atanhl.c: Likewise.
48518         * math/w_cosh.c: Likewise.
48519         * math/w_coshf.c: Likewise.
48520         * math/w_coshl.c: Likewise.
48521         * math/w_dremf.c: Likewise.
48522         * math/w_exp10.c: Likewise.
48523         * math/w_exp10f.c: Likewise.
48524         * math/w_exp10l.c: Likewise.
48525         * math/w_exp2.c: Likewise.
48526         * math/w_exp2f.c: Likewise.
48527         * math/w_fmod.c: Likewise.
48528         * math/w_fmodf.c: Likewise.
48529         * math/w_fmodl.c: Likewise.
48530         * math/w_hypot.c: Likewise.
48531         * math/w_hypotf.c: Likewise.
48532         * math/w_hypotl.c: Likewise.
48533         * math/w_j0.c: Likewise.
48534         * math/w_j0f.c: Likewise.
48535         * math/w_j0l.c: Likewise.
48536         * math/w_j1.c: Likewise.
48537         * math/w_j1f.c: Likewise.
48538         * math/w_j1l.c: Likewise.
48539         * math/w_jn.c: Likewise.
48540         * math/w_jnf.c: Likewise.
48541         * math/w_jnl.c: Likewise.
48542         * math/w_lgamma.c: Likewise.
48543         * math/w_lgamma_r.c: Likewise.
48544         * math/w_lgammaf.c: Likewise.
48545         * math/w_lgammaf_r.c: Likewise.
48546         * math/w_lgammal.c: Likewise.
48547         * math/w_lgammal_r.c: Likewise.
48548         * math/w_log.c: Likewise.
48549         * math/w_log10.c: Likewise.
48550         * math/w_log10f.c: Likewise.
48551         * math/w_log10l.c: Likewise.
48552         * math/w_log2.c: Likewise.
48553         * math/w_log2f.c: Likewise.
48554         * math/w_log2l.c: Likewise.
48555         * math/w_logf.c: Likewise.
48556         * math/w_logl.c: Likewise.
48557         * math/w_pow.c: Likewise.
48558         * math/w_powf.c: Likewise.
48559         * math/w_powl.c: Likewise.
48560         * math/w_remainder.c: Likewise.
48561         * math/w_remainderf.c: Likewise.
48562         * math/w_remainderl.c: Likewise.
48563         * math/w_scalb.c: Likewise.
48564         * math/w_scalbf.c: Likewise.
48565         * math/w_scalbl.c: Likewise.
48566         * math/w_sinh.c: Likewise.
48567         * math/w_sinhf.c: Likewise.
48568         * math/w_sinhl.c: Likewise.
48569         * math/w_sqrt.c: Likewise.
48570         * math/w_sqrtf.c: Likewise.
48571         * math/w_sqrtl.c: Likewise.
48572         * math/w_tgamma.c: Likewise.
48573         * math/w_tgammaf.c: Likewise.
48574         * math/w_tgammal.c: Likewise.
48576         * po/ja.po: Update from translation team.
48578 2011-09-29  Andreas Jaeger  <aj@suse.de>
48580         [BZ #13179]
48581         * sunrpc/netname.c (netname2host): Fix logic.
48583         [BZ #6779]
48584         [BZ #6783]
48585         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
48586         correctly.
48587         * math/w_remainder.c (__remainder): Likewise.
48588         * math/w_remainderf.c (__remainderf): Likewise.
48589         * math/libm-test.inc (remainder_test): Add test cases.
48591 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48593         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
48594         sdiv_qrnnd.
48596 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
48598         * string/test-memcmp.c: Avoid unncessary #defines.
48599         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
48601 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48603         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
48604         Use new sse2 version for core i3 - i7 as it's faster
48605         than sse42 version.
48606         (bit_Prefer_PMINUB_for_stringop): New.
48607         * sysdeps/x86_64/rawmemchr.S: Update.
48608         Replace with faster SSE2 version.
48609         * sysdeps/x86_64/memrchr.S: New file.
48610         * sysdeps/x86_64/memchr.S: Update.
48611         Replace with faster SSE2 version.
48613 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
48615         * elf/dl-load.c (lose): Add cast to avoid warning.
48617 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
48619         * po/ca.po: Update from translation team.
48621         * inet/getnetgrent_r.c: Hook up nscd.
48622         * nscd/Makefile (routines): Add nscd_netgroup.
48623         (nscd-modules): Add netgroupcache.
48624         (CFLAGS-netgroupcache.c): Define.
48625         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
48626         (cache_search): Add const to second parameter.
48627         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
48628         INNETGR.
48629         (dbs): Add netgrdb entry.
48630         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
48631         (verify_persistent_db): Handle netgrdb.
48632         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
48633         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
48634         GETFDNETGR.
48635         (netgroup_response_header): Define.
48636         (innetgroup_response_header): Define.
48637         (datahead): Add netgroup_response_header and innetgroup_response_header
48638         elements.
48639         * nscd/nscd.conf: Add entries for netgroup cache.
48640         * nscd/nscd.h (dbtype): Add netgrdb.
48641         (_PATH_NSCD_NETGROUP_DB): Define.
48642         (netgroup_iov_disabled): Declare.
48643         (xmalloc, xcalloc, xrealloc): Move declarations here.
48644         (cache_search): Adjust prototype.
48645         Add netgroup-related prototypes.
48646         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
48647         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
48648         (__nscd_innetgr): Declare.
48649         * nscd/selinux.c (perms): Use access_vector_t as element type and
48650         add netgroup-related initializers.
48651         * nscd/netgroupcache.c: New file.
48652         * nscd/nscd_netgroup.c: New file.
48653         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
48654         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
48655         For four parameters use innetgr.
48656         * nss/nss_files/files-init.c: Add definition and callback for netgr.
48657         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
48658         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
48659         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
48661         * nscd/connections.c (register_traced_file): Don't register file
48662         for disabled databases.
48664 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
48666         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
48668         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
48669         from tree and freeing node.
48671 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
48673         * nss/nsswitch.c (__nss_database_lookup): Handle
48674         nss_parse_service_list out of memory case.
48676 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
48678         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
48679         out of memory case.
48681 2011-10-04  Andreas Schwab  <schwab@redhat.com>
48683         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
48684         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
48685         pass it down.
48686         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
48687         elf_machine_rela, elf_machine_lazy_rel.
48688         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
48689         (ELF_DYNAMIC_DO_REL): Likewise.
48690         (ELF_DYNAMIC_DO_RELA): Likewise.
48691         (ELF_DYNAMIC_RELOCATE): Likewise.
48692         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
48693         to ELF_DYNAMIC_DO_REL.
48694         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
48695         (dl_main): In trace mode always set __RTLD_NOIFUNC.
48696         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
48697         elf_machine_rela.
48698         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
48699         skip_ifunc, don't call ifunc function if non-zero.
48700         (elf_machine_rela): Likewise.
48701         (elf_machine_lazy_rel): Likewise.
48702         (elf_machine_lazy_rela): Likewise.
48703         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
48704         (elf_machine_lazy_rel): Likewise.
48705         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
48706         Likewise.
48707         (elf_machine_lazy_rel): Likewise.
48708         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48709         Likewise.
48710         (elf_machine_lazy_rel): Likewise.
48711         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
48712         (elf_machine_lazy_rel): Likewise.
48713         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
48714         (elf_machine_lazy_rel): Likewise.
48715         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
48716         (elf_machine_lazy_rel): Likewise.
48717         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
48718         (elf_machine_lazy_rel): Likewise.
48719         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
48720         (elf_machine_lazy_rel): Likewise.
48721         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
48722         (elf_machine_lazy_rel): Likewise.
48724 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
48726         * nss/nss_files/files-init.c (_nss_files_init): Use static
48727         initialization for all the *_traced_file variables.
48729 2011-09-28  Andreas Schwab  <schwab@redhat.com>
48731         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48733 2011-09-27  Roland McGrath  <roland@hack.frob.com>
48735         [BZ #13226]
48736         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
48738 2011-09-27  Andreas Schwab  <schwab@redhat.com>
48740         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
48741         Reread the line before reparsing it.
48743 2011-09-26  Andreas Schwab  <schwab@redhat.com>
48745         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
48747 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
48748             Maxim Kuvyrkov  <maxim@codesourcery.com>
48749             Joseph Myers  <joseph@codesourcery.com>
48751         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
48752         if needed for __stack_chk_guard.
48754 2011-09-19  Roland McGrath  <roland@hack.frob.com>
48756         * sysdeps/posix/spawni.c (script_execute): Always define it.
48757         It will be optimized away if unused.
48758         (maybe_script_execute): New function.
48759         (__spawni): Call it.
48761         * Makerules: Don't include tls.make.
48762         (config-tls): Always set to thread.
48763         * tls.make.c: File removed.
48765 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
48767         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
48768         * config.make.in (CPPFLAGS-config): New substituted variable.
48770 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
48772         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
48774         [BZ #13192]
48775         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
48776         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
48778 2011-09-15  Roland McGrath  <roland@hack.frob.com>
48780         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
48781         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
48782         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48783         (CALL_FAIL): Likewise.
48784         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
48785         (CALL_FAIL): Macro removed.
48786         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
48788 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
48790         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
48791         for __FINITE_MATH_ONLY__ == 1.
48793 2011-09-15  Andreas Schwab  <schwab@redhat.com>
48795         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
48796         __ieee754_sqrt instead of sqrt.
48797         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
48798         __ieee754_sqrtf instead of sqrtf.
48799         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
48800         __floorf instead of floorf.
48801         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
48802         __floorf, __truncf instead of floorf, truncf.
48804 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
48806         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
48808         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
48809         __extern_always_inline.
48810         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
48811         32-bit.
48813 2011-09-14  Andreas Schwab  <schwab@redhat.com>
48815         * elf/rtld.c (dl_main): Also relocate in dependency order when
48816         doing symbol dependency testing.
48818 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
48820         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48821         Always define `refsym'.
48823 2011-09-13  Andreas Schwab  <schwab@redhat.com>
48825         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
48826         (__FD_ELT): Renamed from __FDELT.
48827         * misc/bits/select2.h (__FD_ELT): Likewise.
48828         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
48829         __FD_MASK instead of __FDELT, __FDMASK.
48830         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
48831         Likewise.
48832         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
48833         Likewise.
48835         * elf/Makefile (gen-ldd): Fix pattern.
48837         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
48838         (init_tls): Likewise.
48840 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
48842         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
48844 2011-09-12  Andreas Schwab  <schwab@redhat.com>
48846         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
48847         `struct cmsghdr *' instead of `void *'.
48848         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
48849         Likewise.
48851 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
48853         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
48854         if non-absolute.
48855         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
48856         ldd_rewrite_script.
48858 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
48860         * configure.in: Remove --with-tls option.
48861         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
48862         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
48863         out in case it is missing.
48864         * sysdeps/ia64/elf/configure.in: Likewise.
48865         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
48866         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
48867         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
48868         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
48869         * sysdeps/sh/elf/configure.in: Likewise.
48870         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
48871         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48872         * sysdeps/x86_64/elf/configure.in: Likewise.
48873         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
48874         * sysdeps/mach/hurd/tls.h: Likewise.
48876         [BZ #13067]
48877         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
48879         [BZ #13090]
48880         * configure.in: Fix use of AC_INIT.
48882         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
48884 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
48886         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
48887         __set_errno.
48888         * malloc/hooks.c: Likewise.
48890         [BZ #11929]
48891         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
48892         variables statically.
48893         (narenas): Initialize.
48894         (list_lock): Initialize.
48895         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
48896         initializtion of main_arena and list_lock.  Small cleanups.
48897         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
48898         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
48899         Add initializers to main_arena and mp_.
48900         (malloc_state): Remove pagesize member.  Change all users to use
48901         GLRO(dl_pagesize).
48903         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
48904         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
48905         is always initialized.
48907         * malloc/malloc.c: Removed unused configurations and dead code.
48908         * malloc/arena.c: Likewise.
48909         * malloc/hooks.c: Likewise.
48910         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
48912         * include/tls.h: Removed.  USE___THREAD must always be defined.
48913         * bits/libc-tsd.h: Don't handle !USE___THREAD.
48914         * elf/dl-libc.c: Likewise.
48915         * elf/dl-tsd.c: Likewise.
48916         * include/errno.h: Likewise.
48917         * include/netdb.h: Likewise.
48918         * include/resolv.h: Likewise.
48919         * inet/herrno-loc.c: Likewise.
48920         * inet/herrno.c: Likewise.
48921         * malloc/arena.c: Likewise.
48922         * malloc/hooks.c: Likewise.
48923         * malloc/malloc.c: Likewise.
48924         * resolv/res-state.c: Likewise.
48925         * resolv/res_libc.c: Likewise.
48926         * sysdeps/i386/dl-machine.h: Likewise.
48927         * sysdeps/ia64/dl-machine.h: Likewise.
48928         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
48929         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48930         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
48931         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
48932         * sysdeps/sh/dl-machine.h: Likewise.
48933         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48934         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48935         * sysdeps/unix/i386/sysdep.S: Likewise.
48936         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
48937         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
48938         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
48939         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
48940         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
48941         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
48942         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
48943         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
48944         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48945         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
48946         * sysdeps/unix/x86_64/sysdep.S: Likewise.
48947         * sysdeps/x86_64/dl-machine.h: Likewise.
48948         * tls.make.c: Likewise.
48950         * configure.in: Remove --with-__thread option.  Make tests for
48951         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
48952         tls_model attribute fail if no support is available.  Remove
48953         USE_IN_LIBIO.
48954         * Makeconfig: Adjust for dropped configure option.  All features are
48955         now mandatory.
48956         * Makerules: Likewise.
48957         * Versions.def: Likewise.
48958         * argp/argp-fmtstream.c: Likewise.
48959         * argp/argp-fmtstream.h: Likewise.
48960         * argp/argp-help.c: Likewise.
48961         * assert/assert.c: Likewise.
48962         * config.h.in: Likewise.
48963         * config.make.in: Likewise.
48964         * configure: Likewise.
48965         * configure.in: Likewise.
48966         * csu/Versions: Likewise.
48967         * csu/init.c: Likewise.
48968         * elf/tst-audit2.c: Likewise.
48969         * elf/tst-tls10.c: Likewise.
48970         * elf/tst-tls10.h: Likewise.
48971         * elf/tst-tls11.c: Likewise.
48972         * elf/tst-tls12.c: Likewise.
48973         * elf/tst-tls14.c: Likewise.
48974         * elf/tst-tlsmod11.c: Likewise.
48975         * elf/tst-tlsmod12.c: Likewise.
48976         * elf/tst-tlsmod13.c: Likewise.
48977         * elf/tst-tlsmod13a.c: Likewise.
48978         * elf/tst-tlsmod14a.c: Likewise.
48979         * elf/tst-tlsmod15b.c: Likewise.
48980         * elf/tst-tlsmod16a.c: Likewise.
48981         * elf/tst-tlsmod16b.c: Likewise.
48982         * elf/tst-tlsmod7.c: Likewise.
48983         * elf/tst-tlsmod8.c: Likewise.
48984         * elf/tst-tlsmod9.c: Likewise.
48985         * gmon/gmon.c: Likewise.
48986         * grp/fgetgrent_r.c: Likewise.
48987         * grp/putgrent.c: Likewise.
48988         * hurd/fopenport.c: Likewise.
48989         * include/libc-symbols.h: Likewise.
48990         * include/tls.h: Likewise.
48991         * intl/gettextP.h: Likewise.
48992         * intl/loadinfo.h: Likewise.
48993         * locale/global-locale.c: Likewise.
48994         * locale/localeinfo.h: Likewise.
48995         * mach/devstream.c: Likewise.
48996         * malloc/arena.c: Likewise.
48997         * malloc/set-freeres.c: Likewise.
48998         * misc/err.c: Likewise.
48999         * misc/getttyent.c: Likewise.
49000         * misc/mntent_r.c: Likewise.
49001         * posix/getopt.c: Likewise.
49002         * posix/wordexp.c: Likewise.
49003         * pwd/fgetpwent_r.c: Likewise.
49004         * resolv/Versions: Likewise.
49005         * resolv/res_hconf.c: Likewise.
49006         * shadow/fgetspent_r.c: Likewise.
49007         * shadow/putspent.c: Likewise.
49008         * stdio-common/printf_fphex.c: Likewise.
49009         * stdio-common/tmpfile.c: Likewise.
49010         * stdlib/abort.c: Likewise.
49011         * stdlib/fmtmsg.c: Likewise.
49012         * sunrpc/auth_unix.c: Likewise.
49013         * sunrpc/clnt_perr.c: Likewise.
49014         * sunrpc/clnt_tcp.c: Likewise.
49015         * sunrpc/clnt_udp.c: Likewise.
49016         * sunrpc/clnt_unix.c: Likewise.
49017         * sunrpc/openchild.c: Likewise.
49018         * sunrpc/svc_simple.c: Likewise.
49019         * sunrpc/svc_tcp.c: Likewise.
49020         * sunrpc/svc_udp.c: Likewise.
49021         * sunrpc/svc_unix.c: Likewise.
49022         * sunrpc/xdr.c: Likewise.
49023         * sunrpc/xdr_array.c: Likewise.
49024         * sunrpc/xdr_rec.c: Likewise.
49025         * sunrpc/xdr_ref.c: Likewise.
49026         * sunrpc/xdr_stdio.c: Likewise.
49028 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
49030         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49032 2011-07-03  Andreas Jaeger  <aj@suse.de>
49034         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
49035         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
49036         regenerate with gen-libm-tests.pl.
49038 2010-05-12  Petr Baudis  <pasky@suse.cz>
49040         [BZ #11589]
49041         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
49042         around j0() zero points by switching to j1().
49043         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49044         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49045         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49046         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49048 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
49050         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
49051         instead of 0.
49052         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
49053         instead of 0.
49054         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49055         Patch in part by Pavel Roskin <proski@gnu.org>.
49057         [BZ #13138]
49058         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
49059         realloc.
49060         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
49061         Free memory block if necessary.
49063         [BZ #12847]
49064         * libio/genops.c (INTDEF): For string streams the _lock pointer can
49065         be NULL.  Don't lock in this case.
49067 2011-09-09  Roland McGrath  <roland@hack.frob.com>
49069         * elf/elf.h (ELFOSABI_GNU): New macro.
49070         (ELFOSABI_LINUX): Define to that.
49072 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
49074         * string/strncat.c (strncat): Undef the symbol in case it has been
49075         defined in bits/string.h.
49077 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
49079         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
49081         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
49082         link map.
49084 2011-08-17  Andreas Jaeger  <aj@suse.de>
49086         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
49088 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
49089             Ian Lance Taylor  <iant@google.com>
49091         * math/libm-test.inc (lround_test): New testcase.
49092         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
49094 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
49096         * Makefile: Remove support for automatic cvs check-ins.
49097         * Makerules: Likewise.
49098         * config.make.in: Likewise.
49099         * configure.in: Likewise.
49100         * intl/Makefile: Likewise.
49101         * locale/Makefile: Likewise.
49102         * po/Makefile: Likewise.
49103         * posix/Makefile: Likewise.
49104         * sysdeps/gnu/Makefile: Likewise.
49105         * sysdeps/mach/hurd/Makefile: Likewise.
49106         * sysdeps/sparc/sparc32/Makefile: Likewise.
49108         [BZ #13118]
49109         * posix/Makefile (bug-regex32-ENV): Define.
49110         Patch by John Stanley <jpsinthemix@verizon.net>.
49112         * misc/Makefile (headers): Add bits/select2.h.
49113         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
49114         * misc/bits/select2.h: New file.
49115         * include/bits/select2.h: New file.
49116         * debug/Makefile (routines): Add fdelt_chk.
49117         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
49118         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
49119         FD_ISSET.
49120         * debug/fdelt_chk.c: New file.
49122         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
49123         * wcsmbs/test-wmemcmp.c: Likewise.
49124         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
49125         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
49127 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49129         * string/Makefile (strop-tests): Add memcmp.
49130         * string/test-wmemcmp.c: New file.
49131         * string/test-memcmp.c: Add wmemcmp support.
49133 2011-09-08  Roland McGrath  <roland@hack.frob.com>
49135         [BZ #13153]
49136         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
49137         2011-07-19 change.
49139         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
49140         garbage value in a __mach_port_mod_refs call in the cases of the
49141         task-self and thread-self ports.
49143 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49145         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
49147 2011-09-08  Andreas Schwab  <schwab@redhat.com>
49149         * elf/dl-load.c (lose): Check for non-null L.
49151 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
49153         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
49155         * elf/dl-libc.c (dlerror_run): Pass back error code from
49156         dl_catch_error.
49158         [BZ #13123]
49159         * elf/dl-load.c (lose): Free l_origin if it is valid.
49161         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
49162         names.
49163         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
49164         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
49165         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
49166         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
49167         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
49168         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
49170 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49172         * sysdeps/powerpc/fpu/e_hypot.c: New file.
49173         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
49174         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
49175         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
49176         * sysdeps/powerpc/fpu/k_cosf.c: New file.
49177         * sysdeps/powerpc/fpu/k_sinf.c: New file.
49178         * sysdeps/powerpc/fpu/s_cosf.c: New file.
49179         * sysdeps/powerpc/fpu/s_sinf.c: New file.
49180         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
49181         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
49183 2011-08-15  Alan Modra  <amodra@gmail.com>
49185         [BZ #13092]
49186         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
49187         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
49188         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
49189         ppc_mcount to static-only-routines.
49190         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
49191         __mcount_internal.
49192         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
49193         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
49195 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
49197         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
49198         for finite and infinity parameters.
49200 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
49202         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
49203         and add nop instructions for throughput optimization.
49204         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49206 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
49208         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
49209         aligned copy for power7 with vector-scalar instructions.
49210         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
49212 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
49214         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
49215         AVX check.
49217 2011-09-07  Andreas Schwab  <schwab@redhat.com>
49219         [BZ #13144]
49220         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
49221         last change.
49223 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
49225         * sysdeps/unix/sysv/linux/x86_64/init-first.c
49226         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
49227         syscall wrapper around clock_gettime in __vdso_clock_gettime.
49228         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
49229         clock_gettime.
49231 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
49233         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
49234         Forgot to demangle the pointer.
49236         * sysdeps/i386/sysdep.h: Define atom_text_section.
49237         * sysdeps/x86_64/sysdep.h: Likewise.
49238         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
49239         section with atom_text_section.
49240         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
49241         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
49242         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
49243         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
49244         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
49246         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
49247         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
49248         already be defined.  Change to take two parameters and don't assign
49249         result to variable.  Adjust all users.
49250         Define INTERNAL_GETTIME if not already defined.
49251         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
49252         call.
49253         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
49254         HAVE_CLOCK_GETTIME_VSYSCALL.
49255         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
49257         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
49258         gettimeofday vsyscall, just use time.
49260 2011-09-06  Andreas Schwab  <schwab@redhat.com>
49262         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
49263         <errno.h>.
49265 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
49267         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
49268         syscall on x86-64.
49269         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
49270         syscall.
49271         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
49272         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
49273         syscall if possible.
49275 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
49277         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
49278         e_ident.  Don't pass to find_mapsXX.
49279         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
49281 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49283         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49284         strchr-sse2-no-bsf strrchr-sse2-no-bsf
49285         * sysdeps/x86_64/multiarch/strchr.S: Update.
49286         Check bit_slow_BSF bit.
49287         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
49288         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
49289         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
49291 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
49293         [BZ #13134]
49294         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
49295         before glibc 2.15.
49296         (tryshell): Define.
49297         (__spawni): Change last parameter to be flag.  Test
49298         SPAWN_XFLAGS_USE_PATH flag to use path or not.
49299         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
49300         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
49301         * posix/spawni.c: Likewise.
49302         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
49303         * posix/spawnp.c: Likewise.  Change normal version to use
49304         SPAWN_XFLAGS_USE_PATH.
49305         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
49306         SPAWN_XFLAGS_TRY_SHELL.
49308         [BZ #13150]
49309         * posix/glob.h: Remove gcc 1.x support.
49311         [BZ #13068]
49312         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
49314 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49316         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49317         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
49318         strrchr-sse2-bsf
49319         * sysdeps/i386/i686/multiarch/strchr.S: New file.
49320         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
49321         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
49322         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
49323         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
49324         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
49326 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49328         * sysdeps/x86_64/wcscmp.S: New file.
49330         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
49331         wcscmp-c wcscmp-sse2
49332         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
49333         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
49334         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
49335         * wcsmbs/wcscmp.c: Allow renaming.
49337 2011-09-05  David S. Miller  <davem@davemloft.net>
49339         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
49340         stack slot, rather than the struct return pointer slot.
49341         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
49342         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
49343         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
49344         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
49346 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
49348         * po/ja.po: Update from translation team.
49350         [BZ #13144]
49351         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
49352         kernel in 64-bit binaries.
49354 2011-09-01  David S. Miller  <davem@davemloft.net>
49356         * elf/elf.h (HWCAP_SPARC_*): Move to..
49357         * sysdeps/sparc/sysdep.h: this new file and add new values.
49358         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
49359         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
49360         _DL_HWCAP_COUNT to 24.
49361         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
49362         entries.
49363         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
49364         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
49365         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
49366         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
49367         instead of magic constants.
49368         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49370 2011-08-31  David S. Miller  <davem@davemloft.net>
49372         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
49373         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
49374         Reimplement to do errno handling inline.
49375         (SYSCALL_ERROR_HANDLER): New macro.
49376         (__SYSCALL_STRING): Do not do errno handling in asm.
49377         (__CLONE_SYSCALL_STRING): Delete.
49378         (__INTERNAL_SYSCALL_STRING): Delete.
49379         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
49380         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
49381         (PSEUDO): Reimplement to do errno handling inline.
49382         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
49383         (SYSCALL_ERROR_HANDLER): New macro.
49384         (__SYSCALL_STRING): Do not do errno handling in asm.
49385         (__CLONE_SYSCALL_STRING): Delete.
49386         (__INTERNAL_SYSCALL_STRING): Delete.
49387         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
49388         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
49389         i386.
49390         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
49391         (inline_syscall*): Add 'err' argument.
49392         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
49393         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
49394         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
49395         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
49397         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
49398         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
49400 2011-08-30  Andreas Schwab  <schwab@redhat.com>
49402         * elf/rtld.c (dl_main): Relocate objects in dependency order.
49404 2011-08-29  Jiri Olsa <jolsa@redhat.com>
49406         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
49407         directive.
49409 2011-08-24  David S. Miller  <davem@davemloft.net>
49411         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
49413 2011-08-24  Andreas Schwab  <schwab@redhat.com>
49415         * elf/Makefile: Add rules to build and run unload8 test.
49416         * elf/unload8.c: New file.
49417         * elf/unload8mod1.c: New file.
49418         * elf/unload8mod1x.c: New file.
49419         * elf/unload8mod2.c: New file.
49420         * elf/unload8mod3.c: New file.
49422         * elf/dl-close.c (_dl_close_worker): Reset private search list if
49423         it wasn't used.
49425 2011-08-23  David S. Miller  <davem@davemloft.net>
49427         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
49428         subtract stack bias.
49429         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
49430         %sp not %fp in calculations.
49431         (_JMPBUF_UNWINDS_ADJ): Likewise.
49433         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
49434         (aio_suspend): Call it to force an exception region around the
49435         AIO_MISC_WAIT() invocation.
49437 2011-08-23  Andreas Schwab  <schwab@redhat.com>
49439         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
49440         backslash.
49442 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
49444         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
49445         protection macro.
49446         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
49447         and <dl-machine.h>.
49448         (Elf64_FuncDesc): Remove.
49450 2011-08-22  David S. Miller  <davem@davemloft.net>
49452         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
49453         sigaltstack check, add missing cfi directives.
49454         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
49455         missing cfi directives, and sigaltstack handling.
49457 2011-08-16  Andreas Schwab  <schwab@redhat.com>
49459         [BZ #11724]
49460         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
49461         object is seen twice.
49462         * elf/dl-fini.c (_dl_sort_fini): Likewise.
49464         * elf/Makefile (distribute): Add tst-initorder2.c.
49465         (tests): Add tst-initorder2.
49466         (modules-names): Add tst-initorder2a tst-initorder2b
49467         tst-initorder2c tst-initorder2d.  Add rules to build them.
49468         ($(objpfx)tst-initorder2.out): New rule.
49469         * elf/tst-initorder2.c: New file.
49470         * elf/tst-initorder2.exp: New file.
49472 2011-08-22  Andreas Schwab  <schwab@redhat.com>
49474         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
49476         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
49477         dependencies back to end of function.
49479         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49480         $(elfobjdir)/ld.so.
49482 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
49484         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
49485         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
49486         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
49487         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
49488         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
49489         of __vdso_gettimeofday.
49490         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
49491         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
49492         attribute_hidden.
49493         (_libc_vdso_platform_setup): Remove initialization of
49494         __vdso_gettimeofday and __vdso_time.
49496 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
49498         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
49499         and fgetc_unlocked.
49500         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
49501         getc_unlocked.
49503         * elf/dl-open.c (add_to_global): Report additions to the global scope
49504         for LD_DEBUG=scopes.
49505         (dl_open_worker): Also print scope of newly loaded dependencies.
49506         (_dl_show_scope): Indicate if there is no scope.
49508         [BZ #13114]
49509         * stdio-common/Makefile (tests): Add bug24.
49510         * stdio-common/bug24.c: New file.
49512 2011-08-19  Andreas Jaeger  <aj@suse.de>
49514         [BZ #13114]
49515         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
49516         non-existant file when using close-on-exec mode.
49518 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
49520         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
49521         the very first instruction.
49523         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
49524         the CFI state in the end.
49525         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
49526         inclusion of dl-trampoline.h.
49527         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
49529 2011-08-19  Andreas Schwab  <schwab@redhat.com>
49531         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
49532         expectations for long double.
49534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
49535         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
49537 2011-08-14  David S. Miller  <davem@davemloft.net>
49539         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
49540         artificual limit depends upon the system page size.
49542 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
49544         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
49545         * resolv/Makefile: Define CFLAGS-libresolv.
49547 2011-08-17  Andreas Schwab  <schwab@redhat.com>
49549         * nss/makedb.c (compute_tables): Make variables used in nested
49550         function static.
49552 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
49554         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
49555         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
49556         if buffer was too small.
49558         * elf/pldd.c (main): Attach to all threads in the process.
49559         Rewrite /proc handling to use *at functions.
49561 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
49563         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
49564         specifies first scope to show.
49565         (dl_open_worker): Update callers.  Move printing scope of new
49566         object to before the relocation.
49567         * elf/rtld.c (dl_main): Update _dl_show_scope call.
49568         * sysdeps/generic/ldsodefs.h: Update declaration.
49570         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
49571         string for the scope number.
49573 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
49575         * nscd/servicescache.c (cache_addserv): Make sure written is always
49576         initialized.
49578 2011-08-14  Roland McGrath  <roland@hack.frob.com>
49580         * sysdeps/i386/i486/bits/atomic.h
49581         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
49582         statement expression, so as to suppress "set but not used" warning.
49583         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
49585         * string/strncat.c (STRNCAT): Use prototype definition.
49587         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
49588         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
49589         -Iprograms here.
49590         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
49591         (localedef-modules): Add localedef.
49592         (locale-modules): Add locale.
49594         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
49595         * elf/rtld.c (dl_main): Invert order of assignment in last change,
49596         to avoid a warning.
49598 2011-08-14  David S. Miller  <davem@davemloft.net>
49600         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
49601         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
49603 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
49605         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
49606         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
49607         * elf/rtld.c (dl_main): Set l_name of vDSO.
49608         Call _dl_show_scope when DL_DEBUG_SCOPES.
49609         (process_dl_debug): Recognize scopes flag and also set it for all.
49610         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
49611         Declare _dl_show_scope.
49613         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
49614         (do_dlopen): Pass caller_dlopen to dl_open.
49615         (__libc_dlopen_mode): Initialize caller_dlopen.
49617         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
49618         of libc.  Make tolower call locale-independent.  Optimize a bit by
49619         using isdigit instead of isalnum.
49620         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
49622 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
49624         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
49625         was a dependency or dynamically loaded.
49627 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
49629         * intl/l10nflist.c: Allow architecture-specific pop function.
49630         * sysdeps/x86_64/l10nflist.c: New file.
49632         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
49633         classification.
49635 2011-08-10  Andreas Schwab  <schwab@redhat.com>
49637         * include/dirent.h: Add libc_hidden_proto for scandirat and
49638         scandirat64.  Don't declare __scandirat64.
49639         * dirent/scandirat.c: Add libc_hidden_def.
49640         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
49641         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
49643 2011-08-10  David S. Miller  <davem@davemloft.net>
49645         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
49646         enum.
49647         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49648         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49649         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49651 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
49653         * Versions.def [libc]: Add GLIBC_2.15.
49654         * dirent/Makefile (routines): Add scandirat and scandirat64.
49655         * dirent/Versions [libc]: Export scandirat and scandirat64 for
49656         GLIBC_2.15.
49657         * dirent/dirent.h: Declare scandirat and scandirat64.
49658         * dirent/scandirat.c: New file.
49659         * dirent/scandirat64.c: New file.
49660         * sysdeps/wordsize-64/scandirat.c: New file.
49661         * sysdeps/wordsize-64/scandirat64.c: New file.
49662         * dirent/opendir.c: Define opendirat.
49663         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
49664         using scandirat.
49665         * dirent/scandir64.c: Adjust for scandir.c change.
49666         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
49667         __scandirat64, and __scandir_cancel_handler.
49668         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
49669         additional parameter and use openat instead of open (outside of ld.so).
49670         Add new __opendir as wrapper around __opendirat.
49671         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
49672         here without requiring old scandirat implementation.
49674 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
49676         * dirent/scandir.c (cancel_handler): Renamed to
49677         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
49678         defined.  Adjust users.
49679         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
49680         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
49682 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
49684         * string/test-string.h (IMPL): Use __STRING to expand name and then
49685         stringify it.
49687         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
49688         of cleanups.
49690 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49692         * string/Makefile: Update.
49693         (strop-tests): Append strncat.
49694         * string/test-wcscmp.c: New file.
49695         New comprehensive test for wcscmp.
49696         * string/test-strcmp.c: Update.
49697         (WIDE): New define.
49699 2011-07-22  Andreas Schwab  <schwab@redhat.com>
49701         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
49702         line.
49704 2011-07-26  Andreas Schwab  <schwab@redhat.com>
49706         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
49707         encoding to ACE if AI_IDN.
49709 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
49711         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
49712         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
49714 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49716         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
49717         Fix overflow bug in strncat.
49718         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
49720         * string/test-strncat.c: Update.
49721         Add new tests for checking overflow bugs.
49723 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49725         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49726         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
49727         * sysdeps/i386/i686/multiarch/strcat.S: New file.
49728         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
49729         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
49730         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
49731         * sysdeps/i386/i686/multiarch/strncat.S: New file.
49732         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
49733         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
49735         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
49736         (USE_AS_STRCAT): Define.
49737         Add strcat and strncat support.
49738         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
49740 2011-07-25  Andreas Schwab  <schwab@redhat.com>
49742         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
49743         __n bigger than INT_MAX+1.
49744         (__strncmp_g): Likewise.
49746 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
49748         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
49749         * libio/stido.h: Likewise.
49751         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
49752         (AF_NFC): Define.
49753         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
49754         (AF_NFC): Define.
49756         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
49757         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49758         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49759         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
49760         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49762         [BZ #13021]
49763         * scripts/test-installation.pl: Don't expect libnss_test1 to be
49764         installed.
49766         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
49767         typo.
49768         (_dl_x86_64_save_sse): Likewise.
49770 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
49772         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
49773         OSXSAVE.
49774         (_dl_x86_64_save_sse): Likewise.
49776         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
49778         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
49780 2011-07-21  Andreas Schwab  <schwab@redhat.com>
49782         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
49783         change.
49784         (_dl_x86_64_save_sse): Use correct AVX check.
49786 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49788         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
49789         bug in strncpy/strncat.
49790         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
49792 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
49794         * string/tester.c (test_strcat): Add tests for different alignments
49795         of source and destination.
49796         (test_strncat): Likewise.
49798 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
49800         [BZ #12852]
49801         * posix/glob.c (glob): Check passed in values before using them in
49802         expressions to avoid some overflows.
49803         (glob_in_dir): Likewise.
49805         [BZ #13007]
49806         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
49807         check for AVX enablement so that we don't crash with old kernels and
49808         new hardware.
49809         * elf/tst-audit4.c: Add same checks here.
49810         * elf/tst-audit6.c: Likewise.
49812         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
49814 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
49816         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
49818 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
49820         * po/cs.po: Update from translation team.
49821         * po/bg.po: Likewise.
49823 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
49825         * misc/sys/cdefs.h: Add support for const attribute.
49826         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
49827         to gnu_dev_{major,minor,makedev} functions.
49829 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
49831         * intl/dcigettext.c (get_output_charset): Add missing bracket.
49833 2011-07-20  Andreas Schwab  <schwab@redhat.com>
49835         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
49836         strlen results.
49838 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49840         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
49841         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
49842         register in order to avoid conflicts with the soft frame pointer
49843         being held in r11 when necessary.
49844         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
49845         (INTERNAL_VSYSCALL_NCS): Likewise.
49847 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
49849         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
49850         * elf/dl-fini.c (_dl_fini): Adjust caller.
49851         * elf/dl-close.c (_dl_close_worker): Likewise.
49852         * sysdeps/generic/ldsodefs.h: Adjust declaration.
49854 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
49856         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
49857         "aux_cache->nlibs < 0".
49859         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
49860         in the reload-count case.
49862 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49864         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49865         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
49866         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
49867         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
49868         * sysdeps/x86_64/multiarch/strcat.S: New file.
49869         * sysdeps/x86_64/multiarch/strncat.S: New file.
49870         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
49871         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
49872         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
49873         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
49874         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
49875         (USE_AS_STRCAT): Define.
49876         Add strcat and strncat support.
49877         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
49878         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
49879         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
49880         * string/strncat.c: Update.
49881         (USE_AS_STRNCAT): Define.
49882         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49883         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
49884         and i7.
49885         * sysdeps/x86_64/multiarch/init-arch.h
49886         (bit_Prefer_PMINUB_for_stringop): New.
49887         (index_Prefer_PMINUB_for_stringop): Likewise.
49888         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
49889         bit_Prefer_PMINUB_for_stringop.
49891 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
49893         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
49894         buffer64.
49895         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
49896         of casting of buffer.
49897         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
49898         buffer32 and buffer64.
49899         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
49900         writes instead of casting of buffer.
49901         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
49902         buffer32.
49903         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
49904         casting of buffer.
49906 2011-07-19  Andreas Schwab  <schwab@redhat.com>
49908         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
49910 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
49912         * nscd/nscd.c (termination_handler): Don't do anything for a database
49913         if it has not yet been initialized.
49915 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
49917         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
49919 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
49921         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
49923 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
49925         * po/nl.po: Update from translation team.
49926         * po/sv.po: Likewise.
49928 2011-07-16  Roland McGrath  <roland@hack.frob.com>
49930         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
49931         now disallowed by GCC.
49933         * configure.in (use-default-link): Default to yes if a test -shared
49934         link meets our qualifications.
49935         * configure: Regenerated.
49937         * config.make.in (output-format): New variable.
49938         * configure.in: Check for ld --print-output-format support.
49939         * configure: Regenerated.
49940         * Makerules ($(common-objpfx)format.lds)
49941         [$(output-format) != unknown]: Just use $(output-format),
49942         instead of the linker-script munging.
49944 2011-07-14  Roland McGrath  <roland@hack.frob.com>
49946         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
49947         of $(common-objpfx)shlib.lds.
49948         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
49950         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
49951         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
49953         * configure.in (-z relro check): Adjust test code to add a large
49954         writable data section after it.
49955         * configure: Regenerated.
49957 2011-07-11  Roland McGrath  <roland@hack.frob.com>
49959         * configure.in (-z relro check): Fix test code to make the variable
49960         truly const.
49961         * configure: Regenerated.
49963 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
49965         * nscd/nscd.h (struct traced_file): Define.
49966         (struct database_dyn): Remove inotify_descr, reset_res, and filename
49967         elements.  Add traced_files.
49968         (inotify_fd): Declare.
49969         (register_traced_file): Declare.
49970         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
49971         (inotify_fd): Export.
49972         (resolv_conf_descr): Remove.
49973         (nscd_init): Move inotify descriptor creation to main.
49974         Don't register files for notification here.
49975         (register_traced_file): New function.
49976         (invalidate_cache): Don't use reset_res to determine whether to call
49977         res_init, go through the list of registered files.
49978         (main_loop_poll): The inotify descriptors are now stored in the
49979         structures for the traced files.
49980         (main_loop_epoll): Likewise
49981         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
49982         to __nss_disable_nscd.
49983         * nscd/cache.c (prune_cache): There is no single inotify descriptor
49984         for a database anymore.  Check the records for all the registered
49985         files instead.
49986         * nss/Makefile (libnss_files-routines): Add files-init.
49987         (libnss_db-routines): Add db-init.
49988         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
49989         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
49990         * nss/nss_db/db-init.c: New file.
49991         * nss/nss_files/files-init.c: New file.
49992         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
49993         __nss_lookup_function.
49994         (__nss_lookup_function): Call nss_load_library.
49995         (nss_load_all_libraries): New function.
49996         (__nss_disable_nscd): Take parameter with callback function for files
49997         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
49998         used for the cached services.
49999         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
50000         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
50001         options for features to all the files in nscd.
50003         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
50005 2011-07-10  Roland McGrath  <roland@hack.frob.com>
50007         * csu/elf-init.c (__libc_csu_init): Comment typo.
50009 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
50011         * po/pl.po: Update from translation team.
50012         * po/ja.po: Likewise.
50013         * po/ru.po: Likewise.
50014         * po/ko.po: Likewise.
50015         * po/fr.po: Likewise.
50017 2011-07-09  Roland McGrath  <roland@hack.frob.com>
50019         * configure.in (.ctors/.dtors header and trailer check):
50020         Use an empirical test on a built program.
50021         * configure: Regenerated.
50023         * configure.in (-z relro check): Use an empirical test on a built DSO.
50024         Detect, but do not require, on ia64.
50025         * configure: Regenerated.
50027         * configure.in (READELF): Find it with AC_CHECK_TOOL.
50028         Update tests that use readelf to use $READELF instead.
50029         * configure: Regenerated.
50031 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
50033         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
50034         if the result is not used.
50036 2011-07-05  Andreas Jaeger  <aj@suse.de>
50038         [BZ#9696]
50039         * stdlib/tst-strtod.c: Add testcase.
50041 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
50043         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
50044         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
50045         The latter has a higher limit.  Take additional parameter to pass to
50046         the new function.
50047         (__pathconf): Pass file to __statfs_link_max.
50048         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
50049         __statfs_link_max.
50050         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
50051         __statfs_link_max.
50053         [BZ #12868]
50054         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
50055         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50056         Handle Lustre.
50057         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
50058         (__statfs_filesize_max): Likewise.
50059         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
50061 2011-07-05  Andreas Jaeger  <aj@suse.de>
50063         * resolv/res_comp.c (dn_skipname): Remove unused variable.
50065 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
50067         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
50068         `status' variable.
50069         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
50070         Likewise.
50072 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
50074         * Makefile (strop-tests): Add strncat.
50075         * string/test-strncat.c: New file.
50077 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
50079         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
50081 2011-06-21  Andreas Jaeger  <aj@suse.de>
50083         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
50084         Copy rule from iconvdata/Makefile.
50086 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
50088         [BZ #12922]
50089         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
50090         but no long options are defined, just return 'W'.
50092 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
50094         [BZ #9696]
50095         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
50097 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
50099         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
50100         netgroups to read.
50101         (innetgr): Likewise.
50103 2011-07-05  Roland McGrath  <roland@hack.frob.com>
50105         * config.make.in (install_root): Default to $(DESTDIR).
50107 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
50109         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
50111 2011-07-02  Roland McGrath  <roland@hack.frob.com>
50113         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
50115         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
50116         containing directory rather than embedding absolute directory names.
50118         * scripts/check-local-headers.sh: Rewritten using awk.
50119         Match by word, not by line.  Print error messages for matches.
50120         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
50122         * Makerules [shlib-lds-flags empty]:
50123         ($(common-objpfx)libc_pic.opts): New target.
50124         ($(common-objpfx)libc_pic.os.clean): New target.
50125         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
50127         * config.make.in (OBJCOPY): New variable.
50128         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
50129         * configure: Regenerated.
50131         * config.make.in (use-default-link): New variable.
50132         * configure.in (use_default_link): Grok --with-default-link to set it.
50133         * configure: Regenerated.
50134         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
50135         (shlib-lds, shlib-lds-flags): Define to empty.
50137         * Makerules (shlib-lds): New variable.
50138         (shlib-lds-flags): New variable.
50139         (build-shlib, build-moduile, build-module-asneeded): Use it.
50140         ($(common-objpfx)libc.so): Use $(shlib-lds).
50141         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
50142         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
50144         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
50145         DT_FLAGS/DT_FLAGS_1 with zero flags.
50147         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
50148         linker script munging.
50150 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
50152         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
50153         as 128-bit value.
50154         * crypt/sha512.c (sha512_process_block): Perform total addition using
50155         128-bit if possible.
50156         (__sha512_finish_ctx): Likewise.
50157         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
50158         as 64-bit value.
50159         * crypt/sha256.c (SWAP64): Define.
50160         (sha256_process_block): Perform total addition using 64-bit if
50161         possible.
50162         (__sha256_finish_ctx): Likewise.
50164 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
50166         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
50167         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50168         * nscd/hstcache.c (cache_addhst): Likewise.
50169         * nscd/grpcache.c (cache_addgr): Likewise.
50170         * nscd/aicache.c (addhstaiX): Likewise
50171         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
50173 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
50175         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
50176         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50177         * nscd/hstcache.c (cache_addhst): Likewise.
50178         * nscd/grpcache.c (cache_addgr): Likewise.
50179         * nscd/aicache.c (addhstaiX): Likewise
50181 2011-07-01  Andreas Schwab  <schwab@redhat.com>
50183         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
50184         domain only when needed.
50186 2011-06-30  Andreas Schwab  <schwab@redhat.com>
50188         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
50189         is always restored.
50191 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
50193         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
50194         are re-adding the entry.
50195         * nscd/servicescache.c (cache_addserv): Likewise.
50197 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
50199         * sysdeps/generic/dl-irel.h: fix protection against multiple
50200         inclusions.
50201         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
50203 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
50205         [BZ #12935]
50206         * malloc/memusage.sh: Fix quoting in message.
50207         * debug/xtrace.sh: Likewise.
50209         * configure.in: Remove support for --experimental-malloc option, make
50210         it the default.
50211         * config.make.in: Likewise.
50212         * malloc/Makefile: Likewise.
50214 2011-06-27  Andreas Schwab  <schwab@redhat.com>
50216         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
50217         two-byte characters.
50219 2011-06-27  Roland McGrath  <roland@hack.frob.com>
50221         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
50222         AC_CACHE_CHECK invocation.
50223         * configure: Regenerated.
50225         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
50227 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
50229         [BZ #12350]
50230         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
50231         bit from old_res_options.
50233         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
50235         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
50236         value type for setfct.
50238 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
50240         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
50241         __gettimeofday instead of gettimeofday.
50243 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
50245         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
50247 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
50249         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
50251         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
50252         info.
50254 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
50256         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50257         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
50258         strcpy-sse2-unaligned strncpy-sse2-unaligned
50259         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
50260         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
50261         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
50262         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
50263         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
50264         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
50265         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
50266         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
50267         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
50268         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
50269         (STRCPY): Support SSE2 and SSSE3 versions.
50271 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
50273         [BZ #12874]
50274         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
50275         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
50276         kernels which artificially limit size of requests.
50278 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
50280         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50281         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
50282         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
50283         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
50284         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
50285         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
50286         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
50287         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
50288         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
50289         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
50290         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
50291         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
50292         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
50293         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
50294         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
50295         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50296         Enable unaligned load optimization for Intel Core i3, i5 and i7
50297         processors.
50298         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
50299         Define.
50300         (index_Fast_Unaligned_Load): Define.
50301         (HAS_FAST_UNALIGNED_LOAD): Define.
50303 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
50305         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
50307 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
50309         [BZ #12907]
50310         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
50311         until it is clear that the information is realy needed.
50312         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
50314 2011-06-22  Andreas Schwab  <schwab@redhat.com>
50316         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
50318 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
50320         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
50321         /sys/devices/system/cpu/online if it is usable.
50323         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
50324         reading the information from the /proc filesystem to once a second.
50326 2011-06-21  Andreas Jaeger  <aj@suse.de>
50328         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
50329         NULL after inclusion of kernel headers.
50331 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
50333         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
50334         calls to internal_setent.
50336         [BZ #12885]
50337         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
50338         addresses using gethostbyname4_r ignore IPv4 addresses.
50340         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
50341         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
50343         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
50345 2011-06-20  David S. Miller  <davem@davemloft.net>
50347         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
50348         inclusions.
50349         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
50351         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
50352         (elf_irel): Use it.
50353         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
50354         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
50355         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
50356         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
50357         * sysdeps/x86_64/dl-irel.h: Likewise.
50359         * elf/dl-runtime.c: Use elf_ifunc_invoke.
50360         * elf/dl-sym.c: Likewise.
50362 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
50364         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
50365         need to dereference resplen2.
50367 2011-06-14  Andreas Schwab  <schwab@redhat.com>
50369         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
50371 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
50373         * Makeconfig: Define vardbdir and inst_vardbdir.
50374         * nss/Makefile: Add rules to install db-Makefile.
50376         * nss/nss_db/db-XXX.c: Cleanup.
50378         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
50379         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
50380         GLIBC_PRIVATE.
50381         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
50382         * nss/makedb.c: Implement -g option to specify that value strings
50383         are generated and should not be added to table iterated over for
50384         get*ent calls.
50385         * nss/nss_db/db-initgroups.c: New file.
50387         * nss/getent.c: Add support for initgroups lookups through getgrouplist
50388         interface.
50390         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
50391         (internal_getgrouplist): Adjust to name change.
50392         Update use_initgroups_entry if this is not the first call.
50393         * nss/databases.def: Add initgroups entry.
50395         * nss/makedb.c (compute_tables): Check result of multiple hash table
50396         sizes to minimize maximum chain length.
50398 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
50400         * Versions.def: Add entry for libnss_db.
50401         * shlib-versions: Likewise.
50402         * nss/Makefile: Add rules to build libnss_db.
50403         * nss/Versions: Add libnss_db information.  Organize libnss_files
50404         entries better.
50405         * nss/db-Makefile: Add gshadow support.  Change rules for the new
50406         makedb progra.  Some minor improvements to generate smaller files.
50407         * nss/nss_db/nss_db.h: Move NSS database header data structures to
50408         here from...
50409         * nss/makedb.c: ...here.
50410         Improve database format to be smaller and require less memory at
50411         runtime.
50412         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
50413         db anymore.
50414         * nss/nss_db/db-netgrp.c: Likewise.
50415         * nss/nss_db/db-open.c: Likewise.
50416         * nss/nss_files/flies-XXX.x: Adjust comments.
50417         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
50418         * nss/nss_files/files-grp.c: Likewise.
50419         * nss/nss_files/files-hosts.c: Likewise.
50420         * nss/nss_files/files-network.c: Likewise.
50421         * nss/nss_files/files-proto.c: Likewise.
50422         * nss/nss_files/files-pwd.c: Likewise.
50423         * nss/nss_files/files-rpc.c: Likewise.
50424         * nss/nss_files/files-service.c: Likewise.
50425         * nss/nss_files/files-sgrp.c: Likewise.
50426         * nss/nss_files/files-spwd.c: Likewise.
50427         * nss/nss_db/db-alias.c: Removed.
50428         * nss/nss_db/dummy-db.h: Removed.
50430 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
50432         * nss/makedb.c: Rewritten to not use database library.
50433         * nss/Makefile: Update to build new makedb program.
50435 2011-06-14  Andreas Jaeger  <aj@suse.de>
50437         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
50438         memset declaration.
50440 2011-06-10  Andreas Schwab  <schwab@redhat.com>
50442         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
50443         tmpbuf.
50445 2011-06-10  Roland McGrath  <roland@hack.frob.com>
50447         * Makerules (shlib.lds): Fail if the linker script comes out empty.
50448         * elf/Makefile ($(objpfx)ld.so): Likewise.
50450         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
50451         Don't list ld.so twice in dependencies.
50453         * posix/bug-regex31.c: Include <stdlib.h>.
50455         * nscd/hstcache.c (cache_addhst): Remove unused variable.
50457         * nis/nss_compat/compat-spwd.c
50458         (getspent_next_nss_netgr): Remove unused variable.
50459         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
50461         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
50462         nonmembers" output to use the right array.
50464         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
50466         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
50468         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
50469         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
50470         * catgets/gencat.c (read_input_file): Likewise.
50471         * locale/programs/locarchive.c (enlarge_archive): Likewise.
50473         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
50474         variable definition inside #if's controlling its use.
50476         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
50478         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
50480         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
50482         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
50483         unreachable code.
50485         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
50487         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
50488         * configure: Regenerated.
50490         * Makerules: Revert last change.
50491         * elf/Makefile: Likewise.
50493 2011-06-09  Roland McGrath  <roland@hack.frob.com>
50495         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
50496         * elf/Makefile ($(objpfx)librtld.os): Likewise.
50497         (reloc-link): Likewise.
50499 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
50501         * elf/Makefile: Add rules to build pldd.
50502         * elf/pldd.c: New file.
50503         * elf/pldd-xx.c: New file.
50505 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
50507         * version.h: Update for 2.15 development version.
50509 2011-06-07  David S. Miller  <davem@davemloft.net>
50511         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
50512         ifuncs.
50513         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
50514         elf_machine_lazy_rel): Likewise.
50515         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
50516         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
50517         elf_machine_lazy_rel): Likewise.
50518         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
50519         dl_hwcap via passed in argument.
50520         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
50521         Likewise.
50523 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50525         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
50527 2011-06-06  Roland McGrath  <roland@hack.frob.com>
50529         [BZ #12849]
50530         * manual/fdl-1.1.texi: New file, verbatim from:
50531         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
50532         * manual/lgpl-2.1.texi: New file, verbatim from:
50533         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
50534         * manual/Makefile (licenses): New variable, list those new file names.
50535         (texis): Use it.
50536         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
50538         * manual/fdl.texi: File removed.
50539         * manual/lesser.texi: File removed.
50540         * manual/libc.texinfo (Copying, Documentation License):
50541         Use new @include file names, put @appendix directive before @include.
50543 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
50545         [BZ #12841]
50546         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
50547         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
50548         (mq_open): Add __NTH.
50550 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
50552         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50553         Assume Intel Core i3/i5/i7 processor if AVX is available.
50555 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
50557         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
50558         typo.
50560 2011-05-31  Andreas Schwab  <schwab@redhat.com>
50562         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
50563         memory.  Use alloca_account.  Fix memory leak when retrying.
50565 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
50567         * version.h (RELEASE): Bump for 2.14 release.
50568         * include/features.h (__GLIBC_MINOR__): Bump to 14.
50570         * config.make.in (RANLIB): Remove entry.
50572 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
50574         * po/Makefile (po-sed-cmd): Add ksh to extensions.
50575         (libc.pot): Work around missing support for .ksh extension in xgettext.
50577         [BZ #12684]
50578         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
50579         if both request failed.
50580         (send_dg): In case of server errors clear resplen or *resplen2.
50582         [BZ #12454]
50583         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
50584         when there are multiple maps.
50585         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
50586         (_dl_fini): Remove test here.
50588         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
50590 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
50592         [BZ #12350]
50593         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
50594         bit from old_res_options.
50595         (gaih_inet): Likewise.
50597         [BZ #11099]
50598         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
50599         as signed.
50601         * resolv/res_init.c (res_setoptions): Make the code more compact.
50603         [BZ #11558]
50604         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
50605         set RES_USEVC.
50607         [BZ #11634]
50608         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
50610         * malloc/malloc.h: Mark malloc hook variables as deprecated.
50612         [BZ #11781]
50613         * malloc/malloc.h: Declare malloc hook variables as volatile.
50615         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
50616         in last patch.
50618         [BZ #11799]
50619         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
50620         raise in the comment.
50621         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
50622         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
50623         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
50625 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
50627         [BZ #12811]
50628         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
50629         grow the buffers more if it already has to be sufficient.
50630         (build_wcs_upper_buffer): Likewise.
50631         * posix/regexec.c (check_matching): Likewise.
50632         (clean_state_log_if_needed): Likewise.
50633         (extend_buffers): Don't enlarge buffers beyond size of the input
50634         buffer.
50635         Patches mostly by Emil Wojak <emil@wojak.eu>.
50636         * posix/bug-regex32.c: New file.
50637         * posix/Makefile (tests): Add bug-regex32.
50639         * locale/findlocale.c (_nl_find_locale): Return right away if
50640         _nl_explode_name failed.
50641         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
50643         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
50645         * debug/xtrace.sh: Unify messages.
50646         * malloc/memusage.sh: Likewise.
50648         [BZ #12813]
50649         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
50650         time symbol from vDSO.  Substitute with vsyscall if not available.
50651         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
50652         __vdso_time.
50654         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
50655         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
50656         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
50657         Add sendmmsg and internal_sendmmsg.
50658         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
50659         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
50660         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
50662         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
50663         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
50664         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
50666 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
50668         [BZ #12813]
50669         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
50670         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
50671         available.
50672         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
50673         __vdso_getcpu.
50675         [BZ #12814]
50676         * iconvdata/Makefile (tests): Add bug-iconv9.
50677         * iconvdata/bug-iconv9.c: New file.
50679 2011-05-27  Andreas Schwab  <schwab@redhat.com>
50681         [BZ #12814]
50682         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
50684 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
50686         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
50687         (struct user_regs_struct): Change intcs field back to cs.
50689 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
50691         * po/ja.po: Update from translation team.
50693 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
50695         [BZ #12795]
50696         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
50697         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
50699 2011-05-20  Andreas Schwab  <schwab@redhat.com>
50701         * stdlib/longlong.h: Update from GCC.
50703 2011-05-23  Andreas Schwab  <schwab@redhat.com>
50705         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
50706         parameter name.
50707         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
50708         Add parameter name.
50709         (__sysconf): Pass it down.
50711 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
50713         [BZ #12671]
50714         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
50715         some situations.
50716         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
50717         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
50718         add in in __libc_use_alloca calls.  Adjust callers.
50719         (glob): Use malloc in some situations.
50721         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
50722         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
50723         pltexit.
50725 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
50727         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
50728         and CLOCK_BOOTTIME_ALARM.
50730         [BZ #12782]
50731         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
50732         is returned.
50734         * string/_strerror.c (__strerror_r): Print negative errors as signed
50735         numbers.
50737         [BZ #12777]
50738         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
50739         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
50740         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
50742         * configure.in: Fix typo in redirection and correct removal of test
50743         files in two cases.
50745         [BZ #12788]
50746         * locale/setlocale.c (new_composite_name): Fix test to check for
50747         identical name of all categories.
50749         [BZ #12792]
50750         * libio/filedoalloc.c (local_isatty): New function.
50751         (_IO_file_doallocate): Use local_isatty.
50752         * stdio-common/perror.c (perror): In case a new stream is used
50753         forward the stream error.
50754         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
50755         error flag.
50757 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
50759         [BZ #11869]
50760         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
50761         alloca.
50762         * include/alloca.h (extend_alloca_account): Define.
50764         [BZ #11857]
50765         * posix/regex.h: Fix comments with documentation of user-accessible
50766         fields after compilation and describe correct free'ing of pattern
50767         after re_compile_pattern.
50768         Patch by Reuben Thomas <rrt@sc3d.org>.
50770 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
50772         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
50773         and -mno-altivec to prevent the compiler from using Altivec and/or
50774         VSX instructions when the corresponding registers are not available.
50776 2011-05-19  Andreas Schwab  <schwab@redhat.com>
50778         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
50780 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
50782         * libio/freopen.c (freopen): Use __dup2, not dup2.
50783         * libio/freopen64.c (freopen64): Likewise.
50785 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
50787         [BZ #12775]
50788         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
50789         * math/Makefile (tests): Add test-powl.
50790         (CFLAGS-test-powl.c): Define.
50791         * math/test-powl.c: New file.
50793 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
50795         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
50797 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
50799         [BZ #11837]
50800         * iconvdata/gb18030.c: Update to GB18020-2005.
50802 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
50804         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
50805         RE_SYNTAX_POSIX_AWK): Update to match recent development.
50806         Patch by Aharon Robbins <arnold@skeeve.com>.
50808         [BZ #11892]
50809         * stdlib/putenv.c (putenv): Don't always create copy of the variable
50810         on the stack.
50812         [BZ #11895]
50813         * misc/pselect.c (__pselect): Handle timeout value errors hidden
50814         through underflows.
50816         [BZ #12766]
50817         * misc/error.c (error_at_line): Ensure file_name and old_file_name
50818         point to strings before performing equality test for error_one_per_line
50819         mode.
50821         [BZ #11697]
50822         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
50824         [BZ #11820]
50825         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
50826         (struct user_fpregs_struct): Avoid __uint*_t types.
50828         [BZ #6420]
50829         * malloc/mtrace.c (tr_where): Add additional parameter to point to
50830         symbol info.  Use it instead of calling _dl_addr locally.
50831         (lock_and_info): New function.
50832         (tr_freehook): Call lock_and_info and pass symbol info as additional
50833         parameter to tr_where.
50834         (tr_mallochook): Likewise.
50835         (tr_reallochook): Likewise.
50836         (tr_memalignhook): Likewise.
50838         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
50839         used and couldn't be at all thread-safe.
50841 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
50843         * libio/freopen.c (freopen): Don't close old file descriptor
50844         before the new one is opened.  Instead dup the new file descriptor
50845         to the old one after the new stream is created.
50846         * libio/freopen64.c (freopen64): Likewise.
50847         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
50848         * libio/fileops.c (_IO_new_file_close_it): Handle new
50849         _IO_FLAGS2_NOCLOSE flag.
50850         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
50851         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
50852         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
50853         _IO_FLAGS2_NOCLOSE flag.
50854         * include/unistd.h: Add hidden_proto for dup3.
50855         Define __have_dup3.
50856         * io/dup3.c: Define hidden symbol.
50857         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
50859         [BZ #7101]
50860         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
50861         when an incomplete long option is used.
50862         * posix/tst-getopt_long1.c: New file.
50863         * posix/Makefile (tests): Add tst-getopt_long1.
50865         [BZ #10138]
50866         * scripts/config.guess: Update from autoconf-2.68.
50867         * scripts/config.sub: Likewise.
50869         [BZ #10157]
50870         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
50871         tests into ...
50872         (has_cpuclock): ...this.  New function.
50873         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
50874         macro here based on has_cpuclock code.
50876         [BZ #10149]
50877         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50878         First byte (not low byte) is now always NUL.
50879         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
50881         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50882         Use non-cancelable interfaces.
50884         [BZ #9809]
50885         * locale/iso-639.def: Add entry for Sorani.
50887         [BZ #11901]
50888         * include/stdlib.h: Move include protection to the right place.
50889         Define abort_msg_s.  Declare __abort_msg with it.
50890         * stdlib/abort.c (__abort_msg): Adjust type.
50891         * assert/assert.c (__assert_fail_base): New function.  Majority
50892         of code from __assert_fail.  Allocate memory for __abort_msg with
50893         mmap.
50894         (__assert_fail): Now call __assert_fail_base.
50895         * assert/assert-perr.c: Remove bulk of implementation.  Use
50896         __assert_fail_base.
50897         * include/assert.hL Declare __assert_fail_base.
50898         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
50899         mmap.
50900         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
50902 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
50904         [BZ #11952]
50905         [BZ #12453]
50906         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
50907         until all modules are registered in the DTV.
50908         * elf/Makefile: Add rules to build and run tst-tls19.
50909         * elf/tst-tls19.c: New file.
50910         * elf/tst-tls19mod1.c: New file.
50911         * elf/tst-tls19mod2.c: New file.
50912         * elf/tst-tls19mod3.c: New file.
50913         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
50915         [BZ #12083]
50916         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
50917         correctly.
50919         [BZ #12601]
50920         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
50921         two-byte sequence errors.
50922         * iconvdata/Makefile (tests): Add bug-iconv8.
50923         * iconvdata/bug-iconv8.c: New file.
50925         [BZ #12626]
50926         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
50927         buf2 definition.
50929         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
50931         [BZ #12432]
50932         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
50933         (dummy_getcfa): New function.
50934         (init): Get _Unwind_GetCFA address, use dummy if not found.
50935         (backtrace_helper): In recursion check, also check whether CFA changes.
50936         (__backtrace): Completely initialize arg.
50938         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
50939         storing incomplete byte sequence in state object.  Avoid testing for
50940         guaranteed too small input if we know there is enough data available.
50942 2011-05-11  Andreas Schwab  <schwab@redhat.com>
50944         * Makeconfig (+link-pie): Indent.
50945         * Rules (binaries-pie): Define if $(have-fpie) and
50946         $(build-shared).
50947         (binaries-shared): Also filter out $(binaries-pie).
50948         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
50949         * nscd/Makefile (others-pie): Add nscd.
50950         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
50951         ($(objpfx)nscd): Remove command override.
50952         * login/Makefile (others-pie): Add pt_chown.
50953         ($(objpfx)pt_chown): Remove command override.
50954         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
50955         remove command overrides.
50957 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
50959         * libio/tst_putwc.c: Fix error messages.
50961         [BZ #12724]
50962         * libio/fileops.c (_IO_new_file_close_it): Always flush when
50963         currently writing and seek to current position when not.
50964         * libio/Makefile (tests): Add bug-fclose1.
50965         * libio/bug-fclose1.c: New file.
50967 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
50969         [BZ #12511]
50970         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
50971         don't set DF_1_NODELETE here.
50972         (do_lookup_x): When entering new entry test for copy relocation
50973         and if necessary set DF_1_NODELETE flag.
50974         * elf/tst-unique4.cc: New file.
50975         * elf/tst-unique4.h: New file.
50976         * elf/tst-unique4lib.cc: New file.
50977         * elf/Makefile: Add rules to build and run tst-unique4.
50978         Patch by Piotr Bury <pbury@goahead.com>.
50980 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
50982         [BZ #12052]
50983         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
50985         [BZ #12625]
50986         * misc/mntent_r.c (addmntent): Flush the stream after the output
50988         [BZ #12393]
50989         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
50990         (is_trusted_path_normalize): Skip initial colon.  Append slash
50991         to empty buffer.  Duplicate is_trusted_path code but allow
50992         constructed patch to be prefix.
50993         (is_dst): Allow $ORIGIN followed by /.
50994         (_dl_dst_substitute): Correct clearing of check_for_trusted.
50995         Correct testing of result of is_trusted_path_normalize
50996         (decompose_rpath): Fix warning.
50998 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
51000         [BZ #11257]
51001         * grp/initgroups.c (internal_getgrouplist): When we found the service
51002         list through the initgroups entry in nsswitch.conf do not always
51003         continue on a successful lookup.  Don't always use the
51004         __nss_group_database value if it is set.
51005         * nss/nsswitch.conf (initgroups): Change action for successful db
51006         lookup to continue for compatibility.
51008 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
51010         [BZ #11532]
51011         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
51012         and CP774 modules.
51013         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
51014         and CP774 modules.
51015         * iconvdata/tst-tables.sh: Likewise.
51016         * iconvdata/cp770.c: New file.
51017         * iconvdata/cp771.c: New file.
51018         * iconvdata/cp772.c: New file.
51019         * iconvdata/cp773.c: New file.
51020         * iconvdata/cp774.c: New file.
51021         * iconvdata/testdata/CP770: New file.
51022         * iconvdata/testdata/CP770..UTF8: New file.
51023         * iconvdata/testdata/CP771: New file.
51024         * iconvdata/testdata/CP771..UTF8: New file.
51025         * iconvdata/testdata/CP772: New file.
51026         * iconvdata/testdata/CP772..UTF8: New file.
51027         * iconvdata/testdata/CP773: New file.
51028         * iconvdata/testdata/CP773..UTF8: New file.
51029         * iconvdata/testdata/CP774: New file.
51030         * iconvdata/testdata/CP774..UTF8: New file.
51032         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
51033         END CHARMAP line.
51034         * iconvdata/gen-8bit-gap.sh: Likewise.
51035         * iconvdata/gen-8bit.sh: Likewise.
51037         * locale/iso-639.def: Add ary entry.
51039         [BZ #11258]
51040         * locale/C-translit.h.in: Add U20A1 transliteration.
51042         [BZ #12178]
51043         * locale/iso-639.def: Add wae entry.
51044         Patch by Kevin Bortis <bortis@translate-wae.ch>.
51046         [BZ #12545]
51047         * locale/programs/localedef.c (construct_output_path): Use ssize_t
51048         for n.
51050         [BZ #12711]
51051         * locale/C-translit.h.in: Add entry for U20B9.
51052         Patch by pravin.d.s@gmail.com.
51054 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
51056         [BZ #12713]
51057         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
51058         ENAMETOOLONG use generic getcwd.
51059         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
51060         in rtld.  Use *stat64.
51061         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
51062         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
51063         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
51064         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
51065         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
51066         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
51067         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
51068         __fstatat64 macros.
51069         * include/dirent.h: Add libc_hidden_proto for rewinddir.
51070         * dirent/rewinddir.c: Add libc_hidden_def.
51071         * sysdeps/mach/hurd/rewinddir.c: Likewise.
51072         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
51074         * include/dirent.h (__alloc_dir): Add flags parameter.
51075         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
51076         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
51077         __alloc_dir.
51078         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
51079         from fdopendir if O_CLOEXEC is already set.
51081 2011-03-15  Alan Modra  <amodra@gmail.com>
51083         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
51084         l_tls_firstbyte_offset non-zero.  Save padding offset in
51085         l_tls_firstbyte_offset for later use.
51086         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
51087         freeing static tls block.
51089 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
51091         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
51092         where #ifdef was intended.  The intent is to prevent ARG_MAX from
51093         being defined by the kernel headers.
51095 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
51097         [BZ #12734]
51098         * resolv/resolv.h: Define RES_NOTLDQUERY.
51099         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
51100         no-tld-query and set RES_NOTLDQUERY.
51101         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
51102         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
51103         modern BIND to search name as TLD unless forbidden.
51105 2011-05-07  Petr Baudis  <pasky@suse.cz>
51106             Ulrich Drepper  <drepper@gmail.com>
51108         [BZ #12393]
51109         * elf/dl-load.c (fillin_rpath): Move trusted path check...
51110         (is_trusted_path): ...to here.
51111         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
51112         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
51113         using is_trusted_path_normalize() in setuid scripts.
51115 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
51117         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
51118         __BEGIN/__END_DECLS.
51120 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
51122         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
51123         NSS_STATUS_NOTFOUND if no record was found.
51125 2011-05-05  Andreas Schwab  <schwab@redhat.com>
51127         * sunrpc/Makefile (headers): Add rpc/netdb.h.
51128         (headers-not-in-tirpc): Remove rpc/netdb.h
51129         * resolv/netdb.h: Revert last change.
51131 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
51133         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
51134         circular dependency between libgcc.a and libc.a.
51136 2011-05-05  Andreas Schwab  <schwab@redhat.com>
51138         * resolv/netdb.h: Don't include <rpc/netdb.h>.
51139         * nis/Makefile: Don't install rpcsvc/*.
51140         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
51141         instead of <rpc/types.h>.
51142         (MAXHOSTNAMELEN): Define.
51144 2011-05-03  Andreas Schwab  <schwab@redhat.com>
51146         * elf/ldconfig.c (add_dir): Don't crash on empty path.
51148 2011-04-28  Maciej Babinski  <mbabinski@google.com>
51150         [BZ #12714]
51151         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
51152         gethostbyname4_r when IPv6 results are possible.
51154 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
51156         [BZ #12723]
51157         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
51158         _PC_PIPE_BUF handling.
51160 2011-04-30  Bruno Haible  <bruno@clisp.org>
51162         [BZ #12717]
51163         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
51164         * resolv/netdb.h (getnameinfo): Change type of flags parameter
51165         to 'int'.
51166         * inet/getnameinfo.c (getnameinfo): Likewise.
51168 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
51170         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
51171         to groups setting in database lookup.
51172         * nss/nsswitch.conf: Add initgroups entry.
51174 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
51176         [BZ #12685]
51177         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
51178         mode string.
51179         Patch by Eric Blake <eblake@redhat.com>.
51181 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
51183         * sunrpc/Makefile (need-export-routines): Add svc_run.
51184         (routines): Remove svc_run.
51185         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
51186         * sunrpc/clnt_perr.c (clnt_perrno): Export.
51187         * sunrpc/svc_run.c (svc_run): Likewise.
51188         * sunrpc/svc_udp.c (svcudp_create): Likewise.
51190 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
51192         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
51193         problem in reallocation in last patch.
51195 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
51197         * sunrpc/Makefile: Move inclusion of Rules.
51199 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
51201         * nss/nss_files/files-initgroups.c: New file.
51202         * nss/Makefile (libnss_files-routines): Add files-initgroups.
51203         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
51204         _nss_files_initgroups_dyn.
51206 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
51208         * elf/elf.h (R_ARM_IRELATIVE): Define.
51210 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
51212         * po/ru.po: Update from translation team.
51214 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
51216         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
51217         dependencies.
51219 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
51221         [BZ #12653]
51222         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
51223         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
51224         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
51225         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
51226         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
51228 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
51230         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
51231         differing bytes.
51232         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
51233         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
51234         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51236 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
51238         [BZ #12420]
51239         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
51240         storing it.
51241         * stdlib/bug-getcontext.c: New file.
51242         * stdlib/Makefile: Add rules to build and run bug-getcontext.
51244 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51246         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
51247         instructions into .machine "z9-109".
51248         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
51249         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
51251 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51253         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
51254         between environment variables and auxiliary vector.
51256 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
51258         * Makefile: Add rules to build linkobj/libc.so.
51259         * include/libc-symbols.h: Define libc_hidden_nolink.
51260         * include/rpc/auth.h: Mark functions which are to be hidden.
51261         * include/rpc/auth_des.h: Likewise.
51262         * include/rpc/auth_unix.h: Likewise.
51263         * include/rpc/clnt.h: Likewise.
51264         * include/rpc/des_crypt.h: Likewise.
51265         * include/rpc/key_prot.h: Likewise.
51266         * include/rpc/pmap_clnt.h: Likewise.
51267         * include/rpc/pmap_prot.h: Likewise.
51268         * include/rpc/pmap_rmt.h: Likewise.
51269         * include/rpc/rpc_msg.h: Likewise.
51270         * include/rpc/svc.h: Likewise.
51271         * include/rpc/svc_auth.h: Likewise.
51272         * include/rpc/xdr.h: Likewise.
51273         * nis/Makefile: Link all DSOs against linkobj/libc.so.
51274         * nss/Makefile: Likewise.
51275         * sunrpc/Makefile: Don't install headers.  Build library with normal
51276         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
51277         * sunrpc/auth_des.c: Hide exported symbols by default, export some
51278         for the compat linking library.  Remove use of INTDEF/INTUSE.
51279         * sunrpc/auth_none.c: Likewise.
51280         * sunrpc/auth_unix.c: Likewise.
51281         * sunrpc/authdes_prot.c: Likewise.
51282         * sunrpc/authuxprot.c: Likewise.
51283         * sunrpc/clnt_gen.c: Likewise.
51284         * sunrpc/clnt_perr.c: Likewise.
51285         * sunrpc/clnt_raw.c: Likewise.
51286         * sunrpc/clnt_simp.c: Likewise.
51287         * sunrpc/clnt_tcp.c: Likewise.
51288         * sunrpc/clnt_udp.c: Likewise.
51289         * sunrpc/clnt_unix.c: Likewise.
51290         * sunrpc/des_crypt.c: Likewise.
51291         * sunrpc/des_soft.c: Likewise.
51292         * sunrpc/get_myaddr.c: Likewise.
51293         * sunrpc/key_call.c: Likewise.
51294         * sunrpc/key_prot.c: Likewise.
51295         * sunrpc/netname.c: Likewise.
51296         * sunrpc/pm_getmaps.c: Likewise.
51297         * sunrpc/pm_getport.c: Likewise.
51298         * sunrpc/pmap_clnt.c: Likewise.
51299         * sunrpc/pmap_prot.c: Likewise.
51300         * sunrpc/pmap_prot2.c: Likewise.
51301         * sunrpc/pmap_rmt.c: Likewise.
51302         * sunrpc/publickey.c: Likewise.
51303         * sunrpc/rpc_cmsg.c: Likewise.
51304         * sunrpc/rpc_common.c: Likewise.
51305         * sunrpc/rpc_dtable.c: Likewise.
51306         * sunrpc/rpc_prot.c: Likewise.
51307         * sunrpc/rpc_thread.c: Likewise.
51308         * sunrpc/rtime.c: Likewise.
51309         * sunrpc/svc.c: Likewise.
51310         * sunrpc/svc_auth.c: Likewise.
51311         * sunrpc/svc_authux.c: Likewise.
51312         * sunrpc/svc_raw.c: Likewise.
51313         * sunrpc/svc_run.c: Likewise.
51314         * sunrpc/svc_simple.c: Likewise.
51315         * sunrpc/svc_tcp.c: Likewise.
51316         * sunrpc/svc_udp.c: Likewise.
51317         * sunrpc/svc_unix.c: Likewise.
51318         * sunrpc/svcauth_des.c: Likewise.
51319         * sunrpc/xcrypt.c: Likewise.
51320         * sunrpc/xdr.c: Likewise.
51321         * sunrpc/xdr_array.c: Likewise.
51322         * sunrpc/xdr_float.c: Likewise.
51323         * sunrpc/xdr_intXX_t.c: Likewise.
51324         * sunrpc/xdr_mem.c: Likewise.
51325         * sunrpc/xdr_rec.c: Likewise.
51326         * sunrpc/xdr_ref.c: Likewise.
51327         * sunrpc/xdr_sizeof.c: Likewise.
51328         * sunrpc/xdr_stdio.c: Likewise.
51330 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
51332         [BZ #12650]
51333         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
51334         * sysdeps/ia64/dl-tls.h: Likewise.
51335         * sysdeps/powerpc/dl-tls.h: Likewise.
51336         * sysdeps/s390/dl-tls.h: Likewise.
51337         * sysdeps/sh/dl-tls.h: Likewise.
51338         * sysdeps/sparc/dl-tls.h: Likewise.
51339         * sysdeps/x86_64/dl-tls.h: Likewise.
51340         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
51342 2011-03-14  Andreas Schwab  <schwab@redhat.com>
51344         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
51345         rpath element also skip the following colon.
51346         (expand_dynamic_string_token): Add is_path parameter and pass
51347         down to DL_DST_REQUIRED and _dl_dst_substitute.
51348         (decompose_rpath): Call expand_dynamic_string_token with
51349         non-zero is_path.  Ignore empty rpaths.
51350         (_dl_map_object_from_fd): Call expand_dynamic_string_token
51351         with zero is_path.
51353 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
51355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
51356         Make cancelable.
51358 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
51360         [BZ #12655]
51361         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
51362         Patch by Filipe David Manana <fdmanana@apache.org>.
51364 2011-04-07  Andreas Schwab  <schwab@redhat.com>
51366         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
51367         Maintain aligned stack.
51368         (CHECK_RSP): Remove unused macro.
51370 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
51372         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
51373         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
51375 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
51377         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
51379         * include/features.h: Mention __USE_XOPEN2K8 in comment.
51381 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
51383         [BZ #12518]
51384         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
51385         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
51386         * sysdeps/x86_64/memmove.c: New file.
51387         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
51388         (memcpy): Renamed to ...
51389         (__new_memcpy): This.
51390         (memcpy): Provide GLIBC_2_14 memcpy.
51391         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
51392         (memcpy): Provide GLIBC_2_2_5 memcpy.
51394 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
51396         [BZ #12631]
51397         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
51399 2011-03-30  Andreas Schwab  <schwab@redhat.com>
51401         * misc/syncfs.c: New file.
51402         * misc/Makefile (routines): Add syncfs.
51403         * posix/unistd.h: Declare syncfs.
51404         * sysdeps/unix/syscalls.list: Add syncfs.
51406 2011-04-01  Andreas Schwab  <schwab@redhat.com>
51408         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
51409         open_by_handle_at.
51410         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
51411         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51412         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51413         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51414         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51415         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
51416         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51418 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
51420         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
51421         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51422         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
51423         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51424         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51425         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51426         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51428         * io/Makefile: Compile fallocate.c, fallocate64.c, and
51429         sync_file_range.c with -fexceptions.
51430         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
51431         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
51432         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
51433         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
51434         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
51435         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
51436         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
51437         sync_file_range as cancellation point
51438         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
51439         now a wrapper around __call_sync_file_range with cancellation handling.
51440         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
51441         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
51442         function name to __call_sync_file_range.
51443         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
51444         Add call_sync_file_range.
51446 2011-04-01  Andreas Schwab  <schwab@redhat.com>
51448         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51449         bits/timex.h.
51451 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
51453         * iconv/iconv.h: Fix typo in comment.
51454         * io/fcntl.h: Likewise.
51455         * libio/stdio.h: Likewise.
51456         * posix/spawn.h: Likewise.
51457         * posix/unistd.h: Likewise.
51458         * stdlib/stdlib.h: Likewise.
51459         * time/time.h: Likewise.
51460         * wcsmbs/wchar.h: Likewise.
51462         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
51463         open_by_handle): Add.
51464         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
51465         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
51466         Augment a few comments.
51467         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51468         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51469         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51470         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51471         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51472         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
51473         open_by_handle.
51475         * io/fcntl.h (AT_EMPTY_PATH): Define.
51477 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
51479         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
51480         * sysdeps/unix/sysv/linux/bits/time.h: New file.
51481         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
51482         to...
51483         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
51484         * Versions.def: Add GLIBC_2.14.
51485         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
51486         Export.
51488 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
51490         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
51491         round counter.
51492         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
51494 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
51496         [BZ #12597]
51497         * string/test-strncmp.c (do_page_test): New function.
51498         (check2): Likewise.
51499         (test_main): Call check2.
51500         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
51502 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
51504         [BZ #12587]
51505         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
51506         Handle cache information in CPU leaf 4.
51507         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
51509 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
51511         [BZ #12583]
51512         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
51513         character representation.
51514         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
51516 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
51518         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
51519         END(__isnan) to END(__isnanf) to match function entry point/label
51520         EALIGN(__isnanf,...).
51522 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
51524         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
51526 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
51528         [BZ #12510]
51529         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
51530         copy from the symbol referenced in the relocation to initialize the
51531         used variable.
51532         Patch by Piotr Bury <pbury@goahead.com>.
51533         * elf/Makefile: Add rules to build and tst-unique3.
51534         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
51535         * elf/tst-unique3.cc: New file.
51536         * elf/tst-unique3.h: New file.
51537         * elf/tst-unique3lib.cc: New file.
51538         * elf/tst-unique3lib2.cc: New file.
51540         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
51542 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
51544         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
51545         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
51546         to _start.
51548 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
51550         * elf/dl-load.c (_dl_map_object): If we are looking for the first
51551         to-be-loaded object along a path to loader is ld.so.
51553 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
51554             Ulrich Drepper  <drepper@gmail.com>
51556         * sysdeps/x86_64/memset.S: After aligning destination, code
51557         branches to different locations depending on the value of
51558         misalignment, when multiarch is enabled. Fix this.
51560 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
51562         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
51563         Set _x86_64_preferred_memory_instruction for AMD processsors.
51564         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51565         Set bit_Prefer_SSE_for_memop for AMD processors.
51567 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
51569         * libio/fmemopen.c (fmemopen): Optimize a bit.
51571 2011-03-03  Andreas Schwab  <schwab@redhat.com>
51573         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
51575 2011-03-03  Roland McGrath  <roland@redhat.com>
51577         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
51579 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
51581         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
51582         __bzero_ultra1 instead of __memset_ultra1.
51584 2011-02-23  Andreas Schwab  <schwab@redhat.com>
51585             Ulrich Drepper  <drepper@gmail.com>
51587         [BZ #12509]
51588         * include/link.h (struct link_map): Add l_orig_initfini.
51589         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
51590         returning unsuccessfully.
51591         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
51592         close of a file loaded at startup, restore the original l_initfini
51593         list.
51594         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
51595         list, store the pointer.
51596         * elf/Makefile ($(objpfx)noload-mem): New rule.
51597         (noload-ENV): Define.
51598         (tests): Add $(objpfx)noload-mem.
51599         * elf/noload.c: Include <memcheck.h>.
51600         (main): Call mtrace.  Close all opened handles.
51602 2011-02-17  Andreas Schwab  <schwab@redhat.com>
51604         [BZ #12454]
51605         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
51606         dependencies are missing.
51608 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51610         Fix __if_freereq crash: Unlike the generic version which uses free,
51611         Hurd needs munmap.
51612         * sysdeps/mach/hurd/ifreq.h: New file.
51614 2011-01-27  Petr Baudis  <pasky@suse.cz>
51615             Ulrich Drepper  <drepper@gmail.com>
51617         [BZ 12445]#
51618         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
51619         to extend_alloca().
51620         * stdio-common/bug23.c: New file.
51621         * stdio-common/Makefile (tests): Add bug23.
51623 2010-09-28  Andreas Schwab  <schwab@redhat.com>
51624             Ulrich Drepper  <drepper@gmail.com>
51626         [BZ #12489]
51627         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
51628         before performing relro protection.  At old place add assertion
51629         to make sure nothing changed.
51631 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
51632             Glauber de Oliveira Costa  <glommer@gmail.com>
51634         * elf/elf.h: Add new ARM TLS relocs.
51636 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
51638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
51639         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
51640         cast from r3.
51641         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
51642         'tests' variable.
51643         * sysdeps/wordsize-64/tst-writev.c: New file.
51645 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
51647         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
51648         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
51649         insns in _dl_start to prevent a TOC reference before relocs are
51650         resolved.
51652 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
51654         [BZ #12469]
51655         * Makeconfig: Remove RANLIB definition.
51656         * Makerules: Don't use RANLIB.
51657         * aclocal.m4: Remove ranlib test.
51658         * configure.in: No need to check for ranlib.
51659         * elf/rtld-Rules: Don't use RANLIB.
51661 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51663         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
51664         protection macro.
51665         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
51666         inclusion protection macro.
51668         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
51669         SIGRTMIN and SIGRTMAX and print information in that case only when
51670         SIGRTMIN is defined.
51672 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
51674         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
51675         arginfo fn returning -1.
51677         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
51678         and thousands string is zero terminated.
51680 2011-02-03  Andreas Schwab  <schwab@redhat.com>
51682         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
51683         sysdeps/unix/sysv/linux/bits/socket.h.
51685 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51687         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
51688         (__CPU_COUNT): Remove old macros.
51689         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
51690         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
51691         (__CPU_ALLOC, __CPU_FREE): Add macros.
51692         (__sched_cpualloc, __sched_cpufree): Add declarations.
51694 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
51696         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
51697         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
51698         * nscd/aicache.c (addhstaiX): Return timeout of added value.
51699         (readdhstai): Return value of addhstaiX call.
51700         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
51701         (addgrbyX): Return value returned by cache_addgr.
51702         (readdgrbyname): Return value returned by addgrbyX.
51703         (readdgrbygid): Likewise.
51704         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
51705         (addpwbyX): Return value returned by cache_addpw.
51706         (readdpwbyname): Return value returned by addhstbyX.
51707         (readdpwbyuid): Likewise.
51708         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
51709         (addservbyX): Return value returned by cache_addserv.
51710         (readdservbyname): Return value returned by addservbyX:
51711         (readdservbyport): Likewise.
51712         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
51713         (addhstbyX): Return value returned by cache_addhst.
51714         (readdhstbyname): Return value returned by addhstbyX.
51715         (readdhstbyaddr): Likewise.
51716         (readdhstbynamev6): Likewise.
51717         (readdhstbyaddrv6): Likewise.
51718         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
51719         (readdinitgroups): Return value returned by addinitgroupsX.
51720         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
51721         (prune_cache): Keep track of timeout value of re-added entries.
51722         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
51723         * nscd/nscd.h: Adjust prototypes of readd* functions.
51725 2011-02-04  Roland McGrath  <roland@redhat.com>
51727         * nis/nis_server.c (nis_servstate): Use the right name for 0.
51728         (nis_stats): Likewise.
51729         * nis/nis_modify.c (nis_modify): Likewise.
51730         * nis/nis_remove.c (nis_remove): Likewise.
51731         * nis/nis_add.c (nis_add): Likewise.
51733         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
51735         * posix/fnmatch_loop.c: Add some consts.
51737         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
51739 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
51741         [BZ #12460]
51742         * config.make.in (config-cflags-novzeroupper): Define.
51743         * configure.in: Substitute libc_cv_cc_novzeroupper.
51744         * elf/Makefile (AVX-CFLAGS): Define.
51745         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
51746         (CFLAGS-tst-auditmod4a.c): Likewise.
51747         (CFLAGS-tst-auditmod4b.c): Likewise.
51748         (CFLAGS-tst-auditmod6b.c): Likewise.
51749         (CFLAGS-tst-auditmod6c.c): Likewise.
51750         (CFLAGS-tst-auditmod7b.c): Likewise.
51751         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
51753 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
51755         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
51756         function to the callback.
51757         Patch partly by Jiri Olsa <jolsa@redhat.com>.
51759 2011-02-02  Andreas Schwab  <schwab@redhat.com>
51761         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
51762         of errno.
51764 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
51766         [BZ #11724]
51767         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
51768         of constructors.
51769         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
51770         of destructors.
51771         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
51773         [BZ #11724]
51774         * elf/Makefile: Add rules to build and run new test.
51775         * elf/tst-initorder.c: New file.
51776         * elf/tst-initorder.exp: New file.
51777         * elf/tst-initordera1.c: New file.
51778         * elf/tst-initordera2.c: New file.
51779         * elf/tst-initordera3.c: New file.
51780         * elf/tst-initordera4.c: New file.
51781         * elf/tst-initorderb1.c: New file.
51782         * elf/tst-initorderb2.c: New file.
51783         * elf/tst-order-a1.c: New file.
51784         * elf/tst-order-a2.c: New file.
51785         * elf/tst-order-a3.c: New file.
51786         * elf/tst-order-a4.c: New file.
51787         * elf/tst-order-b1.c: New file.
51788         * elf/tst-order-b2.c: New file.
51789         * elf/tst-order-main.c: New file.
51790         New test case by George Gensure <werkt0@gmail.com>.
51792 2010-10-01  Andreas Schwab  <schwab@redhat.com>
51794         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
51795         decoding ACE if AI_CANONIDN.
51797 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
51799         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
51801 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
51803         * version.h (RELEASE): Bump for 2.13 release.
51804         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
51806         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
51808         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
51809         MADV_NOHUGEPAGE.
51810         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
51811         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
51812         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51813         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
51814         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51815         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
51817         * posix/getconf.c: Update copyright year.
51818         * catgets/gencat.c: Likewise.
51819         * csu/version.c: Likewise.
51820         * debug/catchsegv.sh: Likewise.
51821         * debug/xtrace.sh: Likewise.
51822         * elf/ldconfig.c: Likewise.
51823         * elf/ldd.bash.in: Likewise.
51824         * elf/sprof.c (print_version): Likewise.
51825         * iconv/iconv_prog.c: Likewise.
51826         * iconv/iconvconfig.c: Likewise.
51827         * locale/programs/locale.c: Likewise.
51828         * locale/programs/localedef.c: Likewise.
51829         * malloc/memusage.sh: Likewise.
51830         * malloc/mtrace.pl: Likewise.
51831         * nscd/nscd.c (print_version): Likewise.
51832         * nss/getent.c: Likewise.
51834         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
51835         PF_CAIF, and PF_ALG.
51836         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51838 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
51840         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
51841         (modules-names): Use them.
51842         (ifunc-test-modules, ifunc-pie-tests): Define.
51843         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
51844         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
51845         (test-extras): Likewise.
51846         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
51847         $(compile-command.c).
51848         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
51849         (all-built-dso): Define.
51850         (check-textrel.out, check-execstack.out): Depend on it.
51852         * configure.in: Don't override --enable-multi-arch.
51854 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
51856         [BZ #6812]
51857         * nscd/hstcache.c (tryagain): Define.
51858         (cache_addhst): Return tryagain not notfound for temporary errors.
51859         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
51860         failed.
51862 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
51864         [BZ #10563]
51865         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
51866         to make the syscall.
51867         * sysdeps/unix/sysv/linux/setgroups.c: New file.
51869         [BZ #12378]
51870         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
51871         and fall back to matching as normal character if the string ends before
51872         the matching ']' is found.  This is what POSIX requires.
51873         * posix/testfnm.c: Adjust test result.
51874         * posix/globtest.sh: Adjust test result.  Add new test.
51875         * posix/tst-fnmatch.input: Likewise.
51876         * posix/tst-fnmatch2.c: Add new test.
51878 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
51880         * elf/Makefile (check-execstack): Revert last change.  Depend on
51881         check-execstack.h.
51882         (check-execstack.h): New target.
51883         (generated): Add check-execstack.h.
51884         * elf/check-execstack.c: Include "check-execstack.h".
51885         (main): Revert last change.
51886         (handle_file): Return zero if GNU_STACK is absent and
51887         DEFAULT_STACK_PERMS doesn't include PF_X.
51889 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
51891         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
51892         in child fails because the descriptor is already closed.
51893         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
51894         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
51895         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
51897         [BZ #12397]
51898         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
51899         syscall.
51901         [BZ #10484]
51902         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
51903         temporary buffer used to handle multi lookups locally.
51904         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
51906 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
51908         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
51909         loader is ld.so.
51911 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
51913         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
51914         alignment for SSE2.
51916 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
51918         [BZ #12394]
51919         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
51920         characters.  When rounding increased number of integer digits recompute
51921         number of groups.
51922         * stdio-common/tst-grouping.c: New file.
51923         * stdio-common/Makefile: Add rules to build and run tst-grouping.
51925 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
51927         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
51928         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
51930         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
51931         void.
51932         * bits/select.h: Likewise.
51934 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
51936         * po/ja.po: Update from translation team.
51938 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
51940         [BZ #11155]
51941         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
51942         implementation just like for lxstat, fxstatat, et al.
51944 2010-12-27  Jim Meyering  <meyering@redhat.com>
51946         [BZ #12348]
51947         * posix/regexec.c (build_trtable): Return failure indication upon
51948         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
51950 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
51952         [BZ #12201]
51953         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
51954         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
51955         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
51956         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
51958         [BZ #12207]
51959         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
51961         [BZ #12204]
51962         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
51963         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
51965 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
51967         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
51968         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
51969         script has SORT_BY_INIT_PRIORITY.
51970         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
51971         NO_CTORS_DTORS_SECTIONS is defined.
51972         * elf/soinit.c: Likewise.
51973         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
51974         NO_CTORS_DTORS_SECTIONS is defined.
51975         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
51976         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
51977         * sysdeps/sh/init-first.c: Likewise.
51978         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
51980 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
51982         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
51983         always use the slow path.
51985 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
51987         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
51988         similar rule which adds the sysdep directories to the header search in
51989         order to pick up the correct platform stackinfo.h.
51990         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
51991         perform test if it is, otherwise return successfully without testing.
51992         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
51993         DEFAULT_STACK_PERMS define in stackinfo.h.
51994         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
51995         defined in stackinfo.h.
51996         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
51997         DEFAULT_STACK_PERMS defined in stackinfo.h.
51998         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
51999         * sysdeps/ia64/stackinfo.h: Likewise.
52000         * sysdeps/s390/stackinfo.h: Likewise.
52001         * sysdeps/sh/stackinfo.h: Likewise.
52002         * sysdeps/sparc/stackinfo.h: Likewise.
52003         * sysdeps/x86_64/stackinfo.h: Likewise.
52004         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
52005         PF_X for powerpc64.  Retain PF_X for powerpc32.
52007 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
52009         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
52010         accurately.
52011         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
52012         GETDENTS_64BIT_ALIGNED.
52014 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
52016         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
52018 2010-12-10  Andreas Schwab  <schwab@redhat.com>
52020         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
52021         _GNU_SOURCE.
52023         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
52024         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
52025         Remove __restrict.
52026         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
52027         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
52029 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
52031         [BZ #11655]
52032         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
52033         are initialized.
52035 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
52037         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
52039 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
52041         * po/it.po: Update from translation team.
52043 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
52045         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
52046         unused codes.
52048 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
52050         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
52052 2010-11-24  Andreas Schwab  <schwab@redhat.com>
52054         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
52055         specially.
52056         (gaih_getanswer_slice): Likewise.
52058 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
52060         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
52062 2010-05-31  Petr Baudis  <pasky@suse.cz>
52064         [BZ #11149]
52065         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
52066         silently even in the chroot mode.
52068 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
52070         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
52071         last patch a bit.  Pretty printing
52073 2010-05-31  Petr Baudis <pasky@suse.cz>
52075         [BZ #10085]
52076         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
52077         initialization of skip_initgroups_dyn.
52079 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
52081         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
52082         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
52084 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
52086         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
52088 2010-11-11  Andreas Schwab  <schwab@redhat.com>
52090         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
52091         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
52092         (tst-fnmatch-ENV): Set MALLOC_TRACE.
52093         ($(objpfx)tst-fnmatch-mem): New rule.
52094         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
52095         * posix/tst-fnmatch.c (main): Call mtrace.
52097 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
52099         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52100         Support Intel processor model 6 and model 0x2c.
52102 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
52104         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
52105           signed comparison.
52107 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
52109         [BZ #12205]
52110         * string/test-strncasecmp.c (check_result): New function.
52111         (do_one_test): Use it.
52112         (check1): New function.
52113         (test_main): Use it.
52114         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
52115         Support strcasecmp and strncasecmp.
52117 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
52119         [BZ #12194]
52120         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
52121         * sysdeps/x86_64/bits/byteswap.h: Likewise.
52123 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
52125         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
52126         IFUNC support.
52127         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52128         memset-x86-64.
52129         * sysdeps/x86_64/multiarch/bzero.S: New file.
52130         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
52131         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
52132         * sysdeps/x86_64/multiarch/memset.S: New file.
52133         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
52134         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52135         Set bit_Prefer_SSE_for_memop for Intel processors.
52136         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
52137         Define.
52138         (index_Prefer_SSE_for_memop): Define.
52139         (HAS_PREFER_SSE_FOR_MEMOP): Define.
52141 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
52143         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
52144         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
52146 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
52148         [BZ #12191]
52149         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
52150         (__x86_64_raw_data_cache_size_half): Likewise.
52151         (__x86_64_raw_shared_cache_size): Likewise.
52152         (__x86_64_raw_shared_cache_size_half): Likewise.
52154         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
52155         (__x86_64_raw_data_cache_size_half): Likewise.
52156         (__x86_64_raw_shared_cache_size): Likewise.
52157         (__x86_64_raw_shared_cache_size_half): Likewise.
52158         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
52159         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
52160         and __x86_64_raw_shared_cache_size_half.  Round
52161         __x86_64_data_cache_size_half, __x86_64_data_cache_size
52162         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
52163         to multiple of 256 bytes.
52165 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
52167         [BZ #12167]
52168         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
52169         of inacessible symlinks.  Verify result of symlink before returning it.
52170         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
52171         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
52173 2010-10-28  Erich Ritz  <erichritz@gmail.com>
52175         * math/math.h (isinf): Fix typo in comment.
52177 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
52179         * po/da.po: Update from translation team.
52181 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
52183         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
52184         is added to the list.
52186 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52187             Ulrich Drepper  <drepper@gmail.com>
52189         * elf/dl-object.c (_dl_new_object): Don't append the new object to
52190         the global list here.  Move code to...
52191         (_dl_add_to_namespace_list): ...here.  New function.
52192         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
52193         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
52194         * elf/dl-load.c (lose): Don't remove the element from the list.
52195         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
52196         (_dl_map_object): Likewise.
52198 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
52200         [BZ #12159]
52201         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
52202         into all bytes of SSE register.
52203         Patch by Richard Li <richardpku@gmail.com>.
52205 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
52207         [BZ #12140]
52208         * malloc/malloc.c (_int_free): Fill correct number of bytes when
52209         perturbing.
52211 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
52213         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
52214         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
52215         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
52216         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
52217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
52218         submachine.
52219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
52221 2010-10-22  Andreas Schwab  <schwab@redhat.com>
52223         * include/dlfcn.h (__RTLD_SECURE): Define.
52224         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
52225         mode & __RTLD_SECURE instead.
52226         (open_path): Rename preloaded parameter to secure.
52227         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
52228         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
52229         * elf/dl-deps.c (openaux): Likewise.
52230         * elf/rtld.c (struct map_args): Remove is_preloaded.
52231         (map_doit): Don't use it.
52232         (dl_main): Likewise.
52233         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
52234         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
52236 2010-09-09  Andreas Schwab  <schwab@redhat.com>
52238         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
52239         (sysd-rules-targets): Remove duplicates.
52240         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
52241         rtld-%.$o dependency.
52243 2010-10-18  Andreas Schwab  <schwab@redhat.com>
52245         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
52246         _dl_map_object do it.
52248 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
52250         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
52251         fast fma builtins, define the macros in the C99 standard.
52252         (FP_FAST_FMAF): Likewise.
52253         (FP_FAST_FMAL): Likewise.
52254         * sysdeps/x86_64/bits/mathdef.h: Likewise.
52256         * bits/mathdef.h: Update copyright year.
52257         * sysdeps/powerpc/bits/mathdef.h: Likewise.
52259 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
52261         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
52262         builtins, define the macros in the C99 standard.
52263         (FP_FAST_FMAF): Likewise.
52264         (FP_FAST_FMAL): Likewise.
52265         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
52266         multiply/add.
52267         (FP_FAST_FMAF): Likewise.
52269 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
52271         [BZ #3268]
52272         * math/libm-test.inc (fma_test): Some new testcases.
52273         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
52274         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
52275         y and infinite z.  Do multiplication by C already in long double.
52276         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
52277         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
52278         y and infinite z.  Do bitwise or of inexact bit into u.d.
52279         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
52280         * sysdeps/i386/fpu/s_fmaf.S: Removed.
52281         * sysdeps/i386/fpu/s_fma.S: Removed.
52282         * sysdeps/i386/fpu/s_fmal.S: Removed.
52284 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
52286         [BZ #3268]
52287         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
52288         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
52289         computation is not scheduled after fetestexcept.  Fix value
52290         of minimum denormal long double.
52292 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
52294         [BZ #3268]
52295         * math/libm-test.inc (fma_test): Add some more tests.
52296         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
52297         correctly.
52299 2010-10-15  Andreas Schwab  <schwab@redhat.com>
52301         * scripts/data/localplt-s390-linux-gnu.data: New file.
52302         * scripts/data/localplt-s390x-linux-gnu.data: New file.
52304 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
52306         [BZ #3268]
52307         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
52308         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
52309         instead of dbl-64.
52310         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
52311         inlines.
52312         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
52313         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
52314         if one of x and y is very large and the other is subnormal.
52315         * sysdeps/s390/fpu/s_fmaf.c: New file.
52316         * sysdeps/s390/fpu/s_fma.c: New file.
52317         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
52318         * sysdeps/powerpc/fpu/s_fma.S: New file.
52319         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
52320         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
52321         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
52323 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
52325         [BZ #3268]
52326         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
52327         fma tests.
52328         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
52329         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
52330         * sysdeps/i386/i686/multiarch/s_fma.c: Include
52331         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
52332         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
52333         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
52334         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
52336 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
52338         [BZ #12078]
52339         * posix/regcomp.c (parse_branch): One more memory leak plugged.
52340         * posix/bug-regex31.input: Add test case.
52342 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
52344         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
52345         * posix/bug-regex31.input: New file.
52347         [BZ #12078]
52348         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
52349         (parse_sub_exp): Fix last change, use postorder.
52351         * posix/bug-regex31.c: New file.
52352         * posix/Makefile: Add rules to build and run bug-regex31.
52354         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
52356         [BZ #12078]
52357         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
52359         [BZ #12108]
52360         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
52361         to have entries in sys_siglist.
52363         [BZ #12093]
52364         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
52365         be NULL.
52367 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
52369         [BZ #3268]
52370         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
52371         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
52372         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
52373         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
52374         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52375         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
52376         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
52377         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
52378         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
52379         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
52380         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
52381         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
52382         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
52383         * math/ftestexcept.c (fetestexcept): Likewise.
52384         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
52385         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
52386         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
52387         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
52388         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
52389         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
52390         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
52392 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
52394         [BZ #12107]
52395         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
52396         newline.
52398 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
52400         * string/bug-strstr1.c: New file.
52401         * string/Makefile: Add rules to build and run bug-strstr1.
52403 2010-10-05  Eric Blake  <eblake@redhat.com>
52405         [BZ #12092]
52406         * string/str-two-way.h (two_way_long_needle): Always clear memory
52407         when skipping input due to the shift table.
52409 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
52411         [BZ #12005]
52412         * malloc/mcheck.c: Handle large requests.
52414         [BZ #12077]
52415         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
52416         for strncmp and strncasecmp.
52417         * string/stratcliff.c: Add tests for strcmp and strncmp.
52418         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
52420 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52422         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
52423         __set_fpscr.
52425 2010-09-30  Andreas Jaeger  <aj@suse.de>
52427         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
52428         (CGROUP_SUPER_MAGIC): Define.
52429         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52430         Handle btrfs and cgroup file systems.
52431         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
52432         Likewise.
52434 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
52436         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
52437         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
52439 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52441         [BZ #12067]
52442         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
52443         trying to locate the ELF header.
52445 2010-09-27  Andreas Schwab  <schwab@redhat.com>
52447         [BZ #11611]
52448         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
52449         Mask out sign-bit copies when constructing f_fsid.
52451 2010-09-24  Petr Baudis <pasky@suse.cz>
52453         * debug/stack_chk_fail_local.c: Add missing licence exception.
52454         * debug/warning-nop.c: Likewise.
52456 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
52458         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
52459         implementing getdents64 using getdents syscall, set d_type if
52460         __ASSUME_GETDENTS32_D_TYPE.
52462 2010-09-16  Andreas Schwab  <schwab@redhat.com>
52464         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
52465         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
52467 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
52469         [BZ #12037]
52470         * posix/unistd.h: Undo change of feature selection for ftruncate from
52471         2010-01-11.
52473 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
52475         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
52476         detection.
52478 2010-09-20  Andreas Schwab  <schwab@redhat.com>
52480         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
52481         fanotify_mark.
52482         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
52484 2010-09-14  Andreas Schwab  <schwab@redhat.com>
52486         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
52487         variables after CHECK_SP call.
52488         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
52490 2010-09-13  Andreas Schwab  <schwab@redhat.com>
52491             Ulrich Drepper  <drepper@redhat.com>
52493         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
52494         re-relocationg ld.so.
52495         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
52496         _dl_init_paths call.
52497         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
52498         here anymore.
52500 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
52502         * resolv/res_init.c (__res_vinit): Count the default server we added.
52504 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
52505             Ulrich Drepper  <drepper@redhat.com>
52507         [BZ #11968]
52508         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
52509         (____longjmp_chk): Use %ebx for saving value across system call.
52510         Add unwind info.
52512 2010-09-06  Andreas Schwab  <schwab@redhat.com>
52514         * manual/Makefile: Don't mix pattern rules with normal rules.
52516 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
52518         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
52519         operation.
52520         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
52521         * libio/iofopncook.c (_IO_cookie_init): Likewise.
52522         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
52523         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
52524         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52525         Likewise.
52527 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
52529         [BZ #11979]
52530         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
52531         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
52533 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
52535         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
52536         * sysdeps/x86_64/addmul_1.S: Likewise.
52537         * sysdeps/x86_64/lshift.S: Likewise.
52538         * sysdeps/x86_64/mul_1.S: Likewise.
52539         * sysdeps/x86_64/rshift.S: Likewise.
52540         * sysdeps/x86_64/sub_n.S: Likewise.
52541         * sysdeps/x86_64/submul_1.S: Likewise.
52543 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52545         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
52546         Define __sched_param instead of SCHED_* and sched_param when
52547         <bits/sched.h> is included with __need_schedparam defined.
52548         * bits/sched.h [__need_schedparam]
52549         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
52550         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
52551         (__defined_schedparam): Define to 1.
52552         (__sched_param): New structure, identical to sched_param.
52553         (__need_schedparam): Undefine.
52555 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
52557         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
52558         (epoll_create1): Declare.
52560         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
52562 2010-08-31  Andreas Schwab  <schwab@redhat.com>
52564         [BZ #7066]
52565         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
52566         shifting retval into place.
52568 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
52570         * nis/rpcsvc/nis.h: Update copyright notice.
52571         * nis/rpcsvc/nis.x: Likewise.
52572         * nis/rpcsvc/nis_callback.h: Likewise.
52573         * nis/rpcsvc/nis_callback.x: Likewise.
52574         * nis/rpcsvc/nis_object.x: Likewise.
52575         * nis/rpcsvc/nis_tags.h: Likewise.
52576         * nis/rpcsvc/yp.h: Likewise.
52577         * nis/rpcsvc/yp.x: Likewise.
52578         * nis/rpcsvc/ypupd.h: Likewise.
52579         * nis/yp_xdr.c: Likewise.
52580         * nis/ypupdate_xdr.c: Likewise.
52582         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
52583         mainly the body of pmap_getport.  Add parameters to specify timeouts.
52584         (pmap_getport): Use __libc_rpc_getport.
52585         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
52586         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
52587         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
52589 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
52591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
52592         fanotify_mark.
52594 2010-08-27  Roland McGrath  <roland@redhat.com>
52596         * sysdeps/i386/i686/multiarch/Makefile
52597         (CFLAGS-varshift.c): New variable.
52599 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
52601         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
52602         * sysdeps/i386/i686/multiarch/varshift.c: New file.
52604         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
52606         * sysdeps/x86_64/strlen.S: Minimal code improvement.
52608 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
52610         * sysdeps/x86_64/strlen.S: Unroll the loop.
52611         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52612         strlen-sse2 strlen-sse2-bsf.
52613         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
52614         __strlen_no_bsf if bit_Slow_BSF is set.
52615         (__strlen_sse42): Removed.
52616         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
52617         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
52619 2010-08-25  Roland McGrath  <roland@redhat.com>
52621         * sysdeps/x86_64/multiarch/varshift.S: File removed.
52622         * sysdeps/x86_64/multiarch/varshift.c: New file.
52623         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
52624         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
52625         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
52626         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
52628 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
52630         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52631         strlen-sse2 strlen-sse2-bsf.
52632         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
52633         __strlen_sse2_bsf if bit_Slow_BSF is unset.
52634         (__strlen_sse2): Removed.
52635         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
52636         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
52637         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
52638         bit_Slow_BSF for Atom.
52639         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
52640         (index_Slow_BSF): Define.
52641         (HAS_SLOW_BSF): Define.
52643 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
52645         [BZ #10851]
52646         * resolv/res_init.c (__res_vinit): When no server address at all
52647         is given default to loopback.
52649 2010-08-24  Roland McGrath  <roland@redhat.com>
52651         * configure.in: Remove config-name.h generation.
52652         * configure: Regenerated.
52653         * config-name.in: File removed.
52654         * scripts/config-uname.sh: New file.
52655         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
52656         ($(objdir)config-name.h): New target.
52658         * sunrpc/rpc_parse.h: Avoid nested comment.
52660 2010-08-24  Richard Henderson  <rth@redhat.com>
52661             Ulrich Drepper  <drepper@redhat.com>
52662             H.J. Lu  <hongjiu.lu@intel.com>
52664         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
52665         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
52666         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
52667         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
52668         _mm_alignr_epi8 with _mm_loadu_si128.
52669         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
52670         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
52671         (__m128i_shift_right): Removed.
52672         * sysdeps/i386/i686/multiarch/varshift.h: New file.
52673         * sysdeps/i386/i686/multiarch/varshift.S: New file.
52674         * sysdeps/x86_64/multiarch/varshift.h: New file.
52675         * sysdeps/x86_64/multiarch/varshift.S: New file.
52677 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
52679         * configure.in: Move assembler checks to before sysdep dir checking.
52681 2010-08-20  Petr Baudis  <pasky@suse.cz>
52683         * LICENSES: Sync the sunrpc license.
52685 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
52687         * sunrpc/auth_des.c: Update copyright notice once again.
52688         * sunrpc/auth_none.c: Likewise.
52689         * sunrpc/auth_unix.c: Likewise.
52690         * sunrpc/authdes_prot.c: Likewise.
52691         * sunrpc/authuxprot.c: Likewise.
52692         * sunrpc/bindrsvprt.c: Likewise.
52693         * sunrpc/clnt_gen.c: Likewise.
52694         * sunrpc/clnt_perr.c: Likewise.
52695         * sunrpc/clnt_raw.c: Likewise.
52696         * sunrpc/clnt_simp.c: Likewise.
52697         * sunrpc/clnt_tcp.c: Likewise.
52698         * sunrpc/clnt_udp.c: Likewise.
52699         * sunrpc/clnt_unix.c: Likewise.
52700         * sunrpc/des_crypt.c: Likewise.
52701         * sunrpc/des_soft.c: Likewise.
52702         * sunrpc/get_myaddr.c: Likewise.
52703         * sunrpc/getrpcport.c: Likewise.
52704         * sunrpc/key_call.c: Likewise.
52705         * sunrpc/key_prot.c: Likewise.
52706         * sunrpc/openchild.c: Likewise.
52707         * sunrpc/pm_getmaps.c: Likewise.
52708         * sunrpc/pm_getport.c: Likewise.
52709         * sunrpc/pmap_clnt.c: Likewise.
52710         * sunrpc/pmap_prot.c: Likewise.
52711         * sunrpc/pmap_prot2.c: Likewise.
52712         * sunrpc/pmap_rmt.c: Likewise.
52713         * sunrpc/rpc/auth.h: Likewise.
52714         * sunrpc/rpc/auth_unix.h: Likewise.
52715         * sunrpc/rpc/clnt.h: Likewise.
52716         * sunrpc/rpc/des_crypt.h: Likewise.
52717         * sunrpc/rpc/key_prot.h: Likewise.
52718         * sunrpc/rpc/netdb.h: Likewise.
52719         * sunrpc/rpc/pmap_clnt.h: Likewise.
52720         * sunrpc/rpc/pmap_prot.h: Likewise.
52721         * sunrpc/rpc/pmap_rmt.h: Likewise.
52722         * sunrpc/rpc/rpc.h: Likewise.
52723         * sunrpc/rpc/rpc_des.h: Likewise.
52724         * sunrpc/rpc/rpc_msg.h: Likewise.
52725         * sunrpc/rpc/svc.h: Likewise.
52726         * sunrpc/rpc/svc_auth.h: Likewise.
52727         * sunrpc/rpc/types.h: Likewise.
52728         * sunrpc/rpc/xdr.h: Likewise.
52729         * sunrpc/rpc_clntout.c: Likewise.
52730         * sunrpc/rpc_cmsg.c: Likewise.
52731         * sunrpc/rpc_common.c: Likewise.
52732         * sunrpc/rpc_cout.c: Likewise.
52733         * sunrpc/rpc_dtable.c: Likewise.
52734         * sunrpc/rpc_hout.c: Likewise.
52735         * sunrpc/rpc_main.c: Likewise.
52736         * sunrpc/rpc_parse.c: Likewise.
52737         * sunrpc/rpc_parse.h: Likewise.
52738         * sunrpc/rpc_prot.c: Likewise.
52739         * sunrpc/rpc_sample.c: Likewise.
52740         * sunrpc/rpc_scan.c: Likewise.
52741         * sunrpc/rpc_scan.h: Likewise.
52742         * sunrpc/rpc_svcout.c: Likewise.
52743         * sunrpc/rpc_tblout.c: Likewise.
52744         * sunrpc/rpc_util.c: Likewise.
52745         * sunrpc/rpc_util.h: Likewise.
52746         * sunrpc/rpcinfo.c: Likewise.
52747         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
52748         * sunrpc/rpcsvc/key_prot.x: Likewise.
52749         * sunrpc/rpcsvc/klm_prot.x: Likewise.
52750         * sunrpc/rpcsvc/mount.x: Likewise.
52751         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
52752         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
52753         * sunrpc/rpcsvc/rex.x: Likewise.
52754         * sunrpc/rpcsvc/rstat.x: Likewise.
52755         * sunrpc/rpcsvc/rusers.x: Likewise.
52756         * sunrpc/rpcsvc/sm_inter.x: Likewise.
52757         * sunrpc/rpcsvc/spray.x: Likewise.
52758         * sunrpc/rpcsvc/yppasswd.x: Likewise.
52759         * sunrpc/rtime.c: Likewise.
52760         * sunrpc/svc.c: Likewise.
52761         * sunrpc/svc_auth.c: Likewise.
52762         * sunrpc/svc_authux.c: Likewise.
52763         * sunrpc/svc_raw.c: Likewise.
52764         * sunrpc/svc_run.c: Likewise.
52765         * sunrpc/svc_simple.c: Likewise.
52766         * sunrpc/svc_tcp.c: Likewise.
52767         * sunrpc/svc_udp.c: Likewise.
52768         * sunrpc/svc_unix.c: Likewise.
52769         * sunrpc/svcauth_des.c: Likewise.
52770         * sunrpc/xcrypt.c: Likewise.
52771         * sunrpc/xdr.c: Likewise.
52772         * sunrpc/xdr_array.c: Likewise.
52773         * sunrpc/xdr_float.c: Likewise.
52774         * sunrpc/xdr_mem.c: Likewise.
52775         * sunrpc/xdr_rec.c: Likewise.
52776         * sunrpc/xdr_ref.c: Likewise.
52777         * sunrpc/xdr_sizeof.c: Likewise.
52778         * sunrpc/xdr_stdio.c: Likewise.
52780         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
52781         handling.
52783 2010-08-19  Andreas Schwab  <schwab@redhat.com>
52785         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
52787 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
52789         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
52790         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
52791         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
52792         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
52793         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
52794         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
52795         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
52796         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
52797         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
52798         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
52799         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
52800         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
52801         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
52802         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
52804 2010-07-26  Anton Blanchard  <anton@samba.org>
52806         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
52807         * malloc/arena.c (heap_trim): Likewise.
52809 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
52811         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
52812         here.  Not...
52813         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
52814         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
52816 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
52818         * sysdeps/i386/elf/Makefile: New file.
52820 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
52822         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
52823         from fanotify_init.
52824         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
52825         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
52827 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
52829         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
52830         of strncasecmp_l.
52831         * sysdeps/multiarch/strcmp.S: Likewise.
52833 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
52835         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
52836         strncase_l-nonascii.
52837         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
52838         Add strncase_l-ssse3.
52839         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
52840         * sysdeps/x86_64/strcmp.S: Likewise.
52841         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
52842         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
52843         * sysdeps/x86_64/strncase.S: New file.
52844         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
52845         * sysdeps/x86_64/strncase_l.S: New file.
52846         * string/Makefile (strop-tests): Add strncasecmp.
52847         * string/test-strncasecmp.c: New file.
52849         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
52850         warning.
52852         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
52853         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
52855 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
52857         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
52859 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
52861         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
52862         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
52863         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
52865 2010-05-01  Alan Modra  <amodra@gmail.com>
52867         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
52868         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
52869         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
52870         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
52871         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
52872         tidying.  Don't tail-call __sigjmp_save for static lib.
52873         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
52874         save location.
52875         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
52876         (CALL_MCOUNT): Add eh info, and nop after bl.
52877         (TAIL_CALL_SYSCALL_ERROR): New macro.
52878         (PSEUDO_RET): Use it.
52879         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
52880         Correct save location of integer regs and cr.
52881         (_dl_profile_resolve): Correct cr save location.  Delete nops
52882         after bl when SHARED.  Reduce cfi size a little by better
52883         placement of cfi directives.
52884         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
52885         make a stack frame.  Instead use parm save area as a temp.
52886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
52887         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
52888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
52889         Don't make a stack frame for parent, use parm save area.
52890         Increase child stack frame to 112 bytes.  Don't save unused reg,
52891         and adjust reg usage.  Set up cfi on error recovery and
52892         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
52893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
52894         (__makecontext): Add dummy nop after jump to exit.
52895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
52896         Use correct parm save area and cr save, reduce stack frame.
52897         Correct cfi for possible PSEUDO_RET frame setup.
52898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
52899         Branch to local label emitted by PSEUDO_RET rather than
52900         __syscall_error.
52902 2010-08-12  Andreas Schwab  <schwab@redhat.com>
52904         [BZ #11904]
52905         * locale/programs/locale.c (print_assignment): New function.
52906         (show_locale_vars): Use it.
52908 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
52910         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
52911         field.
52912         (struct statfs64): Likewise.
52913         (_STATFS_F_FLAGS): Define.
52914         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
52915         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52916         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
52917         (ST_VALID): Define locally.
52918         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
52919         __statvfs_getflags, use the provided value.
52920         * sysdeps/unix/sysv/linux/kernel-features.h: Define
52921         __ASSUME_STATFS_F_FLAGS.
52923         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
52925         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
52926         Add sys/fanotify.h.
52927         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
52928         fanotify_mask for GLIBC_2.13.
52929         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
52930         fanotify_init and fanotify_mark.
52931         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
52932         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
52934         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
52935         Add prlimit.
52936         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
52937         prlimit64 for GLIBC_2.13.
52938         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
52939         prlimit64.
52940         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
52941         syscall.
52942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
52943         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
52944         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
52945         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
52946         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
52947         add prlimit alias.
52948         * sysdeps/unix/sysv/linux/prlimit.c: New file.
52950         [BZ #11903]
52951         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
52952         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
52954         * nss/Makefile: Add rules to build and run tst-nss-test1.
52955         * shlib-versions: Add entry for libnss_test1.
52956         * nss/nss_test1.c: New file.
52957         * nss/tst-nss-test1.c: New file.
52959         * nss/nsswitch.c (__nss_database_custom): Define new variable.
52960         (__nss_configure_lookup): Set appropriate entry in
52961         __nss_configure_lookup to true.
52962         * nss/nsswitch.h: Define enum with indeces of databases in
52963         databases and __nss_database_custom arrays.  Declare
52964         __nss_database_custom.
52965         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
52966         to avoid using nscd when custom rules are installed.
52967         * nss/getXXbyYY_r.c: Likewise.
52968         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
52970         * nss/nss_files/files-parse.c: Whitespace fixes.
52972 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
52974         [BZ #11883]
52975         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
52976         * posix/fnmatch_loop.c: Likewise.
52978 2010-07-17  Andi Kleen  <ak@linux.intel.com>
52980         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
52981         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
52982         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
52983         * Versions.def [GLIBC_2.13]: Add.
52985 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
52987         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
52988         Also fail if tpwd after pwuid call is NULL.
52990 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52992         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
52993         when converting to ms.
52995 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52997         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
52998         EOPNOTSUPP errors with ENOTTY.
52999         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
53000         EOPNOTSUPP errors with ENOTTY.
53002 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
53004         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
53005         Add strcasecmp_l-ssse3.
53006         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
53007         strcasecmp.
53008         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
53009         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
53010         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
53012 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
53014         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
53016         * string/Makefile (strop-tests): Add strcasecmp.
53017         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
53018         strcasecmp_l-nonascii.
53019         (gen-as-const-headers): Add locale-defines.sym.
53020         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
53021         * sysdeps/x86_64/strcasecmp.S: New file.
53022         * sysdeps/x86_64/strcasecmp_l.S: New file.
53023         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
53024         * sysdeps/x86_64/locale-defines.sym: New file.
53025         * string/test-strcasecmp.c: New file.
53027         * string/test-strcasestr.c: Test both ends of the range of characters.
53028         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
53030 2010-07-29  Roland McGrath  <roland@redhat.com>
53032         [BZ #11856]
53033         * manual/locale.texi (Yes-or-No Questions): Fix example code.
53035 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
53037         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
53038         for ld.so.
53040 2010-07-27  Andreas Schwab  <schwab@redhat.com>
53042         * manual/memory.texi (Malloc Tunable Parameters): Document
53043         M_PERTURB.
53045 2010-07-26  Roland McGrath  <roland@redhat.com>
53047         [BZ #11840]
53048         * configure.in (-fgnu89-inline check): Set and substitute
53049         gnu89_inline, not libc_cv_gnu89_inline.
53050         * configure: Regenerated.
53051         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
53053 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
53055         * string/test-strnlen.c: New file.
53056         * string/Makefile (strop-tests): Add strnlen.
53057         * string/tester.c (test_strnlen): Add a few more test cases.
53058         * string/tst-strlen.c: Better error reporting.
53060         * sysdeps/x86_64/strnlen.S: New file.
53062 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
53064         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
53065         lower-latency instructions.
53067 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
53069         * string/test-strcasestr.c: New file.
53070         * string/test-strstr.c: New file.
53071         * string/Makefile (strop-tests): Add strstr and strcasestr.
53072         * string/str-two-way.h: Don't undefine MAX.
53073         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
53075 2010-07-21  Andreas Schwab  <schwab@redhat.com>
53077         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53078         strcasestr-nonascii.
53079         (CFLAGS-strcasestr-nonascii.c): Define.
53080         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
53081         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
53082         Remove unused attribute.
53084 2010-07-20  Roland McGrath  <roland@redhat.com>
53086         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
53087         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
53088         ld.so.cache was broken.  With it, there is no way to disable dsocaps
53089         like LD_HWCAP_MASK can disable hwcaps.
53091 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
53093         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
53095 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
53097         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
53098         call in strcasestr.
53099         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
53100         __strcasestr_sse42_nonascii.
53101         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
53102         strcasestr-nonascii.c.
53103         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
53105 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
53107         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
53108         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
53109         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
53110         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
53112 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
53114         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
53115         fcntl.
53117 2010-07-06  Andreas Schwab  <schwab@redhat.com>
53119         [BZ #11577]
53120         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
53121         dl_signal_cerror.
53123 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
53125         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
53126         _PC_PIPE_BUF using F_GETPIPE_SZ.
53128 2010-07-05  Roland McGrath  <roland@redhat.com>
53130         * manual/arith.texi (Rounding Functions): Fix rint description
53131         implicit in round description.
53133 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
53135         * elf/Makefile: Fix linking for a few tests to make recent linker
53136         happy.
53138 2010-06-30  Andreas Schwab  <schwab@redhat.com>
53140         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
53141         $(common-objpfx)libc_nonshared.a.
53143 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
53145         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
53146         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
53147         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
53148         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
53149         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
53150         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
53151         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
53152         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
53153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
53154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
53155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
53156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
53157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
53158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
53159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
53160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
53161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
53162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
53163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
53164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
53165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
53166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
53167         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
53168         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
53169         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
53170         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
53171         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
53172         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
53173         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
53174         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
53175         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
53176         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
53177         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
53178         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
53179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
53180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
53181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
53182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
53183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
53184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
53185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
53186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
53187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
53188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
53189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
53190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
53191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
53192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
53194 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
53196         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
53197         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
53198         * string/memmove.c (memmove): Renamed to ...
53199         (MEMMOVE): ...this.  Default to memmove.
53200         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
53201         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
53202         (END_CHK): Define.
53203         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53204         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
53205         mempcpy-ssse3-back memmove-ssse3-back.
53206         * sysdeps/x86_64/multiarch/bcopy.S: New file .
53207         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
53208         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
53209         * sysdeps/x86_64/multiarch/memcpy.S: New file.
53210         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
53211         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
53212         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
53213         * sysdeps/x86_64/multiarch/memmove.c: New file.
53214         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
53215         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
53216         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
53217         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
53218         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
53219         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
53220         Define.
53221         (index_Fast_Copy_Backward): Define.
53222         (HAS_ARCH_FEATURE): Define.
53223         (HAS_FAST_REP_STRING): Define.
53224         (HAS_FAST_COPY_BACKWARD): Define.
53226 2010-06-21  Andreas Schwab  <schwab@redhat.com>
53228         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
53229         Restore proper fallback handling.
53231 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
53233         [BZ #11701]
53234         * posix/group_member.c (__group_member): Correct checking loop.
53236         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
53237         OOM in getpwuid_r correctly.  Return error number when the caller
53238         should return, otherwise -1.
53239         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
53240         call returning > 0 value.
53241         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
53243 2010-06-07  Andreas Schwab  <schwab@redhat.com>
53245         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
53246         libc_nonshared.a from targets in modules-names.
53248 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
53250         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
53251         requires it.
53253 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
53255         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
53256         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
53257         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
53258         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
53260 2010-06-02  Andreas Schwab  <schwab@redhat.com>
53262         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
53264 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
53266         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
53267         and F_GETPIPE_SZ.
53268         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
53269         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53270         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53271         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53272         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53273         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
53275 2010-06-14  Roland McGrath  <roland@redhat.com>
53277         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
53279 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
53281         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
53282         __REDIRECT followed by __THROW.
53283         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
53284         * posix/getopt.h (getopt): Likewise.
53286 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
53288         * hurd/lookup-at.c (__file_name_lookup_at): Accept
53289         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
53290         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
53291         in AT_FLAGS.
53292         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
53293         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
53295 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
53297         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
53299 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
53301         [BZ #11640]
53302         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53303         Properly check family and model.
53305 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
53307         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
53309 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
53311         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
53313 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
53315         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
53316         symbol reference.
53318 2010-05-19  Andreas Schwab  <schwab@redhat.com>
53320         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
53321         symbol reference.
53323 2010-05-21  Andreas Schwab  <schwab@redhat.com>
53325         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
53326         and internal_recvmmsg.
53327         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
53328         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
53329         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
53330         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
53332         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
53333         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
53334         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
53336 2010-05-20  Andreas Schwab  <schwab@redhat.com>
53338         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
53340 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
53342         POWER7 optimizations.
53343         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
53344         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
53346 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
53348         * version.h: Update for 2.13 development version.
53350 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
53352         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
53353         exceptions.  Return 0.
53355 2010-05-07  Roland McGrath  <roland@redhat.com>
53357         * elf/ldconfig.c (main): Add a const.
53359 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
53361         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
53362         (args_options): Add no-idn option.
53363         (ahosts_keys_int): Add idn_flags to ai_flags.
53364         (parse_option): Handle 'i' option to clear idn_flags.
53366         * malloc/malloc.c (_int_free): Possible race in the most recently
53367         added check.  Only act on the data if no current modification
53368         happened.
53370 See ChangeLog.17 for earlier changes.