Mention mkdtemp as another secure alternative to mktemp
[glibc.git] / ChangeLog
blobfdc05c00d3cc247ffb9af9e2fcc216c39ed6a5cd
1 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
3         [BZ #2898]
4         * misc/mktemp.c: Add mkdtemp to the link_warning message.
5         Based on patch by Aurelien Jarno.
7 2015-08-26  Stan Shebs  <stanshebs@google.com>
9         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
10         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
12 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
15         * sysdeps/powerpc/dl-procinfo.c:
16         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
17         feature so it shows when LD_SHOW_AUXV=1.
19 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
22         (__arch_compare_and_exchange_val_32_acq): Remove and use common
23         definition.  ISA 2.07B no longer requires full sync.
25 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
27         [BZ #18863]
28         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
29         (si_call_addr): Define.
30         (si_syscall): Define.
31         (si_arch): Define.
33 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
35         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
36         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
37         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
38         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
39         (__memset_zero_constant_len_parameter): New.
40         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
41         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
42         (__memset_zero_constant_len_parameter): Don't define if
43         __memset_chk or USE_AS_BZERO are defined.
45         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
46         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
47         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
49         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
50         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
51         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
52         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
53         comments.
54         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
55         -mno-mmx for $(all-rtld-routines).
56         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
57         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
58         i386.
60 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
62         * sysdeps/generic/unwind.h
63         (_Unwind_Word): Use __mode__(__unwind_word__)
64         instead of __mode__(__word__).
65         (_Unwind_Sword): Likewise.
67         * sysdeps/s390/s390-64/utf8-utf16-z9.c
68         (MAX_NEEDED_INPUT): New define.
69         (MAX_NEEDED_OUTPUT): New define.
71         * NEWS: New item for IBM z13 string optimizations.
73         * sysdeps/s390/multiarch/memrchr-c.c: New File.
74         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
75         * sysdeps/s390/multiarch/memrchr.c: Likewise.
76         * sysdeps/s390/multiarch/Makefile
77         (sysdep_routines): Add memrchr functions.
78         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
79         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
81         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
82         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
83         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
84         * sysdeps/s390/multiarch/Makefile
85         (sysdep_routines): Add wmemcmp functions.
86         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
87         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
88         * benchtests/bench-wmemcmp.c: New File.
89         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
91         * sysdeps/s390/multiarch/wmemset-c.c: New File.
92         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
93         * sysdeps/s390/multiarch/wmemset.c: Likewise.
94         * sysdeps/s390/multiarch/Makefile
95         (sysdep_routines): Add wmemset functions.
96         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
97         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
98         * wcsmbs/wmemset.c: Use WMEMSET if defined.
99         * string/test-memset.c: Add wmemset support.
100         * wcsmbs/test-wmemset.c: New File.
101         * wcsmbs/Makefile (strop-tests): Add wmemset.
102         * benchtests/bench-memset.c: Add wmemset support.
103         * benchtests/bench-wmemset.c: New File.
104         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
106         * sysdeps/s390/multiarch/memccpy-c.c: New File.
107         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
108         * sysdeps/s390/multiarch/memccpy.c: Likewise.
109         * sysdeps/s390/multiarch/Makefile
110         (sysdep_routines): Add memccpy functions.
111         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
112         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
113         * string/memccpy.c: Use MEMCCPY if defined.
115         * sysdeps/s390/multiarch/memchr-vx.S: New File.
116         * sysdeps/s390/multiarch/memchr.c: Likewise.
117         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
118         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
119         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
120         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
121         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
122         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
123         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
124         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
125         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
126         and rawmemchr functions.
127         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
128         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
129         and wmemchr.
130         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
131         * string/test-memchr.c: Add wmemchr support.
132         * wcsmbs/test-wmemchr.c: New File.
133         * wcsmbs/Makefile (strop-tests): Add wmemchr.
134         * benchtests/bench-memchr.c: Add wmemchr support.
135         * benchtests/bench-wmemchr.c: New File.
136         * benchtests/Makefile (wcsmbs-bench): wmemchr.
138         * sysdeps/s390/multiarch/strcspn-c.c: New File.
139         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
140         * sysdeps/s390/multiarch/strcspn.c: Likewise.
141         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
142         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
143         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
144         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
145         wcscspn functions.
146         * sysdeps/s390/multiarch/ifunc-impl-list.c
147         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
148         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
149         * string/test-strcspn.c: Add wcscspn support.
150         * wcsmbs/test-wcscspn.c: New File.
151         * wcsmbs/Makefile (strop-tests): Add wcscspn.
152         * benchtests/bench-strcspn.c: Add wcscspn support.
153         * benchtests/bench-wcscspn.c: New File.
154         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
156         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
157         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
158         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
159         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
160         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
161         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
162         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
163         wcspbrk functions.
164         * sysdeps/s390/multiarch/ifunc-impl-list.c
165         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
166         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
167         * string/test-strpbrk.c: Add wcspbrk support.
168         * wcsmbs/test-wcspbrk.c: New File.
169         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
170         * benchtests/bench-strpbrk.c: Add wcspbrk support.
171         * benchtests/bench-wcspbrk.c: New File.
172         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
174         * sysdeps/s390/multiarch/strspn-c.c: New File.
175         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
176         * sysdeps/s390/multiarch/strspn.c: Likewise.
177         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
178         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
179         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
180         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
181         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
182         wcsspn functions.
183         * sysdeps/s390/multiarch/ifunc-impl-list.c
184         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
185         * string/test-strspn.c: Add wcsspn support.
186         * wcsmbs/test-wcsspn.c: New File.
187         * wcsmbs/Makefile (strop-tests): Add wcsspn.
188         * benchtests/bench-strspn.c: Add wcsspn support.
189         * benchtests/bench-wcsspn.c: New File.
190         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
192         * sysdeps/s390/multiarch/strrchr-c.c: New File.
193         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
194         * sysdeps/s390/multiarch/strrchr.c: Likewise.
195         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
196         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
197         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
198         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
199         wcsrchr functions.
200         * sysdeps/s390/multiarch/ifunc-impl-list.c
201         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
202         * benchtests/bench-wcsrchr.c: New File.
203         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
205         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
206         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
207         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
208         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
209         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
210         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
211         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
212         wcschrnul functions.
213         * sysdeps/s390/multiarch/ifunc-impl-list.c
214         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
215         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
216         * string/test-strchr.c: Add wcschrnul support.
217         * wcsmbs/test-wcschrnul.c: New File.
218         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
219         * benchtests/bench-strchr.c: Add wcschrnul support.
220         * benchtests/bench-wcschrnul.c: New File.
221         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
223         * sysdeps/s390/multiarch/strchr-c.c: New File.
224         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
225         * sysdeps/s390/multiarch/strchr.c: Likewise.
226         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
227         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
228         * sysdeps/s390/multiarch/wcschr.c: Likewise.
229         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
230         wcschr functions.
231         * sysdeps/s390/multiarch/ifunc-impl-list.c
232         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
233         * string/strchr.c (STRCHR): Define and use macro.
234         * benchtests/bench-wcschr.c: New File.
235         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
237         * sysdeps/s390/multiarch/strncmp-c.c: New File.
238         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
239         * sysdeps/s390/multiarch/strncmp.c: Likewise.
240         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
241         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
242         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
243         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
244         wcsncmp functions.
245         * sysdeps/s390/multiarch/ifunc-impl-list.c
246         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
247         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
248         * benchtests/bench-strncmp.c: Add wcsncmp support.
249         * benchtests/bench-wcsncmp.c: New File.
250         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
252         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
253         * sysdeps/s390/multiarch/strcmp.c: Likewise.
254         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
255         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
256         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
257         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
258         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
259         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
260         wcscmp functions.
261         * sysdeps/s390/multiarch/ifunc-impl-list.c
262         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
263         * string/strcmp.c (STRCMP): Define and use macro.
264         * benchtests/bench-wcscmp.c: New File.
265         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
266         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
267         instead of _HAVE_STRING_ARCH_memchr.
269         * sysdeps/s390/multiarch/strncat-c.c: New File.
270         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
271         * sysdeps/s390/multiarch/strncat.c: Likewise.
272         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
273         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
274         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
275         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
276         wcsncat functions.
277         * sysdeps/s390/multiarch/ifunc-impl-list.c
278         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
279         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
280         * string/test-strncat.c: Add wcsncat support.
281         * wcsmbs/test-wcsncat.c: New File.
282         * wcsmbs/Makefile (strop-tests): Add wcsncat.
283         * benchtests/bench-strncat.c: Add wcsncat support.
284         * benchtests/bench-wcsncat.c: New File.
285         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
287         * sysdeps/s390/multiarch/strcat-c.c: New File.
288         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
289         * sysdeps/s390/multiarch/strcat.c: Likewise.
290         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
291         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
292         * sysdeps/s390/multiarch/wcscat.c: Likewise.
293         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
294         wcscat functions.
295         * sysdeps/s390/multiarch/ifunc-impl-list.c
296         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
297         * string/strcat.c (STRCAT): Define and use macro.
298         * wcsmbs/wcscat.c: Use WCSCAT if defined.
299         * string/test-strcat.c: Add wcscat support.
300         * wcsmbs/test-wcscat.c: New File.
301         * wcsmbs/Makefile (strop-tests): Add wcscat.
302         * benchtests/bench-strcat.c: Add wcscat support.
303         * benchtests/bench-wcscat.c: New File.
304         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
306         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
307         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
308         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
309         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
310         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
311         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
312         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
313         wcpncpy functions.
314         * sysdeps/s390/multiarch/ifunc-impl-list.c
315         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
316         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
317         * string/test-stpncpy.c: Add wcpncpy support.
318         * wcsmbs/test-wcpncpy.c: New File.
319         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
320         * benchtests/bench-stpncpy.c: Add wcpncpy support.
321         * benchtests/bench-wcpncpy.c: New File.
322         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
324         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
325         * sysdeps/s390/multiarch/strncpy.c: Likewise.
326         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
327         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
328         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
329         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
330         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
331         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
332         wcsncpy functions.
333         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
334         * sysdeps/s390/multiarch/ifunc-impl-list.c
335         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
336         * string/test-strncpy.c: Add wcsncpy support.
337         * wcsmbs/test-wcsncpy.c: New File.
338         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
339         * benchtests/bench-strncpy.c: Add wcsncpy support.
340         * benchtests/bench-wcsncpy.c: New File.
341         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
343         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
344         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
345         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
346         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
347         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
348         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
349         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
350         wcpcpy functions.
351         * string/stpcpy.c: Use STPCPY if defined.
352         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
353         * sysdeps/s390/multiarch/ifunc-impl-list.c
354         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
355         * string/test-stpcpy.c: Add wcpcpy support.
356         * wcsmbs/test-wcpcpy.c: New File.
357         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
358         * benchtests/bench-stpcpy.c: Add wcpcpy support.
359         * benchtests/bench-wcpcpy.c: New File.
360         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
362         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
363         * sysdeps/s390/multiarch/strcpy.c: Likewise.
364         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
365         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
366         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
367         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
368         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
369         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
370         wcscpy functions.
371         * sysdeps/s390/multiarch/ifunc-impl-list.c
372         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
373         * benchtests/bench-wcscpy.c: New File.
374         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
376         * sysdeps/s390/multiarch/strnlen-c.c: New File.
377         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
378         * sysdeps/s390/multiarch/strnlen.c: Likewise.
379         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
380         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
381         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
382         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
383         wcsnlen functions.
384         * sysdeps/s390/multiarch/ifunc-impl-list.c
385         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
386         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
387         * string/test-strnlen.c: Add wcsnlen support.
388         * wcsmbs/test-wcsnlen.c: New File.
389         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
390         * benchtests/bench-strnlen.c: Add wcsnlen support.
391         * benchtests/bench-wcsnlen.c: New File.
392         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
394         * sysdeps/s390/multiarch/Makefile: New File.
395         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
396         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
397         * sysdeps/s390/multiarch/strlen.c: Likewise.
398         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
399         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
400         * sysdeps/s390/multiarch/wcslen.c: Likewise.
401         * string/strlen.c (STRLEN): Define and use macro.
402         * sysdeps/s390/multiarch/ifunc-impl-list.c
403         (IFUNC_VX_IMPL): New macro function.
404         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
405         * benchtests/Makefile (wcsmbs-bench): New variable.
406         (string-bench-all): Added wcsmbs-bench.
407         * benchtests/bench-wcslen.c: New File.
409         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
410         s390_vx_libc_ifunc2): New macro function.
412         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
413         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
414         assembler support.
415         * sysdeps/s390/configure: Regenerated.
417         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
418         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
420         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
421         * sysdeps/s390/dl-procinfo.h: Add vector capability.
422         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
424         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
425         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
426         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
427         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
428         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
429         (memcmp, bcmp): Use __memcmp_default as alias source.
430         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
431         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
432         Rename to __memcmp_default.
433         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
434         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
435         (memcpy): Use __memcpy_default as alias source.
436         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
437         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
438         Rename to __memcpy_default.
439         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
440         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
441         (memset): Use __memset_default as alias source.
442         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
443         * sysdeps/s390/s390-32/memset.S (__memset_g5):
444         Rename to __memset_default.
445         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
446         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
447         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
448         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
449         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
450         (memcmp, bcmp): Use __memcmp_default as alias source.
451         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
452         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
453         Rename to __memcmp_default.
454         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
455         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
456         (memcpy): Use __memcpy_default as alias source.
457         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
458         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
459         Rename to __memcpy_default.
460         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
461         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
462         (memset): Use __memset_default as alias source.
463         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
464         * sysdeps/s390/s390-64/memset.S (__memset_z900):
465         Rename to __memset_default.
466         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
467         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
469         [BZ #18610]
470         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
471         __ieee_instruction_pointer to __unused.
472         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
473         __ieee_instruction_pointer.
474         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
475         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
476         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
477         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
478         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
479         Mark dxc-field as reserved.
481 2015-08-25  Roland McGrath  <roland@hack.frob.com>
483         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
484         if the weak reference is not null.
486 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
488         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
490         [BZ #11214]
491         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
493 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
495         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
496         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
497         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
498         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
499         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
500         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
501         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
502         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
503         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
504         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
505         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
506         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
507         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
508         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
509         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
510         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
511         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
512         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
514 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
516         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
517         register other than r0 for tabort, it has special meaning.
518         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
519         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
520         transaction before starting syscall.
522 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
524         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
526 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
528         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
530         * sysdeps/x86_64/rtld-memcmp.c: Removed.
531         * sysdeps/x86_64/rtld-memset.S: Likewise.
532         * sysdeps/x86_64/rtld-strchr.S: Likewise.
533         * sysdeps/x86_64/rtld-strlen.S: Likewise.
534         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
535         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
537         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
539 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
541         * debug/strcpy_chk.c: Improve performance.
542         * debug/stpcpy_chk.c: Likewise.
543         * sysdeps/x86_64/strcpy_chk.S: Remove.
544         * sysdeps/x86_64/stpcpy_chk.S: Remove.
546         [BZ #18240]
547         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
549 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
551         [BZ #15128]
552         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
553         ifuncmain8.
554         (modules-names): Add ifuncmod8.
555         ($(objpfx)ifuncmain8): New rule.
556         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
557         <cpuid.h>.
558         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
559         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
560         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
561         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
562         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
563         * sysdeps/x86_64/dl-trampoline.h: Likewise.
564         * sysdeps/x86_64/ifuncmain8.c: New file.
565         * sysdeps/x86_64/ifuncmod8.c: Likewise.
566         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
567         Removed.
568         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
569         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
570         Change rtld_savespace_sse to __glibc_unused2.
571         (RTLD_CHECK_FOREIGN_CALL): Removed.
572         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
573         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
574         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
576 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
578         * sysdeps/aarch64/bzero.S (__bzero): Remove.
580 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
582         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
583         Unconditionally set __fpcr to avoid uninialized warning.
584         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
586 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
588         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
589         is corrupt.
591         * malloc/arena.c (arena_get2): Drop unused argument.
592         (arena_lock): Adjust.
593         (arena_get_retry): Likewise.
595 2015-08-24  Andreas Schwab  <schwab@suse.de>
597         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
598         Don't define.
599         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
600         (__ASSUME_IPC64): Don't undef.
601         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
602         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
603         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
604         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
605         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
606         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
607         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
608         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
609         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
610         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
611         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
612         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
613         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
614         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
615         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
616         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
617         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
618         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
619         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
620         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
621         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
623 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
625         * manual/Makefile (install): Only build manual when perl is available.
627 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
629         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
630         '#undef memcpy' by '#undef memchr'.
632 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
634         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
635         memchr not point to the internal __GI_memchr implementation.
637 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
639         * timezone/Makefile (CFLAGS-zdump.c): Remove
640         -Wno-strict-prototypes.
641         (CFLAGS-zic.c): Likewise.
642         (CFLAGS-ialloc.c): Likewise.
643         (CFLAGS-scheck.c): Likewise.
645         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
646         -Wno-error=undef.
648 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
650         * i386/i686/multiarch/strcasestr-c.c: Removed.
651         * x86_64/multiarch/strcasestr.c: Likewise.
652         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
653         Remove strcasestr.
655 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
657         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
659         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
660         variables for high and low parts before possibly modifying them.
662 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
664         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
665         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
666         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
667         of "multiarch/init-arch.h".
668         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
669         * sysdeps/x86/init-arch.h: This.
671 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
673         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
674         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
676 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
678         [BZ #17787]
679         * manual/macros.texi: Add twoexp macro.
680         * manual/filesys.texi: Fix exponents.
681         * manual/llio.texi: Likewise.
682         * manual/stdio.texi: Likewise.
684 2015-08-20  Florian Weimer  <fweimer@redhat.com>
686         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
687         incorrect use.
689 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
691         [BZ #18370]
692         * math/s_csqrt.c (__csqrt): Force underflow exception for results
693         whose real or imaginary part has small absolute value.
694         * math/s_csqrtf.c (__csqrtf): Likewise.
695         * math/s_csqrtl.c (__csqrtl): Likewise.
696         * math/auto-libm-test-in: Add more tests of csqrt.
697         * math/auto-libm-test-out: Regenerated.
698         * sysdeps/i386/fpu/libm-test-ulps: Update.
700 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
702         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
703         __ppc_set_ppr_very_low): New functions.
704         * manual/platform.texi: Add documentation about
705         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
707 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
709         * string/stpncpy.c (stpncpy): Improve performance using
710         __strnlen/memcpy/memset.
712 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
714         [BZ #18796]
715         * scripts/test-installation.pl: Don't add -lmvec to build options if
716         libmvec wasn't built.
718 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
720         [BZ #14341]
721         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
722         case when there is a gap between DT_REL and DT_JMPREL sections.
723         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
724         (LDFLAGS-tst-split-dynreloc): New.
725         (tst-split-dynreloc-ENV): Likewise.
726         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
727         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
729 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
731         [BZ #18822]
732         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
733         attribute_hidden.
734         (__xstat64_conv): Likewise.
735         (__xstat32_conv): Likewise.
737 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
739         [BZ #18822]
740         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
741         Don't load %ebx when calling __setcontext.  Call __setcontext
742         with HIDDEN_JUMPTARGET.
743         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
744         libc_hidden_def.
746 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
748         * sysdeps/i386/i686/Makefile
749         [$(subdir) == string] (sysdep_routines): Moved to ...
750         * sysdeps/i386/Makefile: Here.
751         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
752         * sysdeps/i386/cacheinfo.c: Here.
753         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
754         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
755         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
756         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
758 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
760         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
761         __i586__ is defined.
762         (HAS_I686): Defined to 1 if __i686__ is defined.
764 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
766         * elf/Makefile [$(have-z-execstack) = yes]
767         (CPPFLAGS-tst-execstack.c): New variable.
769         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
770         conditional to [defined UTMPX || _HAVE_UT_TYPE].
771         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
772         UTMPX || _HAVE_UT_TV].
773         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
774         UTMPX || _HAVE_UT_TV - 0].
776 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
778         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
779         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
780         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
782 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
784         * sysdeps/powerpc/dl-procinfo.c:
785         (_dl_powerpc_cap_flags): Added missing strings for some
786         hwcap features.
787         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
789 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
791         Port the 0x7efe...feff pattern to GCC 6.
792         See Steve Ellcey's bug report in:
793         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
794         * string/memrchr.c (MEMRCHR):
795         * string/rawmemchr.c (RAWMEMCHR):
796         * string/strchr.c (strchr):
797         * string/strchrnul.c (STRCHRNUL):
798         Rewrite code to avoid issues with signed shift overflow.
800 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
802         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
803         whether cpuid is available only if HAS_CPUID is 0.
804         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
805         (HAS_I586): Likewise.
806         (HAS_I686): Likewise.
808 2015-08-18  Zack Weinberg  <zackw@panix.com>
810         * misc/Versions (libc): Add GLIBC_2.23.
812 2015-08-18  Alan Modra  <amodra@gmail.com>
814         [BZ #18421]
815         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
816         .Lp__global.
817         (_start): Load %dp via .Lp__global.
818         [!SHARED]: Use .section .rodata.
820 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
822         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
823         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
825 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
827         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
828         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
830 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
832         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
833         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
835 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
837         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
838         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
840 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
842         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
843         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
845 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
847         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
848         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
850 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
852         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
854 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
856         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
857         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
858         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
859         (__ASSUME_LWS_CAS): Delete.
861 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
863         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
864         * sysdeps/hppa/configure: Regenerated.
865         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
866         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
867         * sysdeps/hppa/nptl/tls.h: Likewise.
869 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
871         [BZ #18823]
872         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
873         for scaling up small arguments.
874         * math/s_csqrtf.c (__csqrtf): Likewise.
875         * math/s_csqrtl.c (__csqrtl): Likewise.
876         * math/auto-libm-test-in: Add more tests of csqrt.
877         * math/auto-libm-test-out: Regenerated.
879 2015-08-17  Andreas Schwab  <schwab@suse.de>
881         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
882         version set GLIBC_2.19.
884 2015-08-16  Zack Weinberg  <zackw@panix.com>
886         [BZ #18681]
887         * misc/regexp.h: This interface is no longer supported.
888         Remove all contents, leaving only an #error directive.
889         * misc/regexp.c (loc1, loc2, locs, step, advance):
890         Demote to compatibility symbols.
892 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
894         [BZ #18084]
895         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
896         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
897         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
898         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
899         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
900         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
901         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
902         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
903         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
905 2015-08-15  Zack Weinberg  <zackw@panix.com>
907         [BZ #18795]
908         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
909         buffer length is known to be too large, not if it's known to be
910         small enough.
911         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
912         overflow at runtime, involving a length parameter, twice: once
913         with a compile-time constant length parameter, once without.
915 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
917         [BZ #18824]
918         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
919         scaling x * y up instead of down.
920         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
921         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
922         * math/auto-libm-test-in: Add more tests of fma.
923         * math/auto-libm-test-out: Regenerated.
925 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
927         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
929 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
931         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
932         unnecessary movq.
933         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
934         Likewise.
936 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
938         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
939         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
940         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
941         and tgamma.
942         * math/auto-libm-test-out: Regenerated.
943         * sysdeps/i386/fpu/libm-test-ulps: Update.
944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
946         [BZ #16520]
947         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
948         (__tanh): Force underflow exception for arguments with small
949         absolute value.
950         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
951         (__tanhf): Force underflow exception for arguments with small
952         absolute value.
953         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
954         (__tanhl): Force underflow exception for arguments with small
955         absolute value.
956         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
957         (__tanhl): Force underflow exception for arguments with small
958         absolute value.
959         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
960         (__tanhl): Force underflow exception for arguments with small
961         absolute value.
962         * math/auto-libm-test-in: Add more tests of tanh.
963         * math/auto-libm-test-out: Regenerated.
964         * sysdeps/i386/fpu/libm-test-ulps: Update.
966 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
968         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
969         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
971 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
973         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
974         <cpuid.h>.
976 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
978         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
979         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
981 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
983         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
984         Remove $(objpfx)init-arch.o.
985         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
986         init-arch.
987         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
988         (INIT_ARCH_EXT): Defined as empty.
989         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
990         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
991         __init_cpu_features call.  Replace HAS_XXX with
992         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
993         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
994         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
995         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
996         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
997         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
998         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
999         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
1000         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
1001         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
1002         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
1003         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
1004         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
1005         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
1006         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
1007         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
1008         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
1009         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
1010         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
1011         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
1012         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
1013         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
1014         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
1015         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
1016         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
1017         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
1018         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
1019         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
1020         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
1021         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
1022         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
1023         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
1024         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
1025         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
1026         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
1027         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
1029 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1031         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
1032         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1033         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
1034         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
1035         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
1036         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
1037         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
1038         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
1039         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
1040         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
1041         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
1042         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
1043         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1044         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1045         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1046         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1047         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1048         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1049         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1050         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1051         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1052         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1053         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1054         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1055         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1056         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1057         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1058         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1059         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1060         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1061         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1062         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1063         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1064         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1065         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1066         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1067         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1068         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1069         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1070         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1071         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1072         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1073         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1075 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1077         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
1078         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1079         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
1080         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1081         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1082         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
1083         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1084         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
1085         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
1086         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1087         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
1088         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
1089         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
1090         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
1091         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
1092         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
1093         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
1094         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
1095         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
1096         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
1097         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
1098         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
1099         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
1100         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1101         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1102         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
1103         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
1104         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
1105         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1106         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1107         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1108         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1109         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1110         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1111         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1112         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1113         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1114         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1115         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1116         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1117         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1118         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1119         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1121 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1123         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
1124         (dl_platform_init): Call init_cpu_features.
1125         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
1126         * sysdeps/i386/i686/cacheinfo.c
1127         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
1128         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
1129         * sysdeps/i386/i686/multiarch/Versions: Removed.
1130         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
1131         Removed.
1132         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
1133         * sysdeps/unix/sysv/linux/x86/Makefile
1134         (libpthread-sysdep_routines): Remove init-arch.
1135         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
1136         <sysdeps/x86_64/dl-procinfo.c> instead of
1137         sysdeps/generic/dl-procinfo.c>.
1138         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
1139         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
1140         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
1141         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
1142         [$(subdir) == elf] (tests-static): Add
1143         tst-get-cpu-features-static.
1144         * sysdeps/x86/Versions: New file.
1145         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
1146         * sysdeps/x86/cpu-features.c: Likewise.
1147         * sysdeps/x86/cpu-features.h: Likewise.
1148         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
1149         * sysdeps/x86/libc-start.c: Likewise.
1150         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
1151         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
1152         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
1153         * sysdeps/x86_64/dl-procinfo.c: Likewise.
1154         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
1155         Assume USE_MULTIARCH is defined and don't check it.
1156         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
1157         (is_amd): Likewise.
1158         (max_cpuid): Likewise.
1159         (intel_check_word): Likewise.
1160         (__cache_sysconf): Don't call __init_cpu_features.
1161         (__x86_preferred_memory_instruction): Removed.
1162         (init_cacheinfo): Don't call __init_cpu_features. Replace
1163         __cpu_features with GLRO(dl_x86_cpu_features).
1164         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
1165         (dl_platform_init): Call init_cpu_features.
1166         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
1167         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
1168         * sysdeps/x86_64/multiarch/Versions: Removed.
1169         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
1170         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
1171         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
1172         Removed.
1173         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
1175 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
1177         [BZ #18820]
1178         * libio/Makefile (test-fmemopen-mem): New test.
1179         * libio/test-fmemopen.c (do_bz18820): New test.
1180         * libio/fmemopen.c (__fmemopen): Fix memory leak.
1181         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
1183 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
1185         [BZ #16734]
1186         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
1187         (FREE_BUF): Delete.
1188         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
1189         * libio/genops.c (_IO_setb): Use malloc and free directly.
1190         (_IO_default_doallocate, _IO_default_finish): Likewise.
1191         ( _IO_unbuffer_all): Likewise.
1192         ( libc_freeres_fn): Likewise.
1193         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
1194         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
1195         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
1196         (_IO_wdefault_doallocate): Likewise.
1198 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
1200         [BZ #18086]
1201         * sysdeps/posix/nice.c (nice): Restore old errno.
1202         * posix/tst-nice.c (do_test): Add test for BZ #18086.
1204 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
1206         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
1208 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1210         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
1211         __bcopy and add a weak_alias to bcopy.
1212         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
1213         for static build.
1215         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
1216         cleanup macro usage.
1217         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
1218         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
1219         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
1220         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
1221         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
1222         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
1223         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
1224         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
1225         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
1226         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
1227         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1228         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
1229         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1230         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
1231         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1232         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
1233         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
1234         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
1235         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
1237         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
1238         libc_hidden_def.
1239         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
1241         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
1242         (sysdep_routines): Add strstr-ppc64.
1243         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
1245 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
1247         [BZ #18778]
1248         * elf/Makefile (tests): Add Add tst-nodelete2.
1249         (modules-names): Add tst-nodelete2mod.
1250         (tst-nodelete2mod.so-no-z-defs): New.
1251         ($(objpfx)tst-nodelete2): Likewise.
1252         ($(objpfx)tst-nodelete2.out): Likewise.
1253         (LDFLAGS-tst-nodelete2): Likewise.
1254         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
1255         out of loop through all loaded libraries.
1256         * elf/tst-nodelete2.c: New file.
1257         * elf/tst-nodelete2mod.c: Likewise.
1259 2015-08-11  Andreas Schwab  <schwab@suse.de>
1261         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
1262         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
1263         (__openat64_nocancel): Likewise.
1265 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
1267         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
1268         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
1269         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
1270         * math/auto-libm-test-out: Regenerated.
1271         * sysdeps/i386/fpu/libm-test-ulps: Update.
1272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1274 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
1276         [BZ #18790]
1277         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
1278         threshold for returning +/- 1.
1279         * math/auto-libm-test-in: Add more tests of tanh.
1280         * math/auto-libm-test-out: Regenerated.
1281         * sysdeps/i386/fpu/libm-test-ulps: Update.
1283 2015-08-10  Andreas Schwab  <schwab@suse.de>
1285         [BZ #18781]
1286         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
1287         MORE_OFLAGS to oflag.
1288         * io/test-lfs.c (do_test): Test openat64.
1290 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
1292         [BZ #18789]
1293         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
1294         smaller threshold for returning the argument.
1295         * math/auto-libm-test-in: Add more tests of sinh.
1296         * math/auto-libm-test-out: Regenerated.
1297         * sysdeps/i386/fpu/libm-test-ulps: Update.
1299 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
1301         [BZ #18674]
1302         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
1303         break.
1305 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
1307         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
1308         (generated): Don't add $(addprefix z.,$(tzfiles)).
1310 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
1312         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
1313         * scripts/sysd-rules.awk: Likewise.
1315 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
1317         * iconvdata/tst-tables.sh: Change echo -n to printf.
1318         * nss/db-Makefile: Likewise.
1319         * posix/tst-getconf.sh: Likewise.
1320         * stdio-common/tst-unbputc.sh: Likewise.
1322 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
1324         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
1325         MADV_*_PAGES defines behind this feature check.
1327 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
1329         [BZ #18480]
1330         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
1331         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
1332         Define.
1333         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
1334         LOAD_REGS_5, LOAD_REGS_6): Update.
1335         (INTERNAL_SYSCALL): Update using new LOAD defines.
1336         (INTERNAL_SYSCALL_NCS): Likewise.
1337         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
1339 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
1341         [BZ #16734]
1342         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
1344 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
1346         [BZ #17905]
1347         * catgets/Makefile (tst-catgets-mem): New test.
1348         * catgets/catgets.c (catopen): Don't use unbounded alloca.
1349         * catgets/open_catalog.c (__open_catalog): Likewise.
1350         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
1352 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
1354         [BZ #18787]
1355         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
1356         clobber registers.
1357         (atomic_compare_and_exchange_val_acq): Use register asms to assign
1358         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
1359         Cast return to __typeof (oldval).
1361 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
1363         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
1364         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
1365         and delete sys/syscall.h include.
1367 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
1369         [BZ #16517]
1370         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
1371         (tan): Force underflow exception for arguments with small absolute
1372         value.
1373         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
1374         (__kernel_tanf): Force underflow exception for arguments with
1375         small absolute value.
1376         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
1377         (__kernel_tanl): Force underflow exception for arguments with
1378         small absolute value.
1379         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
1380         (__kernel_tanl): Force underflow exception for arguments with
1381         small absolute value.
1382         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
1383         (__kernel_tanl): Force underflow exception for arguments with
1384         small absolute value.
1385         * math/auto-libm-test-in: Add more tests of tan.
1386         * math/auto-libm-test-out: Regenerated.
1388 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1390         Fix sysdeps/i386/fpu/s_scalbn.S build
1392         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
1394 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
1396         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
1398 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1400         Fix gcrt0.o compilation
1402         When static-start-installed-name is different from
1403         start-installed-name, we must not use the shared objects.
1405         * csu/Makefile
1406         (extra-objs): Add gmon-start.o when building shared library and
1407         $(static-start-installed-name) is different from
1408         $(start-installed-name).
1409         $(objpfx)g$(static-start-installed-name): When building shared
1410         library and $(static-start-installed-name) is different from
1411         $(static-start-installed-name), revert to non-shared rule,
1412         i.e. using $(objpfx)% and gmon-start.o.
1414 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
1416         [BZ #16519]
1417         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
1418         (__ieee754_sinh): Force underflow exception for arguments with
1419         small absolute value.
1420         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
1421         (__ieee754_sinhf): Force underflow exception for arguments with
1422         small absolute value.
1423         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
1424         (__ieee754_sinhl): Force underflow exception for arguments with
1425         small absolute value.
1426         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
1427         (__ieee754_sinhl): Force underflow exception for arguments with
1428         small absolute value.
1429         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
1430         (__ieee754_sinhl): Force underflow exception for arguments with
1431         small absolute value.
1432         * math/auto-libm-test-in: Add more tests of sinh.
1433         * math/auto-libm-test-out: Regenerated.
1434         * sysdeps/i386/fpu/libm-test-ulps: Update.
1436 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
1438         * libio/oldfileops.c: Include unistd.h.
1440 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
1442         * stdlib/isomac.c: Include ctype.h.
1444 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
1446         * dirent/tst-seekdir.c (main): Converted to ...
1447         (do_test): ... this.
1448         (TEST_FUNCTION): New macro.
1449         Include test-skeleton.c.
1450         * elf/tst-dlmodcount.c (main): Converted to ...
1451         (do_test): ... this.
1452         (TEST_FUNCTION): New macro.
1453         Include test-skeleton.c.
1454         * elf/tst-order-main.c (main): Converted to ...
1455         (do_test): ... this.
1456         (TEST_FUNCTION): New macro.
1457         Include test-skeleton.c.
1458         * elf/tst-pie2.c (main): Converted to ...
1459         (do_test): ... this.
1460         (TEST_FUNCTION): New macro.
1461         Include test-skeleton.c.
1462         * inet/tst-ether_aton.c (main): Converted to ...
1463         (do_test): ... this.
1464         (TEST_FUNCTION): New macro.
1465         Include test-skeleton.c.
1466         * misc/tst-mntent.c (main): Converted to ...
1467         (do_test): ... this.
1468         (TEST_FUNCTION): New macro.
1469         Include test-skeleton.c.
1470         * misc/tst-tsearch.c (main): Converted to ...
1471         (do_test): ... this.
1472         (TEST_FUNCTION): New macro.
1473         Include test-skeleton.c.
1474         * posix/tst-regexloc.c (main): Converted to ...
1475         (do_test): ... this.
1476         (TEST_FUNCTION): New macro.
1477         Include test-skeleton.c.
1478         * resolv/tst-aton.c (main): Converted to ...
1479         (do_test): ... this.
1480         (TEST_FUNCTION): New macro.
1481         Include test-skeleton.c.
1482         * stdio-common/test-fwrite.c (main): Converted to ...
1483         (do_test): ... this.
1484         (TEST_FUNCTION): New macro.
1485         Include test-skeleton.c.
1486         * stdio-common/tst-ferror.c (main): Converted to ...
1487         (do_test): ... this.
1488         (TEST_FUNCTION): New macro.
1489         Include test-skeleton.c.
1490         * stdio-common/tst-printf.c (main): Converted to ...
1491         (do_test): ... this.
1492         (TEST_FUNCTION): New macro.
1493         Include test-skeleton.c.
1494         * stdio-common/tst-printfsz.c (main): Converted to ...
1495         (do_test): ... this.
1496         (TEST_FUNCTION): New macro.
1497         Include test-skeleton.c.
1498         * stdlib/tst-strtod.c (main): Converted to ...
1499         (do_test): ... this.
1500         (TEST_FUNCTION): New macro.
1501         Include test-skeleton.c.
1502         * string/tst-strlen.c (main): Converted to ...
1503         (do_test): ... this.
1504         (TEST_FUNCTION): New macro.
1505         Include test-skeleton.c.
1506         * string/tst-svc.c (main): Converted to ...
1507         (do_test): ... this.
1508         (TEST_FUNCTION): New macro.
1509         Include test-skeleton.c.
1510         * time/tst-strptime.c (main): Converted to ...
1511         (do_test): ... this.
1512         (TEST_FUNCTION): New macro.
1513         Include test-skeleton.c.
1514         * timezone/tst-timezone.c (main): Converted to ...
1515         (do_test): ... this.
1516         (TEST_FUNCTION): New macro.
1517         Include test-skeleton.c.
1519 2015-08-05  Zack Weinberg  <zackw@panix.com>
1521         * misc/regexp.h: Update comments.
1523 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
1525         [BZ #18635]
1526         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
1527         before return label.
1529 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1531         [BZ #18661]
1532         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
1533         when calling __errno_location.
1534         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
1535         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
1537 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1539         [BZ #18661]
1540         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
1541         (__lll_timedwait_tid): Align stack to 16 bytes when calling
1542         __gettimeofday.
1544 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1546         [BZ #18661]
1547         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1548         (__start_context): Don't use pop to restore %rdi so that stack
1549         is aligned to 16 bytes when calling __setcontext.
1551 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1553         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
1554         only for libc.
1555         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
1557 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1559         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
1560         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
1561         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
1563 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1565         * string/memccpy.c (memccpy):
1566         Improve performance by using memchr/memcpy/__mempcpy.
1568 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1570         * string/strncpy.c (strncpy):
1571         Improve performance by using __strnlen/memcpy.
1573 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1575         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1576         Optimize to avoid an unnecessary FPCR read.
1578 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1580         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
1581         Optimize to reduce FPCR/FPSR accesses.
1583 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1585         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
1586         dead->data[category] != NULL.
1588 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
1590         [BZ #18647]
1591         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
1592         and |x| close to 1, use absolute value of x when computing log.
1593         * math/auto-libm-test-in: Add more tests of pow.
1594         * math/auto-libm-test-out: Regenerated.
1596 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1598         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
1599         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
1600         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
1602 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
1604         [BZ #18525]
1605         * locales/km_KH: Remove timezone definition.
1606         * locales/lo_LA: Likewise.
1607         * locales/my_MM: Likewise.
1608         * locales/nan_TW@latin: Likewise.
1609         * locales/th_TH: Likewise.
1610         * locales/uk_UA: Likewise.
1612 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
1614         [BZ #18265]
1615         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
1616         (wcsncat): Likewise.
1617         (wcscmp): Likewise.
1618         (wcsncmp): Likewise.
1620 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1622         * test-skeleton.c (usage): New function.
1623         (main): Call usage when opt is '?'.
1625 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1627         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
1628         before first use.
1630 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1632         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
1633         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
1634         in there too.
1636 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
1638         * version.h (RELEASE): Set to "development".
1639         (VERSION): Set to "2.22.90"
1641         * version.h (RELEASE): Set to "stable".
1642         (VERSION): Set to "2.22"
1643         * include/features.h (__GLIBC_MINOR__): Set to 22.
1645 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
1647         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
1648         Restructure macro to avoid "value computed is not used" warning.
1649         (atomic_compare_and_exchange_val_acq): Likewise.
1651 2015-08-04  Andreas Schwab  <schwab@suse.de>
1653         [BZ #18635]
1654         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
1655         ret.
1656         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
1658 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
1660         * po/pl.po: Updated translation.
1661         * po/uk.po: Likewise.
1662         * po/fi.po: Likewise.
1663         * po/ko.po: Likewise.
1664         * po/ru.po: Likewise.
1665         * po/vi.po: Likewise.
1667 2015-07-31  Zack Weinberg  <zackw@panix.com>
1669         [BZ #18681]
1670         * regexp.h: Add unconditional #warning stating that this header
1671         will be removed soon.  Revise banner comment to match.
1672         (compile): Consistently use ERROR instead of RETURN to report
1673         errors (partial fix for bz#18681).
1674         * regexp.c: Don't include regexp.h. Remove some unnecessary
1675         declarations.
1677 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
1679         * po/libc.pot: Regenerated.
1681 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
1683         [BZ #18740]
1684         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
1685         float-vlen4-arch-ext-cflags): Removed.
1686         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
1687         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
1689 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1691         [BZ #14113]
1692         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
1693         aligned to __aligned__.
1694         (pthread_cond_t, pthread_rwlock_t): Likewise.
1696 2015-07-30  Torvald Riegel  <triegel@redhat.com>
1698         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
1700 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1702         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
1703         (struct sigaction): Change sa_flags from a long to an int, and add
1704         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
1706 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1708         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
1709         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
1710         sysdeps/generic/sysdep.h include.
1711         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
1712         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
1713         sysdeps/hppa/sysdep.h.
1714         (ENTRY, PSEUDO): Undefine before defining.
1716 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1718         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
1719         from scratch to use INTERNAL_SYSCALL.
1721 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
1723         [BZ #18078]
1724         * scripts/check-localplt.awk: Support alternate relocations.
1725         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
1726         sections.
1727         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
1728         malloc entries with + REL R_386_GLOB_DAT.
1729         * sysdeps/x86_64/localplt.data: New file.
1731 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
1733         [BZ #18731]
1734         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
1735         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1736         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1738 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1740         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
1742 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1744         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
1745         directly in terms of __sync_fetch_and_add and delete (int) cast.
1747 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1749         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
1750         the -D_ASM_IA64_CURRENT_H flag.
1752 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1754         [BZ #18641]
1755         * pwd/pwd.h (putpwent): Delete __nonnull markings.
1757 2015-07-27  Andreas Schwab  <schwab@suse.de>
1759         * conform/conformtest.pl (checknamespace): Filter out string
1760         literals while tokenizing.
1762 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
1764         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1765         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
1766         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1768 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
1770         * nptl/tst-join7mod.c: Add #include <string.h>.
1772 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
1774         * sysdeps/nios2/libm-test-ulps: Update.
1776 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
1778         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
1779         Fix order of arguments to the rt_sigprocmask syscall.
1780         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
1781         Likewise.
1783 2015-07-24  Roland McGrath  <roland@hack.frob.com>
1785         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
1787 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1789         [BZ #18457]
1790         * nptl/Makefile (tests): New test case tst-join7.
1791         (modules-names): New test case module tst-join7mod.
1792         * nptl/tst-join7.c: New file.
1793         * nptl/tst-join7mod.c: New file.
1794         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
1795         all translation units in libc.so, libpthread.so and rtld.
1797 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1799         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1801 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
1803         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
1804         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
1805         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
1806         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
1807         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
1808         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
1809         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
1810         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
1811         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
1812         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
1813         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
1814         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
1815         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
1816         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
1817         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
1818         implementation.
1820 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1822         [BZ #17711]
1823         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1824         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
1825         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1826         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1827         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
1828         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1830 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1832         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
1833         instead of just saying load lock in the comments.
1835 2015-07-23  Roland McGrath  <roland@hack.frob.com>
1837         * sysdeps/unix/Subdirs: Moved ...
1838         * sysdeps/posix/Subdirs: ... here.
1839         * login/pty.h (struct termios, struct winsize): Add forward decls.
1840         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
1841         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
1842         * sysdeps/arm/nacl/libc.abilist: Updated.
1843         * sysdeps/nacl/libutil.abilist: New file.
1845         * bits/signum.h: Update comments to mention 1003.1-2013 too.
1846         (SIGWINCH): New macro.
1848         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
1849         * sysdeps/arm/nacl/libc.abilist: Add it.
1851 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
1853         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
1855 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
1857         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
1858         Swap __glibc_reserved0 and sa_flags order.
1860 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
1862         [BZ #18657]
1863         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
1864         are pending TLS destructor calls.
1865         * include/link.h (struct link_map): Add concurrency note for
1866         L_TLS_DTOR_COUNT.
1867         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
1868         Don't touch the link map flag.  Atomically increment
1869         l_tls_dtor_count.
1870         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
1871         Avoid taking the load lock and don't touch the link map flag.
1872         * stdlib/tst-tls-atexit-nodelete.c: New test case.
1873         * stdlib/Makefile (tests): Use it.
1874         * stdlib/tst-tls-atexit.c (do_test): dlopen
1875         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
1876         to allow tst-tls-atexit-nodelete test case to use it.
1878 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1880         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
1881         to bits/types.h.
1882         (msgqnum_t): New typedef.
1883         (msglen_t): Likewise.
1884         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
1885         and msg_qbytes type to msglen_t.
1887 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1889         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
1890         pad0 to __glibc_reserved0.
1891         (struct stat64): Likewise.
1893 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1895         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
1896         Change sa_flags from a long to an int and add __glibc_reserved0 before
1897         it for padding.
1899 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1901         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
1902         anonymous by deleting "siginfo" name.
1904 2015-07-21  Roland McGrath  <roland@hack.frob.com>
1906         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
1907         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
1908         rather than __nacl_irt_filename.
1909         * sysdeps/nacl/xstat.c (__xstat): Likewise.
1911         * NEWS: New item for arm-nacl port.
1912         * sysdeps/arm/nacl/libc.abilist: New file.
1913         * sysdeps/nacl/ld.abilist: New file.
1914         * sysdeps/nacl/libBrokenLocale.abilist: New file.
1915         * sysdeps/nacl/libanl.abilist: New file.
1916         * sysdeps/nacl/libcrypt.abilist: New file.
1917         * sysdeps/nacl/libdl.abilist: New file.
1918         * sysdeps/nacl/libm.abilist: New file.
1919         * sysdeps/nacl/libpthread.abilist: New file.
1920         * sysdeps/nacl/libresolv.abilist: New file.
1921         * sysdeps/nacl/librt.abilist: New file.
1923 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
1925         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
1926         __startcontext to initialize the new context.
1927         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
1928         up CFI directive to forbid further backtracing.
1930 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
1932         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
1933         reference.
1934         * charmaps/ANSI_X3.4-1968: Likewise.
1935         * charmaps/BS_4730: Likewise.
1936         * charmaps/BS_VIEWDATA: Likewise.
1937         * charmaps/CP1250: Likewise.
1938         * charmaps/CP1251: Likewise.
1939         * charmaps/CP1252: Likewise.
1940         * charmaps/CP1253: Likewise.
1941         * charmaps/CP1254: Likewise.
1942         * charmaps/CP1255: Likewise.
1943         * charmaps/CP1256: Likewise.
1944         * charmaps/CSN_369103: Likewise.
1945         * charmaps/EBCDIC-DK-NO: Likewise.
1946         * charmaps/GB_1988-80: Likewise.
1947         * charmaps/GREEK-CCITT: Likewise.
1948         * charmaps/GREEK7: Likewise.
1949         * charmaps/INIS-8: Likewise.
1950         * charmaps/ISIRI-3342: Likewise.
1951         * charmaps/ISO_2033-1983: Likewise.
1952         * charmaps/ISO_5427-EXT: Likewise.
1953         * locales/POSIX: Likewise.
1954         * locales/ar_SA: Likewise.
1955         * locales/be_BY: Likewise.
1956         * locales/be_BY@latin: Likewise.
1957         * locales/ca_ES: Likewise.
1958         * locales/cs_CZ: Likewise.
1959         * locales/da_DK: Likewise.
1960         * locales/de_BE: Likewise.
1961         * locales/de_CH: Likewise.
1962         * locales/de_LU: Likewise.
1963         * locales/en_AU: Likewise.
1964         * locales/en_BW: Likewise.
1965         * locales/en_CA: Likewise.
1966         * locales/en_DK: Likewise.
1967         * locales/en_GB: Likewise.
1968         * locales/en_IE: Likewise.
1969         * locales/en_NZ: Likewise.
1970         * locales/en_ZA: Likewise.
1971         * locales/en_ZW: Likewise.
1972         * locales/es_AR: Likewise.
1973         * locales/es_BO: Likewise.
1974         * locales/es_CL: Likewise.
1975         * locales/es_CO: Likewise.
1976         * locales/es_DO: Likewise.
1977         * locales/es_EC: Likewise.
1978         * locales/es_ES: Likewise.
1979         * locales/es_HN: Likewise.
1980         * locales/es_MX: Likewise.
1981         * locales/es_PA: Likewise.
1982         * locales/es_PE: Likewise.
1983         * locales/es_PY: Likewise.
1984         * locales/es_SV: Likewise.
1985         * locales/es_US: Likewise.
1986         * locales/es_UY: Likewise.
1987         * locales/es_VE: Likewise.
1988         * locales/et_EE: Likewise.
1989         * locales/fa_IR: Likewise.
1990         * locales/fo_FO: Likewise.
1991         * locales/fr_CA: Likewise.
1992         * locales/fr_CH: Likewise.
1993         * locales/gv_GB: Likewise.
1994         * locales/he_IL: Likewise.
1995         * locales/hr_HR: Likewise.
1996         * locales/id_ID: Likewise.
1997         * locales/is_IS: Likewise.
1998         * locales/it_CH: Likewise.
1999         * locales/iw_IL: Likewise.
2000         * locales/kl_GL: Likewise.
2001         * locales/ko_KR: Likewise.
2002         * locales/kw_GB: Likewise.
2003         * locales/lg_UG: Likewise.
2004         * locales/lt_LT: Likewise.
2005         * locales/lv_LV: Likewise.
2006         * locales/mi_NZ: Likewise.
2007         * locales/nhn_MX: Likewise.
2008         * locales/nl_BE: Likewise.
2009         * locales/pl_PL: Likewise.
2010         * locales/sk_SK: Likewise.
2011         * locales/sl_SI: Likewise.
2012         * locales/sv_FI: Likewise.
2013         * locales/tl_PH: Likewise.
2014         * locales/tr_TR: Likewise.
2015         * locales/vi_VN: Likewise.
2017 2015-07-21  Khem Raj  <raj.khem@gmail.com>
2019         [BZ #17475]
2020         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
2021         of tu_IN and bh_IN.
2023 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
2025         [BZ #18694]
2026         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
2027         bits/wordsize.h.
2028         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
2030 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2032         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
2033         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
2034         (spawn_thread): New function.
2035         (load): Rename to reg_dtor_and_close.  Move dlopen to...
2036         (do_test): ... here.  Use IS_LOADED to test for its
2037         availability.
2039 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
2041         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2043 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
2045         [BZ #18696]
2046         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
2047         si_addr_bnd.
2048         (si_lower): New.
2049         (si_upper): Likewise.
2051 2015-07-16  David S. Miller  <davem@davemloft.net>
2053         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
2055 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2057         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
2058         buffer.
2059         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
2060         fail output information.
2062 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2064         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
2065         and strstr-ppc64..
2066         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2067         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
2068         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
2069         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
2070         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
2072 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
2074         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
2075         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
2076         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
2077         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
2079 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
2081         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
2082         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
2083         rtld_hidden_proto.
2084         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
2086 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2088         * tst-nodelete-opened.c (do_test): Add comment to clarify how
2089         the test can fail.
2091         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
2093         [BZ #18676]
2094         * elf/tst-nodelete-opened.c: New test case.
2095         * elf/tst-nodelete-opened-lib.c: New test case module.
2096         * elf/Makefile (tests, modules-names): Use them.
2097         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
2098         early.
2100 2015-07-15  David S. Miller  <davem@davemloft.net>
2102         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
2103         futex-intenal.h
2104         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
2105         * sysdeps/sparc/sparc64/Makefile: Likewise.
2106         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
2107         Remove space from macro define.
2108         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
2110 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
2112         [BZ #17475]
2113         * locale/iso-639.def: Update Bhili and Tulu language codes as
2114         per iso639-3.
2116 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
2118         * elf/tst-leaks1.c (main): Converted to ...
2119         (do_test): ... this.
2120         (TEST_FUNCTION): New macro.
2121         Include test-skeleton.c.
2122         * localedata/tst-langinfo.c (main): Converted to ...
2123         (do_test): ... this.
2124         (TEST_FUNCTION): New macro.
2125         Include test-skeleton.c.
2126         * math/test-fpucw.c (main): Converted to ...
2127         (do_test): ... this.
2128         (TEST_FUNCTION): New macro.
2129         Include test-skeleton.c.
2130         * math/test-tgmath.c (main): Converted to ...
2131         (do_test): ... this.
2132         (TEST_FUNCTION): New macro.
2133         Include test-skeleton.c.
2134         * math/test-tgmath2.c (main): Converted to ...
2135         (do_test): ... this.
2136         (TEST_FUNCTION): New macro.
2137         Include test-skeleton.c.
2138         * setjmp/tst-setjmp.c (main): Converted to ...
2139         (do_test): ... this.
2140         (TEST_FUNCTION): New macro.
2141         Include test-skeleton.c.
2142         * stdio-common/tst-sscanf.c (main): Converted to ...
2143         (do_test): ... this.
2144         (TEST_FUNCTION): New macro.
2145         Include test-skeleton.c.
2146         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
2147         (do_test): ... this.
2148         (TEST_FUNCTION): New macro.
2149         Include test-skeleton.c.
2151         * elf/tst-audit9.c (main): Converted to ...
2152         (do_test): ... this.
2153         (TEST_FUNCTION): New macro.
2154         Include test-skeleton.c.
2156 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
2158         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
2160 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
2162         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
2163         New variable.
2165 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
2167         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2169 2015-07-14  Roland McGrath  <roland@hack.frob.com>
2171         * sysdeps/generic/dl-fileid.h: New file.
2172         * sysdeps/posix/dl-fileid.h: New file.
2173         * sysdeps/nacl/dl-fileid.h: New file.
2174         * include/link.h: Include <dl-fileid.h>.
2175         (struct link_map): Replace l_dev and l_ino with l_file_id.
2176         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
2177         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
2178         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
2180 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2182         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
2184 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2186         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
2187         Add iff $CXX is set.
2188         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
2189         Likewise.
2190         (tst-nodelete-zmodiff): Likewise.
2191         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
2193 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2195         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
2197 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
2199         * sysdeps/aarch64/fpu/math_private.h
2200         (define math_opt_barrier): Add AArch64 version.
2201         (math_force_eval): Likewise.
2203 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
2205         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
2207 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
2209         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
2210         %ld with %jd and cast to intmax_t.
2211         (do_test_length_zero): Likewise.
2213 2015-07-10  Roland McGrath  <roland@hack.frob.com>
2215         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
2217 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
2219         * sysdeps/tile/libm-test-ulps: Regenerated.
2221         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
2222         Comment out the whole function, not just its body.
2224 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2226         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
2227         locks.
2229         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
2231 2015-07-10  Torvald Riegel  <triegel@redhat.com>
2233         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
2234         (sem_assume_only_signals_cause_futex_EINTR): Remove.
2236 2015-07-10  Torvald Riegel  <triegel@redhat.com>
2238         * sysdeps/nptl/futex-internal.h: New file.
2239         * sysdeps/nacl/futex-internal.h: New file.
2240         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
2241         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
2242         error checking.
2243         (setxid_unmark_thread): Likewise.
2244         (__nptl_setxid): Likewise.
2245         (__wait_lookup_done): Likewise.
2246         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
2247         * nptl/nptl-init.c (sighandler_setxid): Likewise.
2248         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
2249         * nptl/pthread_once.c (clear_once_control): Likewise.
2250         (__pthread_once_slow): Likewise.
2251         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
2252         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
2253         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
2254         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
2255         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
2256         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
2257         Likewise.
2258         (__pthread_rwlock_rdlock): Likewise.
2259         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2260         Likewise.
2261         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2262         Likewise.
2263         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2264         Likewise.
2265         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
2266         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
2267         Likewise.
2268         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
2269         __ASSUME_PRIVATE_FUTEX check.
2270         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
2271         Check that shared futexes are supported.
2272         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
2273         wrappers with error checking.
2274         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
2275         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
2276         * nptl/pthread_barrierattr_setpshared.c
2277         (pthread_barrierattr_setpshared): Check that shared futexes are
2278         supported.
2279         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
2280         Likewise.
2281         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
2282         Likewise.
2283         * nptl/sem_init.c (futex_private_if_supported): Remove.
2284         (__new_sem_init): Adapt and check that shared futexes are supported.
2285         * nptl/sem_open.c (sem_open): Likewise.
2286         * nptl/sem_post.c (futex_wake): Remove.
2287         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
2288         (do_futex_wait): Use futex wrappers with error checking.
2289         * nptl/sem_wait.c: Include lowlevellock.h.
2290         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
2291         Use futex_supports_pshared.
2292         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
2293         Use futex wrappers with error checking.
2294         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
2295         Likewise.
2296         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
2297         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
2298         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
2299         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
2300         (futex_wake): Likewise.
2301         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
2302         (do_futex_wait): Use futex wrappers with error checking.
2303         (__new_sem_wait_slow): Update EINTR handling.
2304         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
2306 2015-07-09  Martin Sebor  <msebor@redhat.com>
2308         [BZ #18435]
2309         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
2310         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
2311         * nptl/Makefile (test-xfail-tst-once5): Define.
2313 2015-07-09  Roland McGrath  <roland@hack.frob.com>
2315         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
2316         * elf/dl-minimal.c: For readability, reorder some definitions and
2317         introduce more page breaks.  Include <stdio.h>.
2318         (__libc_fatal): New function.
2320         * include/unistd.h: Add rtld_hidden_proto for _exit.
2321         * posix/_exit.c: Add rtld_hidden_def.
2322         * sysdeps/mach/hurd/_exit.c: Likewise.
2323         * sysdeps/nacl/_exit.c: Likewise.
2324         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
2325         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
2327 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
2329         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
2330         bndmov encoding with zero displacement.
2332 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
2333             H.J. Lu  <hongjiu.lu@intel.com>
2335         [BZ #18134]
2336         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
2337         * sysdeps/i386/configure: Regenerated.
2338         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
2339         (_dl_runtime_profile): Save and restore Intel MPX return bound
2340         registers when calling _dl_call_pltexit.  Add
2341         PRESERVE_BND_REGS_PREFIX before return.
2342         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
2343         (LRV_BND1_OFFSET): Likewise.
2344         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
2345         lrv_bnd1.
2346         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
2347         typo in bndmov encoding.
2348         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
2349         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
2350         branch instructions to preserve bounds.
2352 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2355         [GLIBC_2.22]: Add fmemopen.
2357 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2359         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
2360         returns an error, also try to use host port from __mach_host_self for
2361         the __vm_wire call.
2362         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
2364 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2366         [BZ #18400]
2367         [BZ #18648]
2368         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
2369         Fix pr_uid and pr_gid members.
2370         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
2371         definition to elf_greg_t.
2373 2015-07-08  Roland McGrath  <roland@hack.frob.com>
2375         [BZ #18383]
2376         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
2377         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
2378         * sysdeps/arm/configure: Regenerated.
2379         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
2380         (test-xfail-tst-tlsalign-static): Variable removed.
2382         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
2383         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
2384         rather than explicit 'ln -s'.
2386         * resolv/rpc/netdb.h: New file.
2387         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
2389 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2391         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
2392         length buffers.
2393         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
2394         test-skeleton.c.
2396         [BZ #6544]
2397         [BZ #11216]
2398         [BZ #12836]
2399         [BZ #13151]
2400         [BZ #13152]
2401         [BZ #14292]
2402         * include/stdio.h (fmemopen): Remove hidden prototype.
2403         (__fmemopen): Add new hidden prototype.
2404         * libio/Makefile: Add oldfmemopen object.
2405         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
2406         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
2407         compliance.
2408         * libio/oldfmemopen.c: New file: old fmemopen implementation for
2409         symbol compatibility.
2410         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
2411         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
2412         fmemopen.
2413         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
2414         on append and read mode.
2415         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
2416         fmemopen.
2417         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
2418         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
2419         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
2420         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
2421         Likewise.
2422         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
2423         [GLIBC_2.22]: Likewise.
2424         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
2425         Likewise.
2426         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
2427         Likewise.
2428         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2429         [GLIBC_2.22]: Likewise.
2430         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2431         [GLIBC_2.22]: Likewise.
2432         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2433         [GLIBC_2.22]: Likewise.
2434         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2435         [GLIBC_2.22]: Likewise.
2436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2437         [GLIBC_2.22]: Likewise.
2438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2439         [GLIBC_2.22]: Likewise.
2440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2441         [GLIBC_2.22]: Likewise.
2442         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
2443         Likewise.
2444         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
2445         Likewise.
2446         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
2447         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
2448         [GLIBC_2.22]: Likewise.
2449         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
2450         [GLIBC_2.22]: Likewise.
2451         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
2452         [GLIBC_2.22]: Likewise.
2453         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
2454         [GLIBC_2.22]: Likewise.
2455         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
2456         Likewise.
2457         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
2458         Likewise.
2459         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
2460         Likewise.
2461         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
2462         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
2464 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
2466         [BZ #18643]
2467         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
2468         IPV6_PATHMTU, and IPV6_DONTFRAG.
2470 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
2472         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
2473         and _IO_UNBUFFERED.
2474         * libio/oldfileops.c: Likewise.
2475         * libio/wfileops.c: Likewise.
2477 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
2479         * nscd/selinux.c: Delete selinux/flask.h include.
2481 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
2483         [BZ #18641]
2484         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
2485         (putpwent): Likewise.
2486         (getpwnam): Likewise.
2487         (getpwent_r): Likewise.
2488         (getpwuid_r): Likewise.
2489         (getpwnam_r): Likewise.
2490         (fgetpwent_r): Likewise.
2492 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
2494         [BZ #18557]
2495         * inet/rcmd.c (__validuser2_sa): Check user first to
2496         short-circuit host check.
2498 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
2499             Mikhail Ilin  <m.ilin@samsung.com>
2501         [BZ #17833]
2502         * elf/Makefile (tests): Add tst-nodelete.
2503         (modules-names): Add tst-nodelete-uniquemod.
2504         (tst-nodelete-uniquemod.so-no-z-defs): New.
2505         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
2506         (tst-nodelete-zmod.so-no-z-defs): Likewise.
2507         ($(objpfx)tst-nodelete): Likewise.
2508         ($(objpfx)tst-nodelete.out): Likewise.
2509         (LDFLAGS-tst-nodelete): Likewise.
2510         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
2511         * elf/dl-close.c (_dl_close_worker): Add a parameter to
2512         implement forced object deletion.
2513         (_dl_close): Pass false to _dl_close_worker.
2514         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
2515         * elf/tst-nodelete.cc: New file.
2516         * elf/tst-nodeletelib.cc: Likewise.
2517         * elf/tst-znodeletelib.cc: Likewise.
2518         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
2520 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2522         [BZ #18508]
2523         * stdlib/Makefile ($(objpfx)tst-makecontext3):
2524         Depend on $(libdl).
2525         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
2526         is not called infinitely times.
2527         (backtrace_helper): New function.
2528         (trace_arg): New struct.
2529         (st1): Enlarge stack size.
2530         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2531         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
2532         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2533         Likewise.
2535 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2537         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2539 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2541         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
2542         Include sys/types.h instead of bits/types.h.
2543         Remove inclusion of bits/wordsize.h.
2545 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2547         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
2548         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
2549         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
2550         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
2551         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
2552         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
2554 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2556         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
2557         link-defines.sym.
2558         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
2559         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
2560         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
2561         and LR_SIZE.
2562         * sysdeps/i386/link-defines.sym: New file.
2564 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2566         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
2567         (modules-names): Add tst-auditmod3a tst-auditmod3b.
2568         ($(objpfx)tst-audit3): New rule.
2569         ($(objpfx)tst-audit3.out): Likewise.
2570         * sysdeps/i386/tst-audit3.c: New file.
2571         * sysdeps/i386/tst-audit3.h: Likewise.
2572         * sysdeps/i386/tst-auditmod3a.c: Likewise.
2573         * sysdeps/i386/tst-auditmod3b.c: Likewise.
2575 2015-07-07  Torvald Riegel  <triegel@redhat.com>
2577         [BZ #18633]
2578         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
2579         pointer in C code.
2580         (__strcat_c): Likewise.
2581         (__strcat_g): Likewise.
2583 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
2585         [BZ #18592]
2586         * misc/sbrk.c: Set errno to ENOMEM on overflow.
2588 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
2590         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
2591         New function.  (__ieee754_sqrtf): New function.
2592         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
2593         New function.
2594         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
2595         New function.
2597 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
2599         * sysdeps/ieee754/support.c: Remove unused file.
2601 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2603         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
2604         registers instead of d ones so the layout is kernel abi compatible.
2605         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
2606         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
2607         Likewise.
2609 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2611         * sysdeps/aarch64/libm-test-ulps: Regenerated.
2613 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
2615         [BZ #18619]
2616         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
2617         and return argument in case of subnormal argument.
2619 2015-07-01  Martin Sebor  <msebor@redhat.com>
2621         [BZ #18435]
2622         * nptl/Makefile: Add tst-once5.cc.
2623         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
2624         Remove macro redefinitions.
2625         * nptl/tst-once5.cc: New test.
2627 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
2629         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2631         * sysdeps/arm/libm-test-ulps: Regenerated.
2633         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2634         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2636 2015-06-30  Torvald Riegel  <triegel@redhat.com>
2638         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
2639         lll_lock_wait_private and lll_futex_wake probes.
2641         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
2642         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
2643         Likewise.
2644         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
2645         atomic_spin_nop.
2646         * sysdeps/x86_64/bits/atomic.h: Likewise.
2647         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
2648         to atomic_spin_nop and move ...
2649         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
2650         ... here and ...
2651         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
2652         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
2653         atomic_spin_nop instead of BUSY_WAIT_NOP.
2654         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
2655         Likewise.
2656         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
2657         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
2658         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
2659         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
2660         instead of atomic_delay.
2662 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
2664         [BZ #18613]
2665         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
2666         X_ADJ not X when adjusting exponent.
2667         (__ieee754_gamma_r): Do intermediate computations in
2668         round-to-nearest then adjust overflowing and underflowing results
2669         as needed.
2670         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
2671         of X_ADJ not X when adjusting exponent.
2672         (__ieee754_gammaf_r): Do intermediate computations in
2673         round-to-nearest then adjust overflowing and underflowing results
2674         as needed.
2675         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
2676         log of X_ADJ not X when adjusting exponent.
2677         (__ieee754_gammal_r): Do intermediate computations in
2678         round-to-nearest then adjust overflowing and underflowing results
2679         as needed.  Use 1.0L not 1.0f as numerator of division.
2680         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
2681         log of X_ADJ not X when adjusting exponent.
2682         (__ieee754_gammal_r): Do intermediate computations in
2683         round-to-nearest then adjust overflowing and underflowing results
2684         as needed.  Use 1.0L not 1.0f as numerator of division.
2685         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
2686         of X_ADJ not X when adjusting exponent.
2687         (__ieee754_gammal_r): Do intermediate computations in
2688         round-to-nearest then adjust overflowing and underflowing results
2689         as needed.  Use 1.0L not 1.0f as numerator of division.
2690         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
2691         to auto-libm-test-in.
2692         (tgamma_test): Use ALL_RM_TEST.
2693         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
2694         tests of tgamma with spurious-overflow.
2695         * math/auto-libm-test-out: Regenerated.
2696         * math/gen-libm-have-vector-test.sh: Do not check for START.
2697         * sysdeps/i386/fpu/libm-test-ulps: Update.
2698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2700         [BZ #18612]
2701         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
2702         arguments, just return 0.5 times the argument, with underflow
2703         forced as needed.
2704         * math/auto-libm-test-in: Add more tests of j1.
2705         * math/auto-libm-test-out: Regenerated.
2707         [BZ #16559]
2708         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
2709         (__ieee754_j1): Force underflow exception for small results.
2710         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
2711         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
2712         (__ieee754_j1f): Force underflow exception for small results.
2713         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2714         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2715         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2716         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
2717         (__ieee754_j1l): Force underflow exception for small results.
2718         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2719         * math/auto-libm-test-in: Add more tests of j1 and jn.
2720         * math/auto-libm-test-out: Regenerated.
2722         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
2723         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
2724         (PF_MPLS): Likewise.
2725         (AF_IB): Likewise.
2726         (AF_MPLS): Likewise.
2727         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
2728         value and macro.
2729         (MS_RMT_MASK): Include MS_LAZYTIME.
2731 2015-06-26  Mel Gorman  <mgorman@suse.de>
2733         [BZ #18502]
2734         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
2735         already minimal.
2737 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
2739         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
2740         (DT_MIPS_NUM): Update.
2741         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
2742         DT_MIPS_RLD_MAP_REL.
2744 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
2746         [BZ #16559]
2747         [BZ #18602]
2748         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
2749         round-to-nearest internally then recompute results that
2750         underflowed to zero in the original rounding mode.
2751         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2752         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2753         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2754         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
2755         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
2756         * sysdeps/i386/fpu/libm-test-ulps: Update.
2757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2759 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
2761         * NEWS: Fixed description of link with vector math library.
2763 2015-06-25  Andreas Schwab  <schwab@suse.de>
2765         [BZ #18549]
2766         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
2767         * libio/test-fmemopen.c (do_test): Add test for it.
2769 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
2771         [BZ #17841]
2772         * Makeconfig (no-pie-ldflag): New.
2773         (+link): Set to $(+link-pie) if default to PIE.
2774         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
2775         * config.make.in (build-pie-default): New.
2776         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
2777         is default.  AC_SUBST.
2778         * configure: Regenerated.
2779         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
2781 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2783         * nptl/descr.h (struct pthread): Change type of field setxid_futex
2784         to 'unsigned int'.
2786         * resolv/gai_misc.h (struct waitlist): Change type of field
2787         counterp to 'volatile unsigned int *'.
2788         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
2789         FUTEXADDR and OLDVAL.
2790         * resolv/getaddrinfo_a.c (getaddrinfo_a):
2791         Give local variable TOTAL type 'volatile unsigned int'.
2792         (struct async_waitlist): Change type of field counter to 'unsigned int'.
2793         * resolv/gai_suspend.c (gai_suspend):
2794         Give local variable CNTR type 'unsigned int'.
2796         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
2797         counterp to 'volatile unsigned int *'.
2798         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
2799         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
2800         (aio_suspend): Give local variable CNTR type 'unsigned int'.
2801         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
2802         Give local variable TOTAL type 'volatile unsigned int'.
2803         (struct async_waitlist): Change type of field counter to 'unsigned int'.
2805 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
2807         [BZ #18383]
2808         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
2809         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
2810         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
2811         comment for i386/x86-64.
2812         (test-xfail-tst-tlsalign-extern-static): Removed.
2814 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2816         * math/test-double.h: New file.
2817         * math/test-float.h: Likewise.
2818         * math/test-ldouble.h: Likewise.
2819         * math/test-math-inline.h: Likewise.
2820         * math/test-math-no-inline.h: Likewise.
2821         * math/test-math-scalar.h: Likewise.
2822         * math/test-math-vector.h: Likewise.
2823         * math/test-vec-loop.h: Remove file.  Contents moved into
2824         test-math-vector.h.
2825         * math/libm-test.inc (MATHCONST): Do not document macro.
2826         * math/test-double.c: Include test-double.h, test-math-no-inline.h
2827         and test-math-scalar.h.
2828         (FUNC): Remove macro.
2829         (FUNC_TEST): Likewise.
2830         (FLOAT): Likewise.
2831         (MATHCONST): Likewise.
2832         (PRINTF_EXPR): Likewise.
2833         (PRINTF_XEXPR): Likewise.
2834         (PRINTF_NEXPR): Likewise.
2835         (TEST_DOUBLE): Likewise.
2836         (TEST_MATHVEC): Likewise.
2837         (__NO_MATH_INLINES): Likewise.
2838         * math/test-float.c: Include test-float.h, test-math-no-inline.h
2839         and test-math-scalar.h.
2840         (FUNC): Remove macro.
2841         (FUNC_TEST): Likewise.
2842         (FLOAT): Likewise.
2843         (MATHCONST): Likewise.
2844         (PRINTF_EXPR): Likewise.
2845         (PRINTF_XEXPR): Likewise.
2846         (PRINTF_NEXPR): Likewise.
2847         (TEST_FLOAT): Likewise.
2848         (TEST_MATHVEC): Likewise.
2849         (__NO_MATH_INLINES): Likewise.
2850         * math/test-idouble.c: Include test-double.h, test-math-inline.h
2851         and test-math-scalar.h.
2852         (FUNC): Remove macro.
2853         (FUNC_TEST): Likewise.
2854         (FLOAT): Likewise.
2855         (MATHCONST): Likewise.
2856         (PRINTF_EXPR): Likewise.
2857         (PRINTF_XEXPR): Likewise.
2858         (PRINTF_NEXPR): Likewise.
2859         (TEST_DOUBLE): Likewise.
2860         (TEST_MATHVEC): Likewise.
2861         (TEST_INLINE): Likewise.
2862         (__NO_MATH_INLINES): Likewise.
2863         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
2864         test-math-scalar.h.
2865         (FUNC): Remove macro.
2866         (FUNC_TEST): Likewise.
2867         (FLOAT): Likewise.
2868         (MATHCONST): Likewise.
2869         (PRINTF_EXPR): Likewise.
2870         (PRINTF_XEXPR): Likewise.
2871         (PRINTF_NEXPR): Likewise.
2872         (TEST_FLOAT): Likewise.
2873         (TEST_MATHVEC): Likewise.
2874         (TEST_INLINE): Likewise.
2875         (__NO_MATH_INLINES): Likewise.
2876         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
2877         and test-math-scalar.h.
2878         (FUNC): Remove macro.
2879         (FUNC_TEST): Likewise.
2880         (FLOAT): Likewise.
2881         (MATHCONST): Likewise.
2882         (PRINTF_EXPR): Likewise.
2883         (PRINTF_XEXPR): Likewise.
2884         (PRINTF_NEXPR): Likewise.
2885         (TEST_LDOUBLE): Likewise.
2886         (TEST_MATHVEC): Likewise.
2887         (TEST_INLINE): Likewise.
2888         (__NO_MATH_INLINES): Likewise.
2889         * math/test-ldouble.c: Include test-ldouble.h,
2890         test-math-no-inline.h and test-math-scalar.h.
2891         (FUNC): Remove macro.
2892         (FUNC_TEST): Likewise.
2893         (FLOAT): Likewise.
2894         (MATHCONST): Likewise.
2895         (PRINTF_EXPR): Likewise.
2896         (PRINTF_XEXPR): Likewise.
2897         (PRINTF_NEXPR): Likewise.
2898         (TEST_LDOUBLE): Likewise.
2899         (TEST_MATHVEC): Likewise.
2900         (__NO_MATH_INLINES): Likewise.
2901         * math/test-double-vlen2.h: Include test-double.h,
2902         test-math-no-inline.h and test-math-vector.h.
2903         (FLOAT): Remove macro.
2904         (FUNC): Likewise.
2905         (MATHCONST): Likewise.
2906         (PRINTF_EXPR): Likewise.
2907         (PRINTF_XEXPR): Likewise.
2908         (PRINTF_NEXPR): Likewise.
2909         (TEST_DOUBLE): Likewise.
2910         (TEST_MATHVEC): Likewise.
2911         (__NO_MATH_INLINES): Likewise.
2912         (CNCT): Likewise.
2913         (CONCAT): Likewise.
2914         (WRAPPER_NAME): Likewise.
2915         (WRAPPER_DECL): Likewise.
2916         (WRAPPER_DECL_ff): Likewise.
2917         (WRAPPER_DECL_fFF): Likewise.
2918         (VECTOR_WRAPPER): Likewise.
2919         (VECTOR_WRAPPER_ff): Likewise.
2920         (VECTOR_WRAPPER_fFF): Likewise.
2921         (VEC_LEN): New macro.
2922         * math/test-double-vlen4.h: Include test-double.h,
2923         test-math-no-inline.h and test-math-vector.h.
2924         (FLOAT): Remove macro.
2925         (FUNC): Likewise.
2926         (MATHCONST): Likewise.
2927         (PRINTF_EXPR): Likewise.
2928         (PRINTF_XEXPR): Likewise.
2929         (PRINTF_NEXPR): Likewise.
2930         (TEST_DOUBLE): Likewise.
2931         (TEST_MATHVEC): Likewise.
2932         (__NO_MATH_INLINES): Likewise.
2933         (CNCT): Likewise.
2934         (CONCAT): Likewise.
2935         (WRAPPER_NAME): Likewise.
2936         (WRAPPER_DECL): Likewise.
2937         (WRAPPER_DECL_ff): Likewise.
2938         (WRAPPER_DECL_fFF): Likewise.
2939         (VECTOR_WRAPPER): Likewise.
2940         (VECTOR_WRAPPER_ff): Likewise.
2941         (VECTOR_WRAPPER_fFF): Likewise.
2942         (VEC_LEN): New macro.
2943         * math/test-double-vlen8.h: Include test-double.h,
2944         test-math-no-inline.h and test-math-vector.h.
2945         (FLOAT): Remove macro.
2946         (FUNC): Likewise.
2947         (MATHCONST): Likewise.
2948         (PRINTF_EXPR): Likewise.
2949         (PRINTF_XEXPR): Likewise.
2950         (PRINTF_NEXPR): Likewise.
2951         (TEST_DOUBLE): Likewise.
2952         (TEST_MATHVEC): Likewise.
2953         (__NO_MATH_INLINES): Likewise.
2954         (CNCT): Likewise.
2955         (CONCAT): Likewise.
2956         (WRAPPER_NAME): Likewise.
2957         (WRAPPER_DECL): Likewise.
2958         (WRAPPER_DECL_ff): Likewise.
2959         (WRAPPER_DECL_fFF): Likewise.
2960         (VECTOR_WRAPPER): Likewise.
2961         (VECTOR_WRAPPER_ff): Likewise.
2962         (VECTOR_WRAPPER_fFF): Likewise.
2963         (VEC_LEN): New macro.
2964         * math/test-float-vlen4.h: Include test-float.h,
2965         test-math-no-inline.h and test-math-vector.h.
2966         (FLOAT): Remove macro.
2967         (FUNC): Likewise.
2968         (MATHCONST): Likewise.
2969         (PRINTF_EXPR): Likewise.
2970         (PRINTF_XEXPR): Likewise.
2971         (PRINTF_NEXPR): Likewise.
2972         (TEST_FLOAT): Likewise.
2973         (TEST_MATHVEC): Likewise.
2974         (__NO_MATH_INLINES): Likewise.
2975         (CNCT): Likewise.
2976         (CONCAT): Likewise.
2977         (WRAPPER_NAME): Likewise.
2978         (WRAPPER_DECL): Likewise.
2979         (WRAPPER_DECL_ff): Likewise.
2980         (WRAPPER_DECL_fFF): Likewise.
2981         (VECTOR_WRAPPER): Likewise.
2982         (VECTOR_WRAPPER_ff): Likewise.
2983         (VECTOR_WRAPPER_fFF): Likewise.
2984         (VEC_LEN): New macro.
2985         * math/test-float-vlen8.h: Include test-float.h,
2986         test-math-no-inline.h and test-math-vector.h.
2987         (FLOAT): Remove macro.
2988         (FUNC): Likewise.
2989         (MATHCONST): Likewise.
2990         (PRINTF_EXPR): Likewise.
2991         (PRINTF_XEXPR): Likewise.
2992         (PRINTF_NEXPR): Likewise.
2993         (TEST_FLOAT): Likewise.
2994         (TEST_MATHVEC): Likewise.
2995         (__NO_MATH_INLINES): Likewise.
2996         (CNCT): Likewise.
2997         (CONCAT): Likewise.
2998         (WRAPPER_NAME): Likewise.
2999         (WRAPPER_DECL): Likewise.
3000         (WRAPPER_DECL_ff): Likewise.
3001         (WRAPPER_DECL_fFF): Likewise.
3002         (VECTOR_WRAPPER): Likewise.
3003         (VECTOR_WRAPPER_ff): Likewise.
3004         (VECTOR_WRAPPER_fFF): Likewise.
3005         (VEC_LEN): New macro.
3006         * math/test-float-vlen16.h: Include test-float.h,
3007         test-math-no-inline.h and test-math-vector.h.
3008         (FLOAT): Remove macro.
3009         (FUNC): Likewise.
3010         (MATHCONST): Likewise.
3011         (PRINTF_EXPR): Likewise.
3012         (PRINTF_XEXPR): Likewise.
3013         (PRINTF_NEXPR): Likewise.
3014         (TEST_FLOAT): Likewise.
3015         (TEST_MATHVEC): Likewise.
3016         (__NO_MATH_INLINES): Likewise.
3017         (CNCT): Likewise.
3018         (CONCAT): Likewise.
3019         (WRAPPER_NAME): Likewise.
3020         (WRAPPER_DECL): Likewise.
3021         (WRAPPER_DECL_ff): Likewise.
3022         (WRAPPER_DECL_fFF): Likewise.
3023         (VECTOR_WRAPPER): Likewise.
3024         (VECTOR_WRAPPER_ff): Likewise.
3025         (VECTOR_WRAPPER_fFF): Likewise.
3026         (VEC_LEN): New macro.
3027         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
3028         test-vec-loop.h.
3029         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3030         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3031         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3032         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3033         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3034         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3035         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
3037 2015-06-24  Roland McGrath  <roland@hack.frob.com>
3039         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
3040         (__getlogin_r): ... this.
3042 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
3044         [BZ #18594]
3045         * math/s_ccosh.c (__ccosh): Compare with least normal value
3046         instead of comparing class with FP_SUBNORMAL.
3047         * math/s_ccoshf.c (__ccoshf): Likewise.
3048         * math/s_ccoshl.c (__ccoshl): Likewise.
3049         * math/s_cexp.c (__cexp): Likewise.
3050         * math/s_cexpf.c (__cexpf): Likewise.
3051         * math/s_cexpl.c (__cexpl): Likewise.
3052         * math/s_csin.c (__csin): Likewise.
3053         * math/s_csinf.c (__csinf): Likewise.
3054         * math/s_csinh.c (__csinh): Likewise.
3055         * math/s_csinhf.c (__csinhf): Likewise.
3056         * math/s_csinhl.c (__csinhl): Likewise.
3057         * math/s_csinl.c (__csinl): Likewise.
3058         * math/s_ctan.c (__ctan): Likewise.
3059         * math/s_ctanf.c (__ctanf): Likewise.
3060         * math/s_ctanh.c (__ctanh): Likewise.
3061         * math/s_ctanhf.c (__ctanhf): Likewise.
3062         * math/s_ctanhl.c (__ctanhl): Likewise.
3063         * math/s_ctanl.c (__ctanl): Likewise.
3064         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
3065         csin, csinh, ctan and ctanh.
3066         * math/auto-libm-test-out: Regenerated.
3067         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
3068         * sysdeps/i386/fpu/libm-test-ulps: Update.
3069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3071 2015-06-24  Roland McGrath  <roland@hack.frob.com>
3073         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
3074         return value is wrong, print the expected value too.
3076 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
3078         [BZ #18585]
3079         * elf/readlib.c (is_gdb_python_file): New.
3080         (process_file): Don't issue errors on filenames with -gdb.py
3081         suffix.
3083 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
3085         * math/auto-libm-test-in: Add more tests of csin and csinh.
3086         * math/auto-libm-test-out: Regenerated.
3087         * math/libm-test.inc (csin_test_data): Remove tests moved to
3088         auto-libm-test-in.
3089         (csinh_test_data): Likewise.
3091         [BZ #18593]
3092         * math/s_csin.c (__csin): Negate before rather than after possibly
3093         overflowing multiplication.
3094         * math/s_csinf.c (__csinf): Likewise.
3095         * math/s_csinh.c (__csinh): Likewise.
3096         * math/s_csinhf.c (__csinhf): Likewise.
3097         * math/s_csinhl.c (__csinhl): Likewise.
3098         * math/s_csinl.c (__csinl): Likewise.
3099         * math/auto-libm-test-in: Add some tests of csin and csinh.
3100         * math/auto-libm-test-out: Regenerated.
3101         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
3102         (csinh_test_data): Likewise.
3103         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3105         [BZ #18586]
3106         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
3107         underflow exception for small results.
3109 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
3111         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
3112         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
3113         variable and included header.
3114         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
3115         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
3116         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
3117         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
3118         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
3119         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
3120         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
3121         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
3122         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
3123         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
3124         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
3125         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
3126         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
3127         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
3128         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
3129         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
3131 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
3133         [BZ #16526]
3134         [BZ #16538]
3135         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
3136         (__sin): Force underflow exception for arguments with small
3137         absolute value.
3138         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
3139         (__kernel_sinf): Force underflow exception for arguments with
3140         small absolute value.
3141         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
3142         (__kernel_sincosl): Force underflow exception for arguments with
3143         small absolute value.
3144         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
3145         (__kernel_sinl): Force underflow exception for arguments with
3146         small absolute value.
3147         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
3148         (__kernel_sincosl): Force underflow exception for arguments with
3149         small absolute value.
3150         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
3151         (__kernel_sinl): Force underflow exception for arguments with
3152         small absolute value.
3153         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
3154         (__kernel_sinl): Force underflow exception for arguments with
3155         small absolute value.
3156         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
3157         (__kernel_sinf): Force underflow exception for arguments with
3158         small absolute value.
3159         * math/auto-libm-test-in: Add more tests of sin and sincos.
3160         * math/auto-libm-test-out: Regenerated.
3162         [BZ #18245]
3163         [BZ #18583]
3164         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
3165         (__kernel_standard_l): Use feholdexcept and fesetenv around
3166         conversion to double instead of special-casing overflow and
3167         underflow.
3168         * math/libm-test.inc (fmod_test_data): Add more tests.
3169         (remainder_test_data): Likewise.
3170         (sqrt_test_data): Likewise.
3172 2015-06-23  Torvald Riegel  <triegel@redhat.com>
3174         [BZ #17403]
3175         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
3176         atomic_read_barrier, atomic_write_barrier): Define.
3177         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
3178         atomic_read_barrier, atomic_write_barrier): Define.
3180 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
3182         * math/Makefile [$(PERL) != no]
3183         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
3184         dependency on libm-test.stmp below the inclusion of Rules.
3186 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
3188         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
3189         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
3190         and included header.
3191         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
3192         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
3193         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
3194         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
3195         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
3196         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
3197         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
3198         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
3199         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
3200         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
3201         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
3202         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
3203         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
3204         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
3205         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
3206         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
3207         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
3208         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
3209         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
3211 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
3213         [BZ #18371]
3214         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
3215         intermediate but not final result might underflow.
3216         * math/s_csqrtf.c (__csqrtf): Likewise.
3217         * math/s_csqrtl.c (__csqrtl): Likewise.
3218         * math/auto-libm-test-in: Add more tests of csqrt.
3219         * math/auto-libm-test-out: Regenerated.
3220         * sysdeps/i386/fpu/libm-test-ulps: Update.
3222         [BZ #18219]
3223         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
3224         threshold on absolute value of exponent for which scaling is used.
3225         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
3226         * math/auto-libm-test-in: Add more tests of exp2.
3227         * math/auto-libm-test-out: Regenerated.
3229 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
3231         [BZ #17977]
3232         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
3233         when initializing interface list, based on the bug analysis
3234         and the patch proposed by Eric Newton.
3235         * resolv/tst-res_hconf_reorder.c: New test.
3236         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
3237         tst-res_hconf_reorder.
3238         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
3239         and $(shared-thread-library).
3240         (tst-res_hconf_reorder-ENV): New variable.
3242         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
3243         in comment.
3245 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
3247         [BZ #16353]
3248         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
3249         (__expm1): Force underflow exception for arguments with small
3250         absolute value.
3251         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
3252         (__expm1f): Force underflow exception for arguments with small
3253         absolute value.
3254         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
3255         (__expm1): Force underflow exception for arguments with small
3256         absolute value.
3257         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
3258         (__expm1f): Force underflow exception for arguments with small
3259         absolute value.
3260         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
3261         Check for small arguments before calling __expm1.
3262         * math/auto-libm-test-in: Do not mark underflow exceptions as
3263         possibly missing for bug 16353.
3264         * math/auto-libm-test-out: Regenerated.
3266 2015-06-22  Andreas Schwab  <schwab@suse.de>
3268         [BZ #18513]
3269         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
3270         PTR queries.
3272 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
3274         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
3276         * string/strcoll_l.c: Remove unused struct element idxnow.
3278 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
3280         [BZ #18569]
3281         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
3282         underflow and return argument in case of subnormal argument.
3283         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
3284         Likewise.
3285         * math/auto-libm-test-in: Add more tests of expm1.
3286         * math/auto-libm-test-out: Regenerated.
3288         [BZ #16361]
3289         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
3290         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
3291         tiny results.
3292         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
3293         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
3294         tiny results.
3295         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
3296         mark underflow exceptions as possibly missing for bug 16361.
3297         * math/auto-libm-test-out: Regenerated.
3299 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
3301         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
3302         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
3303         Remove variable.
3304         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
3305         (test-xfail-XOPEN2K8/utmpx.h/conform).
3307         * conform/conformtest.pl ($xerrors): New variable.
3308         (note_error): New function.
3309         (compiletest): New argument $xfail.  Use not_error.
3310         (runtest): Likewise.
3311         (top level): Handle xfail- lines.  Update calls to compiletest and
3312         runtest.  Handle xfail- and optional- in headers listed with
3313         allow-header.
3314         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
3315         (O_EXEC): Likewise.
3316         (O_SEARCH): Likewise.
3317         * conform/data/stropts.h-data (ioctl): Likewise.
3318         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
3319         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
3320         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
3321         (msghdr.msg_controllen): Likewise.
3322         (cmsghdr.cmsg_len): Likewise.
3323         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
3324         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
3325         variable.
3326         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
3327         (test-xfail-XPG4/stropts.h/conform): Likewise.
3328         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
3329         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
3330         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
3331         (test-xfail-UNIX98/stropts.h/conform): Likewise.
3332         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
3333         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
3334         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
3335         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
3336         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
3337         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
3338         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
3339         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
3340         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
3341         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
3342         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
3343         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
3344         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
3345         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
3346         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
3348 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
3350         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
3351         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
3352         definitions for proper unfolding of __MATHDECL_VEC.
3354 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
3356         * benchtests/bench-strcoll.c:
3357         Include string.h.
3358         (main): Remove unused variable res.
3360 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
3362         * timezone/Makefile (%/UTC %/Universal):
3363         Generate test-result files for UTC and Universal.
3365 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
3367         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3369 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
3371         [BZ #16350]
3372         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
3373         for arguments with small absolute value.
3374         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
3375         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
3376         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
3377         (__asinh): Force underflow exception for arguments with small
3378         absolute value.
3379         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
3380         (__asinhf): Force underflow exception for arguments with small
3381         absolute value.
3382         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
3383         (__asinhl): Force underflow exception for arguments with small
3384         absolute value.
3385         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
3386         (__asinhl): Force underflow exception for arguments with small
3387         absolute value.
3388         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
3389         (__asinhl): Force underflow exception for arguments with small
3390         absolute value.
3391         * math/auto-libm-test-in: Do not mark underflow exceptions as
3392         possibly missing for bug 16350.
3393         * math/auto-libm-test-out: Regenerated.
3395         * include/bits/ipc.h: Remove file.
3396         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
3397         variable.
3398         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
3399         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
3400         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
3401         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
3402         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
3403         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
3404         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
3405         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
3406         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
3408         * math/auto-libm-test-in: Remove spurious underflow allowance for
3409         tests of cexp.
3410         * math/auto-libm-test-out: Regenerated.
3412         [BZ #18558]
3413         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
3414         unconditional definition.
3415         (MCAST_BLOCK_SOURCE): Likewise.
3416         (MCAST_UNBLOCK_SOURCE): Likewise.
3417         (MCAST_LEAVE_GROUP): Likewise.
3418         (MCAST_JOIN_SOURCE_GROUP): Likewise.
3419         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
3420         (MCAST_MSFILTER): Likewise.
3421         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
3422         Remove variable.
3423         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
3424         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
3425         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
3426         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
3427         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
3429 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
3431         * NEWS: Mention addition of x86_64 vector sincosf.
3432         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
3433         * math/test-float-vlen4.h: Likewise.
3434         * math/test-float-vlen8.h: Likewise.
3435         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3436         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
3437         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3438         * sysdeps/x86_64/fpu/Versions: New versions added.
3439         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3440         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3441         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3442         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
3443         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
3444         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
3445         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
3446         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
3447         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
3448         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
3449         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
3450         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
3451         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
3452         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
3453         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
3454         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
3455         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
3456         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
3457         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3458         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3459         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3460         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3461         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3462         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3464         * NEWS: Mention addition of x86_64 vector sincos.
3465         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
3466         * math/math.h (__MATHDECL_VEC): New macro.
3467         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
3468         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
3469         declaration under condition.
3470         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
3471         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
3472         TEST_VEC_LOOP change.
3473         * math/test-double-vlen4.h: Likewise.
3474         * math/test-double-vlen8.h: Likewise.
3475         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
3476         * math/test-float-vlen4.h: Likewise.
3477         * math/test-float-vlen8.h: Likewise.
3478         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3479         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
3480         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3481         * sysdeps/x86_64/fpu/Versions: New versions added.
3482         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3483         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3484         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3485         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
3486         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
3487         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
3488         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
3489         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
3490         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
3491         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
3492         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
3493         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
3494         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
3495         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
3496         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
3497         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
3498         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
3499         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3500         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3501         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3502         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3503         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3504         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3505         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3507         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3508         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3509         redirections for powf.
3510         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3511         * sysdeps/x86_64/fpu/Versions: New versions added.
3512         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3513         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3514         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3515         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
3516         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
3517         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
3518         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
3519         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
3520         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
3521         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
3522         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
3523         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
3524         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
3525         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
3526         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
3527         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
3528         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
3529         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3530         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3531         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3532         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3533         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3534         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3535         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3536         * math/test-float-vlen16.h: Fixed 2 argument macro.
3537         * math/test-float-vlen4.h: Likewise.
3538         * math/test-float-vlen8.h: Likewise.
3539         * NEWS: Mention addition of x86_64 vector powf.
3541 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
3543         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3544         and redefine.
3545         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3546         and redefine.
3547         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
3548         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3549         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3551         [BZ #18553]
3552         * resource/getpriority.c (getpriority): Rename to __getpriority
3553         and define as weak alias of __getpriority.
3554         * resource/setpriority.c (setpriority): Rename to __setpriority
3555         and define as weak alias of __setpriority.
3556         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
3557         __getpriority and define as weak alias of __getpriority.
3558         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
3559         __setpriority and define as weak alias of __setpriority.
3560         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
3561         strong name.
3562         (setpriority): Use __setpriority as strong name.
3563         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
3564         __getpriority and define as weak alias of __getpriority.
3565         * include/sys/resource.h (__getpriority): Declare.  Use
3566         libc_hidden_proto.
3567         (__setpriority): Likewise.
3568         (getpriority): Don't use libc_hidden_proto.
3569         (setpriority): Likewise.
3570         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
3571         getpriority.  Call __setpriority instead of setpriority.
3572         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
3573         Remove variable.
3575         [BZ #18547]
3576         * misc/getttyent.c (getttynam): Rename to __getttynam and define
3577         as weak alias of __getttynam.  Use prototype function definition.
3578         Call __setttyent, __getttyent and __endttyent instead of
3579         setttyent, getttyent and endttyent.
3580         (getttyent): Rename to __getttyent and define as weak alias of
3581         __getttyent.  Call __setttyent instead of setttyent.  Call
3582         __fgets_unlocked instead of fgets_unlocked.
3583         (setttyent): Rename to __setttyent and define as weak alias of
3584         __setttyent.
3585         (endttyent): Rename to __endttyent and define as weak alias of
3586         __endttyent.
3587         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
3588         (__setttyent): Likewise.
3589         (__endttyent): Likewise.
3590         (getttyent): Don't use libc_hidden_proto.
3591         (setttyent): Likewise.
3592         (endttyent): Likewise.
3593         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
3594         __endttyent instead of setttyent, getttyent and endttyent.
3595         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
3596         Remove variable.
3598         [BZ #18546]
3599         * socket/recv.c (__recv): Use libc_hidden_def.
3600         * socket/socket.c (__socket): Likewise.
3601         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
3602         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
3603         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
3604         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
3605         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
3606         libc_hidden_def.
3607         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
3608         libc_hidden_weak.
3609         * include/sys/socket.h (__socket): Do not use attribute_hidden.
3610         Use libc_hidden_proto.
3611         (__recv): Likewise.
3612         * socket/Versions (libc): Export __recv and __socket at version
3613         GLIBC_PRIVATE.
3614         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
3615         instead of recv.
3616         (init_mq_netlink): Call __socket instead of socket.
3617         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
3618         Remove variable.
3620         [BZ #18545]
3621         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
3622         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
3623         hidden_weak.
3624         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
3625         define as alias of __mq_timedsend.  Use hidden_weak.
3626         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
3627         __mq_timedsend as strong name.
3628         (mq_timedreceive): Use __mq_timedreceive as strong name.
3629         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
3630         (__mq_timedreceive): Likewise.
3631         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
3632         __mq_timedreceive instead of mq_timedreceive.
3633         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
3634         instead of mq_timedsend.
3635         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
3636         Remove variable.
3638         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
3639         hidden_def and hidden_weak instead of libc_hidden_def and
3640         libc_hidden_weak.
3641         (top level): Refer to hidden_def in comment.
3642         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
3643         macro.  Use it instead of libc_hidden_def.
3644         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
3645         specify __GI_* name explicitly.
3646         (mq_timedreceive): Likewise.
3647         (mq_setattr): Likewise.
3649         [BZ #18544]
3650         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
3651         __pthread_barrier_init and define as weak alias of
3652         __pthread_barrier_init.
3653         * sysdeps/sparc/nptl/pthread_barrier_init.c
3654         (pthread_barrier_init): Likewise.
3655         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
3656         __pthread_barrier_wait and define as weak alias of
3657         __pthread_barrier_wait.
3658         * sysdeps/sparc/nptl/pthread_barrier_wait.c
3659         (pthread_barrier_wait): Likewise.
3660         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
3661         (pthread_barrier_wait): Likewise.
3662         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
3663         (pthread_barrier_wait): Likewise.
3664         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
3665         (pthread_barrier_wait): Likewise.
3666         * nptl/Versions (libpthread): Export __pthread_barrier_init and
3667         __pthread_barrier_wait at version GLIBC_PRIVATE.
3668         * include/pthread.h (__pthread_barrier_init): Declare.
3669         (__pthread_barrier_wait): Likewise.
3670         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
3671         Call __pthread_barrier_wait instead of pthread_barrier_wait.
3672         (helper_thread): Likewise.
3673         (init_mq_netlink): Call __pthread_barrier_init instead of
3674         pthread_barrier_init.
3676         [BZ #18542]
3677         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
3678         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
3679         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
3680         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
3681         vswscanf.
3682         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
3683         Remove variable.
3685         [BZ #18540]
3686         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
3687         strong alias of _IO_fflush.  Use libc_hidden_def.
3688         * libio/iofflush_u.c (fflush_unlocked): Rename to
3689         __fflush_unlocked and define as weak alias of __fflush_unlocked.
3690         Use libc_hidden_weak.
3691         * include/stdio.h (__fflush_unlocked): Declare.  Use
3692         libc_hidden_proto.
3693         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
3694         fflush_unlocked.
3695         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
3696         Remove variable.
3698         [BZ #18539]
3699         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
3700         define as weak alias of __addseverity.
3701         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
3702         Remove variable.
3703         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3704         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3705         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3707         [BZ #18536]
3708         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
3709         (__tfind): Likewise.
3710         (__tdelete): Likewise.
3711         (__twalk): Likewise.
3712         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
3713         __twalk to GLIBC_PRIVATE.
3714         * include/search.h (__tsearch): Use libc_hidden_proto.
3715         (__tfind): Likewise.
3716         (__tdelete): Likewise.
3717         (__twalk): Likewise.
3718         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
3719         Call __tdelete instead of tdelete.
3720         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
3721         tfind.  Call __tsearch instead of tsearch.
3722         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
3723         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
3724         Remove variable.
3725         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3727         [BZ #18534]
3728         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
3729         (dprintf): Define as a weak alias of __dprintf, not a strong
3730         alias.
3731         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
3732         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
3733         dprintf.
3734         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
3735         Remove variable.
3736         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3737         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3739         [BZ #18533]
3740         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
3741         not a strong alias.
3742         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
3743         Remove variable.
3745         [BZ #18532]
3746         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
3747         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
3748         (in6addr_loopback): Rename to __in6addr_loopback and define as
3749         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
3750         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
3751         libc_hidden_proto.
3752         (__in6addr_any): Likewise.
3753         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
3754         in6addr_any.
3755         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
3756         variable.
3757         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3759 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
3761         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
3762         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
3763         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3764         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3765         redirections for pow.
3766         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3767         * sysdeps/x86_64/fpu/Versions: New versions added.
3768         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3769         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3770         build of SSE, AVX2 and AVX512 IFUNC versions.
3771         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
3772         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
3773         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
3774         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
3775         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
3776         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
3777         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
3778         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
3779         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
3780         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
3781         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
3782         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
3783         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
3784         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
3785         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3786         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3787         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3788         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3789         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3790         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3791         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3792         * NEWS: Mention addition of x86_64 vector pow.
3794         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3795         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3796         redirections for expf.
3797         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3798         * sysdeps/x86_64/fpu/Versions: New versions added.
3799         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3800         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3801         build of SSE, AVX2 and AVX512 IFUNC versions.
3802         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
3803         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
3804         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
3805         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
3806         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
3807         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
3808         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
3809         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
3810         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
3811         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
3812         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
3813         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
3814         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
3815         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3816         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3817         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3818         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3819         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3820         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3821         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3822         * NEWS: Mention addition of x86_64 vector expf.
3824         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
3825         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
3826         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3827         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3828         redirections for exp.
3829         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3830         * sysdeps/x86_64/fpu/Versions: New versions added.
3831         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3832         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3833         build of SSE, AVX2 and AVX512 IFUNC versions.
3834         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
3835         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
3836         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
3837         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
3838         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
3839         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
3840         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
3841         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
3842         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
3843         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
3844         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
3845         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
3846         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
3847         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3848         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3849         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3850         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3851         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3852         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3853         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3854         * NEWS: Mention addition of x86_64 vector exp.
3856         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3857         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3858         redirections for logf.
3859         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3860         * sysdeps/x86_64/fpu/Versions: New versions added.
3861         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3862         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3863         build of SSE, AVX2 and AVX512 IFUNC versions.
3864         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
3865         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
3866         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
3867         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
3868         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
3869         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
3870         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
3871         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
3872         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
3873         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
3874         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
3875         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
3876         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
3877         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3878         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3879         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3880         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3881         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3882         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3883         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3884         * NEWS: Mention addition of x86_64 vector logf.
3886         * bits/libm-simd-decl-stubs.h: Added stubs for log.
3887         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
3888         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3889         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3890         redirections for log.
3891         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3892         * sysdeps/x86_64/fpu/Versions: New versions added.
3893         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3894         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3895         build of SSE, AVX2 and AVX512 IFUNC versions.
3896         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
3897         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
3898         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
3899         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
3900         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
3901         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
3902         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
3903         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
3904         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
3905         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
3906         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
3907         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
3908         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
3909         test.
3910         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3911         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3912         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3913         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3914         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3915         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3916         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3917         * NEWS: Mention addition of x86_64 vector log.
3919 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3921         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
3922         cfi_adjust_cfa_offset argument.
3923         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
3924         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
3926         [BZ #18034]
3927         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
3928         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
3929         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
3930         ordering using ldar.
3931         (_dl_tlsdesc_dynamic): Likewise.
3932         (_dl_tlsdesc_return_lazy): Likewise.
3933         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
3934         relaxed atomics instead of volatile and synchronize with release store.
3935         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
3936         volatile.
3937         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3939 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
3941         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3942         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
3943         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3944         * sysdeps/x86_64/fpu/Versions: New versions added.
3945         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3946         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3947         build of SSE, AVX2 and AVX512 IFUNC versions.
3948         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
3949         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
3950         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
3951         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
3952         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
3953         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
3954         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
3955         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
3956         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
3957         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
3958         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
3959         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
3960         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
3961         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3962         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3963         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3964         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3965         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3966         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3967         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3968         * NEWS: Mention addition of x86_64 vector sinf.
3970 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
3972         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
3973         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
3974         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
3975         Remove variable.
3976         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
3977         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
3979 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
3981         [BZ #18530]
3982         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
3983         strong alias of _IO_fputs.  Use libc_hidden_def.
3984         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
3985         and define as weak alias of __fputs_unlocked.  Use
3986         libc_hidden_weak.
3987         * include/stdio.h (__fputs_unlocked): Declare.  Use
3988         libc_hidden_proto.
3989         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
3990         fputs_unlocked.
3992         [BZ #18529]
3993         * resolv/netdb.h [__USE_POSIX]: Change condition to
3994         [__USE_XOPEN2K].
3995         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
3996         not expect.
3997         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
3998         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
3999         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
4000         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
4001         [XPG4 || UNIX98] (AI_ALL): Likewise.
4002         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
4003         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
4004         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
4005         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
4006         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
4007         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
4008         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
4009         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
4010         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
4011         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
4012         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
4013         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
4014         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
4015         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
4016         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
4017         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
4018         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
4019         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
4020         [XPG4 || UNIX98] (gai_strerror): Likewise.
4021         [XPG4 || UNIX98] (getaddrinfo): Likewise.
4022         [XPG4 || UNIX98] (getnameinfo): Likewise.
4024         [BZ #18528]
4025         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
4026         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
4027         __USE_XOPEN2K8].
4028         (getgrent): Likewise.
4029         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
4030         expect.
4031         [XPG3 || POSIX2008] (endgrent): Likewise.
4032         [XPG3] (setgrent): Likewise.
4033         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
4034         variable.
4035         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
4037         [BZ #18527]
4038         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
4039         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
4040         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
4041         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
4042         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
4043         * include/unistd.h (__getlogin_r): Declare.  Use
4044         libc_hidden_proto.
4045         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
4046         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
4047         variable.
4048         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
4049         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
4050         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
4052 2015-06-12  Martin Sebor  <msebor@redhat.com>
4054         [BZ #18512]
4055         * Makerules (check-install-supported): New target.
4056         (install): Add check-install-supported as a dependency.
4057         * manual/install.texi (Installing the C Library): Document
4058         that overriding prefix and exec_prefix is not supported.
4059         Mention DESTDIR.
4060         * INSTALL: Regenerate from the above.
4062 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
4064         [BZ #18519]
4065         * posix/Versions (libc): Export __libc_pread at version
4066         GLIBC_PRIVATE.
4067         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
4068         instead of pread.
4069         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
4070         variable.
4072         [BZ #18522]
4073         * misc/efgcvt_r.c
4074         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
4075         (cvt_symbol): Use weak_alias instead of strong_alias.
4076         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
4077         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
4078         Remove variable.
4079         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
4080         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4082         [BZ #18520]
4083         * inet/herrno.c (h_errno): Rename to __h_errno.
4084         (__libc_h_errno): Define as alias of __h_errno not h_errno.
4085         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
4086         to __h_errno instead of h_errno.
4087         * nptl/herrno.c (h_errno): Rename to __h_errno.
4088         (__h_errno_location): Refer to __h_errno not h_errno.
4089         * resolv/Versions (h_errno): Rename to __h_errno.
4090         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
4091         Remove variable.
4092         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
4094 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
4096         * configure.ac: More strict check for AVX512 assembler support.
4097         * configure: Regenerated.
4099         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
4100         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
4101         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4102         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
4103         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4104         * sysdeps/x86_64/fpu/Versions: New versions added.
4105         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4106         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4107         Added build of SSE, AVX2 and AVX512 IFUNC versions.
4108         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
4109         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
4110         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
4111         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
4112         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
4113         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
4114         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
4115         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
4116         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
4117         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
4118         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
4119         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
4120         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
4121         test.
4122         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4123         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4124         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4125         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4126         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4127         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4128         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4129         * NEWS: Mention addition of x86_64 vector sin.
4131 2015-06-11  Florian Weimer  <fweimer@redhat.com>
4133         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
4134         comment.
4136 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
4138         [BZ #18479]
4139         * nptl/pt-interp.c: New file.
4140         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
4141         Add pt-interp.
4142         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
4143         $(common-objpfx)runtime-linker.h.
4145 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
4147         * Makeconfig (+interp): Remove unused variable.
4148         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
4149         only.  Depend on $(common-objpfx)runtime-linker.h instead of
4150         $(elf-objpfx)runtime-linker.h.
4151         ($(elf-objpfx)runtime-linker.h): Rename to
4152         $(common-objpfx)runtime-linker.h and move ...
4153         * Makerules [$(build-shared) = yes]: ... here.
4154         * elf/interp.c: Include <runtime-linker.h> instead of
4155         <elf/runtime-linker.h>.
4157 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4159         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
4160         (__gettimeofday_syscall): Remove vsyscall fallback.
4161         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
4162         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
4163         Add syscall fallback function.
4164         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
4165         if vDSO is not present.
4166         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
4167         fallback function.
4168         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
4169         present.
4170         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
4171         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
4173 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
4175         [BZ #18497]
4176         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
4177         of wcscmp.
4178         (wcscmp): Define as weak alias of WCSCMP.
4179         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
4180         wcscoll.
4181         (USE_HIDDEN_DEF): Define.
4182         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
4183         __wcscoll.  Don't use libc_hidden_weak.
4184         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
4185         wcscmp.
4186         * sysdeps/i386/i686/multiarch/wcscmp-c.c
4187         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
4188         __GI_wcscmp.
4189         (weak_alias): Undefine and redefine.
4190         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
4191         __wcscmp and define as weak alias of __wcscmp.
4192         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
4193         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
4194         (__wcscoll): Likewise.
4195         (wcscmp): Don't use libc_hidden_proto.
4196         (wcscoll): Likewise.
4197         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
4198         wcscoll.
4199         * posix/regexec.c (check_node_accept_bytes): Likewise.
4200         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
4201         variable.
4202         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
4203         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
4205         [BZ #18507]
4206         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
4207         __fstatvfs and define as weak alias of __fstatvfs.  Use
4208         libc_hidden_weak.
4209         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
4210         and define as weak alias of __statvfs.  Use libc_hidden_weak.
4211         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
4212         Define as alias of __fstatvfs, not fstatvfs.
4213         (fstatvfs64): Likewise.
4214         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
4215         Define as alias of __statvfs, not statvfs.
4216         (statvfs64): Likewise.
4217         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
4218         Remove variable.
4220 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4223         (HAVE_GETCPU_VSYSCALL): Define.
4224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4225         (HAVE_GETCPU_VSYSCALL): Likewise.
4226         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
4227         * sysdeps/unix/sysv/linux/sched_getcpu.c
4228         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
4229         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
4230         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
4231         prototype.
4232         * sysdeps/unix/sysv/linux/x86_64/init-first.c
4233         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
4234         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
4235         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
4236         Define.
4237         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
4238         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4239         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
4240         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4242 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
4244         * sysdeps/x86_64/fpu/Makefile: New file.
4245         * sysdeps/x86_64/fpu/Versions: New file.
4246         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
4247         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
4248         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
4249         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
4250         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
4251         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
4252         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
4253         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
4254         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
4255         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
4256         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
4257         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
4258         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
4259         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4260         Added build of SSE, AVX2 and AVX512 IFUNC versions.
4261         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
4262         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
4263         * sysdeps/x86_64/configure.ac: Options for libmvec build.
4264         * sysdeps/x86_64/configure: Regenerated.
4265         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
4266         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
4267         * manual/install.texi (Configuring and compiling): Document
4268         --disable-mathvec.
4269         * INSTALL: Regenerated.
4270         * NEWS: Mention addition of libmvec and x86_64 vector cos.
4272         * math/Makefile: Added rules for vector tests.
4273         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
4274         declaration under condition.
4275         * math/test-double-vlen2.h: New file.
4276         * math/test-double-vlen4.h: New file.
4277         * math/test-double-vlen8.h: New file.
4278         * math/test-vec-loop.h: Added initialization macro.
4279         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
4280         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
4281         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
4282         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
4283         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
4284         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
4285         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
4286         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
4287         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
4288         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
4289         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
4291         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4292         * sysdeps/x86_64/fpu/Versions: New versions added.
4293         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
4294         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
4295         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
4296         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
4297         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
4298         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
4299         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
4300         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
4301         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
4302         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
4303         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
4304         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
4305         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
4306         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4307         Added build of SSE, AVX2 and AVX512 IFUNC versions.
4308         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4309         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
4310         * NEWS: Mention addition of x86_64 vector cosf.
4312         * math/Makefile: Added CFLAGS for new tests.
4313         * math/test-float-vlen16.h: New file.
4314         * math/test-float-vlen4.h: New file.
4315         * math/test-float-vlen8.h: New file.
4316         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
4317         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
4318         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4319         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
4320         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
4321         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
4322         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
4323         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
4324         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
4325         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
4326         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
4328 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
4330         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
4331         * locale/programs/ld-ctype.c: Likewise.
4333 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
4335         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
4336         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
4337         bit_ZMM16_31_state): New macro.
4338         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4339         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
4341 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
4343         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
4345 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
4347         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
4349 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
4351         [BZ #18498]
4352         * libio/memstream.c (open_memstream): Rename to __open_memstream
4353         and define as weak alias of __open_memstream.
4354         * include/stdio.h (__open_memstream): Declare.  Use
4355         libc_hidden_proto.
4356         (open_memstream): Don't use libc_hidden_proto.
4357         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
4358         open_memstream.
4359         * posix/getopt.c (_getopt_internal_r): Likewise.
4360         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
4361         variable.
4362         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
4363         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
4364         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
4366         [BZ #18496]
4367         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
4368         instead of wcrtomb.
4370         [BZ #18483]
4371         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
4372         [__USE_XOPEN2K8].  Remove redundant #endif.
4373         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
4374         Remove redundant #if.
4375         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
4376         Remove variable.
4377         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
4378         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
4380         [BZ #18495]
4381         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
4382         (__iswlower): Likewise.
4383         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
4384         (__iswlower): Likewise.
4385         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
4386         instead of towlower.
4387         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
4388         instead of iswlower.  Call __towupper instead of towupper.
4389         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
4390         instead of iswalnum.
4392 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4394         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
4395         errors to stderr.
4397 2015-06-05  Florian Weimer  <fweimer@redhat.com>
4399         [BZ #15661]
4400         [BZ #17322]
4401         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
4402         Check for overflow properly.  Check for O_APPEND.  Ignore large
4403         file system block sizes.  Add comments about problems.
4404         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
4405         * manual/filesys.texi (Storage Allocation): New node.
4407 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4409         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
4410         cancellable syscalls.
4411         (SYS_ify): Add guard to no redefine it.
4412         (INLINE_SYSCALL): Likewise.
4413         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
4414         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
4415         SYSCALL_CANCEL instead.
4416         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
4417         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
4418         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
4419         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
4420         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
4421         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
4422         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
4423         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
4424         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
4425         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
4426         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
4427         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
4428         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
4429         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
4430         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
4431         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
4432         Likewise.
4433         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
4434         (__libc_pread64): Likewise.
4435         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
4436         (__libc_preadv): Likewise.
4437         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
4438         (__libc_readv64): Likewise.
4439         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
4440         (__libc_pwrite): Likewise.
4441         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
4442         (__libc_pwrite64): Likewise.
4443         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
4444         (__libc_pwritev): Likewise.
4445         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
4446         (__libc_pwritev64): Likewise.
4447         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
4448         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
4449         (sync_file_range): Likewise.
4450         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
4451         Likewise.
4452         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
4453         Likewise.
4454         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
4455         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
4456         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
4457         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
4458         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
4459         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
4460         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
4461         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
4462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
4463         Likewise.
4464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4465         (__libc_read64): Likewise.
4466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
4467         Likewise.
4468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
4469         Likewise.
4470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
4471         Likewise.
4472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
4473         Likewise.
4474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4475         (__libc_pread64): Likewise.
4476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
4477         Likewise.
4478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4479         (__libc_pwrite64): Likewise.
4480         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
4481         (sync_file_range): Likewise.
4482         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
4483         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
4484         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
4485         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
4486         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
4487         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
4488         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
4489         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
4490         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
4491         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4492         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4493         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
4494         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
4495         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
4496         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
4497         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
4498         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
4499         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
4500         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
4501         Likewise.
4502         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
4503         Likewise.
4504         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
4505         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
4506         Likewise.
4507         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
4508         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
4509         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
4510         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
4511         Likewise.
4512         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
4513         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
4514         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
4515         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
4516         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
4518 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
4520         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
4521         Include dl-vdso.
4522         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
4523         Use VDSO routines for gettimeofday, clock_gettime if
4524         available.
4525         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
4526         Declare VDSO symbols.
4527         * sysdeps/unix/sysv/linux/arm/sysdep.h:
4528         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
4529         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4530         * sysdeps/unix/sysv/linux/arm/Versions: Add
4531         __vdso_clock_gettime.
4533 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4535         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
4536         be an inline implementation regardless of library is built within.
4537         (open_not_cancel_2): Likewise.
4538         (__read_nocancel): Likewise.
4539         (__write_nocancel): Likewise.
4540         (openat_not_cancel): Likewise.
4541         (openat_not_cancel_3): Likewise.
4542         (openat64_not_cancel): Likewise.
4543         (openat64_not_cancel_3): Likewise.
4544         (__close_nocancel): Likewise.
4545         (pause_not_cancel): Likewise.
4546         (nanosleep_not_cancel): Likewise.
4547         (sigsuspend_not_cancel): Likewise.
4549 2015-06-04  Torvald Riegel  <triegel@redhat.com>
4551         [BZ #14958]
4552         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
4553         wake-up.
4554         (__pthread_rwlock_rdlock_slow): Likewise.
4555         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4556         Likewise.
4557         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
4558         Likewise.
4559         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
4560         * nptl/tst-rwlock16.c: New file.
4561         * nptl/Makefile (tests): Add new test.
4563 2015-06-04  Torvald Riegel  <triegel@redhat.com>
4565         [BZ #18324]
4566         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
4567         missing wake-up of readers.
4568         * nptl/tst-rwlock15.c: New file.
4569         * nptl/Makefile (tests): Add new test.
4571 2015-06-03  Roland McGrath  <roland@hack.frob.com>
4573         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
4574         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
4575         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
4576         and __nacl_supply_interface_rtld.
4577         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
4578         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
4579         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
4580         Add __nacl_supply_interface_rtld.
4581         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
4583 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
4585         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
4586         isfinite.
4587         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4588         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
4590 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
4592         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
4593         __signbit* with standard C99 macros.
4594         * math/e_exp10l.c: Likewise.
4595         * math/e_exp2l.c: Likewise.
4596         * math/e_scalb.c: Likewise.
4597         * math/e_scalbf.c: Likewise.
4598         * math/e_scalbl.c: Likewise.
4599         * math/s_ldexp.c: Likewise.
4600         * math/s_ldexpf.c: Likewise.
4601         * math/s_ldexpl.c: Likewise.
4602         * math/w_atan2.c: Likewise.
4603         * math/w_atan2f.c: Likewise.
4604         * math/w_atan2l.c: Likewise.
4605         * math/w_cosh.c: Likewise.
4606         * math/w_coshf.c: Likewise.
4607         * math/w_coshl.c: Likewise.
4608         * math/w_exp10.c: Likewise.
4609         * math/w_exp10f.c: Likewise.
4610         * math/w_exp10l.c: Likewise.
4611         * math/w_exp2.c: Likewise.
4612         * math/w_exp2f.c: Likewise.
4613         * math/w_exp2l.c: Likewise.
4614         * math/w_fmod.c: Likewise.
4615         * math/w_fmodf.c: Likewise.
4616         * math/w_fmodl.c: Likewise.
4617         * math/w_hypot.c: Likewise.
4618         * math/w_hypotf.c: Likewise.
4619         * math/w_hypotl.c: Likewise.
4620         * math/w_jnl.c: Likewise.
4621         * math/w_lgamma.c: Likewise.
4622         * math/w_lgamma_r.c: Likewise.
4623         * math/w_lgammaf.c: Likewise.
4624         * math/w_lgammaf_r.c: Likewise.
4625         * math/w_lgammal.c: Likewise.
4626         * math/w_lgammal_r.c: Likewise.
4627         * math/w_pow.c: Likewise.
4628         * math/w_powf.c: Likewise.
4629         * math/w_powl.c: Likewise.
4630         * math/w_remainder.c: Likewise.
4631         * math/w_remainderf.c: Likewise.
4632         * math/w_remainderl.c: Likewise.
4633         * math/w_scalb.c: Likewise.
4634         * math/w_scalbf.c: Likewise.
4635         * math/w_scalbl.c: Likewise.
4636         * math/w_scalbln.c: Likewise.
4637         * math/w_scalblnf.c: Likewise.
4638         * math/w_scalblnl.c: Likewise.
4639         * math/w_sinh.c: Likewise.
4640         * math/w_sinhf.c: Likewise.
4641         * math/w_sinhl.c: Likewise.
4642         * math/w_tgamma.c: Likewise.
4643         * math/w_tgammaf.c: Likewise.
4644         * math/w_tgammal.c: Likewise.
4645         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4646         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
4647         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4648         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4649         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4650         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4651         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4652         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4653         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4654         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4655         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4656         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4657         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4658         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4659         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4660         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4661         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4662         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4663         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4664         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4665         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4666         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4667         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4668         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4669         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4670         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4671         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
4672         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4673         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4674         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4675         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
4676         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
4677         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
4678         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
4679         * stdio-common/printf_fp.c: Likewise.
4680         * stdio-common/printf_fphex.c: Likewise.
4681         * stdio-common/printf_size.c: Likewise.
4683 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
4685         [BZ #18470]
4686         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
4687         strnlen.
4688         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
4689         Remove variable.
4690         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4691         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4692         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4693         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4694         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4695         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4696         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4697         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4698         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4699         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4701         [BZ #18468]
4702         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
4703         weak alias of __wmemchr.  Use libc_hidden_weak.
4704         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
4705         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
4706         instead of wmemchr.
4708 2015-06-02  Roland McGrath  <roland@hack.frob.com>
4710         [BZ #18383]
4711         * elf/tst-tlsalign-extern.c: New file.
4712         * elf/tst-tlsalign-extern-static.c: New file.
4713         * elf/tst-tlsalign-vars.c: New file.
4714         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
4715         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
4716         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
4717         ($(objpfx)tst-tlsalign-extern-static): Likewise.
4718         (test-xfail-tst-tlsalign-extern-static): New variable.
4720 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
4722         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
4723         Use variable name _sc_err instead of err.
4724         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
4725         instead of ret.
4726         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
4727         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
4728         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
4729         (INLINE_SYSCALL): Likewise.
4731         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
4732         * include/string.h (__strnlen): Use libc_hidden_proto.
4733         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
4734         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
4735         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
4736         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
4737         (libc_hidden_def): Undefine and redefine.
4738         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
4739         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
4740         __GI_strnlen.
4741         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
4742         libc_hidden_def.
4743         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
4745         [BZ #18469]
4746         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
4747         weak alias of __towlower.  Use libc_hidden_weak.
4748         (towupper): Rename to __towupper and define as weak alias of
4749         __towupper.  Use libc_hidden_weak.
4750         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
4751         (__towupper): Likewise.
4752         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
4753         __towlower instead of towlower.
4755 2015-06-02  Roland McGrath  <roland@hack.frob.com>
4757         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
4758         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
4760 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4762         * sysdeps/aarch64/libm-test-ulps: Update.
4764 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4766         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
4767         Define.
4768         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4769         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
4770         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
4771         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4772         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
4773         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
4774         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
4776 2015-06-01  Martin Sebor  <msebor@redhat.com>
4778         [BZ #18116]
4779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
4780         (__setcontext): Use extended four-operand version of mtsf whenever
4781         possible.
4782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
4783         (__novec_swapcontext): Likewise.
4785 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
4787         * benchtests/scripts/compare_bench.py: New file.
4788         * benchtests/scripts/import_bench.py (mean): New function.
4789         (split_list): Likewise.
4790         (do_for_all_timings): Likewise.
4791         (compress_timings): Likewise.
4793         * benchtests/scripts/import_bench.py: New file.
4794         * benchtests/scripts/validate_benchout.py: Import import_bench
4795         instead of jsonschema.
4796         (validate_bench): Remove function.
4797         (main): Use import_bench.
4799 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
4801         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
4802         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
4804 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4806         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4808 2015-05-28  Roland McGrath  <roland@hack.frob.com>
4810         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
4811         set THREAD_SELF->tid to a magic value and futex-wake it.
4812         Pass its address to the thread_exit system call.
4813         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
4814         bit is clear.
4815         * sysdeps/nacl/lowlevellock.h: New file.
4816         * sysdeps/nacl/lll_timedwait_tid.c: New file.
4818         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
4819         Add TIMEOUT to current time, don't subtract it.
4821 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
4823         [BZ #2981]
4824         [BZ #18422]
4825         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
4826         ($(objpfx)tst-audit2.out): Also depend on
4827         $(objpfx)tst-auditmod9b.so.
4828         * elf/tst-audit2.c: Include <dlfcn.h>.
4829         (calloc_called): New.
4830         (calloc): Allow to be called more than once.
4831         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
4833 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
4835         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
4836         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
4838 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
4840         * stdlib/monetary.h: Fix comment.
4842 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
4844         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
4845         Avoid using variables in #defines that might cause shadowing.
4846         (INTERNAL_VSYSCALL_CALL): Likewise.
4848 2015-05-26  Roland McGrath  <roland@hack.frob.com>
4850         * sysdeps/nacl/lll_timedlock_wait.c: New file.
4852         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
4853         * nptl/lll_timedlock_wait.c: ... to this new file.
4854         * nptl/Makefile (libpthread-routines): Add it.
4855         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
4856         * nptl/lll_timedwait_tid.c: ... to this new file.
4857         * nptl/Makefile (libpthread-routines): Add it.
4858         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
4859         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
4860         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
4861         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
4862         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
4863         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
4864         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
4865         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
4866         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
4867         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
4869 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4871         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
4872         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4873         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
4874         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
4875         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
4876         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
4877         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4878         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
4879         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4880         * sysdeps/unix/sysv/linux/tile/sysdep.h
4881         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4882         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
4883         using vDSO syscall macro.
4885 2015-05-26  Andriy Rysin  <arysin@gmail.com>
4887         [BZ #17293]
4888         * uk_UA: Fix sorting order for Ukrainian locale
4890 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
4892         * stdlib/monetary.h: Fix comment.
4894 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4896         [BZ #18234]
4897         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
4898         st_mtim and st_ctim members.
4899         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
4900         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
4901         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
4902         (struct stat64): Likewise.
4903         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
4904         (struct stat64): Likewise.
4905         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
4906         (struct stat64): Likewise.
4908 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4910         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
4911         Define and include sysdep-vdso.h.
4912         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
4913         Likewise.
4914         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
4915         Likewise.
4916         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
4917         Define with VDSO_SYMBOL and use PTR_MANGLE.
4918         (__vdso_clock_gettime): Likewise.
4919         (__vdso_clock_getres): Likewise.
4920         (_libc_vdso_platform_setup): Likewise.
4921         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
4922         Likewise.
4923         (_libc_vdso_platform_setup): Likewise.
4924         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
4925         Likewise.
4926         (__vdso_clock_gettime): Likewise.
4927         (__vdso_clock_getres): Likewise.
4928         (__vdso_get_tbfreq): Likewise.
4929         (__vdso_getcpu): Likewise.
4930         (__vdso_time): Likewise.
4931         (__vdso_sigtramp_rt64): Likewise.
4932         (__vdso_signtramp32): Likewise.
4933         (__vdso_sigtramp_rt32): Likewise.
4934         (_libc_vdso_platform_setup): Likewise.
4935         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
4936         Likewise.
4937         (__vdso_clock_gettime): Likewise.
4938         (__vdso_clock_getres): Likewise.
4939         (_libc_vdso_platform_setup): Likewise.
4940         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
4941         Likewise.
4942         (__vdso_clock_gettime): Likewise.
4943         (_libc_vdso_platform_setup): Likewise.
4944         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
4945         Likewise.
4946         (__vdso_getcpu): Likewise.
4947         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
4948         Use VDSO_SYMBOL macro to define.
4949         (__vdso_clock_gettime): Likewise.
4950         (__vdso_clock_getres): Likewise.
4951         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
4952         Likewise.
4953         (__vdso_clock_gettime): Likewise.
4954         (__vdso_clock_getres): Likewise.
4955         (__vdso_get_tbfreq): Likewise.
4956         (__vdso_getcpu): Likewise.
4957         (__vdso_time): Likewise.
4958         (__vdso_sigtramp_rt64): Likewise.
4959         (__vdso_signtramp32): Likewise.
4960         (__vdso_sigtramp_rt32): Likewise.
4961         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
4962         Likewise.
4963         (__vdso_clock_gettime): Likewise.
4964         (__vdso_clock_getres): Likewise.
4965         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
4966         Likewise.
4967         (__vdso_clock_gettime): Likewise.
4968         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
4969         Likewise.
4970         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
4971         macro.
4972         (INTERNAL_VSYSCALL): Likewise.
4973         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
4974         Remove macro.
4975         (INTERNAL_VSYSCALL): Likewise.
4976         (INTERNAL_VSYSCALL_NCS): Likewise.
4977         (INTERNAL_VSYSCALL_CALL): New macro.
4978         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
4979         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
4980         Likewise.
4981         (INTERNAL_VSYSCALL): Likewise.
4982         (INTERNAL_VSYSCALL_NCS): Likewise.
4983         (INTERNAL_VSYSCALL_CALL): New macro.
4984         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
4985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4986         (INLINE_VSYSCALL): Remove macro.
4987         (INTERNAL_VSYSCALL): Remove macro.
4988         (INTERNAL_VSYSCALL_NCS): Remove macro.
4989         (INTERNAL_VSYSCALL_CALL): New macro.
4990         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
4991         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
4992         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
4993         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
4994         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
4995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4996         (INLINE_VSYSCALL): Remove macro.
4997         (INTERNAL_VSYSCALL): Likewise.
4998         (INTERNAL_VSYSCALL_NCS): Likewise.
4999         (INTERNAL_VSYSCALL_CALL): New macro.
5000         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
5001         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
5002         PTR_DEMANGLE on vDSO pointer.
5003         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
5004         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
5005         macro.
5006         (INTERNAL_SYSCALL): Likewise.
5007         (INTERNAL_VSYSCALL_NCS): Remove macro.
5008         (INTERNAL_VSYSCALL_CALL): New macro.
5009         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
5010         Remove macro.
5011         (INTERNAL_VSYSCALL): Likewise.
5012         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
5013         sysdep-vdso.h instead of libc-vdso.h.
5014         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
5015         definition.
5016         (INLINE_VSYSCALL): Likewise.
5017         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
5018         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
5019         definition.
5020         (INLINE_VSYSCALL): Likewise.
5021         (INTERNAL_VSYSCALL): Likewise.
5022         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
5023         * sysdeps/unix/sysv/linux/timespec_get.c
5024         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
5025         (timespec_get): Use ANSI prototype.
5026         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
5027         and definition for Linux.
5029 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
5031         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
5032         * include/libc-symbols.h: libmvec_hidden_* macro series added.
5034 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
5036         [BZ #2981]
5037         [BZ #18410]
5038         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
5039         for missing DT_PLTRELSZ.
5041 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
5043         Remove obsolete aliases that broke 'locale -a'
5044         [BZ #18412]
5045         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
5046         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
5047         breaking some applications that use 'locale -a' output.
5048         Change the encoding of this file from Latin-1 to ASCII to avoid
5049         other potential problems with people grepping this file.
5051 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5053         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
5054         -fasynchronous-unwind-tables.
5055         (CFLAGS-sendto.c): Likewise.
5056         (CFLAGS-sendmsg.c): Likewise.
5057         (CFLAGS-connect.c): Likewise.
5058         (CFLAGS-recvmsg.c): Likewise.
5059         (CFLAGS-recvfrom.c): Likewise.
5060         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
5061         (SOCKETCALL): New macro: non-cancellable socketcall.
5062         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
5063         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
5064         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
5065         * sysdeps/unix/sysv/linux/accept.c: New file.
5066         * sysdeps/unix/sysv/linux/bind.c: Likewise.
5067         * sysdeps/unix/sysv/linux/connect.c: Likewise.
5068         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
5069         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
5070         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
5071         * sysdeps/unix/sysv/linux/listen.c: Likewise.
5072         * sysdeps/unix/sysv/linux/recv.c: Likewise.
5073         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
5074         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
5075         * sysdeps/unix/sysv/linux/send.c: Likewise.
5076         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
5077         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
5078         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
5079         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
5080         * sysdeps/unix/sysv/linux/socket.c: Likewise.
5081         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
5082         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
5083         prototype.
5084         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
5085         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5086         instead of __internal_xxx function.
5087         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
5088         prototype.
5089         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
5090         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5091         instead of __internal_xxx function.
5092         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
5093         prototype.
5094         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
5095         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5096         instead of __internal_xxx function.
5097         * sysdeps/unix/sysv/linux/accept.S: Remove file.
5098         * sysdeps/unix/sysv/linux/bind.S: Likewise.
5099         * sysdeps/unix/sysv/linux/connect.S: Likewise.
5100         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
5101         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
5102         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
5103         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
5104         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
5105         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
5106         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
5107         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
5108         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5109         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
5110         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
5111         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
5112         * sysdeps/unix/sysv/linux/listen.S: Likewise.
5113         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
5114         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
5115         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
5116         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
5117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
5118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
5119         * sysdeps/unix/sysv/linux/recv.S: Likewise.
5120         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
5121         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
5122         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
5123         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
5124         * sysdeps/unix/sysv/linux/send.S: Likewise.
5125         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
5126         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
5127         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
5128         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
5129         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
5130         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
5131         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
5132         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
5133         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
5134         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
5135         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
5136         socketcall is implemented in GLIBC.
5138 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
5140         * soft-fp/fmadf4.c: Include <libc-internal.h>.
5141         (__fma): Ignore uninitialized warnings around packing.
5142         * soft-fp/fmasf4.c: Include <libc-internal.h>.
5143         (__fmaf): Ignore uninitialized warnings around packing.
5144         * soft-fp/fmatf4.c: Include <libc-internal.h>.
5145         (__fmal): Ignore uninitialized warnings around packing.
5147         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
5148         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
5149         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
5150         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
5152         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
5153         switch statement into default case.
5154         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
5156         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
5157         a conditional in forcing "inexact".
5158         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
5159         Likewise.
5161 2015-05-22  Roland McGrath  <roland@hack.frob.com>
5163         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5164         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
5165         for each INTERNAL_SYSCALL use.
5167 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
5169         [BZ #438]
5170         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
5171         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
5172         variable.
5174         [BZ #18444]
5175         * string/basename.c (basename): Rename to __basename and define as
5176         weak alias of __basename.  Use libc_hidden_weak.
5177         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
5178         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
5179         __basename instead of basename.
5180         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
5181         Remove variable.
5182         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
5184 2015-05-18  Florian Weimer  <fweimer@redhat.com>
5186         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
5187         (_IO_JUMPS_FILE_plus): New.
5188         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
5189         _IO_CAST_FIELD_ACCESS.
5190         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
5191         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
5192         * libio/freopen.c (freopen): Likewise.
5193         * libio/freopen64.c (freopen64): Likewise.
5194         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
5195         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
5196         * libio/iofwide.c (_IO_fwide): Likewise.
5197         * libio/memstream.c (open_memstream): Likewise.
5198         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
5199         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
5200         * libio/oldiopopen.c (_IO_old_popen): Likewise.
5202 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
5204         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
5205         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
5206         NADJ.
5207         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
5208         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
5209         NADJ.
5210         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
5211         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
5212         NADJ.
5214         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
5215         (p == 4) case.
5217         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
5218         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
5219         Remove variable.
5220         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
5221         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
5222         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
5224 2015-05-21  Florian Weimer  <fweimer@redhat.com>
5226         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
5227         Adjust jump table label generation macros.
5229 2015-05-21  Florian Weimer  <fweimer@redhat.com>
5231         * stdio-common/vfprintf.c (vfprintf): Move local variables
5232         args_malloced, specs, specs_malloced, and the code after
5233         do_positional to the printf_positional function.
5234         (printf_positional): New function.
5236 2015-05-21  Florian Weimer  <fweimer@redhat.com>
5238         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
5239         function.
5240         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
5241         STEP4_TABLE, process_arg): Move macro definitions
5242         out of the vfprintf function.  (Cosmetic change only.)
5244 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
5246         * benchtests/Makefile (stdio-common-bench): Define.
5247         (benchset): Add stdio-common-bench.
5248         * sprintf-inputs: New file.
5249         * sprintf-source.c: New file.
5251 2015-05-21  Andreas Schwab  <schwab@suse.de>
5253         [BZ #13028]
5254         [BZ #17053]
5255         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
5256         of struct __res_state.
5257         * resolv/res_send.c (__libc_res_nsend): Likewise.
5258         (get_nsaddr): New function.
5259         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
5260         statp directly.
5262 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
5264         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
5265         -D_POSIX_C_SOURCE=199506L.
5267         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
5269         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
5270         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
5271         Do not mention otherwise.
5272         [POSIX] (_XOPEN_VERSION): Do not expect.
5273         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
5274         [POSIX] (_POSIX2_C_BIND): Likewise.
5275         [POSIX] (_POSIX2_VERSION): Likewise.
5276         [POSIX] (_XOPEN_XPG2): Likewise.
5277         [POSIX] (_XOPEN_XPG3): Likewise.
5278         [POSIX] (_XOPEN_XPG4): Likewise.
5279         [POSIX] (_XOPEN_UNIX): Likewise.
5280         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
5281         [POSIX] (_POSIX_BARRIERS): Likewise.
5282         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
5283         [POSIX] (_POSIX_CPUTIME): Likewise.
5284         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
5285         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
5286         [POSIX] (_POSIX_SHELL): Likewise.
5287         [POSIX] (_POSIX_SPAWN): Likewise.
5288         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
5289         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
5290         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
5291         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
5292         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
5293         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
5294         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
5295         [POSIX] (_XBS5_LP64_OFF64): Likewise.
5296         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
5297         [POSIX] (_POSIX_TIMEOUTS): Likewise.
5298         [POSIX] (_POSIX2_PBS): Likewise.
5299         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
5300         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
5301         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
5302         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
5303         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
5304         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
5305         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
5306         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
5307         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
5308         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
5309         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
5310         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
5311         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
5312         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
5313         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
5314         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
5315         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
5316         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
5317         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
5318         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
5319         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
5320         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
5321         [POSIX] (_SC_2_C_BIND): Likewise.
5322         [POSIX] (_SC_2_C_VERSION): Likewise.
5323         [POSIX] (_SC_2_PBS): Likewise.
5324         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
5325         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
5326         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
5327         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
5328         [POSIX] (_SC_2_PBS_TRACK): Likewise.
5329         [POSIX] (_SC_ATEXIT_MAX): Likewise.
5330         [POSIX] (_SC_BARRIERS): Likewise.
5331         [POSIX] (_SC_BASE): Likewise.
5332         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
5333         [POSIX] (_SC_DEVICE_IO): Likewise.
5334         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
5335         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
5336         [POSIX] (_SC_FD_MGMT): Likewise.
5337         [POSIX] (_SC_FIFO): Likewise.
5338         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
5339         [POSIX] (_SC_FILE_LOCKING): Likewise.
5340         [POSIX] (_SC_FILE_SYSTEM): Likewise.
5341         [POSIX] (_SC_IOV_MAX): Likewise.
5342         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
5343         [POSIX] (_SC_NETWORKING): Likewise.
5344         [POSIX] (_SC_PAGE_SIZE): Likewise.
5345         [POSIX] (_SC_PASS_MAX): Likewise.
5346         [POSIX] (_SC_PIPE): Likewise.
5347         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
5348         [POSIX] (_SC_REGEXP): Likewise.
5349         [POSIX] (_SC_SHELL): Likewise.
5350         [POSIX] (_SC_SIGNALS): Likewise.
5351         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
5352         [POSIX] (_SC_SPIN_LOCKS): Likewise.
5353         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
5354         [POSIX] (_SC_USER_GROUPS): Likewise.
5355         [POSIX] (_SC_USER_GROUPS_R): Likewise.
5356         [POSIX] (_SC_STREAMS): Likewise.
5357         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
5358         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
5359         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
5360         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
5361         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
5362         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
5363         [POSIX] (_PC_FILESIZEBITS): Likewise.
5364         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
5365         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
5366         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
5367         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
5368         [POSIX] (uid_t): Likewise.
5369         [POSIX] (gid_t): Likewise.
5370         [POSIX] (off_t): Likewise.
5371         [POSIX] (pid_t): Likewise.
5372         [POSIX] (cuserid): Allow.
5373         (_SC_2_CHAR_TERM): Require constant.
5374         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
5375         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
5376         variable.
5378 2015-05-20  Roland McGrath  <roland@hack.frob.com>
5380         * sysdeps/nacl/pthread-pids.h: New file.
5381         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
5382         (create_thread): Use __nacl_get_tid to initialize PD->tid.
5384         * nptl/pthread-pids.h: New file.
5385         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
5386         * nptl/nptl-init.c: Include <pthread-pids.h>.
5387         (__pthread_initialize_minimal_internal):
5388         Call __pthread_initialize_pids instead of set_tid_address syscall.
5390         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
5391         * sysdeps/posix/usleep.c: ... here.
5393 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5395         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
5396         call_pselect6 object.
5397         [$(subdir) = io]: Remove call_sync_file_range object.
5398         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
5399         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
5400         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
5401         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
5403 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
5405         * math/s_cproj.c: Add include "math_private.h".
5406         * math/s_cprojf.c: Likewise.
5407         * math/s_cprojl.c: Likewise.
5409 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
5411         [BZ #18244]
5412         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
5413         high mantissa bit when testing whether P is a NaN.
5414         * math/libm-test.inc (remainder_test_data): Add more tests.
5415         (remquo_test_data): Likewise.
5417         [BZ #18049]
5418         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
5419         below -32, return the argument, with underflow if subnormal.
5420         * math/auto-libm-test-in: Add more tests of atanh.
5421         * math/auto-libm-test-out: Regenerated.
5423 2015-05-19  Roland McGrath  <roland@hack.frob.com>
5425         [BZ #18434]
5426         * nptl/tst-sem15.c: New file.
5427         * nptl/Makefile (tests): Add it.
5428         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
5429         s/<</>>/ to fix typo in EOVERFLOW check.
5430         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
5432 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5434         * manual/strings.texi (envz_remove): Fix typo in safety
5435         annotations.
5437 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
5438             Steve Ellcey  <sellcey@imgtec.com>
5440         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
5441         in order to avoid strict alias warnings.
5442         (iruserok_af): Ditto for ra.
5444 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
5446         [BZ #17581]
5447         * malloc/hooks.c
5448         (magicbyte): Convert to a function and avoid returning 0x01.
5449         (mem2mem_check): Avoid using a length byte equal to the magic byte.
5450         (mem2chunk_check): Fix unsigned comparisons to zero.
5451         Hoist defs of sz and magic.
5453 2015-05-19  Richard Henderson  <rth@redhat.com>
5455         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
5457         * sysdeps/alpha/fpu/libm-test-ulps: Update.
5459 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5461         [BZ #16159]
5462         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
5463         * malloc/arena.c (arena_lock): Check if arena is corrupt.
5464         (reused_arena): Find a non-corrupt arena.
5465         (heap_trim): Pass arena to unlink.
5466         * malloc/hooks.c (malloc_check_get_size): Pass arena to
5467         malloc_printerr.
5468         (top_check): Likewise.
5469         (free_check): Likewise.
5470         (realloc_check): Likewise.
5471         * malloc/malloc.c (malloc_printerr): Add arena argument.
5472         (unlink): Likewise.
5473         (munmap_chunk): Adjust.
5474         (ARENA_CORRUPTION_BIT): New macro.
5475         (arena_is_corrupt): Likewise.
5476         (set_arena_corrupt): Likewise.
5477         (sysmalloc): Use mmap if there are no usable arenas.
5478         (_int_malloc): Likewise.
5479         (__libc_malloc): Don't fail if arena_get returns NULL.
5480         (_mid_memalign): Likewise.
5481         (__libc_calloc): Likewise.
5482         (__libc_realloc): Adjust for additional argument to
5483         malloc_printerr.
5484         (_int_free): Likewise.
5485         (malloc_consolidate): Likewise.
5486         (_int_realloc): Likewise.
5487         (_int_memalign): Don't touch corrupt arenas.
5488         * malloc/tst-malloc-backtrace.c: New test case.
5490         * Makefile (summarize-tests): Fix return value on success.
5492         * manual/string.texi (Envz Functions): Add envz_remove.
5494 2015-05-18  Roland McGrath  <roland@hack.frob.com>
5496         * sysdeps/posix/opendir.c: Include <stdbool.h>.
5497         (invalid_name): New function, broken out of ...
5498         (__opendirat): ... here.  Call it.
5499         (need_isdir_precheck): New function, broken out of ...
5500         (__opendirat): ... here.  Call it.
5501         Use __fxstatat64, not __xstatat64.
5502         (opendir_oflags): New function, broken out of ...
5503         (__opendirat): ... here.  Call it.
5504         (opendir_tail): New function, broken out of ...
5505         (__opendirat): ... here.  Call it.
5506         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
5507         opendir_tail, rather than punting to __opendirat.
5508         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
5510 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5512         * .gitignore: Ignore generated *.pyc.
5514 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
5516         * include/stdio.h: Define __need_wint_t.
5517         * test-skeleton.c: Avoid `for' loop initial declaration.
5518         * nptl/tst-initializers1.c: Use test-skeleton.c.
5520 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5522         [BZ #18418]
5523         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
5525 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
5527         [BZ #16352]
5528         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
5529         (__ieee754_atanh): Force underflow exception for results with
5530         small absolute value.
5531         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
5532         (__ieee754_atanhf): Force underflow exception for results with
5533         small absolute value.
5534         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
5535         (__ieee754_atanh): Force underflow exception for results with
5536         small absolute value.
5537         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
5538         (__ieee754_atanhf): Force underflow exception for results with
5539         small absolute value.
5540         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
5541         (__ieee754_atanhl): Force underflow exception for results with
5542         small absolute value.
5543         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
5544         (__ieee754_atanhl): Force underflow exception for results with
5545         small absolute value.
5546         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
5547         (__ieee754_atanhl): Force underflow exception for results with
5548         small absolute value.
5549         * math/auto-libm-test-in: Do not allow missing underflow
5550         exceptions from atanh.
5551         * math/auto-libm-test-out: Regenerated.
5553         [BZ #18221]
5554         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
5555         2**-28 as threshold for returning x or +/- 1/x.
5556         * math/auto-libm-test-in: Add more tests of tan.
5557         * math/auto-libm-test-out: Regenerated.
5559         [BZ #18220]
5560         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5561         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
5562         * math/auto-libm-test-in: Add another test of lgamma.
5563         * math/auto-libm-test-out: Regenerated.
5565 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
5567         * stdio-common/printf_fp.c (___printf_fp): Use abs.
5568         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
5569         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
5570         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
5571         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
5572         (ADD2A): Use fabs.  (SUB2A): Use fabs.
5573         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
5574         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
5575         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
5576         (log1): Use fabs.  (my_log2): Use fabs.
5577         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
5578         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
5579         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
5580         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
5581         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
5582         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
5583         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
5584         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
5585         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
5586         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
5587         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
5589 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
5591         [BZ #18217]
5592         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
5593         as threshold for returning 1 - x.
5594         * math/auto-libm-test-in: Add more tests of erfc.
5595         * math/auto-libm-test-out: Regenerated.
5597 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
5599         [BZ #18196]
5600         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
5601         threshold for large arguments.
5602         * math/auto-libm-test-in: Add another test of atan.
5603         * math/auto-libm-test-out: Regenerated.
5605         [BZ #16339]
5606         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
5607         (__log1p): Force underflow exception for results with small
5608         absolute value.
5609         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
5610         (__log1pf): Force underflow exception for results with small
5611         absolute value.
5612         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
5613         (__log1p): Force underflow exception for results with small
5614         absolute value.
5615         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
5616         (__log1pf): Force underflow exception for results with small
5617         absolute value.
5618         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
5619         (__log1pl): Force underflow exception for results with small
5620         absolute value.
5621         * math/auto-libm-test-in: Do not allow missing underflow
5622         exceptions from log1p.
5623         * math/auto-libm-test-out: Regenerated.
5625 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
5626             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5628         [BZ #16704]
5629         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
5631 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
5633         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
5634         (libmvec): New variable.
5635         * configure.ac: Added option for mathvec build.
5636         * configure: Regenerated.
5637         * mathvec/Depend: New file.
5638         * mathvec/Makefile: New file.
5639         * shlib-versions: Added libmvec.
5640         * math/Makefile: Added rule for libm.so installation.
5642         * bits/math-vector.h: New file.
5643         * bits/libm-simd-decl-stubs.h: New header.
5644         * math/Makefile (headers): Added new header
5645         libm-simd-decl-stubs.h.
5646         * math/math.h (__MATHCALL_VEC): New macro.
5648         * math/gen-libm-have-vector-test.sh: Script generates series of macros
5649         for conditions in testing functions.
5650         * math/Makefile: Added call of libm-have-vector-test.sh.
5651         * math/libm-test.inc (HAVE_VECTOR): New macros.
5653         * math/libm-test.inc: START refactored.
5654         * math/test-double.c (TEST_MATHVEC): Add define.
5655         * math/test-float.c: Likewise.
5656         * math/test-idouble.c: Likewise.
5657         * math/test-ifloat.c: Likewise.
5658         * math/test-ildoubl.c: Likewise.
5659         * math/test-ldouble.c: Likewise.
5660         * sysdeps/generic/math-tests-arch.h
5661         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
5662         architecture check.
5664         * math/test-double.c (FUNC_TEST): New macro.
5665         * math/test-float.c: Likewise.
5666         * math/test-idouble.c: Likewise.
5667         * math/test-ifloat.c: Likewise.
5668         * math/test-ildoubl.c: Likewise.
5669         * math/test-ldouble.c: Likewise.
5670         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
5672 2015-05-13  Roland McGrath  <roland@hack.frob.com>
5674         * sysdeps/nacl/fdopendir.c: New file.
5676         * dirent/scandir-tail.c: New file.
5677         * dirent/scandir64-tail.c: New file.
5678         * dirent/Makefile (routines): Add them.
5679         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
5680         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
5681         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
5682         [!SCANDIR] (SCANDIR_TAIL): New macro.
5683         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
5684         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
5685         (SCANDIRAT): Macro removed.
5686         (SCANDIR_TAIL): New macro.
5687         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
5688         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
5689         (SCANDIRAT): Just call __opendirat and __scandir_tail.
5690         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
5691         (READDIR): Macro removed.
5692         (SCANDIR_TAIL): New macro.
5693         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
5694         (SCANDIR_TAIL): New macro.
5696         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
5697         * dirent/scandir-cancel.c: ... to this new file.
5698         * dirent/Makefile (routines): Add it.
5699         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
5700         * sysdeps/unix/sysv/linux/i386/scandir64.c
5701         (SKIP_SCANDIR_CANCEL): Macro removed.
5702         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
5704         * dirent/tst-scandir.c: New file.
5705         * dirent/tst-scandir64.c: New file.
5706         * dirent/Makefile (tests): Add them.
5708 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
5710         [BZ #18409]
5711         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
5713 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5715         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
5716         list.
5718 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
5720         * benchtests/bench-strcoll.c: New benchmark.
5721         * benchtests/Makefile: Generate locales and run benchmark.
5722         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
5723         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
5724         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
5725         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
5726         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
5727         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
5728         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
5729         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
5730         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
5731         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
5732         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
5733         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
5734         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
5735         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
5736         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
5737         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
5738         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
5739         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
5740         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
5741         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
5742         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
5743         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
5744         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
5745         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
5747 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
5749         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
5750         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5752 2015-05-12  Roland McGrath  <roland@hack.frob.com>
5754         * posix/uname-values.h: New file.
5755         * posix/uname.c: Include that instead of <config-name.h>.
5756         * sysdeps/nacl/uname-values.h: New file.
5757         * sysdeps/arm/nacl/uname-values.h: New file.
5759 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
5761         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
5762         splitting into fields.
5764 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
5766         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
5767         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
5768         * locale/localeinfo.h: Add enum collation_encoding_type.
5769         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
5770         * programs/ld-collate.c (collate_output): Add encoding type info.
5771         * string/strcoll_l.c (STRDIFF): New function.
5772         * (STRCOLL): Use STRDIFF to skip over equal prefix.
5773         * wcsmbs/wcscoll_l.c: Define STRDIFF.
5775 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
5777         [BZ #18397]
5778         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
5779         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
5780         <fpu_control.h> instead of <math/fpu_control.c>.
5781         * sysdeps/mips/mips32/fpu/Makefile: New file.
5783 2015-05-11  Andreas Schwab  <schwab@suse.de>
5785         [BZ #18007]
5786         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
5787         nss_endgrent.
5788         (_nss_compat_endgrent): Call nss_endgrent.
5789         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
5790         nss_endpwent.
5791         (_nss_compat_endpwent): Call nss_endpwent.
5792         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
5793         needent, call nss_setspent only if non-zero.
5794         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
5795         (internal_endspent): Don't call nss_endspent.
5796         (_nss_compat_endspent): Call nss_endspent.
5797         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
5798         Remove.  All uses removed.
5799         (internal_setent): Remove parameter stayopen, add parameter
5800         stream.  Use it instead of global variable.
5801         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
5802         (internal_endent, internal_getent): Add parameter stream.  Use it
5803         instead of global variable.
5804         (CONCAT(_nss_files_end,ENTNAME))
5805         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
5806         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
5807         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
5808         uses removed.
5809         (internal_setent, internal_endent): Add parameter stream.  Use it
5810         instead of global variable.
5811         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
5812         stream.
5813         (get_next_alias): Add parameter stream.
5814         (_nss_files_getaliasent_r): Pass global stream.
5815         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
5816         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
5817         (_nss_files_gethostbyname4_r): Pass local stream to
5818         internal_setent, internal_getent and internal_endent.  Remove
5819         locking.
5821 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5823         * tst-strfmon1.c (tests): Update expected currency symbol.
5825 2015-05-08  Roland McGrath  <roland@hack.frob.com>
5827         * sysdeps/nacl/gethostname.c: New file.
5829 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
5831         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
5832         and sinh.
5833         * math/auto-libm-test-out: Regenerated.
5834         * sysdeps/i386/fpu/libm-test-ulps: Update.
5835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5837 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
5839         [BZ #18125]
5840         * stdlib/tst-setcontext3.c: New file.
5841         * stdlib/tst-setcontext3.sh: New file.
5842         * stdlib/Makefile (tests): Add tst-setcontext3.
5843         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
5844         to verify test program created output file.
5845         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
5846         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
5847         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
5848         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
5850 2015-05-06  Roland McGrath  <roland@hack.frob.com>
5852         [BZ #18383]
5853         * elf/tst-tlsalign.c: New file.
5854         * elf/tst-tlsalign-static.c: New file.
5855         * elf/tst-tlsalign-lib.c: New file.
5856         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
5857         (tests-static): Add tst-tlsalign-static.
5858         (modules-names): Add tst-tlsalign-lib.
5859         (test-xfail-tst-tlsalign): New variable.
5860         (test-xfail-tst-tlsalign-static): New variable.
5862         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
5863         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
5865 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
5867         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
5868         csqrt, erfc, sin and sincos.
5869         * math/auto-libm-test-out: Regenerated.
5870         * sysdeps/i386/fpu/libm-test-ulps: Update.
5871         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5873 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5875         * sysdeps/aarch64/libm-test-ulps: Update.
5877 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
5879         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
5880         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
5881         * math/auto-libm-test-out: Regenerated.
5882         * sysdeps/i386/fpu/libm-test-ulps: Update.
5883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5885 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
5887         [BZ #18265]
5888         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
5889         (wcsncpy): Likewise.
5891 2015-05-05  Florian Weimer  <fweimer@redhat.com>
5893         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
5894         Assume __ASSUME_FALLOCATE is always true.
5895         * sysdeps/unix/sysv/linux/posix_fallocate64.c
5896         (__posix_fallocate64_l64): Likweise.
5897         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
5898         (posix_fallocate): Likewise.
5899         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
5900         (__posix_fallocate64_l64): Likewise.
5901         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5902         [!__ASSUME_FALLOCATE]: Add comment.
5904 2015-05-05  Florian Weimer  <fweimer@redhat.com>
5906         * sysdeps/unix/sysv/linux/i386/Makefile
5907         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
5908         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
5909         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
5910         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
5911         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
5912         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
5913         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
5915 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
5917         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
5918         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
5919         tgamma.
5920         * math/auto-libm-test-out: Regenerated.
5921         * sysdeps/i386/fpu/libm-test-ulps: Update.
5922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5924 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
5926         * math/auto-libm-test-in: Add more tests of tgamma.
5927         * math/auto-libm-test-out: Regenerated.
5928         * sysdeps/i386/fpu/libm-test-ulps: Update.
5929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5931         * math/auto-libm-test-in: Add more tests of tanh.
5932         * math/auto-libm-test-out: Regenerated.
5933         * sysdeps/i386/fpu/libm-test-ulps: Update.
5934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5936         * math/auto-libm-test-in: Add more tests of tan.
5937         * math/auto-libm-test-out: Regenerated.
5938         * sysdeps/i386/fpu/libm-test-ulps: Update.
5939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5941         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
5942         * math/auto-libm-test-out: Regenerated.
5943         * sysdeps/i386/fpu/libm-test-ulps: Update.
5944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5946         * math/auto-libm-test-in: Add another test of pow.
5947         * math/auto-libm-test-out: Regenerated.
5948         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5950         * math/auto-libm-test-in: Add more tests of lgamma.
5951         * math/auto-libm-test-out: Regenerated.
5952         * sysdeps/i386/fpu/libm-test-ulps: Update.
5953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5955         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
5956         log1p.
5957         * math/auto-libm-test-out: Regenerated.
5958         * sysdeps/i386/fpu/libm-test-ulps: Update.
5959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5961 2015-05-01  Mark Wielaard  <mjw@redhat.com>
5963         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
5964         Elf64_Chdr structs and ELFCOMPRESS constants.
5966 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
5968         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
5969         expm1.
5970         * math/auto-libm-test-out: Regenerated.
5971         * sysdeps/i386/fpu/libm-test-ulps: Update.
5972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5974         * math/auto-libm-test-in: Add more tests of erf and erfc.
5975         * math/auto-libm-test-out: Regenerated.
5976         * sysdeps/i386/fpu/libm-test-ulps: Update.
5977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5979 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5981         * config.h.in (HAVE_AARCH64_BE): Add.
5983 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
5985         * math/auto-libm-test-in: Add more tests of csqrt.
5986         * math/auto-libm-test-out: Regenerated.
5987         * sysdeps/i386/fpu/libm-test-ulps: Update.
5988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5990         * math/auto-libm-test-in: Add more tests of cosh and sinh.
5991         * math/auto-libm-test-out: Regenerated.
5992         * sysdeps/i386/fpu/libm-test-ulps: Update.
5993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5995         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
5997 2015-04-29  Roland McGrath  <roland@hack.frob.com>
5999         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
6000         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
6002         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
6003         (euidaccess, eaccess): Define as weak aliases.
6005         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
6006         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
6007         but __suseconds_t is often 'long int' so some sources assume that
6008         type is being used (e.g. they use %ld to print tv_usec).
6010 2015-04-29  Florian Weimer  <fweimer@redhat.com>
6012         [BZ #18007]
6013         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
6014         (CVE-2014-8121)
6015         * nss/tst-nss-getpwent.c: New file.
6016         * nss/Makefile (tests): Add new test.
6018 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
6020         [BZ #18346]
6021         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
6022         exponents less than 48 as cases where high part of mantissa needs
6023         examining to determine whether argument is integral.
6024         * math/libm-test.inc (round_test_data): Add more tests.
6026 2015-04-28  Mark Wielaard  <mjw@redhat.com>
6028         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
6030 2015-04-27  David S. Miller  <davem@davemloft.net>
6032         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
6033         __tls_get_addr.
6034         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
6036 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
6038         [BZ#18333]
6039         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
6041 2015-04-27  Florian Weimer  <fweimer@redhat.com>
6043         [BZ#18333]
6044         * time/tzset.c (parse_tzname): Return error on memory allocation
6045         failure.
6046         * test-skeleton.c (struct temp_name_list): Change type of name
6047         member to non-const.
6048         (add_temp_file): Create a copy of the file name.
6049         (delete_temp_files): Deallocate memory.
6050         (create_temp_file): Add comment.
6052 2015-04-24  Florian Weimer  <fweimer@redhat.com>
6054         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
6055         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
6057 2015-04-24  Roland McGrath  <roland@hack.frob.com>
6059         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
6060         * sysdeps/arm/configure: Regenerated.
6062 2015-04-24  Florian Weimer  <fweimer@redhat.com>
6064         [BZ #17715]
6065         * time/tzfile.c (__tzfile_read): Check for large values of
6066         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
6067         * time/tzset.c (__tzstring_len): New function, based on the old
6068         __tzstring function.
6069         (__tzstring): Call __tzstring_len.
6070         (parse_tzname): New helper function extracted from
6071         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
6072         the input string.
6073         (parse_offset): New helper function extracted from
6074         __tzset_parse_tz.  Replace switch with fallthrough with
6075         initialization before sscanf.
6076         (parse_rule): Likewise.
6077         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
6078         new-style function definition.
6079         * timezone/Makefile (tests): Add tst-tzset.
6080         (tst-tzset.out): Dependencies on time zone files.
6081         (tst-tzset-ENV): Set TZDIR.
6082         (testdata/XT%): Copy crafted time zone files.
6083         * timezone/README: Mention crafted time zone files.
6084         * timezone/testdata/XT1, timezone/testdata/XT2,
6085         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
6086         files.
6087         * timezone/tst-tzset.c: New test.
6089 2015-04-24  Florian Weimer  <fweimer@redhat.com>
6091         * Makeconfig (+gccwarn): Remove -Winline.
6093 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6095         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
6097 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6099         * NEWS: Mention sysconf() cache information support for s390.
6100         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
6102 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
6104         * math/k_casinh.c (__kernel_casinh): Use __copysign.
6105         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
6106         (__nearbyint): Likewise.
6107         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
6108         (copysignl): Likewise.
6110 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
6112         [BZ #18287]
6113         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
6114         based on padding.  (CVE-2015-1781)
6116 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6118         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
6119         libc-vdso.h.
6120         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
6121         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
6122         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
6123         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
6124         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
6125         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
6126         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
6127         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
6128         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
6129         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
6130         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
6131         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
6132         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
6133         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
6134         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
6135         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
6136         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
6137         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
6138         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
6139         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
6140         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
6141         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
6142         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
6144 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
6146         * stdlib/setenv.c (__add_to_environ):
6147         Dump core quickly if setenv (..., NULL, ...) is called.
6148         This time, do it the right way, and pacify GCC with a pragma.
6150 2015-04-17  Roland McGrath  <roland@hack.frob.com>
6152         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
6153         IMAP->l_prev cannot be null, and #if out the code for the contrary
6154         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
6155         believe that NS (&_dl_ns[NSID]) could point outside the array.
6157         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
6158         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
6159         before using NSID as an index.
6161 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
6163         [BZ #17825]
6164         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
6165         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
6166         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6168 2015-04-17  Roland McGrath  <roland@hack.frob.com>
6170         Add preliminary port to Google Native Client on ARM.
6171         * abi-tags (.*-.*-nacl.*): New entry.
6172         * sysdeps/arm/nacl: New directory.
6173         * sysdeps/nacl: New directory.
6175 2015-04-16  David S. Miller  <davem@davemloft.net>
6177         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
6178         lowlevellock-futex.h
6180 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
6182         * sysdeps/tile/configure.ac: New file.
6183         * sysdeps/tile/configure: Regenerated.
6185 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6187         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
6188         conditionals for weak_alias and libc_hidden_weak.
6189         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
6190         libc_hidden_weak and weak_alias.
6191         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
6192         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
6193         and weak_alias for static one.
6195 2015-04-15  David S. Miller  <davem@davemloft.net>
6197         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6199 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
6201         [BZ #18206]
6202         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
6203           Use signed comparision instead of substraction to avoid
6204           overflow bug.
6205         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
6206           Take the sign of ret.
6207         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
6208           Do not expect precise return values. Only the sign matters.
6209         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
6210         * wcsmbs/test-wcsncmp.c: New File.
6211         * string/test-strncmp.c: Add wcsncmp support.
6213 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
6215         [BZ #6792]
6216         * math/w_log1p.c: New file.
6217         * math/w_log1pf.c: Likewise.
6218         * math/w_log1pl.c: Likewise.
6219         * math/Makefile (libm-calls): Add w_log1p.
6220         * math/s_log1pl.c (log1pl): Remove weak_alias.
6221         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
6222         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
6223         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
6224         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
6225         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
6226         [NO_LONG_DOUBLE] (log1pl): Likewise.
6227         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
6228         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
6229         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
6230         (log1p): Remove long_double_symbol.
6231         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
6232         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
6233         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
6234         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
6235         remove weak_alias for corresponding log1p function.
6236         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
6237         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
6238         * sysdeps/ia64/fpu/w_log1p.c: New file.
6239         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
6240         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
6241         * math/libm-test.inc (log1p_test_data): Add errno expectations.
6243 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
6245         [BZ #18247]
6246         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
6247         decimal exponent by 1.
6248         * stdlib/tst-strtod-round-data: Add more tests.
6249         * stdlib/tst-strtod-round.c (tests): Regenerated.
6251 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
6253         * math/auto-libm-test-in: Add more tests of clog and clog10.
6254         * math/auto-libm-test-out: Regenerated.
6255         * sysdeps/i386/fpu/libm-test-ulps: Update.
6256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6258 2015-04-09  Roland McGrath  <roland@hack.frob.com>
6260         * Makeconfig (module-cppflags): Exclude all .v.i files.
6261         (skip-module-cppflags): Variable removed.
6263         * configure.ac (libc_config_ok): Initialize before reading
6264         preconfigure scripts, not after.
6265         * configure: Regenerated.
6267         * test-skeleton.c (TIMEOUT): Move #define to top level.
6268         (main): Grok environment variable TEST_DIRECT.  If set, print
6269         test expectation details into that file and then behave as if
6270         given --direct.
6272 2015-04-09  Florian Weimer  <fweimer@redhat.com>
6274         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
6275         warning on 32-bit.
6277 2015-04-08  David S. Miller  <davem@davemloft.net>
6279         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6281 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
6283         * math/auto-libm-test-in: Add more tests of atanh.
6284         * math/auto-libm-test-out: Regenerated.
6285         * sysdeps/i386/fpu/libm-test-ulps: Update.
6286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6288         * math/auto-libm-test-in: Add more tests of atan.
6289         * math/auto-libm-test-out: Regenerated.
6290         * sysdeps/i386/fpu/libm-test-ulps: Update.
6291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6293 2015-04-08  Florian Weimer  <fweimer@redhat.com>
6295         * elf/pldd.c (main): Rewrite to use struct
6296         scratch_buffer instead of extend_alloca.
6297         * elf/pldd-xx.c (find_maps): Likewise.
6298         * grp/initgroups.c: Include <scratch_buffer.h> instead of
6299         <alloca.h>.
6300         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
6301         scratch_buffer instead of extend_alloca.
6302         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
6303         grp/compat-initgroups.c.
6304         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
6305         Rewrite to use struct scratch_buffer instead of extend_alloca.
6306         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
6307         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6309 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
6311         * math/auto-libm-test-in: Add more tests of cbrt.
6312         * math/auto-libm-test-out: Regenerated.
6313         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6315         * math/auto-libm-test-in: Add more tests of cabs.
6316         * math/auto-libm-test-out: Regenerated.
6317         * sysdeps/i386/fpu/libm-test-ulps: Update.
6318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6320         [BZ #18210]
6321         [BZ #18211]
6322         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
6323         (__ieee754_atan2): Set FE_TONEAREST mode for internal
6324         computations.
6325         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
6326         clog10.
6327         * math/auto-libm-test-out: Regenerated.
6328         * sysdeps/i386/fpu/libm-test-ulps: Update.
6329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6331         [BZ #18197]
6332         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
6333         (atan): Set FE_TONEAREST mode for internal computations.
6334         * math/auto-libm-test-in: Add more tests of atan.
6335         * math/auto-libm-test-out: Regenerated.
6337 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
6339         [BZ #17930]
6340         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
6342 2015-04-07  Florian Weimer  <fweimer@redhat.com>
6344         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
6346 2015-04-07  Florian Weimer  <fweimer@redhat.com>
6348         * include/scratch_buffer.h: New file.
6349         * malloc/scratch_buffer_grow.c: Likewise.
6350         * malloc/scratch_buffer_grow_preserve.c: Likewise.
6351         * malloc/scratch_buffer_set_array_size.c: Likewise.
6352         * malloc/tst-scratch_buffer.c: Likewise.
6353         * malloc/Makefile (routines): Add scratch_buffer_grow.
6354         (tests): Add test case.
6355         * malloc/Versions (GLIBC_PRIVATE): Export
6356         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
6357         __libc_scratch_buffer_set_array_size.
6359 2015-04-06  Richard Henderson  <rth@redhat.com>
6361         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
6362         * sysdeps/alpha/fpu/libm-test-ulps: Update.
6364         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
6365         unsigned int before printing.
6367 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6369         [BZ #17596]
6370         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
6371         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6373 2015-04-02  Florian Weimer  <fweimer@redhat.com>
6375         * include/libc-internal.h (libc_max_align_t): Define.
6377 2015-04-02  Andreas Schwab  <schwab@suse.de>
6379         [BZ #16850]
6380         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
6382 2015-04-02  Mel Gorman  <mgorman@suse.de>
6384         [BZ #17195]
6385         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
6386         as well as the main arena.
6388 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
6390         [BZ #18185]
6391         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
6392         sharing L2 cache to 2 for Silvermont/Knights Landing.
6394 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
6396         [BZ #17711]
6397         * config.make.in (have-protected-data): New.
6398         * configure.ac: Check linker support for protected data symbol.
6399         * configure: Regenerated.
6400         * elf/Makefile (modules-names): Add tst-protected1moda and
6401         tst-protected1modb if $(have-protected-data) is yes.
6402         (tests): Add tst-protected1a and tst-protected1b if
6403         $(have-protected-data) is yes.
6404         ($(objpfx)tst-protected1a): New.
6405         ($(objpfx)tst-protected1b): Likewise.
6406         (tst-protected1modb.so-no-z-defs): Likewise.
6407         * elf/tst-protected1a.c: New file.
6408         * elf/tst-protected1b.c: Likewise.
6409         * elf/tst-protected1mod.h: Likewise.
6410         * elf/tst-protected1moda.c: Likewise.
6411         * elf/tst-protected1modb.c: Likewise.
6413 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
6415         [BZ #17711]
6416         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
6417         indicates it is called from do_lookup_x on relocation against
6418         protected data, skip the data definion in the executable from
6419         copy reloc.
6420         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
6421         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
6422         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
6423         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
6424         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
6425         otherwise to 0.
6426         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
6427         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
6428         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
6429         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
6430         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
6431         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
6433 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
6435         * sysdeps/nptl/pthread.h: Remove duplicate definition of
6436         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
6438 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
6440         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
6441         THREAD_SETMEM_NC.
6442         * sysdeps/x86_64/nptl/tls.h: Ditto.
6444 2015-03-27  Roland McGrath  <roland@hack.frob.com>
6446         * dlfcn/tststatic.c (main): Converted to ...
6447         (do_test): ... this.
6448         (TEST_FUNCTION): New macro.
6449         Include test-skeleton.c.
6451 2015-03-26  Alan Modra  <amodra@gmail.com>
6453         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
6454         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
6455         zero for undefined weak.
6456         (elf_machine_plt_conflict): Similarly.
6458 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
6460         * math/auto-libm-test-in: Add more tests of acosh, asinh and
6461         atanh.
6462         * math/auto-libm-test-out: Regenerated.
6463         * sysdeps/i386/fpu/libm-test-ulps: Update.
6464         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6466         * math/auto-libm-test-in: Add another test of asin.
6467         * math/auto-libm-test-out: Regenerated.
6468         * sysdeps/i386/fpu/libm-test-ulps: Update.
6469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6471         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
6472         Remove macro.
6473         (LLL_EBX_REG): Likewise.
6474         (LLL_ENTER_KERNEL): Likewise.
6476         * math/auto-libm-test-in: Add more tests of asin.
6477         * math/auto-libm-test-out: Regenerated.
6478         * sysdeps/i386/fpu/libm-test-ulps: Update.
6479         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6481         [BZ #18138]
6482         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
6483         libc_do_syscall_args): New structure.
6484         (INTERNAL_SYSCALL_MAIN_0): New macro.
6485         (INTERNAL_SYSCALL_MAIN_1): Likewise.
6486         (INTERNAL_SYSCALL_MAIN_2): Likewise.
6487         (INTERNAL_SYSCALL_MAIN_3): Likewise.
6488         (INTERNAL_SYSCALL_MAIN_4): Likewise.
6489         (INTERNAL_SYSCALL_MAIN_5): Likewise.
6490         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
6491         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
6492         Replace conditional definitions by conditional definitions of ....
6493         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
6494         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
6495         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
6496         (libpthread-sysdep_routines): Add libc-do-syscall.
6497         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
6498         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
6499         to __NR_futex not 240.
6501 2015-03-25  Alan Modra  <amodra@gmail.com>
6503         * NEWS: Advertise TLS optimization.
6504         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
6505         (DT_PPC_NUM): Increment.
6506         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
6507         (CHECK_STATIC_TLS): Use here.
6508         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
6509         TLS descriptors.
6510         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6511         * sysdeps/powerpc/dl-tls.c: New file.
6512         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
6513         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
6514         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
6515         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
6516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
6517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
6518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
6520 2015-03-25  Alan Modra  <amodra@gmail.com>
6522         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
6523         for overlapping .opd entries" to "support...".
6524         * sysdeps/powerpc/powerpc64/configure: Regenerate
6526 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
6528         * math/auto-libm-test-in: Add more tests of acos.
6529         * math/auto-libm-test-out: Regenerated.
6530         * sysdeps/i386/fpu/libm-test-ulps: Update.
6531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6533         * math/auto-libm-test-in: Add more tests of expm1.
6534         * math/auto-libm-test-out: Regenerated.
6535         * sysdeps/i386/fpu/libm-test-ulps: Update.
6536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6538 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
6540         * math/auto-libm-test-in: Add more tests of cosh and sinh.
6541         * math/auto-libm-test-out: Regenerated.
6542         * sysdeps/i386/fpu/libm-test-ulps: Update.
6543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6545         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6548         * math/auto-libm-test-in: Add more tests of log2.
6549         * math/auto-libm-test-out: Regenerated.
6550         * sysdeps/i386/fpu/libm-test-ulps: Update.
6551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6553 2015-03-23  Roland McGrath  <roland@hack.frob.com>
6555         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
6556         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
6557         _IO_IS_APPENDING bit in READ_WRITE instead.
6559 2015-03-23  Florian Weimer  <fweimer@redhat.com>
6561         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
6562         (__determine_cpumask_size): Replace extend_alloca with a
6563         variable-length array.  Do not treat res == 0 as an error.
6565 2015-03-23  Florian Weimer  <fweimer@redhat.com>
6567         [BZ #18100]
6568         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
6569         and integer overflow.
6570         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
6571         (main): Add integer overflow tests.
6572         * manual/pattern.texi (Calling Wordexp): Document additional use
6573         for WRDE_SYNTAX.
6575 2015-03-23  Alan Modra  <amodra@gmail.com>
6577         * config.h.in: Remove HAVE_ASM_PPC_REL16.
6578         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
6579         and false branch of conditional.
6580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6581         Likewise.
6583 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
6585         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
6586         libc-modules.h
6587         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
6588         unused declaration of _hurd_intr_rpc_msg_in_trap.
6589         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
6590         defined instead of whether it is non-zero.
6591         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
6592         input constraint instead of both input and output constraint.  Use ecx
6593         clobber instead of %ecx.
6594         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
6595         mutex_unlock): Use a statement expression instead of an expression list.
6596         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
6597         type to vm_size_t instead of vm_address_t.
6598         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
6599         defined instead of whether it is non-zero.
6600         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
6601         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
6602         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
6603         comparisons with mapaddr.
6604         * nscd/nscd-client.h: Include <time.h>.
6605         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
6606         9th parameter to __vm_region instead of int.
6607         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
6608         * scripts/check-local-headers.sh (exclude): Add device/,
6609         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
6610         cthreads.h.
6612 2015-03-19  Roland McGrath  <roland@hack.frob.com>
6614         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
6615         to account for alignment padding.
6616         * sysdeps/arm/memmove.S: Likewise.
6618 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
6620         * sysdeps/unix/sysv/linux/generic/README: New file.
6622 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
6624         [BZ #18138]
6625         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
6626         (futex_abstimed_wait)
6627         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
6628         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
6629         of lll_futex_timed_wait.
6631 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
6633         [BZ #17542]
6634         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
6636 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
6638         [BZ #17090]
6639         [BZ #17620]
6640         [BZ #17621]
6641         [BZ #17628]
6642         * NEWS: Update.
6643         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
6644         entries with Static TLS too.  Skip entries past the end of the
6645         allocated DTV, from Alan Modra.
6646         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
6647         Static TLS DTV entry set up from...
6648         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
6649         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
6650         * nptl/allocatestack.c (init_one_static_tls): ... and here...
6651         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
6652         for Static TLS.
6653         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
6654         that the slot we find is associated with the given map before
6655         using its generation count.
6656         * nptl_db/db_info.c: Include ldsodefs.h.
6657         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
6658         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
6659         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
6660         (link_map::l_tls_offset): New struct field.
6661         (dtv_t::counter): Likewise.
6662         (rtld_global): New struct.
6663         (_rtld_global): New rtld variable.
6664         (dl_tls_dtv_slotinfo_list): New rtld global field.
6665         (dtv_slotinfo_list): New struct.
6666         (dtv_slotinfo): Likewise.
6667         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
6668         (td_lookup): Rename to...
6669         (td_mod_lookup): ... this.  Use new mod parameter instead of
6670         LIBPTHREAD_SO.
6671         * nptl_db/td_thr_tlsbase.c: Include link.h.
6672         (dtv_slotinfo_list, dtv_slotinfo): New functions.
6673         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
6674         addresses even if the DTV is out of date or missing them.
6675         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
6676         index zero-length arrays.
6677         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
6678         (td_lookup): Make it a macro implemented in terms of...
6679         (td_mod_lookup): ... this declaration.
6680         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
6681         (DB_MAIN_VARIABLE): Likewise.
6683 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6685         [BZ #18134]
6686         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
6688 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
6690         * stdlib/setenv.c (__add_to_environ): Revert previous change.
6692 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
6694         [BZ #18128]
6695         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
6696         (atomic_add, atomic_increment_and_test)
6697         (atomic_decrement_and_test): Fix 64-bit arithmetic.
6699 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
6701         * stdlib/setenv.c (__add_to_environ):
6702         Dump core quickly if setenv (..., NULL, ...) is called.
6704 2015-03-13  Roland McGrath  <roland@hack.frob.com>
6706         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
6707         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
6708         all the necessary asm magic in one place.
6709         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
6710         using those.
6712 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
6714         [BZ #14906]
6715         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
6716         traced file mtime. Use consistent log message.
6717         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
6718         (register_traced_file): Call install_watches. Always set mtime.
6719         (invalidate_cache): Iterate over all trace files. Call install_watches.
6720         (inotify_check_files): Don't inline. Handle watching parent
6721         directories and configuration file movement in and out.
6722         (handle_inotify_events): New function.
6723         (main_loop_poll): Call handle_inotify_events.
6724         (main_loop_epoll): Likewise.
6725         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
6726         (struct traced_file): Use array of inotify fds. Add parent directory,
6727         and basename.
6728         (struct database_dyn): Remove unused file_mtime.
6729         (init_traced_file): New inline function.
6730         (define_traced_file): New macro.
6731         * nss/nss_db/db-init.c: Use define_traced_file.
6732         (_nss_db_init): Use init_traced_file.
6733         * nss/nss_files/files-init.c: Use define_traced_file.
6734         (_nss_files_init): Use init_traced_file.
6736 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
6738         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
6739         [_LIBC]: Do not include <stdlib.h>.
6740         [!_LIBC] (abort): Remove declaration.
6741         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
6742         _FP_STATIC_ASSERT instead of conditionally calling abort.
6743         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
6744         (_FP_EXTEND_CNAN): Likewise.
6745         (FP_TRUNC): Likewise.
6746         (__FP_CLZ): Likewise.
6747         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
6749 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
6751         * manual/string.texi (XPG basename): Fix prototype.
6753 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6755         [BZ #18080]
6756         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
6757         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
6758         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
6759         (__setcontext): Likewise.
6760         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
6761         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
6762         Call rt_sigprocmask syscall one time to set new signal mask
6763         and retrieve the current signal mask instead of two calls.
6764         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
6765         (__swapcontext): Likewise.
6766         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
6767         * stdlib/tst-setcontext2.c: New file.
6769 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6771         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6773 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
6775         [BZ #18093]
6776         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
6777         the wrong size.
6779 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
6781         [BZ #18043]
6782         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
6784 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6786         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
6787         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
6788         Remove define.
6789         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
6790         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
6791         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
6792         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
6793         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
6794         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
6795         define.
6796         * nptl_db/td_symbol_list.c (td_lookup): Remove
6797         HAVE_ASM_GLOBAL_DOT_NAME code.
6798         * sysdeps/powerpc/powerpc64/configure.ac: Remove
6799         HAVE_ASM_GLOBAL_DOT_NAME check.
6800         * sysdeps/powerpc/powerpc64/configure: Regenerate.
6801         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
6802         (DOT_LABEL): Remove define.
6803         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
6804         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
6805         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
6806         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
6807         (__TLS_GET_ADDR): Likewise.
6808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
6809         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
6811 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
6813         [BZ #18111]
6814         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
6815         (_FPU_SETCW): Initialize cw from fpsr before storing.
6816         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
6817         (fesetexceptflag): Rewrite using fpu_control.h.
6818         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
6820 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
6822         [BZ #18110]
6823         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
6824         asms.
6825         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
6827 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
6829         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
6830         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
6831         abort.
6832         (_FP_FMA): Likewise.
6833         (_FP_DIV): Likewise.
6835 2015-03-10  Roland McGrath  <roland@hack.frob.com>
6837         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
6838         with 0 in that case.
6839         * Makefile (summarize-tests): New canned sequence, factored out of
6840         commands for targets tests and xtests.  Display summary lines that
6841         don't start with PASS: or XFAIL: rather than ones that do start with
6842         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
6843         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
6844         do start with ERROR: or FAIL:.
6845         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
6846         (except for [$(build-shared) = yes]).
6847         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
6848         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
6849         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
6850         * nptl/Makefile: Revert 2015-03-04 changes.
6851         [$(CXX) empty] (tests-unsupported): New variable.
6852         * debug/Makefile: Likewise.
6854         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
6855         gnulib file.  Replace __attribute with __attribute__ throughout.
6857 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
6859         * sysdeps/hppa/fpu/libm-test-ulps: Update.
6861 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
6863         [BZ #18104]
6864         * math/auto-libm-test-in: Add another test of pow.
6865         * math/auto-libm-test-out: Regenerated.
6867 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6869         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
6870         $(config-cflags-nofma).
6872 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
6874         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
6875         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
6876         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
6877         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
6878         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
6879         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
6880         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
6881         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
6882         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
6883         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
6884         Add comment on closing #endif.
6886 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6888         * posix/wordexp.c (CHAR_IN_SET): New macro.
6889         (parse_param): Use it.
6891 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6893         * sysdeps/powerpc/fpu/libm-test-ulps: update.
6895 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6897         [BZ #18043]
6898         * posix/wordexp.c (parse_param): Fix buffer overflow.
6899         * posix/wordexp-test.c (test_case): Add test case.
6901 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6903         [BZ #18042]
6904         * posix/wordexp.c (parse_backtick): Fix off-by-one.
6905         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
6907 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6909         [BZ #18043]
6910         * posix/wordexp-test.c (test_case): Add test for BZ #18043
6911         (do_bz18043): Delete.
6912         (at_page_end): New.
6913         (testit): Refactor to have words at the edge of unreadable page.
6915 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
6917         [BZ #16734]
6918         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
6919         Cleanup read-only streams as well.
6920         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
6922 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6924         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
6925         <bits/libc-lockP.h>
6927 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
6929         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
6930         on [__KERNEL__].
6931         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
6932         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
6933         * soft-fp/op-common.h (_FP_DECL): Likewise.
6935 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
6937         * elf/ifuncdep2.c (global): Replace
6938         __attribute__((visibility("protected"))) with
6939         asm (".protected global").
6940         * elf/ifuncmod1.c (global): Likewise.
6941         * elf/ifuncmod5.c (global): Likewise.
6943 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
6945         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
6946         <asm/sfp-machine.h> instead of <sfp-machine.h>.
6948 2015-03-06  Roland McGrath  <roland@hack.frob.com>
6950         * manual/install.texi (Configuring and compiling):
6951         Document test-wrapper-env-only.
6952         * INSTALL: Regenerated.
6954 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
6956         [BZ #18043]
6957         * posix/wordexp.c (parse_param): Fix buffer overflow.
6958         * posix/wordexp-test.c (do_bz18043): Add test case.
6960 2015-03-06  Vincent Bernat  <vincent@bernat.im>
6962         * time/tst-strptime2.c (do_test): Ensure failing tests are
6963         reported correctly.
6964         * time/tst-strptime3.c (do_test): Likewise.
6966 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
6968         Fix aio_error thread-safety.
6969         * sysdeps/pthread/aio_error.c: New file
6970         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
6971         synchronization.
6973 2015-03-06  Florian Weimer  <fweimer@redhat.com>
6975         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
6976         (group_number, vfprintf): Use it.
6977         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
6978         (JUMP, REF): Use it.
6979         (WORK_BUFFER_SIZE): New enum constant.
6980         (process_arg, vfprintf): Use it.
6982 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
6984         * manual/errno.texi (Error Messages): Complete example function
6985         by adding missing #define.
6986         (program_invocation_name): Add statement indicating GNU
6987         extension and reference which header file declares the variable.
6988         (program_invocation_short_name): Likewise.
6990 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
6992         * manual/errno.texi (Error Messages): Delete strerror ISO C89
6993         compatibility note.
6995 2015-03-05  Roland McGrath  <roland@hack.frob.com>
6997         * Makeconfig (test-wrapper-env-only): New variable.
6998         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
6999         then use that with $(test-wrapper-env-only) rather than using
7000         $(test-wrapper-env) $(run-program-env) $($*-ENV).
7002 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
7004         [BZ #18082]
7005         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
7006         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
7007         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
7008         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
7009         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
7010         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
7011         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
7012         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
7013         Likewise.
7014         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
7015         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
7016         Likewise.
7017         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
7018         Likewise.
7019         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
7020         Likewise.
7021         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
7022         Likewise.
7023         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
7024         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
7025         Likewise.
7026         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
7027         Likewise.
7028         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
7029         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
7031 2015-03-04  Roland McGrath  <roland@hack.frob.com>
7033         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
7034         (ETH_ALEN): New macro.
7035         (struct ether_addr): Use it for length of ether_addr_octet.
7037         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
7038         (setdb): Don't call __nss_configure_lookup for "rpc".
7039         (do_test): Don't call test_rpc.
7040         (output_rpcent, test_rpc): Functions moved ...
7041         * sunrpc/test-rpcent.c: ... to this new file.
7042         * sunrpc/Makefile (tests): Add it.
7044         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
7045         __xpg_sigpause.
7046         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
7047         * nptl/tst-signal6.c: Likewise.
7048         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
7049         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
7051         * configure.ac (libc_cv_cxx_link_ok): New check.
7052         Reset CXX to empty if it fails to link.
7053         * configure: Regenerated.
7054         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
7055         bug-atexit3-lib only if $(CXX) is nonempty.
7056         * nptl/Makefile (tests): Likewise for tst-cancel24.
7057         (tests, tests-static): Likewise for tst-cancel24-static.
7058         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
7059         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
7060         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
7061         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
7063 2015-03-04  Andreas Schwab  <schwab@suse.de>
7065         [BZ #17631]
7066         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
7067         for non-GCC compilers.
7068         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
7069         Likewise.
7071 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7073         [BZ #17776]
7074         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
7075         integer before bitwise and assembly operations.
7076         (feclearexcept): Likewise.
7077         * math/test-fenvinline.c: New file.
7078         * math/Makefile: Add test-fenvinline test.
7080 2015-03-03  Alan Modra  <amodra@gmail.com>
7082         [BZ #16512]
7083         * scripts/localplt.awk: Strip off symbol version.
7084         * NEWS: Mention bug fix.
7086 2015-03-02  Roland McGrath  <roland@hack.frob.com>
7088         * sysdeps/pthread/timer_routines.c
7089         (timer_free_list, thread_free_list, thread_active_list): Make static.
7091 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
7093         [BZ #17779]
7094         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7095         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7096         Undefine.
7097         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7098         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7099         Likewise.
7100         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7101         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7102         Likewise.
7104 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
7106         [BZ #18036]
7107         * posix/fnmatch_loop.c (END): Detect invalid pattern.
7108         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
7110 2015-03-02  Andreas Schwab  <schwab@suse.de>
7112         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
7113         variable name.
7115 2015-03-02  Florian Weimer  <fweimer@redhat.com>
7117         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
7118         Return error status.
7120 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
7122         [BZ #15969]
7123         * locale/findlocale.c (_nl_find_locale): Introduce const
7124         version of loc_name and drop unsafe type casts.
7126 2015-02-27  Roland McGrath  <roland@hack.frob.com>
7128         * dlfcn/tststatic2.c (main): Converted to ...
7129         (do_test): ... this.
7130         (TEST_FUNCTION): New macro.
7131         Include test-skeleton.c.
7133 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
7135         [BZ #17711]
7136         * elf/Makefile (tests): Add vismain only if PIE is enabled.
7137         (tests-pie): Add vismain.
7138         (CFLAGS-vismain.c): New.
7139         * elf/vismain.c: Add comments for PIE requirement.
7141 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
7143         [BZ #18046]
7144         [BZ #18047]
7145         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
7146         0x1p-56L as threshold for just returning the argument.
7147         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
7148         0x1p-32L as threshold for just returning the argument.
7149         * math/auto-libm-test-in: Add more tests of atanh.
7150         * math/auto-libm-test-out: Regenerated.
7151         * sysdeps/i386/fpu/libm-test-ulps: Update.
7152         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
7154 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
7156         * string/bcopy.c (bcopy): Call memmove for performance.
7158 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
7160         * string/bzero.c (__bzero): Call memset for performance.
7162 2015-02-27  John David Anglin  <dave.anglin@bell.net>
7164         [BZ #18068]
7165         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
7166         to 00100000.
7168 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
7170         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
7172 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
7174         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
7175         (__kernel_standard): Use CSTR macro when setting exc.name.
7176         * sysdeps/ieee754/Makefile [$(subdir) = math]
7177         (CFLAGS-k_standard.c): Remove variable.
7179         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
7180         setting p and q from "else if" to "else".
7181         (qzero): Likewise.
7182         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
7183         (qone): Likewise.
7184         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
7185         (qzerof): Likewise.
7186         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
7187         (qonef): Likewise.
7188         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
7189         (qzero): Likewise.
7190         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
7191         (qone): Likewise.
7193         [BZ #18038]
7194         [BZ #18039]
7195         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
7196         return pi/2 for arguments below 0x1p-113L.
7197         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
7198         return pi/2 for arguments below 0x1p-106L.
7199         * math/auto-libm-test-in: Add more tests of acos.
7200         * math/auto-libm-test-out: Regenerated.
7202         [BZ #16351]
7203         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
7204         (MO): New macro.
7205         (__ieee754_asin): Force underflow exception for results with small
7206         absolute value.
7207         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
7208         (MO): New macro.
7209         (__ieee754_asinf): Force underflow exception for results with
7210         small absolute value.
7211         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
7212         (__ieee754_asin): Force underflow exception for results with small
7213         absolute value.
7214         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
7215         (__ieee754_asinf): Force underflow exception for results with
7216         small absolute value.
7217         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
7218         (__ieee754_asinl): Force underflow exception for results with
7219         small absolute value.
7220         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
7221         (__ieee754_asinl): Force underflow exception for results with
7222         small absolute value.
7223         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
7224         (__ieee754_asinl): Force underflow exception for results with
7225         small absolute value.
7226         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
7227         Include <math.h>.
7228         * math/auto-libm-test-in: Do not mark underflow exceptions as
7229         possibly missing for bug 16351.
7230         * math/auto-libm-test-out: Regenerated.
7232         [BZ #18030]
7233         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
7234         of power of 2 down when low part has opposite sign.
7235         * math/libm-test.inc (logb_test_data): Add more tests.
7237 2015-02-26  Andreas Schwab  <schwab@suse.de>
7239         [BZ #18032]
7240         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
7241         over collating symbol inside a bracket expression.  Minor cleanup.
7242         * posix/tst-fnmatch3.c (do_test): Add test case.
7244 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
7246         [BZ #18029]
7247         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
7248         Adjust exponent of power of 2 down when low part has opposite
7249         sign.
7250         * math/libm-test.inc (ilogb_test_data): Add more tests.
7252 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
7254         [BZ #15969]
7255         * locale/findlocale.c (_nl_find_locale): Fix constness error in
7256         the previous change.
7258         [BZ #15969]
7259         * locale/findlocale.c (_nl_find_locale): Retry archive search
7260         after alias expansion.
7262 2015-02-25  Roland McGrath  <roland@hack.frob.com>
7264         * iconv/tst-iconv3.c (main): Converted to ...
7265         (do_test): ... this.
7266         (TEST_FUNCTION): New macro.
7267         Include test-skeleton.c.
7269         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
7270         (convert): Make function static.
7271         (test_unalign): Likewise.  Add const to argument pointee types.
7272         (main): Replace with static function do_test.
7273         Print "Succeeded." only if RET is zero.
7274         (TEST_FUNCTION): New macro.
7275         Include test-skeleton.c.
7277         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
7278         returns a null pointer.
7280 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7282         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
7283         to __memcpy_ppc only for static builds.
7285 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
7287         [BZ #18020]
7288         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
7289         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
7290         * math/auto-libm-test-in: Add more tests of asinh.
7291         * math/auto-libm-test-out: Regenerated.
7292         * sysdeps/i386/fpu/libm-test-ulps: Update.
7293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7295 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
7297         [BZ #15850]
7298         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
7299         and ip6_mtuinfo definitions here.
7300         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
7301         in this define too.  Update comment.
7303 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
7305         * elf/sprof.c (load_shobj): Tweak error message to match others.
7307 2015-02-24  Kevin Easton  <kevin@guarana.org>
7309         [BZ #16145] (partial fix)
7310         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
7311         to reduce lock contention.
7313 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
7315         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
7316         (struct timex): Update time comment.
7317         (ADJ_SETOFFSET): Define.
7319 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
7321         [BZ #18019]
7322         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
7323         2**56 not 2**28 as threshold for log (2x) formula.
7324         * math/auto-libm-test-in: Add more tests of acosh.
7325         * math/auto-libm-test-out: Regenerated.
7326         * sysdeps/i386/fpu/libm-test-ulps: Update.
7327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7329 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
7331         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
7332         parenthesis around the buf assignment.
7333         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
7335 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
7337         [BZ #16783]
7338         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
7339         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
7340         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
7341         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
7342         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
7343         * math/libm-test.inc (scalb_test_data): Add more tests.
7345 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
7347         [BZ #17916]
7348         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
7349         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
7351 2015-02-24  Eric Rannaud  <e@nanocritical.com>
7353         [BZ #17523]
7354         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
7355         * io/bits/fcntl2.h (open): Use it.
7356         (openat): Likewise.
7357         * io/open.c (__libc_open): Likewise.
7358         * io/open64.c (__libc_open64): Likewise.
7359         * io/open64_2.c (__open64_2): Likewise.
7360         * io/open_2.c (__open_2): Likewise.
7361         * io/openat.c (__openat): Likewise.
7362         * io/openat64.c (__openat64): Likewise.
7363         * io/openat64_2.c (__openat64_2): Likewise.
7364         * io/openat_2.c (__openat_2): Likewise.
7365         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
7366         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
7367         * sysdeps/posix/open64.c (__libc_open64): Likewise.
7368         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
7369         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
7370         (__open_nocancel): Likewise.
7371         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
7372         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
7373         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
7375 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7377         [BZ #14841]
7378         * resolv/gethnamaddr.c (getanswer): Skip logging if
7379         RES_USE_DNSSEC is set.
7380         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7382 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
7384         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
7386 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
7388         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
7389         201304L, for Unicode 7.
7391 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
7393         [BZ #17836]
7394         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
7395         shared library.  Add gmon-start.os otherwise.
7396         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
7397         $(objpfx)gmon-start.os if builing shared library.
7398         ($(objpfx)g$(static-start-installed-name)): Likewise.
7400 2015-02-23  Andreas Schwab  <schwab@suse.de>
7402         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
7404 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
7406         [BZ #17269]
7407         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
7408         (enlarge_userbuf): Likewise.
7410 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
7412         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
7413         * math/atest-exp.c (TIMEOUT): Adjust to 200.
7414         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
7415         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
7417 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
7419         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
7420         expression inside statement expression.
7422 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7424         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
7425         <sysdeps/nptl/lowlevellock.h> and remove macros and
7426         functions that are now defined there.
7427         (SYS_futex): Remove.
7428         (lll_compare_and_swap): Remove.
7429         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
7431 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
7433         [BZ #17999]
7434         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
7435         instead of scandirat.
7436         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
7437         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
7438         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
7439         __scandirat.
7440         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
7441         (__scandirat): Declare.  Use libc_hidden_proto.
7442         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
7443         Remove variable.
7444         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
7446 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
7448         [BZ #15319]
7449         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
7450         (MO): New macro.
7451         (__ieee754_atan2): For results with small absolute value, force
7452         underflow exception and remove excess range and precision from
7453         return value.
7454         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
7455         (MO): New macro.
7456         (__ieee754_atan2f): For results with small absolute value, force
7457         underflow exception and remove excess range and precision from
7458         return value.
7459         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
7460         (MO): New macro.
7461         (__atan): For results with small absolute value, force underflow
7462         exception and remove excess range and precision from return value.
7463         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
7464         (MO): New macro.
7465         (__atanf): For results with small absolute value, force underflow
7466         exception and remove excess range and precision from return value.
7467         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
7468         <math.h>.
7469         (__ieee754_atan2): Force underflow exception for results with
7470         small absolute value.
7471         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
7472         <math_private.h>.
7473         (atan): Force underflow exception for results with small absolute
7474         value.
7475         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
7476         (__atanf): Force underflow exception for results with small
7477         absolute value.
7478         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
7479         <math.h>.
7480         (__atanl): Force underflow exception for results with small
7481         absolute value.
7482         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
7483         (__atanl): Force underflow exception for results with small
7484         absolute value.
7485         * sysdeps/x86/fpu/bits/mathinline.h
7486         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
7487         (__ieee754_atan2): Only define inline for long double.
7488         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
7489         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
7490         * math/auto-libm-test-in: Do not mark underflow exceptions as
7491         possibly missing for bug 15319.  Add more tests of atan2.
7492         * math/auto-libm-test-out: Regenerated.
7493         * math/libm-test.inc (casin_test_data): Do not mark underflow
7494         exceptions as possibly missing for bug 15319.
7495         (casinh_test_data): Likewise.
7496         * sysdeps/i386/fpu/libm-test-ulps: Update.
7498 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
7500         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
7501         * sysdeps/mips/bits/endian.h: Fix comments.
7503 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
7505         [BZ #17996]
7506         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
7507         (hdestroy_r): Likewise.
7508         (hsearch_r): Likewise.
7509         (__hcreate_r): Declare and use libc_hidden_proto.
7510         (__hdestroy_r): Likewise.
7511         (__hsearch_r): Likewise.
7512         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
7513         (hcreate): Call __hcreate_r instead of hcreate_r.
7514         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
7515         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
7516         as weak alias of __hcreate_r.
7517         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
7518         __hdestroy_r.
7519         (hsearch_r): Rename to __hsearch_r and define as weak alias of
7520         __hsearch_r.
7521         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
7522         Remove variable.
7523         (test-xfail-XPG4/search.h/linknamespace): Likewise.
7524         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
7525         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
7526         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
7528 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7530         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
7531         arena_lock into a single arena_get.
7533 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
7535         * dl-reloc.c: Inlucde libc-internal.h.
7536         (_dl_try_allocate_static_tls): Call ALIGN_UP.
7537         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
7538         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
7539         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
7540         (grow_heap): Likewise.
7541         * malloc/malloc.c: Include libc-internal.h.
7542         (do_check_malloc): Call powerof2.
7543         (sysmalloc): Use pagesize. Call ALIGN_UP.
7544         (systrim): Use pagesize.
7545         (mremap_chunk): Use pagesize. Call ALIGN_UP.
7546         (__libc_valloc): Use pagesize.
7547         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
7549 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
7551         [BZ #17991]
7552         * include/sys/resource.h (__getrlimit64): Declare.  Use
7553         libc_hidden_proto.
7554         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
7555         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
7556         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
7557         getrlimit64.
7558         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
7559         __getrlimit64.
7560         [!getrlimit64] (getrlimit64): Define as weak alias of
7561         __getrlimit64.  Use libc_hidden_weak.
7562         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
7563         using __getrlimit64 not __new_getrlimit64.
7564         (__GI_getrlimit64): Likewise.
7565         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
7566         Likewise.
7567         (__GI_getrlimit64): Likewise.
7568         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
7569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
7570         (getrlimit): Add __getrlimit64 alias.
7571         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
7572         Likewise.
7573         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
7574         Remove variable.
7575         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
7576         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
7578 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
7580         * libio/fileops.c: Add missing sys/mman.h
7581         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
7583 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
7585         * manual/math.texi (Errors in Math Functions): Clarify goals
7586         regarding inexact and underflow exceptions.
7588 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
7590         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
7591         * sysdeps/mips/memset.S: Ditto.
7593 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
7595         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
7597 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7599         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
7600         (__v1longjmp): Remove versioned symbol.
7601         (__v1siglongjmp): Remove alias and versioned symbol.
7602         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
7603         (__v2siglongjmp): Likewise.
7605 2015-02-16  Torvald Riegel  <triegel@redhat.com>
7607         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
7609 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
7611         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
7613 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
7615         [BZ #17987]
7616         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
7617         zero result does not depend on the sign resulting from
7618         subtraction.
7619         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7620         Likewise.
7621         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
7622         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
7623         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7624         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
7625         * math/libm-test.inc (remquo_test_data): Add more tests.
7627 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
7629         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
7630         Problem reported by J William Piggott.
7632 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
7634         [BZ #17978]
7635         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
7636         products 4 * y and 2 * y where those would overflow.
7637         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7638         Likewise.
7639         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
7640         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
7641         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7642         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
7643         * math/libm-test.inc (remquo_test_data): Add more tests.
7645         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
7647         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
7648         [defined _COMPILING_NEWLIB].
7649         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
7650         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
7652         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
7653         [!defined __mips_isa_rev || __mips_isa_rev < 6].
7655 2015-02-16  Torvald Riegel  <triegel@redhat.com>
7657         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
7658         acquired.
7660 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
7662         [BZ #17792]
7663         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
7664         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
7665         HOST_STACK_END_ADDR): Likewise.
7667 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
7669         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
7670         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
7671         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
7673 2015-02-13  Roland McGrath  <roland@hack.frob.com>
7675         * sysdeps/generic/c++-types.data: New file.
7676         * sysdeps/generic/ld.abilist: New file.
7677         * sysdeps/generic/libBrokenLocale.abilist: New file.
7678         * sysdeps/generic/libanl.abilist: New file.
7679         * sysdeps/generic/libc.abilist: New file.
7680         * sysdeps/generic/libcrypt.abilist: New file.
7681         * sysdeps/generic/libdl.abilist: New file.
7682         * sysdeps/generic/libm.abilist: New file.
7683         * sysdeps/generic/libpthread.abilist: New file.
7684         * sysdeps/generic/libresolv.abilist: New file.
7685         * sysdeps/generic/librt.abilist: New file.
7687 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
7689         [BZ #17569]
7690         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7691         Compute absolute value of x as modified by fmod, not original
7692         value of x.
7693         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
7694         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
7695         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
7696         RUN_TEST_ffI_f1_mod8.
7697         (remquo_test_data): Add more tests.
7699 2015-02-13  Roland McGrath  <roland@hack.frob.com>
7701         * sysdeps/init_array/pt-crti.S: New file.
7703 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
7705         [BZ #17967]
7706         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
7707         __builtin_fmaf instead of relying on contraction of a * b + c.
7709 2015-02-12  J William Piggott  <elseifthen@gmx.com>
7711         [BZ #17969]
7712         * manual/time.texi: correct the zoneinfo path in the TZ Variable
7713         node.
7715 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
7717         [BZ #17964]
7718         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
7719         __builtin_fma instead of relying on contraction of a * b + c.
7721 2015-02-12  Roland McGrath  <roland@hack.frob.com>
7723         * Makeconfig (ASFLAGS): Add -Werror=undef.
7724         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
7725         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
7726         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
7728         * Makeconfig (after-link): New variable.
7729         (+link-pie, +link-pie-tests): Use it.
7730         (+link-static, +link-static-tests): Likewise.
7731         (+link, +link-tests): Likewise.
7732         * Makerules (build-module, build-module-asneeded): Likewise.
7733         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
7734         Likewise.
7735         * elf/Makefile ($(objpfx)ld.so): Likewise.
7737 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
7739         [BZ #17965]
7740         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
7741         both struct timeval and struct timespec.
7743 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
7745         [BZ #16560]
7746         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7747         and redefine.
7748         (__ieee754_exp2l): Do not multiply small fractional parts by
7749         M_LN2l.
7750         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
7751         small argument.
7752         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7753         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
7754         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
7755         * math/auto-libm-test-in: Add more tests of exp2.
7756         * math/auto-libm-test-out: Regenerated.
7758 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7760         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
7761         unaligned path.
7763 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7765         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
7766         little endian.
7768 2015-02-12  Andreas Schwab  <schwab@suse.de>
7770         [BZ #15790]
7771         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
7772         Filter out elision flags from value returned in kind.
7773         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
7774         * nptl/tst-pthread-mutexattr.c: New file.
7776 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7778         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
7779         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
7780         into gnu-gnu, and update comment to refer to abi-tags.
7782 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
7784         [BZ #15467]
7785         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
7786         (__sincos): Set errno to EDOM for infinite argument.
7787         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
7788         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
7789         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
7790         (__sincosl): Set errno to EDOM for infinite argument.
7791         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
7792         (__sincosl): Set errno to EDOM for infinite argument.
7793         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
7794         (__sincosl): Set errno to EDOM for infinite argument.
7795         * math/libm-test.inc (sincos_test_data): Test errno setting.
7797 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
7799         * string/strxfrm_l.c: Remove #define STRCMP.
7800         * string/strcoll_l.c: Remove #define STRLEN.
7801         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
7802         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
7804 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
7806         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
7807         * sysdeps/mips/mips32/sfp-machine.h: ... here.
7808         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
7809         * sysdeps/mips/mips64/Makefile: ... here.
7810         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
7811         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
7812         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
7813         * sysdeps/mips/mips64/sfp-machine.h: ... here.
7814         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
7815         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
7816         * sysdeps/mips/mips64/n64/Implies: Likewise.
7818 2015-02-10  Roland McGrath  <roland@hack.frob.com>
7820         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
7821         <sys/time.h>, <string.h>, and <errno.h>.
7822         (dest_offset, dest_address, value, zero): Remove unused variables.
7823         (ldouble): Remove typedef.
7824         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
7825         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
7826         1).  Fix code style.
7827         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
7828         (check): Function removed.
7829         (CHECK): New macro.
7830         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
7831         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
7832         Don't call set_sigaction_FP and remove_sigaction_FP here.
7833         (ldouble_test): Just use 'long double' as macro argument, no need for
7834         the 'ldouble' typedef.
7835         (do_test): Set up SIGFPE handler at start, using plain signal rather
7836         than sigaction.  Fix code style.
7838 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
7840         [BZ #17949]
7841         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
7842         jump label.
7844 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7846         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
7847         * sysdeps/powerpc/powerpc32/configure: Regenerated.
7849         * sysdeps/powerpc/configure.ac: Remove file.
7850         * sysdeps/powerpc/configure: Likewise.
7852         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
7853         [sysdep_routines]: Remove wordcopy-power6 object.
7854         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7855         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
7856         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
7857         (__memmove_ppc32): Likewise.
7858         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
7859         file.
7860         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
7861         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
7862         Remove preprocessor.
7864         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
7865         [sysdep_routines]: Remove wide chars objects.
7866         [wcsmbs]: New rule for wide char objects.
7868         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7869         Remove wordcopy-power6 obejct.
7870         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
7871         Use local call for wordcopy and memcpy symbols.
7872         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
7873         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
7874         implementation for loader.
7875         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
7877         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7878         Remove wordcopy-power7 object.
7879         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
7880         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
7881         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
7882         (_wordcopy_fwd_dest_aligned): Likewise.
7883         (_wordcopy_bwd_aligned): Likewise.
7884         (_wordcopy_bwd_dest_aligned): Likewise.
7886         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
7887         Rewrite to call __memmove_ppc instead of include default
7888         implementation.
7890         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7891         Remove wide chars objects.
7892         [wcsmbs]: New rule for wide char objects.
7894 2015-02-09  Andreas Schwab  <schwab@suse.de>
7896         [BZ #17912]
7897         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
7898         in terms of __O_DIRECTORY.
7900 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7902         * time/getdate.c: Include <stdbool.h>.
7903         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
7904         call PTR_MANGLE.
7905         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
7906         PTR_DEMANGLE.
7908 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
7910         Add ersatz _Static_assert on older C hosts
7911         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
7912         pre-C11 C platform that is not known to support _Static_assert.
7914 2015-02-07  Richard Braun  <rbraun@sceen.net>
7916         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
7917         sigstate.
7918         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
7920 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7922         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
7923         priority against unexistent AIO_PRIO_DELTA_MAX.
7924         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
7925         instead of int.
7926         * misc/fchflags.c (fchflags): Likewise.
7927         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
7928         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
7929         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
7930         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
7931         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
7932         Declare macros.
7933         [__USE_MISC] (chflags, fchflags): Declare functions.
7934         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
7935         EINVAL when nfds is greater than FD_SETSIZE.
7936         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
7937         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
7938         45.
7939         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
7940         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
7941         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
7942         MACH_RCV_TIMED_OUT.
7943         * hurd/hurd/signal.h (_hurd_self_sigstate,
7944         _hurd_critical_section_lock, _hurd_critical_section_unlock):
7945         Explicit casts from void *.
7946         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
7947         * abi-tags: Rename gnu-gnu os into gnu.
7949         [BZ #4719]
7950         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
7951         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
7952         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
7953         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
7954         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
7955         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
7957         [BZ #17944]
7958         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
7959         duplicates ADDR->sun_path with sockaddr LEN limitation.
7960         * sysdeps/mach/hurd/connect.c: Include <string.h>
7961         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
7962         * sysdeps/mach/hurd/sendmsg.c: Likewise.
7963         * sysdeps/mach/hurd/sendto.c: Likewise.
7964         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
7965         implementing it by hand.
7967 2015-02-06  Roland McGrath  <roland@hack.frob.com>
7969         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
7970         Use sfi_breg on ldr.
7971         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
7972         Likewise.
7974         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
7975         it's defined.
7976         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
7977         Test SIGSETXID only if it's defined.
7979         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
7981         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
7982         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
7984         * nptl/tst-align2.c: Moved ...
7985         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
7986         * nptl/Makefile (tests): Remove tst-align2.
7987         * sysdeps/unix/sysv/linux/Makefile
7988         [$(subdir) = nptl] (tests): Add tst-align-clone.
7989         * nptl/tst-getpid1.c: Moved ...
7990         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
7991         * nptl/tst-getpid2.c: Moved ...
7992         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
7993         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
7994         * sysdeps/unix/sysv/linux/Makefile
7995         [$(subdir) = nptl] (tests): ... here.
7996         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
7997         * sysdeps/unix/sysv/linux/Makefile
7998         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
8000         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
8001         Drop trailing \n from perror argument.  Use return rather than exit.
8003         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
8004         on [SA_SIGINFO].
8005         * nptl/tst-cancel21.c (do_test): Likewise.
8006         * debug/tst-backtrace6.c: Include <signal.h> first thing.
8007         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
8008         [!SA_SIGINFO]: Make it a stub test.
8010         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
8011         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
8013         * posix/tst-getlogin.c: Move to ...
8014         * login/tst-getlogin.c: ... here.
8015         * posix/Makefile (tests): Move tst-getlogin to ...
8016         * login/Makefile (tests): ... here.
8018         * libio/tst-atime.c (do_test): Move local variables SV and E
8019         inside [ST_NOATIME] conditional.
8021         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
8023         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
8025         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
8026         (wait_code): New function replaces macro.
8027         Call nanosleep rather than syscall.
8029         * nptl/pt-system.c: Rewritten.  Put everything under
8030         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
8031         Use IFUNC to redirect when possible.
8033         * nptl/pt-longjmp.c: Rewritten.  Put everything under
8034         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
8035         Use IFUNC to redirect when possible.
8037         * nptl/pt-fork.c: Rewritten.  Put everything under
8038         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
8039         Use IFUNC to redirect when possible.
8040         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
8042         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
8043         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
8044         unconditionally nowadays.  This included the only reference to
8045         __vdso_clock_gettime that appears outside libc proper.
8046         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
8047         Remove version set (containing only __vdso_clock_gettime).
8048         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
8049         Add attribute_hidden.
8050         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
8051         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
8052         libc_hidden_data_def.
8053         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8054         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8056         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
8057         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
8058         setrpcent, and getrpcport to ...
8059         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
8060         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
8061         getrpcbynumber_r, and getrpcent_r to ...
8062         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
8063         * inet/getrpcbyname.c: Moved ...
8064         * sunrpc/getrpcbyname.c: ... here.
8065         * inet/getrpcbyname_r.c: Moved ...
8066         * sunrpc/getrpcbyname_r.c: ... here.
8067         * inet/getrpcbynumber.c: Moved ...
8068         * sunrpc/getrpcbynumber.c: ... here.
8069         * inet/getrpcbynumber_r.c: Moved ...
8070         * sunrpc/getrpcbynumber_r.c: ... here.
8071         * inet/getrpcent.c: Moved ...
8072         * sunrpc/getrpcent.c: ... here.
8073         * inet/getrpcent_r.c: Moved ...
8074         * sunrpc/getrpcent_r.c: ... here.
8075         * inet/Makefile (routines): Move those to ...
8076         * sunrpc/Makefile (routines): ... here.
8077         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
8078         the $(subdirs) list.
8079         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
8080         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
8081         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
8082         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
8084         * elf/Makefile (routines): Include $(all-dl-routines), not just
8085         $(dl-routines).
8086         (rtld-routines): Likewise.  Use = rather than :=.
8087         * sysdeps/aarch64/Makefile [$(subdir) = elf]
8088         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
8089         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
8090         * sysdeps/arm/Makefile: Likewise.
8091         * sysdeps/i386/Makefile: Likewise.
8092         * sysdeps/x86_64/Makefile: Likewise.
8093         * sysdeps/hppa/Makefile [$(subdir) = elf]
8094         (sysdep_routines, sysdep-rtld-routines): Don't add
8095         $(sysdep-dl-routines) to these.
8096         * sysdeps/ia64/Makefile: Likewise.
8097         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
8098         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
8099         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
8100         Don't add dl-static to these; sysdep-dl-routines alone is enough.
8101         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
8102         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
8103         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
8104         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
8105         * sysdeps/powerpc/Makefile [$(subdir) = elf]
8106         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
8107         these; sysdep-dl-routines alone is enough.
8109 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
8111         [BZ #17932]
8112         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
8113         where multiplication results in zero and third argument is finite
8114         and nonzero.
8115         * math/auto-libm-test-in: Add more tests of fma.
8116         * math/auto-libm-test-out: Regenerated.
8118         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
8119         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
8120         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
8121         (_FP_CMP_EQ): Likewise.
8122         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
8124         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
8125         extra argument CHECK_NAN.  Redefine as wrapper around
8126         _FP_EXTEND_CNAN.
8128 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
8130         * version.h (RELEASE): Set to "stable".
8131         (VERSION): Set to "2.21"
8132         * include/features.h (__GLIBC_MINOR__): Set to 21.
8134         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
8136 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
8137             Paul Eggert  <eggert@cs.ucla.edu>
8139         [BZ #16618]
8140         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
8141         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
8142         size in bytes. Store needed elements in wpmax. Use needed size
8143         in bytes for extend_alloca.
8145 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
8147         * manual/install.texi: Latest tested versions are GCC 4.9.2,
8148         binutls 2.25, and texinfo 5.2.
8149         * INSTALL: Regenerate.
8150         * sysdeps/nios2/configure: Regenerate.
8151         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
8152         * manual/contrib.texi: Update.
8153         * po/be.po: Update.
8154         * po/bg.po: Update.
8155         * po/ca.po: Update.
8156         * po/cs.po: Update.
8157         * po/da.po: Update.
8158         * po/de.po: Update.
8159         * po/el.po: Update.
8160         * po/eo.po: Update.
8161         * po/es.po: Update.
8162         * po/fi.po: Update.
8163         * po/fr.po: Update.
8164         * po/gl.po: Update.
8165         * po/hr.po: Update.
8166         * po/hu.po: Update.
8167         * po/ia.po: Update.
8168         * po/id.po: Update.
8169         * po/it.po: Update.
8170         * po/ja.po: Update.
8171         * po/ko.po: Update.
8172         * po/lt.po: Update.
8173         * po/nb.po: Update.
8174         * po/nl.po: Update.
8175         * po/pl.po: Update.
8176         * po/pt_BR.po: Update.
8177         * po/ru.po: Update.
8178         * po/rw.po: Update.
8179         * po/sk.po: Update.
8180         * po/sl.po: Update.
8181         * po/sv.po: Update.
8182         * po/tr.po: Update.
8183         * po/uk.po: Update.
8184         * po/vi.po: Update.
8185         * po/zh_CN.po: Update.
8186         * po/zh_TW.po: Update.
8188         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
8189         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
8190         * sysdeps/hppa/dl-irel.h: Remove #warning.
8191         * sysdeps/hppa/entry.h: Provide prototype for
8192         __canonicalize_funcptr_for_compare and cast argument.
8193         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
8194         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
8195         * sysdeps/hppa/sotruss-lib.c: New file.
8196         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
8197         (atomic_compare_and_exchange_val_acq): Use __typeof__.
8198         (atomic_compare_and_exchange_bool_acq): Likewise.
8199         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
8200         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
8202         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
8203         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
8204         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
8206 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
8208         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
8209         called function in non-PIC case.
8211 2015-01-31  David S. Miller  <davem@davemloft.net>
8213         * sysdeps/sparc/sparc32/bits/atomic.h
8214         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
8215         unlock not after it.
8216         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
8217         volatile register usage warnings from the compiler.
8219         * sysdeps/sparc/nptl/sem_init.c: Delete.
8220         * sysdeps/sparc/nptl/sem_post.c: Delete.
8221         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
8222         * sysdeps/sparc/nptl/sem_wait.c: Delete.
8223         * sysdeps/sparc/sparc32/sem_init.c: New file.
8224         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
8225         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
8226         padding explicitly initialized.
8227         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
8228         padding for in-semaphore spinlock.
8229         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
8230         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
8231         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
8232         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
8233         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
8234         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
8235         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
8236         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
8237         version.
8238         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
8239         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
8241 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
8243         [BZ #17801]
8244         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8245         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
8246         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
8247         New.
8248         (index_AVX_Fast_Unaligned_Load): Likewise.
8249         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
8250         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
8251         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
8252         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
8253         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
8254         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
8255         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
8256         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
8257         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
8259 2015-01-29  Andreas Schwab  <schwab@suse.de>
8261         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
8263 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
8265         [BZ #17892]
8266         * nscd/nscd_stat.c (send_stats): Initialize DATA.
8268 2015-01-28  Martin Sebor  <msebor@redhat.com>
8270         * math/README.libm-test: Clarify. Add "How to read the test output."
8272 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
8274         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
8275         Define to 0.
8277 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
8279         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
8280         (__HAVE_64B_ATOMICS): Define to 0.
8282 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
8284         [BZ #17885]
8285         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
8286         value to set as new flag.
8288         [BZ #16576]
8289         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
8290         and use _ARCH_PPCSQ instead.
8291         (__ieee754_sqrt): Likewise.
8292         (__ieee754_sqrtf): Likewise.
8293         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
8294         _ARCH_PPCSQ is defined.
8295         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
8296         fsqrt instruction.
8297         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
8298         _ARCH_PPCSQ is defined.
8299         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
8300         fsqrts instruction.
8301         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
8303 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8305         * iconv/loop.c: Suppress array out of bound warning caused by GCC
8306         bug (GCC BZ #64739).
8308 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
8310         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
8311         Mark _retval as used.
8312         (lll_futex_wake_unlock): Likewise.
8313         (lll_futex_timed_wait_requeue_pi): Likewise.
8315         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
8316         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
8317         register variables.
8319         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
8320         libm_hidden_def.
8322         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
8323         (__bswap_64): Mark as __always_inline.
8325 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
8327         [BZ #15378]
8328         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
8329         when none of the search directories exist.
8331 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
8333         [BZ #17869]
8334         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
8335         power8 in .machine directive.
8337         [BZ #17868]
8338         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
8339         set dependency from opd value.
8341 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
8343         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8344         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
8345         architecture.
8347 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
8349         [BZ #17870]
8350         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
8351         with uint64_t.
8352         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
8353         (uint64_t) 1.
8354         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
8355         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
8356         Replace 1UL with (uint64_t) 1.
8357         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
8358         int with uint64_t.
8360 2015-01-23  Roland McGrath  <roland@hack.frob.com>
8362         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
8363         (if_freenameindex): Likewise.
8365         * resource/getrlimit64.c: Add missing libc_hidden_def.
8367 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
8369         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
8370         __label__.
8371         (_FP_FMA): Likewise.
8372         (_FP_TO_INT_ROUND): Likewise.
8373         (_FP_FROM_INT): Likewise.
8375 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8377         [BZ #16418]
8378         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
8379         Make code racy and cancel safe.
8381 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
8383         * sysdeps/arm/unwind-resume.h: Fix copyright year.
8384         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
8385         attribution.
8387         * pwd/tst-getpw.c: Rewrite.
8389         [BZ #17702]
8390         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
8391         (modules-names): Add moddummy1 and moddummy2.
8392         ($(objpfx)tst-rec-dlopen): Define.
8393         * dlfcn/moddummy1.c: New file.
8394         * dlfcn/moddummy2.c: New file.
8395         * dlfcn/tst-rec-dlopen.c: New file.
8396         * elf/dl-cache.c (_dl_load_cache_lookup):
8397         Return char*. Copy result with alloca/strcpy/strdup.
8398         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
8399         returns char*. Free cached. If not saving realname
8400         free cached.
8401         * elf/dl-open.c (dl_open_worker): Do not assert that
8402         _r_debug->r_state is RT_CONSISTENT.
8403         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
8404         returns char*.
8406 2015-01-21  Torvald Riegel  <triegel@redhat.com>
8407             Carlos O'Donell  <carlos@redhat.com>
8409         [BZ #12674]
8410         * nptl/sem_waitcommon.c: New file.
8411         * nptl/sem_wait.c: Include sem_waitcommon.c.
8412         (__sem_wait_cleanup, do_futex_wait): Remove.
8413         (__new_sem_wait): Adapt.
8414         (__new_sem_trywait): New function.
8415         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
8416         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
8417         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
8418         (sem_timedwait): Adapt.
8419         * nptl/sem_post.c (__new_sem_post): Adapt.
8420         (futex_wake): New function.
8421         (__old_sem_post): Add release MO fence.
8422         * nptl/sem_open.c (sem_open): Adapt.
8423         * nptl/sem_init.c (__new_sem_init): Adapt.
8424         (futex_private_if_supported): New function.
8425         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
8426         (__old_sem_getvalue): Add using previous code.
8427         * sysdeps/nptl/internaltypes.h: Adapt.
8428         * nptl/tst-sem13.c (do_test): Adapt.
8429         * nptl/tst-sem11.c (main): Adapt.
8430         * nptl/sem_trywait.c: Remove.
8431         * nptl/DESIGN-sem.txt: Remove.
8432         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
8433         (gen-as-const-headers): Remove structsem.sym.
8434         * nptl/structsem.sym: Remove.
8435         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
8436         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
8437         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
8438         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
8439         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
8440         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
8441         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
8442         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
8443         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
8444         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
8445         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
8446         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
8447         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
8448         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
8449         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
8450         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
8451         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
8452         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
8453         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
8454         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
8455         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
8456         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
8458 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
8460         * INSTALL: Regenerated.
8462         * po/libc.pot: Regenerated.
8464 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
8465             Sandra Loosemore  <sandra@codesourcery.com>
8466             Andrew Jenner  <andrew@codesourcery.com>
8467             Joseph Myers  <joseph@codesourcery.com>
8468             Nathan Sidwell  <nathan@codesourcery.com>
8470         * NEWS: Mention new Nios II port.
8471         * sysdeps/nios2/Implies: New file.
8472         * sysdeps/nios2/Makefile: New file.
8473         * sysdeps/nios2/Subdirs: New file.
8474         * sysdeps/nios2/Versions: New file.
8475         * sysdeps/nios2/__longjmp.S: New file.
8476         * sysdeps/nios2/abort-instr.h: New file.
8477         * sysdeps/nios2/backtrace.c: New file.
8478         * sysdeps/nios2/bits/endian.h: New file.
8479         * sysdeps/nios2/bits/fenv.h: New file.
8480         * sysdeps/nios2/bits/link.h: New file.
8481         * sysdeps/nios2/bits/setjmp.h: New file.
8482         * sysdeps/nios2/bsd-_setjmp.S: New file.
8483         * sysdeps/nios2/bsd-setjmp.S: New file.
8484         * sysdeps/nios2/configure: New generated file.
8485         * sysdeps/nios2/configure.ac: New file.
8486         * sysdeps/nios2/crti.S: New file.
8487         * sysdeps/nios2/crtn.S: New file.
8488         * sysdeps/nios2/dl-init.c: New file.
8489         * sysdeps/nios2/dl-machine.h: New file.
8490         * sysdeps/nios2/dl-sysdep.h: New file.
8491         * sysdeps/nios2/dl-tls.h: New file.
8492         * sysdeps/nios2/dl-trampoline.S: New file.
8493         * sysdeps/nios2/gccframe.h: New file.
8494         * sysdeps/nios2/gmp-mparam.h: New file.
8495         * sysdeps/nios2/jmpbuf-offsets.h: New file.
8496         * sysdeps/nios2/jmpbuf-unwind.h: New file.
8497         * sysdeps/nios2/ldsodefs.h: New file.
8498         * sysdeps/nios2/libc-tls.c: New file.
8499         * sysdeps/nios2/libm-test-ulps: New file.
8500         * sysdeps/nios2/machine-gmon.h: New file.
8501         * sysdeps/nios2/math-tests.h: New file.
8502         * sysdeps/nios2/math_private.h: New file.
8503         * sysdeps/nios2/memusage.h: New file.
8504         * sysdeps/nios2/nptl/Makefile: New file.
8505         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
8506         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
8507         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
8508         * sysdeps/nios2/nptl/pthreaddef.h: New file.
8509         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
8510         * sysdeps/nios2/nptl/tls.h: New file.
8511         * sysdeps/nios2/preconfigure: New file.
8512         * sysdeps/nios2/s_fma.c: New file.
8513         * sysdeps/nios2/s_fmaf.c: New file.
8514         * sysdeps/nios2/setjmp.S: New file.
8515         * sysdeps/nios2/sfp-machine.h: New file.
8516         * sysdeps/nios2/sotruss-lib.c: New file.
8517         * sysdeps/nios2/stackguard-macros.h: New file.
8518         * sysdeps/nios2/stackinfo.h: New file.
8519         * sysdeps/nios2/start.S: New file.
8520         * sysdeps/nios2/sysdep.h: New file.
8521         * sysdeps/nios2/tls-macros.h: New file.
8522         * sysdeps/nios2/tst-audit.h: New file.
8523         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
8524         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
8525         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
8526         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
8527         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
8528         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
8529         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
8530         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
8531         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
8532         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
8533         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
8534         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
8535         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
8536         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
8537         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
8538         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
8539         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
8540         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
8541         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
8542         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
8543         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
8544         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
8545         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
8546         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
8547         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
8548         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
8549         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
8550         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
8551         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
8552         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
8553         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
8554         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
8555         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
8556         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
8557         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
8558         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
8559         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
8560         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
8561         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
8562         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
8563         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
8564         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
8565         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
8566         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
8568 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8570         [BZ #17844]
8571         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
8572         (getutent): Use weak_alias in non SHARED case
8573         and default_symbol_version in SHARED case.
8574         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
8575         (getutent_r, pututline): Likewise.
8576         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
8577         (getutid): Likewise.
8578         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
8579         (getutid_r): Likewise.
8580         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
8581         (getutline): Likewise.
8582         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
8583         (getutline_r): Likewise.
8584         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
8585         (updwtmp): Likewise.
8587 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8589         [BZ #17848]
8590         * sysdeps/s390/s390-32/memcmp.S
8591         (memcmp_g5): Rename to __memcmp_g5.
8592         * sysdeps/s390/s390-32/memcpy.S
8593         (memcpy_g5): Rename to __memcpy_g5.
8594         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8595         (memcpy_mvcle) Rename to __memcpy_mvcle.
8596         * sysdeps/s390/s390-32/memset.S
8597         (memset_g5): Rename to __memset_g5.
8598         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8599         (IFUNC_RESOLVE): Prefix ifunc-resolve function
8600         and use prefixed functions.
8601         * sysdeps/s390/s390-32/multiarch/memcmp.S
8602         (memcmp_z196): Rename to __memcmp_z196.
8603         (memcmp_z10): Rename to __memcmp_z10.
8604         (memcmp): Set alias to __memcmp_g5.
8605         (bcmp): Set alias to __memcmp_g5.
8606         * sysdeps/s390/s390-32/multiarch/memcpy.S
8607         (memcpy_z196): Rename to __memcpy_z196.
8608         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8609         (memcpy_z10): Rename to __memcpy_z10.
8610         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8611         (memcpy): Set alias to __memcpy_g5.
8612         * sysdeps/s390/s390-32/multiarch/memset.S
8613         (memset_z196): Rename to __memset_z196.
8614         Jump to __memset_mvcle instead of memset_mvcle.
8615         (memset_z10): Rename to __memset_z10.
8616         Jump to __memset_mvcle instead of memset_mvcle.
8617         (memset_mvcle) Rename to __memset_mvcle.
8618         (memset): Set alias to __memset_g5.
8619         * sysdeps/s390/s390-64/memcmp.S
8620         (memcmp_z900): Rename to __memcmp_z900.
8621         * sysdeps/s390/s390-64/memcpy.S
8622         (memcpy_z900): Rename to __memcpy_z900.
8623         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8624         (memcpy_mvcle) Rename to __memcpy_mvcle.
8625         * sysdeps/s390/s390-64/memset.S
8626         (memset_z900): Rename to __memset_z900.
8627         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
8628         (IFUNC_RESOLVE): Prefix ifunc-resolve function
8629         and use prefixed functions.
8630         * sysdeps/s390/s390-64/multiarch/memcmp.S
8631         (memcmp_z196): Rename to __memcmp_z196.
8632         (memcmp_z10): Rename to __memcmp_z10.
8633         (memcmp): Set alias to __memcmp_z900.
8634         (bcmp): Set alias to __memcmp_z900.
8635         * sysdeps/s390/s390-64/multiarch/memcpy.S
8636         (memcpy_z196): Rename to __memcpy_z196.
8637         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8638         (memcpy_z10): Rename to __memcpy_z10.
8639         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8640         (memcpy): Set alias to __memcpy_z900.
8641         * sysdeps/s390/s390-64/multiarch/memset.S
8642         (memset_z196): Rename to __memset_z196.
8643         Jump to __memset_mvcle instead of memset_mvcle.
8644         (memset_z10): Rename to __memset_z10.
8645         Jump to __memset_mvcle instead of memset_mvcle.
8646         (memset_mvcle) Rename to __memset_mvcle.
8647         (memset): Set alias to __memset_z900.
8649 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
8651         [BZ #17748]
8652         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
8653         __fesetenv instead of fesetenv.
8655 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8657         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
8658         macro.
8660 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8662         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
8663         regression on LE.
8665         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
8666         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
8667         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8668         strncmp-power8 object.
8669         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8670         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
8671         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
8672         * NEWS: Update.
8674 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8675             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8677         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
8678         trailing byte check.
8680 2015-01-13  David S. Miller  <davem@davemloft.net>
8682         * include/signal.h (__sigreturn): Guard with __USE_MISC.
8684 2015-01-13  Roland McGrath  <roland@hack.frob.com>
8686         * login/logout.c (logout): Use memset rather than bzero.
8687         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
8688         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
8689         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
8690         (_gethtbyaddr): Likewise.
8691         * locale/programs/simple-hash.c (bcopy): Macro removed.
8693 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8695         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8696         Add strcmp-power8 object.
8697         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8698         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
8699         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
8700         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
8701         __strcmp_power8 implementation.
8702         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
8703         * NEWS: Update.
8705         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8706         Add strncpy-power8 and stpncpy-power8 objects.
8707         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8708         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
8709         implementations.
8710         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
8711         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
8712         __stpncpy_power8 implementation.
8713         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
8714         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
8715         __strncpy_power8 implementation.
8716         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
8717         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
8718         * NEWS: Update.
8720         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
8721         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
8722         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
8724         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8725         strncat-power8 object.
8726         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
8727         __strcat_power8 implementation.
8728         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8729         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
8730         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
8731         optimized strcat for power8.
8733         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8734         strcpy-power8 and stpcpy-power8 objects.
8735         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8736         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
8737         implementations.
8738         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
8739         multiarch stpcpy implementation for POWER8.
8740         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
8741         multiarch strcpy implementation for POWER8.
8742         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
8743         __strcpy_power8 function.
8744         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
8745         stpcpy for POWER8.
8746         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
8747         strcpy for POWER8.
8748         * NEWS: Update.
8750 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
8752         [BZ #16009]
8753         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
8754         weights and rules. Use do_xfrm_cached if data fits in cache,
8755         do_xfrm otherwise.  Moved former main loop to...
8756         * (do_xfrm_cached): New function.
8757         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
8758         find_idx, find_position and stack_push.
8759         * (find_idx): New function.
8760         * (find_position): Likewise.
8761         * localedata/sort-test.sh: Added test run for do_xfrm.
8762         * localedata/xfrm-test.c (main): Added command line option
8763         -nocache to run the test with strings that are too large for
8764         the STRXFRM cache.
8766 2015-01-13  Torvald Riegel  <triegel@redhat.com>
8768         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
8769         variable to lll_futex_wake call, not the value itself.
8771 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
8773         [BZ #17803]
8774         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
8775         twom64.  Adjust value to 0x1p-64L.
8776         (__scalblnl): Only return standard underflowing result for K <=
8777         -64 not K <= -63; adjust exponent for underflowing result by 64
8778         not 63.
8779         * math/libm-test.inc (scalbn_test_data): Add more tests.
8780         (scalbln_test_data): Likewise.
8782         [BZ #17834]
8783         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
8784         0x1p63L.
8785         (__scalblnl): Get new exponent of adjusted subnormal value from ES
8786         not HX.
8787         * math/libm-test.inc (scalbn_test_data): Add more tests.
8788         (scalbln_test_data): Likewise.
8790 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8791             Stefani Seibold  <stefani@seibold.net>
8793         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
8794         (sysdep_routines): Add dl-vdso here, ...
8795         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
8796         (sysdep_routines): ... not here.
8797         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
8798         fallback when vDSO is not presented.
8799         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
8800         Define with libc_hidden_proto/libc_hidden_data_def definitions.
8801         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
8802         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
8803         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
8804         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
8805         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
8806         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
8807         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
8808         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
8809         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
8810         fallback configurable symbol when vDSO is not available.
8811         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
8812         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
8813         be able to redefine fallback symbol when vDSO is not available.
8814         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
8815         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
8817 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8819         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
8820         (TLS_INIT_TP): Add tm_capable initialization.
8821         (TLS_DEFINE_INIT_TP): Likewise.
8822         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
8823         TCB.
8824         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
8825         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
8826         calculation.
8827         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
8828         transactoion is lock elision is built and TCB tm_capable is set.
8829         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
8830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8831         (INTERNAL_SYSCALL_NCS): Likewise.
8832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8833         (INTERNAL_SYSCALL_NCS): Likewise.
8834         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
8836         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
8837         for powerpc.
8838         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8839         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
8840         and remove it for 32 bits case.
8841         [pthread_rwlock_t] (__rwelision): New field for lock elision.
8842         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
8843         initialization.
8844         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
8845         Disable lock elision with rdlocks if elision is not available.
8847         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
8848         (sysdep_routines): Add lock elision objects.
8849         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8850         [pthread_mutex_t] (__spins): Rework to add lock elision field.
8851         [pthread_mutex_t] (__elision): Add field.
8852         [__PTHREAD_SPINS]: Adjust to init lock elision field.
8853         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
8854         elision definitions for powerpc.
8855         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
8856         implementation of lock elision for powerpc.
8857         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
8858         implementation of timed lock elision for powerpc.
8859         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
8860         implementation of trylock with lock elision for powerpc.
8861         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
8862         implementaion of unlock for lock elision for powerpc.
8863         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
8864         automatic enable lock elision for mutexes.
8865         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
8866         transaction execution definitions for powerpc.
8867         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
8868         definitions.
8869         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
8870         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
8871         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
8872         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
8873         * NEWS: Update.
8875 2015-01-09  Roland McGrath  <roland@hack.frob.com>
8877         * sysdeps/posix/shm-directory.c: Use <> rather than ""
8878         for #include of <shm-directory.h>.
8880 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
8882         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
8883         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
8885 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
8887         [BZ #17791]
8888         * NEWS: Mention bug fix.
8889         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
8890         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
8891         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
8893 2015-01-09  Torvald Riegel <triegel@redhat.com>
8895         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
8897 2015-01-09  Torvald Riegel <triegel@redhat.com>
8899         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
8901 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8903         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
8904         pointer and cast to uintptr_t.
8906 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8908         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
8909         removed.
8910         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
8912 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8914         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
8915         of 0.
8917 2015-01-08  Roland McGrath  <roland@hack.frob.com>
8919         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
8920         <nptl/pthreadP.h> instead.
8921         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
8923         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
8924         already defined.
8925         [__SIGRTMIN] (init): Function removed.
8926         [__SIGRTMIN] (initialized): Variable removed.
8927         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
8928         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
8929         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
8930         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
8931         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
8932         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
8933         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
8934         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
8935         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
8936         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
8937         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
8938         * sysdeps/nptl/allocrtsig.c: New file.
8939         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
8940         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
8941         * sysdeps/generic/testrtsig.h: File removed.
8943         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
8944         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
8946         * nptl/nptl-init.c (pthread_functions): Conditionalize
8947         .ptr__nptl_setxid initialization on [SIGSETXID].
8949         * sysdeps/nptl/sys/procfs.h: New file.
8950         * nptl_db/Makefile (headers): Add it.
8951         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
8953         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
8954         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
8955         * nptl/pthread_attr_setaffinity.c: Include it.
8956         * nptl/pthread_setattr_default_np.c: Likewise.
8957         * nptl/check-cpuset.h: New file.
8959 2015-01-08  Richard Henderson  <rth@redhat.com>
8961         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
8962         (CFLAGS-tst-execstack-prog.c): Likewise.
8963         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
8965 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
8966             Sandra Loosemore  <sandra@codesourcery.com>
8967             Andrew Jenner  <andrew@codesourcery.com>
8968             Joseph Myers  <joseph@codesourcery.com>
8969             Nathan Sidwell  <nathan@codesourcery.com>
8971         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
8972         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
8973         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
8974         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
8975         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
8976         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
8977         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
8978         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
8979         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
8980         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
8981         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
8982         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
8983         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
8984         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
8985         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
8986         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
8987         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
8989 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8991         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
8992         timespec struct member in syscall macro.
8993         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
8994         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
8995         first timeval struct member in syscall macro.
8996         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
8998 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
9000         [BZ #17748]
9001         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
9002         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
9003         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
9004         __feupdateenv and define as weak alias of __feupdateenv.  Use
9005         libm_hidden_weak.
9006         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
9007         libm_hidden_def.
9008         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
9009         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
9010         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
9011         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
9012         libm_hidden_def.
9013         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
9014         __feupdateenv and define as weak alias of __feupdateenv.  Use
9015         libm_hidden_weak.
9016         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
9017         libm_hidden_def.
9018         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
9019         __feupdateenv and define as weak alias of __feupdateenv.  Use
9020         libm_hidden_weak.
9021         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
9022         libm_hidden_def.
9023         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9024         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
9025         (__feupdateenv): Likewise.
9026         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
9027         __feupdateenv and define as weak alias of __feupdateenv.  Use
9028         libm_hidden_weak.
9029         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9030         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
9031         libm_hidden_def.
9032         * sysdeps/tile/math_private.h (__feupdateenv): New inline
9033         function.
9034         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
9035         libm_hidden_def.
9036         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
9037         __feupdateenv instead of feupdateenv.
9038         (default_libc_feupdateenv_test): Likewise.
9039         (libc_feresetround_ctx): Likewise.
9041 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9043         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
9044         prototype.
9046 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
9048         * posix/regcomp.c (parse_bracket_exp): Initialize type to
9049         COLL_SYM in a couple of places to avoid uninitialized variable
9050         wanings on tilegx gcc 4.8.2.
9052 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
9054         * sysdeps/aarch64/strcpy.S: New file.
9055         * sysdeps/aarch64/stpcpy.S: New file.
9056         * NEWS: Updated.
9058 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
9060         * sysdeps/aarch64/strrchr.S: New file.
9061         * NEWS: Updated.
9063 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
9065         [BZ #17658]
9066         * stdlib/setenv.c: Fix memory leak when setting large,
9067         duplicate string.
9069 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
9071         [BZ #17273]
9072         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
9073         and tabs from buffer before parsing fstab entry.
9074         * misc/tst-mntent.c (main): Add test for mount entry with
9075         trailing spaces and tabs.
9077 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
9079         [BZ #17748]
9080         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
9081         * math/fesetround.c (fesetround): Rename to __fesetround and
9082         define as weak alias of __fesetround.  Use libm_hidden_weak.
9083         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
9084         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
9085         * sysdeps/arm/fesetround.c (fesetround): Likewise.
9086         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
9087         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
9088         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
9089         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
9090         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
9091         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
9092         __fesetround_inline.
9093         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
9094         __fesetround_inline instead of __fesetround.
9095         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
9096         __fesetround and define as weak alias of __fesetround.  Use
9097         libm_hidden_weak.  Call __fesetround_inline instead of
9098         __fesetround.
9099         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
9100         __fesetround and define as weak alias of __fesetround.  Use
9101         libm_hidden_weak.
9102         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
9103         Likewise.
9104         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
9105         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9106         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
9107         * sysdeps/tile/math_private.h (__fesetround): New inline function.
9108         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
9109         __fesetround and define as weak alias of __fesetround.  Use
9110         libm_hidden_weak.
9111         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
9112         __fesetround instead of fesetround.
9113         (default_libc_feholdexcept_setround): Likewise.
9114         (libc_feholdsetround_ctx): Likewise.
9115         (libc_feholdsetround_noex_ctx): Likewise.
9117         [BZ #17748]
9118         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
9119         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
9120         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
9121         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
9122         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9123         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
9124         define as weak alias of __fesetenv.  Use libm_hidden_weak.
9125         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
9126         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9127         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
9128         define as weak alias of __fesetenv.  Use libm_hidden_weak.
9129         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9130         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
9131         define as weak alias of __fesetenv.  Use libm_hidden_weak.
9132         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
9133         libm_hidden_def.
9134         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
9135         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
9136         Likewise.
9137         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
9138         define as weak alias of __fesetenv.  Use libm_hidden_weak.
9139         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
9140         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9141         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
9142         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
9143         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
9144         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
9145         __fesetenv instead of fesetenv.
9146         (libc_feresetround_noex_ctx): Likewise.
9147         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
9148         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
9149         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
9150         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
9151         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
9152         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
9153         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9154         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
9155         (__feupdateenv): Likewise.
9156         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9157         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9158         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9159         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
9161 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
9163         [BZ #17806]
9164         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
9165         addresses have been freed.
9167 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
9169         * resolv/res_init.c (__res_vinit): Improve comments about nserv
9170         and nservall.
9172 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
9174         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
9175         Clean up check_pf allocation pattern. addresses
9177 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9179         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
9180         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
9181         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
9182         * nptl/pthread_exit.c (__pthread_exit): Likewise.
9183         * nptl/pthread_join.c (pthread_join): Likewise.
9184         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
9185         * sysdeps/posix/waitid.c (__waitid): Likewise.
9186         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
9187         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
9188         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
9189         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
9190         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
9191         Likewise.
9192         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
9193         (__libc_pread64): Likewise.
9194         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
9195         (__libc_pwrite): Likewise.
9196         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
9197         (__libc_pwrite64): Likewsie.
9198         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
9199         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
9200         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
9201         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
9202         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
9203         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
9204         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
9206         Likewise.
9207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9208         (__libc_pread64): Likewise.
9209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
9210         Likewise.
9211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9212         (__libc_pwrite64): Likewise.
9213         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
9214         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
9215         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
9216         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
9217         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
9218         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
9219         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
9220         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
9221         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
9222         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
9223         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
9224         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
9225         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
9226         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
9227         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
9228         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
9229         Likewise.
9231 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
9233         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
9234         (CFLAGS-test-double.c): Likewise.
9235         (CFLAGS-test-ldouble.c): Likewise.
9236         (CPPFLAGS-test-ifloat.c): Likewise.
9237         (CPPFLAGS-test-idouble.c): Likewise.
9238         (CPPFLAGS-test-ildoubl.c): Likewise.
9239         (CFLAGS-test-test-fenv.c): Remove variable.
9240         (CFLAGS-test-misc.c): Likewise.
9242 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
9244         [BZ #17797]
9245         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
9246         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
9247         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
9248         CLOCKS_PER_SEC == 1000000.
9249         * time/clocktest.c (main): Replace %ld with %jd and cast to
9250         intmax_t.
9252 2015-01-05  Roland McGrath  <roland@hack.frob.com>
9254         * sysdeps/generic/unwind-resume.h: New file.
9255         * sysdeps/gnu/unwind-resume.c: Include it.
9256         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
9257         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
9258         argument list.
9259         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
9260         global rather than static.
9261         (_Unwind_Resume): Update user.
9262         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
9263         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
9264         rather than static.  Add __attribute__ ((cold)).
9265         (_Unwind_Resume, __gcc_personality_v0): Update callers.
9266         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
9267         * sysdeps/arm/arm-unwind-resume.S: New file.
9268         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
9269         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
9270         * sysdeps/arm/Makefile [$(subdir) = csu]
9271         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
9272         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
9273         Add rt-arm-unwind-resume.
9274         [$(subdir) = nptl]
9275         (libpthread-sysdep_routines, libpthread-shared-only-routines):
9276         Add pt-arm-unwind-resume.
9277         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
9278         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
9280 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
9282         [BZ #17748]
9283         * include/fenv.h (__feholdexcept): Declare.  Use
9284         libm_hidden_proto.
9285         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
9286         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
9287         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9288         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
9289         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
9290         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
9291         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
9292         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9293         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
9294         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
9295         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9296         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
9297         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
9298         (feholdexcept): Likewise.
9299         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
9300         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
9301         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9302         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9303         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
9304         __feholdexcept instead of feholdexcept.
9305         (default_libc_feholdexcept_setround): Likewise.
9307 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
9309         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
9310         to avoid using stl/str to align destination.
9312 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
9314         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
9316 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
9318         [BZ #17796]
9319         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
9320         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
9321         Define as weak alias not strong alias.
9323 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
9325         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
9326         bltzal with addiupc.
9327         (RTLD_START): Ditto.
9329 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
9331         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
9332         for __vdso_* functions in declarations.
9333         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
9334         definitions.
9335         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
9336         INTERNAL_VSYSCALL): Use struct return types to check for error.
9338         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
9339         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
9340         function with cast from llround().
9341         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
9342         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
9343         Define.
9345 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
9347         [BZ #17793]
9348         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
9349         Define as weak alias not strong alias.
9351         [BZ #17635]
9352         * ctype/ctype-c99.c: New file.  isblank implementation moved from
9353         ...
9354         * ctype/ctype-extn.c: ... here.
9355         (__isblank_l): Move to ...
9356         * ctype/ctype-c99_l.c: ... here.  New file.
9357         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
9358         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
9359         Remove variable.
9360         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
9361         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
9362         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
9363         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
9364         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
9366         [BZ #17777]
9367         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
9368         (posix_fadvise64): Define as weak alias not strong alias.
9369         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9370         (posix_fallocate64): Likewise.
9371         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
9372         Remove variable.
9373         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
9374         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
9375         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
9376         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
9377         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
9379 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
9381         [BZ #16191]
9382         * NEWS: Mention bug fix.
9383         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
9384         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
9385         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
9386         (HOST_STACK_END_ADDR): Likewise.
9388 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
9390         [BZ #17748]
9391         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
9392         * math/fegetround.c (fegetround): Rename to __fegetround and
9393         define as weak alias of __fegetround.  Use libm_hidden_weak.
9394         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
9395         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
9396         * sysdeps/arm/fegetround.c (fegetround): Likewise.
9397         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
9398         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9399         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
9400         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
9401         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
9402         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9403         Undefine after rather than before function definition; use
9404         parentheses around function name in definition.
9405         (__fegetround): Also undefine macro after function definition.
9406         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
9407         __fegetround and define as weak alias of __fegetround.  Use
9408         libm_hidden_weak.  Do not undefine as macro.
9409         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9410         Likewise.
9411         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
9412         __fegetround and define as weak alias of __fegetround.  Use
9413         libm_hidden_weak.
9414         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9415         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9416         * sysdeps/tile/math_private.h (__fegetround): New inline function.
9417         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
9418         __fegetround and define as weak alias of __fegetround.  Use
9419         libm_hidden_weak.
9420         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
9421         __fegetround instead of fegetround.
9423         [BZ #17782]
9424         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
9425         Condition macro definition on [__USE_MISC].
9427         [BZ #17781]
9428         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
9429         (struct sigaction): Change type of sa_flags field to int.
9431         [BZ #17780]
9432         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
9433         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
9434         __glibc_reserved0.
9436         * nptl/version.c (banner): Use single year in copyright notice.
9438         * NEWS: Update copyright dates.
9439         * catgets/gencat.c (print_version): Likewise.
9440         * csu/version.c (banner): Likewise.
9441         * debug/catchsegv.sh: Likewise.
9442         * debug/pcprofiledump.c (print_version): Likewise.
9443         * debug/xtrace.sh (do_version): Likewise.
9444         * elf/ldconfig.c (print_version): Likewise.
9445         * elf/ldd.bash.in: Likewise.
9446         * elf/pldd.c (print_version): Likewise.
9447         * elf/sotruss.sh: Likewise.
9448         * elf/sprof.c (print_version): Likewise.
9449         * iconv/iconv_prog.c (print_version): Likewise.
9450         * iconv/iconvconfig.c (print_version): Likewise.
9451         * locale/programs/locale.c (print_version): Likewise.
9452         * locale/programs/localedef.c (print_version): Likewise.
9453         * login/programs/pt_chown.c (print_version): Likewise.
9454         * malloc/memusage.sh (do_version): Likewise.
9455         * malloc/memusagestat.c (print_version): Likewise.
9456         * malloc/mtrace.pl: Likewise.
9457         * manual/libc.texinfo: Likewise.
9458         * nptl/version.c (banner): Likewise.
9459         * nscd/nscd.c (print_version): Likewise.
9460         * nss/getent.c (print_version): Likewise.
9461         * nss/makedb.c (print_version): Likewise.
9462         * posix/getconf.c (main): Likewise.
9463         * scripts/test-installation.pl: Likewise.
9464         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
9466 2015-01-02  Will Newton  <will.newton@linaro.org>
9468         * sysdeps/arm/armv7/configure: Removed.
9469         * sysdeps/arm/armv7/configure.ac: Likewise.
9471 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
9473         * All files with FSF copyright notices: Update copyright dates
9474         using scripts/update-copyrights.
9475         * intl/plural.c: Regenerated.
9476         * locale/programs/charmap-kw.h: Likewise.
9477         * locale/programs/locfile-kw.h: Likewise.
9479 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9481         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
9483 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
9485         [BZ #17748]
9486         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
9487         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
9488         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
9489         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
9490         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9491         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
9492         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9493         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
9494         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9495         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
9496         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9497         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9498         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
9499         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9500         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
9501         libm_hidden_def.
9502         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
9503         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
9504         Likewise.
9505         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
9506         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9507         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
9508         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9509         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
9510         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
9511         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
9512         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
9513         __fegetenv instead of fegetenv.
9514         (libc_feholdsetround_noex_ctx): Likewise.
9516 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
9518         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
9519         (Elf_MIPS_ABIFlags_v0): New structure.
9520         (EF_MIPS_FP64): Define.
9521         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
9522         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
9523         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
9524         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
9525         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
9526         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
9527         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
9528         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
9529         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
9530         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
9531         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
9532         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
9533         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
9534         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
9535         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
9536         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
9537         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
9538         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
9539         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
9540         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
9541         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
9542         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
9543         field.
9544         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
9545         EF_MIPS_FP64.
9546         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
9547         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
9548         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
9549         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
9550         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
9551         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
9552         * sysdeps/mips/tst-abi-interlink.c: Likewise.
9553         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
9554         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
9555         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
9556         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
9557         record the current FP ABI extension.
9558         (mips-mode-switch): Define to show if kernel headers support mode
9559         switching.
9560         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9561         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
9562         supported SYSV ABI version to 3.
9563         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
9564         feature.
9566 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9567             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9569         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
9570         path.
9571         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
9573 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
9575         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
9576         __fegetround and redefine to call __fegetround.  Remove condition
9577         on [!__NO_MATH_INLINES].
9578         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
9579         function.
9580         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
9581         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9582         Remove macro.
9583         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
9584         instead of <fenv_libc.h>.
9585         (__llrintl): Call fegetround instead of __fegetround.
9586         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
9587         instead of <fenv_libc.h>.
9588         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9589         (__lrintl): Call fegetround instead of __fegetround.
9590         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
9591         instead of <fenv_libc.h>.
9592         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9593         (__rintl): Call fegetround instead of __fegetround.
9595 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
9597         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
9598         arrays.
9600 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
9602         [BZ #17775]
9603         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
9604         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
9605         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
9607 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9609         * sysdeps/i386/tls-macros.h: Include <features.h>.
9610         (TLS_LE): Use non-PIC version for GCC >= 5.0.
9611         (TLS_IE): Likewise.
9612         (TLS_LD): Likewise.
9613         (TLS_GD): Likewise.
9614         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
9615         define for GCC >= 5.0.
9617 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
9619         * math/test-fenv.c (test_single_exception, set_single_exc,
9620         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
9621         feexcp_mask_test, feenable_test, fe_single_test): Add
9622         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
9623         case where they are not used.
9624         * math/libm-test.inc: Likewise.
9625         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
9626         unused in the absence of FP rounding/exception support.
9627         * stdio-common/tst-printf-round.c: Likewise.
9628         * stdlib/tst-strtod-round.c: Likewise.
9629         * stdlib/tst-strtod-underflow.c: Likewise.
9631 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
9633         [BZ #17723]
9634         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
9635         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
9636         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9637         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9638         libm_hidden_weak.
9639         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
9640         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
9641         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
9642         libm_hidden_def.
9643         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9644         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9645         libm_hidden_weak.
9646         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
9647         Likewise.
9648         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
9649         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9650         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9651         libm_hidden_weak.
9652         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
9653         libm_hidden_def.
9654         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9655         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
9656         (__feraiseexcept): Likewise.
9657         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9658         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9659         libm_hidden_weak.
9660         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
9661         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
9662         libm_hidden_def.
9663         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
9664         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
9665         Use libm_hidden_def.
9666         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
9667         libm_hidden_def.
9668         (feraiseexcept): Define as weak not strong alias.  Use
9669         libm_hidden_weak.
9670         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
9671         New inline function.  Factored out of ...
9672         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
9673         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
9674         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
9675         feraiseexcept.
9676         * math/w_acos.c (__acos): Likewise.
9677         * math/w_asin.c (__asin): Likewise.
9678         * math/w_ilogb.c (__ilogb): Likewise.
9679         * math/w_j0.c (y0): Likewise.
9680         * math/w_j1.c (y1): Likewise.
9681         * math/w_jn.c (yn): Likewise.
9682         * math/w_log.c (__log): Likewise.
9683         * math/w_log10.c (__log10): Likewise.
9684         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
9685         * sysdeps/aarch64/fpu/math_private.h
9686         (libc_feupdateenv_test_aarch64): Likewise.
9687         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
9688         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
9689         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
9690         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
9691         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
9692         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
9693         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
9694         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9695         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9696         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9698 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
9700         [BZ #17732]
9701         * io/test-utime.c (main): Replace %ld with %jd and cast to
9702         intmax_t.
9703         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
9704         * nptl/tst-mutex5.c: Include <stdint.h>.
9705         (do_test): Replace %ld with %jd and cast to intmax_t.
9706         * posix/tst-regex.c (run_test): Likewise.
9707         (run_test_backwards): Likewise.
9708         * rt/tst-clock.c: Include <stdint.h>.
9709         (clock_test): Replace %ld with %jd and cast to intmax_t.
9710         * rt/tst-cpuclock1.c: Include <stdint.h>.
9711         (do_test): Replace %lu with %ju and cast to uintmax_t.
9712         * rt/tst-cpuclock2.c: Include <stdint.h>.
9713         (do_test): Replace %lu with %ju and cast to uintmax_t.
9714         * rt/tst-mqueue1.c: Include <stdint.h>.
9715         (check_attrs): Replace %ld with %jd and cast to intmax_t.
9716         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
9717         intmax_t.
9718         * rt/tst-mqueue4.c (do_test): Likewise.
9719         * rt/tst-timer4.c: Include <stdint.h>.
9720         (check_ts): Replace %ld with %jd and cast to intmax_t.
9721         (do_test): Likewise.
9722         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
9723         and cast to intmax_t.
9724         * sysdeps/pthread/tst-timer.c (main): Likewise.
9725         * time/clocktest.c (main): Likewise.
9726         * time/tst-posixtz.c (do_test): Likewise.
9727         * timezone/tst-timezone.c (main): Likewise.
9729 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9730             H.J. Lu  <hongjiu.lu@intel.com>
9732         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
9733         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
9734         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
9735         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
9736         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
9737         version if bit_Fast_Unaligned_Load is set.
9738         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9739         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9740         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9741         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9742         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9743         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9744         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9745         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
9746         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
9747         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
9748         to 4.
9749         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
9750         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
9751         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
9752         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
9754 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
9756         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
9757         instead of #if to avoid a Wundef warning.
9758         * stdlib/tst-limits.c (do_test): Likewise.
9760         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
9761         parallel other exception macros.
9762         (fegetenv): Convert from macro to extern inline so that it applies
9763         retroactively to inline functions already seen by the compiler.
9764         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
9766         * posix/Makefile (before-compile): Use $(objpfx) for
9767         posix-conf-vars-def.h.
9769 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9771         * posix/getconf.c (main): Use size_t for type of I.
9772         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
9773         NSPEC.
9775         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
9776         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
9777         * posix/posix-envs.def: Likewise.
9778         * sysdeps/posix/sysconf.c: Likewise.
9779         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
9780         (specs): Remove array.
9781         * scripts/gen-posix-conf-vars.awk: Support generation of specs
9782         array.
9784         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
9785         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
9786         (__sysconf): Use CONF_IS_* macros.
9788         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
9789         ($(objpfx)posix-conf-vars-def.h): New target.
9790         * posix/posix-conf-vars.list: New file.
9791         * posix/posix-conf-vars.h: New file.
9792         * posix/confstr.c: Include posix-conf-vars.h.
9793         (confstr): Use CONF_IS_* macros.
9794         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
9795         CONF_IS_* macros.
9796         * scripts/gen-posix-conf-vars.awk: New file.
9798 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
9800         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
9801         fegetround): Add no-op macros to avoid linknamespace issues.
9803         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
9804         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
9806         * sysdeps/unix/sysv/linux/tile/sysdep.h
9807         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
9808         assembly-specific section to avoid a redefinition warning.
9810         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
9811         long before casting to pointer to avoid a cast warning.
9813 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
9815         * sysdeps/tile/tilegx/Implies: New file.
9817 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
9819         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
9821 2014-12-23  Florian Weimer  <fweimer@redhat.com>
9823         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
9825 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9827         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
9828         not define.
9829         * sysdeps/unix/sysv/linux/utimes.c: Do not include
9830         <kernel-features.h>.
9831         (__utimes) [__NR_utimes]: Make code unconditional.
9832         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
9833         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9834         (__ASSUME_UTIMES): Do not undefine.
9835         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9836         (__ASSUME_UTIMES): Likewise.
9837         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9838         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
9839         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
9840         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
9842 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
9844         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
9846 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
9848         [BZ #17747]
9849         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
9850         alias to weak alias for j0l, y0l.
9851         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
9852         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
9854         [BZ #17746]
9855         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
9856         conversion.
9858 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
9860         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
9861         to zero if not already defined.
9863 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9865         [BZ #17724]
9866         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
9867         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
9868         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
9869         (char *) casts added.
9870         * sysdeps/ieee754/k_standardf.c: New file.
9871         * sysdeps/ieee754/k_standardl.c: Likewise.
9872         * math/Makefile (libm-support): Remove k_standard.
9873         (libm-calls): Add k_standard.
9875 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9877         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9878         Optimize to avoid an unnecessary FPCR read.
9880 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9882         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
9883         Optimize to reduce FPCR/FPSR accesses.
9885 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9887         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
9888         Call libc_fetestexcept_aarch64.
9890 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9892         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
9893         Call libc_fesetround_aarch64.
9895 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9897         [BZ #17733]
9898         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
9899         (__bind): Do not define as weak alias.
9900         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
9901         define.
9902         (__getsockname): Do not define as weak alias.
9904 2014-12-22  Will Newton  <will.newton@linaro.org>
9906         * manual/install.texi: Document that we require bison 2.7
9907         or above.
9908         * INSTALL: Regenerate.
9909         * configure.ac: Use AC_CHECK_PROG_VER instead of
9910         AC_PATH_PROG when checking for bison and check for
9911         version 2.7 or above.
9912         * configure: Regenerate.
9914 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
9916         [BZ #17745]
9917         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
9918         * sysdeps/tile/ffsll.c (ffsll): To here.
9920         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
9922 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
9924         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
9925         if not defined.
9926         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
9927         definition.
9928         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
9929         hidden ___tls_get_addr.
9930         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
9931         hidden __tls_get_addr.
9932         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
9933         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
9934         Likewise.
9936 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
9938         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
9939         _dl_init call.
9941 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
9943         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
9944         from "call _dl_init@PLT".
9945         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
9947 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
9949         * manual/search.texi: (Array Sort Function): Clarify stable sorting
9950         guarantees.
9952 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
9954         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
9956 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
9958         [BZ #17744]
9959         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
9960         strnlen.
9962 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
9964         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
9965         of multu on MIPSr6.
9966         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
9967         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
9968         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
9969         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
9970         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
9972 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
9974         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
9975         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
9976         (PTR_SUBU): Use subu for mips32r6/mips64r6.
9977         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9978         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
9979         mips32r6/mips64r6.
9980         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
9982 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
9984         * string/strncat.c (STRNCAT): Simplify implementation.
9986 2014-12-19  David S. Miller  <davem@davemloft.net>
9988         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
9989         access the quad as both a long double and as a series of 4 words.
9991         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
9992         link_map->l_info array access.
9994 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
9996         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
9998         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
9999         * math/atest-exp2.c (TIMEOUT): Likewise.
10000         * math/atest-sincos.c (TIMEOUT): Likewise.
10002 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
10004         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
10005         -Wno-error with -fno-builtin-lround.
10007 2014-12-19  Torvald Riegel  <triegel@redhat.com>
10009         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
10010         Contains futex constants and functions moved over from ...
10011         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
10012         <lowlevellock-futex.h>.
10013         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
10014         (lll_timedwait_tid): Add comments and parentheses around macro
10015         arguments.
10017 2014-12-19  Torvald Riegel  <triegel@redhat.com>
10019         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
10020         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
10021         (__lll_private_flag): Remove.
10022         (lll_futex_wait): Likewise.
10023         (lll_futex_timed_wait): Likewise.
10024         (lll_futex_wake): Likewise.
10025         (lll_futex_requeue): Likewise.
10026         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
10027         (__lll_timedwait_tid): Spell out argument names.
10028         (lll_timedwait_tid): Add comments and parentheses around macro
10029         arguments.
10030         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
10031         LLL_SHARED and LLL_PRIVATE usable from assembly code.
10033 2014-12-19  Torvald Riegel  <triegel@redhat.com>
10035         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
10036         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
10037         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10038         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
10039         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
10040         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
10041         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
10042         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
10043         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
10044         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
10045         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
10046         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
10047         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
10048         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
10049         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
10050         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
10051         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
10052         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
10053         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
10055 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
10057         * sysdeps/x86_64/x32/Makefile: New file.
10059 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
10061         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
10062         1L with (mp_limb_t) 1.
10064 2014-12-17  Roland McGrath  <roland@hack.frob.com>
10066         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
10067         * nptl/libc_pthread_init.c: ... here.
10068         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
10069         * nptl/register-atfork.c: ... here.
10071         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
10072         Use pthread_sigmask rather than INTERNAL_SYSCALL.
10073         Use assert_perror to check its return value.
10074         (__gai_create_helper_thread): Likewise.
10076         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
10078         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
10080 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
10082         [BZ #17725]
10083         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
10084         __profil_counter.
10085         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
10086         Likewise.
10087         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
10088         Likewise.
10089         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
10090         Likewise.
10091         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
10092         (profil_counter): Likewise.
10093         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
10094         (profil_counter): Likewise.
10095         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
10096         Likewise.
10097         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
10098         Likewise.
10099         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
10100         (profil_counter): Likewise.
10101         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
10102         Likewise.
10103         [!__profil_counter] (profil_counter): Define as weak alias of
10104         __profil_counter.
10105         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
10106         (profil_counter): Rename to __profil_counter.
10107         [!__profil_counter] (profil_counter): Define as weak alias of
10108         __profil_counter.
10109         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
10110         (profil_counter): Rename to __profil_counter.
10111         [!__profil_counter] (profil_counter): Define as weak alias of
10112         __profil_counter.
10113         * sysdeps/posix/profil.c: Update comment referring to
10114         profil_counter.
10115         (__profil): Use __profil_counter instead of profil_counter.
10116         * sysdeps/posix/sprofil.c (profil_counter): Rename to
10117         __profil_counter.  Use __profil_counter_ushort and
10118         __profil_counter_uint in definitions.
10119         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
10120         instead of profil_counter_uint and profil_counter_ushort.
10122         [BZ #17722]
10123         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
10124         define as weak alias of __inet_makeaddr.
10125         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
10126         as weak alias of __inet_addr.
10127         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
10128         as weak alias of __inet_pton.  Use libc_hidden_weak.
10129         * include/arpa/inet.h (__inet_pton): Declare.  Use
10130         libc_hidden_proto.
10131         (inet_makeaddr): Don't use libc_hidden_proto.
10132         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
10133         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
10134         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
10135         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
10136         Remove variable.
10137         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
10138         (test-xfail-POSIX/time.h/linknamespace): Likewise.
10140 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
10142         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
10144 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
10146         * stdio-common/bug-vfprintf-nargs.c (do_test):
10147         Cast value to intptr_t to avoid format warning
10148         for usage with PRIdPTR printing macro.
10150 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
10152         * libio/tst-widetext.c (do_test):
10153         Use format type %td instead of %Zd for ptrdiff_t
10154         in order to avoid format warning.
10156 2014-12-17  Andreas Schwab  <schwab@suse.de>
10158         * nscd/mem.c (gc): Add size_t cast to match printf format.
10160 2014-12-16  Roland McGrath  <roland@hack.frob.com>
10162         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
10163         (init): Apply PTR_MANGLE to pointers before storing them.
10164         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
10165         before using them.
10167 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
10169         [BZ #17719]
10170         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
10171         define as weak alias of __memrchr.
10172         (__memrchr): Do not define as strong alias of memrchr.
10173         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
10174         Remove variable.
10175         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
10176         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
10177         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
10179         [BZ #17717]
10180         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
10181         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
10182         (if_indextoname): Rename to __if_indextoname and define as weak
10183         alias of __if_indextoname.  Use libc_hidden_weak.
10184         (if_freenameindex): Rename to __if_freenameindex and define as
10185         weak alias of __if_freenameindex.
10186         (if_nameindex): Rename to __if_nameindex and define as weak alias
10187         of __if_nameindex.
10188         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
10189         __if_nametoindex and define as weak alias of __if_nametoindex.
10190         Use libc_hidden_weak.
10191         (if_freenameindex): Rename to __if_freenameindex and define as
10192         weak alias of __if_freenameindex.
10193         (if_nameindex): Rename to __if_nameindex and define as weak alias
10194         of __if_nameindex.
10195         (if_indextoname): Rename to __if_indextoname and define as weak
10196         alias of __if_indextoname.  Use libc_hidden_weak.
10197         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
10198         __if_nametoindex and define as weak alias of __if_nametoindex.
10199         Use libc_hidden_weak.
10200         (if_freenameindex): Rename to __if_freenameindex and define as
10201         weak alias of __if_freenameindex.  Use libc_hidden_weak.
10202         (if_nameindex_netlink): Use __if_freenameindex instead of
10203         if_freenameindex.
10204         (if_nameindex): Rename to __if_nameindex and define as weak alias
10205         of __if_nameindex.  Use libc_hidden_weak.
10206         (if_indextoname): Rename to __if_indextoname and define as weak
10207         alias of __if_indextoname.  Use libc_hidden_weak.
10208         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
10209         libc_hidden_proto.
10210         [!_ISOMAC] (__if_freenameindex): Likewise.
10211         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
10212         if_nametoindex.
10213         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
10214         variable.
10215         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
10216         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
10217         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
10218         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
10219         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
10220         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
10221         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
10223         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
10224         Remove variable.
10225         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
10226         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
10228 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10230         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
10231         subscript above bounds'
10233         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
10234         bounds.
10236 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
10238         * libio/tst-fopenloc.c: Use test-skeleton.c.
10240         * stdlib/tst-bsearch.c: Use test-skeleton.c.
10241         (entry): Rename to ITEM.
10242         (do_test, comp): Adjust.
10244         * stdio-common/tst-fseek.c: Use test-skeleton.c.
10246 2014-12-16  Torvald Riegel  <triegel@redhat.com>
10248         * string/tester.c: Include <libc-internal.h>.
10249         (test_memset): Ignore -Wmemset-transposed-args.
10251 2014-12-16  Torvald Riegel  <triegel@redhat.com>
10253         * misc/tst-mntent2.c (do_test): Fix warning.
10255 2014-12-16  Torvald Riegel  <triegel@redhat.com>
10257         * elf/tst-unique4lib.cc(a): Mark as used.
10259 2014-12-16  Florian Weimer  <fweimer@redhat.com>
10261         [BZ #17630]
10262         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
10263         names.
10265 2014-12-16  Allan McRae  <allan@archlinux.org>
10267         * stdio-common/Makefile (tests): Re-add bug26.
10269 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
10271         [BZ #17657]
10272         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
10273         static array.
10275 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
10277         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
10278         (__lll_lock_wait): Likewise.
10279         (__lll_timedlock_wait): Likewise.
10280         (__lll_timedwait_tid): Likewise.
10281         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
10282         (__lll_robust_timedlock_wait): Likewise.
10283         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
10284         (lll_cond_trylock): Likewise.
10285         (__lll_lock): Likewise.
10286         (__lll_robust_lock): Likewise.
10287         (__lll_cond_lock): Likewise.
10288         (lll_robust_cond_lock): Likewise.
10289         (__lll_timedlock): Likewise.
10290         (__lll_robust_timedlock): Likewise.
10291         (__lll_unlock): Likewise.
10292         (__lll_robust_unlock): Likewise.
10293         (lll_wait_tid): Likewise.
10294         (lll_timedwait_tid): Likewise.
10296 2014-12-15  Torvald Riegel  <triegel@redhat.com>
10298         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
10300 2014-12-15  Torvald Riegel  <triegel@redhat.com>
10302         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
10304 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
10306         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
10307         * stdio-common/tst-sprintf.c: Likewise.
10309 2014-12-15  Torvald Riegel  <triegel@redhat.com>
10311         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
10313 2014-12-15  Jeff Law  <law@redhat.com>
10315         [BZ #16617]
10316         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
10317         on the heap.  (CVE-2012-3406)
10318         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
10319         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
10320         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
10322 2014-12-15  Will Newton  <will.newton@linaro.org>
10324         * manual/install.texi: Bump required version of texinfo
10325         to 4.7 from 4.5.
10326         * INSTALL: Regenerated.
10327         * configure.ac: Check for makeinfo version 4.7 and above.
10328         * configure: Regenerated.
10330 2014-12-12  Roland McGrath  <roland@hack.frob.com>
10332         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
10333         PREFIX, string constant to insert between directory and name.
10334         * sysdeps/posix/shm_open.c: Update caller.
10335         * sysdeps/posix/shm_unlink.c: Likewise.
10336         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
10337         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
10338         (SEM_SHM_PREFIX): New macro.
10339         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
10340         [$(have-thread-library) = no].
10341         * nptl/Makefile (libpthread-routines): Add shm-directory.
10342         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
10343         * sysdeps/nptl/shm-directory.h: New file.
10344         * sysdeps/posix/shm-directory.c
10345         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
10346         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
10347         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
10348         INTERNAL_SYSCALL.
10349         (__where_is_shmfs): Function removed.
10350         (mountpoint, defaultmount, defaultdir, __namedsem_once):
10351         Variables removed.
10352         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
10353         Use SHM_GET_NAME.
10354         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
10356         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
10357         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
10358         unconditional for use inside libpthread.
10359         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
10361 2014-12-12  Roland McGrath  <roland@hack.frob.com>
10363         * nptl/pthread_getaffinity.c: New file.
10364         * nptl/pthread_setaffinity.c: New file.
10365         * nptl/pthread_getname.c: New file.
10366         * nptl/pthread_setname.c: New file.
10368         * nptl/pthread_create.c (START_THREAD_DEFN)
10369         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
10371 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
10372             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10374         * resolv/res_send.c (send_vc): Disable warning resplen may
10375         be used uninitialized.
10377 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
10379         * nptl/tst-mutex6.c
10380         (ATTR_NULL): New define checks ATTR against NULL.
10381         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
10382         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
10384 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
10386         [BZ #17581]
10387         * malloc/hooks.c
10388         (mem2mem_check): Revert my previous change.
10389         (malloc_check_get_size): Revert my previous change.
10390         (mem2chunk_check): Revert my previous change.
10392 2014-12-11  Roland McGrath  <roland@hack.frob.com>
10394         * sysdeps/posix/shm-directory.c: New file.
10395         * sysdeps/posix/shm-directory.h: New file.
10396         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
10397         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
10398         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
10399         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
10400         Transmute EPERM to EACCES.
10401         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
10402         from ...
10403         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
10404         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
10406 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10408         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
10409         pointer and cast to uintptr_t.
10410         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
10411         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
10412         Add cast to avoid warning.
10413         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
10415 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
10417         * nptl/semaphore.h: Move to ...
10418         * sysdeps/pthread/semaphore.h: ... here.
10419         * Makefile (installed-headers): Change nptl/semaphore.h to
10420         sysdeps/pthread/semaphore.h.
10422 2014-12-11  Roland McGrath  <roland@hack.frob.com>
10424         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
10425         generated error format strings.
10427         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
10428         -Wformat-extra-args warnings for scanf formats.
10429         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
10430         test of zero-length format (duh).
10431         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
10432         corner-case scanf format test.
10433         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
10434         generated fprintf format string.
10435         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
10436         corner-case sprintf format tests.
10437         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
10438         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
10439         -Wformat-extra-args warnings throughout.
10440         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
10441         (CFLAGS-scanf4.c): Likewise.
10442         (CFLAGS-scanf7.c): Likewise.
10443         (CFLAGS-tst-sprintf.c): Likewise.
10444         (CFLAGS-tst-printf.c): Likewise.
10445         (CFLAGS-tst-printfsz.c): Likewise.
10447 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
10449         * include/cpio.h: New file.
10450         * include/fmtmsg.h: Likewise.
10452         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
10453         corresponding format argument to size_t.
10454         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
10455         arguments.
10456         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
10457         corresponding format argument to size_t.
10458         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
10459         arguments.
10460         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
10461         corresponding format argument to size_t.
10462         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
10463         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
10464         (CFLAGS-tst-mbswcs2.c): Likewise.
10465         (CFLAGS-tst-mbswcs3.c): Likewise.
10466         (CFLAGS-tst-mbswcs4.c): Likewise.
10467         (CFLAGS-tst-mbswcs5.c): Likewise.
10468         (CFLAGS-tst-trans.c): Likewise
10470 2014-12-11  Roland McGrath  <roland@hack.frob.com>
10472         * posix/regexbug1.c (main): Use "%s" format with regerror results,
10473         rather than assuming they won't contain any '%'s.
10475 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
10477         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
10478         inhibit_loop_to_libcall to avoid recursive calls.
10479         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
10480         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
10482 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
10484         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
10485         prototype.
10487 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
10489         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
10490         integer value instead of boolean.
10492 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
10494         * malloc/malloc.c: Fix powerof2 check.
10496 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10498         * locale/programs/locfile.h (maybe_swap_uint32):
10499         Remove inline and add unused attribute.
10501 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10503         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
10504         Truncating assembler expression to a .long expression.
10506 2014-12-11  Andreas Schwab  <schwab@suse.de>
10508         * elf/rtld.c (struct map_args): Constify str member.
10509         (do_preload): Constify fname argument.
10511 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10513         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
10514         constants definition.
10516 2014-12-11  Andreas Schwab  <schwab@suse.de>
10518         [BZ #16657]
10519         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
10520         FORCE_ELISION instead of DO_ELISION.
10521         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
10522         Remove.
10523         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
10524         Likewise.
10526         * iconvdata/gconv-modules: Remove duplicate entry.
10528 2014-12-11  Will Newton  <will.newton@linaro.org>
10530         Merge gettext 0.19.3 into intl/.
10532         This involves a number of cosmetic changes to comments
10533         and ANSI function definitions and prototypes throughout
10534         all the files. The gettext copyright header is used but
10535         with the date ranges taken from the glibc copy.
10537         * NEWS: Add gettext merge to 2.21.
10538         * intl/bindtextdom.c: Switch to gettext copyright.
10539         Use ANSI definitions and prototypes.
10540         Use gl_* locking primitives rather than __libc_* ones.
10541         Use __builtin_expect rather than __glibc_likely/unlikely.
10542         * intl/dcgettext.c: Switch to gettext copyright.
10543         Use ANSI definitions and prototypes.
10544         * intl/dcigettext.c: Switch to gettext copyright.
10545         Use ANSI definitions and prototypes.
10546         (INTDIV0_RAISES_SIGFPE): New define.
10547         Use gl_* locking primitives rather than __libc_* ones.
10548         Include eval-plural.h instead of plural-eval.c.
10549         Use __builtin_expect rather than __glibc_likely/unlikely.
10550         * intl/dcngettext.c: Switch to gettext copyright.
10551         Use ANSI definitions and prototypes.
10552         * intl/dgettext.c: Likewise.
10553         * intl/dngettext.c: Likewise.
10554         * intl/plural-eval.c: Renamed to...
10555         * intl/eval-plural.h: ...this.
10556         * intl/explodename.c: Switch to gettext copyright.
10557         Use ANSI definitions and prototypes.
10558         (_nl_explode_name): Use strchr instead of __rawmemchr.
10559         * intl/finddomain.c: Switch to gettext copyright.
10560         Use ANSI definitions and prototypes.
10561         Use gl_* locking primitives rather than __libc_* ones.
10562         (_nl_find_domain): Use malloc rather than alloca for
10563         allocation of temporary locale name.
10564         * intl/gettext.c: Switch to gettext copyright.
10565         Use ANSI definitions and prototypes.
10566         * intl/gettextP.h: Switch to gettext copyright.
10567         Use ANSI definitions and prototypes.
10568         Use gl_* locking primitives rather than __libc_* ones.
10569         * intl/gmo.h: Switch to gettext copyright.
10570         (struct sysdep_string): Move struct segment_pair outside of
10571         struct definition.
10572         * intl/hash-string.c: Use ANSI definitions and prototypes.
10573         * intl/hash-string.h: Switch to gettext copyright.
10574         Use ANSI definitions and prototypes.
10575         * intl/l10nflist.c: Switch to gettext copyright.
10576         Use ANSI definitions and prototypes.
10577         (_nl_normalize_codeset): Avoid integer overflow.
10578         * intl/loadinfo.h: Switch to gettext copyright.
10579         Use ANSI definitions and prototypes.
10580         (LIBINTL_DLL_EXPORTED): New define.
10581         (PATH_SEPARATOR): New define.
10582         * intl/loadmsgcat.c: Switch to gettext copyright.
10583         * intl/localealias.c: Switch to gettext copyright.
10584         Use ANSI definitions and prototypes.
10585         (_nl_expand_alias): Use PATH_SEPARATOR.
10586         * intl/ngettext.c: Switch to gettext copyright.
10587         Use ANSI definitions and prototypes.
10588         * intl/plural-exp.c: Likewise.
10589         * intl/plural-exp.h: Switch to gettext copyright.
10590         Use ANSI definitions and prototypes.
10591         (struct expression): Move definition of enum operator outside
10592         of struct definition.
10593         * intl/plural.c: Regenerate.
10594         * intl/plural.y: Switch to gettext copyright.
10595         Use ANSI definitions and prototypes.
10596         Port to bison 3.0.
10597         * intl/textdomain.c: Switch to gettext copyright.
10598         Use ANSI definitions and prototypes.
10599         Use gl_* locking primitives rather than __libc_* ones.
10601 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
10603         * debug/warning-nop.c: Add used atrribute.
10605 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10607         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
10609         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
10610         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
10611         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
10613 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10614             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10616         [BZ #17634]
10617         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
10618         Undefine after defining function.  Define as weak alias of
10619         __wcschr.  Use libc_hidden_weak.
10620         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
10621         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
10622         (libc_hidden_def): Also define __GI___wcschr alias.
10623         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
10624         __wcschr and define as weak alias of __wcschr.
10625         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
10626         __wcschr.
10627         [!WCSCHR] (DEFAULT_WCSCHR): Define.
10628         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
10629         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
10630         libc_hidden_weak.  Do not use libc_hidden_def.
10631         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
10632         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
10633         __GI___wcschr alias.
10634         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
10635         [IS_IN (libc)] (wcschr): Define as macro expanding to
10636         __redirect_wcschr.
10637         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
10638         [IS_IN (libc)] (__wcschr_power6): Likewise.
10639         [IS_IN (libc)] (__wcschr_power7): Likewise.
10640         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
10641         instead of wcschr.
10642         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
10643         __libc_wcschr.
10644         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
10645         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
10646         __wcschr and define as weak alias of __wcschr.  Use
10647         libc_hidden_builtin_def.
10648         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
10649         as weak alias of __wcschr.  Use libc_hidden_weak.
10650         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
10651         wcschr.
10652         * time/era.c (_nl_init_era_entries): Likewise.
10653         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
10654         variable.
10655         (test-xfail-XPG3/time.h/linknamespace): Likewise.
10656         (test-xfail-XPG4/time.h/linknamespace): Likewise.
10658 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10660         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
10661         format for long int variable.
10663 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
10665         [BZ #10672]
10666         * manual/search.texi: (Array Sort Function): Remove claim how to make
10667         qsort stable.
10669 2014-12-10  Andreas Schwab  <schwab@suse.de>
10671         [BZ #12847]
10672         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
10673         user-controlled locks.
10675 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
10677         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
10678         register.
10680 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10682         * configure.ac (--disable-werror): New configure option.
10683         (enable_werror): New AC_SUBST.
10684         * configure: Regenerated.
10685         * config.make.in (enable-werror): New variable.
10686         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
10687         -Wno-error=undef.
10688         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
10689         * manual/install.texi (Configuring and compiling): Document
10690         --disable-werror.
10691         * INSTALL: Regenerated.
10692         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
10693         (CFLAGS-tst-chk2.c): Likewise.
10694         (CFLAGS-tst-chk3.c): Likewise.
10695         (CFLAGS-tst-chk4.cc): Likewise.
10696         (CFLAGS-tst-chk5.cc): Likewise.
10697         (CFLAGS-tst-chk6.cc): Likewise.
10698         (CFLAGS-tst-lfschk1.c): Likewise.
10699         (CFLAGS-tst-lfschk2.c): Likewise.
10700         (CFLAGS-tst-lfschk3.c): Likewise.
10701         (CFLAGS-tst-lfschk4.cc): Likewise.
10702         (CFLAGS-tst-lfschk5.cc): Likewise.
10703         (CFLAGS-tst-lfschk6.cc): Likewise.
10705         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
10706         (main): Disable -Wdeprecated-declarations around calls to
10707         register_printf_function.
10709         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
10710         (do_test): Disable -Wdiv-by-zero around some calls to
10711         fwrite_unlocked and fread_unlocked.
10713         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
10714         (DIAG_POP_NEEDS_COMMENT): Likewise.
10715         (_DIAG_STR1): Likewise.
10716         (_DIAG_STR): Likewise.
10717         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
10718         * stdio-common/bug21.c: Include <libc-internal.h>.
10719         (do_test): Disable -Wformat around call to sscanf.
10720         * stdio-common/scanf14.c: Include <libc-internal.h>.
10721         (main): Disable -Wformat around some calls to scanf functions.
10723 2014-12-09  Torvald Riegel  <triegel@redhat.com>
10725         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
10727 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10729         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
10730         stack variable alignment.
10732 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
10734         [BZ #17682]
10735         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
10736         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
10737         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
10738         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
10739         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
10740         __getrlimit instead of getrlimit.
10741         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
10742         __gettimeofday instead of gettimeofday.
10743         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10744         Likewise.
10745         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
10746         Likewise.
10747         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10748         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
10749         Remove variable.
10750         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
10751         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
10753 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10755         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
10756         for wide-character tests.
10758 2014-12-04  Roland McGrath  <roland@hack.frob.com>
10760         * io/openat64.c: #include <libc-internal.h>
10761         (__openat64): Prototypify.  Use ignore_value on MODE.
10762         * io/openat.c: Likewise.
10763         * misc/reboot.c: #include <libc-internal.h>
10764         (reboot): Prototypify.  Use ignore_value on HOWTO.
10765         * misc/ptrace.c: #include <libc-internal.h>
10766         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
10768 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
10770         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
10771         XPG4, UNIX98 and XOPEN2K.
10772         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
10773         Remove variable.
10774         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
10776 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10778         * libio/fileops.c: Use ISO C style for function definitions.
10779         * libio/iofopen.c: Likewise.
10780         * libio/wfileops.c: Likewise.
10782         [BZ #17653]
10783         * libio/fileops.c (_IO_new_file_underflow): Unset cached
10784         offset on EOF.
10785         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
10786         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
10787         (fgets_func): Function pointer to fgets and fgetws.
10788         (do_ftell_test): Add test to verify ftell value after read
10789         EOF.
10790         (do_test): Set fgets_func.
10792         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
10793         O_TRUNC flag for w and w+ modes.
10794         (do_rewind_test): Likewise.
10795         (do_ftell_test): Likewise.
10796         (do_write_test): Likewise.
10798         [BZ #17647]
10799         * libio/fileops.c (do_ftell): Seek only when there are
10800         unflushed writes.
10801         * libio/wfileops.c (do_ftell_wide): Likewise.
10802         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
10803         test case.
10804         (do_one_test): Call it.
10806 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
10808         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
10809         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
10810         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
10811         Remove variable.
10812         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
10813         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
10814         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
10816 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
10818         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
10819         Remove variable.
10820         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
10822         [BZ #17668]
10823         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
10824         as weak alias of __getifaddrs.  Use libc_hidden_weak.
10825         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10826         __freeifaddrs.  Use libc_hidden_weak.
10827         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
10828         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
10829         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10830         __freeifaddrs.  Use libc_hidden_weak.
10831         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
10832         __getifaddrs and define as weak alias of __getifaddrs.  Use
10833         libc_hidden_weak.
10834         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10835         __freeifaddrs.  Use libc_hidden_weak.
10836         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
10837         Remove variable.
10838         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
10839         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
10841 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
10843         [BZ #17601]
10844         * sysdeps/mips/start.S (__start): Use indirect jump to call
10845         __libc_start_main.
10847 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
10849         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
10851         * nptl/tst-mutex1.c: Include <stdbool.h>.
10852         [!ATTR] (ATTR_NULL): New macro.
10853         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
10854         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
10855         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
10857         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
10858         to char *.
10860         [BZ #17665]
10861         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
10862         Change conditional to [__USE_MISC].
10864         [BZ #17664]
10865         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
10866         fgets_unlocked.
10867         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
10868         __fgets_unlocked.
10869         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
10870         fgets_unlocked.
10871         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
10872         Remove variable.
10873         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
10874         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
10875         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
10876         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
10877         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
10878         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
10879         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
10880         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
10881         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
10883         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
10885 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10887         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10888         Remove strpbrk objects.
10889         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10890         (__libc_ifunc_impl_list): Remove strpbrk implementation.
10891         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
10892         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
10893         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
10894         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
10896         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10897         Remove strcspn objects.
10898         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10899         (__libc_ifunc_impl_list): Remove strcspn implementation.
10900         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
10901         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
10902         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
10903         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
10905         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10906         Remove strspn objetcs.
10907         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10908         (__libc_ifunc_impl_list): Remove strspn implementation.
10909         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
10910         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
10911         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
10912         * sysdeps/powerpc/powerpc64/strspn.S: New file.
10914 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
10916         [BZ #17581]
10917         * malloc/hooks.c
10918         (mem2mem_check): Add a terminator to the chain of checking blocks.
10919         (malloc_check_get_size): Use it here.
10920         (mem2chunk_check): Ditto.
10922 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10924         * sysdeps/powerpc/powerpc64/strtok.S: New file.
10925         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
10927 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
10929         * bits/ioctl-types.h: Indent preprocessor directives correctly.
10931         * nptl/nptl-init.c: Include libc-internal.h.
10932         (__pthread_initialize_minimal_internal): Use ROUND_UP.
10934         * elf/ldconfig.c (search_dir): Expand comment.
10936 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
10938         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
10939         variable.
10940         (linknamespace-symlist-stdlibs-tests): Likewise.
10941         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
10942         instead of $(objpfx)symlist-stdlibs.
10943         (linknamespace-libs-isoc): New variable.
10944         (linknamespace-libs): Use $(linknamespace-libs-isoc).
10945         (linknamespace-libs-ISO): New variable.
10946         (linknamespace-libs-ISO99): Likewise.
10947         (linknamespace-libs-ISO11): Likewise.
10948         (linknamespace-libs-XPG3): Likewise.
10949         (linknamespace-libs-XPG4): Likewise.
10950         (linknamespace-libs-POSIX): Likewise.
10951         (linknamespace-libs-UNIX98): Likewise.
10952         (linknamespace-libs-XOPEN2K): Likewise.
10953         (linknamespace-libs-POSIX2008): Likewise.
10954         (linknamespace-libs-XOPEN2K8): Likewise.
10955         ($(objpfx)symlist-stdlibs): Replace by
10956         $(linknamespace-symlist-stdlibs-tests).  Use
10957         $(linknamespace-libs-$*) as set of libraries.
10958         ($(linknamespace-header-tests)): Update dependencies.  Use
10959         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
10960         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
10961         * conform/linknamespace.pl: Remove comment about considering
10962         definitions of symbols from irrelevant libraries.
10964 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
10966         [BZ #13862]
10967         * elf/dl-tls.c: Include <atomic.h>.
10968         (oom): Remove #ifdef SHARED/#endif.
10969         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
10970         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
10971         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
10972         big enough.
10973         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
10974         * nptl/Makefile (tests): Add tst-stack4.
10975         (modules-names): Add tst-stack4mod.
10976         ($(objpfx)tst-stack4): New.
10977         (tst-stack4mod.sos): Likewise.
10978         ($(objpfx)tst-stack4.out): Likewise.
10979         ($(tst-stack4mod.sos)): Likewise.
10980         (clean): Likewise.
10981         * nptl/tst-stack4.c: New file.
10982         * nptl/tst-stack4mod.c: Likewise.
10984 2014-11-27  J. Brown  <jb999@gmx.de>
10986         * sysdeps/x86/bits/string.h: Add recent CPUs.
10988 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
10990         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
10991         sigblock.
10993         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
10994         feof.
10996         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
10997         variable.
10999 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
11001         * nscd/connections.c: Include libc-internal.h because of macro
11002         usage ignore_value.
11004 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11006         * string/bits/string3.h (__warn_memset_zero_len): Don't
11007         declare for gcc newer than 5.0.
11008         (memset): Don't test for zero-length __LEN for gcc newer than
11009         5.0.
11011 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
11013         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
11014         size_t for %zu format.
11016         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
11017         difference, not %ju.
11019 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
11021         * include/libc-internal.h (ignore_value): New macro.
11022         * nscd/connections.c (restart): Wrap calls to setuid and setgid
11023         with ignore_value.
11025         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
11026         definition.
11028         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
11029         pthread_cleanup_push to void *.
11031         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
11032         Undefine.
11034         [BZ #16619]
11035         [BZ #16740]
11036         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
11037         instead of 1L << 52.
11039         * libio/bug-rewind.c (do_test): Check fwscanf return values.
11040         * libio/bug-rewind2.c (do_test): Likewise.
11042         * debug/test-stpcpy_chk-ifunc.c: Remove file.
11043         * debug/test-strcpy_chk-ifunc.c: Likewise.
11044         * wcsmbs/test-wcschr-ifunc.c: Likewise.
11045         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11046         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11047         * wcsmbs/test-wcslen-ifunc.c: Likewise.
11048         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11049         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11050         * Rules [$(multi-arch) = no] (tests): Do not filter out
11051         $(tests-ifunc).
11052         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
11053         * debug/Makefile (tests-ifunc): Remove variable.
11054         (tests): Do not add $(tests-ifunc).
11055         * wcsmbs/Makefile (tests-ifunc): Remove variable.
11056         (tests): Do not add $(tests-ifunc).
11057         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
11058         [TEST_IFUNC]: Remove conditionals.
11059         * string/test-string.h (TEST_IFUNC): Remove macro.
11060         [TEST_IFUNC]: Remove conditionals.
11062         * string/test-strchr.c [!WIDE] (L): New macro.
11063         [WIDE] (L): Likewise.
11064         (check1): Use CHAR instead of char.  Use L on string and character
11065         constants.
11067 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
11069         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
11070         tests.
11071         * sysdeps/powerpc/bits/atomic.h
11072         (__arch_atomic_exchange_and_add_32_acq): Add definition.
11073         (__arch_atomic_exchange_and_add_32_rel): Likewise.
11074         (atomic_exchange_and_add_acq): Likewise.
11075         (atomic_exchange_and_add_rel): Likewise.
11076         * sysdeps/powerpc/powerpc32/bits/atomic.h
11077         (__arch_atomic_exchange_and_add_64_acq): Add definition.
11078         (__arch_atomic_exchange_and_add_64_rel): Likewise.
11079         * sysdeps/powerpc/powerpc64/bits/atomic.h
11080         (__arch_atomic_exchange_and_add_64_acq): Add definition.
11081         (__arch_atomic_exchange_and_add_64_rel): Likewise.
11083 2014-11-26  Torvald Riegel  <triegel@redhat.com>
11085         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
11086         Change synchronization of __sched_fifo_min_prio and
11087         __sched_fifo_max_prio.
11088         * nptl/pthread_mutexattr_getprioceiling.c
11089         (pthread_mutexattr_getprioceiling): Likewise.
11090         * nptl/pthread_mutexattr_setprioceiling.c
11091         (pthread_mutexattr_setprioceiling): Likewise.
11092         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
11093         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
11094         Likewise.
11096 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
11098         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
11099         void.
11101 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
11103         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
11104         third argument const.
11106 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
11108         fnmatch: work around GCC compiler warning bug with uninit var
11109         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
11110         This works around a bug with x86-64 GCC 4.9.2 and earlier
11111         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
11112         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
11113         used uninitialized in this function [-Wmaybe-uninitialized]".
11115 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
11117         * posix/bug-regex31.c (main): Return RES not 0.
11119 2014-11-25  Anton Blanchard <anton@samba.org>
11121         * sysdeps/powerpc/bits/atomic.h
11122         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
11124 2014-11-24  Sterling Augustine  <saugustine@google.com>
11126         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
11128 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
11130         [BZ #17608]
11131         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
11133 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
11135         [BZ #17633]
11136         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
11137         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
11138         variable.
11139         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
11140         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
11142 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
11144         * string/strncpy.c (strncpy): Improve performance by using memset.
11146 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
11148         * string/strcpy.c (strcpy):
11149         Improve performance by using strlen and memcpy.
11151 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
11153         * string/strcoll_l.c (get_next_seq): __always_inline.
11154         * string/strcoll_l.c (do_compare): __always_inline.
11156 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11158         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
11159         defined.
11160         * include/mqueue.h: Likewise.
11161         * include/stdlib.h: Likewise.
11163         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
11164         (get_null_defines): Adjust.
11165         * sunrpc/Makefile: Adjust comment.
11166         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
11167         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
11168         (CFLAGS-interp.c): Likewise.
11169         (CFLAGS-ldconfig.c): Likewise.
11170         (CPPFLAGS-.os): Likewise.
11171         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11172         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
11173         * extra-modules.mk (extra-modules.mk): Likewise.
11174         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
11175         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
11176         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
11177         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
11178         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
11179         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
11180         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
11181         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
11182         * iconvdata/Makefile (CPPFLAGS): Likewise.
11183         (cpp-srcs-left): Add libof for all iconvdata routines.
11184         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
11185         * include/assert.h: Likewise.
11186         * include/ctype.h: Likewise.
11187         * include/errno.h: Likewise.
11188         * include/libc-symbols.h: Likewise.
11189         * include/math.h: Likewise.
11190         * include/netdb.h: Likewise.
11191         * include/resolv.h: Likewise.
11192         * include/stdio.h: Likewise.
11193         * include/stdlib.h: Likewise.
11194         * include/string.h: Likewise.
11195         * include/sys/stat.h: Likewise.
11196         * include/wctype.h: Likewise.
11197         * intl/l10nflist.c: Likewise.
11198         * libidn/idn-stub.c: Likewise.
11199         * libio/libioP.h: Likewise.
11200         * nptl/libc_multiple_threads.c: Likewise.
11201         * nptl/pthreadP.h: Likewise.
11202         * posix/regex_internal.h: Likewise.
11203         * resolv/res_hconf.c: Likewise.
11204         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
11205         * sysdeps/arm/memmove.S: Likewise.
11206         * sysdeps/arm/sysdep.h: Likewise.
11207         * sysdeps/generic/_itoa.h: Likewise.
11208         * sysdeps/generic/symbol-hacks.h: Likewise.
11209         * sysdeps/gnu/errlist.awk: Likewise.
11210         * sysdeps/gnu/errlist.c: Likewise.
11211         * sysdeps/i386/i586/memcpy.S: Likewise.
11212         * sysdeps/i386/i586/memset.S: Likewise.
11213         * sysdeps/i386/i686/memcpy.S: Likewise.
11214         * sysdeps/i386/i686/memmove.S: Likewise.
11215         * sysdeps/i386/i686/mempcpy.S: Likewise.
11216         * sysdeps/i386/i686/memset.S: Likewise.
11217         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11218         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11219         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
11220         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
11221         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11222         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11223         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
11224         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11225         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11226         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11227         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11228         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11229         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11230         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11231         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11232         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11233         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
11234         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
11235         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
11236         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11237         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11238         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11239         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11240         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11241         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11242         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11243         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
11244         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11245         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
11246         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
11247         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11248         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11249         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11250         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11251         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11252         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
11253         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11254         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11255         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11256         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11257         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11258         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11259         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11260         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
11261         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11262         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11263         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
11264         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
11265         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11266         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
11267         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11268         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
11269         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
11270         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11271         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
11272         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
11273         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11274         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
11275         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
11276         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11277         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
11278         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11279         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
11280         * sysdeps/nptl/bits/libc-lock.h: Likewise.
11281         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
11282         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
11283         * sysdeps/posix/closedir.c: Likewise.
11284         * sysdeps/posix/opendir.c: Likewise.
11285         * sysdeps/posix/readdir.c: Likewise.
11286         * sysdeps/posix/rewinddir.c: Likewise.
11287         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
11288         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
11289         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
11290         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11291         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11292         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
11293         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
11294         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
11295         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
11296         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
11297         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
11298         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
11299         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
11300         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
11301         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
11302         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
11303         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
11304         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
11305         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
11306         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
11307         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
11308         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
11309         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
11310         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
11311         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
11312         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
11313         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
11314         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
11315         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
11316         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
11317         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
11318         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
11319         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
11320         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
11321         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
11322         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
11323         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11324         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11325         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
11326         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
11327         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
11328         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
11329         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
11330         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
11331         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
11332         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
11333         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
11334         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
11335         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
11336         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
11337         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
11338         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
11339         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
11340         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
11341         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
11342         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
11343         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
11344         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
11345         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
11346         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
11347         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
11348         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
11349         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
11350         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
11351         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
11352         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
11353         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
11354         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
11355         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
11356         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
11357         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
11358         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
11359         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
11360         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
11361         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
11362         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
11363         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
11364         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
11365         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
11366         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
11367         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
11368         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11369         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
11370         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
11371         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
11372         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
11373         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
11374         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
11375         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
11376         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11377         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
11378         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
11379         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
11380         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
11381         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11382         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
11383         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
11384         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11385         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
11386         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
11387         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11388         * sysdeps/unix/alpha/sysdep.S: Likewise.
11389         * sysdeps/unix/alpha/sysdep.h: Likewise.
11390         * sysdeps/unix/make-syscalls.sh: Likewise.
11391         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11392         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11393         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11394         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
11395         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11396         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
11397         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
11398         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11399         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11400         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
11401         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11402         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11403         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11404         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
11405         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11406         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11407         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11408         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11409         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
11410         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11411         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
11412         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11413         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11414         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11415         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11416         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11417         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
11419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
11420         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
11421         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11422         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11423         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11424         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11425         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
11426         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11427         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11428         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11429         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
11430         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
11431         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11432         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11433         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11434         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
11435         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11436         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11437         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11438         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11439         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11440         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11441         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11442         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11443         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11444         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11445         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
11446         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11447         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11448         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11449         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
11450         * sysdeps/x86_64/memcpy.S: Likewise.
11451         * sysdeps/x86_64/memmove.c: Likewise.
11452         * sysdeps/x86_64/memset.S: Likewise.
11453         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
11454         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11455         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
11456         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
11457         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
11458         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11459         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11460         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11461         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11462         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11463         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11464         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11465         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
11466         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11467         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11468         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
11469         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11470         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11471         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
11472         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11473         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
11474         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11475         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11476         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
11477         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11478         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11479         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11480         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
11481         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11482         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11483         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
11484         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11485         * sysdeps/x86_64/strcmp.S: Likewise.
11487         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
11489         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
11490         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
11491         * elf/rtld-Rules: Likewise.
11492         * elf/setup-vdso.h: Likewise.
11493         * include/assert.h: Likewise.
11494         * include/bits/stdlib-float.h: Likewise.
11495         * include/errno.h: Likewise.
11496         * include/sys/stat.h: Likewise.
11497         * include/unistd.h: Likewise.
11498         * sysdeps/aarch64/setjmp.S: Likewise.
11499         * sysdeps/alpha/setjmp.S: Likewise.
11500         * sysdeps/arm/__longjmp.S: Likewise.
11501         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
11502         * sysdeps/arm/setjmp.S: Likewise.
11503         * sysdeps/arm/sysdep.h: Likewise.
11504         * sysdeps/generic/_itoa.h: Likewise.
11505         * sysdeps/generic/dl-sysdep.h: Likewise.
11506         * sysdeps/generic/ldsodefs.h: Likewise.
11507         * sysdeps/i386/dl-tls.h: Likewise.
11508         * sysdeps/i386/setjmp.S: Likewise.
11509         * sysdeps/m68k/setjmp.c: Likewise.
11510         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
11511         * sysdeps/mach/hurd/opendir.c: Likewise.
11512         * sysdeps/posix/getcwd.c: Likewise.
11513         * sysdeps/posix/opendir.c: Likewise.
11514         * sysdeps/posix/profil.c: Likewise.
11515         * sysdeps/powerpc/dl-procinfo.h: Likewise.
11516         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11517         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11518         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11519         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11520         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
11521         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
11522         * sysdeps/s390/dl-tls.h: Likewise.
11523         * sysdeps/s390/s390-32/setjmp.S: Likewise.
11524         * sysdeps/s390/s390-64/setjmp.S: Likewise.
11525         * sysdeps/sh/sh3/setjmp.S: Likewise.
11526         * sysdeps/sh/sh4/setjmp.S: Likewise.
11527         * sysdeps/unix/alpha/sysdep.h: Likewise.
11528         * sysdeps/unix/arm/sysdep.S: Likewise.
11529         * sysdeps/unix/i386/sysdep.S: Likewise.
11530         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11531         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
11532         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11533         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11534         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11535         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
11536         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
11537         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11538         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11539         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
11540         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
11541         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11542         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11545         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11546         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11547         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11548         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11549         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11550         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11551         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11552         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11553         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11554         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11555         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11556         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11557         * sysdeps/unix/x86_64/sysdep.S: Likewise.
11558         * sysdeps/x86_64/setjmp.S: Likewise.
11560         * include/math.h: Use IS_IN instead of IS_IN_libm.
11561         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
11562         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11563         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
11564         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11565         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11566         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
11567         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
11568         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11569         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11570         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
11571         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
11572         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
11573         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
11574         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
11575         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
11576         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
11577         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
11578         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
11579         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
11580         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
11581         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
11582         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
11583         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
11584         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
11585         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
11586         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
11587         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
11588         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
11589         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
11590         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
11591         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
11592         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11593         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
11595         Likewise.
11596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
11597         Likewise.
11598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
11599         Likewise.
11600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
11601         Likewise.
11602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
11603         Likewise.
11604         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11605         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
11606         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11607         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11608         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11609         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11610         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
11611         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
11612         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
11613         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
11614         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
11615         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
11616         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
11617         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
11618         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
11619         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11620         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
11621         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
11622         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11623         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11624         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
11625         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
11626         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
11627         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
11628         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
11629         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11630         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
11632         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
11633         * nptl/pthreadP.h: Likewise.
11634         * nptl_db/structs.def: Likewise.
11635         * sysdeps/arm/sysdep.h: Likewise.
11636         * sysdeps/nptl/bits/libc-lock.h: Likewise.
11637         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
11638         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
11639         * sysdeps/unix/alpha/sysdep.h: Likewise.
11640         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11641         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11642         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11643         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11644         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11645         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11646         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11647         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11648         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11649         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11650         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11651         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11652         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11653         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
11655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
11656         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11657         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11658         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11659         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11660         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11661         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11662         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11663         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11664         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
11665         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11667         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
11668         * nptl/pthreadP.h: Likewise.
11669         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11670         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11671         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11672         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11673         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11674         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11675         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11676         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11677         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11678         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11679         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11680         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11682         Likewise.
11683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11684         Likewise.
11685         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11686         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11687         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11688         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11689         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11690         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11691         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11692         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11694         * dlfcn/dladdr.c: Use IS_IN.
11695         * dlfcn/dladdr1.c: Likewise.
11696         * dlfcn/dlclose.c: Likewise.
11697         * dlfcn/dlerror.c: Likewise.
11698         * dlfcn/dlinfo.c: Likewise.
11699         * dlfcn/dlmopen.c: Likewise.
11700         * dlfcn/dlopen.c: Likewise.
11701         * dlfcn/dlsym.c: Likewise.
11702         * dlfcn/dlvsym.c: Likewise.
11704         * include/ifaddrs.h: Use IS_IN.
11705         * inet/check_pf.c: Likewise.
11706         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11707         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
11709         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
11710         IS_IN_ldconfig.
11711         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
11712         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
11714         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
11715         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
11716         IS_IN (libc).
11718         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
11720         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
11721         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11722         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
11723         * include/libc-symbols.h (IS_IN_LIB): New macro.
11724         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
11725         * include/netdb.h: Likewise.
11726         * include/stap-probe.h: Remove all uses of IN_LIB.
11728         * Makeconfig (module-cppflags-real): Define MODULE_NAME
11729         instead of IN_MODULE.
11730         * include/libc-symbols.h (IN_MODULE): Define using
11731         MODULE_NAME.
11732         (PASTE_NAME, PASTE_NAME1): New macros.
11733         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
11734         of IN_LIB.
11735         (STAP_PROBE_ASM): Likewise.
11737 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11739         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
11740         __mach_init in dlopened libc.
11742 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
11744         * sysdeps/arm/preconfigure.ac: Delete EABI check.
11745         * sysdeps/arm/preconfigure: Regenerate.
11747 2014-11-21  Roland McGrath  <roland@hack.frob.com>
11749         * nptl/pthread_create.c (__pthread_create_2_1): Set
11750         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
11751         when copying values from IATTR into PD.
11753 2014-11-21  Will Newton  <will.newton@linaro.org>
11754             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
11756         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
11757         Refactor inline-asm.  Also add comment.
11759         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
11760         ElfW macro instead of hardcoded Elf64 types.
11761         (la_aarch64_gnu_pltenter): Likewise.
11762         * sysdeps/aarch64/dl-machine.h
11763         (elf_machine_runtime_setup): Use ElfW(Addr).
11765         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
11766         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
11767         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
11768         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
11769         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
11770         (R_AARCH64_TLS_DTPMOD64): Rename to ..
11771         (R_AARCH64_TLS_DTPMOD): This.
11772         (R_AARCH64_TLS_DTPREL64): Rename to ...
11773         (R_AARCH64_TLS_DTPREL): This.
11774         (R_AARCH64_TLS_TPREL64): Rename to ...
11775         (R_AARCH64_TLS_TPREL): This.
11776         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
11777         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
11778         R_AARCH64_TLS_TPREL64.
11779         (elf_machine_rela): Likewise.
11781 2014-11-21  Torvald Riegel  <triegel@redhat.com>
11783         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
11784         by setting it to 0.  64b atomics are not supported currently.
11786 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11788         [BZ #16469]
11789         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
11790         search domain names.
11792 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11794         [BZ #16469]
11795         * NEWS: Update.
11796         * resolv/res_query.c (__libc_res_nquerydomain): Retain
11797         trailing dot.
11798         * posix/tst-getaddrinfo5.c: New.
11799         * posix/Makefile (tests): Add it.
11801 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11803         [BZ #14498]
11804         * NEWS: Fixed.
11805         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
11806         after parsing line but before break_if_match.
11807         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
11808         if there is a protocol mismatch.
11810 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
11812         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
11813         because the potential race is on the user-supplied stream.
11815 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11817         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
11818         string literal if not passed a buffer.
11819         * manual/job.texi (ctermid): Update reasoning, note deviation
11820         from posix, suggest mtasurace when not passed a buffer, for
11821         future non-preliminary safety notes.
11823 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11825         * manual/users.texi (cuserid): Fix MT-Safety note for the case
11826         of not passing it a buffer.
11827         Reported by Peng Haitao.
11829 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11831         * manual/Makefile ($(objpfx)stamp-summary): Require
11832         check-safety.sh to pass.
11833         * manual/check-safety.sh: Wish for verification that every
11834         @deftypefn and @deftypefun is followed by a @safety remark.
11836 2014-11-20  Roland McGrath  <roland@hack.frob.com>
11838         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
11840         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
11841         PTHREAD_CANCEL_ASYNCHRONOUS.
11842         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
11843         send SIGCANCEL.
11845         * nptl/default-sched.h: New file.
11846         * sysdeps/unix/sysv/linux/default-sched.h: New file.
11847         * nptl/pthread_create.c: Include it.
11848         (__pthread_create_2_1): Use collect_default_sched instead of making
11849         Linux syscalls here directly.
11851 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11853         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
11854         __pthread_once): Use C11 atomics.
11856 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11858         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
11860 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11862         * include/atomic.h (__atomic_link_error, __atomic_check_size,
11863         atomic_thread_fence_acquire, atomic_thread_fence_release,
11864         atomic_thread_fence_seq_cst, atomic_load_relaxed,
11865         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
11866         atomic_compare_exchange_weak_relaxed,
11867         atomic_compare_exchange_weak_acquire,
11868         atomic_compare_exchange_weak_release,
11869         atomic_exchange_acquire, atomic_exchange_release,
11870         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
11871         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
11872         atomic_fetch_and_acquire,
11873         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
11875 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11877         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
11878         USE_ATOMIC_COMPILER_BUILTINS): Define.
11879         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
11880         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11881         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
11882         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11883         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
11884         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11885         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
11886         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11887         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
11888         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11889         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
11890         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11891         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
11892         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11893         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
11894         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11895         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
11896         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11897         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
11898         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11899         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
11900         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11901         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
11902         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11903         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
11904         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11905         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
11906         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11907         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
11908         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11909         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
11910         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11911         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
11912         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11913         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
11914         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11915         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
11916         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11917         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
11918         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11920 2014-11-19  Roland McGrath  <roland@hack.frob.com>
11922         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
11923         the sched_priority value here.  It was already checked when the user
11924         called pthread_attr_setschedparam.
11926         * nptl/tst-bad-schedattr.c: New file.
11927         * nptl/Makefile (tests): Add it.
11929 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
11930             Florian Weimer  <fweimer@redhat.com>
11931             Joseph Myers  <joseph@codesourcery.com>
11932             Adam Conrad  <adconrad@0c3.net>
11933             Andreas Schwab  <schwab@suse.de>
11934             Brooks  <bmoses@google.com>
11936         [BZ #17625]
11937         * wordexp-test.c (__dso_handle): Add prototype.
11938         (__register_atfork): Likewise.
11939         (__app_register_atfork): New function.
11940         (registered_forks): New global.
11941         (register_fork): New function.
11942         (test_case): Add 3 new tests for WRDE_CMDSUB.
11943         (main): Call __app_register_atfork.
11944         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
11945         fork count is non-zero fail the test.
11946         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
11947         is set.
11948         (parse_dollars): Remove check for WRDE_NOCMD.
11949         (parse_dquote): Likewise.
11951 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11953         * Makeconfig (built-modules): List non-library modules to be
11954         built.
11955         (module-cppflags): Include libc-modules.h for
11956         everything except shlib-versions.v.i.
11957         (CPPFLAGS): Use it.
11958         (before-compile): Add libc-modules.h.
11959         ($(common-objpfx)libc-modules.h,
11960         $(common-objpfx)libc-modules.stmp): New targets.
11961         (common-generated): Add libc-modules.h and libc-modules.stmp.
11962         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
11963         * include/libc-symbols.h: Don't include libc-modules.h.
11964         * include/libc-modules.h: Remove file.
11965         * scripts/gen-libc-modules.awk: New script to generate
11966         libc-modules.h.
11967         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
11968         Depend on libc-modules.stmp.
11970         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
11972         * Makeconfig (in-module): Get value of libof set for the
11973         translation unit.
11974         (CPPFLAGS): Use $(in-module).
11975         * Makerules: Don't suffix routine names for nonlib.
11976         * include/libc-modules.h: New file.
11977         * include/libc-symbols.h: Include libc-modules.h
11978         (IS_IN): New macro to replace IS_IN_* macros.
11979         * elf/Makefile: Set libof-* for each routine.
11980         * elf/rtld-Rules: Likewise.
11981         * extra-modules.mk: Likewise.
11982         * iconv/Makefile: Likewise.
11983         * iconvdata/Makefile: Likewise.
11984         * locale/Makefile: Likewise.
11985         * malloc/Makefile: Likewise.
11986         * nss/Makefile: Likewise.
11987         * sysdeps/gnu/Makefile: Likewise.
11988         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
11989         * sysdeps/unix/sysv/linux/Makefile: Likewise.
11990         * sysdeps/s390/s390-64/Makefile: Likewise.
11991         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
11992         CPPFLAGS for nscd instead of nonlib.
11994 2014-11-18  Roland McGrath  <roland@hack.frob.com>
11996         * nptl/createthread.c: New file.
11998         * nptl/createthread.c: Moved ...
11999         * sysdeps/unix/sysv/linux/createthread.c: ... here.
12001         * nptl/createthread.c: Add proper top-line comment.
12002         (do_clone): Folded into ...
12003         (create_thread): ... here.  Take new arguments STOPPED_START and
12004         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
12005         increment __nptl_threads, do event-reporting logic, do
12006         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
12007         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
12008         resource cleanup if sched_setaffinity or sched_setscheduler fails,
12009         just send SIGCANCEL.
12010         * nptl/pthread_create.c: Forward-declare create_thread before
12011         including createthread.c.
12012         (start_thread): Use new macro START_THREAD_DEFN to replace defining
12013         declaration, and new macro START_THREAD_SELF to replace argument.
12014         Remove return statement.
12015         (report_thread_creation): New function.
12016         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
12017         synchronization logic, and __nptl_nthreads increment here, around
12018         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
12019         PD->parent_cancelhandling here, before create_thread.  When
12020         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
12021         __deallocate_stack, and ENOMEM translation here.
12023 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
12025         [BZ #17616]
12026         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
12027         (mptwo): Rename to __mptwo.
12028         (__inv): Use __mptwo instead of mptwo.
12029         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
12030         (mptwo): Rename to __mptwo.
12031         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
12032         of mpone and __mptwo instead of mptwo.
12033         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
12034         instead of mpone.
12035         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12036         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
12037         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
12038         of mpone and __mptwo instead of mptwo.
12039         (__mpranred): Use __mpone instead of mpone.
12040         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
12041         variable.
12042         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
12043         (test-xfail-ISO99/math.h/linknamespace): Likewise.
12044         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
12045         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
12046         (test-xfail-ISO11/math.h/linknamespace): Likewise.
12047         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
12048         (test-xfail-XPG3/math.h/linknamespace): Likewise.
12049         (test-xfail-XPG4/math.h/linknamespace): Likewise.
12050         (test-xfail-POSIX/math.h/linknamespace): Likewise.
12051         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
12052         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
12053         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
12054         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
12055         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
12056         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
12057         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
12058         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
12059         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
12060         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
12062 2014-11-18  Tom de Vries  <tom@codesoucery.com>
12064         * manual/signal.texi (Primitives Interrupted by Signals): In section,
12065         replace BSD Handler xref with BSD Signal Handling.
12067 2014-11-17  Richard Henderson  <rth@redhat.com>
12069         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
12070         (_FP_PACK_RAW_2): Remove.
12071         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
12072         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
12073         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
12074         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
12075         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
12076         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
12077         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
12078         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
12079         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
12080         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
12081         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
12082         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
12083         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
12084         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
12085         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
12086         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
12088 2014-11-14  Roland McGrath  <roland@hack.frob.com>
12090         * signal/signal.h [__USE_MISC]
12091         (struct sigvec): Remove type.
12092         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
12093         (sigvec): Remove declaration.
12094         * sysdeps/posix/sigvec.c: Moved ...
12095         * signal/sigvec.c: ... here, replacing old file.
12096         (struct sigvec): New type, copied from old signal.h definition.
12097         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
12098         (__sigvec): Convert definition to prototype.
12099         (sigvec): Replace weak_alias with compat_symbol.
12100         * signal/Versions (libc: GLIBC_2.21): New version set.
12101         * include/signal.h: Remove __sigvec declaration.
12102         * sysdeps/unix/bsd/sigvec.c: Remove file.
12103         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
12104         * manual/signal.texi (BSD Handler): Remove subsection.
12105         Move siginterrupt up to ...
12106         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
12107         (Blocking in BSD): Fold subsection into its parent.
12108         * NEWS: Mention sigvec removal.
12110 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
12112         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
12113         (DLA_FMS): Make definition conditional only on [__FMA4__].
12114         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
12115         definition.
12117         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
12118         Make definition conditional only on [PROF].
12119         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
12120         definition.
12121         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
12122         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
12124         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
12125         !__GNUC__].
12126         * include/signal.h (__sigpause): Move declaration above call to
12127         libc_hidden_proto.
12128         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
12129         variable.
12130         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
12131         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
12133 2014-11-14  David S. Miller  <davem@davemloft.net>
12135         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
12136         Define before including <string/memcpy.c> and <string/mempcpy.c>.
12138 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
12140         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
12141         * configure: Regenerated.
12142         * manual/install.texi (Tools for Compilation): Document a
12143         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
12144         compiler verified to work.
12145         * INSTALL: Regenerated.
12147         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
12148         redeclare with asm name.
12149         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
12150         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
12151         including <string.h>.
12152         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12153         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
12154         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12155         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
12156         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12157         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
12158         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12160 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
12162         * stdlib/strtol.c (__strtol): Use prototype definition.
12164         [BZ #17594]
12165         * stdlib/strtol.c (SYM__): New macro.
12166         (SYM__1): Likewise.
12167         (__strtol): Likewise.
12168         (strtol): Rename to __strtol and define as weak alias of
12169         __strtol.  Use libc_hidden_weak.
12171 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12173         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
12174         Use numbered labels in inline assembly.
12176 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12178         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
12179         Add setjmp LIBC_PROBE.
12180         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
12181         Likewise.
12182         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
12183         Add longjmp, longjmp_target LIBC_PROBE.
12184         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
12185         Likewise.
12187 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12189         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12190         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
12191         to get rid of unused variable warning.
12193 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12195         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
12196         Check for unwind_backtrace ==  NULL only in SHARED case.
12197         (__backchain_backtrace): Compile only in SHARED case.
12198         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
12199         Likewise.
12200         (__backchain_backtrace): Declare as static.
12202 2014-11-12  Roland McGrath  <roland@hack.frob.com>
12204         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
12205         (__libc_multiple_threads_ptr): Variable moved ...
12206         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
12208 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
12210         * conform/GlibcConform.pm: New file.
12211         * conform/conformtest.pl: Use GlibcConform module.
12212         * conform/linknamespace.pl: New file.
12213         * conform/list-header-symbols.pl: Likewise.
12214         * conform/Makefile (linknamespace-symlists-base): New variable.
12215         (linknamespace-symlists-tests): Likewise.
12216         (linknamespace-header-base): Likewise.
12217         (linknamespace-header-tests): Likewise.
12218         (tests-special): Add new tests.
12219         ($(linknamespace-symlists-tests)): New rule.
12220         (linknamespace-libs): New variable.
12221         ($(objpfx)symlist-stdlibs): New rule.
12222         ($(linknamespace-header-tests)): Likewise.
12223         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
12224         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
12225         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
12226         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
12227         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
12228         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
12229         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
12230         (test-xfail-ISO/math.h/linknamespace): Likewise.
12231         (test-xfail-ISO/signal.h/linknamespace): Likewise.
12232         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
12233         (test-xfail-ISO/time.h/linknamespace): Likewise.
12234         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
12235         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
12236         (test-xfail-ISO99/math.h/linknamespace): Likewise.
12237         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
12238         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
12239         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
12240         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
12241         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
12242         (test-xfail-ISO11/math.h/linknamespace): Likewise.
12243         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
12244         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
12245         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
12246         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
12247         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
12248         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
12249         (test-xfail-XPG3/math.h/linknamespace): Likewise.
12250         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
12251         (test-xfail-XPG3/search.h/linknamespace): Likewise.
12252         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
12253         (test-xfail-XPG3/time.h/linknamespace): Likewise.
12254         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
12255         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
12256         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
12257         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
12258         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
12259         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
12260         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
12261         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
12262         (test-xfail-XPG4/math.h/linknamespace): Likewise.
12263         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
12264         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
12265         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
12266         (test-xfail-XPG4/search.h/linknamespace): Likewise.
12267         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
12268         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
12269         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
12270         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
12271         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
12272         (test-xfail-XPG4/time.h/linknamespace): Likewise.
12273         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
12274         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
12275         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
12276         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
12277         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
12278         (test-xfail-POSIX/math.h/linknamespace): Likewise.
12279         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
12280         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
12281         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
12282         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
12283         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
12284         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
12285         (test-xfail-POSIX/time.h/linknamespace): Likewise.
12286         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
12287         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
12288         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
12289         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
12290         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
12291         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
12292         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
12293         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
12294         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
12295         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
12296         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
12297         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
12298         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
12299         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
12300         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
12301         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
12302         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
12303         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
12304         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
12305         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
12306         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
12307         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
12308         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
12309         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
12310         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
12311         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
12312         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
12313         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
12314         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
12315         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
12316         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
12317         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
12318         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
12319         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
12320         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
12321         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
12322         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
12323         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
12324         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
12325         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
12326         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
12327         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
12328         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
12329         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
12330         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
12331         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
12332         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
12333         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
12334         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
12335         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
12336         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
12337         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
12338         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
12339         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
12340         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
12341         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
12342         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
12343         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
12344         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
12345         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
12346         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
12347         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
12348         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
12349         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
12350         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
12351         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
12352         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
12353         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
12354         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
12355         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
12356         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
12357         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
12358         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
12359         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
12360         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
12361         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
12362         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
12363         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
12364         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
12365         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
12366         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
12367         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
12368         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
12369         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
12370         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
12371         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
12372         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
12373         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
12374         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
12375         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
12376         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
12377         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
12378         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
12379         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
12380         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
12381         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
12382         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
12383         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
12385         [BZ #17589]
12386         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
12387         of fgets_unlocked.
12389         [BZ #17585]
12390         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
12391         (memmem): Rename to __memmem and define as weak alias of
12392         __memmem.  Use libc_hidden_weak.
12393         (__memmem): Use libc_hidden_def.
12394         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
12395         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
12396         memmem.
12398         [BZ #17582]
12399         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
12400         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
12401         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
12402         and define as weak alias of __fgets_unlocked.  Use
12403         libc_hidden_weak.
12404         (__fgets_unlocked): Use libc_hidden_def.
12405         * include/stdio.h (__fgets_unlocked): Declare.  Use
12406         libc_hidden_proto.
12407         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
12408         __fgets_unlocked instead of fgets_unlocked.
12409         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
12410         (GET_NPROCS_CONF_PARSER): Likewise.
12411         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
12412         (GET_NPROCS_CONF_PARSER): Likewise.
12414         [BZ #17574]
12415         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
12416         weak alias of __wmemset.  Use libc_hidden_weak.
12417         (__wmemset): Use libc_hidden_def.
12418         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
12419         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
12420         of wmemset.
12422         [BZ #17573]
12423         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
12424         with asm name __mempcpy.
12425         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
12427         [BZ #17572]
12428         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
12429         and define as weak alias of __rawmemchr.
12430         (__rawmemchr): Do not define as strong alias of rawmemchr.
12432         [BZ #17571]
12433         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
12434         alias of __qsort_r.
12435         (qsort): Call __qsort_r instead of qsort_r.
12436         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
12437         (__qsort_r): Declare.  Call libc_hidden_proto.
12438         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
12439         instead of qsort_r.
12440         * nscd/gai.c (__qsort_r): Define to qsort_r.
12441         * posix/tst-rfc3484.c (__qsort_r): Likewise.
12442         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
12443         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
12445         [BZ #17570]
12446         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
12447         define as weak alias of __malloc_info.
12449         [BZ #17584]
12450         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
12451         as weak alias of __rewinddir.  Don't use libc_hidden_def.
12452         (__rewinddir): Use libc_hidden_def.
12453         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
12454         as weak alias of __rewinddir.  Don't use libc_hidden_def.
12455         (__rewinddir): Use libc_hidden_def.
12456         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
12457         weak alias of __rewinddir.  Don't use libc_hidden_def.
12458         (__rewinddir): Use libc_hidden_def.
12459         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
12460         (__rewinddir): Use libc_hidden_proto.
12461         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
12462         rewinddir.
12463         (__getcwd): Use __rewinddir instead of rewinddir.
12465         [BZ #17583]
12466         * libio/fileno.c (fileno): Rename to __fileno and define as weak
12467         alias of __fileno.  Use libc_hidden_weak.
12468         (__fileno): Use libc_hidden_def.
12469         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
12470         * libio/ftello.c (ftello): Rename to __ftello and define as weak
12471         alias of __ftello.
12472         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
12473         __ftello.
12474         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
12475         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
12476         libc_hidden_def.
12477         (fread_unlocked): Don't use libc_hidden_ver.
12478         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
12479         and define as weak alias of __fread_unlocked.  Don't use
12480         libc_hidden_def.
12481         (__fread_unlocked): Use libc_hidden_def.
12482         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
12483         (ftello): Don't use libc_hidden_proto.
12484         (__ftello): Declare.  Use libc_hidden_proto.
12485         (fread_unlocked): Don't use libc_hidden_proto.
12486         (__fread_unlocked): Declare.  Use libc_hidden_proto.
12487         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
12488         and __ftello instead of fileno, fread_unlocked and ftello.
12490 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12492         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
12493         GOT12.
12494         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
12495         Likewise.
12496         (_dl_start_user): Likewise.
12497         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
12499 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
12500             Siddhesh Poyarekar  <siddhesh@redhat.com>
12502         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
12503         Move argv and envp down instead of moving argc up.
12504         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
12506 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
12508         [BZ #17506]
12509         * test-skeleton.c (main): Return successful if one of
12510         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
12511         * string/tst-strcoll-overflow.c: Define expected status.
12513 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
12515         [BZ #17475]
12516         * locale/iso-639.def: Define Bhili and Tulu language codes.
12518 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
12520         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
12522 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
12524         [BZ #17555]
12525         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
12527 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
12529         * configure.ac: Updated check of minimal required version to
12530         2.22.
12531         * manual/install.texi (Tools for Compilation): Updated version
12532         number.
12533         * configure: Regenerated.
12534         * INSTALL: Likewise.
12536 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
12538         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
12539         __tls_get_addr.
12541 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
12543         * include/sys/wait.h (__libc_waitpid): Remove declaration.
12544         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
12545         (__waitpid): Don't define as alias.  Use libc_hidden_def not
12546         libc_hidden_weak.
12547         (waitpid): Define as alias of __waitpid.
12548         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
12549         __waitpid.
12550         (__waitpid): Don't define as alias.  Use libc_hidden_def not
12551         libc_hidden_weak.
12552         (waitpid): Define as alias of __waitpid.
12553         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
12554         __libc_waitpid alias.
12555         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
12556         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
12557         Likewise.
12558         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
12559         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
12560         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
12561         alias.
12562         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
12563         __waitpid.
12564         (__waitpid): Don't define as alias.  Use libc_hidden_def not
12565         libc_hidden_weak.
12566         (waitpid): Define as alias of __waitpid.
12568 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
12570         * manual/llio.texi: Add comment that write safety has been
12571         fixed in Linux.
12573         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
12574         (localplt-build-dso): Add elf/ld.so.
12575         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
12576         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
12577         and free for ld.so.
12578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
12579         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
12580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
12581         Likewise.
12582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
12583         Likewise.
12584         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
12585         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
12586         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
12587         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
12588         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
12589         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
12590         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
12591         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
12592         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
12593         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
12594         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
12596 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
12598         [BZ #14132]
12599         * include/libc-symbols.h (INTUSE): Remove macro.
12600         (INTDEF): Likewise.
12601         (INTVARDEF): Likewise.
12602         (_INTVARDEF): Likewise.
12603         (INTDEF2): Likewise.
12604         (INTVARDEF2): Likewise.
12605         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
12606         rtld_hidden_def instead of INTVARDEF.
12607         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
12608         (_dl_starting_up_internal): Remove declaration.
12609         (_dl_starting_up): Use rtld_hidden_proto.
12610         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
12611         declaration.
12612         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
12613         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
12614         _dl_starting_up.
12615         * elf/dl-writev.h (_dl_writev): Likewise.
12616         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
12617         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
12618         _dl_starting_up_internal.
12620 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12622         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
12623         test-skeleton.c.
12625 2014-11-05  Will Newton  <will.newton@linaro.org>
12627         * benchtests/Makefile: (bench-malloc): Add malloc thread
12628         scalability benchmark.
12629         * benchtests/bench-malloc-threads.c: New file.
12631 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
12633         * sysdeps/aarch64/strchrnul.S: New file.
12635 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12637         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
12638         definition.
12639         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
12640         Likwise.
12641         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
12642         Likewise.
12643         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
12644         Likewise.
12645         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
12646         Likewise.
12647         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
12648         Likewise.
12650 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
12652         * catgets/test-gencat.c: Use test-skeleton.c.
12653         * catgets/tst-catgets.c: Likewise.
12654         * csu/tst-empty.c: Likewise.
12655         * elf/tst-audit2.c: Likewise.
12656         * elf/tst-global1.c: Likewise.
12657         * elf/tst-pathopt.c: Likewise.
12658         * elf/tst-piemod1.c: Likewise.
12659         * elf/tst-tls10.c: Likewise.
12660         * elf/tst-tls11.c: Likewise.
12661         * elf/tst-tls12.c: Likewise.
12662         * gnulib/tst-gcc.c: Likewise.
12663         * iconvdata/tst-e2big.c: Likewise.
12664         * iconvdata/tst-loading.c: Likewise.
12665         * iconv/tst-iconv1.c: Likewise.
12666         * iconv/tst-iconv2.c: Likewise.
12667         * inet/test-inet6_opt.c: Likewise.
12668         * inet/tst-gethnm.c: Likewise.
12669         * inet/tst-network.c: Likewise.
12670         * inet/tst-ntoa.c: Likewise.
12671         * intl/tst-codeset.c: Likewise.
12672         * intl/tst-gettext2.c: Likewise.
12673         * intl/tst-gettext3.c: Likewise.
12674         * intl/tst-ngettext.c: Likewise.
12675         * intl/tst-translit.c: Likewise.
12676         * io/test-stat.c: Likewise.
12677         * libio/test-fmemopen.c: Likewise.
12678         * libio/tst-freopen.c: Likewise.
12679         * libio/tst-sscanf.c: Likewise.
12680         * libio/tst-ungetwc1.c: Likewise.
12681         * libio/tst-ungetwc2.c: Likewise.
12682         * libio/tst-widetext.c: Likewise.
12683         * localedata/tst-ctype.c: Likewise.
12684         * localedata/tst-digits.c: Likewise.
12685         * localedata/tst-leaks.c: Likewise.
12686         * localedata/tst-mbswcs1.c: Likewise.
12687         * localedata/tst-mbswcs2.c: Likewise.
12688         * localedata/tst-mbswcs3.c: Likewise.
12689         * localedata/tst-mbswcs4.c: Likewise.
12690         * localedata/tst-mbswcs5.c: Likewise.
12691         * localedata/tst-setlocale.c: Likewise.
12692         * localedata/tst-trans.c: Likewise.
12693         * localedata/tst-wctype.c: Likewise.
12694         * localedata/tst-xlocale1.c: Likewise.
12695         * login/tst-grantpt.c: Likewise.
12696         * malloc/tst-calloc.c: Likewise.
12697         * malloc/tst-malloc.c: Likewise.
12698         * malloc/tst-mallocstate.c: Likewise.
12699         * malloc/tst-mcheck.c: Likewise.
12700         * malloc/tst-mtrace.c: Likewise.
12701         * malloc/tst-obstack.c: Likewise.
12702         * math/atest-exp2.c: Likewise.
12703         * math/atest-exp.c: Likewise.
12704         * math/atest-sincos.c: Likewise.
12705         * math/test-matherr.c: Likewise.
12706         * math/test-misc.c: Likewise.
12707         * math/test-powl.c: Likewise.
12708         * math/tst-definitions.c: Likewise.
12709         * misc/tst-dirname.c: Likewise.
12710         * misc/tst-efgcvt.c: Likewise.
12711         * misc/tst-fdset.c: Likewise.
12712         * misc/tst-hsearch.c: Likewise.
12713         * misc/tst-mntent2.c: Likewise.
12714         * nptl/tst-sem7.c: Likewise.
12715         * nptl/tst-sem8.c: Likewise.
12716         * nptl/tst-sem9.c: Likewise.
12717         * nss/test-netdb.c: Likewise.
12718         * posix/tst-fnmatch.c: Likewise.
12719         * posix/tst-getlogin.c: Likewise.
12720         * posix/tst-gnuglob.c: Likewise.
12721         * posix/tst-mmap.c: Likewise.
12722         * pwd/tst-getpw.c: Likewise.
12723         * resolv/tst-inet_ntop.c: Likewise.
12724         * rt/tst-timer.c: Likewise.
12725         * stdio-common/test-fseek.c: Likewise.
12726         * stdio-common/test-popen.c: Likewise.
12727         * stdio-common/test-vfprintf.c: Likewise.
12728         * stdio-common/tst-cookie.c: Likewise.
12729         * stdio-common/tst-fileno.c: Likewise.
12730         * stdio-common/tst-gets.c: Likewise.
12731         * stdio-common/tst-obprintf.c: Likewise.
12732         * stdio-common/tst-perror.c: Likewise.
12733         * stdio-common/tst-sprintf2.c: Likewise.
12734         * stdio-common/tst-sprintf3.c: Likewise.
12735         * stdio-common/tst-sprintf.c: Likewise.
12736         * stdio-common/tst-swprintf.c: Likewise.
12737         * stdio-common/tst-tmpnam.c: Likewise.
12738         * stdio-common/tst-unbputc.c: Likewise.
12739         * stdio-common/tst-wc-printf.c: Likewise.
12740         * stdlib/tst-environ.c: Likewise.
12741         * stdlib/tst-fmtmsg.c: Likewise.
12742         * stdlib/tst-limits.c: Likewise.
12743         * stdlib/tst-rand48-2.c: Likewise.
12744         * stdlib/tst-rand48.c: Likewise.
12745         * stdlib/tst-random2.c: Likewise.
12746         * stdlib/tst-random.c: Likewise.
12747         * stdlib/tst-strtol.c: Likewise.
12748         * stdlib/tst-strtoll.c: Likewise.
12749         * stdlib/tst-tls-atexit.c: Likewise.
12750         * stdlib/tst-xpg-basename.c: Likewise.
12751         * string/test-ffs.c: Likewise.
12752         * string/tst-bswap.c: Likewise.
12753         * string/tst-inlcall.c: Likewise.
12754         * string/tst-strtok.c: Likewise.
12755         * string/tst-strxfrm.c: Likewise.
12756         * sysdeps/x86_64/tst-audit10.c: Likewise.
12757         * sysdeps/x86_64/tst-audit3.c: Likewise.
12758         * sysdeps/x86_64/tst-audit4.c: Likewise.
12759         * sysdeps/x86_64/tst-audit5.c: Likewise.
12760         * time/tst-ftime_l.c: Likewise.
12761         * time/tst-getdate.c: Likewise.
12762         * time/tst-mktime3.c: Likewise.
12763         * time/tst-mktime.c: Likewise.
12764         * time/tst-posixtz.c: Likewise.
12765         * time/tst-strptime2.c: Likewise.
12766         * time/tst-strptime3.c: Likewise.
12767         * wcsmbs/tst-btowc.c: Likewise.
12768         * wcsmbs/tst-mbrtowc.c: Likewise.
12769         * wcsmbs/tst-mbsrtowcs.c: Likewise.
12770         * wcsmbs/tst-wchar-h.c: Likewise.
12771         * wcsmbs/tst-wcpncpy.c: Likewise.
12772         * wcsmbs/tst-wcrtomb.c: Likewise.
12773         * wcsmbs/tst-wcsnlen.c: Likewise.
12774         * wcsmbs/tst-wcstof.c: Likewise.
12776 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
12778         [BZ #14132]
12779         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
12780         INTDEF.
12781         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
12782         declaration.
12783         (_dl_mcount): Use rtld_hidden_proto.
12784         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
12785         _dl_mcount.
12786         * elf/rtld.c (_rtld_global_ro): Likewise.
12788         [BZ #14132]
12789         * elf/dl-init.c (_dl_init): Don't use INTDEF.
12790         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
12791         of _dl_init_internal.
12792         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
12793         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
12794         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
12795         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
12796         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
12797         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
12798         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
12799         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
12800         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
12801         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
12802         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
12803         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
12804         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12805         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12806         * sysdeps/tile/dl-start.S (_start): Likewise.
12807         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
12808         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
12810         [BZ #14132]
12811         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
12812         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
12813         (rtld_progname): Make macro definition unconditional.
12814         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
12815         INTDEF.
12816         (dlmopen_doit): Do not use INTUSE with _dl_argv.
12817         (dl_main): Likewise.
12818         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12819         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
12820         instead of _dl_argv_internal.
12821         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12822         __GI__dl_argv instead of INTUSE(_dl_argv).
12823         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
12824         __GI__dl_argv instead of _dl_argv_internal.
12826         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
12827         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
12828         macro.
12829         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
12830         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
12831         New macro.
12832         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
12833         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
12834         macro.
12835         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
12836         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
12838 2014-11-04  Andreas Schwab  <schwab@suse.de>
12840         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
12842 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12844         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
12845         mtvsrd instruction in binary form.
12847 2014-11-03  Andreas Schwab  <schwab@suse.de>
12849         [BZ #17522]
12850         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
12851         for less than MB_LEN_MAX use a local buffer of that size.
12852         * libio/tst-fputws.c: New file.
12853         * libio/Makefile (tests): Add tst-fputws.
12855 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
12857         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
12858         the size of the fpu_fr.fpu_dregs[] array.
12860 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
12862         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
12863         (__nanosleep): Do not define as alias.
12864         (nanosleep): Define as alias of __nanosleep.
12865         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
12866         __libc_nanosleep name.
12868 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
12870         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
12871         install.texi in comment.
12873 2014-10-31  Torvald Riegel  <triegel@redhat.com>
12875         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
12876         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
12877         ... add here and use lwsync or sync ...
12878         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
12879         ... and add here using lwsync.
12881 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
12883         * elf/dl-machine-reject-phdr.h: New file.
12884         * elf/dl-load.c: #include that.
12885         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
12886         if that returned true.
12888 2014-10-31  Roland McGrath  <roland@hack.frob.com>
12890         [BZ #17496]
12891         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
12892         gen-as-const-headers chunk.  Add a big scare comment after the last
12893         safe place to touch before-compile.
12895 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
12897         * manual/install.texi (Tools for Compilation): Update autoconf
12898         version requirements.
12899         * INSTALL: Regenerated.
12901         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
12902         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
12903         (__libc_pselect): Likewise.
12905         [BZ #14138]
12906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
12907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12911 2014-10-31  Torvald Riegel  <triegel@redhat.com>
12913         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
12914         correct barrier instruction.
12915         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
12916         Likewise.
12917         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
12918         Likewise.
12920 2014-10-30  Roland McGrath  <roland@hack.frob.com>
12922         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
12923         after defining inlines.  Instead, just use parens to defeat macro
12924         expansion of __isctype in its declaration.
12926 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
12928         * include/sys/uio.h (__libc_readv): Remove declaration.
12929         (__libc_writev): Likewise.
12930         * misc/readv.c (__libc_readv): Rename to __readv.
12931         (__readv): Do not define as alias.
12932         (readv): Define as alias of __readv.
12933         * misc/writev.c (__libc_writev): Rename to __writev.
12934         (__writev): Do not define as alias.
12935         (writev): Define as alias of __writev.
12936         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
12937         (__readv): Do not define as alias.
12938         (readv): Define unconditionally as alias of __readv.
12939         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
12940         (__writev): Do not define as alias.
12941         (writev): Define unconditionally as alias of __writev.
12942         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
12943         name.
12944         (writev): Do not define __libc_writev name.
12946 2014-10-30  Roland McGrath  <roland@hack.frob.com>
12948         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
12949         (convert_charseq): New function, broken out of ...
12950         (use_from_charmap): ... here.  Call it.
12951         (use_to_charmap): Use convert_charseq and free instead of duplicating
12952         its code with a variable-length stack struct.
12954 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
12956         * include/fcntl.h (__libc_creat): Remove declaration.
12957         * io/creat.c (__libc_creat): Rename to creat.
12958         (creat): Do not define as alias.
12959         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
12960         of creat instead of __libc_creat.
12961         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
12962         to creat.
12963         (creat): Do not define as alias.
12964         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
12965         __libc_creat.
12966         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
12967         __libc_creat name.
12968         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
12969         Likewise.
12971 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
12973         * manual/llio.texi: Add comments discussing why write() may be
12974         considered MT-unsafe on Linux.
12976 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
12978         * dl-load.c (local_strdup): Remove.
12979         (expand_dynamic_string_token): Use __strdup.
12980         (decompose_rpath): Likewise.
12981         (_dl_map_object): Likewise.
12983 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
12985         [BZ #14132]
12986         * sysdeps/generic/unwind-dw2-fde.c
12987         (__register_frame_info_bases_internal): Do not declare.
12988         (__register_frame_info_table_bases_internal): Likewise.
12989         (__deregister_frame_info_bases_internal): Likewise.
12990         (__register_frame_info_bases): Declare and use hidden_proto before
12991         definition.  Use hidden_def instead of INTDEF.
12992         (__register_frame_info_table_bases): Likewise.
12993         (__deregister_frame_info_bases): Likewise.
12994         (__register_frame_info): Do not use INTUSE.
12995         (__register_frame): Likewise.
12996         (__register_frame_info_table): Likewise.
12997         (__register_frame_table): Likewise.
12998         (__deregister_frame_info): Likewise.
12999         (__deregister_frame): Likewise.
13001 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
13003         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13004         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
13005         not undefine.
13006         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
13007         Likewise.
13008         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
13009         Likewise.
13011 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
13013         [BZ #14138]
13014         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
13015         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
13016         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
13017         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
13018         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
13019         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
13020         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
13021         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
13022         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
13023         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
13024         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
13025         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
13026         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
13027         syscall.
13028         (setfsuid): Likewise.
13029         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
13030         (setfsuid): Likewise.
13031         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
13032         (setfsuid): Likewise.
13033         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
13034         Likewise.
13035         (setfsuid): Likewise.
13036         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
13037         (setfsuid): Likewise.
13038         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
13039         Likewise.
13040         (setfsuid): Likewise.
13042 2014-10-27  Andreas Schwab  <schwab@suse.de>
13044         [BZ #17501]
13045         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
13046         check for Slow_SSE4_2 feature bit.
13047         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
13048         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
13049         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
13050         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
13052 2014-10-24  Roland McGrath  <roland@hack.frob.com>
13054         * configure.ac: Validate compiler version with a empirical test of
13055         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
13056         $CC -v output.
13057         * configure: Regenerated.
13059         * inet/htons.c (htons): Prototypify.
13060         * inet/htonl.c (htonl): Likewise.
13062 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13064         * string/strncat.c (strncat): Improve performance by using strlen.
13066 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13068         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
13070 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13072         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
13073         Call libc_fetestexcept_aarch64.
13075 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13077         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
13078         Call libc_feholdexcept_aarch64.
13080 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13082         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
13083         Call get_rounding_mode.
13085 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13087         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
13088         Simplify logic.
13090 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13092         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
13093         Simplify logic.
13095 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
13097         [BZ #14138]
13098         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
13099         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
13100         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
13101         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
13102         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
13103         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
13104         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
13105         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
13106         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
13107         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
13108         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13109         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
13110         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
13111         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
13112         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
13113         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
13114         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
13115         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
13116         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
13117         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
13118         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
13119         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
13120         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
13121         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
13122         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
13123         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
13124         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
13125         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
13126         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
13127         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
13128         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
13129         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
13130         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
13131         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
13132         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
13133         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
13134         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
13135         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
13136         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
13137         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
13138         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
13139         syscall.
13140         (geteuid): Likewise.
13141         (getgid): Likewise.
13142         (getuid): Likewise.
13143         (getresgid): Likewise.
13144         (getresuid): Likewise.
13145         (getgroups): Likewise.
13146         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
13147         (geteuid): Likewise.
13148         (getgid): Likewise.
13149         (getuid): Likewise.
13150         (getresgid): Likewise.
13151         (getresuid): Likewise.
13152         (getgroups): Likewise.
13153         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
13154         (geteuid): Likewise.
13155         (getgid): Likewise.
13156         (getuid): Likewise.
13157         (getresgid): Likewise.
13158         (getresuid): Likewise.
13159         (getgroups): Likewise.
13160         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
13161         Likewise.
13162         (geteuid): Likewise.
13163         (getgid): Likewise.
13164         (getuid): Likewise.
13165         (getresgid): Likewise.
13166         (getresuid): Likewise.
13167         (getgroups): Likewise.
13168         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
13169         (geteuid): Likewise.
13170         (getgid): Likewise.
13171         (getuid): Likewise.
13172         (getresgid): Likewise.
13173         (getresuid): Likewise.
13174         (getgroups): Likewise.
13175         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
13176         Likewise.
13177         (geteuid): Likewise.
13178         (getgid): Likewise.
13179         (getuid): Likewise.
13180         (getgroups): Likewise.
13182         [BZ #14138]
13183         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
13184         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
13185         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
13186         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
13187         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
13188         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
13189         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
13190         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
13191         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
13192         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
13193         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
13194         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
13195         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
13196         __chown.
13197         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
13198         (lchown): Likewise.
13199         (fchown): Likewise.
13200         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
13201         Likewise.
13202         (lchown): Likewise.
13203         (fchown): Likewise.
13204         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
13205         (lchown): Likewise.
13206         (fchown): Likewise.
13207         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
13208         Likewise.
13209         (lchown): Likewise.
13210         (fchown): Likewise.
13212 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
13214         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
13215         Simplify logic.
13217 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
13219         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
13220         Cleanup logic.
13222 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
13224         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
13225         Remove unused include.
13227 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
13229         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
13230         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
13231         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
13232         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
13234 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
13235             Helge Deller <deller@gmx.de>
13237         [BZ #17508]
13238         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
13239         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
13240         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
13242 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
13244         [BZ #14132]
13245         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
13246         Remove macro definition.
13247         (__ashrdi3_v_glibc20): Likewise.
13248         (__lshrdi3_v_glibc20): Likewise.
13249         (__cmpdi2_v_glibc20): Likewise.
13250         (__ucmpdi2_v_glibc20): Likewise.
13251         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
13252         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
13253         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
13254         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
13255         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
13256         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
13258 2014-10-22  Roland McGrath  <roland@hack.frob.com>
13260         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
13261         old GNU extension [0] syntax.
13262         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
13263         alloca rather than an array member with variable length.
13264         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
13265         * nscd/nscd.c (invalidate_db): New function, broken out of ...
13266         (parse_opt): ... here.  Likewise use alloca there.
13267         Validate the -i argument before checking for rootness.
13268         (send_shutdown): New function, broken out of ...
13269         (parse_opt): ... here.
13271 2014-10-22  Roland McGrath  <roland@hack.frob.com>
13273         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
13274         macro to get at the _rt_local_ro field.
13275         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
13276         ([PIC] case) or _dl_hwcap ([!PIC] case).
13277         * sysdeps/arm/setjmp.S: Likewise.
13279         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
13280         * sysdeps/arm/configure.ac: New check to define it.
13281         * sysdeps/arm/configure: Regenerated.
13282         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
13283         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
13284         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
13285         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
13286         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
13287         Use move/movt pair instead of a load.
13288         (LDST_GLOBAL): Macro removed.
13289         (LDR_GLOBAL): New macro replaces it.
13290         (LDR_HIDDEN): New macro.
13291         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
13292         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
13294         * setjmp/tst-setjmp-static.c: New file.
13295         * setjmp/Makefile (tests): Add it.
13296         (tests-static): New variable.
13298 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
13300         [BZ #17485]
13301         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
13303 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
13305         [BZ #14132]
13306         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
13308 2014-10-21  Roland McGrath  <roland@hack.frob.com>
13310         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
13312 2014-10-20  Roland McGrath  <roland@hack.frob.com>
13314         * io/fts.c (dirent_not_directory): New function.
13315         (fts_build): Call it.
13317 2014-10-20  Roland McGrath  <roland@hack.frob.com>
13319         * nptl/version.c (__nptl_main): Use normal __write rather than
13320         INTERNAL_SYSCALL.
13321         (banner): Update copyright years.
13323         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
13324         gettimeofday.
13325         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
13326         * nptl/pthread_cond_timedwait.c: Likewise.
13327         * nptl/pthread_mutex_timedlock.c: Likewise.
13328         * nptl/sem_timedwait.c: Likewise.
13330         * sysdeps/nptl/bits/libc-lock.h
13331         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
13332         (__libc_lock_init_recursive): Return void, not 0.
13333         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
13334         (__libc_rwlock_init): Likewise.
13335         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
13337 2014-10-20  Torvald Riegel  <triegel@redhat.com>
13339         [BZ #15215]
13340         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
13341         (__pthread_once_slow): ... here.
13342         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
13343         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
13345 2014-10-20  Torvald Riegel  <triegel@redhat.com>
13347         [BZ #15215]
13348         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
13349         __PTHREAD_ONCE_FORK_GEN_INCR): New.
13350         * sysdeps/nptl/fork.c (__libc_fork): Use them.
13351         * nptl/pthread_once.c (__pthread_once): Likewise.
13352         Update comments.
13354 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
13356         [BZ #14138]
13357         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
13358         name.
13359         (writev): Use __libc_writev as strong name.
13360         * sysdeps/unix/sysv/linux/readv.c: Remove file.
13361         * sysdeps/unix/sysv/linux/writev.c: Likewise.
13363 2014-10-17  Roland McGrath  <roland@hack.frob.com>
13365         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
13367         * sysdeps/i386/nptl/tls.h
13368         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
13369         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
13370         New macros.
13371         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
13372         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
13373         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
13374         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
13375         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
13376         Call CHECK_THREAD_SYSINFO instead of doing an assert.
13378         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
13379         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
13380         on [__NR_futex].
13381         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
13382         broken out of ...
13383         (__pthread_mutex_init): ... here.  Call it.
13384         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
13385         Conditionalize PI cases on [__NR_futex].
13386         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
13387         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
13388         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
13390         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
13391         conditional on [SIGSETXID].
13392         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
13393         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
13394         is defined.  Likewise for SIGSETXID.
13395         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
13396         Conditionalize definitions on [SIGSETXID].
13397         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
13398         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
13399         unblocking on [SIGCANCEL].
13401         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
13402         [__NR_set_robust_list].
13404 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
13406         * string/strcoll_l.c (get_next_seq): Fix up formatting.
13407         (do_compare): Likewise.
13409 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
13411         [BZ #15884]
13412         * string/strcoll_l.c: Don't include stdio.h.
13413         (coll_seq): Remove members idxarr and rulearr.
13414         (get_next_seq_cached): Remove function.
13415         (get_next_seq): Likewise.
13416         (get_next_seq_nocache): Rename to get_next_seq.
13417         (do_compare): Remove function.
13418         (do_compare_nocache): Rename to do_compare.
13419         (STRCOLL): Remove weight and rules cache.
13421 2014-10-16  Roland McGrath  <roland@hack.frob.com>
13423         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
13424         * sysdeps/arm/sfp-machine.h: ... to here.
13425         * sysdeps/arm/Implies: Remove arm/soft-fp.
13427 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
13429         * conform/data/sys/utsname.h-data (*_t): Allow.
13430         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
13431         [POSIX] (WEXITED): Do not expect constant.
13432         [POSIX] (WSTOPPED): Likewise.
13433         [POSIX] (WNOHANG): Likewise.
13434         [POSIX] (WNOWAIT): Likewise.
13435         [POSIX] (siginfo_t): Do not expect type or elements.
13436         [POSIX] (pid_t): Do not expect type.
13437         [POSIX] (signal.h): Do not allow header.
13438         [POSIX] (sys/resource.h): Likewise.
13439         [POSIX] (si_*): Do not allow pattern.
13440         [POSIX] (W*): Likewise.
13441         [POSIX] (P_*): Likewise.
13442         [POSIX] (BUS_*): Likewise.
13443         [POSIX] (CLD_*): Likewise.
13444         [POSIX] (FPE_*): Likewise.
13445         [POSIX] (ILL_*): Likewise.
13446         [POSIX] (POLL_*): Likewise.
13447         [POSIX] (SEGV_*): Likewise.
13448         [POSIX] (SI_*): Likewise.
13449         [POSIX] (TRAP_*): Likewise.
13450         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
13451         variable.
13453 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
13455         [BZ #12926]
13456         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
13457         infinite loop when __recvmsg returns 0.
13459 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
13461         * CANCEL-FCT-WAIVE: Remove file.
13462         * CANCEL-FILE-WAIVE: Likewise.
13464         [BZ #14132]
13465         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
13466         instead of INTVARDEF.
13467         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
13468         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
13469         rtld_hidden_data_def instead of INTVARDEF.
13470         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
13471         * elf/dl-deps.c (expand_dst): Likewise.
13472         * elf/dl-load.c (_dl_dst_count): Likewise.
13473         (_dl_dst_substitute): Likewise.
13474         (decompose_rpath): Likewise.
13475         (_dl_init_paths): Likewise.
13476         (open_path): Likewise.
13477         (_dl_map_object): Likewise.
13478         * elf/rtld.c (dl_main): Likewise.
13479         (process_dl_audit): Likewise.
13480         (process_envvars): Likewise.
13481         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
13482         Remove declaration.
13483         (__libc_enable_secure): Use rtld_hidden_proto.
13485 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13487         * elf/dl-load.c
13488         (add_path): New function broken out of _dl_rtld_di_serinfo.
13489         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
13491 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
13493         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
13494         parentheses around macro arguments.
13495         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
13496         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
13497         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
13498         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
13499         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
13500         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
13501         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
13502         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
13503         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
13504         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
13505         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
13506         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
13507         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
13508         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
13509         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
13510         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
13511         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
13512         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
13513         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
13514         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
13515         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
13516         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
13517         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
13518         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
13519         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
13520         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
13521         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
13522         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
13523         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
13524         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
13525         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
13526         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
13527         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
13528         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
13529         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
13530         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
13531         Likewise.
13532         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
13533         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
13534         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
13535         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
13536         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
13537         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
13538         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
13539         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
13540         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
13541         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
13542         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
13543         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
13544         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
13545         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
13546         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
13547         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
13548         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
13549         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
13550         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
13551         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
13552         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
13553         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
13554         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
13555         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
13556         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
13557         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
13558         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
13559         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
13560         (_FP_FRAC_SRS_1): Likewise.
13561         (_FP_FRAC_CLZ_1): Likewise.
13562         (_FP_MUL_MEAT_1_imm): Likewise.
13563         (_FP_MUL_MEAT_1_wide): Likewise.
13564         (_FP_MUL_MEAT_1_hard): Likewise.
13565         (_FP_SQRT_MEAT_1): Likewise.
13566         (_FP_FRAC_ASSEMBLE_1): Likewise.
13567         (_FP_FRAC_DISASSEMBLE_1): Likewise.
13568         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
13569         (__FP_CLZ_2): Likewise.
13570         (_FP_MUL_MEAT_2_wide): Likewise.
13571         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
13572         (_FP_MUL_MEAT_2_gmp): Likewise.
13573         (_FP_MUL_MEAT_2_120_240_double): Likewise.
13574         (_FP_SQRT_MEAT_2): Likewise.
13575         (_FP_FRAC_ASSEMBLE_2): Likewise.
13576         (_FP_FRAC_DISASSEMBLE_2): Likewise.
13577         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
13578         (_FP_FRAC_CLZ_4): Likewise.
13579         (_FP_MUL_MEAT_4_wide): Likewise.
13580         (_FP_MUL_MEAT_4_gmp): Likewise.
13581         (_FP_SQRT_MEAT_4): Likewise.
13582         (_FP_FRAC_ASSEMBLE_4): Likewise.
13583         (_FP_FRAC_DISASSEMBLE_4): Likewise.
13584         * soft-fp/op-common.h (_FP_CMP): Likewise.
13585         (_FP_CMP_EQ): Likewise.
13586         (_FP_CMP_UNORD): Likewise.
13587         (_FP_TO_INT): Likewise.
13588         (_FP_FROM_INT): Likewise.
13589         [!__FP_CLZ] (__FP_CLZ): Likewise.
13590         (_FP_DIV_HELP_imm): Likewise.
13591         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
13592         Likewise.
13593         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
13594         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
13595         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
13596         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
13597         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
13598         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
13599         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
13600         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
13601         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
13602         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
13603         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
13604         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
13605         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
13606         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
13607         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
13608         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
13609         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
13610         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
13611         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
13612         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
13613         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
13614         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
13615         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
13616         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
13617         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
13618         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
13619         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
13620         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
13621         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
13622         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
13623         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
13624         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
13625         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
13626         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
13627         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
13628         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
13629         (FP_UNPACK_RAW_SP): Likewise.
13630         (FP_PACK_RAW_S): Likewise.
13631         (FP_PACK_RAW_SP): Likewise.
13632         (FP_UNPACK_S): Likewise.
13633         (FP_UNPACK_SP): Likewise.
13634         (FP_UNPACK_SEMIRAW_S): Likewise.
13635         (FP_UNPACK_SEMIRAW_SP): Likewise.
13636         (FP_PACK_S): Likewise.
13637         (FP_PACK_SP): Likewise.
13638         (FP_PACK_SEMIRAW_S): Likewise.
13639         (FP_PACK_SEMIRAW_SP): Likewise.
13640         (_FP_SQRT_MEAT_S): Likewise.
13641         (FP_CMP_S): Likewise.
13642         (FP_CMP_EQ_S): Likewise.
13643         (FP_CMP_UNORD_S): Likewise.
13644         (FP_TO_INT_S): Likewise.
13645         (FP_FROM_INT_S): Likewise.
13647         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
13649         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
13650         (FP_EX_INVALID_IMZ): Likewise.
13651         (FP_EX_INVALID_IMZ_FMA): Likewise.
13652         (FP_EX_INVALID_ISI): Likewise.
13653         (FP_EX_INVALID_ZDZ): Likewise.
13654         (FP_EX_INVALID_IDI): Likewise.
13655         (FP_EX_INVALID_SQRT): Likewise.
13656         (FP_EX_INVALID_CVI): Likewise.
13657         (FP_EX_INVALID_VC): Likewise.
13658         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
13659         "invalid" exceptions.
13660         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
13661         (_FP_ADD_INTERNAL): Likewise.
13662         (_FP_MUL): Likewise.
13663         (_FP_FMA): Likewise.
13664         (_FP_DIV): Likewise.
13665         (_FP_CMP_CHECK_NAN): Likewise.
13666         (_FP_SQRT): Likewise.
13667         (_FP_TO_INT): Likewise.
13668         (FP_EXTEND): Likewise.
13670 2014-10-09  Allan McRae  <allan@archlinux.org>
13672         * po/fr.po: Update French translation from translation project.
13674 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
13676         [BZ #14132]
13677         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
13678         of INTDEF.
13679         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
13680         (__cxa_atexit): Use libc_hidden_proto.
13681         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
13683         [BZ #14132]
13684         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
13685         declaration.
13686         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
13687         [!_ISOMAC] (__iswspace_l_internal): Likewise.
13688         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
13689         [!_ISOMAC] (__iswctype_internal): Likewise.
13690         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
13691         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
13692         alias.
13693         (fcntl): Remove __fcntl_internal alias.
13694         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
13695         __connect_internal alias.
13696         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
13697         Likewise.
13699         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
13700         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
13701         FP_DENORM_ZERO.
13702         (_FP_CHECK_FLUSH_ZERO): New macro.
13703         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
13704         (_FP_CMP): Likewise.
13705         (_FP_CMP_EQ): Likewise.
13706         (_FP_TO_INT): Do not set inexact for subnormal arguments if
13707         FP_DENORM_ZERO.
13708         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
13709         (FP_TRUNC): Likewise.
13711         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
13712         treated as invalid conversion, not as normal exponent.
13714         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
13715         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
13716         (_FP_CMP_EQ): Likewise.
13717         (_FP_CMP_UNORD): Likewise.
13718         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
13719         (FP_CMP_EQ_D): Likewise.
13720         (FP_CMP_UNORD_D): Likewise.
13721         * soft-fp/extended.h (FP_CMP_E): Likewise.
13722         (FP_CMP_EQ_E): Likewise.
13723         (FP_CMP_UNORD_E): Likewise.
13724         * soft-fp/quad.h (FP_CMP_Q): Likewise.
13725         (FP_CMP_EQ_Q): Likewise.
13726         (FP_CMP_UNORD_Q): Likewise.
13727         * soft-fp/single.h (FP_CMP_S): Likewise.
13728         (FP_CMP_EQ_S): Likewise.
13729         (FP_CMP_UNORD_S): Likewise.
13730         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
13731         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
13732         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
13733         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
13734         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
13735         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
13736         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
13737         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
13738         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
13739         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
13740         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
13741         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
13742         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
13743         to FP_CMP_Q.
13744         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
13745         FP_CMP_Q.
13746         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
13747         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
13748         FP_CMP_EQ_Q.
13749         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
13750         FP_CMP_Q.
13751         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
13752         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
13753         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
13754         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
13755         FP_CMP_EQ_Q.
13756         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
13757         FP_CMP_Q.
13758         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
13759         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
13760         FP_CMP_EQ_Q.
13761         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
13762         FP_CMP_Q.
13763         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
13764         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
13765         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
13766         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
13767         FP_CMP_EQ_Q.
13769         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
13770         a subnormal result, set the underflow exception if trapping on
13771         underflow is enabled.
13772         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
13773         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
13774         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
13775         redefine to 0.
13776         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
13777         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13778         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13779         * soft-fp/extendxftf2.c (__extendxftf2): Use
13780         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
13782         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
13783         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
13784         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13785         FP_HANDLE_EXCEPTIONS.
13786         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
13787         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13788         FP_HANDLE_EXCEPTIONS.
13789         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
13790         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13791         FP_HANDLE_EXCEPTIONS.
13792         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
13793         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13794         FP_HANDLE_EXCEPTIONS.
13796 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
13798         [BZ #14132]
13799         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
13800         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
13801         use INTUSE.
13802         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
13803         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
13804         Remove alias.
13805         (__adjtimex): Define using libc_hidden_ver.
13806         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
13807         Remove declaration.
13808         (ntp_gettime): Call __adjtimex directly.
13809         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
13810         Remove declaration.
13811         (ntp_gettimex): Call __adjtimex directly.
13812         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
13813         __adjtimex_internal alias.
13815 2014-10-08  Roland McGrath  <roland@hack.frob.com>
13817         [BZ #17460]
13818         * nscd/nscd.c (more_help): Rewrite list of tables collection
13819         using xstrdup and asprintf.
13821         * nscd/nscd_conf.c: Remove local xstrdup declaration.
13823 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13824             Roland McGrath  <roland@hack.frob.com>
13826         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
13827         (do_lookup_unique): ... local function 'enter' here; update callers.
13829 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
13831         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
13832         compat_symbol calls on [SHARED].
13833         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
13834         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
13835         Remove.
13836         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13837         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
13838         (oldsetrlimit): Remove.
13839         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
13841         (lchown): New syscall entry.
13842         (oldsetrlimit): Remove.
13843         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13844         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
13845         (oldsetrlimit): Remove.
13846         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13848         [BZ #14138]
13849         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
13850         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
13851         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
13852         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
13853         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
13854         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
13855         (fchown): Likewise.
13856         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
13857         (fchown): Likewise.
13858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
13859         Likewise.
13861 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13863         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
13864         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
13865         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
13866         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
13867         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
13868         Likewise.
13869         (__old_sem_post): Likewise.
13871 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
13873         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
13874         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
13875         HAVE_CLOCK_GETTIME_VSYSCALL macros.
13876         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
13877         Use INLINE_VSYSCALL macro.
13878         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
13879         __vdso_clock_gettime.
13880         * sysdeps/unix/sysv/linux/tile/init-first.c
13881         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
13882         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
13883         __vdso_clock_gettime.
13885         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
13886         to set up frame more cleanly.
13888         * sysdeps/tile/memcmp.c: New file.
13890         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
13892         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
13893         * sysdeps/tile/tilegx/strcasestr.c: New file.
13894         * sysdeps/tile/tilegx/strnlen.c: New file.
13895         * sysdeps/tile/tilegx/strstr.c: New file.
13897         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
13899 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
13901         * nptl/tst-setuid3.c: Write errors to stdout.
13903 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13905         * elf/dl-deps.c
13906         (preload): New functions broken out of _dl_map_object_deps.
13907         (_dl_map_object_deps):  Remove a nested function. Update call sites.
13909 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
13911         [BZ #14138]
13912         * sysdeps/unix/sysv/linux/execve.c: Remove file.
13913         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
13915 2014-10-01  Steve Ellcey  <sellcey@mips.com>
13917         * sysdeps/mips/strcmp.S: New.
13919 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
13921         [BZ #14138]
13922         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
13923         (linkat): Likewise.
13924         (mkdirat): Likewise.
13925         (readlinkat): Likewise.
13926         (renameat): Likewise.
13927         (symlinkat): Likewise.
13928         (unlinkat): Likewise.
13929         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
13930         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
13931         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
13932         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
13933         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
13934         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
13935         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
13937 2014-09-30  Will Newton  <will.newton@linaro.org>
13939         * math/math.h: Define long double math functions if
13940         _LIBC_TEST is defined.
13941         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
13943         * localedata/Makefile: Move assignment to tests-special
13944         into an ifdef testing run-built-tests.
13945         * timezone/Makefile: Likewise.
13947 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
13949         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
13950         with $(BASH) not $(SHELL).
13952 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
13953             Matthew LeGendre  <legendre1@llnl.gov>
13955         [BZ #17411]
13956         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
13957         l_reloc_result.
13959 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13961         * stdio-common/printf_fp.c
13962         (hack_digit): New function, broken out of ...
13963         (__printf_fp): ... local function here.  Update call sites.
13964         hack_digit now takes an additional parameter that is a pointer
13965         to a struct of the referenced locals.  Those locals moved inside
13966         the struct and references updated.
13968 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
13970         * aclocal.m4: Require autoconf 2.69.
13971         * configure: Regenerated.
13972         * sysdeps/aarch64/configure: Likewise.
13973         * sysdeps/alpha/configure: Likewise.
13974         * sysdeps/arm/armv7/configure: Likewise.
13975         * sysdeps/arm/configure: Likewise.
13976         * sysdeps/ia64/configure: Likewise.
13977         * sysdeps/mach/configure: Likewise.
13978         * sysdeps/mips/configure: Likewise.
13979         * sysdeps/s390/configure: Likewise.
13980         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
13981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
13983         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
13984         file.
13985         * sysdeps/ia64/configure.ac: Likewise.
13987 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
13989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
13990         specify symbol version for ld.so.  Do not include entry for
13991         libpthread.
13992         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13993         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
13994         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13996         [BZ #14171]
13997         * Makeconfig [$(build-shared) = yes]
13998         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
13999         makefiles.
14000         [$(build-shared) = yes && $(soversions.mk-done) = t]
14001         ($(common-objpfx)gnu/lib-names.h): Remove rule.
14002         [$(build-shared) = yes && $(soversions.mk-done) = t]
14003         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
14004         to Makerules.
14005         [$(build-shared) = yes && $(soversions.mk-done) = t]
14006         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
14007         here.
14008         [$(build-shared) = yes && $(soversions.mk-done) = t]
14009         (common-generated): Don't append gnu/lib-names.h and
14010         gnu/lib-names.stmp here.
14011         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
14012         (lib-names-h-abi): New variable.
14013         [$(build-shared) = yes && $(soversions.mk-done) = t]
14014         (lib-names-stmp-abi): Likewise.
14015         [$(build-shared) = yes && $(soversions.mk-done) = t &&
14016         abi-variants] (before-compile): Append
14017         $(common-objpfx)$(lib-names-h-abi).
14018         [$(build-shared) = yes && $(soversions.mk-done) = t &&
14019         abi-variants] (common-generated): Append gnu/lib-names.h.
14020         [$(build-shared) = yes && $(soversions.mk-done) = t &&
14021         abi-variants] (install-others-nosubdir): Depend on
14022         $(inst_includedir)/$(lib-names-h-abi).
14023         [$(build-shared) = yes && $(soversions.mk-done) = t &&
14024         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
14025         [$(build-shared) = yes && $(soversions.mk-done) = t]
14026         ($(common-objpfx)$(lib-names-h-abi)): New rule.
14027         [$(build-shared) = yes && $(soversions.mk-done) = t]
14028         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
14029         [$(build-shared) = yes && $(soversions.mk-done) = t]
14030         (common-generated): Append $(lib-names-h-abi) and
14031         $(lib-names-stmp-abi).
14032         * scripts/lib-names.awk: Do not handle multi being set.
14033         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
14034         Remove variable.
14035         (abi-lp64_be-ld-soname): Likewise.
14036         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
14037         Likewise.
14038         (abi-hard-ld-soname): Likewise.
14039         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
14040         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
14041         Remove variable.
14042         (abi-o32_hard-ld-soname): Likewise.
14043         (abi-o32_soft_2008-ld-soname): Likewise.
14044         (abi-o32_hard_2008-ld-soname): Likewise.
14045         (abi-n32_soft-ld-soname): Likewise.
14046         (abi-n32_hard-ld-soname): Likewise.
14047         (abi-n32_soft_2008-ld-soname): Likewise.
14048         (abi-n32_hard_2008-ld-soname): Likewise.
14049         (abi-n64_soft-ld-soname): Likewise.
14050         (abi-n64_hard-ld-soname): Likewise.
14051         (abi-n64_soft_2008-ld-soname): Likewise.
14052         (abi-n64_hard_2008-ld-soname): Likewise.
14053         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
14054         Likewise.
14055         (abi-64-v2-ld-soname): Likewise.
14056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
14057         ld.so entries.
14058         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
14059         variable.
14060         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
14061         entry.
14062         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
14063         variable.
14064         (abi-64-ld-soname): Likewise.
14065         (abi-x32-ld-soname): Likewise.
14066         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
14067         entry.
14068         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
14070 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
14072         [BZ #14138]
14073         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
14074         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
14075         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
14076         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
14077         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
14078         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
14079         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
14080         syscall entry for GLIBC_2.2 symbol version.
14081         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
14082         Likewise.
14083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
14084         (setrlimit): Likewise.
14085         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
14086         Likewise.
14088 2014-09-23  Will Newton  <will.newton@linaro.org>
14090         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
14091         _LINUX_ARM_SYSDEP_H include guard too.
14092         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
14093         define.
14095 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
14097         * sysdeps/unix/sysv/linux/eventfd.c:
14098         Make first argument unsigned.
14099         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
14100         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
14102 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
14104         * socket/recvmmsg.c (recvmmsg): Drop const argument.
14105         * socket/sys/socket.h: Likewise
14106         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
14108 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14110         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
14112 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
14114         * time/tst-ftime.c: New test.
14115         * time/Makefile (tests): Add tst-ftime.
14117 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
14119         * soft-fp/extended.h: Fix comment formatting.
14120         * soft-fp/op-1.h: Likewise.
14121         * soft-fp/op-2.h: Likewise.
14122         * soft-fp/op-4.h: Likewise.
14123         * soft-fp/op-8.h: Likewise.
14124         * soft-fp/op-common.h: Likewise.
14125         * soft-fp/soft-fp.h: Likewise.
14127         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
14129 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
14131         [BZ #6652]
14132         * Makeconfig (soversions-default-setname): Remove variable.
14133         ($(common-objpfx)soversions.i): Don't pass default_setname to
14134         soversions.awk.
14135         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
14136         oldest_abi to abi-versions.awk.
14137         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
14138         * config.make.in (oldest-abi): Remove variable.
14139         * configure.ac (--enable-oldest-abi): Remove configure option.
14140         * configure: Regenerated.
14141         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
14142         text.
14143         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
14144         * scripts/soversions.awk: Do not handle default_setname variable.
14145         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
14146         variable.
14147         * sysdeps/mach/hurd/configure: Regenerated.
14148         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
14149         variable.
14150         * sysdeps/unix/sysv/linux/configure: Regenerated.
14152 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14154         * elf/Makefile (CFLAGS-interp.c): Remove.
14155         ($(elf-objpfx)runtime-linker.h): Generate header with linker
14156         path string.
14157         * elf/interp.c: Include generated runtime-linker.h
14159         * Makerules (lib%.so): Don't include $(+interp) in
14160         prerequisites.
14161         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
14162         * dlfcn/eval.c: Remove file.
14164         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
14165         macros.
14167         [BZ #17266]
14168         * misc/sys/cdefs.h: Define __extern_always_inline for clang
14169         4.2 and newer.
14171         [BZ #17370]
14172         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
14174 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14175             Jakub Jelinek  <jakub@redhat.com>
14177         [BZ #17266]
14178         * libio/stdio.h: Check definition of __fortify_function
14179         instead of __extern_always_inline to include bits/stdio2.h.
14180         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
14181         check if __extern_always_inline is defined.
14182         [__USE_MISC || __USE_XOPEN]: Likewise.
14183         [__USE_ISOC99] Likewise.
14184         * misc/sys/cdefs.h (__fortify_function): Define only if
14185         __extern_always_inline is defined.
14186         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
14187         __extern_always_inline and __extern_inline only for g++-4.3
14188         and newer or a compatible gcc.
14190 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
14192         [BZ #17371]
14193         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
14194         last change to handle zero prefix length.
14196 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14198         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
14199         _SC_REGEX_VERSION.
14201         * posix/getconf.c (vars): Add _POSIX_IPV6 and
14202         _POSIX_RAW_SOCKETS.
14204 2014-09-13  Allan McRae  <allan@archlinux.org>
14206         * po/ru.po: Update Russian translation from translation project.
14208 2014-09-12  Roland McGrath  <roland@hack.frob.com>
14210         * locale/programs/locale.c (show_locale_vars): Inline local function
14211         into its sole call site.  Clean up some style nits.
14212         (print_item): New function, broken out of ...
14213         (show_info): ... local function here.  Clean up style nits.
14215         * locale/programs/ld-ctype.c (set_one_default): New function, broken
14216         out of ...
14217         (set_class_defaults): ... local function set_default here.
14218         Define set_default as a macro locally to pass constant parameters.
14219         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
14220         rather than a shared local.
14222         * stdlib/rpmatch.c (try): New function, broken out of ...
14223         (rpmatch): ... local function here.  Also, prototypify definition.
14225 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
14227         * scripts/soversions.awk: Do not handle configuration names.
14228         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
14229         vendor and os variables to soversions.awk.
14230         * configure.ac: Do not modify gnu-* host_os.
14231         * configure: Regenerated
14232         * shlib-versions: Remove first column with configuration names.
14233         * nptl/shlib-versions: Likewise.
14234         * nptl_db/shlib-versions: Likewise.
14235         * sysdeps/hppa/shlib-versions: Likewise.
14236         * sysdeps/m68k/shlib-versions: Likewise.
14237         * sysdeps/mach/hurd/shlib-versions: Likewise.
14238         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
14239         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
14240         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
14241         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
14242         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
14243         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
14244         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
14245         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
14246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
14247         Likewise.
14248         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
14249         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
14250         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
14251         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
14252         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
14253         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
14254         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
14255         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
14257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
14258         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
14259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
14260         Regenerated.
14261         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
14262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
14263         Condition symbol version definitions on [HAVE_ELFV2_ABI].
14265         * shlib-versions: Remove OS-specific entries.  Moved to files in
14266         sysdeps.
14267         * sysdeps/mach/hurd/shlib-versions: New file.
14268         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
14270         * nptl/shlib-versions: Remove architecture-specific entries.
14271         Moved to files in sysdeps.
14272         * shlib-versions: Likewise.
14273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
14274         file.
14275         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
14276         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
14277         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
14278         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
14280         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
14281         (UDP_NO_CHECK6_RX): Likewise.
14283 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14285         * sysdeps/posix/sysconf.c (__sysconf): Spell
14286         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
14288 2014-08-12  Florian Weimer  <fweimer@redhat.com>
14290         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
14291         loading.
14292         * iconv/Versions (__gconv_transliterate): Export for use from
14293         gconv modules.
14294         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
14295         (struct __gconv_trans_data, __gconv_trans_fct,
14296         __gconv_trans_context_fct, __gconv_trans_query_fct,
14297         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
14298         definitions.
14299         (struct __gconv_step_data): Remove __trans member.
14300         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
14301         longer hidden.  Remove unused trans_data argument.
14302         * iconv/gconv_int.h (struct trans_struct): Remove definition.
14303         (__gconv_translit_find): Remove declaration.
14304         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
14305         prototype.
14306         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
14307         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
14308         trans_data argument.  Add hidden definition.
14309         (__gconv_translit_find): Remove.
14310         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
14311         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
14312         * iconv/skeleton.c: Remove transliteration initialization.
14313         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
14314         __gconv_step_data initialization.
14315         * libio/iofwide.c (__libio_translit_): Remove.
14316         (_IO_fwide): Adjust struct __gconv_step_data initialization.
14317         * wcsmbs/btowc.c (__btowc): Likewise.
14318         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
14319         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
14320         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
14321         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
14322         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
14323         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
14324         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
14325         * wcsmbs/wctob.c (wctob): Likewise.
14327 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14329         [BZ #16194]
14330         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
14331         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
14332         register usage.
14333         * sysdeps/x86/Makefile: Adjust.
14335 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
14336             Roland McGrath  <roland@hack.frob.com>
14338         * locale/weight.h: Add include guard.
14339         (findidx): Make static rather than auto; take new parameters
14340         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
14341         * locale/weightwc.h: Likewise.
14342         * posix/fnmatch_loop.c
14343         (FCT): Change type of EXTRA from int32_t to wint_t.
14344         Don't include either header inside the function.
14345         Call FINDIDX rather than findidx, and pass new arguments.
14346         #undef FINDIDX at the end of the file.
14347         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
14348         FINDIDX before including fnmatch_loop.c for the non-wide version.
14349         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
14350         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
14351         for the wide version.
14352         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
14353         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
14354         Pass new arguments to findidx.
14355         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
14356         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
14357         Don't #include it inside the function.  Pass new arguments to findidx.
14358         * posix/regex_internal.h
14359         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
14360         (re_string_elem_size_at): Don't #include it inside the function.
14361         Pass new arguments to findidx.
14362         * string/strcoll_l.c: #include WEIGHT_H at top level.
14363         (get_next_seq): Don't #include it inside the function.
14364         Pass new arguments to findidx.
14365         (get_next_seq_nocache): Likewise.
14366         * string/strxfrm_l.c: #include WEIGHT_H at top level.
14367         (STRXFRM): Don't #include it inside the function.
14368         Pass new arguments to findidx.
14370 2014-09-11  Florian Weimer  <fweimer@redhat.com>
14372         [BZ #17344]
14373         * malloc/malloc.c (unlink): Turn asserts into a call to
14374         malloc_printerr.
14376 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
14378         [BZ #17370]
14379         * libio/wfileops (do_ftell_wide): Free OUT.
14381 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
14383         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
14385 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14387         [BZ #17363]
14388         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
14389         group if the current group is empty.
14391 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14393         * benchtests/bench-memset.c (test_main): Add more test from size
14394         from 32 to 512 bytes.
14395         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14396         Add POWER8 memset object.
14397         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14398         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
14399         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
14400         implementation.
14401         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
14402         Likewise.
14403         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
14404         multiarch POWER8 memset optimization.
14405         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
14406         POWER8 memset optimization.
14408         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14409         Remove bzero multiarch objects.
14410         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
14411         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
14412         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
14413         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
14414         Remove define.
14415         [__bzero]: Redefine to specific name.
14416         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
14417         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
14418         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
14419         define.
14420         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14421         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14423 2014-09-10  Florian Weimer  <fweimer@redhat.com>
14425         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
14426         warnings into errors.
14428         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
14429         __cxa_thread_atexit_impl prototype.
14431 2014-09-09  Steve Ellcey  <sellcey@mips.com>
14433         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
14434         Fix capitalization of error message.
14436 2014-09-09  Steve Ellcey  <sellcey@mips.com>
14438         * sysdeps/mips/preconfigure: Modify ABI tests.
14440 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
14442         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
14444 2014-09-07  Roland McGrath  <roland@hack.frob.com>
14445             Carlos O'Donell  <carlos@systemhalted.org>
14447         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
14448         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
14449         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
14450         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
14451         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
14452         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
14453         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
14454         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
14455         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
14456         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
14457         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
14458         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
14459         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
14460         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
14461         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
14462         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
14463         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
14464         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
14465         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
14466         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
14467         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
14468         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
14469         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
14470         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
14471         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
14472         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
14473         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
14474         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
14475         Deconditionalize the code that was previously under [RESET_PID].
14476         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
14477         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
14478         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
14479         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
14480         include sysdep.h.
14482 2014-09-08  Allan McRae  <allan@archlinux.org>
14484         * version.h (RELEASE): Set to "development".
14485         (VERSION): Set to "2.20.90"
14487 2014-09-07  Allan McRae  <allan@archlinux.org
14489         * version.h (RELEASE): Set to "stable".
14490         (VERSION): Set to "2.20"
14491         * include/features.h (__GLIBC_MINOR__): Set to 20.
14493         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
14494         Liebler.
14496         * po/ko.po: Update Korean translation from translation project.
14498 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
14500         [BZ #17354]
14501         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
14502         macro for handling signed relocations.
14504 2014-09-03  Florian Weimer  <fweimer@redhat.com>
14506         [BZ #17325]
14507         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
14508         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
14509         assert.
14510         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
14511         * iconvdata/ibm935.c (BODY): Likewise.
14512         * iconvdata/ibm937.c (BODY): Likewise.
14513         * iconvdata/ibm939.c (BODY): Likewise.
14514         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
14515         assert.
14516         * iconvdata/Makefile (iconv-test.out): Pass module list to test
14517         script.
14518         * iconvdata/run-iconv-test.sh: New test loop for checking for
14519         decoder crashers.
14521 2014-09-02  Khem Raj  <raj.khem@gmail.com>
14523         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
14524         libm_hidden_ver.
14526 2014-09-01  Allan McRae  <allan@archlinux.org>
14528         * po/eo.po: Update Esperanto translation from translation project.
14530         * po/ca.po: Update Catalan translation from translation project.
14532 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14534         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
14535         __proc_dostop call.
14537 2014-08-27  Mark Wielaard  <mjw@redhat.com>
14539         [BZ #17319]
14540         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
14541         to call set_thread_area instead of hand written asm.
14542         (__NR_set_thread_area): Removed define.
14543         (TLS_FLAG_WRITABLE): Likewise.
14544         (__ASSUME_SET_THREAD_AREA): Remove check.
14545         (TLS_EBX_ARG): Remove define.
14546         (TLS_LOAD_EBX): Likewise.
14548 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14550         Simplify atomicity of socket creation in bind.
14552         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
14553         looking up the name after linking the file.
14555 2014-08-27  Allan McRae  <allan@archlinux.org>
14557         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14559 2014-08-26  Florian Weimer  <fweimer@redhat.com>
14561         [BZ #17187]
14562         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
14563         trans_compare, open_translit, __gconv_translit_find):
14564         Remove module loading code.
14566 2014-08-26  Allan McRae  <allan@archlinux.org>
14568         * po/vi.po: Update Vietnamese translation from translation project.
14570         * po/uk.po: Update Ukrainian translation from translation project.
14572         * po/fr.po: Update French translation from translation project.
14574         * po/ru.po: Update Russian translation from translation project.
14576         * po/pl.po: Update Polish translation from translation project.
14578         * po/cs.po: Update Czech translation from translation project.
14580         * po/de.po: Update German translation from translation project.
14582         * po/bg.po: Update Bulgarian translation from translation project.
14584         * po/sv.po: Update Sweedish translation from translation project.
14586         * po/nl.po: Update Dutch translation from translation project.
14588         * po/es.po: Update Spanish translation from translation project.
14590 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14592         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
14594         * catgets/Makefile (CPPFLAGS-gencat): Remove.
14595         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
14596         (CPPFLAGS-iconvconfig): Likewise.
14597         * timezone/Makefile (CPPFLAGS-zic): Likewise.
14599         * include/libc-symbols.h: Remove unnecessary check for
14600         NOT_IN_libc.
14601         * nptl/pthreadP.h: Likewise.
14602         * sysdeps/aarch64/setjmp.S: Likewise.
14603         * sysdeps/alpha/setjmp.S: Likewise.
14604         * sysdeps/arm/sysdep.h: Likewise.
14605         * sysdeps/i386/setjmp.S: Likewise.
14606         * sysdeps/m68k/setjmp.c: Likewise.
14607         * sysdeps/posix/getcwd.c: Likewise.
14608         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14609         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
14610         * sysdeps/s390/s390-32/setjmp.S: Likewise.
14611         * sysdeps/s390/s390-64/setjmp.S: Likewise.
14612         * sysdeps/sh/sh3/setjmp.S: Likewise.
14613         * sysdeps/sh/sh4/setjmp.S: Likewise.
14614         * sysdeps/unix/alpha/sysdep.h: Likewise.
14615         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
14616         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14617         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
14618         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
14619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
14620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14621         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14622         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14623         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14624         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14625         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14626         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
14627         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14628         * sysdeps/x86_64/setjmp.S: Likewise.
14630 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
14632         [BZ #17263]
14633         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
14634         <stdint.h>.
14635         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
14636         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
14638 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14640         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
14642         [BZ #17262]
14643         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
14644         and __x86_64__ when disabling x87 inline functions.
14646 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
14648         [BZ #17259]
14649         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
14650         asm statement with __cpuid_count.
14652 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
14654         * configure.ac: Change __ehdr_start code to dereference the struct.
14655         Run readelf on the output to look for relocations.
14656         * configure: Regenerated.
14658 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
14660         [BZ #17261]
14661         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
14662         value to 0.
14663         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
14665 2014-08-12  Roland McGrath  <roland@hack.frob.com>
14667         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
14669 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
14671         [BZ #16892]
14672         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
14673         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
14675 2014-08-12  Sean Anderson  <seanga2@gmail.com>
14677         * malloc/malloc.c: Fix typo in comment.
14679 2014-08-09  Allan McRae  <allan@archlinux.org>
14681         * Regenerate libc.po.
14683 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
14685         * intl/tst-gettext2.sh: Check every lang file for creation.
14687 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
14689         * sysdeps/aarch64/fpu/math_private.h
14690         (libc_feholdsetround_noex_aarch64_ctx): New function.
14692 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
14694         * sysdeps/arm/armv6/strcpy.S (strcpy):
14695         Fix performance issue in misaligned cases.
14697 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14699         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
14700         Move definition from termios.h.
14701         (struct termio): Likewise.
14702         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14703         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
14704         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
14705         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
14706         Likewise.
14707         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
14708         Move definition to ioctl-types.h
14709         (struct termio): Likewise.
14710         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14711         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
14712         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
14713         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
14714         Likewise.
14716 2014-08-05  Richard Henderson  <rth@redhat.com>
14718         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
14719         exceptions.
14720         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
14721         Add fraiseexcpt.
14722         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
14723         Use __feraiseexcept.
14724         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
14725         Protect libm symbols with IS_IN_libm.
14727         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
14729 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
14731         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
14733 2014-08-04  Will Newton  <will.newton@linaro.org>
14735         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
14736         file.
14738 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
14740         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
14741         variants for each function.
14743 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14745         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
14746         appended ...
14747         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
14748         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
14749         appended ...
14750         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
14751         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
14752         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
14753         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
14754         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
14755         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
14756         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
14757         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
14758         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
14759         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
14760         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
14761         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
14762         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
14763         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
14764         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
14765         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
14766         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
14767         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
14768         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
14769         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
14770         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
14771         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
14772         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
14773         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
14774         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
14775         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
14776         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
14777         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
14778         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
14779         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
14780         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
14781         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
14782         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
14783         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
14784         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
14785         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
14786         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
14787         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
14788         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
14789         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
14790         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
14791         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
14792         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
14793         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
14794         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
14795         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
14796         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
14797         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
14798         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
14799         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
14800         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
14801         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
14802         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
14803         Update #include.
14804         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
14805         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
14807 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14809         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
14810         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
14811         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
14812         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
14813         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
14814         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
14816 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14818         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
14819         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
14820         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14821         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
14823 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14825         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
14826         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
14827         (__libc_vfork): Define function under this name.
14828         (__vfork): Define as an alias.
14829         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
14830         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
14832 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14834         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
14835         that was previously under [RESET_PID].
14836         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
14838 2014-08-04  Andreas Schwab  <schwab@suse.de>
14840         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
14842 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
14844         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
14845         (main): Likewise.
14847 2014-08-01  Roland McGrath  <roland@hack.frob.com>
14849         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
14851 2014-08-01  Richard Henderon  <rth@redhat.com>
14853         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
14854         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
14855         typo in exact zero test.
14856         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14857         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14858         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14860 2014-08-01  Roland McGrath  <roland@hack.frob.com>
14862         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
14863         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
14864         * sysdeps/arm/sysdep.h: ... here.
14865         [!__ASSEMBLER__]: Include <stdint.h>.
14867 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
14869         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
14870         (HAVE_WCTYPE_H): Likewise.
14871         (HAVE_ISWCTYPE): Likewise.
14872         (ENABLE_NLS): Likewise.
14873         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
14874         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
14876         * posix/regex_internal.c: Check if DEBUG is defined and is
14877         set.
14879         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
14880         (HAVE_MBSRTOWCS): Likewise.
14881         * posix/fnmatch.c: Include string.h unconditionally.
14883 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
14885         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
14886         reversal.
14888 2014-07-31  Roland McGrath  <roland@hack.frob.com>
14890         * sysdeps/generic/safe-fatal.h: New file.
14891         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
14892         * nptl/forward.c: Include it.
14893         (__pthread_unwind): Use __safe_fatal as default action, rather
14894         than a bogus use of INTERNAL_SYSCALL that could never work.
14896         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
14897         * configure.ac (libc_cv_builtin_trap): New test.
14898         * configure: Regenerated.
14899         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
14900         (ABORT_INSTRUCTION): Define using __builtin_trap.
14902         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
14903         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
14904         * sysdeps/nptl/nptl-signals.h: New file.
14905         * nptl/pthreadP.h: Include <nptl-signals.h>.
14907 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14909         * sysdeps/s390/s390-64/utf16-utf32-z9.c
14910         (ONE_DIRECTION): Define.
14911         * sysdeps/s390/s390-64/utf8-utf16-z9.c
14912         (ONE_DIRECTION): Define.
14913         * sysdeps/s390/s390-64/utf8-utf32-z9.c
14914         (ONE_DIRECTION): Define.
14916 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14918         * sysdeps/s390/Makefile: Delete file.
14919         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
14920         * sysdeps/s390/__longjmp.c: Delete file.
14921         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
14922         Remove fields __flags and __reserved.
14923         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
14924         and add versioning.
14925         * sysdeps/s390/rtld-__longjmp.c: Delete file.
14926         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
14927         * sysdeps/s390/rtld-setjmp.S: Likewise.
14928         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
14929         * sysdeps/s390/s390-32/__longjmp.c: ... here.
14930         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
14931         * sysdeps/s390/s390-32/setjmp.S: ... here.
14932         Add versioning.
14933         (__sigsetjmp): Remove setting __flags field.
14934         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
14935         * sysdeps/s390/s390-64/__longjmp.c: ... here.
14936         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
14937         * sysdeps/s390/s390-64/setjmp.S: ... here.
14938         Add versioning.
14939         (__sigsetjmp): Remove setting __flags field.
14940         * sysdeps/s390/setjmp.S: Delete file.
14941         * sysdeps/s390/sigjmp.c: Likewise.
14942         * sysdeps/s390/v1-longjmp.c: Likewise.
14943         * sysdeps/s390/v1-setjmp.h: Likewise.
14944         * sysdeps/s390/v1-sigjmp.c: Likewise.
14945         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
14946         Remove v1-longjmp_chk.
14947         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
14948         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
14949         Include debug/longjmp_chk.c and add versioning.
14950         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
14951         Include nptl/pt-longjmp.c and add versioning.
14952         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
14953         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
14954         Include __longjmp.c.
14955         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
14956         Move to ...
14957         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
14958         (__getcontext): Remove setting __flags field.
14959         Add versioning.
14960         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
14961         Don't restore upper high grps.
14962         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
14963         Likewise.
14964         (__swapcontext): Remove setting uc_flags field.
14965         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
14966         Delete file.
14967         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
14968         Include __longjmp.c.
14969         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
14970         Move to ...
14971         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
14972         (__getcontext): Remove setting __flags field.
14973         Add versioning.
14974         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
14975         (__swapcontext): Remove setting uc_flags field.
14976         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
14977         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
14978         Remove fields uc_high_gprs and __reserved.
14979         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
14980         New file with reverted content.
14981         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
14982         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
14983         Regenerated.
14984         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
14985         Regenerated.
14987 2014-07-31  Andreas Schwab  <schwab@suse.de>
14989         * config.h.in (HAVE_IFUNC): Define to 0.
14990         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
14991         definedness.
14993 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
14995         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14996         memmove-avx-unaligned, memcpy-avx-unaligned and
14997         mempcpy-avx-unaligned.
14998         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14999         Add tests for AVX memcpy functions.
15000         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
15001         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
15002         memcpy_chk.
15003         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
15004         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
15005         memmove_chk.
15006         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
15007         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
15008         mempcpy_chk.
15009         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
15010         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
15011         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
15013 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15015         [BZ #17213]
15016         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
15017         powerpc64le.
15019 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
15021         [BZ #16839]
15022         * manual/llio.texi: Add section about open file description locks.
15023         * manual/examples/ofdlocks.c: Example of open file description
15024         lock usage.
15025         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
15026         F_OFD_SETLK, and F_OFD_SETLKW.
15028 2014-07-23  Allan McRae  <allan@archlinux.org>
15030         * po/es.po: Update Spanish translation from translation project.
15032 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
15034         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
15036 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
15038         [BZ #17078]
15039         * sysdeps/arm/dl-machine.h (elf_machine_rela)
15040         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
15041         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
15043 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
15045         [BZ #17088]
15046         * math/fesetenv.c (__fesetenv)
15047         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
15048         * math/feupdateenv.c (__feupdateenv)
15049         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
15051         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
15052         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
15053         (__ASSUME_SOCKETCALL): Do not define.
15055         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
15056         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
15057         (__ASSUME_SOCKETCALL): Do not define.
15058         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
15059         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
15060         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15061         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
15062         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15063         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
15064         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15065         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15067         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
15068         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
15069         (__ASSUME_SOCKETCALL): Do not define.
15070         (__ASSUME_IPC64): Define unconditionally.
15071         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
15072         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15073         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
15074         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15075         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
15076         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15077         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
15078         Likewise.
15080         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
15081         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
15082         (__ASSUME_SOCKETCALL): Do not define.
15083         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
15084         (__ASSUME_FUTEX_LOCK_PI): Likewise.
15085         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15086         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
15087         (__ASSUME_REQUEUE_PI): Define unconditionally.
15088         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
15089         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
15090         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15091         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
15092         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15093         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15095         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
15096         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
15097         (__ASSUME_SOCKETCALL): Do not define.
15098         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
15099         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15100         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15101         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
15102         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15103         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15105         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
15106         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
15107         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15108         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
15109         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15110         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
15111         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15112         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
15113         (__ASSUME_GETCPU_SYSCALL): Likewise.
15115         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
15116         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
15117         cases for individual architectures.
15118         * sysdeps/gnu/configure: Regenerated.
15119         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
15120         LIBC_SLIBDIR_RTLDDIR.
15121         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
15122         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
15123         LIBC_SLIBDIR_RTLDDIR.
15124         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
15125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
15126         LIBC_SLIBDIR_RTLDDIR.
15127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
15128         Regenerated.
15129         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
15130         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
15131         file.
15132         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
15133         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
15134         file.
15135         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
15136         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
15137         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
15138         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
15140         * sysdeps/aarch64/shlib-versions: Move to ...
15141         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
15142         * sysdeps/alpha/shlib-versions: Move to ...
15143         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
15144         * sysdeps/arm/shlib-versions: Move to ...
15145         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
15146         * sysdeps/hppa/shlib-versions: Move all contents except for
15147         libgcc_s entry to ...
15148         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
15149         entry from ...
15150         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
15151         * sysdeps/ia64/shlib-versions: Move to ...
15152         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
15153         entry from ...
15154         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
15155         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
15156         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
15157         * sysdeps/microblaze/shlib-versions: Move to ...
15158         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
15159         * sysdeps/mips/shlib-versions: Move to ...
15160         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
15161         entry from ...
15162         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
15163         * sysdeps/tile/shlib-versions: Move to ...
15164         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
15165         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
15166         from ...
15167         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
15168         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
15169         entry from ...
15170         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
15172 2014-07-17  Will Newton  <will.newton@linaro.org>
15174         * sysdeps/arm/bits/atomic.h
15175         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
15176         (__arch_compare_and_exchange_bool_16_int): Likewise.
15177         (__arch_compare_and_exchange_bool_64_int): Likewise.
15179         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
15180         into an #else block.
15182 2014-07-16  Roland McGrath  <roland@hack.frob.com>
15184         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
15185         just Linux configurations.  Test empirically that the compiler sets
15186         __ARM_EABI__, rather than using the tuple to decide.
15187         * sysdeps/arm/preconfigure: Regenerated.
15188         * sysdeps/unix/sysv/linux/arm/configure: File removed.
15189         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
15190         contents appended ...
15191         * sysdeps/arm/configure.ac: ... here.
15192         * sysdeps/arm/configure: Regenerated.
15194 2014-07-15  Roland McGrath  <roland@hack.frob.com>
15196         * nptl/pthread_kill.c: New file.
15197         * nptl/pthread_sigmask.c: New file.
15198         * nptl/pthread_sigqueue.c: New file.
15200         * sysdeps/nptl/lowlevellock.h: New file.
15201         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
15202         * sysdeps/nptl/lowlevellock-futex.h: New file.
15204         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
15205         Remove dead declarations.
15207 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
15209         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
15210         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
15211         config-cflags-avx2.
15212         * sysdeps/x86_64/configure.ac: Likewise.
15213         * sysdeps/i386/configure: Regenerated.
15214         * sysdeps/x86_64/configure: Likewise.
15215         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15216         memset-avx2 only if config-cflags-avx2 is yes.
15217         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15218         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
15219         defined.
15220         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
15221         only if HAVE_AVX2_SUPPORT is defined.
15222         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15224 2014-07-14  Alan Modra  <amodra@gmail.com>
15226         [BZ #17153]
15227         * elf/elf.h (DT_PPC64_NUM): Correct value.
15228         * NEWS: Add to fixed bug list.
15230 2014-07-13  Jim Meyering  <meyering@fb.com>
15232         [BZ 17150]
15233         regex: don't deref NULL upon heap allocation failure
15234         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
15235         failure in one more place.
15236         To trigger the segfault, configure grep -with-included-regex,
15237         build it, and run these commands:
15238         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
15240 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
15242         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15244 2014-07-11  Richard Henderson  <rth@redhat.com>
15246         * sysdeps/aarch64/libm-test-ulps: Update.
15248 2014-07-10  Florian Weimer  <fweimer@redhat.com>
15250         [BZ #17135]
15251         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
15252         * nptl/allocatestack.c (__nptl_setxid_error): New function.
15253         (__nptl_setxid): Initialize error member.  Call
15254         __nptl_setxid_error.
15255         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
15256         * nptl/descr.h (struct xid_command): Add error member.
15257         * nptl/tst-setuid3.c: New file.
15258         * nptl/Makefile (tests): Add it.
15260 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15262         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
15263         New define.
15264         (__lll_trylock): Use __lll_base_trylock.
15265         (__lll_cond_trylock): Likewise.
15267 2014-07-10  Roland McGrath  <roland@hack.frob.com>
15269         * nptl/pthread_create.c (start_thread): Use atomic_or and
15270         lll_futex_wake directly rather than lll_robust_dead.
15271         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
15272         (lll_robust_dead): Macro removed.
15273         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
15274         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
15275         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
15276         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
15277         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
15278         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
15279         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
15280         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
15281         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
15282         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
15283         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
15284         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
15285         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
15286         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
15287         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
15289         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
15290         Use atomic_compare_and_exchange_val_acq directly rather than
15291         lll_robust_trylock.
15292         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
15293         (__lll_robust_trylock, lll_robust_trylock): Removed.
15294         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
15295         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
15296         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
15297         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
15298         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
15299         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
15300         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
15301         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
15302         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
15303         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
15304         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
15305         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
15306         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
15307         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
15309 2014-07-02  Florian Weimer  <fweimer@redhat.com>
15311         * manual/locale.texi (Locale Names): New section documenting
15312         locale name syntax.  Adjust menu and node chaining accordingly.
15313         (Choosing Locale): Reference Locale Names, Locale Categories.
15314         Mention setting LC_ALL=C.  Reflect that name syntax is now
15315         documented.
15316         (Locale Categories): New section title.  Reference Locale Names.
15317         LC_ALL is an environment variable, but not a category.
15318         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
15319         description, now in Locale Name.  Reference that section.  Locale
15320         name syntax is now documented.
15322 2014-07-02  Florian Weimer  <fweimer@redhat.com>
15324         [BZ #17137]
15325         * locale/findlocale.c (name_present, valid_locale_name): New
15326         functions.
15327         (_nl_find_locale): Use the loc_name variable to store name
15328         candidates.  Call name_present and valid_locale_name to check and
15329         validate locale names.  Return an error if the locale is invalid.
15331 2014-07-02  Florian Weimer  <fweimer@redhat.com>
15333         * locale/setlocale.c (setlocale): Use strdup for allocating
15334         composite name copy.
15336 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15338         Sync up with gnulib.
15339         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
15340         [!_LIBC && ENABLE_NLS]: Include gettext.h.
15341         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
15342         and _GL_ARG_NONNULL.
15343         [USE_UNLOCKED_IO]: Include unlocked-io.h.
15344         [!_LIBC]: Include code for Windows and Cygwin.
15345         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
15346         Include prototype for int strerror_r.
15347         [!_LIBC] (is_open): New function.
15348         (flush_stdout): New function.
15349         (print_errno_message): Use it.
15350         (error): Likewise.
15351         (error_at_line): Likewise.
15352         (error_tail) Add function attribute macros.  Use
15353         __builtin_expect.
15355         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
15357         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
15359         * io/ftw.c: Include sys/param.h unconditionally.
15361         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
15363         [BZ #17125]
15364         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
15365         libc_freeres_ptr.
15366         (freecache): New function to free CACHE on exit.
15368         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
15369         initialization.
15371 2014-07-09  David S. Miller  <davem@davemloft.net>
15373         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15375         * sysdeps/sparc/nptl/internaltypes.h: Delete.
15376         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
15377         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
15378         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
15379         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
15380         * sysdeps/sparc/nptl/sem_init.c: Likewise.
15381         * sysdeps/sparc/nptl/sem_post.c: Likewise.
15382         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
15383         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
15384         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
15385         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
15386         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
15387         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
15389 2014-07-09  Andreas Schwab  <schwab@suse.de>
15391         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
15392         output.
15393         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
15394         (do_test): Likewise.
15396         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
15398 2014-07-09  Will Newton  <will.newton@linaro.org>
15400         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
15401         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
15402         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
15403         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
15404         * sysdeps/hppa/start.S (_start): Likewise.
15406 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
15408         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
15410         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
15411         defined.
15413 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15415         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
15416         after checking that it is non-NULL.
15418         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
15420 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15422         * sysdeps/powerpc/memmove.c: Remove file.
15423         * sysdeps/powerpc/powerpc32/power4/memcopy.h
15424         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
15425         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
15426         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
15427         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
15428         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
15429         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
15430         string memmove instead of removed powerpc one.
15432         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
15433         [weak_alias]: Fix compiler warning due trailing data.
15434         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
15435         [weak_alias]: Likewise.
15436         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
15437         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
15439         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15440         (__libc_ifunc_impl_list): Add memmove functions.
15442 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15444         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
15445         Remove code.
15446         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
15447         Likewise
15448         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
15449         Likewise
15450         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
15451         Likewise
15452         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
15453         Likewise
15454         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
15455         Likewise
15456         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
15457         Likewise
15458         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
15459         Likewise
15460         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
15461         Likewise
15462         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
15463         Likewise
15464         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
15465         Likewise
15466         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
15467         Likewise
15468         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
15469         Likewise
15470         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
15471         Likewise
15472         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
15473         Likewise
15474         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
15475         Likewise
15476         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
15477         Likewise
15479 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15481         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
15482         to avoid alignment traps in non-cacheable memory.
15483         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15485         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
15486         multiarch objects.
15487         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
15488         file: multiarch power7 memmove.
15489         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
15490         multiarch default memmove.
15491         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
15492         multiarch memove for powerpc32/power4.
15494         * string/bcopy.c: Use full path to include memmove.c.
15495         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
15496         multiarch objects.
15497         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
15498         bcopy for powerpc64.
15499         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
15500         bcopy for powerpc64.
15501         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
15502         and memmove implementations.
15503         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
15504         optimized multiarch memmove for POWER7/powerpc64.
15505         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
15506         default multiarch memmove for powerpc64.
15507         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
15508         multiarch for powerpc64.
15509         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
15510         for POWER7/powerpc64.
15511         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
15512         memmove for POWER7/powerpc64.
15514         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
15515         glibc default one.
15517         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
15518         __ELF_NATIVE_CLASS equal to 64.
15520 2014-07-07  Roland McGrath  <roland@hack.frob.com>
15522         * sysdeps/nptl/lowlevellock.h: File removed.
15524         * NEWS: NPTL is no longer an add-on!
15525         * nptl/internaltypes.h: Moved ...
15526         * sysdeps/nptl/internaltypes.h: ... here.
15527         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
15528         * sysdeps/nptl/fork.c: Likewise.
15529         * sysdeps/nptl/gai_misc.h: Likewise.
15530         * sysdeps/nptl/librt-cancellation.c: Likewise.
15531         * sysdeps/nptl/jmp-unwind.c: Likewise.
15532         * sysdeps/nptl/setxid.h: Likewise.
15533         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
15534         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
15535         * sysdeps/unix/sysv/linux/arm/Implies: New file.
15536         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
15537         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
15538         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
15539         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
15540         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
15541         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
15542         * sysdeps/unix/sysv/linux/mips/Implies: New file.
15543         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
15544         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
15545         * sysdeps/unix/sysv/linux/sh/Implies: New file.
15546         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
15547         * sysdeps/unix/sysv/linux/tile/Implies: New file.
15548         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
15549         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
15550         * nptl/Makeconfig: Moved ...
15551         * sysdeps/nptl/Makeconfig: ... here.
15552         * nptl/configure: File removed.
15553         * nptl/ANNOUNCE: File removed.
15554         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
15555         * sysdeps/unix/sysv/linux/configure: Regenerated.
15557         * nptl/Makefile (routines): Add libc_pthread_init,
15558         libc_multiple_threads, register-atfork and unregister-atfork.
15559         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
15560         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
15561         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
15562         pthread-pi-defines.sym, structsem.sym.
15563         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
15564         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
15565         [$(subdir) = nptl] (tests): Add tst-setgetname.
15566         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
15567         * sysdeps/unix/sysv/linux/sigaction.c: Just include
15568         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
15569         [!LIBC_SIGACTION]: Remove aliases.
15570         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
15571         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15572         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15573         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
15574         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15575         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
15576         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15577         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15578         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15579         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
15580         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
15581         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
15582         __libc_allocate_rtsig_private.
15583         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
15584         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
15585         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
15586         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
15587         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
15588         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
15589         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
15590         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
15591         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
15592         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
15593         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
15594         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
15595         * nptl/internaltypes.h: ... here.
15596         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
15597         * sysdeps/nptl/jmp-unwind.c: ... here.
15598         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
15599         * nptl/libc-lowlevellock.c: ... here.
15600         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
15601         * nptl/libc_multiple_threads.c: ... here.
15602         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
15603         * nptl/libc_pthread_init.c: ... here.
15604         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
15605         * nptl/lowlevelbarrier.sym: ... here.
15606         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
15607         * nptl/lowlevelcond.sym: ... here.
15608         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
15609         * nptl/lowlevellock.c: ... here.
15610         * nptl/lowlevellock.h: Moved ...
15611         * sysdeps/nptl/lowlevellock.h: ... here.
15612         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
15613         * nptl/lowlevelrobustlock.c: ... here.
15614         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
15615         * nptl/lowlevelrobustlock.sym: ... here.
15616         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
15617         * nptl/lowlevelrwlock.sym: ... here.
15618         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
15619         * nptl/pt-fork.c: ... here.
15620         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
15621         * nptl/pthread-pi-defines.sym: ... here.
15622         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
15623         * nptl/pthread_attr_getaffinity.c: ... here.
15624         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
15625         * nptl/pthread_attr_setaffinity.c: ... here.
15626         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
15627         * nptl/pthread_mutex_cond_lock.c: ... here.
15628         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
15629         Update #include.
15630         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
15631         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
15632         * nptl/pthread_once.c: ... here, replacing old file.
15633         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
15634         * nptl/pthread_yield.c: ... here.
15635         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
15636         * nptl/register-atfork.c: ... here.
15637         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
15638         * nptl/sem_post.c: ... here.
15639         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
15640         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
15641         * nptl/sem_timedwait.c: ... here.
15642         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
15643         * nptl/sem_trywait.c: ... here.
15644         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
15645         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
15646         * nptl/sem_wait.c: ... here.
15647         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
15648         * nptl/structsem.sym: ... here.
15649         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
15650         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
15651         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
15652         * nptl/unregister-atfork.c: ... here.
15653         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
15654         * nptl/unwindbuf.sym: ... here.
15655         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
15656         * sysdeps/nptl/fork.c: ... here.
15657         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
15658         * sysdeps/nptl/fork.h: ... here.
15659         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
15660         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
15661         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
15662         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
15663         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
15664         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
15665         * sysdeps/unix/sysv/linux/getpid.c: ... here.
15666         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
15667         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
15668         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
15669         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
15670         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
15671         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
15672         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
15673         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
15674         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
15675         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
15676         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
15677         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
15678         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
15679         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
15680         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
15681         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
15682         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
15683         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
15684         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
15685         * sysdeps/unix/sysv/linux/raise.c: ... here.
15686         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
15687         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
15688         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
15689         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
15690         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
15691         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
15692         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
15693         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
15694         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
15695         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
15696         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
15697         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
15698         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
15699         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
15700         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
15702 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15704         * sysdeps/generic/memcopy.h: Add comment for
15705         MEMCPY_OK_FOR_FWD_MEMMOVE.
15707 2014-07-04  Will Newton  <will.newton@linaro.org>
15709         * string/memchr.c: Merge from gnulib.
15710         [_LIBC]: Remove conditionals.
15711         (__ptr_t): Remove define.
15712         (LONG_MAX_32_BITS): Likewise.
15713         (LONG_MAX): Likewise.
15714         (MEMCHR): Use ANSI prototype and optimize algorithm.
15716         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
15718 2014-07-03  Roland McGrath  <roland@hack.frob.com>
15720         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
15721         (lll_futex_timed_wait_bitset): Fix syscall argument count.
15723         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
15724         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
15725         in a bare environment with no <stdlib.h> installed.
15726         * sysdeps/nptl/configure: Regenerated.
15728         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
15730         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
15731         AC_EGREP_CPP for kernel header checks, so they only succeed if
15732         including <linux/version.h> actually works right.
15733         * sysdeps/unix/sysv/linux/configure: Regenerated.
15735         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
15736         value so it's not diagnosed as unused.
15738         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
15739         thing) with "ifeq ($(subdir),rt)".
15741 2014-07-03  Richard Henderson  <rth@redhat.com>
15743         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
15744         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
15745         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
15747         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
15748         (math_force_eval): New.
15750         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
15751         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
15753         * sysdeps/alpha/fpu/s_round.c: Remove file.
15754         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
15756         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
15757         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
15758         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
15759         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
15760         (_dl_start, print_statistics): Likewise.
15761         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
15762         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
15764         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15765         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15766         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15767         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15768         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15769         (HP_SMALL_TIMING_AVAIL): Define.
15770         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15771         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
15772         (HP_SMALL_TIMING_AVAIL): Define.
15773         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15774         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15776         * sysdeps/aarch64/hp-timing.h: New file.
15778         * sysdeps/generic/hp-timing.h: Remove dead comment.
15779         * sysdeps/generic/hp-timing-common.h: New file.
15780         * sysdeps/alpha/hp-timing.h: Include it.
15781         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
15782         * sysdeps/i386/i686/hp-timing.h: Likewise.
15783         * sysdeps/ia64/hp-timing.h: Likewise.
15784         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15785         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15786         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15787         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15788         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
15789         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
15790         (hp_timing_t): New.
15792         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
15793         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
15794         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
15795         * elf/rtld.c (_dl_start_final): Likewise.
15796         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
15797         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15798         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15799         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15800         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15801         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15802         (HP_TIMING_DIFF_INIT): Remove.
15803         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15804         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
15805         (HP_TIMING_DIFF_INIT): Remove.
15806         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15807         * sysdeps/i386/i686/hp-timing.c: Remove file.
15808         * sysdeps/x86_64/hp-timing.c: Remove file.
15809         * sysdeps/ia64/hp-timing.c: Remove file.
15810         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
15811         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
15812         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
15813         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
15815         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
15816         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
15817         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
15818         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15819         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15820         (HP_TIMING_ACCUM): Remove.
15821         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15822         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
15823         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15825         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
15826         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
15827         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
15828         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
15829         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
15830         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
15831         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
15832         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
15834         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
15836 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
15838         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
15840 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15842         Sync up with gettext.
15843         * intl/loadmsgcat.c: Define O_BINARY if not defined.
15844         [_MSC_VER]: Include malloc.h
15845         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
15846         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
15847         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
15848         TEMP_FAILURE_RETRY.  Cast return of alloca.
15849         [!_LIBC] Call gl_rwlock_init.
15850         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
15852 2014-07-02  Roland McGrath  <roland@hack.frob.com>
15854         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
15855         before checking its value.
15857 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15859         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
15861         * debug/memcpy_chk.c: Don't include pagecopy.h.
15862         * debug/mempcpy_chk.c: Likewise.
15863         * string/memcpy.c: Likewise.
15864         * string/memmove.c: Likewise.
15865         * sysdeps/powerpc/memmove.c: Likewise.
15866         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
15867         definition of PAGE_COPY_FWD_MAYBE here...
15868         * sysdeps/generic/pagecopy.h: ... from here.
15869         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
15871 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15872             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15874         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
15875         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
15876         optimizations.
15877         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15878         (__libc_ifunc_impl_list): Likewise.
15879         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
15880         multiarch strcat for PPC64.
15881         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
15882         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
15884 2014-07-02  Roland McGrath  <roland@hack.frob.com>
15886         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
15888 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15890         * intl/loadmsgcat.c: Remove declaration of
15891         get_sysdep_segment_value.
15892         (get_sysdep_segment_value): Use ISO C style.
15893         (_nl_load_domain): Use ISO C style.  Get rid of redundant
15894         semicolon.  Fix typo and formatting in comment.
15895         (_nl_unload_domain): Use ISO C style.
15897         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
15899 2014-07-02  Will Newton  <will.newton@linaro.org>
15901         * malloc/obstack.c: Merge from gnulib master.
15902         [HAVE_CONFIG_H]: Remove conditional code.
15903         [!_LIBC]: Include config.h.
15904         [!ELIDE_CODE]: Don't include inttypes.h, include
15905         stdint.h unconditionally.
15906         (print_and_abort): Mark as _Noreturn.
15907         (_obstack_allocated_p): Mark as __attribute_pure__.
15908         (obstack_free): Rename to __obstack_free.
15909         [!__attribute__]: Remove conditional code.
15910         * malloc/obstack.h: Merge from gnulib master.
15911         [__cplusplus]: Move conditional down.
15912         [!__attribute_pure__]: Define __attribute_pure__ here
15913         if it is not already defined.
15914         (_obstack_memory_used): Mark as __attribute_pure__.
15915         [!__obstack_free]: Define as obstack_free.
15916         [__GNUC__]: Remove check for ancient NeXT gcc.
15918 2014-07-02  Will Newton  <will.newton@linaro.org>
15919             Paul Eggert  <eggert@cs.ucla.edu>
15921         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
15923 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15925         * resolv/gethnamaddr.c: Add comment warning that the file is
15926         not maintained.
15928 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
15930         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
15931         entries.
15933         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
15934         entry for aio_cancel and aio_cancel64.
15935         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
15936         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
15937         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
15938         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
15939         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
15940         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
15941         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
15942         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
15943         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
15944         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
15945         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
15946         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
15947         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
15949 2014-07-01  Roland McGrath  <roland@hack.frob.com>
15951         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
15952         * nptl/pthread_mutex_lock.c: Likewise.
15953         * nptl/pthread_mutex_timedlock.c: Likewise.
15954         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
15956 2014-07-01  Richard henderson  <rth@redhat.com>
15958         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
15959         (__isnan, __isnanl): Remove.
15960         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
15962         * sysdeps/alpha/fpu/libm-test-ulps: Update.
15964 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
15966         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15968 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
15970         * resolv/nss_dns/dns-host.c (getanswer_r)
15971         [MULTI_PTRS_ARE_ALIASES]: Remove code.
15973 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
15975         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15976         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
15977         undefine.
15978         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
15979         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
15981 2014-07-01  Roland McGrath <roland@hack.frob.com>
15983         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
15984         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
15986         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
15987         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
15989         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
15990         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
15991         ... here.
15992         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
15993         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
15995         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
15996         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
15997         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
15998         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
16000         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
16001         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
16002         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
16003         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
16004         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
16005         Moved ...
16006         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
16007         ... here.
16008         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
16009         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
16010         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
16011         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
16012         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
16013         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
16014         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
16015         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
16016         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
16017         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
16018         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
16019         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
16020         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
16021         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
16022         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
16023         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
16024         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
16025         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
16026         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
16027         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
16028         ... here.
16029         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
16030         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
16031         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
16032         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
16033         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
16034         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
16035         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
16036         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
16038 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
16040         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
16041         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
16042         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
16043         Add sysdep.
16045 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16047         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16049 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
16051         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
16052         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16054         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16056         * sysdeps/arm/libm-test-ulps: Regenerated.
16058 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
16059             Roland McGrath <roland@hack.frob.com>
16061         * test-skeleton.c (signal_handler): Kill the whole process group
16062         before killing the child individually.
16063         (main): Report any failure on `setpgid'.
16065 2014-06-30  Roland McGrath  <roland@hack.frob.com>
16067         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
16068         from _TLS_H to _ARM_NPTL_TLS_H.
16069         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
16070         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
16072 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
16074         [BZ #16539]
16075         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
16076         (__expm1l): Return argument unchanged when small but not
16077         subnormal.
16079         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
16080         include macro name.
16081         (_FP_UNPACK_RAW_1_P): Likewise.
16082         (_FP_PACK_RAW_1): Likewise.
16083         (_FP_PACK_RAW_1_P): Likewise.
16084         (_FP_MUL_MEAT_1_wide): Likewise.
16085         (_FP_MUL_MEAT_DW_1_hard): Likewise.
16086         (_FP_MUL_MEAT_1_hard): Likewise.
16087         (_FP_DIV_MEAT_1_imm): Likewise.
16088         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
16089         (_FP_DIV_MEAT_1_udiv): Likewise.
16090         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
16091         (_FP_UNPACK_RAW_2): Likewise.
16092         (_FP_UNPACK_RAW_2_P): Likewise.
16093         (_FP_PACK_RAW_2): Likewise.
16094         (_FP_PACK_RAW_2_P): Likewise.
16095         (_FP_MUL_MEAT_DW_2_wide): Likewise.
16096         (_FP_MUL_MEAT_2_wide): Likewise.
16097         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
16098         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
16099         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
16100         (_FP_MUL_MEAT_2_gmp): Likewise.
16101         (_FP_DIV_MEAT_2_udiv): Likewise.
16102         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
16103         (_FP_FRAC_SRL_4): Likewise.
16104         (_FP_FRAC_SRST_4): Likewise.
16105         (_FP_FRAC_SRS_4): Likewise.
16106         (_FP_UNPACK_RAW_4): Likewise.
16107         (_FP_UNPACK_RAW_4_P): Likewise.
16108         (_FP_PACK_RAW_4): Likewise.
16109         (_FP_PACK_RAW_4_P): Likewise.
16110         (_FP_MUL_MEAT_DW_4_wide): Likewise.
16111         (_FP_MUL_MEAT_4_wide): Likewise.
16112         (_FP_MUL_MEAT_4_gmp): Likewise.
16113         (umul_ppppmnnn): Likewise.
16114         (_FP_DIV_MEAT_4_udiv): Likewise.
16115         (__FP_FRAC_ADD_4): Likewise.
16116         (__FP_FRAC_SUB_3): Likewise.
16117         (__FP_FRAC_SUB_4): Likewise.
16118         (__FP_FRAC_DEC_3): Likewise.
16119         (__FP_FRAC_DEC_4): Likewise.
16120         (__FP_FRAC_ADDI_4): Likewise.
16121         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
16122         (_FP_FRAC_SRL_8): Likewise.
16123         (_FP_FRAC_SRS_8): Likewise.
16125         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
16126         include macro name.
16127         (FP_UNPACK_RAW_EP): Likewise.
16128         (FP_PACK_RAW_E): Likewise.
16129         (FP_PACK_RAW_EP): Likewise.
16130         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
16131         (_FP_ISSIGNAN): Likewise.
16132         (_FP_ADD_INTERNAL): Likewise.
16133         (_FP_FMA): Likewise.
16134         (_FP_CMP): Likewise.
16135         (_FP_SQRT): Likewise.
16136         (_FP_TO_INT): Likewise.
16137         (_FP_FROM_INT): Likewise.
16138         (FP_EXTEND): Likewise.
16139         (_FP_DIV_MEAT_N_loop): Likewise.
16141 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
16143         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
16144         throughout.
16146 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
16148         [BZ #17097]
16149         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
16150         result with correct sign in case of exponents that produce
16151         overflow except for X very close to 1.
16153 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
16155         mktime: merge #if/#ifdef usage from glibc
16156         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
16157         as that works with both Glibc's and Gnulib's style.
16158         See thread starting at Siddhesh Poyarekar's bug report at:
16159         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
16161 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16163         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
16164         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
16165         * sysdeps/tile/tilegx/memmove.c: Remove file.
16167 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
16169         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
16170         abi-name definition.
16171         * scripts/soversions.awk: Do not handle or generate ABI lines.
16172         * shlib-versions: Remove ABI entries.
16173         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
16174         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
16176 2014-06-27  Roland McGrath  <roland@hack.frob.com>
16178         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
16179         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
16180         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
16181         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
16182         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
16183         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
16184         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
16185         Moved ...
16186         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
16187         ... here.
16188         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
16189         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
16190         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
16191         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
16192         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
16193         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
16194         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
16195         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
16196         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
16197         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
16198         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
16199         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
16200         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
16201         Moved ...
16202         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
16203         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
16204         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
16205         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
16206         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
16207         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
16208         Moved ...
16209         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
16210         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
16211         Moved ...
16212         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
16213         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
16214         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
16215         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
16216         Moved ...
16217         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
16218         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
16219         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
16220         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
16221         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
16222         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
16223         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
16224         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
16225         Moved ...
16226         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
16227         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
16228         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
16229         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
16230         Moved ...
16231         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
16232         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
16233         Moved ...
16234         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
16235         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
16236         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
16237         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
16238         Moved ...
16239         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
16240         ... here.
16241         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
16242         Identical file removed.
16243         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
16244         Moved ...
16245         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
16246         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
16247         Identical file removed.
16248         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
16249         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
16250         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
16251         Moved ...
16252         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
16253         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
16254         Identical file removed.
16255         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
16256         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
16257         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
16258         Identical file removed.
16259         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
16260         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
16261         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
16262         Identical file removed.
16263         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
16264         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
16265         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
16266         Identical file removed.
16267         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
16268         Moved ...
16269         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
16270         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
16271         Identical file removed.
16272         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
16273         Moved ...
16274         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
16275         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
16276         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
16277         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
16278         Identical file removed.
16279         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
16280         Moved ...
16281         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
16282         ... here.
16283         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
16284         Identical file removed.
16285         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
16286         Moved ...
16287         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
16288         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
16289         Identical file removed.
16290         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
16291         Moved ...
16292         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
16293         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
16294         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
16295         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
16296         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
16297         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
16298         Moved ...
16299         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
16300         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
16301         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
16303         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
16304         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
16305         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
16306         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
16307         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
16309 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
16311         [BZ #17092]
16312         * nscd/nscd.c (monitor_child): Return exit status of child
16313         instead of return value from wait syscall.
16315 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
16317         * configure.ac (libc_commonpagesize): Remove variable.
16318         (libc_relro_required): Likewise.
16319         (libc_cv_z_relro): Remove configure test.
16320         * configure: Regenerated.
16321         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
16322         variable.
16323         (libc_relro_required): Likewise.
16324         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
16325         (libc_relro_required): Likewise.
16326         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
16327         (libc_relro_required): Likewise.
16328         * sysdeps/arm/preconfigure: Regenerated.
16329         * sysdeps/ia64/preconfigure: Remove file.
16330         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
16331         variable.
16332         (libc_relro_required): Likewise.
16334         [BZ #16561]
16335         [BZ #16562]
16336         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
16337         (__ieee754_yn): Set FE_TONEAREST mode internally and then
16338         recompute overflowing results in original rounding mode.
16339         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
16340         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
16341         recompute overflowing results in original rounding mode.
16342         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
16343         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
16344         recompute overflowing results in original rounding mode.
16345         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
16346         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
16347         recompute overflowing results in original rounding mode.
16348         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
16349         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
16350         recompute overflowing results in original rounding mode.
16351         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
16352         (libc_feholdsetround_ctx): New macro.
16353         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
16354         * sysdeps/i386/fpu/libm-test-ulps: Update.
16355         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
16357 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16359         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
16360         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
16361         corresponding .cpsetup call.
16363 2014-06-26  Roland McGrath  <roland@hack.frob.com>
16365         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
16366         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
16367         * sysdeps/arm/Makefile [$(subdir) = csu]
16368         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
16369         (static-only-routines): Add aeabi_read_tp here.
16370         (shared-only-routines): Add libc-aeabi_read_tp here.
16371         (CFLAGS-libc-start.c): Add -fexceptions here.
16372         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
16373         (sysdep_routines, static-only-routines, shared-only-routines):
16374         Don't add to these here.
16375         (CFLAGS-libc-start.c): Likewise.
16377         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
16378         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
16379         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
16380         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
16381         * sysdeps/arm/Makefile [$(subdir) = rt]
16382         (librt-sysdep_routines, librt-shared-only-routines):
16383         Append rt-aeabi_unwind_cpp_pr1 here.
16384         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
16385         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
16386         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
16387         (libpthread-sysdep_routines, libpthread-shared-only-routines):
16388         Append nptl-aeabi_unwind_cpp_pr1 here.
16389         (tests): Filter out tst-cleanupx4 here.
16390         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
16391         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
16392         Don't do those here.
16394 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16396         * scripts/list-sources.sh: Do not handle ports specially.
16398 2014-06-26  Roland McGrath  <roland@hack.frob.com>
16400         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
16401         * sysdeps/arm/feupdateenv.c: Likewise.
16403         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
16405 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16407         * manual/texinfo.tex: Update to version 2014-05-05.10 with
16408         trailing whitespace removed.
16409         * scripts/config.guess: Update to version 2014-03-23.
16410         * scripts/config.sub: Update to version 2014-05-01
16411         * scripts/install-sh: Update to version 2013-12-25.23.
16412         * scripts/move-if-change: Update from gnulib.
16414 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16416         * debug/memmove_chk.c: Remove pagecopy.h include.
16418 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
16420         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
16421         identical to gnulib mktime.
16423 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16425         * configure.ac: Do not test for machine being rs6000.  Do not test
16426         for powerpc*-*soft.
16427         * configure: Regenerated.
16429         [BZ #11505]
16430         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
16431         test.
16432         * configure: Regenerated.
16433         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
16434         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
16435         Remove configure test.
16436         * sysdeps/arm/configure: Regenerated.
16437         * sysdeps/nptl/configure.ac: Do not check
16438         libc_cv_asm_cfi_directives.
16439         * sysdeps/nptl/configure: Regenerated.
16440         * sysdeps/x86_64/nptl/configure.ac: Remove file.
16441         * sysdeps/x86_64/nptl/configure: Remove generated file.
16442         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
16443         unconditional.
16444         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
16446 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16448         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
16449         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
16450         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
16451         it is defined.
16453         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
16454         instead of whether it is defined.
16455         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
16456         * sysdeps/hppa/dl-machine.h: Likewise.
16457         * sysdeps/ia64/dl-machine.h: Likewise.
16458         * sysdeps/m68k/dl-machine.h: Likewise.
16459         * sysdeps/microblaze/dl-machine.h: Likewise.
16460         * sysdeps/mips/dl-machine.: Likewise.
16461         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
16462         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16463         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
16464         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16465         * sysdeps/sh/dl-machine.h: Likewise.
16466         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16467         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16468         * sysdeps/tile/dl-machine.h: Likewise.
16469         * sysdeps/x86_64/dl-machine.h: Likewise.
16471         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
16472         code.
16473         (verify_persistent_db): Likewise.
16475 2014-06-26  Roland McGrath  <roland@hack.frob.com>
16477         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
16478         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
16479         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
16480         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
16481         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16482         Moved ...
16483         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
16484         ... here.
16485         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
16486         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
16487         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
16488         Identical file removed.
16489         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
16490         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
16491         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
16492         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
16493         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
16494         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
16495         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
16496         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
16497         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
16498         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
16499         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16500         Moved ...
16501         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
16502         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
16503         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
16504         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
16505         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
16506         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16507         Moved ...
16508         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
16509         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
16510         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
16511         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
16512         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
16513         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16514         Identical file removed.
16515         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
16516         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
16517         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
16518         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
16519         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16520         Moved ...
16521         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
16522         ... here.
16523         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
16524         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
16525         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
16526         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
16527         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
16528         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
16529         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
16530         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
16531         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
16532         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
16533         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16534         Moved ...
16535         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
16536         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
16537         Moved ...
16538         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
16539         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
16540         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
16541         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16542         Moved ...
16543         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
16544         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
16545         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
16547         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
16548         folded into ...
16549         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
16550         * sysdeps/unix/sysv/linux/s390/Versions
16551         (libpthread: GLIBC_2.19): New version set.
16552         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
16553         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
16554         (librt: GLIBC_2.3.3): New version set.
16555         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
16556         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
16557         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
16558         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
16559         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
16560         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
16561         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
16562         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
16563         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
16564         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
16565         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
16566         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
16567         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
16568         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
16569         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
16570         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
16571         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
16572         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
16573         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
16574         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
16575         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
16576         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
16577         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
16578         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
16579         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
16580         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
16581         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
16582         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
16583         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
16584         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
16585         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
16586         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
16587         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
16588         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
16589         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
16590         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
16591         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
16592         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
16593         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
16594         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
16595         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
16596         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
16597         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
16598         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
16599         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
16601         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
16602         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
16603         (__libc_vfork): Define the function under this name.
16604         [!NOT_IN_libc] (__vfork): Make this an alias.
16605         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
16606         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
16607         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
16608         (__libc_vfork): Define the function under this name.
16609         [!NOT_IN_libc] (__vfork): Make this an alias.
16610         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
16611         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
16612         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
16613         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
16614         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
16615         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16617         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
16618         code that was previously under [RESET_PID].
16619         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
16620         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
16621         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
16623         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
16624         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
16625         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
16626         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
16627         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
16628         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
16629         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
16630         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
16631         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
16632         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
16633         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
16634         Moved ...
16635         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
16636         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
16637         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
16638         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
16639         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
16640         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
16641         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
16642         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
16643         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
16644         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
16645         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
16646         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
16647         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
16648         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
16649         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
16650         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
16651         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
16652         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
16653         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
16654         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
16655         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
16656         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
16657         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
16658         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
16659         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
16660         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
16661         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
16662         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
16663         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
16665 2014-06-25  Roland McGrath  <roland@hack.frob.com>
16667         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
16668         that was previously under [RESET_PID].
16669         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
16671 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16673         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
16674         not undefine and redefine.
16675         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
16676         [O_CLOEXEC]: Make code unconditional.
16677         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
16678         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
16679         <kernel-features.h>.
16680         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
16681         conditional variable definition.
16682         (shm_open) [O_CLOEXEC]: Make code unconditional.
16683         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
16684         code.
16686         * configure.ac (USE_REGPARMS): Don't define here.
16687         * configure: Regenerated.
16688         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
16689         * sysdeps/i386/configure: Regenerated.
16691         * nptl/createthread.c: Don't include kernel-features.h.
16692         * nptl/pthread_cancel.c: Likewise.
16693         * nptl/pthread_condattr_setclock.c: Likewise.
16694         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
16695         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
16696         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
16697         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
16698         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
16699         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
16700         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
16701         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
16702         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
16703         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
16704         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
16705         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
16706         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
16707         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
16708         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
16709         * nscd/gai.c: Likewise.
16710         * nss/nss_db/db-open.c: Likewise.
16711         * sysdeps/generic/ldsodefs.h: Likewise.
16712         * sysdeps/sh/nptl/tls.h: Likewise.
16713         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
16714         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
16715         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
16716         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
16717         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
16718         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16719         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
16720         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16721         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16722         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
16723         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
16724         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16725         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
16726         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
16727         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
16728         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
16729         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
16730         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
16731         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
16732         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
16733         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
16734         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
16735         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
16736         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
16737         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
16738         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
16739         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
16740         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
16741         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
16742         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
16743         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
16744         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
16745         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
16746         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16747         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16748         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16749         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16750         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
16751         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
16752         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
16753         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16754         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
16755         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
16756         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16757         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
16758         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
16759         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
16760         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
16761         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
16762         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
16763         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
16764         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
16765         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
16766         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16767         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
16768         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
16769         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
16770         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
16771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
16773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
16774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
16775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
16776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
16777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
16778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
16779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
16782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
16783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
16784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
16785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
16791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
16792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
16793         * sysdeps/unix/sysv/linux/pread.c: Likewise.
16794         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
16795         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
16796         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
16797         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
16798         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
16799         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
16800         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
16801         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
16802         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
16803         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
16804         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
16805         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
16806         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
16807         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
16808         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
16809         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
16810         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
16811         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
16812         * sysdeps/unix/sysv/linux/system.c: Likewise.
16813         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
16814         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
16815         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16816         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16817         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16818         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16819         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16821         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
16822         * configure: Regenerated.
16823         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
16825         * configure.ac (base_machine): Do not set specially for particular
16826         machines here.
16827         * configure: Regenerated.
16828         * sysdeps/powerpc/preconfigure: Move machine and base_machine
16829         settings from configure.ac.
16830         * sysdeps/i386/preconfigure: New file.
16831         * sysdeps/s390/preconfigure: Likewise.
16832         * sysdeps/sh/preconfigure: Likewise.
16833         * sysdeps/sparc/preconfigure: Likewise.
16835 2014-06-25  Roland McGrath  <roland@hack.frob.com>
16837         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
16838         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
16839         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
16840         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
16841         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
16842         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
16843         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
16844         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
16845         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
16846         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
16847         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
16848         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
16849         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
16850         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
16851         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
16852         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
16853         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
16854         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
16855         * sysdeps/sparc/sparc64/Makefile: ... appended here.
16857         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
16858         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
16859         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
16860         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
16861         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
16862         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
16863         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
16864         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
16865         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
16866         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
16867         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
16868         * sysdeps/sparc/sparc32/sem_post.c: ... here.
16869         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
16870         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
16871         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
16872         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
16873         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
16874         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
16875         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
16876         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
16877         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
16878         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
16879         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
16880         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
16881         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
16882         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
16883         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
16884         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
16885         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
16886         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
16887         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
16888         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
16889         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
16890         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
16891         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
16892         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
16893         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
16894         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
16896         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
16897         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
16898         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
16899         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
16900         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16901         Moved ...
16902         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
16903         ... here.
16904         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
16905         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
16906         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
16907         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
16908         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
16909         Moved ...
16910         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
16911         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
16912         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
16913         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
16914         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
16915         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
16916         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
16917         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16918         Moved ...
16919         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
16920         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16921         Moved ...
16922         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
16923         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
16924         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
16925         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16926         Moved ...
16927         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
16928         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
16929         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
16930         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
16931         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
16932         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
16933         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
16934         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
16935         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
16936         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16937         Moved ...
16938         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
16939         ... here.
16940         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
16941         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
16942         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
16943         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
16944         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
16945         Moved ...
16946         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
16947         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
16948         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
16949         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
16950         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
16951         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
16952         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
16953         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16954         Moved ...
16955         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
16956         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16957         Moved ...
16958         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
16959         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
16960         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
16961         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16962         Moved ...
16963         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
16964         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
16965         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
16966         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
16967         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
16969 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16971         * timezone/checktab.awk: Update from tzcode 2014e.
16972         * timezone/private.h: Likewise.
16973         * timezone/tzfile.h: Likewise.
16974         * timezone/zdump.c: Likewise.
16975         * timezone/zic.c: Likewise.
16977         * sysdeps/unix/sysv/linux/kernel-features.h
16978         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
16979         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
16980         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
16981         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
16982         Remove conditional code.
16984 2014-06-25  Will Newton  <will.newton@linaro.org>
16986         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
16987         (_dl_arm_cap_flags): Add HWCAP2 values.
16988         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
16989         (_DL_HWCAP_COUNT): Increase to 37.
16990         (_DL_HWCAP_LAST): New define.
16991         (_DL_HWCAP2_LAST): New define.
16992         (_dl_procinfo): Add support for printing
16993         AT_HWCAP2 entries.
16994         (_dl_string_hwcap): Use _dl_hwcap_string.
16996 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16998         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17000 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
17002         * README: Do not mention ports directory.
17004         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
17005         Remove macro.
17006         * sysdeps/unix/sysv/linux/futimes.c: Do not include
17007         <kernel-features.h>.
17008         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
17009         conditional variable definition.
17010         (__futimes): Update comment.
17011         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
17012         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
17014         [BZ #16560]
17015         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
17016         arguments close to 0.
17017         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
17018         Likewise.
17019         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
17020         Likewise.
17021         * math/auto-libm-test-in: Add more tests of exp10.
17022         * math/auto-libm-test-out: Regenerated.
17023         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17025         * sysdeps/unix/sysv/linux/kernel-features.h
17026         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
17027         * sysdeps/unix/sysv/linux/readv.c: Do not include
17028         <kernel-features.h>.
17029         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
17030         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
17031         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
17032         unconditional.
17033         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
17034         conditional code.
17035         * sysdeps/unix/sysv/linux/writev.c: Do not include
17036         <kernel-features.h>.
17037         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
17038         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
17039         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
17040         unconditional.
17041         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
17042         conditional code.
17044 2014-06-25  Will Newton  <will.newton@linaro.org>
17046         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
17047         comment changes throughout the file.  Remove checks
17048         for HAVE_*_H definitions that are not required.
17049         (__gen_tempname): Call abort if an unknown kind value is
17050         passed.
17052 2014-06-25  Andreas Schwab  <schwab@suse.de>
17054         [BZ #17086]
17055         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
17056         scalbln, scalblnf, scalblnl in libc.
17058 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
17060         [BZ #17086]
17061         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
17062         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
17063         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
17065 2014-06-24  Roland McGrath  <roland@hack.frob.com>
17067         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
17068         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
17069         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
17070         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
17071         Update #include.
17072         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
17073         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
17074         Update #include.
17075         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
17076         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
17077         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
17078         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
17079         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
17080         * sysdeps/x86/bits/pthreadtypes.h: ... here.
17081         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
17082         * sysdeps/x86/bits/semaphore.h: ... here.
17083         * sysdeps/x86/nptl/elide.h: Moved ...
17084         * sysdeps/x86/elide.h: ... here.
17085         * sysdeps/x86_64/nptl/Implies: File removed.
17086         * sysdeps/i386/nptl/Implies: File removed.
17088 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
17090         [BZ #16539]
17091         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
17092         return the argument for normal arguments with exponent below -64.
17093         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17094         Likewise.
17095         * math/auto-libm-test-in: Add another test of expm1.
17096         * math/auto-libm-test-out: Regenerated.
17098         [BZ #16287]
17099         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
17100         calling __erfcl for arguments at least 16.
17101         * math/auto-libm-test-in: Add more tests of erf.
17102         * math/auto-libm-test-out: Regenerated.
17104         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
17105         individual architectures.
17106         * sysdeps/unix/sysv/linux/configure: Regenerated.
17107         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
17108         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
17109         * sysdeps/unix/sysv/linux/powerpc/configure.ac
17110         (ldd_rewrite_script): Define variable.
17111         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
17112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
17113         file.
17114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
17115         generated file.
17116         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
17117         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
17118         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
17119         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
17120         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
17121         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
17122         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
17123         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
17125 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17127         [BZ #17084]
17128         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
17129         Rename member __data.d to __data.__elision_data.
17131 2014-06-24  Wilco  <wdijkstr@arm.com>
17133         * NEWS: Add 16918 to fixed bug list.
17135 2014-06-24  Wilco  <wdijkstr@arm.com>
17137         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
17139 2014-06-24  Wilco  <wdijkstr@arm.com>
17141         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
17142         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
17143         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
17144         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
17145         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
17146         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
17147         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
17148         Use _FPU_MASK_RM.
17150 2014-06-24  Wilco  <wdijkstr@arm.com>
17152         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
17154 2014-06-24  Wilco  <wdijkstr@arm.com>
17156         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
17157         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
17158         * sysdeps/arm/fesetround.c (fesetround): Remove space.
17159         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
17161 2014-06-24  Wilco  <wdijkstr@arm.com>
17163         [BZ #16918]
17164         * sysdeps/arm/feupdateenv.c (feupdateenv):
17165         Rewrite to reduce FPSCR accesses and fix return value.
17167 2014-06-24  Wilco  <wdijkstr@arm.com>
17169         * sysdeps/arm/fclrexcpt.c (feclearexcept):
17170         Optimize to avoid unnecessary FPSCR writes.
17171         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
17172         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
17173         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
17174         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
17176 2014-06-24  Wilco  <wdijkstr@arm.com>
17178         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
17179         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
17180         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
17181         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
17182         Call libc_fetestexcept_vfp.
17183         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
17184         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
17185         __SOFTFP__ ifdef so that they can be built for softfp.
17187 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17189         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
17190         argument type signed char.
17192         * Makerules (check-abi): Dump diff of symlist if the test
17193         fails.
17195 2014-06-23  Roland McGrath  <roland@hack.frob.com>
17197         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
17198         using abort.
17200         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
17201         Remove unused variable ST.
17203 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
17205         [BZ #16354]
17206         [BZ #17061]
17207         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
17208         small arguments before calling __expm1.
17209         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
17210         small arguments before calling __expm1f.
17211         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
17212         small arguments before calling __expm1l.
17213         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
17214         Likewise.
17215         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
17216         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
17217         spurious underflow for some cosh tests.
17218         * math/auto-libm-test-out: Regenerated.
17219         * sysdeps/i386/fpu/libm-test-ulps: Update.
17221         [BZ #17050]
17222         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
17223         (__ieee754_y1): Set errno if return value overflows.
17224         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
17225         (__ieee754_y1f): Set errno if return value overflows.
17226         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
17227         (__ieee754_y1l): Set errno if return value overflows.
17228         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
17229         (__ieee754_y1l): Set errno if return value overflows.
17230         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
17231         * math/auto-libm-test-out: Regenerated.
17233         * math/gen-auto-libm-tests.c: Document use of
17234         ignore-zero-inf-sign.
17235         (input_flag_type): Add value flag_ignore_zero_inf_sign.
17236         (input_flags): Add ignore-zero-inf-sign.
17237         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
17238         * math/gen-libm-test.pl (generate_testfile): Handle
17239         ignore-zero-inf-sign.
17240         * math/auto-libm-test-in: Mark some cpow tests with
17241         ignore-zero-inf-sign and some with xfail-rounding.
17242         * math/auto-libm-test-out: Regenerated.
17243         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
17244         * sysdeps/i386/fpu/libm-test-ulps: Update.
17245         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17247         [BZ #16315]
17248         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
17249         overflowing or underflowing operations take place with sign of
17250         result.
17251         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17252         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
17253         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
17254         (__ieee754_pow): Recompute overflowing and underflowing results in
17255         original rounding mode.
17256         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
17257         (__powl_helper): Allow negative argument X and scale negated value
17258         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
17259         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
17260         overflowing or underflowing operations take place with sign of
17261         result.
17262         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
17263         Include <math.h>.
17264         * math/auto-libm-test-in: Add more tests of pow.
17265         * math/auto-libm-test-out: Regenerated.
17266         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
17267         (pow_tonearest_test_data): Remove.
17268         (pow_test_tonearest): Likewise.
17269         (pow_towardzero_test_data): Likewise.
17270         (pow_test_towardzero): Likewise.
17271         (pow_downward_test_data): Likewise.
17272         (pow_test_downward): Likewise.
17273         (pow_upward_test_data): Likewise.
17274         (pow_test_upward): Likewise.
17275         (main): Don't call removed functions.
17276         * sysdeps/i386/fpu/libm-test-ulps: Update.
17277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17279 2014-06-23  Roland McGrath  <roland@hack.frob.com>
17281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
17282         Moved ...
17283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
17284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17285         Moved ...
17286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
17287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
17288         Moved ...
17289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
17290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
17291         Moved ...
17292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
17293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
17294         File removed.
17295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
17296         File removed.
17297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
17298         File removed.
17299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
17300         File removed.
17301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
17302         File removed.
17303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
17304         File removed.
17305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
17306         File removed.
17307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17308         File removed.
17309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
17310         File removed.
17311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
17312         File removed.
17313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
17314         File removed.
17315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
17316         File removed.
17317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
17318         Moved ...
17319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
17320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
17321         Moved ...
17322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
17323         ... here.
17324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
17325         Moved ...
17326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
17327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
17328         Moved ...
17329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
17330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
17331         Moved ...
17332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
17333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
17334         Moved ...
17335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
17336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
17337         Moved ...
17338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
17339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
17340         Moved ...
17341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
17342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
17343         Moved ...
17344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
17345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
17346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
17347         ... here.
17348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
17349         Moved ...
17350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
17351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
17352         Moved ...
17353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
17354         ... here.
17355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
17356         Moved ...
17357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17358         ... here.
17359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17360         Moved ...
17361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
17362         ... here.
17363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
17364         Moved ...
17365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
17366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
17367         Moved ...
17368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
17369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
17370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
17371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
17372         Moved ...
17373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
17374         ... here.
17375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
17376         Moved ...
17377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
17378         ... here.
17379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
17380         Moved ...
17381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
17382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
17383         Moved ...
17384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
17385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
17386         Moved ...
17387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
17388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17389         Moved ...
17390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
17391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
17392         Moved ...
17393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
17394         ... here.
17395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
17396         Moved ...
17397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
17398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
17399         Moved ...
17400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
17401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
17402         Moved ...
17403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
17404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
17405         Moved ...
17406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
17407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
17408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
17409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
17410         Moved ...
17411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
17412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
17413         Moved ...
17414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
17415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
17416         Moved ...
17417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
17418         ... here.
17419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17420         Moved ...
17421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
17422         ... here.
17423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
17424         Moved ...
17425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
17426         ... here.
17427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
17428         Moved ...
17429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
17430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
17431         Moved ...
17432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
17433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
17434         Moved ...
17435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
17436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
17437         Moved ...
17438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
17439         ... here.
17440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
17441         Moved ...
17442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
17443         ... here.
17444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
17445         Moved ...
17446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
17447         ... here.
17448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
17449         Moved ...
17450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
17451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
17452         Moved ...
17453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
17455 2014-06-23  Will Newton  <will.newton@linaro.org>
17456             Wilco  <wdijkstr@arm.com>
17458         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
17459         implementation.  Include get-rounding-mode.h.
17460         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
17461         [!libc_feholdsetround_noex_ctx]: Define
17462         libc_feholdsetround_noex_ctx.
17463         [!libc_feholdsetround_noexf_ctx]: Define
17464         libc_feholdsetround_noexf_ctx.
17465         [!libc_feholdsetround_noexl_ctx]: Define
17466         libc_feholdsetround_noexl_ctx.
17467         (libc_feholdsetround_ctx): New function.
17468         (libc_feresetround_ctx): New function.
17469         (libc_feholdsetround_noex_ctx): New function.
17470         (libc_feresetround_noex_ctx): New function.
17472 2014-06-23  Roland McGrath  <roland@hack.frob.com>
17474         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
17475         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
17476         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
17477         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
17478         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
17479         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
17481         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
17482         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
17483         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
17484         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
17485         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
17486         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
17487         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
17488         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
17489         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
17490         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
17491         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
17492         Moved ...
17493         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
17494         ... here.
17495         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
17496         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
17497         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
17498         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
17499         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
17500         Moved ...
17501         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
17502         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
17503         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
17504         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
17505         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
17506         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
17507         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
17508         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
17509         Moved ...
17510         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
17511         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
17512         Moved ...
17513         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
17514         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
17515         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
17516         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
17517         Moved ...
17518         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
17519         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
17520         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
17521         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
17522         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
17523         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
17524         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
17525         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
17526         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
17527         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
17528         Moved ...
17529         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
17530         ... here.
17531         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
17532         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
17533         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
17534         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
17535         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
17536         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
17537         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
17538         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
17539         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
17540         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
17541         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
17542         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
17543         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
17544         Moved ...
17545         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
17546         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
17547         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
17548         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
17549         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
17550         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
17551         Moved ...
17552         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
17553         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
17554         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
17555         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
17556         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
17558         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
17559         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
17560         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
17561         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
17562         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
17563         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
17564         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
17565         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
17566         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
17567         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
17568         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
17569         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
17570         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
17571         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
17572         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
17573         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
17574         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
17575         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
17576         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
17577         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
17578         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
17579         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
17580         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
17581         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
17582         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
17583         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
17584         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
17585         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
17587 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
17589         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
17590         (FALLOC_FL_COLLAPSE_RANGE): New macro.
17591         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
17592         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
17593         (IPV6_PMTUDISC_INTERFACE): Likewise.
17594         (IPV6_PMTUDISC_OMIT): Likewise.
17596 2014-06-23  Andreas Schwab  <schwab@suse.de>
17598         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
17599         Remove unused errout label.
17601 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17603         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
17604         macro: hardware supports Vector Crypto instructions.
17606 2014-06-23  Will Newton  <will.newton@linaro.org>
17608         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
17609         rather than __builtin_expect.
17611         * elf/dl-lookup.c (undefined_msg): Remove variable.
17612         (_dl_lookup_symbol_x): Replace undefined_msg with string
17613         literal.
17615         * elf/dl-lookup.c (do_lookup_unique): New function.
17616         (do_lookup_x): Move STB_GNU_UNIQUE handling code
17617         to a separate function.
17619 2014-06-23  Andreas Schwab  <schwab@suse.de>
17621         [BZ #17079]
17622         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
17623         before reading the next line.
17625 2014-06-23  Will Newton  <will.newton@linaro.org>
17627         * test-skeleton.c (signal_handler): Use printf and %m
17628         rather than perror.  Use printf rather than fprintf to
17629         stderr.  Use puts rather than fputs to stderr.
17630         (main): Likewise.
17632 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
17634         * nscd/nscd.c (thread_info_t): Remove typedef.
17635         (thread_info): Remove variable.
17637 2014-06-21  Allan McRae  <allan@archlinux.org>
17639         * NEWS: Mention CVE-2014-4043.
17641 2014-06-20  Roland McGrath  <roland@hack.frob.com>
17643         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
17644         * nptl/smp.h: ... here.
17646         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
17648         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
17649         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
17650         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
17651         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
17653         * nptl/allocatestack.c: Include <stack-aliasing.h>.
17654         * nptl/stack-aliasing.h: New file.
17655         * sysdeps/i386/i686/stack-aliasing.h: New file.
17656         * sysdeps/i386/i686/nptl/Makefile: File removed.
17657         * sysdeps/x86_64/stack-aliasing.h: New file.
17658         * sysdeps/x86_64/nptl/Makefile
17659         (CFLAGS-pthread_create.c): Variable removed.
17661         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
17662         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
17663         old file.
17664         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
17665         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
17666         old file.
17668 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
17670         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17671         (__ASSUME_SIGFRAME_V2): Remove macro.
17672         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
17673         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
17674         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
17675         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
17676         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
17677         Declare as function.  Remove conditional macro definitions.
17678         (__default_rt_sa_restorer): Likewise.
17679         (__default_sa_restorer_v1): Remove declaration.
17680         (__default_sa_restorer_v2): Likewise.
17681         (__default_rt_sa_restorer_v1): Likewise.
17682         (__default_rt_sa_restorer_v2): Likewise.
17683         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
17684         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
17685         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
17687 2014-06-20  Roland McGrath  <roland@hack.frob.com>
17689         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
17690         (libpthread-routines): Add sysdep.
17691         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
17692         * sysdeps/unix/sysv/linux/sparc/Versions
17693         (libpthread: GLIBC_2.3.3): New version set.
17694         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
17695         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
17696         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
17697         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
17698         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
17699         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
17700         Moved ...
17701         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
17702         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
17703         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
17704         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
17705         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
17706         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
17707         * sysdeps/sparc/nptl/sem_init.c: ... here.
17708         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
17709         * sysdeps/sparc/nptl/sem_post.c: ... here.
17710         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
17711         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
17712         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
17713         * sysdeps/sparc/nptl/sem_wait.c: ... here.
17714         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
17715         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
17716         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
17717         (libpthread-routines): Add cpu_relax.
17718         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
17719         File removed.
17720         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
17721         (librt: GLIBC_2.3.3): New version set.
17722         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
17723         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
17724         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
17725         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
17726         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
17727         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
17728         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
17729         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
17730         Moved ...
17731         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
17732         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
17733         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
17734         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
17735         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
17736         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
17737         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
17738         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
17739         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
17740         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
17741         Moved ...
17742         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
17743         Update #include.
17744         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
17745         Moved ...
17746         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
17747         Update #include.
17748         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
17749         Moved ...
17750         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
17751         Update #include.
17752         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
17753         Moved ...
17754         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
17755         Update #include.
17756         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
17757         Moved ...
17758         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
17759         Update #include.
17760         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
17761         Moved ...
17762         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
17763         Update #include.
17764         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
17765         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
17766         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
17767         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
17768         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
17769         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
17770         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
17771         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
17772         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
17773         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
17774         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
17775         Moved ...
17776         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
17777         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
17778         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
17779         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
17780         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
17782 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17784         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
17785         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
17786         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
17787         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
17788         * nscd/nscd.c: Likewise.
17789         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
17790         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
17791         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
17792         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
17794         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
17795         <kernel-features.h>.
17796         (init_mq_netlink): Remove conditional have_sock_cloexec
17797         definitions.  Remove code conditional on have_sock_cloexec < 0.
17798         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
17799         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
17800         * sysdeps/unix/sysv/linux/opensock.c: Do not include
17801         <kernel-features.h>.
17802         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
17803         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
17805 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
17807         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17808         Add tests for memset_chk and memset.
17810         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
17811         with AVX2_Usable.
17813 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
17815         [BZ #16046]
17816         * elf/tst-dl-iter-static.c: New file.
17817         * elf/Makefile (tests-static): Add tst-dl-iter-static.
17819         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
17820         error.
17822 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17824         * sysdeps/unix/sysv/linux/kernel-features.h
17825         (__ASSUME_F_GETOWN_EX): Remove macro.
17826         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
17827         <kernel-features.h>.
17828         (miss_F_GETOWN_EX): Remove variable or macro.
17829         (do_fcntl): Do not check miss_F_GETOWN_EX.
17830         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
17832         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
17833         Remove macro.
17834         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
17835         [!__ASSUME_AT_RANDOM]: Remove conditional code.
17836         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
17838         * sysdeps/unix/sysv/linux/kernel-features.h
17839         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
17840         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
17841         [ADJ_OFFSET_SS_READ]: Make code unconditional.
17842         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
17844 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
17846         [BZ #17075]
17847         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
17848         Fix calculation of the symbol's value.
17849         * sysdeps/arm/tst-armtlsdescloc.c: New file.
17850         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
17851         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
17852         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
17853         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
17854         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
17855         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
17856         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
17857         (modules-names): Add `tst-armtlsdescmod',
17858         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
17859         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
17860         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
17861         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
17862         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
17863         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
17864         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
17865         ($(objpfx)tst-armtlsdescloc): New dependency.
17866         ($(objpfx)tst-armtlsdescextnow): Likewise.
17867         ($(objpfx)tst-armtlsdescextlazy): Likewise.
17868         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
17869         TLS scheme support.
17870         * sysdeps/arm/configure: Regenerate.
17872 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17874         * include/fcntl.h (__atfct_seterrno): Remove prototype.
17875         (__atfct_seterrno_2): Likewise.
17876         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
17877         <kernel-features.h>.
17878         (__ASSUME_ATFCTS): Do not undefine and redefine.
17879         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
17880         (__have_atfcts): Remove conditional definition.
17881         (__fxstatat([__NR_fstatat64]: Make code unconditional.
17882         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
17883         unreachable if [__ASSUME_ATFCTS].
17884         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
17885         not undefine and redefine.
17886         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
17887         <kernel-features.h>.
17888         (faccessat) [__NR_faccessat]: Make code unconditional.
17889         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
17890         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
17891         <kernel-features.h>.
17892         (fchmodat) [__NR_fchmodat]: Make code unconditional.
17893         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
17894         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
17895         <kernel-features.h>.
17896         (fchownat) [__NR_fchownat]: Make code unconditional.
17897         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
17898         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
17899         <kernel-features.h>.
17900         (futimesat) [__NR_futimesat]: Make code unconditional.
17901         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
17902         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17903         <kernel-features.h>.
17904         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
17905         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17906         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17907         <kernel-features.h>.
17908         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
17909         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
17910         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
17911         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17912         <kernel-features.h>.
17913         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
17914         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17915         * sysdeps/unix/sysv/linux/linkat.c: Do not include
17916         <kernel-features.h>.
17917         (linkat) [__NR_linkat]: Make code unconditional.
17918         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17919         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
17920         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
17921         <kernel-features.h>.
17922         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
17923         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
17924         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
17925         <kernel-features.h>.
17926         (mkdirat) [__NR_mkdirat]: Make code unconditional.
17927         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
17928         * sysdeps/unix/sysv/linux/openat.c: Do not include
17929         <kernel-features.h>.
17930         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
17931         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
17932         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
17933         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
17934         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
17935         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
17936         <kernel-features.h>.
17937         (readlinkat) [__NR_readlinkat]: Make code unconditional.
17938         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
17939         result of INLINE_SYSCALL directly, not via int variable.
17940         * sysdeps/unix/sysv/linux/renameat.c: Do not include
17941         <kernel-features.h>.
17942         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
17943         (renameat) [__NR_renameat]: Make code unconditional.
17944         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
17945         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
17946         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
17947         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
17948         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
17949         (__ASSUME_ATFCTS): Do not undefine and redefine.
17950         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
17951         <kernel-features.h>.
17952         (symlinkat) [__NR_symlinkat]: Make code unconditional.
17953         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17954         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
17955         <kernel-features.h>.
17956         (unlinkat) [__NR_unlinkat]: Make code unconditional.
17957         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17958         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
17959         (__ASSUME_ATFCTS): Do not undefine and redefine.
17960         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17961         <kernel-features.h>.
17962         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
17963         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17964         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
17965         <kernel-features.h>.
17966         (__xmknodat) [__NR_mknodat]: Make code unconditional.
17967         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
17969 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
17971         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
17973 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
17975         [BZ #17069]
17976         * posix/regcomp.c (parse_reg_exp): Deallocate partially
17977         constructed tree before returning error.
17978         * posix/bug-regexp36.c: Expand test case.
17980 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
17982         [BZ #6803]
17983         * math/libm-test.inc (scalbln_test_date):
17984         Add errno expectations.
17985         * math/w_scalblnf.c: New File.
17986         Add wrapper which checks for setting errno to ERANGE.
17987         Add weak_alias for corresponding scalbln function.
17988         * math/w_scalbln.c: Likewise.
17989         * math/w_scalblnl.c: Likewise.
17990         * math/Makefile (libm-calls): Add w_scalbln.
17991         * sysdeps/ieee754/flt-32/s_scalblnf.c:
17992         Remove weak_alias for corresponding scalbln function.
17993         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17994         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17995         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17996         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17997         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
17998         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
17999         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
18000         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
18001         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
18002         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
18003         Remove long_double_symbol for scalblnl function in libm, libc.
18004         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
18005         Add wrapper which checks for setting errno to ERANGE.
18006         Add long_double_symbol for scalblnl function in libm, libc.
18007         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
18008         Remove long_double_symbol for scalblnl in libm.
18009         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
18010         Add wrapper which checks for setting errno to ERANGE.
18011         Add long_double_symbol for scalblnl function in libm.
18012         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
18013         Do not use wrapper because of own implementation.
18015 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
18017         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
18018         3 bytes for __pad1 for x32.
18019         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
18021 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
18022             H.J. Lu  <hongjiu.lu@intel.com>
18024         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
18025         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
18026         * sysdeps/x86_64/multiarch/memset.S: Likewise.
18027         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18028         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
18030 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
18032         [BZ #17069]
18033         * posix/regcomp.c (parse_expression): Deallocate partially
18034         constructed tree before returning error.
18035         * posix/Makefile.c (tests): Add bug-regex36.
18036         (generated): Add bug-regex36.mtrace.
18037         (tests-special): Add $(objpfx)bug-regex36-mem.out
18038         (bug-regex36-ENV): New variable.
18039         ($(objpfx)bug-regex36-mem.out): New rule.
18040         * posix/bug-regex36.c: New file.
18042 2014-06-19  Will Newton  <will.newton@linaro.org>
18044         * malloc/malloc.c (systrim): If extra is zero then return
18045         early.
18047 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18049         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
18051 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
18053         * sysdeps/aarch64/strchr.S: New file.
18055 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
18057         [BZ #17022]
18058         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
18059         from arguments -2 or below.
18060         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
18061         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
18063 2014-06-18  Andreas Schwab  <schwab@suse.de>
18065         [BZ #17062]
18066         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
18067         of a bracket expr not to run off the end of the string.
18068         * posix/Makefile (tests): Add tst-fnmatch3.
18069         * posix/tst-fnmatch3.c: New file.
18071 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
18073         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
18074         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18075         [$(cross-compiling) = no]: Likewise.
18076         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18077         [$(cross-compiling) = no]: Likewise.
18079 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18081         [BZ #17031]
18082         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
18083         double, adjusted for any remainder from the high double.
18084         * math/libm-test.inc (nearbyint): Add tests.
18085         (rint): Likewise.
18087 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18089         * nptl/sysdeps/powerpc/Makefile: Moved ...
18090         * sysdeps/powerpc/nptl/Makefile: ... here.
18091         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
18092         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
18093         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
18094         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
18095         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
18096         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
18097         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
18098         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
18099         * nptl/sysdeps/powerpc/tls.h: Moved ...
18100         * sysdeps/powerpc/nptl/tls.h: ... here.
18102 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
18104         [BZ #16681]
18105         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
18106         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
18107         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
18108         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
18109         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
18110         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
18111         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
18112         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
18113         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
18115 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
18117         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
18119 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
18121         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
18122         defined operator.
18124         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
18125         $TIMEOUTFACTOR.
18127 2014-06-16  Florian Weimer  <fweimer@redhat.com>
18129         [BZ #17058]
18130         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
18131         non-executed part of the test.
18133 2014-06-16  Andreas Schwab  <schwab@suse.de>
18135         * string/bits/string2.h (strdup, strndup): Update feature guard.
18137 2014-06-14  David S. Miller  <davem@davemloft.net>
18139         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18141 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
18143         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
18144         that was previously under [RESET_PID].
18145         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
18147         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
18148         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
18149         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
18150         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18151         (__libc_vfork): New strong alias.
18152         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
18154 2014-06-14 Andi Kleen  <ak@linux.intel.com>
18156         * sysdeps/generic/elide.h: New file.
18158 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18160         * Makefile (installed-headers): Adjust path of pthread.h header.
18162 2014-06-13  Roland McGrath  <roland@hack.frob.com>
18164         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
18165         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
18166         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
18167         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
18169         * nptl/sysdeps/s390/Makefile: Moved ...
18170         * sysdeps/s390/nptl/Makefile: ... here.
18171         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
18172         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
18173         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
18174         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
18175         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
18176         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
18177         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
18178         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
18179         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
18180         * sysdeps/s390/nptl/pthreaddef.h: ... here.
18181         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
18182         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
18183         * nptl/sysdeps/s390/tls.h: Moved ...
18184         * sysdeps/s390/nptl/tls.h: ... here.
18186         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
18187         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
18189 2014-06-13  David S. Miller  <davem@davemloft.net>
18191         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
18192         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
18193         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
18194         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
18195         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
18196         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
18197         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
18198         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
18199         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
18200         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
18201         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
18202         Remove RESET_PID cpp guards.
18203         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
18204         Remove RESET_PID cpp guards.
18205         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
18207 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
18209         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
18210         __sp to uintptr_t.
18212 2014-06-13  Andi Kleen  <ak@linux.intel.com>
18214         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
18215         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
18216         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
18217         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
18218         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
18219         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
18220         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
18221         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
18222         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
18223         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
18224         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
18225         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
18226         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
18227         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
18228         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
18229         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
18230         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
18231         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
18232         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
18233         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
18235         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
18236         (pthread_rwlock_rdlock): Add elision.
18237         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
18238         (pthread_rwlock_wrlock): Add elision.
18239         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
18240         (pthread_rwlock_trywrlock): Add elision.
18241         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
18242         (pthread_rwlock_tryrdlock): Add elision.
18243         * nptl/pthread_rwlock_unlock.c: Include elide.h.
18244         (pthread_rwlock_tryrdlock): Add elision unlock.
18245         * nptl/sysdeps/pthread/pthread.h:
18246         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
18247         (PTHREAD_RWLOCK_INITIALIZER,
18248         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
18249         Handle new elision field.
18250         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
18251         * sysdeps/arm/nptl/bits/pthreadtypes.h
18252         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18253         * sysdeps/sh/nptl/bits/pthreadtypes.h
18254         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18255         * sysdeps/tile/nptl/bits/pthreadtypes.h
18256         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18257         * sysdeps/a/nptl/bits/pthreadtypes.h
18258         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18259         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
18260         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18261         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
18262         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18263         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
18264         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18265         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
18266         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18267         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
18268         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18269         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
18270         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18271         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
18272         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18273         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
18274         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18275         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
18276         (elision_init): Set try_xbegin to zero when no RTM.
18277         * sysdeps/x86/nptl/bits/pthreadtypes.h
18278         (pthread_rwlock_t): Change __pad1 to __rwelision.
18279         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18281 2014-06-13  Andi Kleen  <ak@linux.intel.com>
18283         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
18284         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
18285         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
18286         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
18288 2014-06-13  Meador Inge  <meadori@codesourcery.com>
18290         [BZ #16996]
18291         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
18292         that the cached result has been set before returning it.
18294 2014-06-12  Roland McGrath  <roland@hack.frob.com>
18296         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
18297         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
18298         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
18299         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
18300         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
18301         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
18303         * nptl/sysdeps/sparc/Makefile: Moved ...
18304         * sysdeps/sparc/nptl/Makefile: ... here.
18305         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
18306         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
18307         * nptl/sysdeps/sparc/tls.h: Moved ...
18308         * sysdeps/sparc/nptl/tls.h: ... here.
18309         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
18310         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
18311         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
18312         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
18313         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
18314         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
18315         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
18316         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
18317         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
18318         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
18319         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
18320         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
18321         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
18322         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
18323         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
18324         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
18325         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
18326         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
18327         Update #include.
18328         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
18329         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
18330         Update #include.
18331         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
18332         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
18333         Update #include.
18334         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
18335         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
18336         Update #include.
18338         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
18340         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
18341         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
18343         * sysdeps/pthread/posix-timer.h: Include <list.h>.
18344         (struct list_links): Type removed.
18345         (struct thread_node, struct timer_node): Replace struct list_links
18346         with struct list_head.
18347         (list_unlink_ip): Likewise.
18348         * sysdeps/pthread/timer_routines.c
18349         (timer_free_list, thread_free_list, thread_active_list): Likewise.
18350         (list_append, list_insbefore): Likewise.
18351         (list_init): Function removed.
18352         (thread_init, init_module): Use INIT_LIST_HEAD instead.
18353         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
18354         * sysdeps/pthread/Makefile: ... here, new file.
18356         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
18357         * sysdeps/nptl/Implies: ... here.
18358         * sysdeps/unix/sysv/linux/Implies: Add nptl.
18359         * nptl/sysdeps/pthread/list.h: Moved ...
18360         * include/list.h: ... here.
18361         * nptl/sysdeps/pthread/createthread.c: Moved ...
18362         * nptl/createthread.c: ... here.
18363         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
18364         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
18365         * nptl/pt-longjmp.c: ... here.
18366         * nptl/sysdeps/pthread/Makefile: Moved ...
18367         * sysdeps/nptl/Makefile: ... here.
18368         * nptl/sysdeps/pthread/Subdirs: Moved ...
18369         * sysdeps/nptl/Subdirs: ... here.
18370         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
18371         * sysdeps/nptl/aio_misc.h: ... here.
18372         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
18373         * sysdeps/nptl/bits/libc-lock.h: ... here.
18374         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
18375         * sysdeps/nptl/bits/libc-lockP.h: ... here.
18376         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
18377         * sysdeps/nptl/bits/stdio-lock.h: ... here.
18378         * nptl/sysdeps/pthread/configure: Moved ...
18379         * sysdeps/nptl/configure: ... here.
18380         * nptl/sysdeps/pthread/configure.ac: Moved ...
18381         * sysdeps/nptl/configure.ac: ... here.
18382         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
18383         * sysdeps/nptl/gai_misc.h: ... here.
18384         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
18385         * sysdeps/nptl/librt-cancellation.c: ... here.
18386         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
18387         * sysdeps/nptl/malloc-machine.h: ... here.
18388         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
18389         * sysdeps/nptl/pthread-functions.h: ... here.
18390         * nptl/sysdeps/pthread/pthread.h: Moved ...
18391         * sysdeps/nptl/pthread.h: ... here.
18392         * nptl/sysdeps/pthread/setxid.h: Moved ...
18393         * sysdeps/nptl/setxid.h: ... here.
18394         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
18395         * sysdeps/nptl/sigfillset.c: ... here.
18396         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
18397         * sysdeps/nptl/tcb-offsets.h: ... here.
18398         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
18399         * sysdeps/nptl/tst-mqueue8x.c: ... here.
18400         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
18401         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
18402         * nptl/sysdeps/pthread/allocalim.h: Moved ...
18403         * sysdeps/pthread/allocalim.h: ... here.
18404         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
18405         * sysdeps/pthread/bits/sigthread.h: ... here.
18406         * nptl/sysdeps/pthread/flockfile.c: Moved ...
18407         * sysdeps/pthread/flockfile.c: ... here.
18408         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
18409         * sysdeps/pthread/ftrylockfile.c: ... here.
18410         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
18411         * sysdeps/pthread/funlockfile.c: ... here.
18412         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
18413         * sysdeps/pthread/posix-timer.h: ... here.
18414         * nptl/sysdeps/pthread/timer_create.c: Moved ...
18415         * sysdeps/pthread/timer_create.c: ... here.
18416         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
18417         * sysdeps/pthread/timer_delete.c: ... here.
18418         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
18419         * sysdeps/pthread/timer_getoverr.c: ... here.
18420         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
18421         * sysdeps/pthread/timer_gettime.c: ... here.
18422         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
18423         * sysdeps/pthread/timer_routines.c: ... here.
18424         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
18425         * sysdeps/pthread/timer_settime.c: ... here.
18426         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
18427         * sysdeps/pthread/tst-timer.c: ... here.
18428         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
18429         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
18431         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
18432         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
18434         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
18435         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
18436         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
18437         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
18438         Update #include target.
18439         * nptl/sysdeps/i386/i686/Makefile: Moved ...
18440         * sysdeps/i386/i686/nptl/Makefile: ... here.
18441         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
18442         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
18443         Update #include target.
18444         * nptl/sysdeps/i386/i686/tls.h: Moved ...
18445         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
18446         * nptl/sysdeps/i386/Makefile: Moved ...
18447         * sysdeps/i386/nptl/Makefile: ... here.
18448         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
18449         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
18450         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
18451         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
18452         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
18453         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
18454         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
18455         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
18456         * sysdeps/i386/nptl/pthreaddef.h: ... here.
18457         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
18458         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
18459         * nptl/sysdeps/i386/tls.h: Moved ...
18460         * sysdeps/i386/nptl/tls.h: ... here.
18462         * sysdeps/sh/Makefile [$(subdir) = csu]
18463         (gen-as-const-headers): Add tcb-offsets.sym.
18464         * nptl/sysdeps/sh/Makefile: File removed.
18465         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
18466         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
18467         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
18468         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
18469         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
18470         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
18471         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
18472         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
18473         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
18474         * sysdeps/sh/nptl/pthreaddef.h: ... here.
18475         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
18476         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
18477         * nptl/sysdeps/sh/tls.h: Moved ...
18478         * sysdeps/sh/nptl/tls.h: ... here.
18479         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
18480         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
18481         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
18482         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
18483         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
18484         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
18485         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
18486         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
18487         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
18488         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
18489         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
18490         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
18491         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
18492         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
18493         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
18494         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
18495         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
18496         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
18497         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
18498         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
18499         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
18500         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
18501         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
18502         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
18503         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
18504         Moved ...
18505         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
18506         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
18507         Moved ...
18508         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
18509         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
18510         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
18511         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
18512         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
18513         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
18514         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
18515         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
18516         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
18517         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
18518         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
18519         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
18520         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
18521         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
18522         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
18523         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
18524         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
18525         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
18526         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
18528 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18530         * posix/spawn_faction_addopen.c: Include string.h.
18532 2014-06-11  Roland McGrath  <roland@hack.frob.com>
18534         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
18535         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
18536         * nptl/sysdeps/x86_64/Makefile: Moved ...
18537         * sysdeps/x86_64/nptl/Makefile: ... here.
18538         * nptl/sysdeps/x86_64/configure: Moved ...
18539         * sysdeps/x86_64/nptl/configure: ... here.
18540         * nptl/sysdeps/x86_64/configure.ac: Moved ...
18541         * sysdeps/x86_64/nptl/configure.ac: ... here.
18542         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
18543         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
18544         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
18545         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
18546         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
18547         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
18548         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
18549         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
18550         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
18551         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
18552         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
18553         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
18554         * nptl/sysdeps/x86_64/tls.h: Moved ...
18555         * sysdeps/x86_64/nptl/tls.h: ... here.
18556         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
18557         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
18558         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
18559         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
18561         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
18563 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18565         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18567 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
18569         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
18570         type.
18571         [POSIX] (off_t): Likewise.
18572         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
18573         [POSIX] (S_ISBLK): Require macro.
18574         [POSIX] (S_ISCHR): Likewise.
18575         [POSIX] (S_ISDIR): Likewise.
18576         [POSIX] (S_ISFIFO): Likewise.
18577         [POSIX] (S_ISREG): Likewise.
18578         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
18579         optional-macro.
18580         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
18581         type.
18582         [POSIX] (time_t): Likewise.
18583         [POSIX] (timer_t): Likewise.
18585 2014-06-11  Florian Weimer  <fweimer@redhat.com>
18587         [BZ #17048]
18588         * posix/spawn_int.h (struct __spawn_action): Make the path string
18589         non-const to support deallocation.
18590         * posix/spawn_faction_addopen.c
18591         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
18592         * posix/spawn_faction_destroy.c
18593         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
18594         path in all spawn_do_open actions.
18595         * posix/tst-spawn.c (do_test): Exercise the copy operation in
18596         posix_spawn_file_actions_addopen.
18598 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
18600         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
18601         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
18602         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
18603         conditional code always true.
18604         (__libc_vfork): New alias.
18606 2014-06-11  Roland McGrath  <roland@hack.frob.com>
18608         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18609         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
18611         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
18613         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18614         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
18616         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
18617         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
18619         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18620         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
18622 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18624         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
18625         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
18626         multiarch strcmp for PPC64.
18627         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
18628         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
18629         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
18630         multiarch optimizations.
18631         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18632         (__libc_ifunc_impl_list): Likewise.
18634 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18636         * benchtests/scripts/validate_benchout.py: New script.
18637         * benchtests/Makefile (bench-func): Call it.
18638         * benchtests/scripts/benchout.schema.json: New file.
18640 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
18642         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
18643         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
18644         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
18645         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
18646         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
18647         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
18648         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
18649         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
18650         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
18651         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
18652         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
18653         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
18654         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
18655         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
18656         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
18657         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
18658         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
18659         Moved ...
18660         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
18661         ... here.
18662         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
18663         Moved ...
18664         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
18665         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
18666         Moved ...
18667         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
18668         ... here.
18669         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
18670         Moved ...
18671         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
18672         ... here.
18673         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
18674         Moved ...
18675         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
18676         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
18677         Moved ...
18678         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
18679         ... here.
18680         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
18681         Moved ...
18682         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
18683         ... here.
18684         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
18685         Moved ...
18686         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
18687         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
18688         Moved ...
18689         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
18690         ... here.
18691         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
18692         Moved ...
18693         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
18694         ... here.
18695         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
18696         Moved ...
18697         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
18698         ... here.
18699         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
18700         Moved ...
18701         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
18702         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
18703         Moved ...
18704         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
18705         ... here.
18706         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
18707         Moved ...
18708         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
18709         ... here.
18710         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
18711         Moved ...
18712         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
18713         ... here.
18714         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
18715         Moved ...
18716         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
18717         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
18718         Moved ...
18719         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
18720         ... here.
18721         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
18722         Moved ...
18723         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
18724         ... here.
18725         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
18726         Moved ...
18727         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
18728         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
18729         Moved ...
18730         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
18731         ... here.
18732         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
18733         Moved ...
18734         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
18735         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
18736         Moved ...
18737         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
18738         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
18739         Moved ...
18740         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
18741         ... here.
18742         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
18743         Moved ...
18744         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
18745         ... here.
18746         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
18747         Moved ...
18748         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
18749         ... here.
18750         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
18751         Moved ...
18752         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
18753         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
18754         Moved ...
18755         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
18756         ... here.
18757         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
18758         Moved ...
18759         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
18760         ... here.
18761         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
18762         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
18763         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
18764         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
18765         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
18766         Moved ...
18767         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
18768         ... here.
18769         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
18770         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
18771         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
18772         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
18773         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
18774         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
18775         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
18776         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
18777         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
18778         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
18779         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
18780         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
18781         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
18782         Moved ...
18783         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
18784         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
18785         Moved ...
18786         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
18787         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
18788         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
18789         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
18790         Moved ...
18791         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
18792         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
18793         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
18794         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
18795         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
18796         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
18797         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
18799 2014-06-10  Wilco  <wdijkstr@arm.com>
18801         * math/test-fenv-return.c: New file.
18802         * math/Makefile: Add new test test-fenv-return.
18804 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
18806         [BZ #17042]
18807         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
18808         when x - 1 is zero.
18809         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
18810         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
18811         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
18812         0.0L for an argument of 1.0L.
18813         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
18814         Likewise.
18815         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
18816         value when x - 1 is zero.
18817         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
18818         * sysdeps/i386/fpu/libm-test-ulps: Update.
18819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18821 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
18823         [BZ #15119]
18824         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
18826 2014-06-09  Roland McGrath  <roland@hack.frob.com>
18828         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
18829         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
18831 2014-06-09  Roland McGrath  <roland@hack.frob.com>
18833         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18834         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
18836         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18837         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
18839         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18840         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
18842         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18843         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
18845         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
18846         if not already defined.
18847         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
18848         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
18849         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
18850         (TLS_INIT_TP): Use it.
18851         (TLS_DEFINE_INIT_TP): New macro.
18852         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
18854 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
18856         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
18857         constant.
18858         [POSIX] (IXANY): Likewise.
18859         [POSIX] (OLCUC): Likewise.
18860         [POSIX || POSIX2008] (CBAUD): Do not allow.
18861         [POSIX || POSIX2008] (DEFECHO): Likewise.
18862         [POSIX || POSIX2008] (ECHOCTL): Likewise.
18863         [POSIX || POSIX2008] (ECHOKE): Likewise.
18864         [POSIX || POSIX2008] (ECHOPRT): Likewise.
18865         [POSIX || POSIX2008] (EXTA): Likewise.
18866         [POSIX || POSIX2008] (EXTB): Likewise.
18867         [POSIX || POSIX2008] (FLUSHO): Likewise.
18868         [POSIX || POSIX2008] (LOBLK): Likewise.
18869         [POSIX || POSIX2008] (PENDIN): Likewise.
18870         [POSIX || POSIX2008] (SWTCH): Likewise.
18871         [POSIX || POSIX2008] (VDISCARD): Likewise.
18872         [POSIX || POSIX2008] (VDSUSP): Likewise.
18873         [POSIX || POSIX2008] (VLNEXT): Likewise.
18874         [POSIX || POSIX2008] (VREPRINT): Likewise.
18875         [POSIX || POSIX2008] (VSTATUS): Likewise.
18876         [POSIX || POSIX2008] (VWERASE): Likewise.
18877         (B*): Change to B[0123456789]*.
18878         * conform/data/time.h-data [POSIX || UNIX98]
18879         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
18880         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
18881         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
18882         [POSIX] (tm_*): Do not allow.
18884 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
18886         * Makefile (install): Don't set LANGUAGE.
18887         * Makefile.in (install): Likewise.
18888         * assert/Makefile (test-assert-ENV): Remove variable.
18889         (test-assert-perr-ENV): Likewise.
18890         * elf/Makefile (neededtest4-ENV): Likewise.
18891         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18892         [$(cross-compiling) = no]: Don't set LANGUAGE.
18893         * io/ftwtest-sh (LANG): Remove variable.
18894         * libio/Makefile (tst-widetext-ENV): Likewise.
18895         * manual/install.texi (Running make install): Don't refer to
18896         environment settings for make install.
18897         * INSTALL: Regenerated.
18898         * nptl/tst-tls6.sh: Don't set LANG.
18899         * posix/globtest.sh (LANG): Remove variable.
18900         * string/Makefile (tester-ENV): Likewise.
18901         (inl-tester-ENV): Likewise.
18902         (noinl-tester-ENV): Likewise.
18903         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18904         [$(cross-compiling) = no]: Don't set LANGUAGE.
18905         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
18906         without explicit environment settings.
18908 2014-06-06  Roland McGrath  <roland@hack.frob.com>
18910         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
18911         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
18912         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
18913         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
18915 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
18917         * crypt/crypt-private.h [DOS]: Add some includes taken from the
18918         other files in the crypt directory.
18919         * crypt/crypt.c: Remove duplicate includes.
18920         * crypt/crypt-entry.c: Likewise.
18921         * crypt/crypt_util.c: Likewise.
18923 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
18925         * Makeconfig (run-program-env): New variable.
18926         (run-program-prefix-before-env): Likewise.
18927         (run-program-prefix-after-env): Likewise.
18928         (run-program-prefix): Define in terms of new variables.
18929         (built-program-cmd-before-env): New variable.
18930         (built-program-cmd-after-env): Likewise.
18931         (built-program-cmd): Define in terms of new variables.
18932         (test-program-prefix-before-env): New variable.
18933         (test-program-prefix-after-env): Likewise.
18934         (test-program-prefix): Define in terms of new variables.
18935         (test-program-cmd-before-env): New variable.
18936         (test-program-cmd-after-env): Likewise.
18937         (test-program-cmd): Define in terms of new variables.
18938         * Rules (make-test-out): Use $(run-program-env).
18939         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
18940         (help): Do not mention environment variables.  Mention
18941         --timeoutfactor option.
18942         (timeoutfactor): New variable.
18943         (blacklist_exports): Remove function.
18944         (exports): Remove variable.
18945         (command): Do not include ${exports}.
18946         * manual/install.texi (Configuring and compiling): Do not mention
18947         test wrappers preserving environment variables.  Mention that last
18948         assignment to a variable must take precedence.
18949         * INSTALL: Regenerated.
18950         * benchtests/Makefile (run-bench): Use $(run-program-env).
18951         * catgets/Makefile ($(objpfx)test1.cat): Use
18952         $(built-program-cmd-before-env), $(run-program-env) and
18953         $(built-program-cmd-after-env).
18954         ($(objpfx)test2.cat): Do not specify environment variables
18955         explicitly.
18956         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
18957         $(run-program-env) and $(built-program-cmd-after-env).
18958         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
18959         $(run-program-env) and $(test-program-cmd-after-env).
18960         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
18961         explicitly.
18962         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
18963         run_program_env and test_program_cmd_after_env arguments.
18964         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
18965         * elf/tst-pathopt.sh: Use run_program_env argument.
18966         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
18967         $(test-wrapper-env) and $(run-program-env).
18968         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
18969         run_program_env arguments.
18970         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
18971         * intl/Makefile ($(objpfx)tst-gettext.out): Use
18972         $(test-program-prefix-before-env), $(run-program-env) and
18973         $(test-program-prefix-after-env).
18974         ($(objpfx)tst-gettext2.out): Likewise.
18975         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
18976         run_program_env and test_program_prefix_after_env arguments.
18977         * intl/tst-gettext2.sh: Likewise.
18978         * intl/tst-gettext4.sh: Do not set environment variables
18979         explicitly.
18980         * intl/tst-gettext6.sh: Likewise.
18981         * intl/tst-translit.sh: Likewise.
18982         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
18983         $(test-program-prefix-before-env), $(run-program-env) and
18984         $(test-program-prefix-after-env).
18985         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
18986         run_program_env and test_program_prefix_after_env arguments.
18987         * math/Makefile (run-regen-ulps): Use $(run-program-env).
18988         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
18989         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
18990         explicitly with each use of ${test_wrapper_env}.
18991         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
18992         $(test-program-prefix-before-env), $(run-program-env) and
18993         $(test-program-prefix-after-env).
18994         * posix/tst-getconf.sh: Do not set environment variables
18995         explicitly.
18996         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
18997         run_program_env and test_program_prefix_after_env arguments.
18998         * stdio-common/tst-printf.sh: Do not set environment variables
18999         explicitly.
19000         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
19001         $(test-program-prefix-before-env), $(run-program-env) and
19002         $(test-program-prefix-after-env).
19003         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
19004         run_program_env and test_program_prefix_after_env arguments.
19005         Split $test calls into $test_pre and $test.
19006         * timezone/Makefile (build-testdata): Use
19007         $(built-program-cmd-before-env), $(run-program-env) and
19008         $(built-program-cmd-after-env).
19010 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19012         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
19013         strlen for non SHARED builds.
19015 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19017         * nptl/allocatestack.c (check_list): Inlined function...
19018         (__reclaim_stacks): ... here.
19020 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
19022         [BZ #15698]
19023         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
19024         memory overrun.
19026 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
19028         * Rules (make-test-out): Include
19029         LOCPATH=$(common-objpfx)localedata in default environment.
19030         * debug/Makefile (tst-chk1-ENV): Remove variable.
19031         (tst-chk2-ENV): Likewise.
19032         (tst-chk3-ENV): Likewise.
19033         (tst-chk4-ENV): Likewise.
19034         (tst-chk5-ENV): Likewise.
19035         (tst-chk6-ENV): Likewise.
19036         (tst-lfschk1-ENV): Likewise.
19037         (tst-lfschk2-ENV): Likewise.
19038         (tst-lfschk3-ENV): Likewise.
19039         (tst-lfschk4-ENV): Likewise.
19040         (tst-lfschk5-ENV): Likewise.
19041         (tst-lfschk6-ENV): Likewise.
19042         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
19043         (tst-iconv7-ENV): Likewise.
19044         * intl/Makefile (LOCPATH-ENV): Likewise.
19045         (tst-codeset-ENV): Likewise.
19046         (tst-gettext3-ENV): Likewise.
19047         (tst-gettext5-ENV): Likewise.
19048         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
19049         (tst-fopenloc-ENV): Likewise.
19050         (tst-fgetws-ENV): Remove variable.
19051         (tst-ungetwc1-ENV): Likewise.
19052         (tst-ungetwc2-ENV): Likewise.
19053         (bug-ungetwc2-ENV): Likewise.
19054         (tst-swscanf-ENV): Likewise.
19055         (bug-ftell-ENV): Likewise.
19056         (tst-fgetwc-ENV): Likewise.
19057         (tst-fseek-ENV): Likewise.
19058         (tst-ftell-partial-wide-ENV): Likewise.
19059         (tst-ftell-active-handler-ENV): Likewise.
19060         (tst-ftell-append-ENV): Likewise.
19061         * posix/Makefile (tst-fnmatch-ENV): Likewise.
19062         (tst-regexloc-ENV): Likewise.
19063         (bug-regex1-ENV): Likewise.
19064         (tst-regex-ENV): Likewise.
19065         (tst-regex2-ENV): Likewise.
19066         (bug-regex5-ENV): Likewise.
19067         (bug-regex6-ENV): Likewise.
19068         (bug-regex17-ENV): Likewise.
19069         (bug-regex18-ENV): Likewise.
19070         (bug-regex19-ENV): Likewise.
19071         (bug-regex20-ENV): Likewise.
19072         (bug-regex22-ENV): Likewise.
19073         (bug-regex23-ENV): Likewise.
19074         (bug-regex25-ENV): Likewise.
19075         (bug-regex26-ENV): Likewise.
19076         (bug-regex30-ENV): Likewise.
19077         (bug-regex32-ENV): Likewise.
19078         (bug-regex33-ENV): Likewise.
19079         (bug-regex34-ENV): Likewise.
19080         (bug-regex35-ENV): Likewise.
19081         (tst-rxspencer-ENV): Likewise.
19082         (tst-rxspencer-no-utf8-ENV): Likewise.
19083         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
19084         (tst-sscanf-ENV): Likewise.
19085         (tst-swprintf-ENV): Likewise.
19086         (tst-swscanf-ENV): Likewise.
19087         (test-vfprintf-ENV): Likewise.
19088         (scanf13-ENV): Likewise.
19089         (bug14-ENV): Likewise.
19090         (tst-grouping-ENV): Likewise.
19091         * stdlib/Makefile (tst-strtod-ENV): Likewise.
19092         (tst-strtod3-ENV): Likewise.
19093         (tst-strtod4-ENV): Likewise.
19094         (tst-strtod5-ENV): Likewise.
19095         (testmb2-ENV): Likewise./
19096         * string/Makefile (tst-strxfrm-ENV): Likewise.
19097         (tst-strxfrm2-ENV): Likewise.
19098         (bug-strcoll1-ENV): Likewise.
19099         (test-strcasecmp-ENV): Likewise.
19100         (test-strncasecmp-ENV): Likewise.
19101         * time/Makefile (tst-strptime-ENV): Likewise.
19102         (tst-ftime_l-ENV): Likewise.
19103         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
19104         (tst-mbrtowc-ENV): Likewise.
19105         (tst-wcrtomb-ENV): Likewise.
19106         (tst-mbrtowc2-ENV): Likewise.
19107         (tst-c16c32-1-ENV): Likewise.
19108         (tst-mbsnrtowcs-ENV): Likewise.
19110 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
19112         * manual/resource.texi (How to get information about the memory
19113         subsystem?): Fix typo.
19114         Reported by Peon de la Parra Ivan <peon@keba.com>
19116 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
19118         [BZ #16882]
19119         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
19120         (pthread_spin_lock): Branch out of spin loop to proper location.
19121         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
19122         (pthread_spin_lock): Likewise.
19124         * nptl/tst-spin4.c: New test.
19125         * nptl/Makefile (tests): Add tst-spin4.
19127 2014-06-03  Andreas Schwab  <schwab@suse.de>
19129         [BZ #15946]
19130         * resolv/res_send.c (send_dg): Reload file descriptor after
19131         calling reopen.
19133 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
19135         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19137 2014-06-03  Richard Henderson  <rth@redhat.com>
19139         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
19140         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
19141         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
19142         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
19143         in the SAVE_PID block.
19144         (__libc_vfork): New alias.
19145         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
19147         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
19148         child in registers, not on the stack.  Remove RESET_PID conditionals.
19149         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
19151 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
19153         * sysdeps/aarch64/libm-test-ulps: Regenerate.
19155 2014-06-03  Wilco  <wdijkstr@arm.com>
19157         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
19158         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
19159         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
19160         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
19161         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
19162         Likewise.
19164 2014-06-03  Wilco  <wdijkstr@arm.com>
19166         * sysdeps/aarch64/fpu/math_private.h
19167         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
19168         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
19169         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
19170         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
19171         Fix declarations.
19173 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19175         * crypt/crypt-private.h: Include ufc-crypt.h.
19176         (__b64_from_24bit): Declare extern.
19177         * crypt/crypt_util.c(__b64_from_24bit): New function.
19178         (b64t): New static const variable.
19179         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
19180         (b64t): Remove variable.
19181         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
19182         * crypt/sha256-crypt.c: Include crypt-private.h.
19183         (b64t): Remove variable.
19184         (__sha256_crypt_r): Remove b64_from_24bit and replace
19185         with __b64_from_24bit.
19186         * crypt/sha512-crypt.c: Likewise.
19188 2014-06-02  Roland McGrath  <roland@hack.frob.com>
19190         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
19191         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
19192         Label the code __libc_vfork rather than __vfork.
19193         [!NOT_IN_libc] (vfork): Define as weak alias.
19194         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
19195         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
19196         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
19198 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
19200         * malloc/malloc.c (malloc_info): Fix format specifier for
19201         n_mmaps.
19203 2014-06-02  Wilco  <wdijkstr@arm.com>
19205         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
19206         FPCR write.
19208 2014-06-02  Wilco  <wdijkstr@arm.com>
19210         [BZ #17009]
19211         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
19212         Rewrite to reduce FPCR/FPSR accesses.
19214 2014-06-01  David S. Miller  <davem@davemloft.net>
19216         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19218 2014-05-31  David S. Miller  <davem@davemloft.net>
19220         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
19221         to occur in round to nearest mode when |x| >= 2.0
19223 2014-05-30  Richard Henderson  <rth@twiddle.net>
19225         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
19226         (PSEUDO_RET_NOERRNO): Remove.
19227         (ret): Don't redefine.
19228         (ret_NOERRNO): Define in terms of ret.
19229         (ret_ERRVAL): Likewise.
19231         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
19232         use of PSEUDO_RET; perform the error check directly.
19234 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
19236         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
19237         with __int128_t.
19239 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19241         * malloc/malloc (malloc_info): Fix formatting.
19243 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19244             Roland McGrath  <roland@hack.frob.com>
19246         * malloc/malloc (malloc_info): Also print mmapped statistics.
19248 2014-05-30  Roland McGrath  <roland@hack.frob.com>
19250         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
19251         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
19253 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
19255         * malloc/malloc.c (malloc_info): Inline mi_arena.
19257 2014-05-29  Richard Henderson  <rth@twiddle.net>
19259         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
19260         Remove comma before expanding ASM_ARGS_##nr.
19261         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
19262         Make _x0 a strict output; make _x8 a strict input; adjust expansion
19263         of ASM_ARGS_##nr.
19264         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
19265         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
19266         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
19267         (ASM_ARGS_1): Add leading comma.
19269         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
19270         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
19271         to __errno_location.
19272         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
19273         Remove the expected plt for __errno_location.
19275         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19276         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
19277         call to __read_tp.
19279         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19280         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
19281         it and break it down.
19282         (DOCARGS_0, DOCARGS_1): Do nothing.
19283         (DOCARGS_2): Update to store into the new stack frame.
19284         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
19285         (UNDOCARGS_1): Update to restore from the new stack frame.
19286         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
19287         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
19289         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19290         (SINGLE_THREAD_P): New parameter for result regno.
19291         (PSEUDO): Update to match; use cbz instead of beq.
19293         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19294         Use ENTRY to define the _nocancel entry point.  Share the syscall
19295         and syscall error check paths with the cancel path.
19296         (PSEUDO_END): New.
19298         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
19299         whitespace; tabs before and after asm mnemonics.
19301 2014-05-29  Eric Wong  <normalperson@yhbt.net>
19303         [BZ #15132]
19304         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19305         Call fstat64 or stat64 internally, depending on arguments passed.
19306         Replace stat buffer argument with file descriptor argument.
19307         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
19308         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
19309         Pass fd to __internal_statvfs instead of calling fstat64.
19310         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
19311         Pass fd to __internal_statvfs64 instead of calling fstat64.
19312         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
19313         Pass -1 to __internal_statvfs instead of calling stat64.
19314         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
19315         Pass -1 to __internal_statvfs64 instead of calling stat64.
19317 2014-05-28  Roland McGrath  <roland@hack.frob.com>
19319         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
19320         that was previously under [RESET_PID].
19321         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
19323         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
19324         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
19326 2014-05-27  Roland McGrath  <roland@hack.frob.com>
19328         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
19330         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
19331         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
19333 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
19335         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
19337 2014-05-27  Andreas Schwab  <schwab@suse.de>
19339         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
19340         TLS_INIT_TP macro.
19341         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
19342         * elf/rtld.c (init_tls, dl_main): Likewise.
19343         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
19344         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
19345         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
19346         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
19347         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
19348         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
19349         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
19350         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
19351         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
19352         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
19353         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
19354         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
19355         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
19356         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
19357         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
19358         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
19359         * sysdeps/generic/tls.h: Update description.
19361 2014-05-27  Will Newton  <will.newton@linaro.org>
19363         [BZ #16990]
19364         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
19365         and restore r2 rather than just restoring.
19367 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19369         [BZ #16724]
19370         * libio/tst-ftell-append.c: New test case.
19371         * libio/Makefile (tests): Add test case.
19372         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
19373         append mode.
19374         * libio/wfileops.c (do_ftell_wide): Likewise.
19376 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19378         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19380         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
19381         ...
19382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
19383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19384         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
19385         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
19386         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
19387         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
19388         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
19389         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
19390         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
19391         Moved ...
19392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
19393         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
19394         Moved ...
19395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
19396         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
19397         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
19398         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
19399         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
19400         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
19401         ...
19402         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
19403         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
19404         Moved ...
19405         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
19406         here.
19407         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
19408         ...
19409         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
19410         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
19411         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
19413         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
19414         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
19415         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
19416         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
19418         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
19419         merge into ...
19420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
19421         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
19422         ...
19423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
19424         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
19425         ...
19426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
19427         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
19428         Moved ...
19429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
19430         here.
19431         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
19432         Moved ...
19433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
19434         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
19435         Moved ...
19436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
19438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
19439         conditional [RESET_PID].
19440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
19441         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
19442         removed.
19443         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
19444         removed.
19446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
19447         <tcb-offsets.h>.
19448         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19449         (__libc_vfork): New strong alias.
19450         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
19451         removed.
19452         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
19453         Removed.
19455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
19456         <tcb-offsets.h>.
19457         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
19458         (__libc_vfork): New strong alias.
19459         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
19460         removed.
19461         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
19462         removed.
19464 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
19466         * malloc/malloc.c (mi_arena): New function.
19467         (malloc_info): Remove nested function mi_arena. Call non-nosted
19468         function mi_arena.
19470 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19472         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
19473         by insrwi.
19474         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
19475         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
19476         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
19477         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
19478         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
19479         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
19480         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
19482 2014-05-26  Andreas Schwab  <schwab@suse.de>
19484         [BZ #16984]
19485         * locale/programs/repertoire.c (repertoire_read): Add slash
19486         between I18NPATH element and file name.
19487         * locale/programs/locfile.c (locfile_read): Likewise.
19489 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
19491         * nptl/pthread_mutexattr_settype.c
19492         (__pthread_mutexattr_settype):
19493         Disable lock elision for PTHREAD_MUTEX_NORMAL.
19495 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
19497         * nptl/tst-mutex5 (do_test):
19498         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
19500 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19502         * benchtests/README: Document 'init' directive.
19503         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
19504         BENCH_INIT.
19505         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
19506         (parse_file): Recognize 'init' directive.
19508 2014-05-26  Kyle McMartin  <kyle@redhat.com>
19510         [BZ #16796]
19511         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
19512         alignment of struct pthread.
19514 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19516         [BZ #16878]
19517         * nscd/netgroupcache.c (addgetnetgrentX): Look for
19518         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
19519         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
19520         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
19522 2014-05-25  Richard Henderson  <rth@twiddle.net>
19524         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19525         (SINGLE_THREAD_P_PIC): Remove.
19526         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
19527         (SINGLE_THREAD_P_PIC): Remove.
19529         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
19530         branch to syscall error ...
19531         (PSEUDO): ... here.
19532         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
19533         from __local_syscall_error to .Lsyscall_error.
19534         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
19535         (SYSCALL_ERROR): Update label name.
19537         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19538         Do not use DOARGS/UNDOARGS.
19539         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
19540         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
19541         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
19542         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
19543         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
19545         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
19546         block comment.
19548         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
19549         define if !NOT_IN_libc.
19550         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
19551         define with non-default symbol versions.
19553 2014-05-23  Richard Henderson  <rth@twiddle.net>
19555         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
19556         (vfork, __vfork): Define via compat_symbol.
19558         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
19559         [!HAVE_IFUNC] (vfork_compat): Remove.
19560         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
19562 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
19564         [BZ #16978]
19565         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
19566         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
19567         variable.
19569 2014-05-23  Richard Henderson  <rth@twiddle.net>
19571         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
19572         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
19573         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
19574         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
19576         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
19577         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
19578         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
19579         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
19580         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
19581         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
19582         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
19583         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
19584         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
19585         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
19586         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
19587         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
19588         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
19589         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
19590         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
19591         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
19592         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
19593         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
19594         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
19595         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
19596         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
19597         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
19598         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
19599         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
19600         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
19601         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
19602         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
19603         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
19604         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
19605         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
19606         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
19607         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
19608         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
19609         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
19610         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
19611         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
19612         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
19613         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
19614         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
19615         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
19616         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
19617         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
19618         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
19619         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
19620         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
19621         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
19622         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
19623         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
19624         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
19625         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
19626         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
19627         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
19628         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
19629         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
19630         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
19631         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
19633         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
19634         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
19635         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
19636         before exiting on error.
19637         (__libc_vfork): New strong alias.
19638         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
19639         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
19641         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
19642         that was previously under [RESET_PID].
19643         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
19645         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
19647 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
19649         [BZ #16977]
19650         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
19651         value when x - 1 is zero.
19652         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
19653         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
19654         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
19655         0.0L for an argument of 1.0L.
19656         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
19657         Likewise.
19658         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
19659         value when x - 1 is zero.
19660         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
19661         * sysdeps/i386/fpu/libm-test-ulps: Update.
19662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19664 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
19666         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
19667         alphasort and versionsort.
19669 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19671         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
19672         macro.
19673         [copysignf]: Likewise.
19675 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19677         * crypt/md5-crypt.c: Fix formatting.
19679 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19681         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
19682         (b64_from_24bit): New function.
19684 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19686         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
19687         libc_hidden_builtin_def to ifunc.
19688         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
19689         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
19691 2014-05-21  Roland McGrath  <roland@hack.frob.com>
19693         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
19694         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
19696 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
19698         * nscd/Depend (linuxthreads): Remove.
19699         (nptl): Add.
19700         * resolv/Depend (linuxthreads): Remove.
19701         * rt/Depend (linuxthreads): Remove.
19703         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
19704         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
19705         $(common-objpfx)elf/.
19706         (link-libc-before-gnulib): Likewise.
19707         (elfobjdir): Remove variable.
19708         * Makefile (install): Use $(elf-objpfx) instead of
19709         $(common-objpfx)elf/.
19710         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
19711         $(elfobjdir)/.
19712         (link-libc-deps): Likewise.
19713         ($(common-objpfx)libc.so): Likewise.
19714         ($(common-objpfx)linkobj/libc.so): Likewise.
19715         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
19716         instead of $(common-objpfx)elf/.
19717         (symbolic-link-list): Likewise.
19718         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19719         [$(cross-compiling) = no]: Likewise.
19720         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
19721         $(elfobjdir)/.
19722         (static-gnulib-arch): Likewise.
19723         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19724         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
19725         $(common-objpfx)elf/.
19727 2014-05-21  Richard Henderson  <rth@redhat.com>
19729         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19730         (SINGLE_THREAD_P): Use the correct width load.  Fold
19731         into the ldr offset.
19733         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
19734         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
19736 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
19738         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
19739         (libgcc_s_resume): Use __attribute_used__.
19740         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
19741         Likewise.
19743 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19745         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
19746         optimization when used with float constants.
19748         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19750 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
19752         [BZ #16915]
19753         * locale/nl_langinfo_l.c: Make direct reference to every
19754         _nl_current_CATEGORY symbol.
19755         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
19756         (tests-static): Add tst-langinfo-static.
19757         (tests-special): Add tst-langinfo-static.out.
19758         ($(objpfx)tst-langinfo.out): Redirect output.
19759         ($(objpfx)tst-langinfo-static.out): New.
19760         * localedata/tst-langinfo.sh: Send output to stdout.
19761         * localedata/tst-langinfo-static.c: New file.
19763         [BZ #16965]
19764         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
19765         when the shift amount is modulo the limb size.
19767 2014-05-20  Richard Henderson  <rth@redhat.com>
19769         [BZ #16967]
19770         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
19771         Change type of sa_flags from unsigned int to int.
19773         [BZ #16966]
19774         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
19776         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
19778 2014-05-20  Will Newton  <will.newton@linaro.org>
19780         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19781         Test the return value of the system call in the nocancel case.
19783 2014-05-20  Will Newton  <will.newton@linaro.org>
19784             Yvan Roux  <yvan.roux@linaro.org>
19786         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
19787         #include of asm/ptrace.h.
19788         (PTRACE_GET_THREAD_AREA): Remove #undef.
19789         (PTRACE_GETHBPREGS): Likewise.
19790         (PTRACE_SETHBPREGS): Likewise.
19791         (struct user_regs_struct): New structure.
19792         (struct user_fpsimd_struct): New structure.
19793         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
19794         #include of asm/ptrace.h and second #include of sys/user.h.
19795         (PTRACE_GET_THREAD_AREA): Remove #undef.
19796         (PTRACE_GETHBPREGS): Likewise.
19797         (PTRACE_SETHBPREGS): Likewise.
19798         (ELF_NGREG): Use new struct user_regs_struct.
19799         (elf_fpregset_t): Use new struct user_fpsimd_struct.
19801 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19803         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
19804         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
19806 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
19808         [BZ #16958]
19809         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
19810         membar to avoid block loads/stores to overlap previous stores.
19812 2014-05-17  Richard Henderson  <rth@redhat.com>
19814         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
19815         Create the __##syscall_name##_nocancel entry point.
19816         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
19817         Remove; let the sysdep-cancel.h code create it.
19819 2014-05-17  David S. Miller  <davem@davemloft.net>
19821         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
19822         Protect with __USE_GNU.
19823         (TIOCSET_TEMPT): Likewise.
19824         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
19825         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
19826         these are already provided in bits/ioctl-types.h
19828 2014-05-16  Roland McGrath  <roland@hack.frob.com>
19830         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
19831         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
19833         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
19834         Use wait4 regardless of [__NR_waitpid].
19836 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
19838         PR libgcc/60166
19839         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
19840         (_FP_NANSIGN_Q): Set the quiet bit.
19842 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
19844         * benchtests/Makefile
19845         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
19846         not $(common-objpfx)math/libm.so.
19847         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
19848         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
19849         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
19850         $(common-objpfx)dlfcn/libdl.so.
19851         ($(objpfx)tst-audit8): Depend on $(libm), not
19852         $(common-objpfx)math/libm.so.
19853         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
19854         not $(common-objpfx)dlfcn/libdl.so.
19855         * math/Makefile
19856         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19857         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
19858         [$(build-shared) = yes].
19859         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
19860         $(common-objpfx)nptl/libpthread.so.
19861         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
19862         $(common-objpfx)math/libm.so$(libm.so-version) or
19863         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
19864         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
19865         $(common-objpfx)dlfcn/libdl.so.
19866         * setjmp/Makefile (link-libm): Remove variable.
19867         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
19868         * stdio-common/Makefile (link-libm): Remove variable.
19869         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
19870         * stdlib/Makefile (link-libm): Remove variable.
19871         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
19872         ($(objpfx)tst-strtod-round): Likewise.
19873         ($(objpfx)tst-tininess): Likewise.
19874         ($(objpfx)tst-strtod-underflow): Likewise.
19875         ($(objpfx)tst-strtod6): Likewise.
19876         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
19877         $(libdl), not $(common-objpfx)nptl/libpthread.so and
19878         $(common-objpfx)dlfcn/libdl.so.
19880 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19882         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
19883         BSD terminal modes definitions.
19885 2014-05-16  Roland McGrath  <roland@hack.frob.com>
19887         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
19888         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
19890         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
19891         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
19892         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
19893         Don't do #include_next.
19894         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
19895         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
19896         Don't do #include_next.
19897         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
19898         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
19899         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
19900         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
19902 2014-05-16  Allan McRae  <allan@archlinux.org>
19904         * po/sv.po: Update Swedish translation from translation project.
19906         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
19907         in sed expression.
19909 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
19911         [BZ #16917]
19912         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
19913         errno if the TIOCGPTN ioctl fails with an error different than
19914         EINVAL.
19915         * login/tst-ptsname.c: New file.
19916         * login/Makefile (tests): Add tst-ptsname.
19918         [BZ #16943]
19919         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
19920         and prlimit64.
19922 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19924         [BZ #16849]
19925         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
19926         herrno to return EAI_AGAIN.
19928 2014-05-14  Roland McGrath  <roland@hack.frob.com>
19930         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
19931         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
19932         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
19933         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
19934         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
19935         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
19936         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
19937         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
19938         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
19939         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
19940         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
19941         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
19942         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
19943         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
19944         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
19945         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
19946         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
19947         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
19948         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
19949         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
19950         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
19951         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
19952         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
19953         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
19954         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
19955         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
19956         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
19957         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
19958         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
19959         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
19960         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
19961         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
19962         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
19963         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
19964         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19965         Moved ...
19966         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
19967         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
19968         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
19969         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
19970         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
19971         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
19972         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
19973         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
19974         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
19975         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
19976         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
19977         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
19978         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
19979         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
19980         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
19981         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
19982         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
19983         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
19984         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
19985         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
19986         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
19987         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
19988         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
19989         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
19990         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
19991         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
19992         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
19993         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19994         Moved ...
19995         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
19996         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
19997         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
19998         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
19999         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
20000         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
20001         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
20002         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
20003         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
20004         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
20005         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
20006         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
20007         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
20008         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
20009         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
20010         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
20011         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
20012         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
20013         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
20014         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
20015         Moved ...
20016         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
20017         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
20018         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
20020         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
20021         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
20022         (libpthread-sysdep_routines): Add elision-related stuff here instead.
20023         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
20024         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
20025         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
20026         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
20027         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
20028         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
20029         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
20030         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
20031         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
20032         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
20033         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
20034         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
20035         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
20036         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
20037         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
20038         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
20039         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
20040         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
20041         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
20042         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
20043         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
20044         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
20045         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
20046         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
20047         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
20048         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
20049         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
20050         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
20052         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
20053         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
20055         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
20056         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
20057         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
20058         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
20059         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
20060         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
20061         Moved ...
20062         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
20063         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
20064         Moved ...
20065         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
20066         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
20067         Moved ...
20068         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
20069         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
20070         Moved ...
20071         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
20072         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
20073         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
20074         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
20075         Moved ...
20076         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
20077         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
20078         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
20079         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
20080         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
20081         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
20082         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
20083         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
20084         Moved ...
20085         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
20086         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
20087         Moved ...
20088         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
20089         ... here.
20090         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
20091         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
20092         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
20093         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
20094         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
20095         Moved ...
20096         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
20097         ... here.
20098         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
20099         Moved ...
20100         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
20101         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
20102         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
20103         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
20104         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
20105         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
20106         Moved ...
20107         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
20108         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
20109         Moved ...
20110         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
20111         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
20112         Moved ...
20113         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
20114         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
20115         Moved ...
20116         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
20117         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
20118         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
20119         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
20120         Moved ...
20121         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
20122         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
20123         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
20124         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
20125         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
20126         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
20127         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
20128         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
20129         Moved ...
20130         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
20131         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
20132         Moved ...
20133         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
20134         ... here.
20135         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
20136         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
20137         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
20138         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
20139         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
20140         Moved ...
20141         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
20142         ... here.
20143         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
20144         Moved ...
20145         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
20146         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
20147         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
20148         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
20149         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
20150         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
20151         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
20152         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
20153         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
20154         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
20155         Moved ...
20156         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
20157         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
20158         Moved ...
20159         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
20160         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
20161         Moved ...
20162         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
20163         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
20164         Moved ...
20165         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
20166         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
20167         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
20168         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
20169         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
20170         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
20171         Moved ...
20172         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
20173         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
20174         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
20175         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
20176         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
20177         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
20178         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
20179         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
20180         Moved ...
20181         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
20182         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
20183         Moved ...
20184         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
20185         ... here.
20186         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
20187         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
20188         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
20189         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
20190         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
20191         Moved ...
20192         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
20193         ... here.
20194         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
20195         Moved ...
20196         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
20197         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
20198         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
20199         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
20200         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
20201         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
20202         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
20203         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
20204         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
20205         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
20206         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
20208         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
20209         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
20211         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
20212         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
20214         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
20215         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
20216         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
20217         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
20218         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
20219         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
20220         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
20221         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
20222         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
20223         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
20224         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
20225         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
20226         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
20227         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
20228         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
20229         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
20230         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
20231         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
20232         Moved ...
20233         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
20234         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
20235         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
20236         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
20237         Moved ...
20238         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
20239         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
20240         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
20241         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
20242         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
20243         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
20244         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
20245         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
20246         Moved ...
20247         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
20248         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
20249         Moved ...
20250         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
20251         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
20252         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
20253         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
20254         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
20255         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
20256         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
20257         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
20258         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
20259         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
20260         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
20261         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
20262         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
20263         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
20264         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
20265         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
20266         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
20268         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
20269         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
20270         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
20271         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
20272         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
20274         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
20275         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
20276         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
20277         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
20278         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
20279         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
20280         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
20281         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
20282         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
20283         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
20285         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
20286         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
20288         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
20289         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
20290         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
20291         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
20292         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
20293         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
20294         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
20295         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
20296         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
20297         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
20298         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
20299         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
20300         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
20301         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
20302         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
20303         Update #include.
20304         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
20305         Likewise.
20306         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
20307         Likewise.
20308         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
20309         Likewise.
20310         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
20311         Likewise.
20312         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
20313         Likewise.
20314         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
20315         Likewise.
20316         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
20317         Likewise.
20318         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
20319         Likewise.
20320         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
20321         Likewise.
20322         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
20323         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
20324         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
20325         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
20326         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
20327         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
20328         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
20329         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
20330         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
20331         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
20332         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
20333         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
20334         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
20335         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
20336         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
20338         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
20339         that was previously under [RESET_PID].
20340         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20341         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
20342         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
20344         * sysdeps/i386/nptl/Implies: New file.
20345         * sysdeps/x86_64/nptl/Implies: New file.
20346         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
20347         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
20348         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
20349         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
20351         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
20352         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20353         (__libc_vfork): New strong alias.
20354         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
20355         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
20357         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
20358         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20359         (__libc_vfork): New strong alias.
20360         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
20361         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
20363         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
20364         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20365         (__libc_vfork): New strong alias.
20366         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
20367         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
20368         * nptl/pt-vfork.c: New file.
20369         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
20370         (libpthread: GLIBC_2.20): New version set (empty).
20372 2014-05-14  Will Newton  <will.newton@linaro.org>
20374         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
20375         rather than #if.
20377 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
20379         [BZ #16564]
20380         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
20381         arguments with exponent 65 or above.
20382         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
20383         arguments 0x1p113L or above.
20384         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
20385         to arguments 0x1p107L or above.
20386         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
20387         positive arguments with exponent 65 or above.
20388         * math/auto-libm-test-in: Add more tests of log1p.
20389         * math/auto-libm-test-out: Regenerated.
20391         [BZ #16928]
20392         * math/s_cacos.c (__cacos): Ensure zero real part of result from
20393         non-finite arguments is +0.
20394         * math/s_cacosf.c (__cacosf): Likewise.
20395         * math/s_cacosl.c (__cacosl): Likewise.
20396         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
20397         * sysdeps/i386/fpu/libm-test-ulps: Update.
20398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20400         [BZ #16927]
20401         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
20402         value.
20403         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
20404         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
20405         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
20406         for explicit high bit of mantissa when testing for argument equal
20407         to 1.
20408         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
20409         * sysdeps/i386/fpu/libm-test-ulps: Update.
20410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20412         [BZ #16516]
20413         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
20414         (__erf): Scale by 16 instead of 8 in potentially underflowing
20415         case.  Ensure exception if result actually underflows.
20416         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
20417         (__erff): Scale by 16 instead of 8 in potentially underflowing
20418         case.  Ensure exception if result actually underflows.
20419         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
20420         (efx8): Remove variable.
20421         (__erfl): Scale by 16 instead of 8 in potentially underflowing
20422         case.  Ensure exception if result actually underflows.
20423         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
20424         (efx8): Remove variable.
20425         (__erfl): Scale by 16 instead of 8 in potentially underflowing
20426         case.  Ensure exception if result actually underflows.
20427         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
20428         (efx8): Remove variable.
20429         (__erfl): Scale by 16 instead of 8 in potentially underflowing
20430         case.  Ensure exception if result actually underflows.
20431         * math/auto-libm-test-in: Add more tests of erf.
20432         * math/auto-libm-test-out: Regenerated.
20434 2014-05-14  Andreas Schwab  <schwab@suse.de>
20436         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
20437         Remove code conditionalized on USE___THREAD.
20439         * config.h.in (HAVE_PT_CHOWN): Define as 0.
20440         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
20441         not definedness.
20443 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
20445         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
20446         Define unconditionally.
20447         (__ASSUME_O_CLOEXEC): Likewise.
20448         (__ASSUME_SOCK_CLOEXEC): Likewise.
20449         (__ASSUME_IN_NONBLOCK): Likewise.
20450         (__ASSUME_PIPE2): Likewise.
20451         (__ASSUME_EVENTFD2): Likewise.
20452         (__ASSUME_SIGNALFD4): Likewise.
20453         (__ASSUME_DUP3): Likewise.
20454         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20455         (__ASSUME_DUP3): Do not define.
20456         (__ASSUME_EVENTFD2): Likewise.
20457         (__ASSUME_IN_NONBLOCK): Likewise.
20458         (__ASSUME_O_CLOEXEC): Likewise.
20459         (__ASSUME_PIPE2): Likewise.
20460         (__ASSUME_SIGNALFD4): Likewise.
20461         (__ASSUME_SOCK_CLOEXEC): Likewise.
20462         (__ASSUME_UTIMES): Undefine.
20463         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20464         (__ASSUME_UTIMES): Do not define.
20465         (__ASSUME_O_CLOEXEC): Likewise.
20466         (__ASSUME_SOCK_CLOEXEC): Likewise.
20467         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
20468         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
20469         0x020621].
20470         (__ASSUME_PIPE2): Likewise.
20471         (__ASSUME_EVENTFD2): Likewise.
20472         (__ASSUME_SIGNALFD4): Likewise.
20473         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
20474         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
20475         Do not define.
20476         (__ASSUME_EVENTFD2): Likewise.
20477         (__ASSUME_SIGNALFD4): Likewise.
20478         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20479         (__ASSUME_32BITUIDS): Likewise.
20480         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
20481         (__ASSUME_IPC64): Likewise.
20482         (__ASSUME_ST_INO_64_BIT): Likewise.
20483         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
20484         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
20485         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20486         (__ASSUME_UTIMES): Do not define.
20487         (__ASSUME_PSELECT): Likewise.
20488         (__ASSUME_PPOLL): Likewise.
20489         (__ASSUME_O_CLOEXEC): Likewise.
20490         (__ASSUME_SOCK_CLOEXEC): Likewise.
20491         (__ASSUME_IN_NONBLOCK): Likewise.
20492         (__ASSUME_PIPE2): Likewise.
20493         (__ASSUME_EVENTFD2): Likewise.
20494         (__ASSUME_SIGNALFD4): Likewise.
20495         (__ASSUME_DUP3): Likewise.
20496         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20497         (__ASSUME_UTIMES): Likewise.
20498         (__ASSUME_O_CLOEXEC): Likewise.
20499         (__ASSUME_SOCK_CLOEXEC): Likewise.
20500         (__ASSUME_IN_NONBLOCK): Likewise.
20501         (__ASSUME_PIPE2): Likewise.
20502         (__ASSUME_EVENTFD2): Likewise.
20503         (__ASSUME_SIGNALFD4): Likewise.
20504         (__ASSUME_DUP3): Likewise.
20505         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20506         (__ASSUME_UTIMES): Likewise.
20507         (__ASSUME_O_CLOEXEC): Likewise.
20508         (__ASSUME_SOCK_CLOEXEC): Likewise.
20509         (__ASSUME_IN_NONBLOCK): Likewise.
20510         (__ASSUME_PIPE2): Likewise.
20511         (__ASSUME_EVENTFD2): Likewise.
20512         (__ASSUME_SIGNALFD4): Likewise.
20513         (__ASSUME_DUP3): Likewise.
20514         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
20515         Likewise.
20516         (__ASSUME_UTIMES): Likewise.
20517         (__ASSUME_EVENTFD2): Likewise.
20518         (__ASSUME_SIGNALFD4): Likewise.
20519         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20520         (__ASSUME_O_CLOEXEC): Likewise.
20521         (__ASSUME_SOCK_CLOEXEC): Likewise.
20522         (__ASSUME_IN_NONBLOCK): Likewise.
20523         (__ASSUME_PIPE2): Likewise.
20524         (__ASSUME_EVENTFD2): Likewise.
20525         (__ASSUME_SIGNALFD4): Likewise.
20526         (__ASSUME_DUP3): Likewise.
20527         (__ASSUME_UTIMES): Undefine.
20529         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
20530         feclearexcept.  Remove symbol versioning code.
20531         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
20532         symbol versioning code.
20533         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
20534         symbol versioning code.
20535         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
20536         feupdateenv.  Remove symbol versioning code.
20537         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
20538         fegetexceptflag.  Remove symbol versioning code.
20539         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
20540         fesetexceptflag.  Remove symbol versioning code.
20541         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
20542         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
20543         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
20544         (__posix_fadvise64_l32): Remove prototype.
20545         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
20546         code.
20548 2014-05-13  Roland McGrath  <roland@hack.frob.com>
20550         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
20551         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
20552         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
20553         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
20555 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
20557         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
20558         current working directory
20560 2014-05-13  Roland McGrath  <roland@hack.frob.com>
20562         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
20563         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
20564         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
20565         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
20566         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
20567         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
20568         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
20569         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
20570         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
20571         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
20572         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
20573         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
20574         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
20575         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
20576         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
20577         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
20578         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
20579         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
20580         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
20581         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
20582         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
20583         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
20584         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
20585         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
20586         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
20587         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
20588         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
20589         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
20590         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
20591         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
20592         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
20593         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
20594         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
20595         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
20596         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
20597         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
20598         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
20599         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
20600         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
20601         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
20602         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
20603         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
20605         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
20606         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
20608         * sysdeps/unix/sysv/linux/arm/Makefile
20609         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
20610         Add rt-aeabi_unwind_cpp_pr1.
20611         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
20612         Add nptl-aeabi_unwind_cpp_pr1.
20613         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
20614         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
20615         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
20616         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
20617         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
20618         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
20620         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
20621         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
20622         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
20623         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
20625         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
20626         Deconditionalize the code that was previously under [RESET_PID].
20627         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
20629         * sysdeps/generic/exit-thread.h: New file.
20630         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
20631         * include/unistd.h (__exit_thread): Remove declaration.
20632         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
20633         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
20634         * csu/libc-start.c: Include <exit-thread.h>.
20635         (LIBC_START_MAIN): Pass no argument to __exit_thread.
20636         * nptl/pthread_create.c: Include <exit-thread.h>.
20637         (start_thread): Call __exit_thread in place of __exit_thread_inline.
20638         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
20639         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
20640         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
20641         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
20642         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
20643         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
20644         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
20645         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
20646         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
20647         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
20648         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
20649         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
20650         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
20651         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
20652         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
20653         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
20655 2014-05-13  Andreas Schwab  <schwab@suse.de>
20657         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
20659 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
20661         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
20662         (__ASSUME_UTIMES): Do not condition on kernel version.
20663         (__ASSUME_PSELECT): Define unconditionally.
20664         (__ASSUME_PPOLL): Likewise.
20665         (__ASSUME_ATFCTS): Likewise.
20666         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
20667         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
20668         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
20669         (__ASSUME_UTIMENSAT): Define unconditionally.
20670         (__ASSUME_PRIVATE_FUTEX): Likewise.
20671         (__ASSUME_FALLOCATE): Likewise.
20672         (__ASSUME_O_CLOEXEC): Likewise.
20673         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
20674         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
20675         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
20676         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
20677         (__ASSUME_IN_NONBLOCK): Likewise.
20678         (__ASSUME_PIPE2): Likewise.
20679         (__ASSUME_EVENTFD2): Likewise.
20680         (__ASSUME_SIGNALFD4): Likewise.
20681         (__ASSUME_DUP3): Likewise.
20682         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20683         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
20684         (__ASSUME_AT_RANDOM): Likewise.
20685         (__ASSUME_PREADV): Likewise.
20686         (__ASSUME_PWRITEV): Likewise.
20687         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
20688         (__ASSUME_F_GETOWN_EX): Define unconditionally.
20689         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
20690         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20691         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
20692         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20693         (__ASSUME_O_CLOEXEC): Define unconditionally.
20694         (__ASSUME_PSELECT): Do not undefine conditionally.
20695         (__ASSUME_PPOLL): Likewise.
20696         (__ASSUME_ATFCTS): Likewise.
20697         (__ASSUME_SET_ROBUST_LIST): Likewise.
20698         (__ASSUME_UTIMENSAT): Likewise.
20699         (__ASSUME_FDATASYNC): Define unconditionally.
20700         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20701         (__ASSUME_SIGFRAME_V2): Likewise.
20702         )__ASSUME_EVENTFD2): Likewise.
20703         (__ASSUME_SIGNALFD4): Likewise.
20704         (__ASSUME_PSELECT): Do not undefine conditionally.
20705         (__ASSUME_PPOLL): Likewise.
20706         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20707         (__ASSUME_PSELECT): Define unconditionally.
20708         (__ASSUME_PPOLL): Likewise.
20709         (__ASSUME_O_CLOEXEC): Likewise.
20710         (__ASSUME_SOCK_CLOEXEC): Likewise.
20711         (__ASSUME_IN_NONBLOCK): Likewise.
20712         (__ASSUME_PIPE2): Likewise.
20713         (__ASSUME_EVENTFD2): Likewise.
20714         (__ASSUME_SIGNALFD4): Likewise.
20715         (__ASSUME_DUP3): Likewise.
20716         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20717         (__ASSUME_O_CLOEXEC): Likewise.
20718         (__ASSUME_SOCK_CLOEXEC): Likewise.
20719         (__ASSUME_IN_NONBLOCK): Likewise.
20720         (__ASSUME_PIPE2): Likewise.
20721         (__ASSUME_EVENTFD2): Likewise.
20722         (__ASSUME_SIGNALFD4): Likewise.
20723         (__ASSUME_DUP3): Likewise.
20724         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20725         (__ASSUME_EVENTFD2): Likewise.
20726         (__ASSUME_SIGNALFD4): Likewise.
20727         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20729 2014-05-12  Andreas Schwab  <schwab@suse.de>
20731         [BZ #16932]
20732         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
20733         (_nss_nis_gethostbyname4_r): Return error if item length is larger
20734         than maximum RPC packet size.
20735         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
20736         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
20737         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
20738         (_nss_nis_getservbyport_r): Likewise.
20740 2014-05-12  Will Newton  <will.newton@linaro.org>
20742         * malloc/Makefile (tests): Add tst-mallopt.
20743         * malloc/tst-mallopt.c: New file.
20745 2014-05-09  Roland McGrath  <roland@hack.frob.com>
20747         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
20748         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
20750 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20752         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
20753         (tst-tlsmod6.so): Likewise.
20755 2014-05-09  Roland McGrath  <roland@hack.frob.com>
20757         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
20759 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
20761         [BZ #16064]
20762         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
20763         and <dl-procinfo.h>.
20764         (__fegetenv): Save SSE state in envp->__eip if supported.
20765         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
20766         envp->__eip if supported.
20767         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
20768         and <dl-procinfo.h>.
20769         (__fesetenv): Always set __eip, __cs_selector, __opcode,
20770         __data_offset and __data_selector in environment to 0.  Set SSE
20771         state if supported.
20772         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
20773         test-fenv-sse.
20774         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
20775         -mfpmath=sse.
20776         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
20778 2014-05-09  Will Newton  <will.newton@linaro.org>
20780         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
20781         and libc_relro_required for ARM.
20782         * sysdeps/arm/preconfigure: Regenerate.
20784 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
20785             Stefan Liebler  <stli@linux.vnet.ibm.com>
20787         * config.make.in (enable-lock-elision): New Makefile variable.
20788         * configure.ac: Likewise.
20789         * configure: Regenerate.
20790         * sysdeps/s390/configure.ac:
20791         Add check for gcc transactions support.
20792         * sysdeps/s390/configure: Regenerate.
20793         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
20794         Build elision files if enabled.
20795         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
20796         Add lock elision support for s390.
20797         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
20798         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
20799         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
20800         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
20801         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
20802         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
20803         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
20804         Likewise.
20805         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
20806         Likewise.
20807         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
20808         Likewise.
20809         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
20810         Likewise.
20811         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
20812         (__lll_timedlock_elision, __lll_lock_elision)
20813         (__lll_unlock_elision, __lll_trylock_elision)
20814         (lll_timedlock_elision, lll_lock_elision)
20815         (lll_unlock_elision, lll_trylock_elision): Add.
20816         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20817         (pthread_mutex_t): Add lock elision support for s390.
20819 2014-05-14  Wilco  <wdijkstr@arm.com>
20821         * sysdeps/arm/fclrexcpt.c: Cleanup.
20822         * sysdeps/arm/fedisblxcpt.c: Cleanup.
20823         * sysdeps/arm/feenablxcpt.c: Cleanup.
20824         * sysdeps/arm/fegetenv.c: Cleanup.
20825         * sysdeps/arm/fegetexcept.c: Cleanup.
20826         * sysdeps/arm/fegetround.c: Cleanup.
20827         * sysdeps/arm/feholdexcpt.c: Cleanup.
20828         * sysdeps/arm/fesetenv.c: Cleanup.
20829         * sysdeps/arm/fesetround.c: Cleanup.
20830         * sysdeps/arm/feupdateenv.c: Cleanup.
20831         * sysdeps/arm/fgetexcptflg.c: Cleanup.
20832         * sysdeps/arm/fraiseexcpt.c: Cleanup.
20833         * sysdeps/arm/fsetexcptflg.c: Cleanup.
20834         * sysdeps/arm/ftestexcept.c: Cleanup.
20835         * sysdeps/arm/get-rounding-mode.h: Cleanup.
20836         * sysdeps/arm/setfpucw.c: Cleanup.
20838 2014-05-09  Will Newton  <will.newton@linaro.org>
20840         * sysdeps/arm/armv7/strcmp.S: New file.
20841         * NEWS: Mention addition of ARMv7 optimized strcmp.
20843 2014-05-08  Roland McGrath  <roland@hack.frob.com>
20845         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
20846         look for %.ac rather than %.in.
20848         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
20849         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
20850         * sysdeps/mach/hurd/configure: Regenerated.
20851         * sysdeps/unix/sysv/linux/configure: Regenerated.
20853         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
20855 2014-05-07  Steve Ellcey  <sellcey@mips.com>
20857         [BZ# 16922]
20858         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
20859         (LONG_SUB): Ditto.
20860         (PTR_SUB): Ditto.
20862 2014-05-07  Andreas Schwab  <schwab@suse.de>
20864         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
20865         when skipping over non-matching result from nscd.
20867 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
20869         [BZ #16876]
20870         * nptl/sockperf.c (client): Check socket return value.
20872         [BZ #16877]
20873         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
20874         nscd security class.
20876 2014-05-06  Roland McGrath  <roland@hack.frob.com>
20878         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
20879         * sysdeps/arm/unwind.h: ... here.
20881 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
20883         [BZ# 16916]
20884         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
20885         Define.
20887 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20889         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
20890         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
20891         multiarch strncpy for PPC64.
20892         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
20893         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
20894         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
20895         multiarch optimizations.
20896         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20897         (__libc_ifunc_impl_list): Likewise.
20898         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
20899         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
20900         multiarch stpncpy for PPC64.
20901         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
20902         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
20904 2014-05-06  Andreas Schwab  <schwab@suse.de>
20906         [BZ #16912]
20907         * gmon/mcount.c (_MCOUNT_DECL): Use
20908         atomic_compare_and_exchange_bool_acq instead of
20909         catomic_compare_and_exchange_bool_acq.
20911 2014-05-05  Roland McGrath  <roland@hack.frob.com>
20913         * elf/Makefile (others, install-bin): Remove pldd.
20914         (pldd-modules): Variable removed.
20915         ($(objpfx)pldd): Target removed.
20916         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
20917         (others, install-bin): Append pldd here.
20918         ($(objpfx)pldd): New target.
20920         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
20921         to 0, so the first #if test emitted later doesn't see it undefined.
20922         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
20923         * sysdeps/gnu/errlist.c: Regenerated.
20925 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20927         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
20928         [libc_hidden_builtin_def]: Define to empty value.
20929         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
20930         [libc_hidden_builtin_def]: Likewise.
20931         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
20932         [libc_hidden_builtin_def]: Likewise.
20933         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
20934         [libc_hidden_builtin_def]: Likewise.
20935         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
20936         __redirect_memcpy and define ifunc as default hidden symbol.
20937         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
20938         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
20940 2014-05-04  Adam Conrad  <adconrad@0c3.net>
20942         * locale/iso-4217.def: Reintroduce XDR currency.
20944 2014-05-04  Allan McRae  <allan@archlinux.org>
20946         * po/eo.po: Update Esperanto translation from translation project.
20948 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
20950         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
20951         and FEATURE_INDEX_MAX to 1.
20952         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
20954 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20956         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
20957         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
20958         * iconvdata/big5.c (ONE_DIRECTION): Define.
20959         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
20960         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
20961         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
20962         * iconvdata/cp932.c (ONE_DIRECTION): Define.
20963         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
20964         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
20965         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
20966         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
20967         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
20968         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
20969         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
20970         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
20971         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
20972         * iconvdata/gbk.c (ONE_DIRECTION): Define.
20973         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
20974         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
20975         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
20976         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
20977         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
20978         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
20979         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
20980         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
20981         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
20982         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
20983         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
20984         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
20985         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
20986         * iconvdata/iso646.c (ONE_DIRECTION): Define.
20987         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
20988         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
20989         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
20990         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
20991         * iconvdata/johab.c (ONE_DIRECTION): Define.
20992         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
20993         * iconvdata/sjis.c (ONE_DIRECTION): Define.
20994         * iconvdata/t.61.c (ONE_DIRECTION): Define.
20995         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
20996         * iconvdata/tscii.c (ONE_DIRECTION): Define.
20997         * iconvdata/uhc.c (ONE_DIRECTION): Define.
20998         * iconvdata/unicode.c (ONE_DIRECTION): Define.
20999         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
21000         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
21001         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
21003 2014-05-01  Roland McGrath  <roland@hack.frob.com>
21005         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
21006         (_IO_JUMPS_OFFSET): Define to 0.
21008         * nptl/sysdeps/pthread/bits/libc-lock.h
21009         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
21010         (__libc_lock_define_initialized_recursive): Always define using
21011         initializer.  Modern compilers treat uninitialized (implicit zero) and
21012         explicit zero initializers the same (i.e. put the datum in bss).
21014 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
21016         * nscd/nscd-client.h: Include <string.h>.
21018 2014-05-01  David S. Miller  <davem@davemloft.net>
21020         [BZ #16885]
21021         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
21022         multiple zero bytes exist at the end of a string.
21023         Reported by Aurelien Jarno <aurelien@aurel32.net>
21025         * string/test-strcmp.c (check): Add explicit test for situations where
21026         there are multiple zero bytes after the first.
21028 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
21030         [BZ #16890]
21031         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
21032         when compiling wprintf.
21033         * stdio-common/tstdiomisc.c (t3): New function.
21034         (main): Call it.
21036 2014-05-01  Steve Ellcey  <sellcey@mips.com>
21038         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
21039         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
21040         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
21041         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
21043 2014-05-01  Steve Ellcey  <sellcey@mips.com>
21045         * stdlib/longlong.h: Updated from GCC.
21047 2014-05-01  Will Newton  <will.newton@linaro.org>
21048             Bernard Ogden  <bernie.ogden@linaro.org>
21050         * NEWS: Update fixed bug list.
21052         [BZ #15119]
21053         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
21055 2014-04-30  David S. Miller  <davem@davemloft.net>
21057         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
21058         (libc_feholdexcept_setround_sparc_ctx): New function.
21059         (libc_fesetenv_sparc_ctx): Likewise.
21060         (libc_feupdateenv_sparc_ctx): Likewise.
21061         (libc_feholdsetround_sparc_ctx): Likewise.
21062         (libc_feholdexcept_setround_ctx): Define.
21063         (libc_feholdexcept_setroundf_ctx): Likewise.
21064         (libc_feholdexcept_setroundl_ctx): Likewise.
21065         (libc_fesetenv_ctx): Likewise.
21066         (libc_fesetenvf_ctx): Likewise.
21067         (libc_fesetenvl_ctx): Likewise.
21068         (libc_feupdateenv_ctx): Likewise.
21069         (libc_feupdateenvf_ctx): Likewise.
21070         (libc_feupdateenvl_ctx): Likewise.
21071         (libc_feresetround_ctx): Likewise.
21072         (libc_feresetroundf_ctx): Likewise.
21073         (libc_feresetroundl_ctx): Likewise.
21074         (libc_feholdsetround_ctx): Likewise.
21075         (libc_feholdsetroundf_ctx): Likewise.
21076         (libc_feholdsetroundl_ctx): Likewise.
21078         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
21079         with __USE_GNU instead of XOPEN cpp guards.
21081         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
21082         0.
21084         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
21085         with XOPEN cpp guards.
21087 2014-04-30  Julian Brown  <julian@codesourcery.com>
21089         [BZ #16888]
21090         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
21091         handling.
21093 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
21095         [BZ #9894]
21096         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
21097         Change to 2.6.32.
21098         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
21099         * sysdeps/unix/sysv/linux/configure: Regenerated.
21100         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
21101         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
21102         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
21103         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
21104         * README: Update reference to required Linux kernel version.
21105         * manual/install.texi (Linux): Update reference to required Linux
21106         kernel headers version.
21107         * INSTALL: Regenerated.
21109         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
21110         header inclusion.
21111         [POSIX] (limits.h): Likewise.
21112         [POSIX] (math.h): Likewise.
21113         [POSIX] (sys/wait.h): Likewise.
21114         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
21115         function.
21116         [POSIX] (stddef.h): Do not allow header inclusion.
21118 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21120         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
21122 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
21124         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
21125         Return immediately after lll_futex_wake.
21127 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21129         [BZ #16791]
21130         * nscd/nscd-client.h (datahead_init_common): Initialize entire
21131         structure.
21132         (datahead_init_pos): Call datahead_init_common early.
21133         (datahead_init_neg): Likewise.
21135         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
21136         datahead_init_neg): New functions.
21137         * nscd/aicache.c (addhstaiX): Use them.
21138         * nscd/grpcache.c (cache_addgr): Likewise.
21139         * nscd/hstcache.c (cache_addhst): Likewise.
21140         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21141         * nscd/netgroupcache.c (do_notfound): Likewise.
21142         (addgetnetgrentX): Likewise.
21143         (addinnetgrX): Likewise.
21144         * nscd/pwdcache.c (cache_addpw): Likewise.
21145         * nscd/servicescache.c (cache_addserv): Likewise.
21147 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21148             Atsushi Onoe  <atsushi@onoe.org>
21150         [BZ #14308]
21151         [BZ #12994]
21152         [BZ #13651]
21153         * resolv/res_query.c (__libc_res_nsearch): Return if at least
21154         one response is valid.
21155         * resolv/res_send.c (send_dg): Check for validity of other
21156         response if the current response is a referral.
21158 2014-04-29  Steve Ellcey  <sellcey@mips.com>
21160         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
21162 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
21164         [BZ #16823]
21165         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
21166         Always divide by positive zero when computing -Inf result.
21167         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
21168         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
21170 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21172         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
21173         FPSCR if value do not change.
21174         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
21175         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
21176         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
21177         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
21178         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
21179         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
21180         function.
21182 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
21184         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
21185         * sysdeps/unix/sysv/linux/hppa: Move directory from
21186         ports/systeps/unix/sysv/linux/hppa.
21187         * README: Update listing for hppa-*-linux-gnu.
21189 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
21191         [BZ #16754]
21192         * manual/stdio.texi (Hook functions): Fix types of stream hook
21193         functions.
21194         [BZ #16854]
21195         * socket/sys/socket.h: Fix typo in comment.
21197 2014-04-28  Wilco  <wdijkstr@arm.com>
21199         * sysdeps/arm/fenv_private.h: New file.
21200         * sysdeps/arm/math_private.h: New file.
21201         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
21203 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
21205         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
21206         with __int128_t.
21207         (La_x86_64_retval): Likewise.
21209 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
21211         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
21212         fpsr if value didn't change.
21213         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
21214         to fpcr if value didn't change.
21215         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
21216         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
21217         fpsr or fpcr if value didn't change.
21218         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
21219         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
21220         fpcr if value didn't change.
21221         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
21222         to fpsr if value didn't change.
21224 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
21226         * nptl/tst-sem3.c: Use test-skeleton.c
21227         (main): Rename to do_test.  Use return instead of
21228         exit.
21229         * nptl/tst-sem4.c: Use test-skeleton.c
21230         (main): Rename to do_test.
21232 2014-04-22  David S. Miller  <davem@davemloft.net>
21234         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
21235         (struct sigaction): New struct member __glibc_reserved0, change
21236         type of sa_flags to int.
21238 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
21240         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
21241         (COUNT_LEADING_ZEROS_0): Define for AArch64.
21243 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
21245         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
21246         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
21248 2014-04-22  Will Newton  <will.newton@linaro.org>
21249             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
21251         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
21252         (__longjmp): Add longjmp and longjmp_target SystemTap
21253         probes.
21254         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
21255         (__sigsetjmp): Add setjmp SystemTap probe.
21257 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
21259         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
21260         match manual order.
21262 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21264         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
21266         * sysdeps/powerpc/fpu/fenv_private.h
21267         (libc_feholdexcept_setroundl_ctx): Define to
21268         libc_feholdexcept_setround_ppc_ctx.
21269         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
21270         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
21271         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
21272         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
21274 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
21276         * sysdeps/aarch64/math-tests.h: New file.
21278 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
21280         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
21281         New.
21282         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21283         Check and set bit_AVX2_Usable.
21284         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
21285         macro.
21286         (bit_AVX2): Likewise.
21287         (index_AVX2_Usable): Likewise.
21288         (CPUID_AVX2): Likewise.
21289         (HAS_AVX2): Likewise.
21291 2014-04-17  Will Newton  <will.newton@linaro.org>
21293         * manual/setjmp.texi (System V contexts): Add note that
21294         calling setcontext on a context created by a call to a
21295         signal handler is undefined.  Update text to note that
21296         setcontext from a signal handler is possible but not
21297         recommended.
21299         [BZ #16629]
21300         * stdlib/tst-setcontext.c: Include signal.h.
21301         (main): Check that the signal stack before and
21302         after swapcontext is the same.
21304         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
21305         Re-implement to restore registers in user code and avoid
21306         rt_sigreturn system call.
21308 2014-04-17  Wilco  <wdijkstr@arm.com>
21310         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
21311         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
21312         * math/test-fenv.c: Skip exception trap tests on targets which only
21313         support non-stop mode.
21315 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
21316             Wilco Dijkstra  <wilco.dijkstra@arm.com>
21318         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
21319         (libc_feholdsetround_aarch64_ctx)
21320         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
21321         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
21322         (libc_feresetround_ctx, libc_feresetroundf_ctx)
21323         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
21324         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
21325         (libc_feresetround_noexl_ctx): Define.
21327 2014-04-16  Richard Henderson  <rth@redhat.com>
21329         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
21331         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
21332         unwind tables.
21334         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
21335         const from the non-libc, non-ldso copy.
21337         * sysdeps/alpha/libm-test-ulps: Regenerate.
21339 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
21340             Wilco Dijkstra  <wilco.dijkstra@arm.com>
21342         * sysdeps/aarch64/fpu/math_private.h: New file.
21344 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
21346         * sysdeps/aarch64/libm-test-ulps: Regenerate.
21348 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
21350         [BZ #16275]
21351         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
21352         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
21353         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
21354         Intel MPX bound registers before _dl_profile_fixup.
21355         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
21356         registers after _dl_profile_fixup.  Save and restore bound
21357         registers bnd0/bnd1 when calling _dl_call_pltexit.
21358         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
21359         (LR_BND_OFFSET): Likewise.
21360         (LRV_BND0_OFFSET): Likewise.
21361         (LRV_BND1_OFFSET): Likewise.
21363 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21365         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
21366         to...
21367         * sysdeps/mach/hurd/i386/tls.h: ... here.
21368         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
21369         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
21370         fields.
21372 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21374         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
21376 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21378         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21380 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21382         [BZ #14770]
21383         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
21384         * sysdeps/s390/configure: Regenerate.
21386         [BZ #16824]
21387         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
21388         Set round-to-nearest internally to reduce error accumulation.
21390 2014-04-16  Alan Modra  <amodra@gmail.com>
21392         [BZ #16740]
21393         [BZ #16619]
21394         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
21395         * math/libm-test.inc (frexp_test_data): Add tests.
21396         * NEWS: Update fixed bug list.
21398 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21400         * benchtests/Makefile: Depend on libraries in build directory.
21401         (bench-math): Separate out math tests.
21402         (bench-pthread): Separate out pthread tests.
21403         (bench): Include math and pthread tests.
21405 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
21407         [BZ #16831]
21408         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
21409         _dl_debug_initialize.
21411         * configure.ac: Remove SELinux header check.
21412         * configure: Regenerate.
21413         * nscd/selinux.c (perms): Array of const char* to permission names.
21414         (nscd_request_avc_has_perm): Call security_deny_unknown to find
21415         default policy. Call string_to_security_class and string_to_av_perm to
21416         translate strings. Enforce default policy and call avs_has_perm with
21417         results of translated strings.
21419 2014-04-13  David S. Miller  <davem@davemloft.net>
21421         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21423 2014-04-12  Allan McRae  <allan@archlinux.org>
21425         [BZ #16838]
21426         * manual/string.texi (Collation Functions): Fix qsort argument
21427         order in example.
21428         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
21430 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
21432         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
21433         Make the test a no-op if there are no exceptions defined.
21435 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
21437         * elf/Makefile (tests): make tst-dlopen-aout conditional on
21438         enable-hardcoded-path-in-tests
21440 2014-04-11  Will Newton  <will.newton@linaro.org>
21442         * benchtests/Makefile (extra-objs): Add json-lib.o.
21443         (bench-func): Tidy up JSON output.
21444         * benchtests/bench-skeleton.c: Include json-lib.h.
21445         (main): Use JSON library functions to do output of
21446         benchmark results.
21447         * benchtests/bench-timing-type.c (main): Output the
21448         timing type simply, leaving formatting to the user.
21449         * benchtests/json-lib.c: New file.
21450         * benchtests/json-lib.h: Likewise.
21452 2014-04-11  Torvald Riegel  <triegel@redhat.com>
21454         [BZ #15215]
21455         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
21456         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
21457         memory barriers.  Add comments.
21458         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
21459         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
21460         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
21461         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
21462         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
21463         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
21465 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21467         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
21468         * sysdeps/s390/s390-64/configure.ac: ... this ...
21469         * sysdeps/s390/configure.ac: ... to here.
21470         * sysdeps/s390/s390-32/configure: Delete file.
21471         * sysdeps/s390/s390-64/configure: Delete file.
21472         * sysdeps/s390/configure: Regenerate.
21474 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
21476         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
21478 2014-04-11  Will Newton  <will.newton@linaro.org>
21480         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
21481         to zero if it is not defined elsewhere.  (mtrim): Test
21482         the value of MALLOC_DEBUG with #if rather than #ifdef.
21484 2014-04-10 Torvald Riegel  <triegel@redhat.com>
21486         * benchtests/pthread_once-inputs: New file.
21487         * benchtests/pthread_once-source.c: New file.
21488         * benchtests/README: Update documentation.
21490 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
21491             H.J. Lu  <hongjiu.lu@intel.com>
21493         [BZ #16275]
21494         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
21495         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
21496         * sysdeps/x86_64/configure: Regenerated.
21497         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
21498         macro.
21499         (REGISTER_SAVE_RAX): Likewise.
21500         (REGISTER_SAVE_RCX): Likewise.
21501         (REGISTER_SAVE_RDX): Likewise.
21502         (REGISTER_SAVE_RSI): Likewise.
21503         (REGISTER_SAVE_RDI): Likewise.
21504         (REGISTER_SAVE_R8): Likewise.
21505         (REGISTER_SAVE_R9): Likewise.
21506         (REGISTER_SAVE_BND0): Likewise.
21507         (REGISTER_SAVE_BND1): Likewise.
21508         (REGISTER_SAVE_BND2): Likewise.
21509         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
21510         bound registers when calling _dl_fixup.
21512 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21514         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
21515         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
21516         of its definition.
21517         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
21518         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
21519         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
21520         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
21521         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
21522         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
21523         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
21525 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
21527         [BZ #15514]
21528         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
21529         pathconf(_PC_NAME_MAX).
21531 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21533         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
21534         Remove macro usage.
21535         (__PTHREAD_SPINS): Move definition to ...
21536         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21537         (__PTHREAD_SPINS): ... here.
21538         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21539         (__PTHREAD_SPIN): Likewise.
21540         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
21541         (__PTHREAD_SPIN): Likewise.
21542         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
21543         (__PTHREAD_SPIN): Likewise.
21544         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
21545         (__PTHREAD_SPIN): Likewise.
21546         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
21547         (__PTHREAD_SPIN): Likewise.
21548         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
21549         (__PTHREAD_SPIN): Likewise.
21550         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
21551         (__PTHREAD_SPIN): Likewise.
21552         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
21553         (__PTHREAD_SPIN): Likewise.
21554         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
21555         (__PTHREAD_SPIN): Likewise.
21556         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
21557         (__PTHREAD_SPIN): Likewise.
21558         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
21559         (__PTHREAD_SPIN): Likewise.
21560         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
21561         (__PTHREAD_SPIN): Likewise.
21563         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
21564         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
21565         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
21566         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
21567         imply folder.
21568         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
21569         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
21570         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
21571         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
21572         correct imply path.
21573         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
21574         strlen symbol for non multi-arch builds.
21575         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
21576         missing hidden_def and weak_alias.
21578 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
21580         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
21582 2014-04-07  Will Newton  <will.newton@linaro.org>
21584         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
21585         and contents.  [!_LIBC] Remove #ifndef and contents.
21586         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
21587         * string/memccpy.c (__memccpy): Use ANSI prototype.
21588         * string/memfrob.c (memfrob): Likewise.
21589         * string/strcoll.c (STRCOLL): Likewise.
21590         * string/strlen.c (strlen): Likewise.
21591         * string/strtok.c (STRTOK): Likewise.
21592         * string/strcat.c: Remove unused #include of memcopy.h.
21593         (strcat): Use ANSI prototype.
21594         * string/strchr.c: Remove unused #include of memcopy.h.
21595         (strchr): Use ANSI prototype.
21596         * string/strcmp.c: Remove unused #include of memcopy.h.
21597         (strcmp): Use ANSI prototype.
21598         * string/strcpy.c: Remove unused #include of memcopy.h.
21599         (strcpy): Use ANSI prototype.
21601 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21603         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
21604         * config.make.in (config-extra-cppflags): Set it from
21605         libc_extra_cppflags.
21606         * configure.ac (libc_extra_cflags): Make it accumulate over
21607         configure fragments.
21608         (libc_extra_cppflags): New flag.
21609         * configure. Regenerate.
21610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
21611         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
21612         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
21613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
21615         [BZ #16815]
21616         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
21617         result for FE_DOWNWARD rounding mode.
21618         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
21619         Likewise.
21620         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21622 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
21624         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
21625         in function argument name.
21627 2014-04-03  David Svoboda  <svoboda@cert.org>
21629         [BZ #5666]
21630         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
21631         explicitly.
21633 2014-04-03  Roland McGrath  <roland@hack.frob.com>
21635         * elf/dl-unmap-segments.h: New file.
21636         * sysdeps/generic/ldsodefs.h
21637         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
21638         * elf/dl-close.c: Include <dl-unmap-segments.h>.
21639         * elf/dl-fptr.c: Likewise.
21640         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
21641         * sysdeps/aarch64/tlsdesc.c: Likewise.
21642         * sysdeps/arm/tlsdesc.c: Likewise.
21643         * sysdeps/i386/tlsdesc.c: Likewise.
21644         * sysdeps/tile/dl-runtime.c: Likewise.
21645         * sysdeps/x86_64/tlsdesc.c: Likewise.
21646         * elf/dl-load.h: New file.
21647         * elf/dl-load.c: Include it.
21648         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
21649         Macros moved to dl-load.h.
21650         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
21651         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
21652         Use _dl_unmap_segments in place of __munmap.
21653         Break out segment-mapping loop into ...
21654         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
21656 2014-04-03  Will Newton  <will.newton@linaro.org>
21658         * elf/dl-lookup.c (do_lookup_x): Remove comment
21659         referring to nested function and move variable
21660         declarations down to before first use.
21662 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
21664         [BZ #16799]
21665         [BZ #16800]
21666         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
21667         with 0 numerator.
21668         * math/s_catanf.c (__catanf): Likewise.
21669         * math/s_catanh.c (__catanh): Likewise.
21670         * math/s_catanhf.c (__catanhf): Likewise.
21671         * math/s_catanhl.c (__catanhl): Likewise.
21672         * math/s_catanl.c (__catanl): Likewise.
21673         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
21674         by positive zero when computing -Inf result.
21675         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
21676         (catanh_test): Likewise.
21677         * sysdeps/i386/fpu/libm-test-ulps: Update.
21678         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21680         [BZ #16789]
21681         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
21682         instead of using underflowing value in computing result.
21683         * math/s_clog10.c (__clog10): Likewise.
21684         * math/s_clog10f.c (__clog10f): Likewise.
21685         * math/s_clog10l.c (__clog10l): Likewise.
21686         * math/s_clogf.c (__clogf): Likewise.
21687         * math/s_clogl.c (__clogl): Likewise.
21688         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
21689         (clog10_test): Likewise.
21690         * sysdeps/i386/fpu/libm-test-ulps: Update.
21691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21693 2014-04-02  Alan Modra  <amodra@gmail.com>
21695         [BZ #16739]
21696         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
21697         output when value is near a power of two.  Use int64_t for lx and
21698         remove casts.  Use decimal rather than hex exponent constants.
21699         Don't use long double multiplication when double will suffice.
21700         * math/libm-test.inc (nextafter_test_data): Add tests.
21701         * NEWS: Add 16739 and 16786 to bug list.
21703         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
21705         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
21707 2014-04-01  Will Newton  <will.newton@linaro.org>
21709         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
21710         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
21712 2014-04-01  Florian Weimer  <fweimer@redhat.com>
21714         [BZ #13347]
21715         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
21716         * nptl/tst-setuid2.c: New file.
21717         * nptl/Makefile (xtests): Add tst-setuid2.
21719 2014-04-01  Alan Modra  <amodra@gmail.com>
21721         [BZ #16786]
21722         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
21724 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
21726         [BZ #6803]
21727         [BZ #6804]
21728         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
21729         set errno as appropriate.
21730         * math/w_scalbf.c (__scalbf): Likewise.
21731         * math/w_scalbl.c (__scalbl): Likewise.
21732         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
21733         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
21734         * math/libm-test.inc (scalb_test_data): Add errno expectations.
21735         Add more NaN tests.
21737         [BZ #16349]
21738         * math/w_atan2.c: Include <errno.h>.
21739         (__atan2): Set errno for result underflowing to zero.
21740         * math/w_atan2f.c: Include <errno.h>.
21741         (__atan2f): Set errno for result underflowing to zero.
21742         * math/w_atan2l.c: Include <errno.h>.
21743         (__atan2l): Set errno for result underflowing to zero.
21744         * math/auto-libm-test-in: Don't allow missing errno for some atan2
21745         tests.
21746         * math/auto-libm-test-out: Regenerated.
21748 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21750         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
21751         Encode instruction correctly in little endian.
21752         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
21753         Likewise.
21754         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
21755         Likewise.
21756         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
21757         Likewise.
21758         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
21759         Likewise.
21761 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
21763         [BZ #9894]
21764         * sysdeps/unix/sysv/linux/kernel-features.h
21765         [__sparc__ && !__arch64__ && !__sparc_v9__]
21766         (__ASSUME_SET_ROBUST_LIST): Do not define.
21767         [__sparc__ && !__arch64__ && !__sparc_v9__]
21768         (__ASSUME_FUTEX_LOCK_PI): Likewise.
21769         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
21770         Likewise.
21771         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21772         (__ASSUME_FUTEX_LOCK_PI): Undefine.
21773         (__ASSUME_REQUEUE_PI): Likewise.
21774         (__ASSUME_SET_ROBUST_LIST): Likewise.
21775         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21776         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
21777         Undefine.
21778         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21779         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
21780         Likewise.
21781         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
21782         Likewise.
21783         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
21784         Likewise.
21785         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21786         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
21787         Undefine.
21788         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
21789         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
21790         Likewise.
21792         [BZ #16648]
21793         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21794         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
21795         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
21797 2014-03-31  Will Newton  <will.newton@linaro.org>
21799         * benchtests/Makefile (bench): Add ffs and ffsll to list
21800         of tests.
21801         * benchtests/ffs-inputs: New file.
21802         * benchtests/ffsll-inputs: Likewise.
21804 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
21806         [BZ #16770]
21807         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
21808         too large before casting to int.
21809         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
21810         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
21811         * math/libm-test.inc (scalb_test_data): Add more tests.
21813 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21815         * benchtests/Makefile (DETAILED_OPT): New make option.
21816         (bench-func): Run benchmark program with -d if DETAILED_OPT is
21817         set.
21818         * benchtests/bench-skeleton.c: Include stdbool.h.
21819         (main): Store and print timings per input.
21820         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
21821         member to each argument value.
21822         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
21823         (_print_arg_data): Initialize per-input timing to 0.
21825         * benchtests/Makefile (timing-type): New binary.
21826         (bench-clean): Also remove bench-timing-type.
21827         (bench): New target for timing-type.
21828         (bench-func): Print output in JSON format.
21829         * benchtests/bench-skeleton.c (main): Print output in JSON
21830         format.
21831         * benchtests/bench-timing-type.c: New file.
21832         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
21833         (TIMING_PRINT_STATS): Remove.
21834         * benchtests/scripts/bench.py (_print_arg_data): Store variant
21835         name separately.
21837         * benchtests/bench-modf.c: Remove.
21838         * benchtests/modf-inputs: New inputs file.
21840 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
21842         [BZ #16362]
21843         * math/s_clog10.c (M_PI_LOG10E): New macro.
21844         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
21845         imaginary parts are 0.
21846         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
21847         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
21848         imaginary parts are 0.
21849         * math/s_clog10l.c (M_PI_LOG10El): New macro.
21850         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
21851         imaginary parts are 0.
21852         * math/libm-test.inc (clog10_test_data): Update expected results
21853         for when real and imaginary parts are 0.
21855 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
21857         * elf/dl-load.c: Finish conversion of __builtin_expect into
21858         __glibc_{un}likely.
21860 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
21862         [BZ #16348]
21863         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
21864         1+x for argument with exponent below -67.
21865         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
21866         Likewise.
21867         * math/auto-libm-test-in: Add more tests of exp.
21868         * math/auto-libm-test-out: Regenerated.
21870 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21872         [BZ #16759]
21873         * inet/getnetgrent_r.c (get_nonempty_val): New function.
21874         (nscd_getnetgrent): Use it.
21876         [BZ #16760]
21877         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
21878         of stpcpy.
21880 2014-03-27  Andi Kleen  <ak@linux.intel.com>
21882         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
21883         (lll_robust_lock, lll_cond_lock, lll_timedlock)
21884         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
21885         (lll_robust_unlock): Remove out of line section. Use cfi
21886         intrinsics.
21887         (LLL_STUB_UNWIND_INFO*): Remove.
21888         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
21889         (lll_robust_lock, lll_cond_lock, lll_timedlock)
21890         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
21891         (lll_robust_unlock): Remove out of line section. Use cfi
21892         intrinsics.
21893         (LLL_STUB_UNWIND_INFO*): Remove.
21895 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21897         [BZ #16758]
21898         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
21899         blank values.
21901 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
21903         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
21905 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
21907         [BZ #16198]
21908         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
21909         fnstenv.
21910         * math/test-fenv-preserve.c: New file.
21911         * math/Makefile (tests): Add test-fenv-preserve.
21913 2014-03-26  Will Newton <will.newton@linaro.org>
21915         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
21917 2014-03-25  Roland McGrath  <roland@hack.frob.com>
21919         * scripts/versionlist.awk: Partition the version sets and emit all
21920         GLIBC_* (sorted) before all others (sorted).
21922 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
21924         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
21925         GLIBC_2.2.5 version.
21927 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21929         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
21930         calls.
21932         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
21933         previous change.
21935         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21937 2014-03-25  Andreas Schwab  <schwab@suse.de>
21939         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
21940         label to be used after in6ailist is initialized.
21942 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21944         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21945         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
21947 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
21949         [BZ #16357]
21950         [BZ #16599]
21951         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
21952         min_plus_half.
21953         (fp_formats): Update initializers.
21954         (init_fp_formats): Initialize new field.
21955         (output_for_one_input_case): Allow underflow for results up to
21956         min_plus_half.
21957         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
21958         * math/auto-libm-test-in: Don't mark some underflows from asin and
21959         atanh as spurious.
21960         * math/auto-libm-test-out: Regenerated.
21961         * sysdeps/i386/fpu/libm-test-ulps: Update.
21962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21964 2014-03-25  Andreas Schwab  <schwab@suse.de>
21966         * libio/Makefile (tst-ftell-partial-wide-ENV)
21967         (tst-ftell-active-handler-ENV): Define.
21969 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
21971         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
21973 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
21975         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
21977 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
21979         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
21980         * sysdeps/x86_64/fpu/multiarch/e_exp.c
21981         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21983 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
21985         [BZ #16634]
21986         * elf/dl-load.c (open_verify): Add mode parameter.
21987         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
21988         (open_path): Change from boolean 'secure' to complete flag 'mode'
21989         (_dl_map_object): Adjust.
21990         * elf/Makefile (tests): Add tst-dlopen-aout.
21991         * elf/tst-dlopen-aout.c: New test.
21993 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
21995         [BZ #16714]
21996         * sysdeps/unix/sysv/linux/s390/bits/stat.h
21997         (struct stat): Rename member pad0 to __glibc_reserved0.
21999         [BZ #16712]
22000         * sysdeps/s390/s390-32/bits/wordsize.h
22001         (__WORDSIZE32_SIZE_ULONG): New define.
22002         * sysdeps/s390/s390-64/bits/wordsize.h
22003         (__WORDSIZE32_SIZE_ULONG): Likewise.
22004         * sysdeps/generic/stdint.h (SIZE_MAX):
22005         Define as UL if __WORDSIZE32_SIZE_ULONG.
22007         [BZ #16713]
22008         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
22009         (__glibc_reserved0): New variable.
22010         (sa_flags): Change type to int.
22012         * posix/Makefile (before-compile): Use += before-compile instead
22013         of a :=.
22015         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
22016         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
22018 2014-03-20  Andreas Schwab  <schwab@suse.de>
22020         [BZ #16743]
22021         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
22022         non-matching result from nscd.
22024 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22026         * scripts/bench.py: Moved to ...
22027         * benchtests/scripts/bench.py: ... here.
22028         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
22030 2014-03-24  Andreas Schwab  <schwab@suse.de>
22032         [BZ #16002]
22033         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
22034         alloca_account and account alloca use for struct in6ailist.
22036 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
22038         [BZ #16284]
22039         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
22040         rounding mode to recompute results that overflow to infinity or
22041         underflow to zero.
22042         * math/auto-libm-test-in: Don't mark tests as expected to fail for
22043         bug 16284.
22044         * math/auto-libm-test-out: Regenerated.
22045         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
22046         (ccosh_test): Likewise.
22047         (csin_test_data): Use plus_oflow.
22048         (csin_test): Use ALL_RM_TEST.
22049         (csinh_test_data): Use plus_oflow.
22050         (csinh_test): Use ALL_RM_TEST.
22051         * sysdeps/i386/fpu/libm-test-ulps: Update.
22052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22054 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
22056         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
22057         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
22058         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
22060         [BZ #16731]
22061         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
22062         when x - 1 is zero.
22063         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
22064         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
22065         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
22066         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
22067         argument is 1.
22068         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
22069         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
22070         zero.
22071         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
22072         * sysdeps/i386/fpu/libm-test-ulps: Update.
22073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22075 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22077         * scripts/bench.pl: Remove file.
22078         * scripts/bench.py: New benchmark script.
22079         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
22080         * benchtests/README: Mention python dependency.
22081         * scripts/pylintrc: New file.
22082         * scripts/pylint: New file.
22084         * bits/mathdef.h: Use #ifdef instead of #if.
22085         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
22086         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22087         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
22088         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22089         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
22090         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22092 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22093             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22095         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
22096         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
22097         and strpbrk-ppc64 objects.
22098         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22099         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
22100         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
22101         multiarch strpbrk for POWER7.
22102         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
22103         multiarch strpbrk for PPC64.
22104         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
22105         ifunc selector.
22106         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
22107         strpbrk for POWER7.
22109 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
22111         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
22112         (atan_test): Likewise.
22113         (atanh_test_data): Use NO_TEST_INLINE for two tests.
22114         (atanh_test): Use ALL_RM_TEST.
22115         (atan2_test_data): Likewise.
22116         (cabs_test): Likewise.
22117         (cacosh_test): Likewise.
22118         (carg_test): Likewise.
22119         (casin_test): Likewise.
22120         (casinh_test): Likewise.
22121         (cbrt_test): Likewise.
22122         (csqrt_test): Likewise.
22123         (erf_test): Likewise.
22124         (erfc_test): Likewise.
22125         (pow10_test): Likewise.
22126         (exp2_test): Likewise.
22127         (hypot_test): Likewise.
22128         (j0_test): Likewise.
22129         (j1_test): Likewise.
22130         (lgamma_test): Likewise.
22131         (gamma_test): Likewise.
22132         (sincos_test): Likewise.
22133         (tanh_test): Likewise.
22134         (y0_test): Likewise.
22135         (y1_test): Likewise.
22136         * sysdeps/i386/fpu/libm-test-ulps: Update.
22137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22139 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22141         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
22142         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
22143         and strcspn-ppc64 objects.
22144         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22145         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
22146         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
22147         multiarch strcspn for POWER7.
22148         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
22149         multiarch strcspn for PPC64.
22150         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
22151         ifunc selector.
22152         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
22153         strcspn for POWER7.
22155 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
22157         * math/gen-libm-test.pl (generate_testfile): Expect only function
22158         name as argument to AUTO_TESTS_* and pass results for all rounding
22159         modes to parse_args.
22160         (parse_auto_input): Separate inputs of automatic tests from
22161         outputs before storing in %auto_tests.
22162         * math/libm-test.inc (acos_test_data): Update call to
22163         AUTO_TESTS_f_f.
22164         (acos_test): Use ALL_RM_TEST.
22165         (acos_tonearest_test_data): Remove.
22166         (acos_test_tonearest): Likewise.
22167         (acos_towardzero_test_data): Likewise.
22168         (acos_test_towardzero): Likewise.
22169         (acos_downward_test_data): Likewise.
22170         (acos_test_downward): Likewise.
22171         (acos_upward_test_data): Likewise.
22172         (acos_test_upward): Likewise.
22173         (acosh_test_data): Update call to AUTO_TESTS_f_f.
22174         (asin_test_data): Likewise.
22175         (asin_test): Use ALL_RM_TEST.
22176         (asin_tonearest_test_data): Remove.
22177         (asin_test_tonearest): Likewise.
22178         (asin_towardzero_test_data): Likewise.
22179         (asin_test_towardzero): Likewise.
22180         (asin_downward_test_data): Likewise.
22181         (asin_test_downward): Likewise.
22182         (asin_upward_test_data): Likewise.
22183         (asin_test_upward): Likewise.
22184         (asinh_test_data): Update call to AUTO_TESTS_f_f.
22185         (atan_test_data): Likewise.
22186         (atanh_test_data): Likewise.
22187         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
22188         (cabs_test_data): Update call to AUTO_TESTS_c_f.
22189         (carg_test_data): Likewise.
22190         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
22191         (ccos_test_data): Update call to AUTO_TESTS_c_c.
22192         (ccosh_test_data): Likewise.
22193         (cexp_test_data): Likewise.
22194         (clog_test_data): Likewise.
22195         (clog10_test_data): Likewise.
22196         (cos_test_data): Update call to AUTO_TESTS_f_f.
22197         (cos_test): Use ALL_RM_TEST.
22198         (cos_tonearest_test_data): Remove.
22199         (cos_test_tonearest): Likewise.
22200         (cos_towardzero_test_data): Likewise.
22201         (cos_test_towardzero): Likewise.
22202         (cos_downward_test_data): Likewise.
22203         (cos_test_downward): Likewise.
22204         (cos_upward_test_data): Likewise.
22205         (cos_test_upward): Likewise.
22206         (cosh_test_data): Update call to AUTO_TESTS_f_f.
22207         (cosh_test): Use ALL_RM_TEST.
22208         (cosh_tonearest_test_data): Remove.
22209         (cosh_test_tonearest): Likewise.
22210         (cosh_towardzero_test_data): Likewise.
22211         (cosh_test_towardzero): Likewise.
22212         (cosh_downward_test_data): Likewise.
22213         (cosh_test_downward): Likewise.
22214         (cosh_upward_test_data): Likewise.
22215         (cosh_test_upward): Likewise.
22216         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
22217         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
22218         (ctan_test_data): Likewise.
22219         (ctan_test): Use ALL_RM_TEST.
22220         (ctan_tonearest_test_data): Remove.
22221         (ctan_test_tonearest): Likewise.
22222         (ctan_towardzero_test_data): Likewise.
22223         (ctan_test_towardzero): Likewise.
22224         (ctan_downward_test_data): Likewise.
22225         (ctan_test_downward): Likewise.
22226         (ctan_upward_test_data): Likewise.
22227         (ctan_test_upward): Likewise.
22228         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
22229         (ctanh_test): Use ALL_RM_TEST.
22230         (ctanh_tonearest_test_data): Remove.
22231         (ctanh_test_tonearest): Likewise.
22232         (ctanh_towardzero_test_data): Likewise.
22233         (ctanh_test_towardzero): Likewise.
22234         (ctanh_downward_test_data): Likewise.
22235         (ctanh_test_downward): Likewise.
22236         (ctanh_upward_test_data): Likewise.
22237         (ctanh_test_upward): Likewise.
22238         (erf_test_data): Update call to AUTO_TESTS_f_f.
22239         (erfc_test_data): Likewise.
22240         (exp_test_data): Likewise.
22241         (exp_test): Use ALL_RM_TEST.
22242         (exp_tonearest_test_data): Remove.
22243         (exp_test_tonearest): Likewise.
22244         (exp_towardzero_test_data): Likewise.
22245         (exp_test_towardzero): Likewise.
22246         (exp_downward_test_data): Likewise.
22247         (exp_test_downward): Likewise.
22248         (exp_upward_test_data): Likewise.
22249         (exp_test_upward): Likewise.
22250         (exp10_test_data): Update call to AUTO_TESTS_f_f.
22251         (exp10_test): Use ALL_RM_TEST.
22252         (exp10_tonearest_test_data): Remove.
22253         (exp10_test_tonearest): Likewise.
22254         (exp10_towardzero_test_data): Likewise.
22255         (exp10_test_towardzero): Likewise.
22256         (exp10_downward_test_data): Likewise.
22257         (exp10_test_downward): Likewise.
22258         (exp10_upward_test_data): Likewise.
22259         (exp10_test_upward): Likewise.
22260         (exp2_test_data): Update call to AUTO_TESTS_f_f.
22261         (expm1_test_data): Likewise.
22262         (expm1_test): Use ALL_RM_TEST.
22263         (expm1_tonearest_test_data): Remove.
22264         (expm1_test_tonearest): Likewise.
22265         (expm1_towardzero_test_data): Likewise.
22266         (expm1_test_towardzero): Likewise.
22267         (expm1_downward_test_data): Likewise.
22268         (expm1_test_downward): Likewise.
22269         (expm1_upward_test_data): Likewise.
22270         (expm1_test_upward): Likewise.
22271         (fma_test_data): Update call to AUTO_TESTS_fff_f.
22272         (fma_test): Use ALL_RM_TEST.
22273         (fma_towardzero_test_data): Remove.
22274         (fma_test_towardzero): Likewise.
22275         (fma_downward_test_data): Likewise.
22276         (fma_test_downward): Likewise.
22277         (fma_upward_test_data): Likewise.
22278         (fma_test_upward): Likewise.
22279         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
22280         (j0_test_data): Update call to AUTO_TESTS_f_f.
22281         (j1_test_data): Likewise.
22282         (jn_test_data): Update call to AUTO_TESTS_if_f.
22283         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
22284         (log_test_data): Update call to AUTO_TESTS_f_f.
22285         (log10_test_data): Likewise.
22286         (log1p_test_data): Likewise.
22287         (log2_test_data): Likewise.
22288         (pow_test_data): Update call to AUTO_TESTS_ff_f.
22289         (pow_tonearest_test_data): Likewise.
22290         (sin_test_data): Update call to AUTO_TESTS_f_f.
22291         (sin_test): Use ALL_RM_TEST.
22292         (sin_tonearest_test_data): Remove.
22293         (sin_test_tonearest): Likewise.
22294         (sin_towardzero_test_data): Likewise.
22295         (sin_test_towardzero): Likewise.
22296         (sin_downward_test_data): Likewise.
22297         (sin_test_downward): Likewise.
22298         (sin_upward_test_data): Likewise.
22299         (sin_test_upward): Likewise.
22300         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
22301         (sinh_test_data): Update call to AUTO_TESTS_f_f.
22302         (sinh_test): Use ALL_RM_TEST.
22303         (sinh_tonearest_test_data): Remove.
22304         (sinh_test_tonearest): Likewise.
22305         (sinh_towardzero_test_data): Likewise.
22306         (sinh_test_towardzero): Likewise.
22307         (sinh_downward_test_data): Likewise.
22308         (sinh_test_downward): Likewise.
22309         (sinh_upward_test_data): Likewise.
22310         (sinh_test_upward): Likewise.
22311         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
22312         (sqrt_test): Use ALL_RM_TEST.
22313         (sqrt_tonearest_test_data): Remove.
22314         (sqrt_test_tonearest): Likewise.
22315         (sqrt_towardzero_test_data): Likewise.
22316         (sqrt_test_towardzero): Likewise.
22317         (sqrt_downward_test_data): Likewise.
22318         (sqrt_test_downward): Likewise.
22319         (sqrt_upward_test_data): Likewise.
22320         (sqrt_test_upward): Likewise.
22321         (tan_test_data): Update call to AUTO_TESTS_f_f.
22322         (tan_test): Use ALL_RM_TEST.
22323         (tan_tonearest_test_data): Remove.
22324         (tan_test_tonearest): Likewise.
22325         (tan_towardzero_test_data): Likewise.
22326         (tan_test_towardzero): Likewise.
22327         (tan_downward_test_data): Likewise.
22328         (tan_test_downward): Likewise.
22329         (tan_upward_test_data): Likewise.
22330         (tan_test_upward): Likewise.
22331         (tanh_test_data): Update call to AUTO_TESTS_f_f.
22332         (tgamma_test_data): Likewise.
22333         (y0_test_data): Likewise.
22334         (y1_test_data): Likewise.
22335         (yn_test_data): Update call to AUTO_TESTS_if_f.
22336         (main): Do not call removed functions.
22338 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
22340         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
22341         (ldexp_test_data): Remove.
22342         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
22343         scalbn_test_data.
22344         (scalb_test): Use ALL_RM_TEST.
22346 2014-03-19  Andreas Schwab  <schwab@suse.de>
22348         * nscd/nscd.service: Also invalidate netgroup cache on reload.
22350 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
22352         [BZ #16649]
22353         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22354         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
22355         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
22356         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22357         (__ASSUME_PREADV): Undefine.
22358         (__ASSUME_PWRITEV): Likewise.
22360 2014-03-18  Roland McGrath  <roland@hack.frob.com>
22362         * bits/mman-linux.h: Add comment about non-Linux use.
22363         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
22364         bits/mman-linux.h resting place.
22366         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
22367         * bits/mman-linux.h: ... here.
22369 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22371         * conform/conformtest.pl: Add standard definition when calling C
22372         preprocessor on data files.
22373         (checknamespace): Remove unused variable.
22375 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
22377         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
22378         minus_oflow, plus_uflow and minus_uflow in expected results.
22379         * math/libm-test.inc (scalbn_test_data): Add more tests of
22380         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
22381         minus_uflow.
22382         (scalbn_test): Use ALL_RM_TEST.
22383         (scalbln_test_data): Add more tests of negative arguments.  Use
22384         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
22385         (scalbln_test): Use ALL_RM_TEST.
22387 2014-03-18  Roland McGrath  <roland@hack.frob.com>
22389         * scripts/abilist.awk: Ignore symbols marked with .hidden.
22391 2014-03-18  Will Newton  <will.newton@linaro.org>
22393         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
22394         inaccurate comment.
22396 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
22398         * Makerules [!subdir] (check-abi): Exit with error status if a
22399         test failed.
22401 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
22403         * math/libm-test.inc (nearbyint_test_data): Include all tests used
22404         for rint.  Include results for all rounding modes.
22405         (nearbyint_test): Use ALL_RM_TEST.
22406         (rint_test_data): Include all tests used for nearbyint.
22408 2014-03-17  Will Newton  <will.newton@linaro.org>
22410         * nptl/sysdeps/pthread/pthread.h: Revert previous
22411         change.
22413         * sysdeps/generic/ldsodefs.h: Revert previous
22414         change.
22416         * libio/genops.c: Revert previous change.
22417         * libio/libioP.h: Likewise.
22418         * stdio-common/vfprintf.c: Likewise.
22420         * sysdeps/generic/math_private.h: Revert previous
22421         change.
22423         * sysdeps/generic/math_private.h: Check whether
22424         HAVE_RM_CTX is defined with #ifdef rather
22425         than #if.
22427         * argp/argp-fmtstream.h: Check whether
22428         __STRICT_ANSI__ is defined with #ifdef rather
22429         than #if.
22430         * argp/argp.h: Likewise.
22432         * libio/genops.c: Check whether
22433         _IO_JUMPS_OFFSET is defined with #ifdef rather
22434         than #if.
22435         * libio/libioP.h: Likewise.
22436         * stdio-common/vfprintf.c: Likewise.
22438         * sysdeps/generic/ldsodefs.h: Check whether
22439         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
22440         than #if.
22442         * nptl/sysdeps/pthread/pthread.h: Check
22443         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
22444         its value.
22446 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22448         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
22449         setting O_APPEND.
22450         * libio/tst-ftell-active-handler.c (do_append_test): Add a
22451         test case.
22453         [BZ #16680]
22454         * libio/fileops.c (_IO_file_open): Seek to end of file but
22455         don't cache the offset.
22456         (get_file_offset): Remove function.
22457         (do_ftell): Use cached offset when available.
22458         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
22459         don't cache the offset.
22460         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
22461         case.
22462         (do_one_test): Call it.
22463         (do_ftell_test): Fix up expected old offset for a+ mode.
22464         * libio/wfileops.c (do_ftell_wide): Used cached offset when
22465         available.
22467         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
22468         up test status with function return status.
22469         (do_write_test): Likewise.
22470         (do_append_test): Likewise.
22472         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
22473         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
22474         Remove.
22476 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
22478         * math/gen-libm-test.pl (parse_args): Handle results specified for
22479         each rounding mode separately.
22480         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
22481         tests and results from lrint_tonearest_test_data,
22482         lrint_towardzero_test_data, lrint_downward_test_data and
22483         lrint_upward_test_data.
22484         (lrint_test): Use ALL_RM_TEST.
22485         (lrint_tonearest_test_data): Remove.
22486         (lrint_test_tonearest): Likewise.
22487         (lrint_towardzero_test_data): Likewise.
22488         (lrint_test_towardzero): Likewise.
22489         (lrint_downward_test_data): Likewise.
22490         (lrint_test_downward): Likewise.
22491         (lrint_upward_test_data): Likewise.
22492         (lrint_test_upward): Likewise.
22493         (llrint_test_data): Merge in per-rounding-mode tests and results
22494         from llrint_tonearest_test_data, llrint_towardzero_test_data,
22495         llrint_downward_test_data and llrint_upward_test_data.
22496         (llrint_test): Use ALL_RM_TEST.
22497         (llrint_tonearest_test_data): Remove.
22498         (llrint_test_tonearest): Likewise.
22499         (llrint_towardzero_test_data): Likewise.
22500         (llrint_test_towardzero): Likewise.
22501         (llrint_downward_test_data): Likewise.
22502         (llrint_test_downward): Likewise.
22503         (llrint_upward_test_data): Likewise.
22504         (llrint_test_upward): Likewise.
22505         (rint_test_data): Merge in per-rounding-mode tests and results
22506         from rint_tonearest_test_data, rint_towardzero_test_data,
22507         rint_downward_test_data and rint_upward_test_data.  Add
22508         per-rounding-mode results for tests not in those arrays.
22509         (rint_test): Use ALL_RM_TEST.
22510         (rint_tonearest_test_data): Remove.
22511         (rint_test_tonearest): Likewise.
22512         (rint_towardzero_test_data): Likewise.
22513         (rint_test_towardzero): Likewise.
22514         (rint_downward_test_data): Likewise.
22515         (rint_test_downward): Likewise.
22516         (rint_upward_test_data): Likewise.
22517         (rint_test_upward): Likewise.
22518         (main): Don't call removed functions.
22520 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22522         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
22523         "Compiled on ..." crapola.  It is anti-useful.
22525 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
22527         * scripts/evaluate-test.sh: Handle fourth argument to determine
22528         whether test run should stop on failure.
22529         * Makeconfig (stop-on-test-failure): New variable.
22530         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
22531         $(stop-on-test-failure).
22532         * Makefile (tests): Give a summary of results from testing and
22533         exit with failure status if they include an ERROR or FAIL.
22534         (xtests): Likewise.
22535         * manual/install.texi (Configuring and compiling): Mention
22536         stop-on-test-failure=y.
22537         * INSTALL: Regenerated.
22539 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22541         * scripts/versionlist.awk: New file.
22542         * Makerules [$(build-shared) = yes]
22543         (postclean-generated): Add Versions.def, not Versions.def.v and
22544         Versions.def.v.i.
22545         ($(common-objpfx)Versions.def.v.i): Target removed.
22546         ($(common-objpfx)Versions.def): New target.
22547         ($(common-objpfx)Versions.all): Depend on that rather that
22548         $(common-objpfx)Versions.def.v.
22549         * Versions.def: File removed.
22551         * Makeconfig (+gccwarn): Add -Wundef.
22552         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
22553         a dl-sysdep.h breaking its contract.
22554         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
22555         * include/stackinfo.h: New file.
22556         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
22557         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
22558         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
22559         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
22560         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
22561         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
22562         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22563         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22564         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22565         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22566         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22567         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
22568         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22569         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22570         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22572 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22574         [BZ #16707]
22575         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
22576         implementation.
22577         * math/libm-test.inc (round_test_data): Add more tests.
22579         [BZ #16706]
22580         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
22581         implementation.
22582         * math/libm-test.inc (nearbyint_test_data): Add more tests.
22584         [BZ #16701]
22585         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
22586         implementation.
22587         * math/libm-test.inc (ceil_test_data): Add more tests.
22589         * math/libm-test.inc (trunc_test_data): Add more tests related to
22590         BZ#16414.
22592 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22594         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
22595         with #if rather than #ifdef.
22596         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
22598 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
22600         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
22601         first.  Disable AVX-512 GCC support if assembler doesn't support
22602         it.
22603         * sysdeps/x86_64/configure: Regenerated.
22605 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
22607         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
22608         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
22609         (__old_pthread_attr_setstack): Likewise.
22610         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
22611         [!_STACK_GROWS_DOWN]: Likewise.
22613 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
22615         * config.make.in (have-bash2): Delete.
22616         * configure.ac (libc_cv_have_bash2): Delete.
22617         * configure: Regenerate.
22618         * elf/Makefile (common-ldd-rewrite): Rename to ...
22619         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
22620         (sh-ldd-rewrite): Delete.
22621         (bash-ldd-rewrite): Delete.
22622         (have-bash2): Delete checks.
22623         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
22624         ldd-rewrite.
22626         * config.make.in (have-ksh): Delete.
22627         (KSH): Delete.
22628         * configure.ac (libc_cv_have_ksh): Delete.
22629         * configure: Regenerate.
22631         * elf/Makefile: Delete $(have-ksh) check.
22632         ($(objpfx)sotruss): Change KSH to BASH.
22633         * elf/sotruss.ksh: Rename to ...
22634         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
22635         function style to match POSIX.  Drop ksh vim mode setting.
22637         * manual/time.texi (Specifying the Time Zone with TZ): Change
22638         Tuesday to Thursday.
22640         * debug/tst-longjmp_chk2.c: Update header comment.
22641         (stackoverflow_handler): Add comment.  Call assert on pass value.
22643 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
22645         [BZ #16194]
22646         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
22647         (HAVE_AVX512_ASM_SUPPORT): Likewise.
22648         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
22649         (La_x86_64_vector): Add zmm.
22650         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
22651         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
22652         ($(objpfx)tst-audit10): New target.
22653         ($(objpfx)tst-audit10.out): Likewise.
22654         (tst-audit10-ENV): New.
22655         (AVX512-CFLAGS): Likewise.
22656         (CFLAGS-tst-audit10.c): Likewise.
22657         (CFLAGS-tst-auditmod10a.c): Likewise.
22658         (CFLAGS-tst-auditmod10b.c): Likewise.
22659         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
22660         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
22661         * sysdeps/x86_64/configure: Regenerated.
22662         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
22663         AVX-512 zmm register support.
22664         (_dl_x86_64_save_sse): Likewise.
22665         (_dl_x86_64_restore_sse): Likewise.
22666         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
22667         size vector registers.
22668         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
22669         (ZMM_SIZE): Likewise.
22670         * sysdeps/x86_64/tst-audit10.c: New file.
22671         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
22672         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
22674 2014-03-13  Roland McGrath  <roland@hack.frob.com>
22676         * configure.ac (HAVE_EHDR_START): New check.
22677         * configure: Regenerated.
22678         * config.h.in (HAVE_EHDR_START): New #undef.
22679         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
22680         assuming the lowest-addressed segment maps the start of the file.
22682 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
22684         * INSTALL: Regenerated.
22686 2014-03-13  Will Newton  <will.newton@linaro.org>
22688         * manual/setjmp.texi (System V contexts): Improve
22689         clarity and grammar of documentation.
22691 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
22693         [BZ #16381]
22694         * elf/Makefile (tests): Add tst-pie2.
22695         (tests-pie): Add tst-pie2.
22696         * elf/tst-pie2.c: New file.
22697         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
22698         for ET_EXEC.
22699         * elf/rtld.c (map_doit): Load executable as lt_executable.
22700         (dl_main): Likewise.
22702 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
22704         [BZ #16642]
22705         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22706         (__ASSUME_PSELECT): Undefine.
22708 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22710         [BZ #16689]
22711         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
22712         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
22713         static build.
22714         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
22715         selector for static builds.
22717 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22719         [BZ #16695]
22720         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
22721         key in the buffer.
22723 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22725         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
22726         IFUNC selector for static builds.
22728 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
22730         * sysdeps/mips/math_private.h [__mips_hard_float]
22731         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
22732         libc_feresetround_mips_ctx.
22733         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
22734         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
22735         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
22737         [BZ #16677]
22738         * math/s_nextafter.c (__nextafter): Do not return value from
22739         overflowing computation.
22740         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
22741         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
22742         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
22743         Likewise.
22744         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
22745         Likewise.
22746         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
22747         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
22749 2014-03-11  Roland McGrath  <roland@hack.frob.com>
22751         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
22752         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
22753         Move sfi_sp use from the load-multiple (that no longer sets sp) to
22754         the new mov targetting sp.
22756 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22758         [BZ #16683]
22759         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
22760         Define it for static builds as well.
22761         (NO_BZERO_IMPL): Likewise.
22763 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22765         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
22766         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
22767         multiarch strspn for PPC64.
22768         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
22769         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
22770         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22771         (__libc_ifunc_impl_list): Likewise.
22772         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
22773         multiarch optimizations
22774         * string/strspn.c (strspn): Using macro to redefine symbol name.
22776 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22777             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22779         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
22780         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
22781         multiarch strncat for PPC64.
22782         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
22783         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
22784         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22785         (__libc_ifunc_impl_list): Likewise.
22786         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
22787         multiarch optimizations
22789 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22791         [BZ #16639]
22792         * nscd/nscd.service: Make service type forking.
22794 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22796         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
22797         sign in non default rounding modes.
22798         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
22800 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
22802         * math/libm-test.inc (ALL_RM_TEST): New macro.
22803         (ceil_test): Use ALL_RM_TEST.
22804         (cimag_test): Likewise.
22805         (conj_test): Likewise.
22806         (copysign_test): Likewise.
22807         (cproj_test): Likewise.
22808         (creal_test): Likewise.
22809         (fabs_test): Likewise.
22810         (floor_test): Likewise.
22811         (fmax_test): Likewise.
22812         (fmin_test): Likewise.
22813         (fmod_test): Likewise.
22814         (fpclassify_test): Likewise.
22815         (frexp_test): Likewise.
22816         (ilogb_test): Likewise.
22817         (isfinite_test): Likewise.
22818         (finite_test): Likewise.
22819         (isgreater_test): Likewise.
22820         (isgreaterequal_test): Likewise.
22821         (isinf_test): Likewise.
22822         (isless_test): Likewise.
22823         (islessequal_test): Likewise.
22824         (islessgreater_test): Likewise.
22825         (isnan_test): Likewise.
22826         (isnormal_test): Likewise.
22827         (issignaling_test): Likewise.
22828         (isunordered_test): Likewise.
22829         (logb_test): Likewise.
22830         (logb_downward_test_data): Remove.
22831         (logb_test_downward): Likewise.
22832         (lround_test): Use ALL_RM_TEST.
22833         (llround_test): Likewise.
22834         (modf_test): Likewise.
22835         (nexttoward_test): Likewise.
22836         (remainder_test): Likewise.
22837         (drem_test): Likewise.
22838         (remainder_tonearest_test_data): Likewise.
22839         (remainder_test_tonearest): Likewise.
22840         (drem_test_tonearest): Likewise.
22841         (remainder_towardzero_test_data): Likewise.
22842         (remainder_test_towardzero): Likewise.
22843         (drem_test_towardzero): Likewise.
22844         (remainder_downward_test_data): Likewise.
22845         (remainder_test_downward): Likewise.
22846         (drem_test_downward): Likewise.
22847         (remainder_upward_test_data): Likewise.
22848         (remainder_test_upward): Likewise.
22849         (drem_test_upward): Likewise.
22850         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
22851         (round_test): Use ALL_RM_TEST.
22852         (signbit_test): Likewise.
22853         (trunc_test): Likewise.
22854         (significand_test): Likewise.
22855         (main): Don't call removed functions.
22857 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
22859         [BZ #16674]
22860         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
22861         || __USE_XOPEN2K8].
22862         (ILL_ILLOPN): Likewise.
22863         (ILL_ILLADR): Likewise.
22864         (ILL_ILLTRP): Likewise.
22865         (ILL_PRVOPC): Likewise.
22866         (ILL_PRVREG): Likewise.
22867         (ILL_COPROC): Likewise.
22868         (ILL_BADSTK): Likewise.
22869         (FPE_INTDIV): Likewise.
22870         (FPE_INTOVF): Likewise.
22871         (FPE_FLTDIV): Likewise.
22872         (FPE_FLTOVF): Likewise.
22873         (FPE_FLTUND): Likewise.
22874         (FPE_FLTRES): Likewise.
22875         (FPE_FLTINV): Likewise.
22876         (FPE_FLTSUB): Likewise.
22877         (SEGV_MAPERR): Likewise.
22878         (SEGV_ACCERR): Likewise.
22879         (BUS_ADRALN): Likewise.
22880         (BUS_ADRERR): Likewise.
22881         (BUS_OBJERR): Likewise.
22882         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22883         (TRAP_TRACE): Likewise.
22884         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22885         __USE_XOPEN2K8].
22886         (CLD_KILLED): Likewise.
22887         (CLD_DUMPED): Likewise.
22888         (CLD_TRAPPED): Likewise.
22889         (CLD_STOPPED): Likewise.
22890         (CLD_CONTINUED): Likewise.
22891         (POLL_IN): Likewise.
22892         (POLL_OUT): Likewise.
22893         (POLL_MSG): Likewise.
22894         (POLL_ERR): Likewise.
22895         (POLL_PRI): Likewise.
22896         (POLL_HUP): Likewise.
22897         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
22898         Likewise.
22899         (ILL_ILLOPN): Likewise.
22900         (ILL_ILLADR): Likewise.
22901         (ILL_ILLTRP): Likewise.
22902         (ILL_PRVOPC): Likewise.
22903         (ILL_PRVREG): Likewise.
22904         (ILL_COPROC): Likewise.
22905         (ILL_BADSTK): Likewise.
22906         (FPE_INTDIV): Likewise.
22907         (FPE_INTOVF): Likewise.
22908         (FPE_FLTDIV): Likewise.
22909         (FPE_FLTOVF): Likewise.
22910         (FPE_FLTUND): Likewise.
22911         (FPE_FLTRES): Likewise.
22912         (FPE_FLTINV): Likewise.
22913         (FPE_FLTSUB): Likewise.
22914         (SEGV_MAPERR): Likewise.
22915         (SEGV_ACCERR): Likewise.
22916         (BUS_ADRALN): Likewise.
22917         (BUS_ADRERR): Likewise.
22918         (BUS_OBJERR): Likewise.
22919         (BUS_MCEERR_AR): Likewise.
22920         (BUS_MCEERR_AO): Likewise.
22921         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22922         (TRAP_TRACE): Likewise.
22923         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22924         __USE_XOPEN2K8].
22925         (CLD_KILLED): Likewise.
22926         (CLD_DUMPED): Likewise.
22927         (CLD_TRAPPED): Likewise.
22928         (CLD_STOPPED): Likewise.
22929         (CLD_CONTINUED): Likewise.
22930         (POLL_IN): Likewise.
22931         (POLL_OUT): Likewise.
22932         (POLL_MSG): Likewise.
22933         (POLL_ERR): Likewise.
22934         (POLL_PRI): Likewise.
22935         (POLL_HUP): Likewise.
22936         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
22937         (ILL_ILLOPN): Likewise.
22938         (ILL_ILLADR): Likewise.
22939         (ILL_ILLTRP): Likewise.
22940         (ILL_PRVOPC): Likewise.
22941         (ILL_PRVREG): Likewise.
22942         (ILL_COPROC): Likewise.
22943         (ILL_BADSTK): Likewise.
22944         (FPE_INTDIV): Likewise.
22945         (FPE_INTOVF): Likewise.
22946         (FPE_FLTDIV): Likewise.
22947         (FPE_FLTOVF): Likewise.
22948         (FPE_FLTUND): Likewise.
22949         (FPE_FLTRES): Likewise.
22950         (FPE_FLTINV): Likewise.
22951         (FPE_FLTSUB): Likewise.
22952         (SEGV_MAPERR): Likewise.
22953         (SEGV_ACCERR): Likewise.
22954         (BUS_ADRALN): Likewise.
22955         (BUS_ADRERR): Likewise.
22956         (BUS_OBJERR): Likewise.
22957         (BUS_MCEERR_AR): Likewise.
22958         (BUS_MCEERR_AO): Likewise.
22959         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22960         (TRAP_TRACE): Likewise.
22961         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22962         __USE_XOPEN2K8].
22963         (CLD_KILLED): Likewise.
22964         (CLD_DUMPED): Likewise.
22965         (CLD_TRAPPED): Likewise.
22966         (CLD_STOPPED): Likewise.
22967         (CLD_CONTINUED): Likewise.
22968         (POLL_IN): Likewise.
22969         (POLL_OUT): Likewise.
22970         (POLL_MSG): Likewise.
22971         (POLL_ERR): Likewise.
22972         (POLL_PRI): Likewise.
22973         (POLL_HUP): Likewise.
22974         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
22975         Likewise.
22976         (ILL_ILLOPN): Likewise.
22977         (ILL_ILLADR): Likewise.
22978         (ILL_ILLTRP): Likewise.
22979         (ILL_PRVOPC): Likewise.
22980         (ILL_PRVREG): Likewise.
22981         (ILL_COPROC): Likewise.
22982         (ILL_BADSTK): Likewise.
22983         (ILL_BADIADDR): Likewise.
22984         (ILL_BREAK): Likewise.
22985         (FPE_INTDIV): Likewise.
22986         (FPE_INTOVF): Likewise.
22987         (FPE_FLTDIV): Likewise.
22988         (FPE_FLTOVF): Likewise.
22989         (FPE_FLTUND): Likewise.
22990         (FPE_FLTRES): Likewise.
22991         (FPE_FLTINV): Likewise.
22992         (FPE_FLTSUB): Likewise.
22993         (FPE_DECOVF): Likewise.
22994         (FPE_DECDIV): Likewise.
22995         (FPE_DECERR): Likewise.
22996         (FPE_INVASC): Likewise.
22997         (FPE_INVDEC): Likewise.
22998         (SEGV_MAPERR): Likewise.
22999         (SEGV_ACCERR): Likewise.
23000         (SEGV_PSTKOVF): Likewise.
23001         (BUS_ADRALN): Likewise.
23002         (BUS_ADRERR): Likewise.
23003         (BUS_OBJERR): Likewise.
23004         (BUS_MCEERR_AR): Likewise.
23005         (BUS_MCEERR_AO): Likewise.
23006         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23007         (TRAP_TRACE): Likewise.
23008         (TRAP_BRANCH): Likewise.
23009         (TRAP_HWBKPT): Likewise.
23010         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23011         __USE_XOPEN2K8].
23012         (CLD_KILLED): Likewise.
23013         (CLD_DUMPED): Likewise.
23014         (CLD_TRAPPED): Likewise.
23015         (CLD_STOPPED): Likewise.
23016         (CLD_CONTINUED): Likewise.
23017         (POLL_IN): Likewise.
23018         (POLL_OUT): Likewise.
23019         (POLL_MSG): Likewise.
23020         (POLL_ERR): Likewise.
23021         (POLL_PRI): Likewise.
23022         (POLL_HUP): Likewise.
23023         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
23024         (ILL_ILLOPN): Likewise.
23025         (ILL_ILLADR): Likewise.
23026         (ILL_ILLTRP): Likewise.
23027         (ILL_PRVOPC): Likewise.
23028         (ILL_PRVREG): Likewise.
23029         (ILL_COPROC): Likewise.
23030         (ILL_BADSTK): Likewise.
23031         (FPE_INTDIV): Likewise.
23032         (FPE_INTOVF): Likewise.
23033         (FPE_FLTDIV): Likewise.
23034         (FPE_FLTOVF): Likewise.
23035         (FPE_FLTUND): Likewise.
23036         (FPE_FLTRES): Likewise.
23037         (FPE_FLTINV): Likewise.
23038         (FPE_FLTSUB): Likewise.
23039         (SEGV_MAPERR): Likewise.
23040         (SEGV_ACCERR): Likewise.
23041         (BUS_ADRALN): Likewise.
23042         (BUS_ADRERR): Likewise.
23043         (BUS_OBJERR): Likewise.
23044         (BUS_MCEERR_AR): Likewise.
23045         (BUS_MCEERR_AO): Likewise.
23046         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23047         (TRAP_TRACE): Likewise.
23048         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23049         __USE_XOPEN2K8].
23050         (CLD_KILLED): Likewise.
23051         (CLD_DUMPED): Likewise.
23052         (CLD_TRAPPED): Likewise.
23053         (CLD_STOPPED): Likewise.
23054         (CLD_CONTINUED): Likewise.
23055         (POLL_IN): Likewise.
23056         (POLL_OUT): Likewise.
23057         (POLL_MSG): Likewise.
23058         (POLL_ERR): Likewise.
23059         (POLL_PRI): Likewise.
23060         (POLL_HUP): Likewise.
23061         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
23062         (ILL_ILLOPN): Likewise.
23063         (ILL_ILLADR): Likewise.
23064         (ILL_ILLTRP): Likewise.
23065         (ILL_PRVOPC): Likewise.
23066         (ILL_PRVREG): Likewise.
23067         (ILL_COPROC): Likewise.
23068         (ILL_BADSTK): Likewise.
23069         (FPE_INTDIV): Likewise.
23070         (FPE_INTOVF): Likewise.
23071         (FPE_FLTDIV): Likewise.
23072         (FPE_FLTOVF): Likewise.
23073         (FPE_FLTUND): Likewise.
23074         (FPE_FLTRES): Likewise.
23075         (FPE_FLTINV): Likewise.
23076         (FPE_FLTSUB): Likewise.
23077         (SEGV_MAPERR): Likewise.
23078         (SEGV_ACCERR): Likewise.
23079         (BUS_ADRALN): Likewise.
23080         (BUS_ADRERR): Likewise.
23081         (BUS_OBJERR): Likewise.
23082         (BUS_MCEERR_AR): Likewise.
23083         (BUS_MCEERR_AO): Likewise.
23084         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23085         (TRAP_TRACE): Likewise.
23086         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23087         __USE_XOPEN2K8].
23088         (CLD_KILLED): Likewise.
23089         (CLD_DUMPED): Likewise.
23090         (CLD_TRAPPED): Likewise.
23091         (CLD_STOPPED): Likewise.
23092         (CLD_CONTINUED): Likewise.
23093         (POLL_IN): Likewise.
23094         (POLL_OUT): Likewise.
23095         (POLL_MSG): Likewise.
23096         (POLL_ERR): Likewise.
23097         (POLL_PRI): Likewise.
23098         (POLL_HUP): Likewise.
23099         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
23100         (ILL_ILLOPN): Likewise.
23101         (ILL_ILLADR): Likewise.
23102         (ILL_ILLTRP): Likewise.
23103         (ILL_PRVOPC): Likewise.
23104         (ILL_PRVREG): Likewise.
23105         (ILL_COPROC): Likewise.
23106         (ILL_BADSTK): Likewise.
23107         (FPE_INTDIV): Likewise.
23108         (FPE_INTOVF): Likewise.
23109         (FPE_FLTDIV): Likewise.
23110         (FPE_FLTOVF): Likewise.
23111         (FPE_FLTUND): Likewise.
23112         (FPE_FLTRES): Likewise.
23113         (FPE_FLTINV): Likewise.
23114         (FPE_FLTSUB): Likewise.
23115         (SEGV_MAPERR): Likewise.
23116         (SEGV_ACCERR): Likewise.
23117         (BUS_ADRALN): Likewise.
23118         (BUS_ADRERR): Likewise.
23119         (BUS_OBJERR): Likewise.
23120         (BUS_MCEERR_AR): Likewise.
23121         (BUS_MCEERR_AO): Likewise.
23122         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23123         (TRAP_TRACE): Likewise.
23124         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23125         __USE_XOPEN2K8].
23126         (CLD_KILLED): Likewise.
23127         (CLD_DUMPED): Likewise.
23128         (CLD_TRAPPED): Likewise.
23129         (CLD_STOPPED): Likewise.
23130         (CLD_CONTINUED): Likewise.
23131         (POLL_IN): Likewise.
23132         (POLL_OUT): Likewise.
23133         (POLL_MSG): Likewise.
23134         (POLL_ERR): Likewise.
23135         (POLL_PRI): Likewise.
23136         (POLL_HUP): Likewise.
23137         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
23138         (ILL_ILLOPN): Likewise.
23139         (ILL_ILLADR): Likewise.
23140         (ILL_ILLTRP): Likewise.
23141         (ILL_PRVOPC): Likewise.
23142         (ILL_PRVREG): Likewise.
23143         (ILL_COPROC): Likewise.
23144         (ILL_BADSTK): Likewise.
23145         (ILL_DBLFLT): Likewise.
23146         (ILL_HARDWALL): Likewise.
23147         (FPE_INTDIV): Likewise.
23148         (FPE_INTOVF): Likewise.
23149         (FPE_FLTDIV): Likewise.
23150         (FPE_FLTOVF): Likewise.
23151         (FPE_FLTUND): Likewise.
23152         (FPE_FLTRES): Likewise.
23153         (FPE_FLTINV): Likewise.
23154         (FPE_FLTSUB): Likewise.
23155         (SEGV_MAPERR): Likewise.
23156         (SEGV_ACCERR): Likewise.
23157         (BUS_ADRALN): Likewise.
23158         (BUS_ADRERR): Likewise.
23159         (BUS_OBJERR): Likewise.
23160         (BUS_MCEERR_AR): Likewise.
23161         (BUS_MCEERR_AO): Likewise.
23162         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23163         (TRAP_TRACE): Likewise.
23164         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23165         __USE_XOPEN2K8].
23166         (CLD_KILLED): Likewise.
23167         (CLD_DUMPED): Likewise.
23168         (CLD_TRAPPED): Likewise.
23169         (CLD_STOPPED): Likewise.
23170         (CLD_CONTINUED): Likewise.
23171         (POLL_IN): Likewise.
23172         (POLL_OUT): Likewise.
23173         (POLL_MSG): Likewise.
23174         (POLL_ERR): Likewise.
23175         (POLL_PRI): Likewise.
23176         (POLL_HUP): Likewise.
23177         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
23178         (ILL_ILLOPN): Likewise.
23179         (ILL_ILLADR): Likewise.
23180         (ILL_ILLTRP): Likewise.
23181         (ILL_PRVOPC): Likewise.
23182         (ILL_PRVREG): Likewise.
23183         (ILL_COPROC): Likewise.
23184         (ILL_BADSTK): Likewise.
23185         (FPE_INTDIV): Likewise.
23186         (FPE_INTOVF): Likewise.
23187         (FPE_FLTDIV): Likewise.
23188         (FPE_FLTOVF): Likewise.
23189         (FPE_FLTUND): Likewise.
23190         (FPE_FLTRES): Likewise.
23191         (FPE_FLTINV): Likewise.
23192         (FPE_FLTSUB): Likewise.
23193         (SEGV_MAPERR): Likewise.
23194         (SEGV_ACCERR): Likewise.
23195         (BUS_ADRALN): Likewise.
23196         (BUS_ADRERR): Likewise.
23197         (BUS_OBJERR): Likewise.
23198         (BUS_MCEERR_AR): Likewise.
23199         (BUS_MCEERR_AO): Likewise.
23200         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23201         (TRAP_TRACE): Likewise.
23202         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23203         __USE_XOPEN2K8].
23204         (CLD_KILLED): Likewise.
23205         (CLD_DUMPED): Likewise.
23206         (CLD_TRAPPED): Likewise.
23207         (CLD_STOPPED): Likewise.
23208         (CLD_CONTINUED): Likewise.
23209         (POLL_IN): Likewise.
23210         (POLL_OUT): Likewise.
23211         (POLL_MSG): Likewise.
23212         (POLL_ERR): Likewise.
23213         (POLL_PRI): Likewise.
23214         (POLL_HUP): Likewise.
23215         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
23216         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
23218         [BZ #16670]
23219         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
23220         before #include of <time.h>.
23221         [!__USE_XOPEN2K] (__need_timespec): Likewise.
23222         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
23223         (test-xfail-UNIX98/sched.h/conform): Likewise.
23225 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
23227         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
23228         error absence of trapping exception support.
23229         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
23231 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
23233         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
23234         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
23235         * timezone/Makefile (testdata): Move definition above include of
23236         Rules.
23237         (test-zones): New variable.
23238         (tests-special): Add zone files.
23239         (build-testdata): Use $(evaluate-test).
23241         * elf/Makefile (tests-special): Rename tests to end with .out.
23242         ($(objpfx)noload-mem): Likewise.
23243         ($(objpfx)tst-leaks1-mem): Likewise.
23244         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
23245         * iconv/Makefile (xtests-special): Change test-iconvconfig to
23246         $(objpfx)test-iconvconfig.out.
23247         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
23248         set -e inside subshell and redirect output to file.
23249         * iconvdata/Makefile (generated): Rename tests to end with .out.
23250         Correct type.
23251         (tests-special): Rename tests to end with .out.
23252         ($(objpfx)mtrace-tst-loading): Likewise.
23253         * intl/Makefile (generated): Likewise.
23254         (tests-special): Likewise.
23255         ($(objpfx)mtrace-tst-gettext): Likewise.
23256         * misc/Makefile (generated): Likewise.
23257         (tests-special): Likewise.
23258         ($(objpfx)tst-error1-mem): Likewise.
23259         * nptl/Makefile (tests-special): Likewise.
23260         ($(objpfx)tst-stack3-mem): Likewise.
23261         (generated): Likewise.
23262         * posix/Makefile (generated): Likewise.
23263         (tests-special): Likewise.
23264         (xtests-special): Likewise.
23265         ($(objpfx)tst-fnmatch-mem): Likewise.
23266         ($(objpfx)bug-regex2-mem): Likewise.
23267         ($(objpfx)bug-regex14-mem): Likewise.
23268         ($(objpfx)bug-regex21-mem): Likewise.
23269         ($(objpfx)bug-regex31-mem): Likewise.
23270         ($(objpfx)tst-vfork3-mem): Likewise.
23271         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
23272         ($(objpfx)tst-pcre-mem): Likewise.
23273         ($(objpfx)tst-boost-mem): Likewise.
23274         ($(objpfx)bug-ga2-mem): Likewise.
23275         ($(objpfx)bug-glob2-mem): Likewise.
23276         * resolv/Makefile (generate): Likewise.
23277         (tests-special): Likewise.
23278         (xtests-special): Likewise.
23279         (generated): Likewise.
23280         ($(objpfx)mtrace-tst-leaks): Likewise.
23281         ($(objpfx)mtrace-tst-leaks2): Likewise.
23283         * scripts/merge-test-results.sh: New file.
23284         * Makefile (tests-special-notdir): New variable.
23285         (tests): Run merge-test-results.sh.
23286         (xtests): Likewise.
23287         * Rules (tests-special-notdir): New variable.
23288         (xtests-special-notdir): Likewise.
23289         (tests): Run merge-test-results.sh
23290         (xtests): Likewise.
23292         * Makeconfig (test-xfail-name): New variable.
23293         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
23294         compute variable name for expected failures.
23295         * conform/Makefile (conformtest-headers-data): New variable.
23296         (conformtest-standards): Likewise.
23297         (conformtest-headers-ISO): Likewise.
23298         (conformtest-headers-ISO99): Likewise.
23299         (conformtest-headers-ISO11): Likewise.
23300         (conformtest-headers-POSIX): Likewise.
23301         (conformtest-headers-XPG3): Likewise.
23302         (conformtest-headers-XPG4): Likewise.
23303         (conformtest-headers-UNIX98): Likewise.
23304         (conformtest-headers-XOPEN2K): Likewise.
23305         (conformtest-headers-POSIX2008): Likewise.
23306         (conformtest-headers-XOPEN2K8): Likewise.
23307         (conformtest-header-list-base): Likewise.
23308         (conformtest-header-list-tests): Likewise.
23309         (conformtest-header-base): Likewise.
23310         (conformtest-header-tests): Likewise.
23311         (tests-special): Add $(conformtest-header-list-tests).  If
23312         [$(fast-check) && !$(cross-compiling)], add
23313         $(conformtest-header-tests) instead of
23314         $(objpfx)run-conformtest.out.
23315         (generated): Add $(conformtest-header-list-base).  If
23316         [$(fast-check) && !$(cross-compiling)], add
23317         $(conformtest-header-base).  Remove previous setting.
23318         ($(conformtest-header-list-tests)): New target.
23319         (test-xfail-run-conformtest): Remove variable.
23320         ($(objpfx)run-conformtest.out): Remove target.
23321         (test-xfail-ISO11/complex.h/conform): New variable.
23322         (test-xfail-ISO11/stdalign.h/conform): Likewise.
23323         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
23324         (test-xfail-XPG3/varargs.h/conform): Likewise.
23325         (test-xfail-XPG4/varargs.h/conform): Likewise.
23326         (test-xfail-UNIX98/varargs.h/conform): Likewise.
23327         (test-xfail-XPG4/ndbm.h/conform): Likewise.
23328         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
23329         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
23330         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
23331         (test-xfail-XPG3/fcntl.h/conform): Likewise.
23332         (test-xfail-XPG3/ftw.h/conform): Likewise.
23333         (test-xfail-XPG3/grp.h/conform): Likewise.
23334         (test-xfail-XPG3/langinfo.h/conform): Likewise.
23335         (test-xfail-XPG3/limits.h/conform): Likewise.
23336         (test-xfail-XPG3/pwd.h/conform): Likewise.
23337         (test-xfail-XPG3/search.h/conform): Likewise.
23338         (test-xfail-XPG3/signal.h/conform): Likewise.
23339         (test-xfail-XPG3/stdio.h/conform): Likewise.
23340         (test-xfail-XPG3/stdlib.h/conform): Likewise.
23341         (test-xfail-XPG3/string.h/conform): Likewise.
23342         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
23343         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
23344         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
23345         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
23346         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
23347         (test-xfail-XPG3/sys/types.h/conform): Likewise.
23348         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
23349         (test-xfail-XPG3/termios.h/conform): Likewise.
23350         (test-xfail-XPG3/time.h/conform): Likewise.
23351         (test-xfail-XPG3/unistd.h/conform): Likewise.
23352         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
23353         (test-xfail-XPG4/fcntl.h/conform): Likewise.
23354         (test-xfail-XPG4/langinfo.h/conform): Likewise.
23355         (test-xfail-XPG4/netdb.h/conform): Likewise.
23356         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
23357         (test-xfail-XPG4/signal.h/conform): Likewise.
23358         (test-xfail-XPG4/stdio.h/conform): Likewise.
23359         (test-xfail-XPG4/stdlib.h/conform): Likewise.
23360         (test-xfail-XPG4/stropts.h/conform): Likewise.
23361         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
23362         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
23363         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
23364         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
23365         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
23366         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
23367         (test-xfail-XPG4/sys/time.h/conform): Likewise.
23368         (test-xfail-XPG4/sys/types.h/conform): Likewise.
23369         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
23370         (test-xfail-XPG4/termios.h/conform): Likewise.
23371         (test-xfail-XPG4/ucontext.h/conform): Likewise.
23372         (test-xfail-XPG4/unistd.h/conform): Likewise.
23373         (test-xfail-XPG4/utmpx.h/conform): Likewise.
23374         (test-xfail-POSIX/sched.h/conform): Likewise.
23375         (test-xfail-POSIX/signal.h/conform): Likewise.
23376         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
23377         (test-xfail-POSIX/tar.h/conform): Likewise.
23378         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
23379         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
23380         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
23381         (test-xfail-UNIX98/netdb.h/conform): Likewise.
23382         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
23383         (test-xfail-UNIX98/sched.h/conform): Likewise.
23384         (test-xfail-UNIX98/signal.h/conform): Likewise.
23385         (test-xfail-UNIX98/stdio.h/conform): Likewise.
23386         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
23387         (test-xfail-UNIX98/stropts.h/conform): Likewise.
23388         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
23389         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
23390         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
23391         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
23392         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
23393         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
23394         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
23395         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
23396         (test-xfail-UNIX98/unistd.h/conform): Likewise.
23397         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
23398         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
23399         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
23400         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
23401         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
23402         (test-xfail-XOPEN2K/math.h/conform): Likewise.
23403         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
23404         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
23405         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
23406         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
23407         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
23408         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
23409         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
23410         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
23411         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
23412         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
23413         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
23414         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
23415         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
23416         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
23417         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
23418         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
23419         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
23420         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
23421         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
23422         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
23423         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
23424         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
23425         (test-xfail-POSIX2008/signal.h/conform): Likewise.
23426         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
23427         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
23428         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
23429         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
23430         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
23431         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
23432         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
23433         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
23434         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
23435         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
23436         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
23437         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
23438         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
23439         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
23440         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
23441         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
23442         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
23443         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
23444         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
23445         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
23446         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
23447         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
23448         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
23449         (conformtest-cc-flags): Likewise.
23450         ($(conformtest-header-tests): New target.
23451         * conform/check-header-lists.sh: New file.
23452         * conform/run-conformtest.sh: Remove.
23454         * conform/conformtest.pl: Allow ' and \ in values given for
23455         constants.
23456         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
23457         inclusion.
23458         [POSIX] (sys/types.h): Likewise.
23459         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
23460         inclusion.
23461         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
23462         inclusion.
23463         * conform/data/signal.h-data (SIGIO): Remove expectation.
23464         [XPG3] (SIGBUS): Do not expect.
23465         [POSIX || XPG3] (SIGPOLL): Likewise.
23466         [POSIX || XPG3] (SIGPROF): Likewise.
23467         [POSIX || XPG3] (SIGSYS): Likewise.
23468         [XPG3] (SIGTRAP): Likewise.
23469         [POSIX || XPG3] (SIGURG): Likewise.
23470         [POSIX || XPG3] (SIGVTALRM): Likewise.
23471         [POSIX || XPG3] (SIGXCPU): Likewise.
23472         [POSIX || XPG3] (SIGXFSZ): Likewise.
23473         [POSIX] (SA_SIGINFO): Expect.
23474         [XPG3] (siginfo_t): Do not expect type or contents.
23475         [POSIX] (si_pid): Do not expect element.
23476         [POSIX] (si_uid): Likewise.
23477         [POSIX] (si_addr): Likewise.
23478         [POSIX] (si_status): Likewise.
23479         [POSIX] (si_band): Likewise.
23480         [XPG4] (si_value): Likewise.
23481         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
23482         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
23483         [POSIX || XPG3] (ILL_ILLADR): Likewise.
23484         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
23485         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
23486         [POSIX || XPG3] (ILL_PRVREG): Likewise.
23487         [POSIX || XPG3] (ILL_COPROC): Likewise.
23488         [POSIX || XPG3] (ILL_BADSTK): Likewise.
23489         [POSIX || XPG3] (FPE_INTDIV): Likewise.
23490         [POSIX || XPG3] (FPE_INTOVF): Likewise.
23491         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
23492         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
23493         [POSIX || XPG3] (FPE_FLTUND): Likewise.
23494         [POSIX || XPG3] (FPE_FLTRES): Likewise.
23495         [POSIX || XPG3] (FPE_FLTINV): Likewise.
23496         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
23497         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
23498         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
23499         [POSIX || XPG3] (BUS_ADRALN): Likewise.
23500         [POSIX || XPG3] (BUS_ADRERR): Likewise.
23501         [POSIX || XPG3] (BUS_OBJERR): Likewise.
23502         [POSIX || XPG3] (CLD_EXITED): Likewise.
23503         [POSIX || XPG3] (CLD_KILLED): Likewise.
23504         [POSIX || XPG3] (CLD_DUMPED): Likewise.
23505         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
23506         [POSIX || XPG3] (CLD_STOPPED): Likewise.
23507         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
23508         [POSIX || XPG3] (POLL_IN): Likewise.
23509         [POSIX || XPG3] (POLL_OUT): Likewise.
23510         [POSIX || XPG3] (POLL_MSG): Likewise.
23511         [POSIX || XPG3] (POLL_ERR): Likewise.
23512         [POSIX || XPG3] (POLL_PRI): Likewise.
23513         [POSIX || XPG3] (POLL_HUP): Likewise.
23514         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
23515         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
23516         (SIG*): Do not allow.
23517         [XPG3] (si_*): Likewise.
23518         [XPG3] (SI_*): Likewise.
23519         [XPG3 || XPG4] (sigev_*): Likewise.
23520         [XPG3 || XPG4] (SIGEV_*): Likewise.
23521         [XPG3 || XPG4] (sival_*): Likewise.
23522         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
23523         [POSIX || XPG3] (BUS_*): Likewise.
23524         [POSIX || XPG3] (CLD_*): Likewise.
23525         [POSIX || XPG3] (FPE_*): Likewise.
23526         [POSIX || XPG3] (ILL_*): Likewise.
23527         [POSIX || XPG3] (POLL_*): Likewise.
23528         [POSIX || XPG3] (SEGV_*): Likewise.
23529         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
23530         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
23531         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
23532         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
23533         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
23534         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
23535         Specify type and value.
23536         (TVERSLEN): Likewise.
23537         (REGTYPE): Likewise.
23538         (AREGTYPE): Likewise.
23539         (LNKTYPE): Likewise.
23540         (SYMTYPE): Likewise.
23541         (CHRTYPE): Likewise.
23542         (BLKTYPE): Likewise.
23543         (DIRTYPE): Likewise.
23544         (FIFOTYPE): Likewise.
23545         (CONTTYPE): Likewise.
23546         (TSUID): Likewise.
23547         (TSGID): Likewise.
23548         (TSVTX): Likewise.
23549         (TUREAD): Likewise.
23550         (TUWRITE): Likewise.
23551         (TUEXEC): Likewise.
23552         (TGREAD): Likewise.
23553         (TGWRITE): Likewise.
23554         (TGEXEC): Likewise.
23555         (TOREAD): Likewise.
23556         (TOWRITE): Likewise.
23557         (TOEXEC): Likewise.
23558         [POSIX] (TSVTX): Expect constant.
23560 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
23562         * Makefile (tests): Change dependencies to ....
23563         (tests-special): ... additions to this variable.
23564         (tests): Depend on $(tests-special).
23565         * Makerules (check-abi-list): New variable.
23566         (check-abi): Depend on $(check-abi-list).
23567         [$(subdir) = elf] (tests-special): Add
23568         $(objpfx)check-abi-libc.out.
23569         [$(build-shared) = yes && subdir] (tests-special): Add
23570         $(check-abi-list).
23571         [$(build-shared) = yes && subdir] (tests): Do not depend on
23572         check-abi.
23573         * Rules (tests): Depend on $(tests-special).
23574         (xtests): Depend on $(xtests-special).
23575         * catgets/Makefile (tests): Change dependencies to ....
23576         (tests-special): ... additions to this variable.
23577         * conform/Makefile (tests): Change dependencies to ....
23578         (tests-special): ... additions to this variable.
23579         * elf/Makefile (tests): Change dependencies to ....
23580         (tests-special): ... additions to this variable.
23581         * grp/Makefile (tests): Change dependencies to ....
23582         (tests-special): ... additions to this variable.
23583         * iconv/Makefile (xtests): Change dependencies to ....
23584         (xtests-special): ... additions to this variable.
23585         * iconvdata/Makefile (tests): Change dependencies to ....
23586         (tests-special): ... additions to this variable.
23587         * intl/Makefile (tests): Change dependencies to ....
23588         (tests-special): ... additions to this variable.  Also add
23589         $(objpfx)tst-gettext.out.
23590         * io/Makefile (tests): Change dependencies to ....
23591         (tests-special): ... additions to this variable.
23592         * libio/Makefile (tests): Change dependencies to ....
23593         (tests-special): ... additions to this variable.
23594         * malloc/Makefile (tests): Change dependencies to ....
23595         (tests-special): ... additions to this variable.
23596         * misc/Makefile (tests): Change dependencies to ....
23597         (tests-special): ... additions to this variable.
23598         * nptl/Makefile (tests): Change dependencies to ....
23599         (tests-special): ... additions to this variable.
23600         * nptl_db/Makefile (tests): Change dependencies to ....
23601         (tests-special): ... additions to this variable.
23602         * posix/Makefile (tests): Change dependencies to ....
23603         (tests-special): ... additions to this variable.
23604         (xtests): Change dependencies to ....
23605         (xtests-special): ... additions to this variable.
23606         * resolv/Makefile (tests): Change dependencies to ....
23607         (tests-special): ... additions to this variable.
23608         (xtests): Change dependencies to ....
23609         (xtests-special): ... additions to this variable.
23610         * stdio-common/Makefile (tests): Change dependencies to ....
23611         (tests-special): ... additions to this variable.
23612         (do-tst-unbputc): Remove target.
23613         (do-tst-printf): Likewise.
23614         * stdlib/Makefile (tests): Change dependencies to ....
23615         (tests-special): ... additions to this variable.
23616         * string/Makefile (tests): Change dependencies to ....
23617         (tests-special): ... additions to this variable.
23618         * sysdeps/x86/Makefile (tests): Change dependencies to ....
23619         (tests-special): ... additions to this variable.
23621         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
23622         whole file.
23623         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
23624         whole file.
23625         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
23626         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
23628         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
23629         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
23630         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
23631         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
23632         * conform/data/libgen.h-data [XPG3]: Likewise.
23633         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
23634         * conform/data/ndbm.h-data [XPG3]: Likewise.
23635         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
23636         * conform/data/netdb.h-data [XPG3]: Likewise.
23637         * conform/data/netinet/in.h-data [XPG3]: Likewise.
23638         * conform/data/poll.h-data [XPG3]: Likewise.
23639         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
23640         * conform/data/strings.h-data [XPG3]: Likewise.
23641         * conform/data/stropts.h-data [XPG3]: Likewise.
23642         * conform/data/sys/mman.h-data [XPG3]: Likewise.
23643         * conform/data/sys/resource.h-data [XPG3]: Likewise.
23644         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
23645         Likewise.
23646         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
23647         * conform/data/sys/time.h-data [XPG3]: Likewise.
23648         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
23649         * conform/data/sys/uio.h-data [XPG3]: Likewise.
23650         * conform/data/sys/un.h-data [XPG3]: Likewise.
23651         * conform/data/syslog.h-data [XPG3]: Likewise.
23652         * conform/data/ucontext.h-data [XPG3]: Likewise.
23653         * conform/data/utmpx.h-data [XPG3]: Likewise.
23654         * conform/data/varargs.h-data [UNIX98]: Enable file.
23656         * manual/Makefile (INSTALL_INFO): Remove variable setting.
23658         * math/libm-test.inc (struct test_f_f_data): Move expected results
23659         into structure for each rounding mode.
23660         (struct test_ff_f_data): Likewise.
23661         (struct test_ff_f_data_nexttoward): Likewise.
23662         (struct test_fi_f_data): Likewise.
23663         (struct test_fl_f_data): Likewise.
23664         (struct test_if_f_data): Likewise.
23665         (struct test_fff_f_data): Likewise.
23666         (struct test_c_f_data): Likewise.
23667         (struct test_f_f1_data): Likewise.
23668         (struct test_fF_f1_data): Likewise.
23669         (struct test_ffI_f1_data): Likewise.
23670         (struct test_c_c_data): Likewise.
23671         (struct test_cc_c_data): Likewise.
23672         (struct test_f_i_data): Likewise.
23673         (struct test_ff_i_data): Likewise.
23674         (struct test_f_l_data): Likewise.
23675         (struct test_f_L_data): Likewise.
23676         (struct test_fFF_11_data): Likewise.
23677         (RM_): New macro.
23678         (RM_FE_DOWNWARD): Likewise.
23679         (RM_FE_TONEAREST): Likewise.
23680         (RM_FE_TOWARDZERO): Likewise.
23681         (RM_FE_UPWARD): Likewise.
23682         (RUN_TEST_LOOP_f_f): Update references to expected results.
23683         (RUN_TEST_LOOP_2_f): Likewise.
23684         (RUN_TEST_LOOP_fff_f): Likewise.
23685         (RUN_TEST_LOOP_c_f): Likewise.
23686         (RUN_TEST_LOOP_f_f1): Likewise.
23687         (RUN_TEST_LOOP_fF_f1): Likewise.
23688         (RUN_TEST_LOOP_fI_f1): Likewise.
23689         (RUN_TEST_LOOP_ffI_f1): Likewise.
23690         (RUN_TEST_LOOP_c_c): Likewise.
23691         (RUN_TEST_LOOP_cc_c): Likewise.
23692         (RUN_TEST_LOOP_f_i): Likewise.
23693         (RUN_TEST_LOOP_f_i_tg): Likewise.
23694         (RUN_TEST_LOOP_ff_i_tg): Likewise.
23695         (RUN_TEST_LOOP_f_b): Likewise.
23696         (RUN_TEST_LOOP_f_b_tg): Likewise.
23697         (RUN_TEST_LOOP_f_l): Likewise.
23698         (RUN_TEST_LOOP_f_L): Likewise.
23699         (RUN_TEST_LOOP_fFF_11): Likewise.
23700         * math/gen-libm-test.pl (parse_args): Output four copies of
23701         expected results for each test.
23703         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23704         (__ASSUME_UTIMES): Remove.
23705         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23706         (__ASSUME_UTIMES): Likewise.
23708         * math/gen-auto-libm-tests.c: Update comment on output format.
23709         (output_for_one_input_case): Generate before-rounding and
23710         after-rounding information as conditions on output flags not
23711         floating-point format.
23712         * math/auto-libm-test-out: Regenerated.
23713         * math/gen-libm-test.pl (cond_value): New function.
23714         (or_cond_value): Use cond_value.
23715         (generate_testfile): Handle conditional exceptions.
23717 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
23719         * math/libm-test.inc (max_valid_error): New variable.
23720         (init_max_error): Take new argument specifying whether function
23721         results are exactly determined.  Set max_valid_error and bound
23722         other variables for errors based on this argument.
23723         (set_max_error): Do not record results above max_valid_error.
23724         (check_float_internal): Only accept errors of up to 0.5ulps if
23725         also at most max_valid_error.
23726         (START): Take new argument EXACT and pass it to init_max_error.
23727         (acos_test): Update call to START.
23728         (acos_test_tonearest): Likewise.
23729         (acos_test_towardzero): Likewise.
23730         (acos_test_downward): Likewise.
23731         (acos_test_upward): Likewise.
23732         (acosh_test): Likewise.
23733         (asin_test): Likewise.
23734         (asin_test_tonearest): Likewise.
23735         (asin_test_towardzero): Likewise.
23736         (asin_test_downward): Likewise.
23737         (asin_test_upward): Likewise.
23738         (asinh_test): Likewise.
23739         (atan_test): Likewise.
23740         (atanh_test): Likewise.
23741         (atan2_test): Likewise.
23742         (cabs_test): Likewise.
23743         (cacos_test): Likewise.
23744         (cacosh_test): Likewise.
23745         (carg_test): Likewise.
23746         (casin_test): Likewise.
23747         (casinh_test): Likewise.
23748         (catan_test): Likewise.
23749         (catanh_test): Likewise.
23750         (cbrt_test): Likewise.
23751         (ccos_test): Likewise.
23752         (ccosh_test): Likewise.
23753         (ceil_test): Likewise.
23754         (cexp_test): Likewise.
23755         (cimag_test): Likewise.
23756         (clog_test): Likewise.
23757         (clog10_test): Likewise.
23758         (conj_test): Likewise.
23759         (copysign_test): Likewise.
23760         (cos_test): Likewise.
23761         (cos_test_tonearest): Likewise.
23762         (cos_test_towardzero): Likewise.
23763         (cos_test_downward): Likewise.
23764         (cos_test_upward): Likewise.
23765         (cosh_test): Likewise.
23766         (cosh_test_tonearest): Likewise.
23767         (cosh_test_towardzero): Likewise.
23768         (cosh_test_downward): Likewise.
23769         (cosh_test_upward): Likewise.
23770         (cpow_test): Likewise.
23771         (cproj_test): Likewise.
23772         (creal_test): Likewise.
23773         (csin_test): Likewise.
23774         (csinh_test): Likewise.
23775         (csqrt_test): Likewise.
23776         (ctan_test): Likewise.
23777         (ctan_test_tonearest): Likewise.
23778         (ctan_test_towardzero): Likewise.
23779         (ctan_test_downward): Likewise.
23780         (ctan_test_upward): Likewise.
23781         (ctanh_test): Likewise.
23782         (ctanh_test_tonearest): Likewise.
23783         (ctanh_test_towardzero): Likewise.
23784         (ctanh_test_downward): Likewise.
23785         (ctanh_test_upward): Likewise.
23786         (erf_test): Likewise.
23787         (erfc_test): Likewise.
23788         (exp_test): Likewise.
23789         (exp_test_tonearest): Likewise.
23790         (exp_test_towardzero): Likewise.
23791         (exp_test_downward): Likewise.
23792         (exp_test_upward): Likewise.
23793         (exp10_test): Likewise.
23794         (exp10_test_tonearest): Likewise.
23795         (exp10_test_towardzero): Likewise.
23796         (exp10_test_downward): Likewise.
23797         (exp10_test_upward): Likewise.
23798         (pow10_test): Likewise.
23799         (exp2_test): Likewise.
23800         (expm1_test): Likewise.
23801         (expm1_test_tonearest): Likewise.
23802         (expm1_test_towardzero): Likewise.
23803         (expm1_test_downward): Likewise.
23804         (expm1_test_upward): Likewise.
23805         (fabs_test): Likewise.
23806         (fdim_test): Likewise.
23807         (floor_test): Likewise.
23808         (fma_test): Likewise.
23809         (fma_test_towardzero): Likewise.
23810         (fma_test_downward): Likewise.
23811         (fma_test_upward): Likewise.
23812         (fmax_test): Likewise.
23813         (fmin_test): Likewise.
23814         (fmod_test): Likewise.
23815         (fpclassify_test): Likewise.
23816         (frexp_test): Likewise.
23817         (hypot_test): Likewise.
23818         (ilogb_test): Likewise.
23819         (isfinite_test): Likewise.
23820         (finite_test): Likewise.
23821         (isgreater_test): Likewise.
23822         (isgreaterequal_test): Likewise.
23823         (isinf_test): Likewise.
23824         (isless_test): Likewise.
23825         (islessequal_test): Likewise.
23826         (islessgreater_test): Likewise.
23827         (isnan_test): Likewise.
23828         (isnormal_test): Likewise.
23829         (issignaling_test): Likewise.
23830         (isunordered_test): Likewise.
23831         (j0_test): Likewise.
23832         (j1_test): Likewise.
23833         (jn_test): Likewise.
23834         (ldexp_test): Likewise.
23835         (lgamma_test): Likewise.
23836         (gamma_test): Likewise.
23837         (lrint_test): Likewise.
23838         (lrint_test_tonearest): Likewise.
23839         (lrint_test_towardzero): Likewise.
23840         (lrint_test_downward): Likewise.
23841         (lrint_test_upward): Likewise.
23842         (llrint_test): Likewise.
23843         (llrint_test_tonearest): Likewise.
23844         (llrint_test_towardzero): Likewise.
23845         (llrint_test_downward): Likewise.
23846         (llrint_test_upward): Likewise.
23847         (log_test): Likewise.
23848         (log10_test): Likewise.
23849         (log1p_test): Likewise.
23850         (log2_test): Likewise.
23851         (logb_test): Likewise.
23852         (logb_test_downward): Likewise.
23853         (lround_test): Likewise.
23854         (llround_test): Likewise.
23855         (modf_test): Likewise.
23856         (nearbyint_test): Likewise.
23857         (nextafter_test): Likewise.
23858         (nexttoward_test): Likewise.
23859         (pow_test): Likewise.
23860         (pow_test_tonearest): Likewise.
23861         (pow_test_towardzero): Likewise.
23862         (pow_test_downward): Likewise.
23863         (pow_test_upward): Likewise.
23864         (remainder_test): Likewise.
23865         (drem_test): Likewise.
23866         (remainder_test_tonearest): Likewise.
23867         (drem_test_tonearest): Likewise.
23868         (remainder_test_towardzero): Likewise.
23869         (drem_test_towardzero): Likewise.
23870         (remainder_test_downward): Likewise.
23871         (drem_test_downward): Likewise.
23872         (remainder_test_upward): Likewise.
23873         (drem_test_upward): Likewise.
23874         (remquo_test): Likewise.
23875         (rint_test): Likewise.
23876         (rint_test_tonearest): Likewise.
23877         (rint_test_towardzero): Likewise.
23878         (rint_test_downward): Likewise.
23879         (rint_test_upward): Likewise.
23880         (round_test): Likewise.
23881         (scalb_test): Likewise.
23882         (scalbn_test): Likewise.
23883         (scalbln_test): Likewise.
23884         (signbit_test): Likewise.
23885         (sin_test): Likewise.
23886         (sin_test_tonearest): Likewise.
23887         (sin_test_towardzero): Likewise.
23888         (sin_test_downward): Likewise.
23889         (sin_test_upward): Likewise.
23890         (sincos_test): Likewise.
23891         (sinh_test): Likewise.
23892         (sinh_test_tonearest): Likewise.
23893         (sinh_test_towardzero): Likewise.
23894         (sinh_test_downward): Likewise.
23895         (sinh_test_upward): Likewise.
23896         (sqrt_test): Likewise.
23897         (sqrt_test_tonearest): Likewise.
23898         (sqrt_test_towardzero): Likewise.
23899         (sqrt_test_downward): Likewise.
23900         (sqrt_test_upward): Likewise.
23901         (tan_test): Likewise.
23902         (tan_test_tonearest): Likewise.
23903         (tan_test_towardzero): Likewise.
23904         (tan_test_downward): Likewise.
23905         (tan_test_upward): Likewise.
23906         (tanh_test): Likewise.
23907         (tgamma_test): Likewise.
23908         (trunc_test): Likewise.
23909         (y0_test): Likewise.
23910         (y1_test): Likewise.
23911         (yn_test): Likewise.
23912         (significand_test): Likewise.
23914         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
23915         individual tests in comment.
23916         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
23917         (prev_max_error): New variable.
23918         (prev_real_max_error): Likewise.
23919         (prev_imag_max_error): Likewise.
23920         (compare_ulp_data): Don't refer to test names in comment.
23921         (find_test_ulps): Remove function.
23922         (find_function_ulps): Likewise.
23923         (find_complex_function_ulps): Likewise.
23924         (init_max_error): Take function name as argument.  Look up ulps
23925         for that function.
23926         (print_ulps): Remove function.
23927         (print_max_error): Use prev_max_error instead of calling
23928         find_function_ulps.
23929         (print_complex_max_error): Use prev_real_max_error and
23930         prev_imag_max_error instead of calling find_complex_function_ulps.
23931         (check_float_internal): Take max_ulp parameter instead of calling
23932         find_test_ulps.  Don't call print_ulps.
23933         (check_float): Update call to check_float_internal.
23934         (check_complex): Update calls to check_float_internal.
23935         (START): Pass argument to init_max_error.
23936         * math/gen-libm-test.pl (%results): Don't include "kind"
23937         information.
23938         (parse_ulps): Don't handle ulps of individual tests.
23939         (print_ulps_file): Likewise.
23940         (output_ulps): Likewise.
23941         * math/README.libm-test: Update.
23942         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
23943         individual tests.
23944         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
23945         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
23946         * sysdeps/arm/libm-test-ulps: Likewise.
23947         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23948         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
23949         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
23950         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
23951         * sysdeps/microblaze/libm-test-ulps: Likewise.
23952         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
23953         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23954         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23955         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
23956         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23957         * sysdeps/sh/libm-test-ulps: Likewise.
23958         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23959         * sysdeps/tile/libm-test-ulps: Likewise.
23960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23962 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
23964         * math/libm-test.inc (print_complex_max_error): Check separately
23965         whether real and imaginary errors are within allowed range and
23966         pass 0 to print_complex_function_ulps instead of value within
23967         allowed range.
23969 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23971         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
23972         formatting.
23973         (get_handles_fopen): Likewise.
23974         (do_write_test): Likewise.
23976         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
23978         * libio/fileops.c (do_ftell): Use cached offset when
23979         available.
23980         * libio/iofwide.c (do_ftell_wide): Likewise.
23981         * libio/iofdopen.c (_IO_new_fdopen): Don't use
23982         _IO_file_attach.
23983         * libio/wfileops.c (_IO_fwide): Don't cache offset.
23985         [BZ #16532]
23986         * libio/libioP.h (get_file_offset): New function.
23987         * libio/fileops.c (get_file_offset): Likewise.
23988         (do_ftell): Likewise.
23989         (_IO_new_file_seekoff): Split out ftell logic.
23990         * libio/wfileops.c (do_ftell_wide): Likewise.
23991         (_IO_wfile_seekoff): Split out ftell logic.
23992         * libio/tst-ftell-active-handler.c: New test case.
23993         * libio/Makefile (tests): Add it.
23995 2014-03-03  Roland McGrath  <roland@hack.frob.com>
23997         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
23998         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
24000 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
24002         [BZ #16639]
24003         * nscd/connections.c (nscd_init): Call do_exit.
24004         (start_threads): Call do_exit and notify_parent.
24005         (begin_drop_privileges): Call do_exit.
24006         (finish_drop_privileges): Likewise.
24007         * nscd/selinux.c (preserve_capabilities): Likewise.
24008         (install_real_capabilities): Likewise.
24009         (nscd_selinux_enabled): Likewise.
24010         (avc_create_thread): Likewise.
24011         (avc_alloc_lock): Likewise.
24012         (nscd_avc_init): Likewise.
24013         * nscd/nscd.c (parent_fd): New static variable.
24014         (main): Create a pipe between parent and child processes.
24015         Skip closing parent_fd.
24016         (monitor_child): New function.
24017         (do_exit): Likewise.
24018         (notify_parent): Likewise.
24019         * nscd/nscd.h (notify_parent): Likewise.
24020         (do_exit): Likewise.
24022 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
24024         * malloc/malloc.c (__libc_calloc): Revert last change.
24026 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24028         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24030 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24032         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
24033         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
24034         implementation.
24035         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24036         (__libc_ifunc_impl_list): Likewise.
24037         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
24038         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
24039         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
24040         * string/strrchr.c: Define STRRCHR.
24042 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
24044         * benchtest/bench-strtok.c (simple_strtok): Delete.
24045         (strtok_string): Use as benchmark.
24046         * string/strtok (STRTOK): New macro.
24048 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
24050         * manual/threads.texi: Add header and standard comments to all
24051         functions.
24053         * elf/dl-lookup.c (check_match): New function.
24054         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
24055         (do_lookup_x): Remove nested function check_match. Use non-nested
24056         function check_match.
24058 2014-02-28  Roland McGrath  <roland@hack.frob.com>
24060         * csu/Makefile (generated, before-compile): Use += rather than =.
24061         * catgets/Makefile (generated, generated-dirs): Likewise.
24062         * debug/Makefile (generated): Likewise.
24063         * dlfcn/Makefile (generated): Likewise.
24064         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
24065         * iconvdata/Makefile (before-compile, generated): Likewise.
24066         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
24067         * libio/Makefile (generated): Likewise.
24068         * malloc/Makefile (generated): Likewise.
24069         * manual/Makefile (generated, generated-dirs): Likewise.
24070         * misc/Makefile (generated): Likewise.
24071         * posix/Makefile (generated): Likewise.
24072         * resolv/Makefile (generated): Likewise.
24073         * sunrpc/Makefile (generated, generated-dirs): Likewise.
24074         * timezone/Makefile (generated, generated-dirs): Likewise.
24076         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
24078 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24080         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
24081         power8 implementation.
24082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
24083         file: POWER8 llround ifunc implementation.
24084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
24085         (__lllround): Add POWER8 implementation.
24086         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
24087         POWER8 llround implementation.
24089         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
24090         power8 implementation.
24091         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
24092         file: POWER8 llrint ifunc implementation.
24093         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
24094         Add POWER8 implementation.
24095         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
24096         POWER8 llrint implementation.
24098         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
24099         power8 implementation.
24100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
24101         file: POWER8 finite ifunc implementation.
24102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
24103         Add POWER8 implementation.
24104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
24105         Likewise.
24106         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
24107         POWER8 finite implementation.
24108         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
24110         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
24111         power8 implementation.
24112         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
24113         file: POWER8 isinf ifunc implementation.
24114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
24115         POWER8 implementation.
24116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
24117         Likewise.
24118         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
24119         isinf implementation.
24120         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
24122         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
24123         (INIT_ARCH): Add hwcap2 initialization.
24124         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
24125         power8 implementation.
24126         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
24127         file: POWER8 isnan ifunc implementation.
24128         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
24129         POWER8 implementation.
24130         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
24131         Likewise.
24132         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
24133         isnan implementation.
24134         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
24136 2014-02-27  Joey Ye  <joey.ye@arm.com>
24138         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
24139         (_FP_NANFRAC_Q): Set to zero.
24141 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24143         [BZ #16623]
24144         * math/auto-libm-test-in: New test inputs.
24145         * math/auto-libm-test-out: Regenerate.
24146         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
24147         and DA.
24148         (__cos): Likewise.
24149         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24151 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
24153         * scripts/evaluate-test.sh: Take new argument indicating whether
24154         failure is expected.
24155         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
24156         indicating whether failure is expected.
24157         * conform/Makefile (test-xfail-run-conformtest): New variable.
24158         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
24159         level.
24160         * posix/Makefile (test-xfail-annexc): New variable.
24161         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
24163 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
24165         * argp/Makefile: Include Makeconfig immediately after defining
24166         subdir.
24167         * assert/Makefile: Likewise.
24168         * benchtests/Makefile: Likewise.
24169         * catgets/Makefile: Likewise.
24170         * conform/Makefile: Likewise.
24171         * crypt/Makefile: Likewise.
24172         * csu/Makefile: Likewise.
24173         (all): Remove target.
24174         * ctype/Makefile: Include Makeconfig immediately after defining
24175         subdir.
24176         * debug/Makefile: Likewise.
24177         * dirent/Makefile: Likewise.
24178         * dlfcn/Makefile: Likewise.
24179         * gmon/Makefile: Likewise.
24180         * gnulib/Makefile: Likewise.
24181         * grp/Makefile: Likewise.
24182         * gshadow/Makefile: Likewise.
24183         * hesiod/Makefile: Likewise.
24184         * hurd/Makefile: Likewise.
24185         (all): Remove target.
24186         * iconvdata/Makefile: Include Makeconfig immediately after
24187         defining subdir.
24188         * inet/Makefile: Likewise.
24189         * intl/Makefile: Likewise.
24190         * io/Makefile: Likewise.
24191         * libio/Makefile: Likewise.
24192         (all): Remove target.
24193         * locale/Makefile: Include Makeconfig immediately after defining
24194         subdir.
24195         * login/Makefile: Likewise.
24196         * mach/Makefile: Likewise.
24197         (all): Remove target.
24198         * malloc/Makefile: Include Makeconfig immediately after defining
24199         subdir.
24200         (all): Remove target.
24201         * manual/Makefile: Include Makeconfig immediately after defining
24202         subdir.
24203         * math/Makefile: Likewise.
24204         * misc/Makefile: Likewise.
24205         * nis/Makefile: Likewise.
24206         * nss/Makefile: Likewise.
24207         * po/Makefile: Likewise.
24208         (all): Remove target.
24209         * posix/Makefile: Include Makeconfig immediately after defining
24210         subdir.
24211         * pwd/Makefile: Likewise.
24212         * resolv/Makefile: Likewise.
24213         * resource/Makefile: Likewise.
24214         * rt/Makefile: Likewise.
24215         * setjmp/Makefile: Likewise.
24216         * shadow/Makefile: Likewise.
24217         * signal/Makefile: Likewise.
24218         * socket/Makefile: Likewise.
24219         * soft-fp/Makefile: Likewise.
24220         * stdio-common/Makefile: Likewise.
24221         * stdlib/Makefile: Likewise.
24222         * streams/Makefile: Likewise.
24223         * string/Makefile: Likewise.
24224         * sunrpc/Makefile: Likewise.
24225         (all): Remove target.
24226         * sysvipc/Makefile: Include Makeconfig immediately after defining
24227         subdir.
24228         * termios/Makefile: Likewise.
24229         * time/Makefile: Likewise.
24230         * timezone/Makefile: Likewise.
24231         (all): Remove target.
24232         * wcsmbs/Makefile: Include Makeconfig immediately after defining
24233         subdir.
24234         * wctype/Makefile: Likewise.
24236 2014-02-26  Steve Ellcey  <sellcey@mips.com>
24238         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
24239         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
24240         (libc_feholdexcept_setround_mips): Ditto.
24241         (libc_feholdsetround): New.
24242         (libc_feholdsetroundf): New.
24243         (libc_feholdsetroundl): New.
24244         (libc_feupdateenv_test_mips): New.
24245         (libc_feupdateenv_test): New.
24246         (libc_feupdateenv_testf): New.
24247         (libc_feupdateenv_testl): New.
24248         (libc_feresetround): New.
24249         (libc_feresetroundf): New.
24250         (libc_feresetroundl): New.
24251         (libc_fetestexcept_mips): New.
24252         (libc_fetestexcept): New.
24253         (libc_fetestexceptf): New.
24254         (libc_fetestexceptl): New.
24255         (HAVE_RM_CTX): New.
24256         (libc_feholdexcept_setround_mips_ctx): New.
24257         (libc_feholdexcept_setround_ctx): New.
24258         (libc_feholdexcept_setroundf_ctx): New.
24259         (libc_feholdexcept_setroundl_ctx): New.
24260         (libc_fesetenv_mips_ctx): New.
24261         (libc_fesetenv_ctx): New.
24262         (libc_fesetenv_ctxf): New.
24263         (libc_fesetenv_ctxl): New.
24264         (libc_feupdateenv_mips_ctx): New.
24265         (libc_feupdateenv_ctx): New.
24266         (libc_feupdateenvf_ctx): New.
24267         (libc_feupdateenvl_ctx): New.
24268         (libc_feholdsetround_mips_ctx): New.
24269         (libc_feholdsetround_ctx): New.
24270         (libc_feholdsetroundf_ctx): New.
24271         (libc_feholdsetroundl_ctx): New.
24272         (libc_feresetround_mips_ctx): New.
24273         (libc_feresetround_ctx): New.
24274         (libc_feresetroundf_ctx): New.
24275         (libc_feresetroundl_ctx): New.
24277 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
24279         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
24281         * manual/ipc.texi: New file.
24282         * manual/Makefile (chapters): Add ipc.
24283         * manual/job.texi: Add "Inter-Process Communication" to next.
24284         * manual/process.texi: Add "Inter-Process Communication" to prev.
24286 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24288         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24290 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
24292         * malloc/malloc.c (__libc_calloc): Simplify implementation.
24294         * manual/arith.texi: Fix spaces after sentences.
24295         * manual/charset.texi: Likewise.
24296         * manual/errno.texi: Likewise.
24297         * manual/install.texi: Likewise.
24298         * manual/llio.texi: Likewise.
24299         * manual/locale.texi: Likewise.
24300         * manual/maint.texi: Likewise.
24301         * manual/math.texi: Likewise.
24302         * manual/memory.texi: Likewise.
24303         * manual/message.texi: Likewise.
24304         * manual/probes.texi: Likewise.
24305         * manual/resource.texi: Likewise.
24306         * manual/signal.texi: Likewise.
24307         * manual/socket.texi: Likewise.
24308         * manual/stdio.texi: Likewise.
24309         * manual/string.texi: Likewise.
24310         * manual/time.texi: Likewise.
24311         * manual/users.texi: Likewise.
24313 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
24315         [BZ #16632]
24316         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
24317         _DEFAULT_SOURCE is defined.
24319 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
24320             Carlos O'Donell  <carlos@redhat.com>
24322         [BZ #16613]
24323         * elf/dl-tls.c (_dl_count_modids): New function.
24324         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
24325         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
24326         audit library and increment generation counter.
24327         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
24328         * elf/tst-audit9.c: New file.
24329         * elf/tst-auditmod9a.c: New file.
24330         * elf/tst-auditmod9b.c: New file.
24331         * elf/Makefile: Add rules to build and run tst-audit9.
24333 2014-02-25  Florian Weimer  <fweimer@redhat.com>
24335         [BZ #15347]
24336         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
24338 2014-02-25  Will Newton  <will.newton@linaro.org>
24340         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
24341         (__longjmp): Restore sp and lr before restoring callee
24342         saved registers.  Add longjmp and longjmp_target
24343         SystemTap probe point.
24344         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
24345         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
24346         Define to zero to match jmpbuf layout.
24347         * sysdeps/arm/setjmp.S: Include stap-probe.h.
24348         (__sigsetjmp): Save sp and lr before saving callee
24349         saved registers.  Add setjmp SystemTap probe point.
24351 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
24353         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24355 2014-02-24  Andreas Schwab  <schwab@suse.de>
24357         [BZ #15804]
24358         * elf/pldd.c (wait_for_ptrace_stop): New function.
24359         (main): Call it after attaching.
24361 2014-02-22  Roland McGrath  <roland@hack.frob.com>
24363         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
24364         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
24365         Versions files is now verboten.
24366         * hurd/Versions (libc: GLIBC_2.0):
24367         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
24368         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
24369         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
24370         * mach/Versions: Likewise.
24372         * csu/Versions: Remove unused %include.
24373         * resolv/Versions: Likewise.
24375 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
24377         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
24378         ($(objpfx)check-local-headers.out): Likewise.
24379         ($(objpfx)begin-end-check.out): Likewise.
24380         * Makerules (check-abi-%.out): Likewise.
24381         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
24382         ($(objpfx)test2.cat): Likewise.
24383         ($(objpfx)de/libc.cat): Likewise.
24384         ($(objpfx)test-gencat.out): Likewise.
24385         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
24386         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
24387         ($(objpfx)noload-mem): Likewise.
24388         ($(objpfx)tst-pathopt.out): Likewise.
24389         ($(objpfx)tst-rtld-load-self.out): Likewise.
24390         ($(objpfx)tst-array1-cmp.out): Likewise.
24391         ($(objpfx)tst-array1-static-cmp.out): Likewise.
24392         ($(objpfx)tst-array2-cmp.out): Likewise.
24393         ($(objpfx)tst-array3-cmp.out): Likewise.
24394         ($(objpfx)tst-array4-cmp.out): Likewise.
24395         ($(objpfx)tst-array5-cmp.out): Likewise.
24396         ($(objpfx)tst-array5-static-cmp.out): Likewise.
24397         ($(objpfx)check-textrel.out): Likewise.
24398         ($(objpfx)check-execstack.out): Likewise.
24399         ($(objpfx)check-localplt.out): Likewise.
24400         ($(objpfx)order2-cmp.out): Likewise.
24401         ($(objpfx)tst-leaks1-mem): Likewise.
24402         ($(objpfx)tst-leaks1-static-mem): Likewise.
24403         ($(objpfx)tst-initorder-cmp.out): Likewise.
24404         ($(objpfx)tst-initorder2-cmp.out): Likewise.
24405         ($(objpfx)tst-unused-dep.out): Likewise.
24406         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
24407         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
24408         * iconv/Makefile (test-iconvconfig): Likewise.
24409         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
24410         ($(objpfx)iconv-test.out): Likewise.
24411         ($(objpfx)tst-tables.out): Likewise.
24412         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
24413         ($(objpfx)tst-gettext.out): Likewise.
24414         ($(objpfx)tst-translit.out): Likewise.
24415         ($(objpfx)tst-gettext2.out): Likewise.
24416         ($(objpfx)tst-gettext4.out): Likewise.
24417         ($(objpfx)tst-gettext6.out): Likewise.
24418         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
24419         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
24420         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
24421         ($(objpfx)tst-fopenloc-mem.out): Likewise.
24422         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
24423         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
24424         * posix/Makefile ($(objpfx)globtest.out): Likewise.
24425         ($(objpfx)wordexp-tst.out): Likewise.
24426         ($(objpfx)annexc.out): Likewise.
24427         ($(objpfx)tst-fnmatch-mem): Likewise.
24428         ($(objpfx)bug-regex2-mem): Likewise.
24429         ($(objpfx)bug-regex14-mem): Likewise.
24430         ($(objpfx)bug-regex21-mem): Likewise.
24431         ($(objpfx)bug-regex31-mem): Likewise.
24432         ($(objpfx)tst-vfork3-mem): Likewise.
24433         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
24434         ($(objpfx)tst-pcre-mem): Likewise.
24435         ($(objpfx)tst-boost-mem): Likewise.
24436         ($(objpfx)tst-getconf.out): Likewise.
24437         ($(objpfx)bug-ga2-mem): Likewise.
24438         ($(objpfx)bug-glob2-mem): Likewise.
24439         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
24440         ($(objpfx)mtrace-tst-leaks2): Likewise.
24441         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
24442         ($(objpfx)tst-printf.out): Likewise.
24443         ($(objpfx)tst-setvbuf1.out): Likewise.
24444         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
24445         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
24446         ($(objpfx)tst-fmtmsg.out): Likewise.
24447         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
24448         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
24450         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
24451         * bits/sigaction.h [__USE_MISC]: Likewise.
24452         * bits/waitstatus.h: Update #endif comments.
24453         * ctype/ctype.h: Likewise.
24454         * dirent/dirent.h: Likewise.
24455         [__USE_MISC]: Remove redundant conditionals.
24456         * grp/grp.h: Update #endif comments.
24457         [__USE_GNU]: Remove redundant conditionals.
24458         [__USE_MISC]: Likewise.
24459         * inet/netinet/in.h [__USE_GNU]: Likewise.
24460         * io/sys/stat.h [__USE_MISC]: Likewise.
24461         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
24462         * libio/bits/stdio.h: Update #endif comments.
24463         [__USE_MISC]: Remove redundant conditionals.
24464         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
24465         * libio/stdio.h: Update #endif comments.
24466         [__USE_MISC]: Remove redundant conditionals.
24467         * math/bits/math-finite.h [__USE_MISC]: Likewise.
24468         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
24469         * math/math.h: Update #else and #endif comments.
24470         [__USE_MISC]: Remove redundant conditionals.
24471         * misc/sys/uio.h: Update #endif comments.
24472         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
24473         * posix/glob.h [__USE_MISC]: Likewise.
24474         * posix/sys/types.h: Update #endif comments.
24475         [__USE_MISC]: Remove redundant conditionals.
24476         * posix/sys/wait.h: Update #endif comments.
24477         [__USE_MISC]: Remove redundant conditionals.
24478         * posix/unistd.h: Update #endif comments.
24479         [__USE_MISC]: Remove redundant conditionals.
24480         * pwd/pwd.h [__USE_GNU]: Likewise.
24481         [__USE_MISC]: Likewise.
24482         * resolv/netdb.h [__USE_GNU]: Likewise.
24483         * signal/signal.h: Update #endif comments.
24484         [__USE_MISC]: Remove redundant conditionals.
24485         * stdlib/stdlib.h: Update #else and #endif comments.
24486         [__USE_MISC]: Remove redundant conditionals.
24487         [__USE_GNU]: Likewise.
24488         * string/bits/string2.h [__USE_MISC]: Likewise.
24489         * string/string.h: Update #endif comments.
24490         [__USE_MISC]: Remove redundant conditionals.
24491         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
24492         Likewise.
24493         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
24494         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
24495         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
24496         Likewise.
24497         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
24498         Likewise.
24499         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
24500         comments.
24501         [__USE_MISC]: Remove redundant conditionals.
24502         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
24503         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
24504         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
24505         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
24506         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
24507         Likewise.
24508         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
24509         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
24510         Likewise.
24511         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
24512         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
24513         Likewise.
24514         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
24515         Likewise.
24516         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
24517         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
24518         Likewise.
24519         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
24520         Likewise.
24521         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
24522         * sysdeps/x86/bits/string.h: Update #endif comments.
24523         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
24524         conditionals.
24525         * time/sys/time.h: Update #endif comments.
24526         * time/time.h: Likewise.
24527         [__USE_MISC]: Remove redundant conditionals.
24529 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
24531         [BZ #16600]
24532         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
24534 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
24536         * Versions.def (librt): Add GLIBC_2.17.
24538 2014-02-21  Adam Conrad  <adconrad@0c3.net>
24540         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
24541         synonym for _SYS_AUXV_H to allow direct inclusion.
24542         * sysdeps/sparc/bits/hwcap.h: Likewise.
24543         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
24544         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
24545         * sysdeps/sparc/sysdep.h: Likewise.
24547 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24549         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
24551 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24553         * benchtests/bench-strrchr.c: Print length instead of position.
24555 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
24557         [BZ #16611]
24558         * sysdeps/unix/sysv/linux/kernel-features.h
24559         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
24560         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
24561         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
24562         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
24563         Likewise.
24564         [__i386__ || __powerpc__ || __sh__ || __sparc__]
24565         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24566         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
24567         (__ASSUME_SENDMMSG): Define instead of using previous
24568         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
24569         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24570         (__ASSUME_SENDMMSG_SYSCALL): Define.
24571         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24572         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
24573         Likewise.
24574         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24575         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24576         Likewise.
24577         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24578         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24579         Likewise.
24580         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
24581         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
24582         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
24583         [__ASSUME_SENDMMSG]: Change conditionals to
24584         [__ASSUME_SENDMMSG_SOCKETCALL].
24585         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24586         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
24587         Define.
24588         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24589         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
24590         Likewise.
24591         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
24592         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
24593         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
24594         [!__ASSUME_SENDMMSG]: Change conditional to
24595         [!__ASSUME_SENDMMSG_SOCKETCALL].
24596         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24597         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24598         Define.
24600         [BZ #16610]
24601         * sysdeps/unix/sysv/linux/kernel-features.h
24602         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
24603         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
24604         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
24605         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
24606         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24607         [__i386__ || __sparc__]
24608         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24609         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
24610         (__ASSUME_RECVMMSG): Define instead of using previous
24611         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
24612         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24613         (__ASSUME_RECVMMSG_SYSCALL): Define.
24614         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24615         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24616         Likewise.
24617         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24618         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24619         Likewise.
24620         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24621         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24622         Likewise.
24623         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
24624         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
24625         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
24626         [__ASSUME_RECVMMSG]: Change condition to
24627         [__ASSUME_RECVMMSG_SOCKETCALL].
24628         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24629         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24630         Define.
24631         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24632         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24633         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24634         Likewise.
24635         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
24636         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
24637         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
24638         [!__ASSUME_RECVMMSG]: Change condition to
24639         [!__ASSUME_RECVMMSG_SOCKETCALL].
24640         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24641         (__ASSUME_RECVMMSG_SYSCALL): Define.
24643         [BZ #16609]
24644         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
24645         __powerpc__ || __s390__ || __sh__ || __sparc__]
24646         (__ASSUME_SOCKETCALL): Define.
24647         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
24648         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
24649         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
24650         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
24651         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
24652         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
24653         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
24654         (__ASSUME_ACCEPT4): Define instead of using previous
24655         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
24656         __powerpc__ || __sparc__ || __s390__)] condition.
24657         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24658         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
24659         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
24660         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
24661         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
24662         [!__ASSUME_ACCEPT4]: Change condition to
24663         [!__ASSUME_ACCEPT4_SOCKETCALL].
24664         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24665         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
24666         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
24667         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24668         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
24669         __ASSUME_ACCEPT4_SYSCALL.
24670         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
24671         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
24672         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24673         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
24674         __ASSUME_ACCEPT4_SYSCALL.
24675         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
24676         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
24677         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
24678         [__ASSUME_ACCEPT4]: Change condition to
24679         [__ASSUME_ACCEPT4_SOCKETCALL].
24680         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24681         (__ASSUME_SOCKETCALL): Define.
24682         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
24683         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24684         (__ASSUME_SOCKETCALL): Define.
24685         (__ASSUME_ACCEPT4): Remove.
24686         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
24687         Define.
24688         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24689         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
24690         Likewise.
24691         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24692         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
24694         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
24695         macro.
24696         (HWCAP_ARM_LPAE): Likewise.
24697         (HWCAP_ARM_EVTSTRM): Likewise.
24698         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
24699         Add vpfd32, lpae and evtstrm.
24700         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
24701         Increase to 22.
24703 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
24705         * math/auto-libm-test-in: Add tests of clog10.
24706         * math/auto-libm-test-out: Regenerated.
24707         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
24708         * sysdeps/i386/fpu/libm-test-ulps: Update.
24709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24711 2014-02-18  Andreas Schwab  <schwab@suse.de>
24713         [BZ #16574]
24714         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
24715         Store non-zero if the second buffer was newly allocated.
24716         (send_dg): Likewise.
24717         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
24718         to send_vc and send_dg.
24719         (res_nsend): Pass NULL for ansp2_malloced.
24720         * resolv/res_query.c (__libc_res_nquery): Add parameter
24721         answerp2_malloced and pass it down to __libc_res_nsend.
24722         (res_nquery): Pass additional NULL to __libc_res_nquery.
24723         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
24724         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
24725         second answer buffer if answerp2_malloced was set.
24726         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
24727         (__libc_res_nquerydomain): Add parameter
24728         answerp2_malloced and pass it down to __libc_res_nquery.
24729         (res_nquerydomain): Pass additional NULL to
24730         __libc_res_nquerydomain.
24731         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
24732         additional NULL to __libc_res_nsend and __libc_res_nquery.
24733         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
24734         additional NULL to __libc_res_nsearch.
24735         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
24736         parameter of __libc_res_nsearch to check for separately allocated
24737         second buffer.
24738         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
24739         __libc_res_nquery.
24740         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
24741         additional NULL to __libc_res_nquery.
24742         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
24743         __libc_res_nsearch.
24744         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
24745         * include/resolv.h: Update prototypes of __libc_res_nquery,
24746         __libc_res_nsearch, __libc_res_nsend.
24748 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
24750         * math/auto-libm-test-in: Add tests of fma.
24751         * math/auto-libm-test-out: Regenerated.
24752         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
24753         (fma_towardzero_test_data): Likewise.
24754         (fma_downward_test_data): Likewise.
24755         (fma_upward_test_data): Likewise.
24756         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
24757         mpc_mode.
24758         (rounding_modes): Add values for new field.
24759         (func_calc_method): Add value mpfr_fff_f.
24760         (func_calc_desc): Add mpfr_fff_f union field.
24761         (test_function): Add field exact_args.
24762         (FUNC): Add macro argument EXACT_ARGS.
24763         (FUNC_mpfr_f_f): Update call to FUNC.
24764         (FUNC_mpfr_f_f): Likewise.
24765         (FUNC_mpfr_ff_f): Likewise.
24766         (FUNC_mpfr_if_f): Likewise.
24767         (FUNC_mpc_c_f): Likewise.
24768         (FUNC_mpc_c_c): Likewise.
24769         (test_functions): Add fma.  Update calls to FUNC.
24770         (handle_input_arg): Add argument exact_args.
24771         (add_test): Update call to handle_input_arg.
24772         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
24773         (output_for_one_input_case): Update call to calc_generic_results.
24774         Recalculate exact zero results in each rounding mode.
24776         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
24777         non-negative before setting low bit.
24778         * math/auto-libm-test-in: Mark one asin test possibly having
24779         spurious underflow.
24780         * math/auto-libm-test-out: Regenerated.
24781         * sysdeps/i386/fpu/libm-test-ulps: Update.
24782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24784 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
24786         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
24787         * sysdeps/unix/sysv/linux/microblaze: Move directory from
24788         ports/sysdeps/unix/sysv/linux/microblaze.
24789         * README: Add missing listing for microblaze*-*-linux-gnu.
24791 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
24793         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
24794         duplicate code
24796 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
24798         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
24799         * sysdeps/unix/sysv/linux/ia64: Move directory from
24800         ports/sysdeps/unix/sysv/linux/ia64.
24801         * README: Update listing for ia64-*-linux-gnu.
24803 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
24804             Joseph Myers  <joseph@codesourcery.com>
24806         * Makeconfig (test-name): New variable.
24807         (evaluate-test): Likewise.
24808         * Makerules (do-test-clean): Remove .test-result files.
24809         (common-mostlyclean): Likewise.
24810         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
24811         * scripts/evaluate-test.sh: New file.
24813 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
24815         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
24816         separate $(objpfx)tst-fopenloc-cmp.out and
24817         $(objpfx)tst-fopenloc-mem.out targets.
24818         (tests): Update dependencies.
24819         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
24820         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
24821         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
24822         (tst-rxspencer-no-utf8-ARGS): New variable.
24823         (tst-rxspencer-no-utf8-ENV): Likewise.
24824         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
24825         instead of $(objpfx)tst-rxspencer-mem.
24826         ($(objpfx)tst-rxspencer-mem): Change target to
24827         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
24828         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
24829         * posix/tst-rxspencer-no-utf8.c: New file.
24831         * elf/Makefile ($(objpfx)order.out): Remove rule.
24832         [$(run-built-tests) = yes] (tests): Depend on
24833         $(objpfx)order-cmp.out.
24834         ($(objpfx)order-cmp.out): New rule.
24835         [$(run-built-tests) = yes] (tests): Depend on
24836         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
24837         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
24838         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
24839         $(objpfx)tst-array5-static-cmp.out.
24840         ($(objpfx)tst-array1.out): Remove rule.
24841         ($(objpfx)tst-array1-cmp.out): New rule.
24842         ($(objpfx)tst-array1-static.out): Remove rule.
24843         ($(objpfx)tst-array1-static-cmp.out): New rule.
24844         ($(objpfx)tst-array2.out): Remove rule.
24845         ($(objpfx)tst-array2-cmp.out): New rule.
24846         ($(objpfx)tst-array3.out): Remove rule.
24847         ($(objpfx)tst-array3-cmp.out): New rule.
24848         ($(objpfx)tst-array4.out): Remove rule.
24849         ($(objpfx)tst-array4-cmp.out): New rule.
24850         ($(objpfx)tst-array5.out): Remove rule.
24851         ($(objpfx)tst-array5-cmp.out): New rule.
24852         ($(objpfx)tst-array5-static.out): Remove rule.
24853         ($(objpfx)tst-array5-static-cmp.out): New rule.
24854         [$(run-built-tests) = yes] (tests): Depend on
24855         $(objpfx)order2-cmp.out.
24856         ($(objpfx)order2.out): Remove rule.
24857         ($(objpfx)order2-cmp.out): New rule.
24858         ($(objpfx)tst-initorder.out): Remove rule.
24859         [$(run-built-tests) = yes] (tests): Depend on
24860         $(objpfx)tst-initorder-cmp.out.
24861         ($(objpfx)tst-initorder-cmp.out): New rule.
24862         ($(objpfx)tst-initorder2.out): Remove rule.
24863         [$(run-built-tests) = yes] (tests): Depend on
24864         $(objpfx)tst-initorder2-cmp.out.
24865         ($(objpfx)tst-initorder2-cmp.out): New rule.
24866         [$(run-built-tests) = yes] (tests): Depend on
24867         $(objpfx)tst-unused-dep-cmp.out.
24868         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
24869         ($(objpfx)tst-unused-dep-cmp.out): New rule.
24870         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
24871         on $(objpfx)tst-setvbuf1-cmp.out.
24872         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
24873         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
24874         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
24875         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
24876         ($(objpfx)tst-svc.out): Remove rule.
24877         ($(objpfx)tst-svc-cmp.out): New rule.
24879 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
24881         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
24882         * ctype/ctype.h [__USE_MISC]: Likewise.
24883         * dirent/dirent.h [__USE_MISC]: Likewise.
24884         * grp/grp.h [__USE_MISC]: Likewise.
24885         * io/fcntl.h [__USE_MISC]: Likewise.
24886         * io/sys/stat.h [__USE_MISC]: Likewise.
24887         * libio/stdio.h [__USE_MISC]: Likewise.
24888         * posix/unistd.h [__USE_MISC]: Likewise.
24889         * pwd/pwd.h [__USE_MISC]: Likewise.
24890         * stdlib.h [__USE_MISC]: Likewise.
24891         * string/bits/string2.h [__USE_MISC]: Likewise.
24892         * string/string.h [__USE_MISC]: Likewise.
24893         * time/time.h [__USE_MISC]: Likewise.
24895 2014-02-13  Andreas Schwab  <schwab@suse.de>
24897         [BZ #16574]
24898         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
24899         second answer buffer if it was separately allocated.
24901 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
24903         * sysdeps/mips/math-tests.h: Include <features.h>.
24904         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
24905         (ROUNDING_TESTS_long_double): Do not define.
24906         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
24907         (EXCEPTION_TESTS_long_double): Likewise.
24908         * sysdeps/mips/mips64/libm-test-ulps: Update.
24910         * include/features.h (__USE_BSD): Remove macro definitions.
24911         (__USE_SVID): Likewise.
24912         (_BSD_SOURCE): Likewise.
24913         (_SVID_SOURCE): Likewise.
24914         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
24915         from definition of _DEFAULT_SOURCE.
24916         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
24917         [_DEFAULT_SOURCE].
24918         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
24919         * bits/mman.h [__USE_BSD]: Likewise.
24920         * bits/termios.h [__USE_BSD]: Likewise.
24921         * bits/waitstatus.h [__USE_BSD]: Likewise.
24922         * ctype/ctype.h [__USE_SVID]: Likewise.
24923         * dirent/dirent.h [__USE_BSD]: Likewise.
24924         * grp/grp.h [__USE_SVID]: Likewise.
24925         [__USE_BSD]: Likewise.
24926         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
24927         * io/fcntl.h [__USE_BSD]: Likewise.
24928         * io/ftw.h [__USE_BSD]: Likewise.
24929         * io/sys/stat.h [__USE_BSD]: Likewise.
24930         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
24931         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
24932         * libio/stdio.h [__USE_SVID]: Likewise.
24933         [__USE_BSD]: Likewise.
24934         * math/math.h [__USE_SVID]: Likewise.
24935         [__USE_BSD]: Likewise.
24936         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
24937         * misc/bits/syslog.h [__USE_BSD]: Likewise.
24938         * misc/search.h [__USE_SVID]: Likewise.
24939         * misc/sys/mman.h [__USE_BSD]: Likewise.
24940         * misc/sys/syslog.h [__USE_BSD]: Likewise.
24941         * misc/sys/uio.h [__USE_BSD]: Likewise.
24942         * posix/bits/unistd.h [__USE_BSD]: Likewise.
24943         * posix/glob.h [__USE_BSD]: Likewise.
24944         * posix/regex.h [__USE_BSD]: Likewise.
24945         * posix/sys/types.h [__USE_BSD]: Likewise.
24946         [__USE_SVID]: Likewise.
24947         * posix/sys/utsname.h [__USE_SVID]: Likewise.
24948         * posix/sys/wait.h [__USE_BSD]: Likewise.
24949         [__USE_SVID]: Likewise.
24950         * posix/unistd.h [__USE_BSD]: Likewise.
24951         [__USE_SVID]: Likewise.
24952         * pwd/pwd.h [__USE_SVID]: Likewise.
24953         * resolv/netdb.h [__USE_BSD]: Likewise.
24954         * setjmp/setjmp.h [__USE_BSD]: Likewise.
24955         * signal/signal.h [__USE_BSD]: Likewise.
24956         [__USE_SVID]: Likewise.
24957         * socket/sys/socket.h [__USE_BSD]: Likewise.
24958         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
24959         * stdlib/stdlib.h [__USE_BSD]: Likewise.
24960         [__USE_SVID]: Likewise.
24961         * string/bits/string2.h [__USE_BSD]: Likewise.
24962         [__USE_SVID]: Likewise.
24963         * string/bits/string3.h [__USE_BSD]: Likewise.
24964         * string/endian.h [__USE_BSD]: Likewise.
24965         * string/string.h [__USE_SVID]: Likewise.
24966         [__USE_BSD]: Likewise.
24967         * string/strings.h [__USE_BSD]: Likewise.
24968         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
24969         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
24970         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
24971         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
24972         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
24973         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
24974         Likewise.
24975         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
24976         Likewise.
24977         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
24978         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
24979         Likewise.
24980         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
24981         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
24982         Likewise.
24983         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
24984         Likewise.
24985         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
24986         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
24987         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
24988         Likewise.
24989         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
24990         Likewise.
24991         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
24992         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
24993         * termios/termios.h [__USE_BSD]: Likewise.
24994         * time/sys/time.h [__USE_BSD]: Likewise.
24995         * time/time.h [__USE_BSD]: Likewise.
24996         [__USE_SVID]: Likewise.
24998         * Makefile (subdir_targets): Remove subdir_lint.out.
25000         * stdio-common/Makefile (do-tst-unbputc): Remove target.
25001         (do-tst-printf): Likewise.
25002         (tests): Depend directly on $(objpfx)tst-unbputc.out and
25003         $(objpfx)tst-printf.out.
25005         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
25007         * Makerules (check-abi-%): Change target to
25008         $(objpfx)check-abi-%.out.
25009         (check-abi target): Update dependencies.
25010         (check-abi-pattern variable): Redirect output of diff to $@.
25011         (check-abi variable): Likewise.
25012         * elf/Makefile (check-abi): Update dependencies.
25014         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
25015         unused.
25016         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
25017         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
25018         subnormal range.
25019         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
25020         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
25021         value has largest subnormal exponent.
25022         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
25023         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
25024         * sysdeps/aarch64/soft-fp/sfp-machine.h
25025         (_FP_TININESS_AFTER_ROUNDING): New macro.
25026         * sysdeps/alpha/soft-fp/sfp-machine.h
25027         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25028         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25029         Likewise.
25030         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
25031         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25032         * sysdeps/mips/soft-fp/sfp-machine.h
25033         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25034         * sysdeps/powerpc/soft-fp/sfp-machine.h
25035         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25036         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25037         Likewise.
25038         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
25039         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25040         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
25041         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25042         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25043         Likewise.
25045 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
25047         [BZ #16545]
25048         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
25049         model 1.
25051 2014-02-12  Richard Henderson  <rth@redhat.com>
25053         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
25054         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
25055         * sysdeps/unix/sysv/linux/alpha: Move directory from
25056         ports/sysdeps/unix/sysv/linux/alpha.
25057         * README: Update listing for alpha-*-linux-gnu.
25059 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
25061         * include/features.h: Update comment documenting feature test
25062         macros.
25063         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
25064         _DEFAULT_SOURCE.
25065         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
25066         (_SVID_SOURCE): Likewise.
25067         (_DEFAULT_SOURCE): Update description of default features.
25068         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
25069         with _GNU_SOURCE.
25070         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
25071         (S_ISVTX): Likewise.
25072         * manual/math.texi (Mathematical Constants): Likewise.
25073         * manual/signal.texi (Interrupted Primitives): Likewise.
25074         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
25075         * math/test-matherr.c (_SVID_SOURCE): Do not define.
25076         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
25077         Don't refer to _SVID_SOURCE in warning text.
25079         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25081         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
25082         already defined.
25083         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
25084         * sysdeps/mips/dl-lookup.c: Remove.
25085         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
25087 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
25089         [BZ #16447]
25090         * math/auto-libm-test-in: Add testcase for expl.
25091         * math/auto-libm-test-out: Regenerate.
25092         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
25093         calculation of unsafe.
25094         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
25096 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
25098         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
25099         * sysdeps/unix/sysv/linux/aarch64: Move directory from
25100         ports/sysdeps/unix/sysv/linux/aarch64.
25101         * README: Update listing for aarch64*-*-linux-gnu.
25103 2014-02-11  Will Newton  <will.newton@linaro.org>
25105         * manual/probes.texi (Mathematical Function Probes): Use
25106         "triggered" instead of "hit".
25108         * manual/probes.texi (Internal Probes): Add documentation
25109         of setjmp, longjmp and longjmp_target probes.
25111         * include/stap-probe.h: Add comment about probe argument
25112         format.
25114         * malloc/mtrace.c (attribute_hidden): Remove unused macro
25115         definition.  (tr_where, tr_freehook, tr_mallochook,
25116         tr_reallochook, tr_memalignhook): Use ANSI protoype.
25118 2014-02-11  David S. Miller  <davem@davemloft.net>
25120         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
25121         processing int_tests.
25123 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
25125         * sysdeps/mips: Move directory from ports/sysdeps/mips.
25126         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
25127         * sysdeps/unix/sysv/linux/mips: Move directory from
25128         ports/sysdeps/unix/sysv/linux/mips.
25129         * README: Update listing for mips-*-linux-gnu and
25130         mips64-*-linux-gnu.
25132 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
25134         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
25135         * sysdeps/unix/sysv/linux/m68k: Move directory from
25136         ports/sysdeps/unix/sysv/linux/m68k.
25137         * README: Update listing for m68k-*-linux-gnu.
25139 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
25141         * sysdeps/tile: Move directory from ports/sysdeps/tile.
25142         * sysdeps/unix/sysv/linux/generic: Move directory from
25143         ports/sysdeps/unix/sysv/linux/generic.
25144         * sysdeps/unix/sysv/linux/tile: Move directory from
25145         ports/sysdeps/unix/sysv/linux/tile.
25146         * README: Update listing for tile*-*-linux-gnu.
25148 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
25150         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
25151         __builtin_expect.
25152         * benchtests/bench-memmem.c (simple_memmem): Likewise.
25153         * catgets/open_catalog.c (__open_catalog): Likewise.
25154         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
25155         * debug/confstr_chk.c: Likewise.
25156         * debug/fread_chk.c (__fread_chk): Likewise.
25157         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
25158         * debug/getgroups_chk.c: Likewise.
25159         * debug/mbsnrtowcs_chk.c: Likewise.
25160         * debug/mbsrtowcs_chk.c: Likewise.
25161         * debug/mbstowcs_chk.c: Likewise.
25162         * debug/memcpy_chk.c: Likewise.
25163         * debug/memmove_chk.c: Likewise.
25164         * debug/mempcpy_chk.c: Likewise.
25165         * debug/memset_chk.c: Likewise.
25166         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
25167         * debug/strcat_chk.c (__strcat_chk): Likewise.
25168         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
25169         * debug/strncat_chk.c (__strncat_chk): Likewise.
25170         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
25171         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
25172         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
25173         * debug/wcpncpy_chk.c: Likewise.
25174         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
25175         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
25176         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
25177         * debug/wcsncpy_chk.c: Likewise.
25178         * debug/wcsnrtombs_chk.c: Likewise.
25179         * debug/wcsrtombs_chk.c: Likewise.
25180         * debug/wcstombs_chk.c: Likewise.
25181         * debug/wmemcpy_chk.c: Likewise.
25182         * debug/wmemmove_chk.c: Likewise.
25183         * debug/wmempcpy_chk.c: Likewise.
25184         * debug/wmemset_chk.c: Likewise.
25185         * dirent/scandirat.c (SCANDIRAT): Likewise.
25186         * dlfcn/dladdr1.c (dladdr1): Likewise.
25187         * dlfcn/dladdr.c (dladdr): Likewise.
25188         * dlfcn/dlclose.c (dlclose_doit): Likewise.
25189         * dlfcn/dlerror.c (__dlerror): Likewise.
25190         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
25191         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
25192         * dlfcn/dlopen.c (dlopen_doit): Likewise.
25193         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
25194         * dlfcn/dlsym.c (dlsym_doit): Likewise.
25195         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
25196         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
25197         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
25198         Likewise.
25199         * elf/dl-conflict.c: Likewise.
25200         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
25201         * elf/dl-dst.h: Likewise.
25202         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
25203         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
25204         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
25205         * elf/dl-init.c (call_init, _dl_init): Likewise.
25206         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
25207         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
25208         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
25209         Likewise.
25210         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
25211         Likewise.
25212         * elf/dl-minimal.c (__libc_memalign): Likewise.
25213         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
25214         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
25215         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
25216         * elf/dl-sym.c (do_sym): Likewise.
25217         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
25218         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
25219         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
25220         * elf/dl-writev.h (_dl_writev): Likewise.
25221         * elf/ldconfig.c (search_dir): Likewise.
25222         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
25223         (dl_main): Likewise.
25224         * elf/setup-vdso.h (setup_vdso): Likewise.
25225         * grp/compat-initgroups.c (compat_call): Likewise.
25226         * grp/fgetgrent.c (fgetgrent): Likewise.
25227         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
25228         * grp/putgrent.c (putgrent): Likewise.
25229         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
25230         Likewise.
25231         * hurd/hurdinit.c: Likewise.
25232         * iconvdata/8bit-gap.c (struct): Likewise.
25233         * iconvdata/ansi_x3.110.c : Likewise.
25234         * iconvdata/big5.c : Likewise.
25235         * iconvdata/big5hkscs.c : Likewise.
25236         * iconvdata/cp1255.c: Likewise.
25237         * iconvdata/cp1258.c : Likewise.
25238         * iconvdata/cp932.c : Likewise.
25239         * iconvdata/euc-cn.c: Likewise.
25240         * iconvdata/euc-jisx0213.c : Likewise.
25241         * iconvdata/euc-jp.c: Likewise.
25242         * iconvdata/euc-jp-ms.c : Likewise.
25243         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
25244         * iconvdata/gb18030.c : Likewise.
25245         * iconvdata/gbbig5.c (const): Likewise.
25246         * iconvdata/gbgbk.c: Likewise.
25247         * iconvdata/gbk.c : Likewise.
25248         * iconvdata/ibm1364.c : Likewise.
25249         * iconvdata/ibm930.c : Likewise.
25250         * iconvdata/ibm932.c: Likewise.
25251         * iconvdata/ibm933.c : Likewise.
25252         * iconvdata/ibm935.c : Likewise.
25253         * iconvdata/ibm937.c : Likewise.
25254         * iconvdata/ibm939.c : Likewise.
25255         * iconvdata/ibm943.c: Likewise.
25256         * iconvdata/iso_11548-1.c: Likewise.
25257         * iconvdata/iso-2022-cn.c : Likewise.
25258         * iconvdata/iso-2022-cn-ext.c : Likewise.
25259         * iconvdata/iso-2022-jp-3.c: Likewise.
25260         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
25261         * iconvdata/iso-2022-kr.c : Likewise.
25262         * iconvdata/iso646.c (gconv_end): Likewise.
25263         * iconvdata/iso_6937-2.c : Likewise.
25264         * iconvdata/iso_6937.c : Likewise.
25265         * iconvdata/iso8859-1.c: Likewise.
25266         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
25267         * iconvdata/shift_jisx0213.c : Likewise.
25268         * iconvdata/sjis.c : Likewise.
25269         * iconvdata/t.61.c : Likewise.
25270         * iconvdata/tcvn5712-1.c : Likewise.
25271         * iconvdata/tscii.c: Likewise.
25272         * iconvdata/uhc.c : Likewise.
25273         * iconvdata/unicode.c (gconv_end): Likewise.
25274         * iconvdata/utf-16.c (gconv_end): Likewise.
25275         * iconvdata/utf-32.c (gconv_end): Likewise.
25276         * iconvdata/utf-7.c (base64): Likewise.
25277         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
25278         * iconv/gconv_close.c (__gconv_close): Likewise.
25279         * iconv/gconv_open.c (__gconv_open): Likewise.
25280         * iconv/gconv_simple.c (internal_ucs4_loop_single)
25281         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
25282         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
25283         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
25284         (ucs4le_internal_loop_single): Likewise.
25285         * iconv/iconv.c (iconv): Likewise.
25286         * iconv/iconv_close.c: Likewise.
25287         * iconv/loop.c (SINGLE): Likewise.
25288         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
25289         * include/atomic.h: Likewise.
25290         * inet/inet6_option.c (option_alloc): Likewise.
25291         * intl/bindtextdom.c (set_binding_values): Likewise.
25292         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
25293         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
25294         * intl/localealias.c (read_alias_file): Likewise.
25295         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
25296         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
25297         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
25298         * libio/fmemopen.c (fmemopen): Likewise.
25299         * libio/iofgets.c (_IO_fgets): Likewise.
25300         * libio/iofgets_u.c (fgets_unlocked): Likewise.
25301         * libio/iofgetws.c (fgetws): Likewise.
25302         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
25303         * libio/iogetdelim.c (_IO_getdelim): Likewise.
25304         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
25305         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
25306         * locale/findlocale.c (_nl_find_locale): Likewise.
25307         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
25308         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
25309         Likewise.
25310         * locale/setlocale.c (setlocale): Likewise.
25311         * login/programs/pt_chown.c (main): Likewise.
25312         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
25313         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
25314         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
25315         (mmap, mmap64, mremap, munmap): Likewise.
25316         * math/e_exp2l.c: Likewise.
25317         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
25318         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
25319         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
25320         * math/s_catan.c (__catan): Likewise.
25321         * math/s_catanf.c (__catanf): Likewise.
25322         * math/s_catanh.c (__catanh): Likewise.
25323         * math/s_catanhf.c (__catanhf): Likewise.
25324         * math/s_catanhl.c (__catanhl): Likewise.
25325         * math/s_catanl.c (__catanl): Likewise.
25326         * math/s_ccosh.c (__ccosh): Likewise.
25327         * math/s_ccoshf.c (__ccoshf): Likewise.
25328         * math/s_ccoshl.c (__ccoshl): Likewise.
25329         * math/s_cexp.c (__cexp): Likewise.
25330         * math/s_cexpf.c (__cexpf): Likewise.
25331         * math/s_cexpl.c (__cexpl): Likewise.
25332         * math/s_clog10.c (__clog10): Likewise.
25333         * math/s_clog10f.c (__clog10f): Likewise.
25334         * math/s_clog10l.c (__clog10l): Likewise.
25335         * math/s_clog.c (__clog): Likewise.
25336         * math/s_clogf.c (__clogf): Likewise.
25337         * math/s_clogl.c (__clogl): Likewise.
25338         * math/s_csin.c (__csin): Likewise.
25339         * math/s_csinf.c (__csinf): Likewise.
25340         * math/s_csinh.c (__csinh): Likewise.
25341         * math/s_csinhf.c (__csinhf): Likewise.
25342         * math/s_csinhl.c (__csinhl): Likewise.
25343         * math/s_csinl.c (__csinl): Likewise.
25344         * math/s_csqrt.c (__csqrt): Likewise.
25345         * math/s_csqrtf.c (__csqrtf): Likewise.
25346         * math/s_csqrtl.c (__csqrtl): Likewise.
25347         * math/s_ctan.c (__ctan): Likewise.
25348         * math/s_ctanf.c (__ctanf): Likewise.
25349         * math/s_ctanh.c (__ctanh): Likewise.
25350         * math/s_ctanhf.c (__ctanhf): Likewise.
25351         * math/s_ctanhl.c (__ctanhl): Likewise.
25352         * math/s_ctanl.c (__ctanl): Likewise.
25353         * math/w_pow.c: Likewise.
25354         * math/w_powf.c: Likewise.
25355         * math/w_powl.c: Likewise.
25356         * math/w_scalb.c (sysv_scalb): Likewise.
25357         * math/w_scalbf.c (sysv_scalbf): Likewise.
25358         * math/w_scalbl.c (sysv_scalbl): Likewise.
25359         * misc/error.c (error_tail): Likewise.
25360         * misc/pselect.c (__pselect): Likewise.
25361         * nis/nis_callback.c (__nis_create_callback): Likewise.
25362         * nis/nis_call.c (__nisfind_server): Likewise.
25363         * nis/nis_creategroup.c (nis_creategroup): Likewise.
25364         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
25365         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
25366         * nis/nis_getservlist.c (nis_getservlist): Likewise.
25367         * nis/nis_lookup.c (nis_lookup): Likewise.
25368         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
25369         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
25370         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
25371         * nis/nis_xdr.c (xdr_endpoint): Likewise.
25372         * nis/nss_compat/compat-grp.c (getgrent_next_file)
25373         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
25374         * nis/nss_compat/compat-initgroups.c (add_group)
25375         (internal_getgrent_r): Likewise.
25376         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
25377         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
25378         * nis/nss_compat/compat-spwd.c (getspent_next_file)
25379         (internal_getspnam_r): Likewise.
25380         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
25381         (_nss_nis_getaliasbyname_r): Likewise.
25382         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
25383         (_nss_nis_getntohost_r): Likewise.
25384         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
25385         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
25386         (_nss_nis_getgrgid_r): Likewise.
25387         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
25388         (internal_nis_gethostent_r, internal_gethostbyname2_r)
25389         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
25390         (_nss_nis_gethostbyname4_r): Likewise.
25391         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
25392         (initgroups_netid): Likewise.
25393         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
25394         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
25395         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
25396         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
25397         (_nss_nis_getprotobynumber_r): Likewise.
25398         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
25399         (_nss_nis_getsecretkey): Likewise.
25400         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
25401         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
25402         (_nss_nis_getpwuid_r): Likewise.
25403         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
25404         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
25405         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
25406         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
25407         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
25408         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
25409         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
25410         Likewise.
25411         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
25412         (_nss_nisplus_getntohost_r): Likewise.
25413         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
25414         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
25415         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
25416         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
25417         Likewise.
25418         * nis/nss_nisplus/nisplus-initgroups.c
25419         (_nss_nisplus_initgroups_dyn): Likewise.
25420         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
25421         (_nss_nisplus_getnetbyaddr_r): Likewise.
25422         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
25423         (_nss_nisplus_getprotobynumber_r): Likewise.
25424         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
25425         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
25426         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
25427         Likewise.
25428         * nis/nss_nisplus/nisplus-service.c
25429         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
25430         (_nss_nisplus_getservbyport_r): Likewise.
25431         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
25432         (_nss_nisplus_getspnam_r): Likewise.
25433         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
25434         Likewise.
25435         * nscd/aicache.c (addhstaiX): Likewise.
25436         * nscd/cache.c (cache_search, prune_cache): Likewise.
25437         * nscd/connections.c (register_traced_file, send_ro_fd)
25438         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
25439         (main_loop_epoll): Likewise.
25440         * nscd/grpcache.c (addgrbyX): Likewise.
25441         * nscd/hstcache.c (addhstbyX): Likewise.
25442         * nscd/initgrcache.c (addinitgroupsX): Likewise.
25443         * nscd/mem.c (gc, mempool_alloc): Likewise.
25444         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
25445         (addinnetgrX): Likewise.
25446         * nscd/nscd-client.h (__nscd_acquire_maplock)
25447         (__nscd_drop_map_ref): Likewise.
25448         * nscd/nscd_getai.c (__nscd_getai): Likewise.
25449         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
25450         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
25451         Likewise.
25452         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
25453         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25454         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
25455         (__nscd_get_map_ref): Likewise.
25456         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
25457         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
25458         Likewise.
25459         * nscd/pwdcache.c (addpwbyX): Likewise.
25460         * nscd/selinux.c (preserve_capabilities): Likewise.
25461         * nscd/servicescache.c (addservbyX): Likewise.
25462         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
25463         * posix/fnmatch.c (fnmatch): Likewise.
25464         * posix/getopt.c (_getopt_internal_r): Likewise.
25465         * posix/glob.c (glob, glob_in_dir): Likewise.
25466         * posix/wordexp.c (exec_comm_child): Likewise.
25467         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
25468         (getanswer_r, gaih_getanswer_slice): Likewise.
25469         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
25470         * resolv/res_init.c: Likewise.
25471         * resolv/res_mkquery.c (res_nmkquery): Likewise.
25472         * resolv/res_query.c (__libc_res_nquery): Likewise.
25473         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
25474         Likewise.
25475         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
25476         * stdio-common/perror.c (perror): Likewise.
25477         * stdio-common/printf_fp.c (___printf_fp): Likewise.
25478         * stdio-common/tmpnam.c (tmpnam): Likewise.
25479         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25480         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
25481         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
25482         Likewise.
25483         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
25484         * stdlib/putenv.c (putenv): Likewise.
25485         * stdlib/setenv.c (__add_to_environ): Likewise.
25486         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25487         * stdlib/strtol_l.c (INTERNAL): Likewise.
25488         * string/memmem.c (memmem): Likewise.
25489         * string/strerror.c (strerror): Likewise.
25490         * string/strnlen.c (__strnlen): Likewise.
25491         * string/test-memmem.c (simple_memmem): Likewise.
25492         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
25493         * sunrpc/pm_getport.c (__get_socket): Likewise.
25494         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
25495         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
25496         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
25497         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
25498         Likewise.
25499         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
25500         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
25501         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
25502         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
25503         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
25504         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
25505         Likewise.
25506         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
25507         Likewise.
25508         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
25509         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
25510         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25511         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
25512         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
25513         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
25514         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
25515         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
25516         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
25517         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
25518         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
25519         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
25520         Likewise.
25521         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
25522         Likewise.
25523         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
25524         Likewise.
25525         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
25526         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25527         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
25528         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
25529         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
25530         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
25531         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
25532         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
25533         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
25534         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
25535         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
25536         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25537         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
25538         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
25539         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25540         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
25541         Likewise.
25542         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
25543         Likewise.
25544         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
25545         Likewise.
25546         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
25547         Likewise.
25548         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25549         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25550         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
25551         Likewise.
25552         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
25553         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
25554         * sysdeps/posix/opendir.c (__opendirat): Likewise.
25555         * sysdeps/posix/sleep.c: Likewise.
25556         * sysdeps/posix/tempname.c: Likewise.
25557         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
25558         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
25559         Likewise.
25560         * sysdeps/powerpc/powerpc32/dl-machine.h
25561         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
25562         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
25563         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
25564         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
25565         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
25566         Likewise.
25567         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
25568         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
25569         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
25570         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
25571         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
25572         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
25573         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
25574         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
25575         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25576         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
25577         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
25578         (elf_machine_lazy_rel): Likewise.
25579         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25580         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
25581         (elf_machine_lazy_rel): Likewise.
25582         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
25583         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
25584         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
25585         * sysdeps/unix/grantpt.c (grantpt): Likewise.
25586         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
25587         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
25588         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
25589         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25590         Likewise.
25591         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
25592         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
25593         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
25594         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
25595         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25596         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25597         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
25598         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
25599         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
25600         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25601         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
25602         Likewise.
25603         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
25604         (__posix_fallocate64_l64): Likewise.
25605         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
25606         (posix_fallocate): Likewise.
25607         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
25608         Likewise.
25609         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25610         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
25611         (getifaddrs_internal): Likewise.
25612         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
25613         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
25614         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
25615         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
25616         * sysdeps/unix/sysv/linux/posix_fallocate64.c
25617         (__posix_fallocate64_l64): Likewise.
25618         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
25619         Likewise.
25620         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
25621         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
25622         (__get_clockfreq): Likewise.
25623         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
25624         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
25625         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
25626         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25627         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25628         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
25629         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
25630         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
25631         Likewise.
25632         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
25633         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
25634         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
25635         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
25636         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25637         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
25638         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
25639         Likewise.
25640         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25641         (posix_fallocate): Likewise.
25642         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25643         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
25644         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
25645         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
25646         (elf_machine_rela, elf_machine_rela_relative)
25647         (elf_machine_lazy_rel): Likewise.
25648         * time/asctime.c (asctime_internal): Likewise.
25649         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
25650         * time/tzset.c (__tzset_parse_tz): Likewise.
25651         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
25652         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
25653         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
25654         * wcsmbs/wcsmbsload.h: Likewise.
25656         [BZ #15894]
25657         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
25659         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
25660         (arena_get2): Remove THREAD_STATS conditionals.
25661         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
25662         (__malloc_stats, int): Likewise.
25664 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
25666         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
25667         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
25669         * manual/setjmp.texi: Fix typos/grammar errors.
25671         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
25672         Only return early when n is <= 0.  Delete unused return statement.
25674         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
25675         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
25676         * debug/tst-longjmp_chk3.c: New file.
25678         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
25679         (test_main): Replace code with set_fortify_handler call.
25680         * debug/test-strcpy_chk.c: Likewise.
25681         * debug/tst-chk1.c: Likewise.
25682         * debug/tst-longjmp_chk.c: Likewise.
25683         * test-skeleton.c: Include fcntl.h & paths.h
25684         (set_fortify_handler): Define.
25686         * debug/tst-longjmp_chk.c: Add header comment and include
25687         ../test-skeleton.c.
25688         (do_test): Mark static.
25689         (TEST_FUNCTION): Define.
25691         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
25692         (IP_PMTUDISC_INTERFACE): Likewise.
25693         (IP_MULTICAST_IF): Likewise.
25694         (IP_MULTICAST_TTL): Likewise.
25695         (IP_MULTICAST_LOOP): Likewise.
25696         (IP_ADD_MEMBERSHIP): Likewise.
25697         (IP_DROP_MEMBERSHIP): Likewise.
25698         (IP_UNBLOCK_SOURCE): Likewise.
25699         (IP_BLOCK_SOURCE): Likewise.
25700         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
25701         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
25702         (IP_MSFILTER): Likewise.
25703         (MCAST_JOIN_GROUP): Likewise.
25704         (MCAST_BLOCK_SOURCE): Likewise.
25705         (MCAST_UNBLOCK_SOURCE): Likewise.
25706         (MCAST_LEAVE_GROUP): Likewise.
25707         (MCAST_JOIN_SOURCE_GROUP): Likewise.
25708         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
25709         (MCAST_MSFILTER): Likewise.
25710         (IP_MULTICAST_ALL): Likewise.
25711         (IP_UNICAST_IF): Likewise.
25713         * timezone/Makefile: Delete $(have-ksh) check.
25714         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
25715         * timezone/tzselect.ksh: Add +x mode bits.
25717         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
25718         (ANON_INODE_FS_MAGIC): Likewise.
25719         (BDEVFS_MAGIC): Likewise.
25720         (BINFMTFS_MAGIC): Likewise.
25721         (BTRFS_TEST_MAGIC): Likewise.
25722         (CRAMFS_MAGIC_WEND): Likewise.
25723         (DEBUGFS_MAGIC): Likewise.
25724         (ECRYPTFS_SUPER_MAGIC): Likewise.
25725         (EXT3_SUPER_MAGIC): Likewise.
25726         (EXT4_SUPER_MAGIC): Likewise.
25727         (FUTEXFS_SUPER_MAGIC): Likewise.
25728         (HOSTFS_SUPER_MAGIC): Likewise.
25729         (HUGETLBFS_MAGIC): Likewise.
25730         (MINIX3_SUPER_MAGIC): Likewise.
25731         (MTD_INODE_FS_MAGIC): Likewise.
25732         (NILFS_SUPER_MAGIC): Likewise.
25733         (OPENPROM_SUPER_MAGIC): Likewise.
25734         (PIPEFS_MAGIC): Likewise.
25735         (PSTOREFS_MAGIC): Likewise.
25736         (QNX6_SUPER_MAGIC): Likewise.
25737         (RAMFS_MAGIC): Likewise.
25738         (REISERFS_SUPER_MAGIC_STRING): Likewise.
25739         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
25740         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
25741         (SECURITYFS_MAGIC): Likewise.
25742         (SELINUX_MAGIC): Likewise.
25743         (SMACK_MAGIC): Likewise.
25744         (SOCKFS_MAGIC): Likewise.
25745         (SQUASHFS_MAGIC): Likewise.
25746         (STACK_END_MAGIC): Likewise.
25747         (TMPFS_MAGIC): Likewise.
25748         (USBDEVICE_SUPER_MAGIC): Likewise.
25749         (V9FS_MAGIC): Likewise.
25750         (XENFS_SUPER_MAGIC): Likewise.
25751         (CRAMFS_MAGIC): Fix typo in comment.
25752         (EXT2_SUPER_MAGIC): Update comment.
25753         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
25755 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
25757         * sysdeps/arm: Move directory from ports/sysdeps/arm.
25758         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
25759         * sysdeps/unix/sysv/linux/arm: Move directory from
25760         ports/sysdeps/unix/sysv/linux/arm.
25761         * README: Update listing for arm-*-linux-gnueabi.
25763         * README: Remove mention of am33.
25765 2014-02-07  Roland McGrath  <roland@hack.frob.com>
25767         * bits/sigset.h (__sigemptyset): Use a statement expression rather
25768         than the comma operator, to avoid "rhs of comma has no effect"
25769         compiler warnings.
25770         (__sigfillset, __sigandset, __sigorset): Likewise.
25771         * include/signal.h (__sigemptyset): Likewise.
25772         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
25774 2014-02-07  Allan McRae  <allan@archlinux.org>
25776         * version.h (RELEASE): Set to "development".
25777         (VERSION): Set to "2.19.90"
25778         * NEWS: Add 2.20 section.
25780 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
25782         [BZ #16529]
25783         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
25785 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25787         * manual/contrib.texi: Update entry for Carlos O'Donell,
25788         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
25790 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
25792         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
25794         * sysdeps/unix/sysv/linux/kernel-features.h
25795         [__LINUX_KERNEL_VERSION >= 0x020621]
25796         (__ASSUME_PROC_PID_TASK_COMM): Define.
25798 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25800         [BZ #16398]
25801         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
25802         conversion when destination buffer does not have enough space.
25803         * libio/tst-ftell-partial-wide.c: New test case.
25804         * libio/Makefile (tests): Add tst-ftell-partial-wide.
25806         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
25807         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
25808         Leonard and Allan McRae.
25810 2014-02-04  David S. Miller  <davem@davemloft.net>
25812         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
25813         32-bit.
25815 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
25818         New file
25819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
25820         New file
25821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
25822         New file.
25823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
25824         New file.
25825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
25826         New file.
25827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
25828         New file.
25829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
25830         New file.
25831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
25832         New file.
25833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
25834         New file.
25835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
25836         New file.
25837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
25838         New file.
25839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
25840         New file.
25841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
25842         New file.
25844 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25846         * nptl/shlib-versions: Change powerpc*le start to 2.17.
25847         * shlib-versions: Likewise.
25849 2014-02-04  Roland McGrath  <roland@hack.frob.com>
25850             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25852         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
25853         (abilist-pattern): New variable, set to %-le.abilist.
25855         * Makerules (abilist-pattern): New variable.
25856         (vpath): Use $(abilist-pattern) in place of %.abilist.
25857         (check-abi-% pattern rule): Likewise.
25858         (check-abi, update-abi): Likewise.
25860 2014-02-04  Eric Wong  <normalperson@yhbt.net>
25862         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25864 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
25866         * manual/startup.texi: Add next, previous, and top entries for
25867         the `Program Arguments' and `Environment Variables' nodes.
25869 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
25871         * manual/macros.texi: Add comments before MTASC-safety macros.
25873         * manual/users.texi: Document MTASC-safety properties.
25875         * manual/threads.texi (pthread_key_create, pthread_key_delete)
25876         (pthread_getspecific, pthread_setspecific): Format with
25877         @deftypefun, and add @safety note.
25878         * manual/signal.texi: Move comments that analyze the above
25879         functions to their home place.
25881 2014-02-03  Allan McRae  <allan@archlinux.org>
25883         * po/sl.po: Update Slovenian translation from translation project.
25885 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
25887         * manual/time.texi (timegm): Add missing blank after @c.
25888         Reported by Joseph Myers <joseph@codesourcery.com>.
25890 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
25892         * manual/check-safety.sh: New.
25893         * manual/Makefile ($(objpfx)stamp-summary): Run it.
25895         * manual/terminal.texi: Document MTASC-safety properties.
25897         * manual/filesys.texi: Document MTASC-safety properties.
25899         * manual/errno.texi: Document MTASC-safety properties.
25901         * manual/intro.texi: Document safety identifiers and
25902         conditionals.
25904         * manual/string.texi (wcstok): Fix prototype.
25905         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
25907         * manual/time.texi: Document MTASC-safety properties.
25909         * manual/string.texi: Document MTASC-safety properties.
25911         * manual/threads.texi: Document MTASC-safety properties.
25913         * manual/stdio.texi: Document MTASC-safety properties.
25915         * manual/syslog.texi: Document MTASC-safety properties.
25917         * manual/sysinfo.texi: Document MTASC-safety properties.
25919         * manual/startup.texi: Document MTASC-safety properties.
25921         * manual/socket.texi: Document MTASC-safety properties.
25923         * manual/signal.texi: Document MTASC-safety properties.
25925 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
25927         * manual/setjmp.texi: Document MTASC-safety properties.
25929         * manual/search.texi: Document MTASC-safety properties.
25931         * manual/resource.texi: Document MTASC-safety properties.
25933         * manual/process.texi: Document MTASC-safety properties.
25935         * manual/platform.texi: Document MTASC-safety properties.
25937         * manual/pipe.texi: Document MTASC-safety properties.
25939         * manual/pattern.texi: Document MTASC-safety properties.
25941         * manual/message.texi: Document MTASC-safety properties.
25943         [BZ #12751]
25944         * manual/memory.texi: Document MTASC-safety properties.
25946         * manual/math.texi: Document MTASC-safety properties.
25948         * manual/locale.texi: Document MTASC-safety properties.
25950         * manual/llio.texi: Document MTASC-safety properties.
25952         * manual/libdl.texi: New.
25954         * manual/lang.texi: Document MTASC-safety properties.
25956         * manual/job.texi: Document MTASC-safety properties.
25958         * manual/getopt.texi: Document MTASC-safety properties.
25960         * manual/ctype.texi: Document MTASC-safety properties.
25962 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
25964         [BZ #16046]
25965         * csu/libc-tls.c (static_map): Remove variable.
25966         (__libc_setup_tls): Use main executable's link map for TLS data.
25967         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
25968         casing for LM_ID_BASE and GL(dl_nns).
25969         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
25970         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
25971         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
25972         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
25973         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
25974         member.
25975         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
25976         l_phnum members.
25978 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
25980         * manual/debug.texi: Document MTASC-safety properties.
25982 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
25984         [BZ #16510]
25985         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
25986         of __x86_64__ when disabling x87 inline functions.
25988 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
25990         * manual/charset.texi: Document MTASC-safety properties.
25992         * manual/crypt.texi: Document MTASC-safety properties.
25994         * manual/conf.texi: Document MTASC-safety properties.
25996         * manual/arith.texi: Document MTASC-safety properties.
25998         * manual/argp.texi: Document MTASC-safety properties.
26000         * manual/macros.texi: Introduce macros to document multi
26001         thread, asynchronous signal and asynchronous cancellation
26002         safety properties.
26003         * manual/intro.texi: Introduce the properties themselves.
26005 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26007         * sysdeps/sh/sh4/Makefile: New file.
26009 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
26011         * math/gen-libm-test.pl ($srcdir): New variable.
26012         ($auto_input): Use it.
26014 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26016         [BZ #16506]
26017         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
26018         access beyond array bounds when parsing netgroups file.
26020         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
26021         the old buffer before realloc.
26023 2014-01-27  Allan McRae  <allan@archlinux.org>
26025         * po/fr.po: Update French translation from translation project.
26027 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26029         * sysdeps/sh/libm-test-ulps: Regenerate.
26031 2014-01-24  David S. Miller  <davem@davemloft.net>
26033         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
26035 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26037         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
26038         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
26040 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26042         [BZ #16474]
26043         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
26044         string pointers after reallocation.
26046 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26048         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
26049         __SH4A__ instead of __SH_FPU_ANY__.
26051 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26053         * sysdeps/sh/fpu_control.h: New file.
26054         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
26055         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
26056         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
26057         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
26058         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
26059         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
26060         * sysdeps/sh/sys/ucontext.h: Remove.
26061         * sysdeps/sh/sys: Remove directory.
26063 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26065         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
26066         s390/sys/ucontext.h.
26067         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
26068         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
26070 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
26072         [BZ #15605]
26073         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
26075 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26077         [BZ#16431]
26078         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
26079         Adjust the vDSO correctly for internal calls.
26080         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
26082 2014-01-20  Allan McRae  <allan@archlinux.org>
26084         * po/ca.po: Update Catalan translation from translation project.
26086 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
26088         * sysdeps/s390/sotruss-lib.c: New file.
26090 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26092         [BZ#16430]
26093         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
26094         (__GI___gettimeofday): Alias for a different internal symbol to avoid
26095         local calls issues by not having a PLT stub required for IFUNC calls.
26096         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
26098 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
26100         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
26101         * math/test-fpucw-static.c: Likewise.
26103 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26105         [BZ #16453]
26106         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
26108 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26110         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
26111         implementation for powerpc.
26113 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
26115         [BZ #14782]
26116         * sysdeps/posix/system.c (__libc_system): Do not enable
26117         asynchronous cancellation.
26119 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26121         [BZ #16427]
26122         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
26123         handling only for numbers special also in the IEEE case.
26125 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26127         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26129 2014-01-11  Allan McRae  <allan@archlinux.org>
26131         * po/bg.po: Update Bulgarian translation from translation project.
26133         * po/de.po: Update German translation from translation project.
26135 2014-01-10  Roland McGrath  <roland@hack.frob.com>
26137         * sysdeps/generic/gcc-compat.h: New file.
26139 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26141         * benchtests/asin-inputs: Correct slow inputs.
26142         * benchtests/acos-inputs: Likewise.
26144 2014-01-10  Allan McRae  <allan@archlinux.org>
26146         * po:sv.po: Update Swedish translation from translation project.
26148         * po/vi.po: Update Vietnamese translation from translation project.
26150         * po/eo.po: Update Esperanto translation from translation project.
26152         * po/cs.po: Update Czech translation from translation project.
26154         * po/nl.po: Update Dutch translation from translation project.
26156         * po/pl.po: Update Polish translation from translation project.
26158         * po/ru.po: Update Russian translation from translation project.
26160         * po/uk.po: Update Ukrainian translation from translation project.
26162 2014-01-08  Brooks Moses  <bmoses@google.com>
26164         * elf/dl-load.c: Fix comment typo.
26166 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
26168         * po/header.pot: Rename to...
26169         * po/pot.header: ... this.
26170         * po/Makefile: Use pot.header.
26172 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
26173             Maxim Kuvyrkov  <maxim@kugelworks.com>
26175         [BZ #16394]
26176         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
26177         SRC and DEST against LEN.
26179 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26181         [BZ #16414]
26182         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
26183         implementation.
26184         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
26186 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26188         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26190 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
26192         [BZ #16408]
26193         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
26194         for large positive arguments.
26196 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
26198         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
26200         * math/auto-libm-test-in: Mark various tests with
26201         xfail-rounding:ldbl-128ibm.
26202         * math/auto-libm-test-out: Regenerated.
26204         [BZ #16407]
26205         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
26206         Increase overflow threshold.
26208 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
26210         [BZ #14286]
26211         * stdio-common/vfprintf.c: Check for integer overflow.
26213 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26215         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
26216         the first argument and return value of __tls_get_addr_internal.
26218 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26220         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
26221         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
26223 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26225         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
26226         * sysdeps/s390/rtld-global-offsets.sym: New file.
26227         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
26228         GLIBC_2.19 symbol.
26229         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
26230         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
26231         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
26232         ... this.
26233         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
26234         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
26235         ... this.
26236         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26237         Regenerate.
26238         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26239         Regenerate.
26240         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
26241         halfs of GPRs for high_gprs contexts.
26242         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
26243         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
26244         field.
26245         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
26246         uc_flags field.
26247         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
26248         64 bit versions:
26249         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
26250         for high GPRs (uc_high_gprs) and for future extensions
26251         (__reserved).
26252         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
26253         for future extensions (__reserved).
26254         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
26255         64 bit versions:
26256         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
26257         SC_HIGHGPRS offset definition.
26258         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
26259         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
26261         * Versions.def: Add GLIBC_2.19 for libpthread.
26262         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
26263         siglongjmp for libpthread with GLIBC_2.19 symver.
26264         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
26265         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
26266         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
26267         * sysdeps/s390/__longjmp.c: New file.
26268         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
26269         * sysdeps/s390/longjmp.c: New file.
26270         * sysdeps/s390/setjmp.S: New file.
26271         * sysdeps/s390/sigjmp.S: New file.
26272         * sysdeps/s390/v1-longjmp.c: New file.
26273         * sysdeps/s390/v1-setjmp.h: New file.
26274         * sysdeps/s390/v1-sigjmp.c: New file.
26275         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
26276         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
26277         GLIBC_2.19 version.
26278         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
26279         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
26280         versioned symbols for ____longjmp_chk.
26281         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
26282         Likewise.
26283         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26284         Regenerate.
26285         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26286         Regenerate.
26287         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26288         Regenerate.
26289         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26290         Regenerate.
26291         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
26292         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
26293         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
26294         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
26295         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
26296         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
26297         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
26298         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
26299         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
26300         * sysdeps/s390/rtld-__longjmp.c: New file.
26301         * sysdeps/s390/rtld-setjmp.S: New file.
26303 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
26305         [BZ #16400]
26306         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26307         Return -__logl (x) for small positive arguments without evaluating
26308         a polynomial.
26310 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
26312         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
26313         Rename to ...
26314         (__ptrace_peeksiginfo_args): ... this.
26315         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26316         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26317         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26319 2014-01-06  Allan McRae  <allan@archlinux.org>
26321         * inet/netinet/in.h: Fix typo in comment.
26323 2014-01-05  Andreas Jaeger  <aj@suse.de>
26325         * sysdeps/i386/fpu/libm-test-ulps: Update.
26327 2014-01-05  Allan McRae  <allan@archlinux.org>
26329         * po/libc.pot: Regenerated.
26331         * malloc/memusagestat.c: Fix gettext call formatting.
26333 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
26335         * nscd/nscd.c: Improve usage() output.
26337 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
26339         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
26340         * sysdeps/unix/sysv/linux/configure: Regenerated.
26341         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
26342         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
26344 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
26346         [BZ #16390]
26347         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
26348         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
26350 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26352         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
26353         extra tokens at end of #undef directive.
26354         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
26355         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
26356         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
26358 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
26360         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
26362         * math/auto-libm-test-in: Mark various tests with
26363         xfail-rounding:ldbl-128ibm.
26364         * math/auto-libm-test-out: Regenerated.
26366 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
26368         [BZ #16386]
26369         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
26370         numbers with subnormal high part when calculating exponent.
26372         [BZ #16385]
26373         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
26374         fabs.
26376         [BZ #16384]
26377         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
26378         M_LN2l.
26379         (__ieee754_acoshl): Use __log1pl not __log1p.
26381 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
26383         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
26384         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
26385         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
26386         (grow_heap, heap_trim, _int_new_arena, get_free_list)
26387         (reused_arena, arena_get2): Convert to GNU style.
26388         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
26389         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
26390         (memalign_check, __malloc_set_state): Likewise.
26391         * malloc/mallocbug.c (main): Likewise.
26392         * malloc/malloc.c (__malloc_assert, malloc_init_state)
26393         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
26394         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
26395         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
26396         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
26397         (__posix_memalign, malloc_info): Likewise.
26398         * malloc/malloc.h: Likewise.
26399         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
26400         (mallochook, memalignhook, reallochook, mabort): Likewise.
26401         * malloc/mcheck.h: Likewise.
26402         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
26403         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
26404         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
26405         * malloc/morecore.c (__default_morecore): Likewise.
26406         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
26407         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
26408         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
26409         (print_and_abort): Likewise.
26410         * malloc/obstack.h: Likewise.
26411         * malloc/set-freeres.c (__libc_freeres): Likewise.
26412         * malloc/tst-mallocstate.c (main): Likewise.
26413         * malloc/tst-mtrace.c (main): Likewise.
26414         * malloc/tst-realloc.c (do_test): Likewise.
26416 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26418         [BZ #16366]
26419         * nscd/netgroupcache.c (do_notfound): New function.
26420         (addgetnetgrentX): Use it.
26422         [BZ # 16365]
26423         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
26424         NSS_STATUS_NOTFOUND.
26426 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
26428         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26431 2014-01-01  Allan McRae  <allan@archlinux.org>
26433         * scripts/update-copyrights: Update configure input file suffix.
26435         * NEWS: Update copyright year.
26436         * catgets/gencat.c: Likewise.
26437         * csu/version.c: Likewise.
26438         * debug/catchsegv.sh: Likewise.
26439         * debug/pcprofiledump.c: Likewise.
26440         * debug/xtrace.sh: Likewise.
26441         * elf/ldconfig.c: Likewise.
26442         * elf/ldd.bash.in: Likewise.
26443         * elf/pldd.c: Likewise.
26444         * elf/sotruss.ksh: Likewise.
26445         * elf/sprof.c: Likewise.
26446         * iconv/iconv_prog.c: Likewise.
26447         * iconv/iconvconfig.c: Likewise.
26448         * locale/programs/locale.c: Likewise.
26449         * locale/programs/localedef.c: Likewise.
26450         * login/programs/pt_chown.c: Likewise.
26451         * malloc/memusage.sh: Likewise.
26452         * malloc/memusagestat.c: Likewise.
26453         * malloc/mtrace.pl: Likewise.
26454         * manual/libc.texinfo: Likewise.
26455         * nscd/nscd.c: Likewise.
26456         * nss/getent.c: Likewise.
26457         * nss/makedb.c: Likewise.
26458         * posix/getconf.c: Likewise.
26459         * scripts/test-installation.pl: Likewise.
26461         * All files with FSF copyright notices: Update copyright dates
26462         using scripts/update-copyrights.
26463         * intl/plural.c: Regenerated.
26464         * locale/programs/charmap-kw.h: Likewise.
26465         * locale/programs/locfile-kw.h: Likewise.
26467 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
26469         * sysdeps/unix/sysv/linux/configure: Regenerated.
26470         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
26471         the linux/fanotify.h header.
26472         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
26473         HAVE_LINUX_FANOTIFY_H is defined.
26475 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26477         * benchtests/cos-inputs: New inputs.
26478         * benchtests/sin-inputs: Likewise.
26480         * benchtests/atan-inputs: New inputs. Fix name of multiple
26481         precision fallback inputs.
26483         * benchtests/atanh-inputs: New inputs.
26484         * benchtests/tanh-inputs: Likewise.
26486         * benchtests/acosh-inputs: New inputs.
26487         * benchtests/asinh-inputs: Likewise.
26489         * benchtests/cosh-inputs: New inputs.
26490         * benchtests/sinh-inputs: Likewise.
26492         * benchtests/acos-inputs: Add more inputs.
26493         * benchtests/asin-inputs: Likewise.
26495 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
26497         [BZ #16375]
26498         * manual/arith.texi: Fix spelling.
26499         * manual/charset.texi: Likewise.
26500         * manual/errno.texi: Likewise.
26501         * manual/filesys.texi: Likewise.
26502         * manual/lang.texi: Likewise.
26503         * manual/llio.texi: Likewise.
26504         * manual/locale.texi: Likewise.
26505         * manual/message.texi: Likewise.
26506         * manual/resource.texi: Likewise.
26507         * manual/search.texi: Likewise.
26508         * manual/setjmp.texi: Likewise.
26509         * manual/stdio.texi: Likewise.
26510         * manual/string.texi: Likewise.
26511         * manual/sysinfo.texi: Likewise.
26512         * manual/time.texi: Likewise.
26514 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
26516         * po/sl.po: New file.
26518 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
26520         * .gitignore: Add core/.gdbinit/.gdb_history.
26522 2013-12-27  Allan McRae  <allan@archlinux.org>
26524         [BZ #16369]
26525         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
26526         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
26528 2013-12-24  Brooks Moses  <bmoses@google.com>
26530         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
26531         all compilers that claim C++98 compliance, not just GCC.
26532         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
26533         Likewise.
26535 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
26537         * NEWS: Restore accidentally deleted bug-fix entries.
26539 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
26540             Ondřej Bílka  <neleai@seznam.cz>
26542         [BZ #15073]
26543         * malloc/malloc.c (_int_free): Perform sanity check only if we
26544         have_lock.
26546 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
26548         [BZ #12986]
26549         * manual/stdio.texi (String Input Conversions): Clarify that character
26550         classes are not supported.
26552 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26554         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26556 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
26558         [BZ #16337]
26559         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26560         Calculate results for small negative arguments directly rather
26561         than using reflection formula with special underflow handling.
26563         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
26564         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
26565         sysdeps/unix/bsd/bsd4.4/syscalls.list.
26566         (fchflags): Likewise.
26567         (revoke): Likewise.
26568         (setlogin): Likewise.
26569         (sigaltstack): Likewise.
26570         (wait4): Likewise.
26571         (sigblock): Remove.
26572         (sigsetmask): Likewise.
26573         (wait3): Likewise.
26574         (waitpid): Likewise.
26575         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
26576         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
26577         file.
26578         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
26579         * sysdeps/unix/bsd/Makefile: ... here.
26580         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
26581         * sysdeps/unix/bsd/Versions: ... here.
26582         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
26583         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
26584         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
26585         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
26586         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
26587         * sysdeps/unix/bsd/sigblock.c: ... here.
26588         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
26589         * sysdeps/unix/bsd/sigsetmask.c: ... here.
26590         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
26591         * sysdeps/unix/bsd/sigvec.c: ... here.
26592         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
26593         * sysdeps/unix/bsd/tcdrain.c: ... here.
26594         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
26595         * sysdeps/unix/bsd/tcgetattr.c: ... here.
26596         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
26597         * sysdeps/unix/bsd/tcsetattr.c: ... here.
26598         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
26599         * sysdeps/unix/bsd/wait.c: ... here.
26600         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
26601         * sysdeps/unix/bsd/wait3.c: ... here.
26602         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
26603         * sysdeps/unix/bsd/waitpid.c: ... here.
26605 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
26607         [BZ #16356]
26608         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
26609         round-to-nearest for [!USE_AS_EXPM1L].
26610         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
26611         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
26612         more tests of exp and exp10.  Expect some exp10 tests to miss
26613         exceptions or fail in directed rounding modes.
26614         * math/auto-libm-test-out: Regenerated.
26615         * math/libm-test.inc (exp10_tonearest_test_data): New array.
26616         (exp10_test_tonearest): New function.
26617         (exp10_towardzero_test_data): New array.
26618         (exp10_test_towardzero): New function.
26619         (exp10_downward_test_data): New array.
26620         (exp10_test_downward): New function.
26621         (exp10_upward_test_data): New array.
26622         (exp10_test_upward): New function.
26623         (main): Call the new functions.
26624         * sysdeps/i386/fpu/libm-test-ulps: Update.
26625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26627 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
26629         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
26630         asinh, atan, atan2, atanh, cbrt, cos and cosh.
26631         * math/auto-libm-test-out: Regenerated.
26632         * math/libm-test.inc (acosh_test_data): Add more tests.
26633         (atanh_test_data): Likewise.
26634         (ceil_test_data): Likewise.
26635         (copysign_test_data): Likewise.
26636         * sysdeps/i386/fpu/libm-test-ulps: Update.
26637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26639         * timezone/checktab.awk: Update from tzcode 2013i.
26640         * timezone/private.h: Likewise.
26641         * timezone/scheck.c: Likewise.
26642         * timezone/tzfile.h: Likewise.
26643         * timezone/tzselect.ksh: Likewise.
26644         * timezone/zdump.c: Likewise.
26645         * timezone/zic.c: Likewise.
26647         * math/auto-libm-test-in: Add tests of cpow.
26648         * math/auto-libm-test-out: Regenerated.
26649         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
26650         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26651         mpc_cc_c.
26652         (func_calc_desc): Add mpc_cc_c union field.
26653         (test_functions): Add cpow.
26654         (special_fill_2pi): New function.
26655         (special_real_inputs): Add 2pi.
26656         (calc_generic_results): Handle mpc_cc_c.
26657         * sysdeps/i386/fpu/libm-test-ulps: Update.
26658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26660         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
26661         csqrt, ctan and ctanh.
26662         * math/auto-libm-test-out: Regenerated.
26663         * math/libm-test.inc (TEST_COND_x86_64): New macro.
26664         (TEST_COND_x86): Likewise.
26665         (ccos_test_data): Use AUTO_TESTS_c_c.
26666         (ccosh_test_data): Likewise.
26667         (cexp_test_data): Likewise.
26668         (clog_test_data): Likewise.
26669         (csqrt_test_data): Likewise.
26670         (ctan_test_data): Likewise.
26671         (ctan_tonearest_test_data): Likewise.
26672         (ctan_towardzero_test_data): Likewise.
26673         (ctan_downward_test_data): Likewise.
26674         (ctan_upward_test_data): Likewise.
26675         (ctanh_test_data): Likewise.
26676         (ctanh_tonearest_test_data): Likewise.
26677         (ctanh_towardzero_test_data): Likewise.
26678         (ctanh_downward_test_data): Likewise.
26679         (ctanh_upward_test_data): Likewise.
26680         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26681         mpc_c_c.
26682         (func_calc_desc): Add mpc_c_c union field.
26683         (FUNC_mpc_c_c): New macro.
26684         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
26685         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
26686         ctanh.
26687         (special_fill_min_subnorm_p120): New function.
26688         (special_real_inputs): Add min_subnorm_p120.
26689         (calc_generic_results): Handle mpc_c_c.
26690         * sysdeps/i386/fpu/libm-test-ulps: Update.
26691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26693 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26695         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
26696         (do_sin_slow): New functions.
26697         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
26698         (cslow2, csloww1, csloww2): Use the new functions.
26700         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
26701         Use M to change sign of result instead of X.  Assume X is
26702         positive.
26703         (csloww1): Likewise.
26704         (__sin): Adjust.
26705         (__cos): Adjust.
26707         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
26708         arguments A and DA.
26709         (__sin): Adjust.
26710         (__cos): Likewise.
26712         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
26713         (__cos): Likewise.
26714         (sloww1): Don't adjust sign of DX.
26715         (csloww1): Likewise.
26716         (sloww2): Use X directly and don't adjust sign of DX.
26717         (csloww2): Likewise.
26719 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26721         * math/auto-libm-test-in: Add tests of cabs and carg.
26722         * math/auto-libm-test-out: Regenerated.
26723         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
26724         (carg_test_data): Likewise.
26725         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26726         mpc_c_f.
26727         (func_calc_desc): Add mpc_c_f union field.
26728         (test_functions): Add cabs and carg.
26729         (calc_generic_results): Handle mpc_c_f.
26731         * sysdeps/powerpc/powerpc32/libgcc-compat.S
26732         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
26733         as a macro and a compat symbol.
26734         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
26735         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
26736         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
26737         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
26738         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
26739         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
26740         not use .hidden.
26741         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
26742         Likewise.
26743         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
26744         Likewise.
26745         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
26746         Likewise.
26747         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
26748         Likewise.
26749         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
26750         Likewise.
26751         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
26752         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
26753         from GLIBC_2.3.2.
26755 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26757         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26759 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26761         * manual/texinfo.tex: Update to version 2013-11-26.10 with
26762         trailing whitespace removed.
26763         * scripts/config.guess: Update to version 2013-11-29.
26764         * scripts/config.sub: Update to version 2013-10-01.
26766         * math/auto-libm-test-in: Add tests of sincos.
26767         * math/auto-libm-test-out: Regenerated.
26768         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
26769         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26770         mpfr_f_11.
26771         (func_calc_desc): Add mpfr_f_11 union field.
26772         (test_functions): Add sincos.
26773         (calc_generic_results): Handle mpfr_f_11.
26774         * sysdeps/i386/fpu/libm-test-ulps: Update.
26775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26777 2013-12-19  Andreas Schwab  <schwab@suse.de>
26779         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
26780         CALL_MCOUNT.
26781         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26782         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
26783         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
26785 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26787         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
26788         * sysdeps/i386/fpu/libm-test-ulps: Update.
26789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26791         [BZ #16293]
26792         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
26793         round-to-nearest mode when using frndint.
26794         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
26795         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26796         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
26797         Likewise.
26798         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
26799         sinh test to fail.
26800         * math/auto-libm-test-out: Regenerated.
26801         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
26802         (TEST_COND_x86): Likewise.
26803         (expm1_tonearest_test_data): New array.
26804         (expm1_test_tonearest): New function.
26805         (expm1_towardzero_test_data): New array.
26806         (expm1_test_towardzero): New function.
26807         (expm1_downward_test_data): New array.
26808         (expm1_test_downward): New function.
26809         (expm1_upward_test_data): New array.
26810         (expm1_test_upward): New function.
26811         (main): Run the new test functions.
26812         * sysdeps/i386/fpu/libm-test-ulps: Update.
26813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26815         * include/features.h: Update comment documenting feature test
26816         macros.  Mention _DEFAULT_SOURCE in comment.
26817         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
26818         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
26819         _BSD_SOURCE and _SVID_SOURCE.
26820         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
26821         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
26822         !_SVID_SOURCE]: Likewise.
26823         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26824         (__USE_POSIX_IMPLICITLY): Define.
26825         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26826         (_POSIX_SOURCE): Undefine and redefine.
26827         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26828         (_POSIX_C_SOURCE): Likewise.
26829         * manual/creature.texi (_DEFAULT_SOURCE): Document.
26830         (Feature Test Macros): Update documentation of default features.
26832 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26834         * benchtests/Makefile: Add bench-strtok.
26835         * benchtests/bench-strtok.c: New file: strtok benchtest.
26837 2013-12-19  Allan McRae  <allan@archlinux.org>
26839         * manual/install.texi: Suppress menu for plain text output.
26840         * INSTALL: Regenerated.
26842 2013-12-18  Brooks Moses  <bmoses@google.com>
26844         [BZ #15846]
26845         * misc/getauxval.c: Include errno.h.
26846         (__getauxval): Set errno to ENOENT if the requested type is not
26847         found.
26848         * misc/sys/auxv.h (getauxval): Document that it may set errno;
26849         don't declare with __attribute_const__.
26850         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
26851         * manual/startup.texi: Document that getauxval sets errno.
26853 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
26855         * math/auto-libm-test-in: Add tests of jn and yn.
26856         * math/auto-libm-test-out: Regenerated.
26857         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
26858         (yn_test_data): Likewise.
26859         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26860         mpfr_if_f.
26861         (func_calc_desc): Add mpfr_if_f union field.
26862         (FUNC_mpfr_if_f): New macro.
26863         (test_functions): Add jn and yn.
26864         (calc_generic_results): Assert type of second input for
26865         mpfr_ff_f.  Handle mpfr_if_f.
26866         (output_for_one_input_case): Disable all checking for arguments
26867         fitting floating-point types in case of an integer argument.
26868         * sysdeps/i386/fpu/libm-test-ulps: Update.
26869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
26872         Don't expect fegetround reference in libm.so.
26874 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26876         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
26877         $(config-cflags-nofma).
26879 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
26881         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
26882         * math/auto-libm-test-out: Regenerated.
26884         [BZ #16338]
26885         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
26886         to determine exponent and adjust argument to have exponent of -1.
26887         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
26888         log2.
26889         * math/auto-libm-test-out: Regenerated.
26890         * sysdeps/i386/fpu/libm-test-ulps: Update.
26891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26893 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
26895         * manual/probes.texi: Remove cases when per-thread arenas are
26896         disabled.
26898 2013-12-18  Andreas Schwab  <schwab@suse.de>
26900         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
26901         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
26902         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
26903         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
26904         * sysdeps/i386/i686/multiarch/Makefile: Update.
26905         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
26907 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26909         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
26910         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
26912 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
26914         [BZ #15968]
26915         Support TZ transition times < 00:00:00.
26916         This is needed for version-3 tz-format files; it supports time
26917         stamps past 2037 for America/Godthab (the only entry in the tz
26918         database for which this change is relevant).
26919         * manual/time.texi (TZ Variable): Document transition times
26920         from -167:59:59 through -00:00:01.
26921         * time/tzset.c (tz_rule): Time of day is now signed.
26922         (__tzset_parse_tz): Parse negative time of day.
26924         Document TZ transition times >= 25:00:00.
26925         * manual/time.texi (TZ Variable): Document transition times from
26926         25:00:00 through 167:59:59.  These are already supported, and this
26927         support will help with version-3 tz-format files.
26929         * manual/time.texi (TZ Variable): Modernize North America example
26930         to reflect current (i.e., 2007-and-later) daylight saving rules.
26932         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
26934 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26936         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
26937         * sysdeps/unix/bsd/bits/stat.h: Likewise.
26938         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
26939         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
26940         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
26941         * sysdeps/unix/bsd/bsdstat.h: Likewise.
26942         * sysdeps/unix/bsd/clock.c: Likewise.
26943         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
26944         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
26945         * sysdeps/unix/bsd/init-posix.c: Likewise.
26946         * sysdeps/unix/bsd/poll.c: Likewise.
26947         * sysdeps/unix/bsd/ptsname.c: Likewise.
26948         * sysdeps/unix/bsd/seekdir.c: Likewise.
26949         * sysdeps/unix/bsd/setegid.c: Likewise.
26950         * sysdeps/unix/bsd/seteuid.c: Likewise.
26951         * sysdeps/unix/bsd/setgid.c: Likewise.
26952         * sysdeps/unix/bsd/setrgid.c: Likewise.
26953         * sysdeps/unix/bsd/setruid.c: Likewise.
26954         * sysdeps/unix/bsd/setsid.c: Likewise.
26955         * sysdeps/unix/bsd/setuid.c: Likewise.
26956         * sysdeps/unix/bsd/sigaction.c: Likewise.
26957         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
26958         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
26959         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
26960         * sysdeps/unix/bsd/telldir.c: Likewise.
26961         * sysdeps/unix/bsd/times.c: Likewise.
26962         * sysdeps/unix/bsd/usleep.c: Likewise.
26964         * misc/Makefile (install-lib): Remove libbsd-compat.a.
26965         ($(objpfx)libbsd-compat.a): Remove rule.
26967         * include/features.h (__FAVOR_BSD): Do not define.
26968         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
26969         features conflicting with POSIX.
26970         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
26971         (_BSD_SOURCE): Remove description of not being a subset of other
26972         feature test macros.
26973         * manual/job.texi (getpgrp): Do not document BSD version.
26974         (getpgid): Do not document by reference to BSD getpgrp.
26975         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
26976         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
26977         * signal/signal.h [__FAVOR_BSD]: Likewise.
26978         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
26979         instead of making contents conditional on [__FAVOR_BSD].
26980         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
26982 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26984         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26986 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26988         [BZ #16314]
26989         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
26990         values below 2**-450, not 2**-500.
26991         * math/auto-libm-test-in: Don't allow spurious underflow from
26992         hypot.
26993         * math/auto-libm-test-out: Regenerated.
26995         [BZ #16316]
26996         [BZ #16330]
26997         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
26998         values of ha and hb and sort them after adjusting subnormal
26999         arguments.
27000         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
27001         Likewise.
27002         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
27003         values of ea and eb and sort them after adjusting subnormal
27004         arguments.
27005         * math/auto-libm-test-in: Do not expect some hypot tests of
27006         subnormals to fail.  Add more hypot tests.
27007         * math/auto-libm-test-out: Regenerated.
27009 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27011         [BZ #13304]
27012         * sysdeps/sh/s_fma.c: New file.
27013         * sysdeps/sh/s_fmaf.c: New file.
27014         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
27015         version.
27016         * sysdeps/sh/Implies: Add sh/soft-fp.
27018 2013-12-16  Roland McGrath  <roland@hack.frob.com>
27020         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
27021         level of indirection to members `objname', `errstring', `malloced'.
27022         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
27023         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
27024         it as the __longjmp argument (just pass 1 instead).
27025         (_dl_catch_error): Initialize C with argument pointers and address of
27026         volatile local ERRCODE rather than copying values out of C at return.
27028 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
27030         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
27031         * math/auto-libm-test-out: Regenerated.
27032         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
27033         (hypot_test_data): Likewise.
27034         (pow_test_data): Likewise.
27035         (pow_tonearest_test_data): Likewise.
27036         * math/gen-auto-libm-tests.c (func_calc_method): Add value
27037         mpfr_ff_f.
27038         (func_calc_desc): Add mpfr_ff_f union field.
27039         (FUNC_mpfr_ff_f): New macro.
27040         (test_functions): Add atan2, hypot and pow.
27041         (special_fill_min): New function.
27042         (special_fill_minus_min): Likewise.
27043         (special_fill_min_subnorm): Likewise.
27044         (special_fill_minus_min_subnorm): Likewise.
27045         (special_real_inputs): Add min, -min, min_subnorm and
27046         -min_subnorm.
27047         (calc_generic_results): Handle mpfr_ff_f.
27048         * sysdeps/i386/fpu/libm-test-ulps: Update.
27049         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27051 2013-12-16  Will Newton  <will.newton@linaro.org>
27053         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
27054         (Aligned Memory Blocks): Add documentation for aligned_alloc
27055         and suggest it as an alternative to posix_memalign.
27056         (Hooks for Malloc): Document __memalign_hook is also called
27057         for aligned_alloc.  (Summary of Malloc): Add summary for
27058         aligned alloc.  Document __memalign_hook is also called
27059         for aligned_alloc.
27061 2013-12-16  Will Newton  <will.newton@linaro.org>
27063         * manual/memory.texi (Malloc Examples): Clarify default
27064         alignment documentation.  Suggest posix_memalign rather
27065         than memalign or valloc.
27066         (Aligned Memory Blocks): Remove suggestion to use memalign
27067         or valloc.  Remove obsolete comment about BSD.
27068         Document memalign errno values and mark the function obsolete.
27069         Document posix_memalign returned error codes.  Mark valloc
27070         as obsolete.  (Hooks for Malloc): __memalign_hook is also
27071         called for posix_memalign and valloc.
27072         (Summary of Malloc): Add posix_memalign to function summary.
27073         __memalign_hook is also called for posix_memalign and valloc.
27075 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27077         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
27078         TAYLOR_SIN.
27079         (__sin): Adjust.
27080         (__cos): Likewise.
27081         (sloww): Use mynumber union.  Expand ternary operator into
27082         if-else statements.
27083         (cslow): use mynumber union.
27085 2013-12-16  Allan McRae  <allan@archlinux.org>
27087         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
27088         * configure: Regenerated.
27090         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
27092         [BZ #14120]
27093         * configure.ac: Added --enable-maintainer-mode. Check for
27094         autoconf when enabled.
27095         * configure: Regenerated.
27097         * nscd/nscd.service: New file.
27098         * nscd/nscd.tmpfiles: New file.
27100 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
27102         [BZ #12100]
27103         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
27104         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
27105         * sysdeps/x86_64/multiarch/strstr.c: ... here.
27106         (strstr): Add __strstr_sse2_unaligned ifunc.
27107         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
27108         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
27109         (strcasestr): Remove __strcasestr_sse42 ifunc.
27110         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
27111         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
27112         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
27114 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27116         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
27117         * sysdeps/sh/bits/fenv.h: ... here.
27118         * sysdeps/sh/sh4/fpu/bits: Remove directory.
27120 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27122         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
27124         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
27125         hypotf multiarch implementations.
27126         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
27127         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
27128         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
27129         multiarch hypot for PPC64.
27130         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
27131         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
27132         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
27133         multiarch hypotf for PPC64.
27135         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
27136         modff multiarch implementations.
27137         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
27138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
27139         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
27140         multiarch modf for PPC64.
27141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
27142         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
27143         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
27144         multiarch modff for PPC64.
27146         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
27147         and logl multiarch implementations.
27148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
27149         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
27150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
27151         multiarch logb for PPC64.
27152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
27153         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
27154         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
27155         multiarch logb for PPC64.
27156         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
27157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
27158         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
27159         multiarch logb for PPC64.
27161         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
27162         isinff multiarch implementation.
27163         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
27164         file.
27165         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
27166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
27167         multiarch isinf for PPC64.
27168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
27169         file.
27170         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
27171         multiarch isinff for PPC64.
27173         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
27174         finitef multiarch implementation.
27175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
27176         file.
27177         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
27178         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
27179         multiarch finite for PPC64.
27180         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
27181         file.
27182         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
27183         multiarch finitef for PPC64.
27185         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
27186         lrint multiarch implementation.
27187         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
27188         file.
27189         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
27190         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
27191         multiarch llrint for PPC64.
27192         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
27193         multiarch lrint for PPC64.
27195         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
27196         copysignf multiarch implementation.
27197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
27198         file.
27199         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
27200         file.
27201         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
27202         multiarch copysign for PPC64.
27203         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
27204         multiarch copysignf for PPC64.
27206         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
27207         multiarch implementation.
27208         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
27209         file.
27210         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
27211         file.
27212         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
27213         file.
27214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
27215         file.
27216         multiarch llround for PPC64.
27217         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
27218         multiarch trunc for PPC64.
27219         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
27220         multiarch truncf for PPC64.
27222         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
27223         multiarch implementation.
27224         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
27225         file.
27226         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
27227         file.
27228         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
27229         file.
27230         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
27231         file.
27232         multiarch llround for PPC64.
27233         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
27234         multiarch round for PPC64.
27235         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
27236         multiarch roundf for PPC64.
27238         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
27239         multiarch implementation.
27240         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
27241         file.
27242         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
27243         file.
27244         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
27245         file.
27246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
27247         file.
27248         multiarch llround for PPC64.
27249         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
27250         multiarch floor for PPC64.
27251         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
27252         multiarch floorf for PPC64.
27254         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
27255         multiarch implementation.
27256         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
27257         file.
27258         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
27259         file.
27260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
27261         file.
27262         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
27263         file.
27264         multiarch llround for PPC64.
27265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
27266         multiarch ceil for PPC64.
27267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
27268         multiarch ceilf for PPC64.
27270         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
27271         multiarch implementation.
27272         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
27273         file.
27274         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
27275         file.
27276         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
27277         file.
27278         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
27279         multiarch llround for PPC64.
27280         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
27281         multiarch lround for PPC64.
27283         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
27284         multiarch implementation.
27285         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
27286         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
27287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
27288         file.
27289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
27290         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
27291         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
27292         multiarch isnan for PPC64.
27293         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
27294         multiarch isnanf for PPC64.
27296         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
27297         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
27298         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
27299         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
27300         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
27301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
27303         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
27304         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27305         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27306         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27308         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
27309         multiarch implementations.
27310         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27311         (__libc_ifunc_impl_list): Likewise.
27312         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
27313         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
27314         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
27315         multiarch stpcpy for PPC64.
27317         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
27318         multiarch implementations.
27319         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27320         (__libc_ifunc_impl_list): Likewise.
27321         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
27322         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
27323         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
27324         multiarch strcpy for PPC64.
27326         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
27327         redefine function name.
27328         (_wordcopy_fwd_dest_aligned): Likewise.
27329         (_wordcopy_bwd_aligned): Likewise.
27330         (_wordcopy_bwd_dest_aligned): Likewise.
27331         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
27332         multiarch implementations.
27333         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27334         (__libc_ifunc_impl_list): Likewise.
27335         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
27336         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
27337         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
27338         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
27339         multiarch wcscpy for PPC64.
27341         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
27342         multiarch implementations.
27343         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27344         (__libc_ifunc_impl_list): Likewise.
27345         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
27346         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
27347         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
27348         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
27349         multiarch wcscpy for PPC64.
27351         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
27352         multiarch implementations.
27353         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27354         (__libc_ifunc_impl_list): Likewise.
27355         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
27356         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
27357         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
27358         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
27359         multiarch wcsrchr for PPC64.
27361         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
27362         multiarch implementations.
27363         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27364         (__libc_ifunc_impl_list): Likewise.
27365         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
27366         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
27367         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
27368         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
27369         multiarch wcschr for PPC64.
27371         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
27372         multiarch implementations.
27373         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27374         (__libc_ifunc_impl_list): Likewise.
27375         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
27376         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
27377         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
27378         multiarch strchrnul for PPC64.
27380         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
27381         implementations.
27382         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27383         (__libc_ifunc_impl_list): Likewise.
27384         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
27385         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
27386         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
27387         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
27388         strchr for PPC64.
27390         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
27391         implementations.
27392         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27393         (__libc_ifunc_impl_list): Likewise.
27394         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
27395         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
27396         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
27397         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
27398         strncmp for PPC64.
27400         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
27401         multiarch implementations.
27402         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27403         (__libc_ifunc_impl_list): Likewise.
27404         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
27405         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
27406         strncasecmp for PPC64.
27407         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
27408         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
27409         multiarch strncasecmp_l for PPC64.
27411         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
27412         multiarch implementations.
27413         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27414         (__libc_ifunc_impl_list): Likewise.
27415         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
27416         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
27417         multiarch strcasecmp for PPC64.
27418         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
27419         file.
27420         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
27421         multiarch strcasecmp_l for PPC64.
27423         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
27424         implementations.
27425         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27426         (__libc_ifunc_impl_list): Likewise.
27427         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
27428         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
27429         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
27430         strnlen for PPC64.
27432         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
27433         implementations.
27434         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27435         (__libc_ifunc_impl_list): Likewise.
27436         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
27437         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
27438         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
27439         strlen for PPC64.
27441         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
27442         implementations.
27443         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27444         (__libc_ifunc_impl_list): Likewise.
27445         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
27446         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
27447         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
27448         rawmemrchr for PPC64.
27450         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
27451         implementation.
27452         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27453         (__libc_ifunc_impl_list): Likewise.
27454         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
27455         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
27456         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
27457         memrchr for PPC64.
27459         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
27460         implementation.
27461         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27462         (__libc_ifunc_impl_list): Likewise.
27463         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
27464         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
27465         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
27466         memchr for PPC64.
27468         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
27469         implementation.
27470         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27471         (__libc_ifunc_impl_list): Likewise.
27472         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
27473         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
27474         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
27475         mempcpy for PPC64.
27477         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
27478         avoid cretion of __bzero symbol.
27479         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
27480         Likewise.
27481         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
27482         Likewise.
27483         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
27484         Likewise.
27485         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
27486         multiarch implementations.
27487         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27488         (__libc_ifunc_impl_list): Likewise.
27489         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
27490         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
27491         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
27492         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
27493         bzero for PPC32.
27494         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
27495         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
27496         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
27497         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
27498         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
27499         memset for PPC64.
27500         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
27502         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
27503         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
27504         implementations.
27505         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27506         (__libc_ifunc_impl_list): Likewise.
27507         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
27508         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
27509         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
27510         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
27511         memcmp for PPC64.
27513         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
27514         multiarch for POWER/PPC64.
27515         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
27516         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
27517         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
27518         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
27519         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
27520         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
27521         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
27522         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
27523         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
27524         memcpy for PPC64.
27526         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
27527         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
27528         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
27529         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
27530         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
27531         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
27532         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
27533         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
27534         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
27535         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
27536         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
27537         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
27538         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
27539         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
27540         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
27541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
27542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
27543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
27544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
27545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
27546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
27547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
27549 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27551         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
27553 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27555         * benchtests/Makefile (bench): Add exp2 and log2.
27556         (LDLIBS-bench-exp2): Add -lm.
27557         (LDLIBS-bench-log2): Likewise.
27558         * benchtests/exp2-inputs: New inputs file.
27559         * benchtests/log2-inputs: New inputs file.
27560         * benchtests/log-inputs: Add new inputs.
27561         * benchtests/tan-inputs: Likewise.
27563 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27565         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
27566         definition...
27567         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
27568         (csloww2): ... from here.
27570         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
27571         instead of structures.
27572         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
27573         (POLYNOMIAL): Likewise.
27574         (TAYLOR_SLOW): Likewise.
27575         (__sin): Likewise.
27576         (__cos): Likewise.
27577         (slow1): Likewise.
27578         (slow2): Likewise.
27579         (sloww): Likewise.
27580         (sloww1); Likewise.
27581         (sloww2): Likewise.
27582         (bsloww1): Likewise.
27583         (bsloww2): Likewise.
27584         (cslow2): Likewise.
27585         (csloww): Likewise.
27586         (csloww1): Likewise.
27587         (csloww2): Likewise.
27589 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
27591         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
27592         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
27593         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
27594         * malloc/hooks.c (realloc_check): Likewise.
27596         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
27597         * malloc/arena.c: Remove PER_THREAD conditional.
27598         [!PER_THREAD]: Remove code.
27599         (ptmalloc_unlock_all2): Likewise.
27600         (ptmalloc_init): Likewise.
27601         (_int_new_arena): Likewise.
27602         (arena_get2): Likewise.
27603         * malloc/hooks.c (__malloc_get_state): Likewise.
27604         (__malloc_set_state): Likewise.
27605         * malloc/malloc.c: Likewise.
27606         (struct malloc_state): Likewise.
27607         (struct malloc_par): Likewise.
27608         (__libc_realloc): Likewise.
27609         (__libc_mallopt): Likewise.
27611 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27613         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
27615 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
27617         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
27618         macro to a function.  Check for zero perturb_byte.
27619         (_int_malloc, _int_free): Remove zero perturb_byte checks.
27621         * malloc/malloc.c: (force_reg): Remove.
27622         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
27623         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
27624         force_reg by atomic_forced_read.
27625         * malloc/arena.c (ptmalloc_init): Likewise.
27626         * malloc/hooks.c (top_check): Likewise.
27628 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27630         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27632 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
27634         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27636 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
27638         * math/auto-libm-test-in: Add tests of lgamma.
27639         * math/auto-libm-test-out: Regenerated.
27640         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
27641         (M_LOG_2_SQRT_PIl): Likewise.
27642         (lgamma_test_data): Use AUTO_TESTS_f_f1.
27643         * math/gen-auto-libm-tests.c (func_calc_method): Add value
27644         mpfr_f_f1.
27645         (func_calc_desc): Add mpfr_f_f1 union field.
27646         (ARGS1): New macro.
27647         (ARGS2): Likewise.
27648         (ARGS3): Likewise.
27649         (ARGS4): Likewise.
27650         (RET1): Likewise.
27651         (RET2): Likewise.
27652         (CALC): Likewise.
27653         (FUNC): Likewise.
27654         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
27655         (test_functions): Add lgamma.
27656         (calc_generic_results): Handle mpfr_f_f1.
27657         * sysdeps/i386/fpu/libm-test-ulps: Update.
27658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27660 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27662         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
27663         __mpn_add_n for PowerPC64/POWER7.
27664         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
27665         __mpn_sub_n for PowerPC64/POWER7.
27667         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
27668         __mpn_addmul_1 for PowerPC64.
27669         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
27670         __mpn_submul_1 for PowerPC64.
27671         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
27672         for PowerPC64.
27673         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
27674         for PowerPC64.
27676 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
27678         [BZ #15089]
27679         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
27681 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27683         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
27685         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
27686         add multiarch folders.
27687         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
27688         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
27689         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
27690         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
27691         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
27692         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
27693         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
27694         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
27695         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
27696         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
27697         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
27698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
27699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
27700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
27701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
27702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
27703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
27705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
27706         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
27707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
27708         New file.
27709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
27710         New file.
27711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
27712         multiarch __ieee754_hypot for PowerPC32.
27713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
27714         New file.
27715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
27716         New file.
27717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
27718         multiarch __ieee754_hypotf for PowerPC32.
27720         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
27721         long_double_symbol only if __logbl is defined.
27722         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
27723         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
27724         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
27725         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
27726         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
27727         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
27728         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
27729         path for implementation.
27730         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
27731         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
27732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
27733         logb, and logbl multiarch implementations for PowerPC32.
27734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
27735         file.
27736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
27737         file.
27738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
27739         multiarch logb for PowerPC32.
27740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
27741         file.
27742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
27743         file.
27744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
27745         multiarch logbf for PowerPC32.
27746         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
27747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
27748         file.
27749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
27750         multiarch logbl implementation for PowerPC32.
27752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
27753         and modff multiarch implementations.
27754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
27755         New file.
27756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
27757         New file.
27758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
27759         multiarch modf for PowerPC32.
27760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
27761         New file.
27762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
27763         New file.
27764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
27765         multiarch modff for PowerPC32.
27767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
27768         and lrintf multiarch implementations.
27769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
27770         New file.
27771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
27772         New file.
27773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
27774         multiarch lrint for PowerPC32.
27775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
27776         file: multiarch lrintf for PowerPC32.
27778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
27779         and lroundf multiarch implementations.
27780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
27781         New file.
27782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
27783         New file.
27784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
27785         New file.
27786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
27787         multiarch lround for PowerPC32.
27788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
27789         file: multiarch lroundf for PowerPC32.
27791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
27792         copysign and copysignf multiarch implementations.
27793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
27794         New file.
27795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
27796         New file.
27797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
27798         file: multiarch copysign for PowerPC32.
27799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
27800         file: multiarch copysignf for PowerPC32.
27802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
27803         and truncf multiarch implementations.
27804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
27805         New file.
27806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
27807         file.
27808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
27809         multiarch trunc for PowerPC32.
27810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
27811         New file.
27812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
27813         New file.
27814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
27815         multiarch truncf for PowerPC32.
27817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
27818         and roundf multiarch implementations.
27819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
27820         New file.
27821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
27822         file.
27823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
27824         multiarch round for PowerPC32.
27825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
27826         New file.
27827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
27828         New file.
27829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
27830         multiarch roundf for PowerPC32.
27832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
27833         and floorf multiarch implementations.
27834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
27835         New file.
27836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
27837         file.
27838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
27839         multiarch floor for PowerPC32.
27840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
27841         New file.
27842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
27843         New file.
27844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
27845         multiarch floorf for PowerPC32.
27847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
27848         and ceilf multiarch implementations.
27849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
27850         New file.
27851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
27852         file.
27853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
27854         multiarch ceil for PowerPC32.
27855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
27856         New file.
27857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
27858         file.
27859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
27860         multiarch ceilf for PowerPC32.
27862         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
27863         is defined.
27864         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
27865         FINITEF is defined.
27866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
27867         and finitef multiarch implementations.
27868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
27869         New file.
27870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
27871         file.
27872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
27873         multiarch finite for PowerPC32.
27874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
27875         New file.
27876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
27877         file: multiarch finitef for PowerPC32.
27879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
27880         and isinff multiarch implementations.
27881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
27882         file.
27883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
27884         file.
27885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
27886         multiarch isinf for PowerPC32.
27887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
27888         New file.
27889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
27890         multiarch isinff for PowerPC32.
27892         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
27893         alias when __isnan is defined.
27894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
27895         and isnanf multiarch implementations.
27896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
27897         file.
27898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
27899         file.
27900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
27901         file.
27902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
27903         file.
27904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
27905         multiarch isnan for PowerPC32.
27906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
27907         New file.
27908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
27909         New file.
27910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
27911         multiarch isnanf for PowerPC32.
27913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
27914         and sqrtf multiarch implementations.
27915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
27916         file.
27917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
27918         file.
27919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
27920         multiarch sqrt for PowerPC32.
27921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
27922         file.
27923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
27924         file.
27925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
27926         multiarch sqrtf for PowerPC32.
27928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
27929         and llroundf multiarch implementations.
27930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
27931         New file.
27932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
27933         New file.
27934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
27935         New file.
27936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
27937         file: multiarch llround for PowerPC32.
27938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
27939         file: multiarch llroundf for PowerPC32.
27941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
27942         multiarch PowerPC32 fpu implementations.
27943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
27944         New file.
27945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
27946         New file.
27947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
27948         multiarch llrint for PowerPC32.
27949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
27950         New file.
27951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
27952         New file.
27953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
27954         file.
27956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
27958         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
27959         file.
27960         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
27961         file.
27962         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
27963         file.
27964         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
27965         multiarch wordcopy for PPC32.
27966         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
27967         wordcopy objects.
27968         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27969         (__libc_ifunc_impl_list): Likewise.
27970         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
27971         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
27972         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
27973         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
27974         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
27975         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
27977         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
27978         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
27979         file.
27980         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
27981         file.
27982         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
27983         file.
27984         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
27985         multiarch wcscpy for PPC32.
27986         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
27987         multiarch objects.
27988         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27989         (__libc_ifunc_impl_list): Likewise.
27990         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
27991         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
27992         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
27993         sysdeps/powerpc/power6/wcscpy.c.
27995         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
27996         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
27997         file.
27998         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
27999         file.
28000         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
28001         file.
28002         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
28003         multiarch wcsrchr for PPC32.
28004         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
28005         multiarch objects.
28006         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28007         (__libc_ifunc_impl_list): Likewise.
28008         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
28009         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
28010         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
28011         sysdeps/powerpc/power6/wcsrchr.c.
28013         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
28014         file.
28015         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
28016         file.
28017         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
28018         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
28019         multiarch wcschr for PPc32.
28020         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
28021         multiarch objects.
28022         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28023         (__libc_ifunc_impl_list): Likewise.
28024         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
28025         * sysdeps/powerpc/power6/wcschr.c: ... to here.
28026         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
28027         sysdeps/powerpc/power6/wcschr.c.
28029         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
28030         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
28031         file.
28032         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
28033         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
28034         file: multiarch strchr for PPC32.
28035         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
28036         multiarch objects.
28037         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28038         (__libc_ifunc_impl_list): Likewise.
28040         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
28041         name.
28042         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
28043         file.
28044         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
28045         file.
28046         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
28047         multiarch strchrnul for PPC32.
28048         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
28049         multiarch objects.
28050         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28051         (__libc_ifunc_impl_list): Likewise.
28053         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
28054         file.
28055         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
28056         multiarch strncasecmp for PPC32.
28057         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
28058         file.
28059         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
28060         multiarch strncasecmp_l for PPC32.
28061         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
28062         strncasecmp multiarch objects.
28063         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28064         (__libc_ifunc_impl_list): Likewise.
28066         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
28067         file.
28068         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
28069         multiarch strncasecmp for PPC32.
28070         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
28071         New file.
28072         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
28073         multiarch strcasecmp_l for PPC32.
28074         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
28075         multiarch objects.
28076         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28077         (__libc_ifunc_impl_list): Likewise.
28079         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
28080         file.
28081         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
28082         file.
28083         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
28084         multiarch strncmp for PPC32.
28085         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
28086         multiarch objects.
28087         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28088         (__libc_ifunc_impl_list): Likewise.
28090         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
28091         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
28092         file.
28093         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
28094         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
28095         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
28096         multiarch objects.
28097         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28098         (__libc_ifunc_impl_list): Likewise.
28100         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
28101         file.
28102         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
28103         file.
28104         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
28105         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
28106         multiarch objects.
28107         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28108         (__libc_ifunc_impl_list): Likewise.
28110         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
28111         file.
28112         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
28113         file.
28114         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
28115         multiarch rawmemchr for PPC32.
28116         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
28117         multiarch objects.
28118         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28119         (__libc_ifunc_impl_list): Likewise.
28121         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
28122         file.
28123         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
28124         file.
28125         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
28126         file: memrchr multiarch for PPC32.
28127         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
28128         multiarch objects.
28129         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28130         (__libc_ifunc_impl_list): Likewise.
28132         * string/memchr.c (__memchr): Using macro to redefine symbol name.
28133         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
28134         file.
28135         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
28136         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
28137         multiarch memchr for PPC32.
28138         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
28139         multiarch objects.
28140         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28141         (__libc_ifunc_impl_list): Likewise.
28143         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
28144         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
28145         file.
28146         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
28147         file.
28148         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
28149         file: multiarch mempcpy for PPC32.
28150         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
28151         multiarch objects.
28152         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28153         (__libc_ifunc_impl_list): Likewise.
28155         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
28156         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
28157         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
28158         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
28159         multiarch bzero for PPC32.
28160         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
28161         file.
28162         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
28163         file.
28164         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
28165         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
28166         file: multiarch memset for PPC32.
28167         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
28168         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
28169         memset multiarch objects.
28170         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28171         (__libc_ifunc_impl_list): Likewise.
28173         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
28174         file.
28175         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
28176         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
28177         memcmp for PPC32.
28178         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
28179         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
28180         multiarch objects.
28181         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28182         (__libc_ifunc_impl_list): Likewise.
28184         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
28185         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
28186         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
28187         file.
28188         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
28189         file.
28190         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
28191         file.
28192         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
28193         multiarch memcpy for PPC32.
28194         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
28195         multiarch objects.
28196         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28197         (__libc_ifunc_impl_list): Likewise.
28199         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
28200         support multiarch for POWER/PPC32.
28201         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
28202         Likewise.
28203         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
28204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
28205         Implies file to make multiarch folder appers before the fpu and
28206         default folder for power4 configuration.
28208 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
28210         * scripts/bench.pl: Append volatile keyword to type.
28212 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28214         * sysdeps/sh/sotruss-lib.c: New file.
28215         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
28217 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28219         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28221 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
28223         [BZ #6810]
28224         * math/w_tgamma.c: Include <errno.h>.
28225         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
28226         * math/w_tgammaf.c: Include <errno.h>.
28227         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
28228         * math/w_tgammal.c: Include <errno.h>.
28229         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
28230         * math/auto-libm-test-in: Do not allow missing errno on tgamma
28231         underflow.  Add more tgamma tests.
28232         * math/auto-libm-test-out: Regenerated.
28233         * sysdeps/i386/fpu/libm-test-ulps: Update.
28234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28236         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
28237         sin, sinh, tan, tanh, tgamma, y0 and y1.
28238         * math/auto-libm-test-out: Regenerated.
28239         * math/libm-test.inc (TEST_COND_x86_64): New macro.
28240         (TEST_COND_x86): Likewise.
28241         (M_E2l): Remove macro.
28242         (M_E3l): Likewise.
28243         (M_2_SQRT_PIl): Likewise.
28244         (M_SQRT_PIl): Likewise.
28245         (M_1_DIV_El): Likewise.
28246         (log_test_data): Use AUTO_TESTS_f_f.
28247         (log10_test_data): Likewise.
28248         (log1p_test_data): Likewise.
28249         (log2_test_data): Likewise.
28250         (sin_test_data): Likewise.
28251         (sin_tonearest_test_data): Likewise.
28252         (sin_towardzero_test_data): Likewise.
28253         (sin_downward_test_data): Likewise.
28254         (sin_upward_test_data): Likewise.
28255         (sinh_test_data): Likewise.
28256         (sinh_tonearest_test_data): Likewise.
28257         (sinh_towardzero_test_data): Likewise.
28258         (sinh_downward_test_data): Likewise.
28259         (sinh_upward_test_data): Likewise.
28260         (tan_test_data): Likewise.
28261         (tan_tonearest_test_data): Likewise.
28262         (tan_towardzero_test_data): Likewise.
28263         (tan_downward_test_data): Likewise.
28264         (tan_upward_test_data): Likewise.
28265         (tanh_test_data): Likewise.
28266         (tgamma_test_data): Likewise.
28267         (y0_test_data): Likewise.
28268         (y1_test_data): Likewise.
28269         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
28270         (special_real_inputs): Add pi/4.
28271         * sysdeps/i386/fpu/libm-test-ulps: Update.
28272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28274 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28276         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
28277         "longjmp_target" static probes.
28278         (__longjmp): Rename to __longjmp_symbol.
28279         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28280         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
28281         on which longjmp to generate.
28282         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
28283         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
28284         probe.
28285         (__sigsetjmp): Rename to __sigsetjmp_symbol.
28286         (__sigjmp_save): Rename to __sigjmp_save_symbol.
28287         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
28288         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
28289         and __sigjmp_save_symbol based on which sigsetjmp to generated.
28290         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
28291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
28292         __longjmp_symbol based on which __longjmp to generate.
28293         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
28294         probe.
28295         (setjmp): Rename to setjmp_symbol.
28296         (__sigsetjmp): Rename to __sigsetjmp_symbol.
28297         (_setjmp): Rename to _setjmp_symbol.
28298         (__sigsetjmp): Rename to __sigsetjmp_symbol.
28299         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
28300         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
28301         which setjmp to generate.
28302         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
28303         "longjmp_target" static probes.
28305 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28307         * benchtests/README: Add note about output arguments.
28308         * benchtests/bench-sincos.c: Remove file.
28309         * benchtests/sincos-inputs: New file.
28310         * scripts/bench.pl: Identify output arguments and define
28311         static variables for them.
28313         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
28315         [BZ #15941]
28316         * Makefile (INSTALL): Add install-plain.texi as the primary
28317         dependency.
28318         * manual/install-plain.texi: New file.
28319         * manual/install.texi: Include node directive only for
28320         non-plaintext output.
28322 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
28324         * stdlib/longlong.h: Update from GCC.
28326         [BZ #6807]
28327         [BZ #15901]
28328         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
28329         * math/w_j0f.c (y0f): Likewise.
28330         * math/w_j0l.c (__y0l): Likewise.
28331         * math/w_j1.c (y1): Likewise.
28332         * math/w_j1f.c (y1f): Likewise.
28333         * math/w_j1l.c (__y1l): Likewise
28334         * math/w_jn.c (yn): Likewise.
28335         * math/w_jnf.c (ynf): Likewise.
28336         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
28337         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
28338         value for Bessel function domain errors outside _SVID_ mode.
28339         Adjust sign of return value for yn (negative integer, 0).
28340         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
28341         by zero in return for negative x and set sign appropriately for
28342         negative n.
28343         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
28344         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
28345         * math/libm-test.inc (y0_test_data): Add more tests and adjust
28346         expectations in error cases.
28347         (y1_test_data): Likewise.
28348         (yn_test_data): Likewise.
28349         * sysdeps/i386/fpu/libm-test-ulps: Update.
28350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28352 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28354         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
28355         "64" to "64-v1".  Add "64-v2".
28356         (abi-64-options): Rename to ...
28357         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
28358         (abi-64-condition): Rename to ...
28359         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
28360         (abi-64-ld-soname): Rename to ...
28361         (abi-64-v1-ld-soname): ... this.
28362         (abi-64-v2-options): Define.
28363         (abi-64-v2-condition): Likewise.
28364         (abi-64-v2-ld-soname): Likewise.
28365         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
28366         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
28367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
28368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
28369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
28371 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28372             Alan Modra  <amodra@gmail.com>
28374         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
28375         New versions for use with the ELFv2 ABI.
28376         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
28377         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
28378         declaration.
28379         (struct La_ppc64v2_retval): Likewise.
28380         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
28381         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
28382         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
28383         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
28384         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
28385         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
28386         Do not save or restore CR.
28387         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
28388         (_dl_profile_resolve): Do no save or restore CR.  Support extended
28389         return values for ELFv2 ABI.  Fix location of FPR return registers.
28390         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
28391         updated values for _CALL_ELF == 2.
28392         (La_regs, La_retval, int_retval): Likewise.
28394 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28396         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
28397         (FRAME_MIN_SIZE_PARM): Likewise.
28398         (FRAME_BACKCHAIN): Likewise.
28399         (FRAME_CR_SAVE): Likewise.
28400         (FRAME_LR_SAVE): Likewise.
28401         (FRAME_TOC_SAVE): Likewise.
28402         (FRAME_PARM_SAVE): Likewise.
28403         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
28404         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
28405         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
28406         (call_mcount_parm_offset): New macro.
28407         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
28408         (PROF): Use symbolic stack frame offsets.
28409         (TAIL_CALL_SYSCALL_ERROR): Likewise.
28410         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
28411         Redefine in terms of FRAME_MIN_SIZE.
28412         (_dl_runtime_resolve): Use symbolic stack frame offsets.
28413         (_dl_profile_resolve): Likewise.  Update comment.
28414         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
28415         symbols stack frame offsets.
28416         (__sigsetjmp): Likewise.
28417         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
28418         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
28419         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
28420         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
28422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
28423         (FRAME_BACKCHAIN): Remove.
28424         (FRAME_CR_SAVE): Likewise.
28425         (FRAME_LR_SAVE): Likewise.
28426         (FRAME_COMPILER_DW): Likewise.
28427         (FRAME_LINKER_DW): Likewise.
28428         (FRAME_TOC_SAVE): Likewise.
28429         (FRAME_PARM_SAVE): Likewise.
28430         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
28431         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
28432         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
28433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
28434         (CHECK_SP): Use symbolic stack frame offsets.
28435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
28436         zone" instead of caller's parameter save area for temp storage.
28437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
28438         Likewise.  Also, use symbolic stack frame offsets.
28439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
28440         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
28441         our own stack frame instead of the caller's.
28442         (__socket): Use symbolic stack frame offsets.
28444 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28445             Alan Modra  <amodra@gmail.com>
28447         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
28448         Define.
28449         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
28450         (PPC64_LOCAL_ENTRY_OFFSET): Define.
28451         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
28452         New function.
28453         (elf_machine_fixup_plt): Call it.
28454         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
28455         reloc arguments.
28456         (elf_machine_rela): Update call to elf_machine_plt_conflict.
28457         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
28458         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
28459         r2 before calling target.
28461 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28462             Alan Modra  <amodra@gmail.com>
28464         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
28465         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
28466         versions of macros to support ELFv2 ABI.
28467         (LOCALENTRY): New macro.
28468         (ENTRY, EALIGN): Use it.
28469         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
28470         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
28471         fall through into ENTRY entry point.
28472         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
28473         Only define if _CALL_ELF != 2.
28475         (elf_machine_matches_host): Verify ABI version matches.
28476         (RTLD_START): Use LOCALENTRY.
28477         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
28478         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
28479         (PLT_ENTRY_WORDS): New macro.
28480         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
28481         (elf_machine_runtime_setup): Support ELFv2 ABI.
28482         (elf_machine_fixup_plt): Likewise.
28483         (elf_machine_plt_conflict): Likewise.
28484         (resolve_ifunc): Likewise.
28485         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
28486         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
28487         Likewise.
28488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
28489         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
28490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28491         (makecontext): Support ELFv2 ABI.
28492         * elf/elf.h (EF_PPC64_ABI): Define.
28494 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28496         * sysdeps/powerpc/powerpc64/sysdep.h
28497         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
28498         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
28499         (ENTRY) [ASSEMBLER]: ... but instead here ...
28500         (EALIGN) [ASSEMBLER]: ... and here.
28501         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
28502         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
28503         (ENTRY_2) [!ASSEMBLER]: Use it.
28504         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
28505         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
28506         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
28507         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
28508         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
28509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
28510         Use PPC64_LOAD_FUNCPTR.
28512         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
28514 2013-12-04  Alan Modra  <amodra@gmail.com>
28516         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
28517         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
28518         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
28519         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
28521         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
28522         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
28523         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
28524         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
28525         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
28526         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
28528 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28531         (__makecontext): Fix incorrect CFI when backtracing out of
28532         context created via makecontext.
28533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
28534         (__setcontext): Fix incorrect CFI during switch to new context.
28535         (__novec_setcontext): Likewise.
28537 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
28539         [BZ #4772]
28540         * time/strptime_l.c (__strptime_internal): Allow modifiers
28541         in strptime.
28542         * time/tst-strptime.c (day_tests): Add testcase.
28544 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28546         * scripts/bench.pl: Skip over blank lines.
28548 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
28550         [BZ #926]
28551         * manual/time.texi (Calendar Time): Clarify what timezone functions
28552         use.
28554 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28556         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28558 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
28560         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
28561         implementation.
28562         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
28563         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
28564         * debug/memset_chk.c (__memset_chk): Likewise.
28565         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
28566         * debug/strncpy_chk.c: Likewise.
28568 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
28570         [BZ #15268]
28571         [BZ #15425]
28572         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
28573         (__ieee754_exp): For possibly underflowing results, check size of
28574         result and force underflow exception if required.
28575         * math/auto-libm-test-in: Add more tests of exp.
28576         * math/auto-libm-test-out: Regenerated.
28577         * sysdeps/i386/fpu/libm-test-ulps: Update.
28578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28580         [BZ #16283]
28581         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
28582         * math/w_exp2f.c (__exp2f): Likewise.
28583         * math/w_exp2l.c (__exp2l): Likewise.
28584         * math/auto-libm-test-in: Do not allow missing errno on exp2
28585         underflow.
28586         * math/auto-libm-test-out: Regenerated.
28588 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
28590         [BZ #16274]
28591         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
28592         handle filename validation.
28593         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
28594         (do_open): Delete.
28596 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
28598         [BZ #6786]
28599         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
28600         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
28601         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
28602         <float.h>.
28603         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
28604         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
28605         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28606         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
28607         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28608         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
28609         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28610         * math/auto-libm-test-in: Don't allow missing errno from erfc.
28611         Add more erfc tests.
28612         * math/auto-libm-test-out: Regenerated.
28613         * sysdeps/i386/fpu/libm-test-ulps: Update.
28614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28616         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
28617         exp2, expm1, j0 and j1.
28618         * math/auto-libm-test-out: Regenerated.
28619         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
28620         (erfc_test_data): Likewise.
28621         (exp_test_data): Likewise.
28622         (exp_tonearest_test_data): Likewise.
28623         (exp_towardzero_test_data): Likewise.
28624         (exp_downward_test_data): Likewise.
28625         (exp_upward_test_data): Likewise.
28626         (exp10_test_data): Likewise.
28627         (exp2_test_data): Likewise.
28628         (expm1_test_data): Likewise.
28629         (j0_test_data): Likewise.
28630         (j1_test_data): Likewise.
28631         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
28632         (input_flag_type): Add flag_xfail_rounding.
28633         (input_flags): Add xfail-rounding.
28634         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
28635         (output_for_one_input_case): Handle flag_xfail_rounding.
28636         * sysdeps/i386/fpu/libm-test-ulps: Update.
28637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28639 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
28641         [BZ #16289]
28642         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
28643         division by 0.
28645 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
28647         [BZ #16195]
28648         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
28649         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
28650         (STAP_PROBE0): New macro.
28651         (STAP_PROBE1): Likewise.
28652         (STAP_PROBE2): Likewise.
28653         (STAP_PROBE3): Likewise.
28654         (STAP_PROBE4): Likewise.
28656 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
28658         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
28660 2013-12-02  Steve Ellcey  <sellcey@mips.com>
28662         * benchtests/Makefile (bench): Add sqrt.
28663         (LDLIBS-bench-sqrt): New.
28664         * benchtests/sqrt-input: New.
28666 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
28668         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
28669         (GAIH_EAI): Likewise.
28670         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
28671         (gaih_inet): Likewise.
28672         (getaddrinfo): Don't use GAIH_EAI.
28674         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
28675         (struct gaih): Remove definition.
28677 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28679         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
28680         Use HERRNOP directly.
28682 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28684         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28686 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
28688         * math/gen-auto-libm-tests.c (test_functions): Add more
28689         single-argument functions.
28690         (special_fill_pi_2): New function.
28691         (special_fill_minus_pi_2): Likewise.
28692         (special_fill_pi_6): Likewise.
28693         (special_fill_minus_pi_6): Likewise.
28694         (special_fill_pi_3): Likewise.
28695         (special_fill_2pi_3): Likewise.
28696         (special_fill_e): Likewise.
28697         (special_fill_1_e): Likewise.
28698         (special_fill_e_minus_1): Likewise.
28699         (special_real_inputs): Add more special inputs.
28700         (output_for_one_input_case): Do not require ERANGE on underflow to
28701         zero if round-to-nearest result does not underflow to zero, unless
28702         exact results required.
28703         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
28704         atan, atanh, cbrt, cos and cosh.
28705         * math/auto-libm-test-out: Regenerated.
28706         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
28707         (acos_tonearest_test_data): Likewise.
28708         (acos_towardzero_test_data): Likewise.
28709         (acos_downward_test_data): Likewise.
28710         (acos_upward_test_data): Likewise.
28711         (acosh_test_data): Likewise.
28712         (asin_test_data): Likewise.
28713         (asin_tonearest_test_data): Likewise.
28714         (asin_towardzero_test_data): Likewise.
28715         (asin_upward_test_data): Likewise.
28716         (asinh_test_data): Likewise.
28717         (atan_test_data): Likewise.
28718         (atanh_test_data): Likewise.
28719         (cbrt_test_data): Likewise.
28720         (cos_test_data): Likewise.
28721         (cos_tonearest_test_data): Likewise.
28722         (cos_towardzero_test_data): Likewise.
28723         (cos_downward_test_data): Likewise.
28724         (cos_upward_test_data): Likewise.
28725         (cosh_test_data): Likewise.
28726         (cosh_tonearest_test_data): Likewise.
28727         (cosh_towardzero_test_data): Likewise.
28728         (cosh_downward_test_data): Likewise.
28729         (cosh_upward_test_data): Likewise.
28730         * sysdeps/i386/fpu/libm-test-ulps: Update.
28731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28733 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
28735         [BZ #6787]
28736         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
28737         * math/w_exp10f.c (__exp10f): Likewise.
28738         * math/w_exp10l.c (__exp10l): Likewise.
28739         * math/libm-test.inc (exp10_test_data): Add more tests and expect
28740         errno settings in existing tests.
28742         [BZ #14032]
28743         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
28744         precision control set to double precision.
28745         * sysdeps/i386/fpu/w_sqrt.c: New file.
28746         * math/auto-libm-test-in: Add more tests.
28747         * math/auto-libm-test-out: Update.
28749         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
28750         (sqrt_test_tonearest): New function.
28751         (sqrt_towardzero_test_data): New variable.
28752         (sqrt_test_towardzero): New function.
28753         (sqrt_downward_test_data): New variable.
28754         (sqrt_test_downward): New function.
28755         (sqrt_upward_test_data): New variable.
28756         (sqrt_test_upward): New function.
28757         (main): Call the new functions.
28759         * math/gen-auto-libm-tests.c: New file.
28760         * math/auto-libm-test-in: Likewise.
28761         * math/auto-libm-test-out: New generated file.
28762         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
28763         variables.
28764         (%beautify): Add generated representations of zero.
28765         (top level): Set $auto_input and call parse_auto_input.
28766         (beautify): Remove trailing "f" from hex float constants.
28767         (parse_args): Handle XFAIL_TEST.
28768         (convert_condition): New function.
28769         (or_value): Likewise.
28770         (or_cond_value): Likewise.
28771         (generate_testfile): Handle AUTO_TESTS_* lines.
28772         (parse_auto_input): New function.
28773         * math/libm-test.inc (XFAIL_TEST): New macro.
28774         (ERRNO_UNCHANGED): Update value.
28775         (ERRNO_EDOM): Likewise.
28776         (ERRNO_ERANGE): Likewise.
28777         (IGNORE_RESULT): Likewise.
28778         (TEST_COND_flt_32): New macro.
28779         (TEST_COND_dbl_64): Likewise.
28780         (TEST_COND_ldbl_96_intel): Likewise.
28781         (TEST_COND_ldbl_96_m68k): Likewise.
28782         (TEST_COND_ldbl_128): Likewise.
28783         (TEST_COND_ldbl_128ibm): Likewise.
28784         (TEST_COND_long32): Likewise.
28785         (TEST_COND_long64): Likewise.
28786         (TEST_COND_before_rounding): Likewise.
28787         (TEST_COND_after_rounding): Likewise.
28788         (enable_test): Handle XFAIL_TEST flag.
28789         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
28790         with finite results.
28791         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
28792         auto-libm-test-out.
28794 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28795             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28797         [BZ #16214]
28798         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
28799         __tls_get_addr_internal instead of __tls_get_offset in order to
28800         avoid GOT pointer dependency.  Make rtld export
28801         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
28802         __tls_get_addr since we are a __tls_get_offset platform.
28803         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
28804         GOT pointer being set up before.
28805         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
28807 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
28809         * manual/math.texi (Errors in Math Functions): Document accuracy
28810         goals.
28812         [BZ #15004]
28813         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
28814         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
28815         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28816         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28817         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28818         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28819         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28820         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28821         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28822         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28823         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28824         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28825         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28826         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28827         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28828         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28830         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
28831         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
28832         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
28833         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
28834         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
28835         Likewise.
28836         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
28837         Likewise.
28838         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
28839         Likewise.
28840         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
28841         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
28842         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
28843         atomic-feupdateenv and flt-rounds.
28844         * sysdeps/powerpc/nofpu/Versions (libc): Add
28845         __atomic_feholdexcept, __atomic_feclearexcept,
28846         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
28847         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
28848         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
28849         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
28850         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
28851         here.
28852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
28853         Update.
28855         * manual/arith.texi (FP Exceptions): Document that exceptions may
28856         not be raised when matherr is used.
28857         (Math Error Reporting): Document overflow in directed rounding
28858         modes.  Document that errno may not be set when finite values are
28859         returned on overflow.  Document intent to set errno on underflow
28860         only for underflow to zero.
28862         [BZ #16271]
28863         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
28864         round-to-nearest then adjust result for other rounding modes.
28865         * include/fenv.h (fegetround): Use libm_hidden_proto.
28866         * math/fegetround.c (fegetround): Use libm_hidden_def.
28867         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
28868         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
28869         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
28870         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
28871         Likewise.
28872         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
28873         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28874         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
28875         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
28877 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28879         [BZ #16077]
28880         * nss/Versions (libnss_files): Add
28881         _nss_files_gethostbyname3_r.
28882         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
28883         New function.
28884         (HOST_DB_LOOKUP): Remove macro.
28885         (_nss_files_gethostbyname_r): Implement function without the
28886         HOST_DB_LOOKUP macro.
28887         (_nss_files_gethostbyname2_r): Likewise.
28889 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
28891         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
28893 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
28895         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
28896         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
28897         warning.
28899 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28901         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
28902         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
28903         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
28904         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
28905         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
28906         __fe_nomask_env_priv and attribute_hidden.
28907         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
28908         (libc_feupdateenv_test_ppc): Likewise.
28909         (libc_feresetround_ppc): Likewise.
28910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28911         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
28912         compat_symbol macro.
28913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28914         (__fe_nomask_env): Likewise.
28915         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
28917 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28919         * string/Makefile: Remove ifunc tests.
28920         * string/test-string.h: Define TEST_IFUNC.
28921         * string/test-bcopy-ifunc.c: Remove.
28922         * string/test-bzero-ifunc.c: Likewise.
28923         * string/test-memccpy-ifunc.c: Likewise.
28924         * string/test-memchr-ifunc.c: Likewise.
28925         * string/test-memcmp-ifunc.c: Likewise.
28926         * string/test-memcpy-ifunc.c: Likewise.
28927         * string/test-memmem-ifunc.c: Likewise.
28928         * string/test-memmove-ifunc.c: Likewise.
28929         * string/test-mempcpy-ifunc.c: Likewise.
28930         * string/test-memrchr-ifunc.c: Likewise.
28931         * string/test-memset-ifunc.c: Likewise.
28932         * string/test-rawmemchr-ifunc.c: Likewise.
28933         * string/test-stpcpy-ifunc.c: Likewise.
28934         * string/test-stpncpy-ifunc.c: Likewise.
28935         * string/test-strcasecmp-ifunc.c: Likewise.
28936         * string/test-strcasestr-ifunc.c: Likewise.
28937         * string/test-strcat-ifunc.c: Likewise.
28938         * string/test-strchr-ifunc.c: Likewise.
28939         * string/test-strchrnul-ifunc.c: Likewise.
28940         * string/test-strcmp-ifunc.c: Likewise.
28941         * string/test-strcpy-ifunc.c: Likewise.
28942         * string/test-strcspn-ifunc.c: Likewise.
28943         * string/test-strlen-ifunc.c: Likewise.
28944         * string/test-strncasecmp-ifunc.c: Likewise.
28945         * string/test-strncat-ifunc.c: Likewise.
28946         * string/test-strncmp-ifunc.c: Likewise.
28947         * string/test-strncpy-ifunc.c: Likewise.
28948         * string/test-strnlen-ifunc.c: Likewise.
28949         * string/test-strpbrk-ifunc.c: Likewise.
28950         * string/test-strrchr-ifunc.c: Likewise.
28951         * string/test-strspn-ifunc.c: Likewise.
28952         * string/test-strstr-ifunc.c: Likewise.
28954 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28956         * benchtests/Makefile: Remove ifunc tests.
28957         * benchtests/bench-string.h: Define TEST_IFUNC.
28958         * benchtests/bench-bcopy-ifunc.c: Remove.
28959         * benchtests/bench-bzero-ifunc.c: Likewise.
28960         * benchtests/bench-memccpy-ifunc.c: Likewise.
28961         * benchtests/bench-memchr-ifunc.c: Likewise.
28962         * benchtests/bench-memcmp-ifunc.c: Likewise.
28963         * benchtests/bench-memcpy-ifunc.c: Likewise.
28964         * benchtests/bench-memmem-ifunc.c: Likewise.
28965         * benchtests/bench-memmove-ifunc.c: Likewise.
28966         * benchtests/bench-mempcpy-ifunc.c: Likewise.
28967         * benchtests/bench-memrchr-ifunc.c: Likewise.
28968         * benchtests/bench-memset-ifunc.c: Likewise.
28969         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
28970         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
28971         * benchtests/bench-stpcpy-ifunc.c: Likewise.
28972         * benchtests/bench-stpncpy-ifunc.c: Likewise.
28973         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
28974         * benchtests/bench-strcasestr-ifunc.c: Likewise.
28975         * benchtests/bench-strcat-ifunc.c: Likewise.
28976         * benchtests/bench-strchr-ifunc.c: Likewise.
28977         * benchtests/bench-strchrnul-ifunc.c: Likewise.
28978         * benchtests/bench-strcmp-ifunc.c: Likewise.
28979         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
28980         * benchtests/bench-strcpy-ifunc.c: Likewise.
28981         * benchtests/bench-strcspn-ifunc.c: Likewise.
28982         * benchtests/bench-strlen-ifunc.c: Likewise.
28983         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
28984         * benchtests/bench-strncat-ifunc.c: Likewise.
28985         * benchtests/bench-strncmp-ifunc.c: Likewise.
28986         * benchtests/bench-strncpy-ifunc.c: Likewise.
28987         * benchtests/bench-strnlen-ifunc.c: Likewise.
28988         * benchtests/bench-strpbrk-ifunc.c: Likewise.
28989         * benchtests/bench-strrchr-ifunc.c: Likewise.
28990         * benchtests/bench-strsep-ifunc.c: Likewise.
28991         * benchtests/bench-strspn-ifunc.c: Likewise.
28992         * benchtests/bench-strstr-ifunc.c: Likewise.
28994 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28996         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
28998 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
29000         * resolv/netdb.h: Use __glibc_reserved instead __unused.
29001         * rt/aio.h: Likewise.
29002         * sysdeps/gnu/bits/utmp.h: Likewise.
29003         * sysdeps/gnu/bits/utmpx.h: Likewise.
29004         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
29005         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
29006         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
29007         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
29008         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
29009         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
29010         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
29011         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
29012         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
29013         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
29014         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
29015         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
29016         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
29017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
29018         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
29019         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
29020         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
29021         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
29022         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
29023         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
29024         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
29025         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
29026         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
29027         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
29028         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
29029         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29030         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
29031         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
29032         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
29033         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
29034         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
29035         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
29036         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
29037         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
29038         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
29039         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
29040         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
29041         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
29042         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
29043         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
29044         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
29045         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
29047 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
29049         [BZ #16245]
29050         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
29051         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
29053 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
29055         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
29056         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
29057         Likewise.
29059 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29061         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
29062         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
29063         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
29064         (__fesetround): Remove define.
29065         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
29066         rounding and exceptions handling.
29067         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
29068         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
29069         (__fe_nomask_env): Likewise.
29070         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
29071         __fegetround instead of fegetround.
29072         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
29073         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
29075 2013-11-21  Roland McGrath  <roland@hack.frob.com>
29077         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
29078         it's there.
29080         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
29082 2013-11-21  Meador Inge  <meadori@codesourcery.com>
29084         [BZ #11157]
29085         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
29086         (encrypt_r): Likewise.
29087         * malloc/obstack.h (obstack_free): Likewise.
29088         * posix/unistd.h (encrypt): Likewise.
29090 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
29092         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
29093         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
29094         DL_CALL_DT_FINI() that call the functions directly.
29095         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
29096         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
29097         * elf/dl-fini.c: Likewise.
29099 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
29101         * malloc/hooks.c (memalign_check): Add alignment rounding.
29102         * malloc/malloc.c (_mid_memalign): New function.
29103         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
29104         Implement by calling _mid_memalign.
29105         * manual/probes.texi (Memory Allocation Probes): Remove
29106         memory_valloc_retry and memory_pvalloc_retry.
29108 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29110         * locale/programs/locarchive.c (open_archive): Add const
29111         qualifier to ARCHIVEFNAME and copy default fname to
29112         DEFAULT_FNAME.
29114         [BZ #15601]
29115         * libio/tst-widetext.input: Rename Oriya to Odia.
29116         * locale/iso-639.def: Likewise.
29118         * manual/probes.texi (Mathematical Function Probes): Add
29119         documentation for sin, cos, asin and acos probes.
29120         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
29121         (__sin32): Add slowasin probe.
29122         (__cos32): Add slowacos probe.
29123         (__mpsin): Add slowsin probe.
29124         (__mpcos): Add slowcos probe.
29126 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
29128         [BZ #15483]
29129         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
29130         thread-local __sim_exceptions_thread and global
29131         __sim_exceptions_global.
29132         (__sim_disabled_exceptions): Change to thread-local
29133         __sim_disabled_exceptions_thread and global
29134         __sim_disabled_exceptions_global.
29135         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
29136         and global __sim_round_mode_global.
29137         (__simulate_exceptions): Use thread-local floating-point state and
29138         set global state from it as needed.
29139         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
29140         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
29141         __sim_round_mode_thread.
29142         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
29143         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
29144         and global __sim_exceptions_global.
29145         (__sim_disabled_exceptions): Change to thread-local
29146         __sim_disabled_exceptions_thread and global
29147         __sim_disabled_exceptions_global.
29148         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
29149         and global __sim_round_mode_global.
29150         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
29151         (SIM_SET_GLOBAL): Likewise.
29152         * sysdeps/powerpc/soft-fp/sfp-machine.h
29153         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
29154         __sim_round_mode_thread.
29155         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
29156         __sim_disabled_exceptions_thread.
29157         (__sim_exceptions): Change to __sim_exceptions_thread.
29158         (__sim_disabled_exceptions): Change to
29159         __sim_disabled_exceptions_thread.
29160         (__sim_round_mode): Change to __sim_round_mode_thread.
29161         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
29162         thread-local floating-point state and set global state from it as
29163         needed.
29164         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
29165         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
29166         (__sim_disabled_exceptions): Remove extern declaration.
29167         (feenableexcept): Use thread-local floating-point state and set
29168         global state from it as needed.
29169         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
29170         extern declaration.
29171         (__sim_disabled_exceptions): Likewise.
29172         (__sim_round_mode): Likewise.
29173         (__fegetenv): Use thread-local floating-point state.
29174         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
29175         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
29176         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
29177         floating-point state and set global state from it as needed.
29178         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
29179         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
29180         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
29181         Likewise.
29182         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
29183         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
29184         Likewise.
29185         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
29186         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
29187         Use __sim_round_mode_thread.
29188         * math/test-fenv-tls.c: New file.
29189         * math/Makefile (tests): Add test-fenv-tls.
29190         ($(objpfx)test-fenv-tls): Depend on
29191         $(common-objpfx)nptl/libpthread.so.
29193 2013-11-19  Andreas Schwab  <schwab@suse.de>
29195         * locale/programs/locale.c (show_info): Decode wordarray elements.
29196         * locale/categories.def (LC_MONETARY): Add element for
29197         _NL_MONETARY_CRNCYSTR.
29198         * locale/C-monetary.c (conversion_rate): New variable.
29199         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
29200         element.
29202 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
29204         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
29205         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
29207 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
29209         * elf/Makefile (tst-auxv): New test.
29210         * elf/tst-auxv.c: New
29211         * elf/rtld.c (dl_main): Adjust AT_EXECFN
29213 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
29215         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
29216         (hidden_proto): Caller changed.
29217         (hidden_tls_proto): New macro.
29218         (libc_hidden_tls_proto): Likewise.
29219         (rtld_hidden_tls_proto): Likewise.
29220         (libm_hidden_tls_proto): Likewise.
29221         (libresolv_hidden_tls_proto): Likewise.
29222         (librt_hidden_tls_proto): Likewise.
29223         (libdl_hidden_tls_proto): Likewise.
29224         (libnss_files_hidden_tls_proto): Likewise.
29225         (libnsl_hidden_tls_proto): Likewise.
29226         (libnss_nisplus_hidden_tls_proto): Likewise.
29227         (libutil_hidden_tls_proto): Likewise.
29229 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
29231         [BZ #10253]
29232         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
29233         (decompose_rpath): Defer expansion to fillin_rpath.
29234         (_dl_init_paths): Pass linkmap to fillin_rpath.
29236 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29238         * benchtests/Makefile: Add strsep.
29239         * benchtests/bench-strsep.c: New file: strsep benchtest.
29240         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
29242 2013-11-18  Andreas Schwab  <schwab@suse.de>
29244         * locale/programs/locale.c (show_info) [case byte]: Check for
29245         '\377' instead of '\177'.
29246         * locale/C-monetary.c (not_available): Always use "\377".
29247         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
29248         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
29249         detect unavailable sign_posn locale elements.
29250         * locale/localeconv.c (__localeconv): For grouping and
29251         mon_grouping handle "\177" and "\377" like no grouping.
29252         (INT_ELEM): New macro.  Use it to set all numeric members.
29253         * locale/programs/ld-monetary.c (monetary_read)
29254         <tok_mon_grouping>: Normalize single -1 to the empty string.
29255         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
29256         Likewise.
29258 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
29260         [BZ #16055]
29261         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
29262         when we match (nil).
29263         * stdio-common/tst-sscanf.c (struct test): Add testcase.
29265 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
29267         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
29268         (NO_TEST_INLINE): Update value.
29269         (ERRNO_UNCHANGED): Likewise.
29270         (ERRNO_EDOM): Likewise.
29271         (ERRNO_ERANGE): Likewise.
29272         (IGNORE_RESULT): Likewise.
29273         (check_float_internal): Check signs of NaN results if
29274         TEST_NAN_SIGN used.
29275         (check_complex): Pass TEST_NAN_SIGN flag through to second
29276         check_float_internal call.
29277         (copysign_test_data): Add tests with quiet NaNs as second
29278         argument.  Use TEST_NAN_SIGN.
29279         (fabs_test_data): Add test of negative quiet NaN argument.  Use
29280         TEST_NAN_SIGN.
29281         (signbit_test_data): Add tests of quiet NaN argument.
29282         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
29284         * math/gen-libm-test.pl (show_exceptions): Take extra argument
29285         $ignore_result.
29286         (parse_args): Handle function results specified as IGNORE.
29287         * math/libm-test.inc (IGNORE_RESULT): New macro.
29288         (check_float_internal): Do not check numerical result if flag
29289         IGNORE_RESULT set.
29290         (check_complex): Pass through IGNORE_RESULT to second
29291         check_float_internal call.
29292         (check_int): Do not check numerical result if flag IGNORE_RESULT
29293         set.
29294         (check_long): Likewise.
29295         (check_bool): Likewise.
29296         (check_longlong): Likewise.
29297         (lrint_test_data): Add tests of infinite and NaN arguments.
29298         (lrint_tonearest_test_data): Likewise.
29299         (lrint_towardzero_test_data): Likewise.
29300         (lrint_downward_test_data): Likewise.
29301         (lrint_upward_test_data): Likewise.
29302         (llrint_test_data): Likewise.
29303         (llrint_tonearest_test_data): Likewise.
29304         (llrint_towardzero_test_data): Likewise.
29305         (llrint_downward_test_data): Likewise.
29306         (llrint_upward_test_data): Likewise.
29307         (lround_test_data): Likewise.
29308         (llround_test_data): Likewise.
29310         * math/libm-test.inc (NO_TEST_INLINE): New macro.
29311         (ERRNO_UNCHANGED): Update value.
29312         (ERRNO_EDOM): Likewise.
29313         (ERRNO_ERANGE): Likewise.
29314         (NO_TEST_INLINE_FLOAT): New macro.
29315         (NO_TEST_INLINE_DOUBLE): Likewise.
29316         (enable_test): New function.
29317         (RUN_TEST_f_f): Check enable_test before running test.
29318         (RUN_TEST_2_f): Likewise.
29319         (RUN_TEST_fff_f): Likewise.
29320         (RUN_TEST_c_f): Likewise.
29321         (RUN_TEST_f_f1): Likewise.
29322         (RUN_TEST_fF_f1): Likewise.
29323         (RUN_TEST_fI_f1): Likewise.
29324         (RUN_TEST_ffI_f1): Likewise.
29325         (RUN_TEST_c_c): Likewise.
29326         (RUN_TEST_cc_c): Likewise.
29327         (RUN_TEST_f_i): Likewise.
29328         (RUN_TEST_f_i_tg): Likewise.
29329         (RUN_TEST_ff_i_tg): Likewise.
29330         (RUN_TEST_f_b): Likewise.
29331         (RUN_TEST_f_b_tg): Likewise.
29332         (RUN_TEST_f_l): Likewise.
29333         (RUN_TEST_f_L): Likewise.
29334         (RUN_TEST_fFF_11): Likewise.
29335         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
29336         conditionals.
29337         (cosh_test_data): Likewise.
29338         (exp_test_data): Likewise.
29339         (expm1_test_data): Likewise.
29340         (hypot_test_data): Likewise.
29341         (pow_test_data): Likewise.
29342         (sinh_test_data): Likewise.
29343         (tanh_test_data): Likewise.
29344         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
29345         flags argument.
29347         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
29348         tests with quiet NaN input and output.
29349         (acosh_test_data): Likewise.
29350         (asin_test_data): Likewise.
29351         (asinh_test_data): Likewise.
29352         (atan_test_data): Likewise.
29353         (atanh_test_data): Likewise.
29354         (atan2_test_data): Likewise.
29355         (cbrt_test_data): Likewise.
29356         (cos_test_data): Likewise.
29357         (cosh_test_data): Likewise.
29358         (erf_test_data): Likewise.
29359         (erfc_test_data): Likewise.
29360         (exp_test_data): Likewise.
29361         (exp10_test_data): Likewise.
29362         (exp2_test_data): Likewise.
29363         (expm1_test_data): Likewise.
29364         (hypot_test_data): Likewise.
29365         (j0_test_data): Likewise.
29366         (j1_test_data): Likewise.
29367         (jn_test_data): Likewise.
29368         (lgamma_test_data): Likewise.
29369         (log_test_data): Likewise.
29370         (log10_test_data): Likewise.
29371         (log1p_test_data): Likewise.
29372         (log2_test_data): Likewise.
29373         (pow_test_data): Likewise.
29374         (scalb_test_data): Likewise.
29375         (sin_test_data): Likewise.
29376         (sincos_test_data): Likewise.
29377         (sinh_test_data): Likewise.
29378         (tan_test_data): Likewise.
29379         (tanh_test_data): Likewise.
29380         (tgamma_test_data): Likewise.
29381         (y0_test_data): Likewise.
29382         (y1_test_data): Likewise.
29383         (yn_test_data): Likewise.
29385         [BZ #16167]
29386         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
29387         argument being NaN and avoid computations with second argument in
29388         that case.
29389         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
29390         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
29391         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
29393 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
29395         * locale/iso-639.def: Add Chitwani Tharu (the).
29397 2013-11-14  Andreas Schwab  <schwab@suse.de>
29399         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
29400         word instead of empty string.
29402 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29405         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
29406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29407         (__fe_nomask_env): Likewise.
29409 2013-11-13  Steve Ellcey  <sellcey@mips.com>
29411         * benchtests/bench-timing.h: Include time.h.
29413 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
29415         [BZ #15997]
29416         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
29417         to 3.4.0 for x32.
29418         * sysdeps/unix/sysv/linux/configure: Regenerated.
29420 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
29422         [BZ #16151]
29423         * stdlib/strtod_l.c (round_and_return): Do not consider
29424         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
29425         exponent one less than half the least subnormal exponent.
29426         * stdlib/test-strtod-round-data: Add more tests.
29427         * stdlib/tst-strtod-round.c (tests): Regenerated.
29429 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29431         [BZ #14143]
29432         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
29433         (__fe_mask_env): Likewise.
29434         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
29435         libm_hidden_proto and add function prototype.
29436         (__fe_mask_env): Add function prototype.
29437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29438         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
29439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
29440         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
29441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29442         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
29444 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29446         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
29447         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
29449 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29451         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
29452         of htab_find_slot().
29454 2013-11-11  David S. Miller  <davem@davemloft.net>
29456         [BZ #16150]
29457         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
29458         symbol in the non-vis3 case in static builds.
29459         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
29460         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
29461         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
29462         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
29464 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
29466         [BZ #387]
29467         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
29468         it is empty.
29470 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29472         * benchtests/Makefile: Add bench-strtod.
29473         * benchtests/bench-strtod.c: New file: strtod benchtest
29475 2013-11-11  Andreas Schwab  <schwab@suse.de>
29477         [BZ #16153]
29478         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
29479         terminating NUL in key length.
29481 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29483         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
29484         Add artificial ODP entry for vDSO symbol for PPC64.
29485         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
29486         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
29488 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
29490         [BZ #15374]
29491         * nss/getent.c (services_keys): Recognize services starting with digit.
29493 2013-11-06  David S. Miller  <davem@davemloft.net>
29495         [BZ #15985]
29496         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
29497         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
29499 2013-11-06  Will Newton  <will.newton@linaro.org>
29501         * manual/memory.texi (Malloc Examples): Remove register
29502         keyword from examples.
29504 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
29506         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
29508 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
29510         [BZ #6981]
29511         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
29512         depending on [__GCC_IEC_559 > 0].
29513         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
29514         depending on [__GCC_IEC_559_COMPLEX > 0].
29516 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
29518         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
29519         to iso-639.def.
29521 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
29523         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
29525 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
29527         [BZ #16112]
29528         * malloc/malloc (malloc_info): Do not handle first bin as
29529         special case.
29531 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
29533         * locale/iso-639.def: Add Central Nahuatl (nhn).
29535 2013-11-01  Bruno Haible  <bruno@clisp.org>
29537         [BZ #7003]
29538         * manual/math.texi (BSD Random): Specify range upper bound as
29539         in POSIX.
29541 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
29543         * locale/iso-639.def: Add Meadow Mari (mhr).
29545 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
29547         [BZ #14752], [BZ #15763]
29548         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
29549         Validate name.
29550         * rt/tst_shm.c: Add test for escaping directory.
29552 2013-10-31  Andreas Schwab  <schwab@suse.de>
29554         [BZ #15917]
29555         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
29556         followed by 'x' as part of digit sequence.
29557         * stdio-common/tst-sscanf.c (double_tests2): New tests.
29559 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
29561         [BZ #16037]
29562         * configure.ac: allow GNU Make 4.0 and greater.
29563         * configure: Regenerated.
29565 2013-10-30  Will Newton  <will.newton@linaro.org>
29567         [BZ #16038]
29568         * malloc/hooks.c (memalign_check): Limit alignment to the
29569         maximum representable power of two.
29570         * malloc/malloc.c (__libc_memalign): Likewise.
29571         * malloc/tst-memalign.c (do_test): Add test for very
29572         large alignment values.
29573         * malloc/tst-posix_memalign.c (do_test): Likewise.
29575 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
29577         [BZ #11087]
29578         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
29579         (munmap_chunk): Likewise.
29580         (mremap_chunk): Likewise.
29582 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
29584         [BZ #15799]
29585         * stdlib/div.c (div): Remove obsolete code.
29586         * stdlib/ldiv.c (ldiv): Likewise.
29587         * stdlib/lldiv.c (lldiv): Likewise.
29589 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29591         [BZ #16071]
29592         * nss/nss_files/files-XXX.c (get_contents_ret): New
29593         enumerator.
29594         (get_contents): New function.
29595         (internal_getent): Use it.  Expand size of LINEBUFLEN.
29597 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
29599         * configure.in: Moved to ...
29600         * configure.ac: ... here. Change reference to configure.in
29601         to configure.ac.
29602         * sysdeps/arm/preconfigure.ac: ... here.
29603         configure.in to configure.ac.
29604         * sysdeps/gnu/configure.in: Moved to ...
29605         * sysdeps/gnu/configure.ac: ... here.
29606         * sysdeps/i386/configure.in: Moved to ...
29607         * sysdeps/i386/configure.ac: ... here.
29608         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
29609         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
29610         * sysdeps/mach/configure.in: Moved to ...
29611         * sysdeps/mach/configure.ac: ... here.
29612         * sysdeps/mach/hurd/configure.in: Moved to ...
29613         * sysdeps/mach/hurd/configure.ac: ... here.
29614         * sysdeps/powerpc/configure.in: Moved to ...
29615         * sysdeps/powerpc/configure.ac: ... here.
29616         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
29617         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
29618         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
29619         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
29620         * sysdeps/s390/s390-32/configure.in: Moved to ...
29621         * sysdeps/s390/s390-32/configure.ac: ... here.
29622         * sysdeps/s390/s390-64/configure.in: Moved to ...
29623         * sysdeps/s390/s390-64/configure.ac: ... here.
29624         * sysdeps/sh/configure.in: Moved to ...
29625         * sysdeps/sh/configure.ac: ... here.
29626         * sysdeps/sparc/configure.in: Moved to ...
29627         * sysdeps/sparc/configure.ac: ... here.
29628         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
29629         * sysdeps/unix/sysv/linux/configure.ac: ... here.
29630         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
29631         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
29632         * sysdeps/x86_64/configure.in: Moved to ...
29633         * sysdeps/x86_64/configure.ac: ... here.
29634         * sysdeps/x86_64/preconfigure.in: Moved to ...
29635         * sysdeps/x86_64/preconfigure.ac: ... here.
29636         * aclocal.m4: Change reference to configure.in to configure.ac.
29637         * config.h.in: Likewise.
29638         * manual/install.texi: Likewise.
29639         * manual/maint.texi: Likewise.
29640         * Makefile: Likewise.
29641         * malloc/Makefile: Likewise.
29642         * nscd/Makefile: Likewise.
29643         * Makeconfig: Change reference to configure.in and
29644         preconfigure.in to configure.ac and preconfigure.ac
29645         respectively.
29646         * INSTALL: Regenerated.
29647         * configure: Likewise.
29648         * sysdeps/gnu/configure: Likewise.
29649         * sysdeps/i386/configure: Likewise.
29650         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
29651         * sysdeps/mach/configure: Likewise.
29652         * sysdeps/mach/hurd/configure: Likewise.
29653         * sysdeps/powerpc/configure: Likewise.
29654         * sysdeps/powerpc/powerpc32/configure: Likewise.
29655         * sysdeps/powerpc/powerpc64/configure: Likewise.
29656         * sysdeps/s390/s390-32/configure: Likewise.
29657         * sysdeps/s390/s390-64/configure: Likewise.
29658         * sysdeps/sh/configure: Likewise.
29659         * sysdeps/sparc/configure: Likewise.
29660         * sysdeps/unix/sysv/linux/configure: Likewise.
29661         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
29662         * sysdeps/x86_64/configure: Likewise.
29663         * sysdeps/x86_64/preconfigure: Likewise.
29665 2013-10-29  Andreas Schwab  <schwab@suse.de>
29667         * stdio-common/Makefile (tst-swscanf-ENV): Define.
29669 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29671         * benchtests/pow-inputs: Add new inputs.
29673         * benchtests/exp-inputs: Add new inputs.
29675         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
29676         conditional check for return value.
29677         (__cos32): Likewise.
29679 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29681         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
29682         to provide a boost for large inputs with word alignment.
29683         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
29684         implementation based on optimized PPC64 strcpy.
29685         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
29686         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
29687         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
29688         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
29690 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29692         [BZ #2801]
29693         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
29695 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29697         [BZ #14876]
29698         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
29699         * time/tst-strptime.c (day_tests): Add testcase.
29701 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29703         [BZ #14029]
29704         * manual/pattern.texi: Acknowledge that fnmatch can fail.
29706 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
29708         [BZ #16074]
29709         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
29710         MAP_FAILED on error.
29712 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29714         [BZ #16072]
29715         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
29716         heap for large requests.
29718 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
29720         [BZ #9954]
29721         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
29722         result if the result has no associated interface.
29723         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
29724         interface for all 127.X.Y.Z addresses.
29726 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
29728         * locale/iso-639.def: Add Ligurian (lij)
29730 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
29732         [BZ #15825]
29733         * sunrpc/rpc_main.c: Document rpcgen -5.
29735 2013-10-19  Michael Stahl  <mstahl@redhat.com>
29737         * elf/rtld.c (do_preload): Print the reason why preloading failed.
29739 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
29741         [BZ #10278]
29742         * posix/glob.c: Match only directories when trailing slash is present.
29743         * posix/tst-gnuglob.c (my_opendir): Do not open files.
29744         (main): Add testcase.
29746 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
29748         [BZ #15670]
29749         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
29751 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
29753         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
29754         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
29755         AUTH_DES and cindex for FIPS 140-2.
29756         (DES Encryption): Add cindex FIPS 46-3.
29758         * locale/locarchive.h (struct locarhandle): Add fname.
29759         * locale/programs/localedef.c (main): Pass ARGV[remaining]
29760         if an optional argument was specified to --list-archive,
29761         otherwise NULL.
29762         * locale/programs/locarchive.c (show_archive_content): Take new
29763         argument fname and pass it via ah.fname to open_archive.
29764         * locale/programs/localedef.h: Update decl.
29765         (open_archive): If AH->fname is non-null, open that file
29766         rather than the default file name, and don't ignore ENOENT.
29767         (create_archive): Set AH.fname to NULL.
29768         (delete_locales_from_archive): Likewise.
29769         (add_locales_to_archive): Likewise.
29770         * locale/programs/locfile.c (write_all_categories): Likewise.
29772 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
29773             Aldy Hernandez  <aldyh@redhat.com>
29775         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
29776         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
29777         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
29778         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
29779         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
29780         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
29781         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
29782         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
29783         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
29784         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
29785         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
29786         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
29787         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
29788         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
29789         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
29790         Likewise.
29791         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
29792         Likewise.
29793         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
29794         Likewise.
29795         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
29796         Likewise.
29797         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
29798         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
29799         Likewise.
29800         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
29801         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
29802         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
29803         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
29804         Likewise.
29805         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
29806         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
29807         * sysdeps/powerpc/preconfigure: Likewise.
29808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
29809         Likewise.
29810         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
29811         Replace contents of file by #include of <fenv_libc.h>.
29812         * sysdeps/powerpc/soft-fp/sfp-machine.h
29813         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
29814         and <sys/prctl.h>.
29815         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
29816         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
29817         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
29818         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
29819         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
29820         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
29821         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
29822         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
29823         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
29824         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
29825         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
29826         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
29827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
29828         Allow copysignl PLT reference to be missing.
29830 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
29831             Joseph Myers  <joseph@codesourcery.com
29833         [BZ #15948]
29834         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
29835         single character.
29836         (add_to_tablewc): Assert sequence of wide characters is nonempty.
29838 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29840         * elf/tst-tls-dlinfo.c: Don't include tls.h.
29841         * elf/tst-tls1.c: Likewise.
29842         * elf/tst-tls10.h: Likewise.
29843         * elf/tst-tls14.c: Likewise.
29844         * elf/tst-tls2.c: Likewise.
29845         * elf/tst-tls3.c: Likewise.
29846         * elf/tst-tls4.c: Likewise.
29847         * elf/tst-tls5.c: Likewise.
29848         * elf/tst-tls6.c: Likewise.
29849         * elf/tst-tls7.c: Likewise.
29850         * elf/tst-tls8.c: Likewise.
29851         * elf/tst-tls9.c: Likewise.
29852         * elf/tst-tlsmod1.c: Likewise.
29853         * elf/tst-tlsmod13.c: Likewise.
29854         * elf/tst-tlsmod13a.c: Likewise.
29855         * elf/tst-tlsmod14a.c: Likewise.
29856         * elf/tst-tlsmod16a.c: Likewise.
29857         * elf/tst-tlsmod16b.c: Likewise.
29858         * elf/tst-tlsmod2.c: Likewise.
29859         * elf/tst-tlsmod3.c: Likewise.
29860         * elf/tst-tlsmod4.c: Likewise.
29861         * elf/tst-tlsmod5.c: Likewise.
29862         * elf/tst-tlsmod6.c: Likewise.
29864 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
29866         [BZ #12486]
29867         * malloc/malloc.c: remove checks for statistics.
29869 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
29871         [BZ #15277]
29872         * inet/inet_net.c (inet_network): Detect additional invalid strings.
29873         * inet/tst-network.c: Add testcase.
29875 2013-10-17  Andreas Schwab  <schwab@suse.de>
29877         [BZ #15218]
29878         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
29879         to determine canonical name.
29881 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
29883         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
29884         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
29885         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29886         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29887         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29888         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29889         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29890         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29891         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29892         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29893         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
29894         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29895         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29896         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29897         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29898         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29899         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29900         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29901         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29902         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29903         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29904         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29905         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29906         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
29907         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
29908         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29909         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29910         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
29911         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29912         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
29913         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29914         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29915         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29916         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29917         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29918         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29919         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29920         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29921         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29922         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29923         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29924         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29925         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29926         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29927         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29928         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29929         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29930         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29931         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29932         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29933         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29934         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29935         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29936         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29937         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29938         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29939         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29940         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29942 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
29944         [BZ #16041]
29945         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
29946         make result into a quiet NaN.
29948 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
29950         * soft-fp/adddf3.c: Fix horizontal whitespace.
29951         * soft-fp/addsf3.c: Likewise.
29952         * soft-fp/addtf3.c: Likewise.
29953         * soft-fp/divdf3.c: Likewise.
29954         * soft-fp/divsf3.c: Likewise.
29955         * soft-fp/divtf3.c: Likewise.
29956         * soft-fp/double.h: Likewise.
29957         * soft-fp/eqdf2.c: Likewise.
29958         * soft-fp/eqsf2.c: Likewise.
29959         * soft-fp/eqtf2.c: Likewise.
29960         * soft-fp/extenddftf2.c: Likewise.
29961         * soft-fp/extended.h: Likewise.
29962         * soft-fp/extendsfdf2.c: Likewise.
29963         * soft-fp/extendsftf2.c: Likewise.
29964         * soft-fp/extendxftf2.c: Likewise.
29965         * soft-fp/fixdfdi.c: Likewise.
29966         * soft-fp/fixdfsi.c: Likewise.
29967         * soft-fp/fixdfti.c: Likewise.
29968         * soft-fp/fixsfdi.c: Likewise.
29969         * soft-fp/fixsfsi.c: Likewise.
29970         * soft-fp/fixsfti.c: Likewise.
29971         * soft-fp/fixtfdi.c: Likewise.
29972         * soft-fp/fixtfsi.c: Likewise.
29973         * soft-fp/fixtfti.c: Likewise.
29974         * soft-fp/fixunsdfdi.c: Likewise.
29975         * soft-fp/fixunsdfsi.c: Likewise.
29976         * soft-fp/fixunsdfti.c: Likewise.
29977         * soft-fp/fixunssfdi.c: Likewise.
29978         * soft-fp/fixunssfsi.c: Likewise.
29979         * soft-fp/fixunssfti.c: Likewise.
29980         * soft-fp/fixunstfdi.c: Likewise.
29981         * soft-fp/fixunstfsi.c: Likewise.
29982         * soft-fp/fixunstfti.c: Likewise.
29983         * soft-fp/floatdidf.c: Likewise.
29984         * soft-fp/floatdisf.c: Likewise.
29985         * soft-fp/floatditf.c: Likewise.
29986         * soft-fp/floatsidf.c: Likewise.
29987         * soft-fp/floatsisf.c: Likewise.
29988         * soft-fp/floatsitf.c: Likewise.
29989         * soft-fp/floattidf.c: Likewise.
29990         * soft-fp/floattisf.c: Likewise.
29991         * soft-fp/floattitf.c: Likewise.
29992         * soft-fp/floatundidf.c: Likewise.
29993         * soft-fp/floatundisf.c: Likewise.
29994         * soft-fp/floatunditf.c: Likewise.
29995         * soft-fp/floatunsidf.c: Likewise.
29996         * soft-fp/floatunsisf.c: Likewise.
29997         * soft-fp/floatunsitf.c: Likewise.
29998         * soft-fp/floatuntidf.c: Likewise.
29999         * soft-fp/floatuntisf.c: Likewise.
30000         * soft-fp/floatuntitf.c: Likewise.
30001         * soft-fp/fmadf4.c: Likewise.
30002         * soft-fp/fmasf4.c: Likewise.
30003         * soft-fp/fmatf4.c: Likewise.
30004         * soft-fp/gedf2.c: Likewise.
30005         * soft-fp/gesf2.c: Likewise.
30006         * soft-fp/getf2.c: Likewise.
30007         * soft-fp/ledf2.c: Likewise.
30008         * soft-fp/lesf2.c: Likewise.
30009         * soft-fp/letf2.c: Likewise.
30010         * soft-fp/muldf3.c: Likewise.
30011         * soft-fp/mulsf3.c: Likewise.
30012         * soft-fp/multf3.c: Likewise.
30013         * soft-fp/negdf2.c: Likewise.
30014         * soft-fp/negsf2.c: Likewise.
30015         * soft-fp/negtf2.c: Likewise.
30016         * soft-fp/op-1.h: Likewise.
30017         * soft-fp/op-2.h: Likewise.
30018         * soft-fp/op-4.h: Likewise.
30019         * soft-fp/op-8.h: Likewise.
30020         * soft-fp/op-common.h: Likewise.
30021         * soft-fp/quad.h: Likewise.
30022         * soft-fp/single.h: Likewise.
30023         * soft-fp/soft-fp.h: Likewise.
30024         * soft-fp/sqrtdf2.c: Likewise.
30025         * soft-fp/sqrtsf2.c: Likewise.
30026         * soft-fp/sqrttf2.c: Likewise.
30027         * soft-fp/subdf3.c: Likewise.
30028         * soft-fp/subsf3.c: Likewise.
30029         * soft-fp/subtf3.c: Likewise.
30030         * soft-fp/truncdfsf2.c: Likewise.
30031         * soft-fp/trunctfdf2.c: Likewise.
30032         * soft-fp/trunctfsf2.c: Likewise.
30033         * soft-fp/trunctfxf2.c: Likewise.
30034         * soft-fp/unorddf2.c: Likewise.
30035         * soft-fp/unordsf2.c: Likewise.
30036         * soft-fp/unordtf2.c: Likewise.
30038 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
30040         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
30041         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
30043 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
30045         * elf/dl-libc.c: Clear initfini list after freeing.
30047 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
30049         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
30050         * soft-fp/addsf3.c: Likewise.
30051         * soft-fp/addtf3.c: Likewise.
30052         * soft-fp/divdf3.c: Likewise.
30053         * soft-fp/divsf3.c: Likewise.
30054         * soft-fp/divtf3.c: Likewise.
30055         * soft-fp/double.h: Likewise.
30056         * soft-fp/eqdf2.c: Likewise.
30057         * soft-fp/eqsf2.c: Likewise.
30058         * soft-fp/eqtf2.c: Likewise.
30059         * soft-fp/extenddftf2.c: Likewise.
30060         * soft-fp/extended.h: Likewise.
30061         * soft-fp/extendsfdf2.c: Likewise.
30062         * soft-fp/extendsftf2.c: Likewise.
30063         * soft-fp/extendxftf2.c: Likewise.
30064         * soft-fp/fixdfdi.c: Likewise.
30065         * soft-fp/fixdfsi.c: Likewise.
30066         * soft-fp/fixdfti.c: Likewise.
30067         * soft-fp/fixsfdi.c: Likewise.
30068         * soft-fp/fixsfsi.c: Likewise.
30069         * soft-fp/fixsfti.c: Likewise.
30070         * soft-fp/fixtfdi.c: Likewise.
30071         * soft-fp/fixtfsi.c: Likewise.
30072         * soft-fp/fixtfti.c: Likewise.
30073         * soft-fp/fixunsdfdi.c: Likewise.
30074         * soft-fp/fixunsdfsi.c: Likewise.
30075         * soft-fp/fixunsdfti.c: Likewise.
30076         * soft-fp/fixunssfdi.c: Likewise.
30077         * soft-fp/fixunssfsi.c: Likewise.
30078         * soft-fp/fixunssfti.c: Likewise.
30079         * soft-fp/fixunstfdi.c: Likewise.
30080         * soft-fp/fixunstfsi.c: Likewise.
30081         * soft-fp/fixunstfti.c: Likewise.
30082         * soft-fp/floatdidf.c: Likewise.
30083         * soft-fp/floatdisf.c: Likewise.
30084         * soft-fp/floatditf.c: Likewise.
30085         * soft-fp/floatsidf.c: Likewise.
30086         * soft-fp/floatsisf.c: Likewise.
30087         * soft-fp/floatsitf.c: Likewise.
30088         * soft-fp/floattidf.c: Likewise.
30089         * soft-fp/floattisf.c: Likewise.
30090         * soft-fp/floattitf.c: Likewise.
30091         * soft-fp/floatundidf.c: Likewise.
30092         * soft-fp/floatundisf.c: Likewise.
30093         * soft-fp/floatunsidf.c: Likewise.
30094         * soft-fp/floatunsisf.c: Likewise.
30095         * soft-fp/floatuntidf.c: Likewise.
30096         * soft-fp/floatuntisf.c: Likewise.
30097         * soft-fp/floatuntitf.c: Likewise.
30098         * soft-fp/fmadf4.c: Likewise.
30099         * soft-fp/fmasf4.c: Likewise.
30100         * soft-fp/fmatf4.c: Likewise.
30101         * soft-fp/gedf2.c: Likewise.
30102         * soft-fp/gesf2.c: Likewise.
30103         * soft-fp/getf2.c: Likewise.
30104         * soft-fp/ledf2.c: Likewise.
30105         * soft-fp/lesf2.c: Likewise.
30106         * soft-fp/letf2.c: Likewise.
30107         * soft-fp/muldf3.c: Likewise.
30108         * soft-fp/mulsf3.c: Likewise.
30109         * soft-fp/multf3.c: Likewise.
30110         * soft-fp/negdf2.c: Likewise.
30111         * soft-fp/negsf2.c: Likewise.
30112         * soft-fp/negtf2.c: Likewise.
30113         * soft-fp/op-1.h: Likewise.
30114         * soft-fp/op-2.h: Likewise.
30115         * soft-fp/op-4.h: Likewise.
30116         * soft-fp/op-8.h: Likewise.
30117         * soft-fp/op-common.h: Likewise.
30118         * soft-fp/quad.h: Likewise.
30119         * soft-fp/single.h: Likewise.
30120         * soft-fp/soft-fp.h: Likewise.
30121         * soft-fp/sqrtdf2.c: Likewise.
30122         * soft-fp/sqrtsf2.c: Likewise.
30123         * soft-fp/sqrttf2.c: Likewise.
30124         * soft-fp/subdf3.c: Likewise.
30125         * soft-fp/subsf3.c: Likewise.
30126         * soft-fp/subtf3.c: Likewise.
30127         * soft-fp/truncdfsf2.c: Likewise.
30128         * soft-fp/trunctfdf2.c: Likewise.
30129         * soft-fp/trunctfsf2.c: Likewise.
30130         * soft-fp/trunctfxf2.c: Likewise.
30131         * soft-fp/unorddf2.c: Likewise.
30132         * soft-fp/unordsf2.c: Likewise.
30133         * soft-fp/unordtf2.c: Likewise.
30135 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
30137         [BZ #15672]
30138         * misc/error.c (error_tail): Fix possible buffer overflow.
30140 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
30142         [BZ #13028]
30143         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
30144         address.
30146 2013-10-14  P. J. McDermott  <pj@pehjota.net>
30148         [BZ #832]
30149         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
30150         testing pipefail option.
30152 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
30154         * soft-fp/double.h: Indent preprocessor directives inside #if.
30155         * soft-fp/extended.h: Likewise.
30156         * soft-fp/op-2.h: Likewise.
30157         * soft-fp/op-4.h: Likewise.
30158         * soft-fp/op-common.h: Likewise.
30159         * soft-fp/quad.h: Likewise.
30160         * soft-fp/single.h: Likewise.
30161         * soft-fp/soft-fp.h: Likewise.
30163 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
30165         * iconv/iconv_prog.c: Fix typos.
30166         * stdio-common/psiginfo-data.h: Likewise.
30168 2013-10-12   Reuben Thomas <rrt@sc3d.org>
30170         [BZ #15764]
30171         * locale/setlocale.c: Fix typo.
30173 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
30175         [BZ #16036]
30176         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
30177         signaling NaN arguments.
30178         * soft-fp/unordsf2.c (__unordsf2): Likewise.
30179         * soft-fp/unordtf2.c (__unordtf2): Likewise.
30181         [BZ #14910]
30182         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
30183         unordered operands.
30184         * soft-fp/gesf2.c (__gesf2): Likewise.
30185         * soft-fp/getf2.c (__getf2): Likewise.
30186         * soft-fp/ledf2.c (__ledf2): Likewise.
30187         * soft-fp/lesf2.c (__lesf2): Likewise.
30188         * soft-fp/letf2.c (__letf2): Likewise.
30190         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
30191         * soft-fp/eqsf2.c (__eqsf2): Likewise.
30192         * soft-fp/eqtf2.c (__eqtf2): Likewise.
30193         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
30194         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
30195         * soft-fp/fixdfti.c (__fixdfti): Likewise.
30196         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
30197         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
30198         * soft-fp/fixsfti.c (__fixsfti): Likewise.
30199         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
30200         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
30201         * soft-fp/fixtfti.c (__fixtfti): Likewise.
30202         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
30203         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
30204         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
30205         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
30206         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
30207         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
30208         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
30209         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
30210         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
30211         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
30212         * soft-fp/floatdisf.c (__floatdisf): Likewise.
30213         * soft-fp/floatsisf.c (__floatsisf): Likewise.
30214         * soft-fp/floattidf.c (__floattidf): Likewise.
30215         * soft-fp/floattisf.c (__floattisf): Likewise.
30216         * soft-fp/floattitf.c (__floattitf): Likewise.
30217         * soft-fp/floatundidf.c (__floatundidf): Likewise.
30218         * soft-fp/floatundisf.c (__floatundisf): Likewise.
30219         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
30220         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
30221         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
30222         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
30223         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
30224         * soft-fp/gesf2.c (__gesf2): Likewise.
30225         * soft-fp/getf2.c (__getf2): Likewise.
30226         * soft-fp/ledf2.c (__ledf2): Likewise.
30227         * soft-fp/lesf2.c (__lesf2): Likewise.
30228         * soft-fp/letf2.c (__letf2): Likewise.
30230         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
30231         Undefine and redefine.
30232         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
30233         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
30234         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
30235         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
30236         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30237         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
30238         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30239         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
30240         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30241         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
30242         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30243         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
30244         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30245         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
30246         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30248         [BZ #16032]
30249         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
30250         without decrementing exponent if mantissa >= that for the
30251         denominator, not >.
30252         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
30253         denominator, not >.  Decrement exponent in < case instead of
30254         incrementing in >= case.
30255         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
30256         without decrementing exponent if mantissa >= that for the
30257         denominator, not >.
30259         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
30260         computing saturated result for unsigned overflow.
30262 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30263             Jeff Law  <law@redhat.com>
30265         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
30266         (atan2Mp): Add systemtap probe marker.
30267         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
30268         (__ieee754_log): Add systemtap probe marker.
30269         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
30270         (atanMp): Add systemtap probe marker.
30271         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
30272         (tanMp): Add systemtap probe marker.
30273         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
30274         (__slowexp): Add systemtap probe marker.
30275         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
30276         (__slowpow): Add systemtap probe marker.
30277         * manual/probes.texi: Document probes.
30279 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
30281         [BZ #15362]
30282         * libio/fileops.c (_IO_new_file_write): Return count of bytes
30283         written.
30284         (_IO_new_file_xsputn): Don't return EOF if nothing has been
30285         written.
30286         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
30287         written to buffer but not flushed.
30288         * libio/iofwrite_u.c:  Likewise.
30289         * libio/iopadn.c:  Return bytes returned even if EOF was
30290         encountered.
30291         * libio/iowpadn.c:  Likewise.
30292         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
30293         if _IO_padn does not write the whole buffer.
30294         [!COMPILE_WPRINTF] (PAD): Likewise.
30296 2013-10-10  David S. Miller  <davem@davemloft.net>
30298         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
30299         directory block.
30301 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
30303         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
30304         instead of FSF address.
30305         * soft-fp/fixdfti.c: Likewise.
30306         * soft-fp/fixsfti.c: Likewise.
30307         * soft-fp/fixtfti.c: Likewise.
30308         * soft-fp/fixunsdfti.c: Likewise.
30309         * soft-fp/fixunssfti.c: Likewise.
30310         * soft-fp/fixunstfti.c: Likewise.
30311         * soft-fp/floattidf.c: Likewise.
30312         * soft-fp/floattisf.c: Likewise.
30313         * soft-fp/floattitf.c: Likewise.
30314         * soft-fp/floatuntidf.c: Likewise.
30315         * soft-fp/floatuntisf.c: Likewise.
30316         * soft-fp/floatuntitf.c: Likewise.
30317         * soft-fp/trunctfxf2.c: Likewise.
30319         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
30320         * soft-fp/fixdfti.c: Likewise.
30321         * soft-fp/fixsfti.c: Likewise.
30322         * soft-fp/fixtfti.c: Likewise.
30323         * soft-fp/fixunsdfti.c: Likewise.
30324         * soft-fp/fixunssfti.c: Likewise.
30325         * soft-fp/fixunstfti.c: Likewise.
30326         * soft-fp/floattidf.c: Likewise.
30327         * soft-fp/floattisf.c: Likewise.
30328         * soft-fp/floattitf.c: Likewise.
30329         * soft-fp/floatuntidf.c: Likewise.
30330         * soft-fp/floatuntisf.c: Likewise.
30331         * soft-fp/floatuntitf.c: Likewise.
30332         * soft-fp/trunctfxf2.c: Likewise.
30334 2013-10-10  David S. Miller  <davem@davemloft.net>
30336         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30338 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
30340         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
30341         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
30342         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
30343         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
30344         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
30345         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
30346         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
30348         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
30349         for NaNs before doing comparisons on argument.
30350         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
30351         Likewise.
30353 2013-10-10  Will Newton  <will.newton@linaro.org>
30355         * malloc/hooks.c (memalign_check): Ensure the value of bytes
30356         passed to _int_memalign does not overflow.
30358 2013-10-10  Torvald Riegel  <triegel@redhat.com>
30360         * scripts/bench.pl: Add include-sources directive.
30361         * benchtests/README: Update documentation.
30363 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
30365         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
30366         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
30367         instead of FP_INIT_ROUNDMODE.
30368         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
30369         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
30371         [BZ #16034]
30372         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
30373         copy class of input value.
30374         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
30375         not handle exceptions.
30376         * soft-fp/negsf2.c (__negsf2): Likewise.
30377         * soft-fp/negtf2.c (__negtf2): Likewise.
30378         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
30380 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
30382         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
30383         semicolon.  From Linux kernel.
30385 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
30387         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
30389 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
30391         [BZ #156]
30392         * manual/socket.texi: Added statement about buffer
30393         for gethostbyname2_r.
30395 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
30397         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
30398         Use .p2align directive instead, throughout.
30399         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
30400         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
30401         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
30402         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30403         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30404         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
30405         * sysdeps/x86_64/strchr.S: Likewise.
30406         * sysdeps/x86_64/strrchr.S: Likewise.
30408 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
30410         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
30412         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
30414         * sysdeps/generic/math_private.h (__mpsin1): Remove
30415         declaration.
30416         (__mpcos1): Likewise.
30417         (__mpsin): New argument __range_reduce.
30418         (__mpcos): Likewise.
30419         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30420         (slow): Use __mpsin and __mpcos.
30421         (slow1): Likewise.
30422         (slow2): Likewise.
30423         (sloww): Likewise.
30424         (sloww1): Likewise.
30425         (sloww2): Likewise.
30426         (bsloww): Likewise.
30427         (bsloww1): Likewise.
30428         (bsloww2): Likewise.
30429         (cslow2): Likewise.
30430         (csloww): Likewise.
30431         (csloww1): Likewise.
30432         (csloww2): Likewise.
30433         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
30434         range_reduce.  Merge in __mpsin1.
30435         (__mpcos): Likewise.
30436         (__mpsin1): Remove.
30437         (__mpcos1): Likewise.
30439 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
30441         * locale/loadlocale.c (_nl_intern_locale_data): Use
30442         LOCFILE_ALIGNED_P.
30443         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
30444         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
30445         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
30446         obstack data is appropriately aligned.
30447         (obstack_int32_grow_fast): Likewise.
30448         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
30449         * locale/programs/locfile.c (add_locale_uint32): Likewise.
30450         (add_locale_uint32_array): Likewise.
30452 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
30454         * benchtests/Makefile: Remove ARGLIST and RET variables.
30455         ($(objpfx)bench-%.c): Pass only function name to the script.
30456         * benchtests/README: Update documentation.
30457         * benchtests/acos-inputs: Add new directives.
30458         * benchtests/acosh-inputs: Likewise.
30459         * benchtests/asin-inputs: Likewise.
30460         * benchtests/asinh-inputs: Likewise.
30461         * benchtests/atan-inputs: Likewise.
30462         * benchtests/atanh-inputs: Likewise.
30463         * benchtests/cos-inputs: Likewise.
30464         * benchtests/cosh-inputs: Likewise.
30465         * benchtests/exp-inputs: Likewise.
30466         * benchtests/log-inputs: Likewise.
30467         * benchtests/pow-inputs: Likewise.
30468         * benchtests/rint-inputs: Likewise.
30469         * benchtests/sin-inputs: Likewise.
30470         * benchtests/sinh-inputs: Likewise.
30471         * benchtests/tan-inputs: Likewise.
30472         * benchtests/tanh-inputs: Likewise.
30473         * scripts/bench.pl: Add support for new directives.
30475 2013-10-07  Alan Modra  <amodra@gmail.com>
30477         * README: Fix careless merge.
30479 2013-10-05  Alan Modra  <amodra@gmail.com>
30481         * NEWS: Mention powerpc64le support and bugs fixed.
30482         * README: Both big-endian and little-endian powerpc64 supported.
30484 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30486         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
30487         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
30488         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
30489         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
30491 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
30493         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
30494         match prototype.
30496 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
30498         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
30499         Move -mhard-float appending from
30500         ports/sysdeps/powerpc/powerpc32/Makefile.
30501         [$(with-fp) = yes] (ASFLAGS): Likewise.
30502         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
30503         * sysdeps/powerpc/nofpu: Move directory from
30504         ports/sysdeps/powerpc/nofpu.
30505         * sysdeps/powerpc/soft-fp: Move directory from
30506         ports/sysdeps/powerpc/soft-fp.
30507         * sysdeps/powerpc/powerpc32/405: Move directory from
30508         ports/sysdeps/powerpc/powerpc32/405.
30509         * sysdeps/powerpc/powerpc32/440: Move directory from
30510         ports/sysdeps/powerpc/powerpc32/440.
30511         * sysdeps/powerpc/powerpc32/464: Move directory from
30512         ports/sysdeps/powerpc/powerpc32/464.
30513         * sysdeps/powerpc/powerpc32/476: Move directory from
30514         ports/sysdeps/powerpc/powerpc32/476.
30515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
30516         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
30517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
30518         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
30519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
30520         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
30521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
30522         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
30523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
30524         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
30525         * README: Update for powerpc-*-linux-gnu software floating point
30526         support in libc.
30528         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
30529         case to powerpc/powerpc32*.
30530         * sysdeps/unix/sysv/linux/configure: Regenerated.
30532         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
30533         (_FPU_MASK_OM): Define as 0x04.
30534         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
30535         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
30536         0x00c10080.
30537         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
30538         0x0000003c.
30539         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
30541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
30542         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
30543         getcontext_e500.
30544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
30545         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
30546         setcontext_e500.
30547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
30548         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
30549         and setcontext_e500.
30551 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
30553         * locale/iso-3166.def: Update iso-1366.def and related occurrences
30555 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30557         * manual/threads.texi (Default Thread Attributes): Fix typo.
30559 2013-10-04  Will Newton  <will.newton@linaro.org>
30561         * malloc/Makefile: Add tst-memalign.
30562         * malloc/tst-memalign.c: New file.
30564         * malloc/tst-posix_memalign.c: Add comments.
30565         (do_test): Add comments and call free on all potentially
30566         allocated pointers. Add space after cast.
30568         * malloc/tst-pvalloc.c: Add comments.
30569         (do_test): Add comments and call free on all potentially
30570         allocated pointers. Remove duplicate check for NULL pointer.
30571         Add space after cast.
30573         * malloc/tst-valloc.c: Add comments.
30574         (do_test): Add comments and call free on all potentially
30575         allocated pointers. Remove duplicate check for NULL pointer.
30576         Add space after cast.
30578 2013-10-04  Alan Modra  <amodra@gmail.com>
30580         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
30581         Use stdint types in rather than __attribute__((mode())).
30582         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30584 2013-10-04  Alan Modra  <amodra@gmail.com>
30586         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
30587         Correct handling of unaligned relocs for little-endian.
30588         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30590 2013-10-04  Alan Modra  <amodra@gmail.com>
30592         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
30593         * configure: Regenerate.
30594         * nptl/shlib-versions: Powerpc*le starts at 2.18.
30595         * shlib-versions: Likewise.
30597 2013-10-04  Alan Modra  <amodra@gmail.com>
30599         * string/tester.c (test_memrchr): Increment reported test cycle.
30601 2013-10-04  Alan Modra  <amodra@gmail.com>
30603         * string/test-memcpy.c (do_one_test): When reporting errors, print
30604         string address and don't overrun end of string.
30606 2013-10-04  Alan Modra  <amodra@gmail.com>
30608         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
30609         insrdi.  Make better use of reg selection to speed exit slightly.
30610         Schedule entry path a little better.  Remove useless "are we done"
30611         checks on entry to main loop.  Handle wrapping around zero address.
30612         Correct main loop count.  Handle single left-over word from main
30613         loop inline rather than by using loop_small.  Remove extra word
30614         case in loop_small caused by wrong loop count.  Add little-endian
30615         support.
30616         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
30617         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
30618         cache hint.
30619         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
30620         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
30621         support.  Avoid rlwimi.
30622         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
30624 2013-10-04  Alan Modra  <amodra@gmail.com>
30626         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
30627         insrdi.  Formatting.
30628         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
30629         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30630         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
30631         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
30632         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30633         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
30635 2013-10-04  Alan Modra  <amodra@gmail.com>
30637         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
30638         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30639         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
30640         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
30641         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
30642         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30643         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30644         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30645         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
30646         use of regs.  Use power7 mtocrf.  Tidy function tails.
30648 2013-10-04  Alan Modra  <amodra@gmail.com>
30650         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
30651         Formatting.  Consistently use rXXX register defines or rN defines.
30652         Use early exit labels that avoid restoring unused non-volatile regs.
30653         Make cr field use more consistent with rWORDn compares.  Rename
30654         regs used as shift registers for unaligned loop, using rN defines
30655         for short lifetime/multiple use regs.
30656         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30657         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
30658         addi 1,1,64 to pop stack frame.  Simplify return value code.
30659         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30661 2013-10-04  Alan Modra  <amodra@gmail.com>
30663         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
30664         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
30665         rather than rlwimi.
30666         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
30667         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
30668         little-endian support.  Correct typos.
30669         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
30670         rather than rlwimi.
30671         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
30672         in loop and entry code to keep "and." results.
30673         (strchr): Add little-endian support.  Comment.  Move cntlzd
30674         earlier in tail.
30675         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
30677 2013-10-04  Alan Modra  <amodra@gmail.com>
30679         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
30680         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
30681         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
30682         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
30684 2013-10-04  Alan Modra  <amodra@gmail.com>
30686         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
30687         (rTMP): Define as r11.
30688         (strcmp): Add little-endian support.  Optimise tail.
30689         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
30690         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30691         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
30692         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30693         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
30694         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30695         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30697 2013-10-04  Alan Modra  <amodra@gmail.com>
30699         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
30700         little-endian support.  Remove unnecessary "are we done" tests.
30701         Handle "s" wrapping around zero and extremely large "size".
30702         Correct main loop count.  Handle single left-over word from main
30703         loop inline rather than by using small_loop.  Correct comments.
30704         Delete "zero" tail, use "end_max" instead.
30705         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
30707 2013-10-04  Alan Modra  <amodra@gmail.com>
30709         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
30710         support.  Don't branch over align.
30711         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
30712         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
30713         support.  Rearrange tmp reg use to suit.  Comment.
30714         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
30716 2013-10-04  Alan Modra  <amodra@gmail.com>
30718         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
30720 2013-10-04  Alan Modra  <amodra@gmail.com>
30722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
30723         conditional form of branch and link when obtaining pc.
30724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
30726 2013-10-04  Alan Modra  <amodra@gmail.com>
30728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
30729         HIWORD/LOWORD.
30730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
30731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
30733 2013-10-04  Alan Modra  <amodra@gmail.com>
30735         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
30736         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
30737         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
30738         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
30739         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
30740         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30741         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
30742         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30743         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
30744         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
30746 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30747             Alistair Popple <alistair@ozlabs.au.ibm.com>
30748             Alan Modra <amodra@gmail.com>
30750         [BZ #15723]
30751         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
30752         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
30753         _dl_hwcap access for little-endian.
30754         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
30755         destroy vmx regs when saving unaligned.
30756         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
30757         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
30758         destroy vmx regs when saving unaligned.
30760 2013-10-04  Alan Modra  <amodra@gmail.com>
30762         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
30763         Don't use a union to pack hi/low value.
30765 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30767         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
30768         for little-endian.
30769         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
30770         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
30771         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30772         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
30773         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
30775 2013-10-04  Alan Modra  <amodra@gmail.com>
30777         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
30778         constants to usual value for .cst8 section, and remove redundant
30779         high address load.
30780         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
30781         constant for 0x1p52.  Load little-endian words of double from
30782         correct stack offsets.
30784 2013-10-04  Alan Modra  <amodra@gmail.com>
30786         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
30787         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
30788         words of double from correct stack offsets.
30789         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
30790         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
30791         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
30792         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
30793         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
30794         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
30795         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
30796         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
30797         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
30798         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
30799         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
30800         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
30801         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30802         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30803         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30804         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
30805         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
30807 2013-10-04  Alan Modra  <amodra@gmail.com>
30809         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
30810         64-bit int/double union.
30811         (_FPU_SETCW): Likewise.
30812         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
30813         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
30815 2013-10-04  Alan Modra  <amodra@gmail.com>
30817         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
30818         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
30820 2013-10-04  Alan Modra  <amodra@gmail.com>
30822         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
30823         use vector int constants.
30824         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
30826 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30828         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
30829         array with long long.
30830         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
30831         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
30832         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
30833         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
30834         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
30835         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
30836         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
30837         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
30838         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
30839         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
30840         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
30841         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
30842         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
30844 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30846         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
30847         (__signbit): Likewise.  Correct for little-endian.
30848         (__signbitl): Call __signbit.
30849         (lrint): Correct for little-endian.
30850         (lrintf): Call lrint.
30852 2013-10-04  Alan Modra  <amodra@gmail.com>
30854         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
30855         union 32-bit int array member with 64-bit int array.
30856         (t515, tm256): Double rather than long double.
30857         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
30859 2013-10-04  Alan Modra  <amodra@gmail.com>
30861         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
30862         Delete.
30863         (IEEE854_LONG_DOUBLE_BIAS): Delete.
30864         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
30865         version of math_ldbl.h.
30867 2013-10-04  Alan Modra  <amodra@gmail.com>
30869         [BZ #15734], [BZ #15735]
30870         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
30871         all uses of ieee875 long double macros and unions.  Simplify test
30872         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
30873         ldbl_extract_mantissa value for ix,iy exponents.  Properly
30874         normalize after ldbl_extract_mantissa, and don't add hidden bit
30875         already handled.  Don't treat low word of ieee854 mantissa like
30876         low word of IBM long double and mask off bit when testing for
30877         zero.
30878         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
30879         all uses of ieee875 long double macros and unions.  Simplify tests
30880         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
30881         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
30882         two1022, instead use their values.  Recognise that tests for large
30883         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
30884         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
30885         Rewrite all uses of ieee875 long double macros and unions.  Simplify
30886         test for 0.0L and nan.  Correct negation.
30887         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
30888         ieee875 long double macros and unions.  Correct output for large
30889         magnitude x.  Correct absolute value calculation.
30890         (__erfcl): Likewise.
30891         * math/libm-test.inc: Add tests for errors discovered in IBM long
30892         double versions of fmodl, remainderl, erfl and erfcl.
30894 2013-10-04  Alan Modra  <amodra@gmail.com>
30896         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
30897         all uses of ieee854 long double macros and unions.  Simplify tests
30898         for long doubles that are fully specified by the high double.
30899         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
30900         Likewise.
30901         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
30902         Remove dead code too.
30903         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
30904         (__ieee754_ynl): Likewise.
30905         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
30906         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
30907         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
30908         Remove dead code too.
30909         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
30910         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
30911         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
30912         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
30913         Simplify.
30914         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
30915         Simplify.
30916         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
30917         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
30918         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
30919         Comment on variable precision.
30920         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
30921         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30922         Likewise.
30923         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
30924         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
30925         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
30926         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
30927         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
30929 2013-10-04  Alan Modra  <amodra@gmail.com>
30931         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
30932         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
30933         all uses of ieee854 long double macros and unions.
30934         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
30935         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30936         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
30937         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
30938         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
30939         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30940         Likewise.
30941         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
30942         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
30943         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
30944         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
30945         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
30946         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
30947         Simplify sign and nan test too.
30948         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
30949         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
30950         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
30951         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
30952         Likewise.
30953         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
30954         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
30955         Likewise.
30956         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30957         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
30958         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
30959         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
30960         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
30961         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
30963 2013-10-04  Alan Modra  <amodra@gmail.com>
30965         * stdio-common/printf_size.c (__printf_size): Don't use
30966         union ieee854_long_double in fpnum union.
30967         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
30968         signbit macro to retrieve sign from long double.
30969         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
30970         retrieve sign from long double.
30971         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
30972         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
30973         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
30974         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
30975         * math/test-misc.c (main): Don't use union ieee854_long_double.
30977 2013-10-04  Alan Modra  <amodra@gmail.com>
30979         [BZ #15680]
30980         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
30981         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
30982         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
30983         calculation.  Remove unnecessary test for denormal exponent.
30984         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
30985         Correct handling of denormals.  Avoid undefined shift behaviour.
30986         Correct normalisation of low mantissa when low double is denormal.
30987         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
30988         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
30989         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
30990         Correct normalisation of low mantissa.  Test for overflow of high
30991         mantissa and normalise.
30992         (ldbl_nearbyint): Use more readable constant for two52.
30993         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
30994         (__mpn_construct_long_double): Fix test for overflow of high
30995         mantissa and correct normalisation.  Avoid undefined shift.
30997 2013-10-04  Alan Modra  <amodra@gmail.com>
30999         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
31000         (union ibm_extended_long_double): Define as an array of ieee754_double.
31001         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
31002         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
31003         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
31004         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31005         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31006         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
31007         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31008         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
31009         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31010         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
31011         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
31013 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
31015         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
31016         page size instead of calling getpagesize.
31018         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
31019         (LOCFILE_ALIGN_MASK): Likewise.
31020         (LOCFILE_ALIGN_UP): Likewise.
31021         (LOCFILE_ALIGNED_P): Likewise.
31022         * locale/programs/ld-collate.c (collate_output): Use the new
31023         macros instead of __alignof__ (int32_t).
31024         * locale/weight.h (findidx): Likewise.
31026 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
31028         [BZ #431]
31029         * manual/string.texi: Fix strncat and wcsncat.
31031 2013-10-03  Brooks Moses  <bmoses@google.com>
31033         [BZ #15915]
31034         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
31035         * Makerules: ...here, and adjust associated comments.
31037 2013-10-02  Will Newton  <will.newton@linaro.org>
31039         * malloc/Makefile: Add tst-pvalloc.
31040         * malloc/tst-pvalloc.c: New file.
31042 2013-10-02  Will Newton  <will.newton@linaro.org>
31044         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
31045         improve test coverage.
31047 2013-10-02  Will Newton  <will.newton@linaro.org>
31049         * malloc/Makefile: Add tst-posix_memalign.
31050         * malloc/tst-posix_memalign.c: New file.
31052 2013-10-01  Eric Blake  <eblake@redhat.com>
31054         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
31055         Use __THROWNL rather than __THROW on static functions.
31057 2013-09-30  Petr Machata  <pmachata@redhat.com>
31059         * elf/elf.h (R_AARCH64_ABS16): New macro.
31060         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
31061         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
31062         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
31063         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
31064         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
31065         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
31066         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
31067         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
31068         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
31069         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
31070         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
31071         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
31072         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
31073         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
31074         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
31075         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
31076         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
31077         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
31078         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
31079         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
31080         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
31081         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
31082         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
31083         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
31084         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
31085         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
31086         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
31087         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
31088         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
31089         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
31090         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
31091         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
31092         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
31093         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
31094         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
31095         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
31096         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
31097         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
31098         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
31099         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
31100         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
31101         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
31102         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
31103         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
31104         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
31105         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
31106         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
31107         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
31108         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
31109         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
31110         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
31111         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
31112         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
31113         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
31114         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
31115         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
31116         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
31117         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
31118         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
31119         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
31120         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
31121         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
31122         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
31123         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
31124         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
31125         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
31126         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
31127         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
31128         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
31129         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
31130         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
31131         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
31132         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
31133         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
31134         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
31135         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
31136         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
31137         (R_AARCH64_TLSDESC_LDR): Likewise.
31138         (R_AARCH64_TLSDESC_ADD): Likewise.
31139         (R_AARCH64_TLSDESC_CALL): Likewise.
31141 2013-09-30  Andreas Schwab  <schwab@suse.de>
31143         [BZ #15048]
31144         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
31145         the nss database lookup.
31146         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31147         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31149 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
31151         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
31153 2013-09-28  P. J. McDermott  <pj@pehjota.net>
31155         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
31156         ${Bash-specific parameter/pattern/string} parameter expansion.
31157         * sysdeps/unix/make-syscalls.sh: Likewise.
31159 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31161         * sysdeps/sh/stackguard-macros.h: New file.
31163 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
31165         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
31166         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
31167         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
31168         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
31169         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31170         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
31172 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31174         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
31175         Fix thread ID register.
31177 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
31179         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
31180         [POSIX || UNIX98]: Require rather than permitting all symbols from
31181         <time.h>.
31182         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
31183         element of struct sched_param.
31184         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
31185         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
31186         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
31187         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
31188         constant.
31190 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
31192         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
31193         argument calculation.
31195 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
31197         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
31198         Expect macro.
31199         [POSIX] (pthread_attr_t): Do not require type.
31200         [POSIX] (pthread_cond_t): Likewise.
31201         [POSIX] (pthread_condattr_t): Likewise.
31202         [POSIX] (pthread_key_t): Likewise.
31203         [POSIX] (pthread_mutex_t): Likewise.
31204         [POSIX] (pthread_mutexattr_t): Likewise.
31205         [POSIX] (pthread_once_t): Likewise.
31206         [POSIX] (pthread_t): Likewise.
31207         [POSIX-based standards] (pthread_atfork): Expect function.
31209 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
31210             Richard Sandiford  <richard@codesourcery.com>
31212         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
31213         (swap_endianness_p): New extern variable.
31214         (set_big_endian): New inline function.
31215         (maybe_swap_uint32): Likewise.
31216         (maybe_swap_uint32_array): Likewise.
31217         (maybe_swap_uint32_obstack): Likewise.
31218         * locale/programs/locfile.c: Include <stdbool.h>.
31219         (swap_endianness_p): New variable.
31220         (add_locale_uint32): Call maybe_swap_uint32.
31221         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
31222         (write_locale_data): Call maybe_swap_uint32_array.
31223         * locale/programs/ld-collate.c (obstack_int32_grow): Call
31224         maybe_swap_uint32.
31225         (obstack_int32_grow_fast): Likewise.
31226         (output_weightwc): Call maybe_swap_uint32_obstack.
31227         (collate_output): Likewise.
31228         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
31229         (OPT_LITTLE_ENDIAN): Likewise.
31230         (options): Add --little-endian and --big-endian options.
31231         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
31232         * locale/programs/locarchive.c: Include "locfile.h".
31233         (GET): New macro.
31234         (SET): Likewise.
31235         (INC): Likewise.
31236         (create_archive): Use the new macros to access fields of
31237         structures directly mapped from or written to locale archives.
31238         (oldlocrecentcmp): Likewise.
31239         (enlarge_archive): Likewise.
31240         (insert_name): Likewise.
31241         (add_alias): Likewise.
31242         (add_locale): Likewise.
31243         (delete_locales_from_archive): Likewise.
31244         (show_archive_content): Likewise.
31245         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
31246         locale data.
31248 2013-09-24  Roland McGrath  <roland@hack.frob.com>
31250         * manual/freemanuals.texi: Updated from (newly) canonical copy at
31251         http://www.gnu.org/doc/freemanuals.texi.
31252         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
31254 2013-09-24  Will Newton  <will.newton@linaro.org>
31256         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
31257         macro.
31259 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
31261         * locale/hashval.h (compute_hashval): Interpret bytes of key as
31262         unsigned char.
31264 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
31266         * manual/threads.texi (POSIX Threads): Fix a typo.
31268 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
31270         [BZ #14547]
31271         * string/tst-strcoll-overflow.c: New test case.
31272         * string/Makefile (xtests): Add tst-strcoll-overflow.
31273         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
31274         cache if string sizes may cause integer overflow.
31276         [BZ #14547]
31277         * string/strcoll_l.c (coll_seq): New members rule, idx,
31278         save_idx and back_us.
31279         (get_next_seq_nocache): New function.
31280         (do_compare_nocache): New function.
31281         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
31282         when malloc fails.
31284 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
31286         [BZ #15754]
31287         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
31288         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
31289         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
31291         [BZ #15754]
31292         * elf/Makefile (tests): Add tst-ptrguard1.
31293         (tests-static): Add tst-ptrguard1-static.
31294         (tst-ptrguard1-ARGS): Define.
31295         (tst-ptrguard1-static-ARGS): Define.
31296         * elf/tst-ptrguard1.c: New file.
31297         * elf/tst-ptrguard1-static.c: New file.
31298         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
31299         * sysdeps/i386/stackguard-macros.h: Likewise.
31300         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
31301         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
31302         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
31303         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
31304         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
31305         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
31307 2013-09-23  Hector Marco  <hecmargi@upv.es>
31308             Ismael Ripoll  <iripoll@disca.upv.es>
31309             Carlos O'Donell  <carlos@redhat.com>
31311         [BZ #15754]
31312         * sysdeps/generic/stackguard-macros.h: Define
31313         __pointer_chk_guard_local and POINTER_CHK_GUARD.
31314         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
31315         Define __pointer_chk_guard_local.
31316         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
31317         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
31319 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
31321         [BZ #15859]
31322         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
31324 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
31326         * include/string.h (__ffs): Declare as hidden.
31327         * string/ffs.c (__ffs): Define as hidden.
31328         * sysdeps/i386/ffs.c (__ffs): Likewise.
31329         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
31330         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
31331         * sysdeps/s390/ffs.c (__ffs): Likewise.
31332         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
31334 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
31336         * NEWS: Mention malloc probes.
31338         * malloc/arena.c (new_heap): New memory_heap_new probe.
31339         (grow_heap): New memory_heap_more probe.
31340         (shrink_heap): New memory_heap_less probe.
31341         (heap_trim): New memory_heap_free probe.
31342         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
31343         (systrim): New memory_sbrk_less probe.
31344         * manual/probes.texi: Document them.
31346         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
31347         * manual/probes.texi: Document it.
31349         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
31350         (__libc_realloc): Add memory_realloc_retry probe.
31351         (__libc_memalign): Add memory_memalign_retry probe.
31352         (__libc_valloc): Add memory_valloc_retry probe.
31353         (__libc_pvalloc): Add memory_pvalloc_retry probe.
31354         (__libc_calloc): Add memory_calloc_retry probe.
31355         * manual/probes.texi: Document them.
31357         * malloc/arena.c (get_free_list): Add probe
31358         memory_arena_reuse_free_list.
31359         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
31360         and memory_arena_reuse.
31361         (arena_get2) [!PER_THREAD]: Likewise.
31362         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
31363         memory_arena_reuse_realloc.
31364         * manual/probes.texi: Document them.
31366         * malloc/malloc.c (__libc_free): Add
31367         memory_mallopt_free_dyn_thresholds probe.
31368         (__libc_mallopt): Add multiple memory_mallopt probes.
31369         * manual/probes.texi: Document them.
31371         * malloc/malloc.c: Include stap-probe.h.
31372         (__libc_mallopt): Add memory_mallopt probe.
31373         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
31374         * manual/probes.texi: New.
31375         * manual/Makefile (chapters): Add probes.
31376         * manual/threads.texi: Set next node.
31378 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
31380         [BZ #15963, #13985]
31381         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
31382         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
31383         Add `Chinese' to `nan' entry name.
31385 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31387         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
31388         (POLYNOMIAL): Likewise.
31389         (TAYLOR_SINCOS): Likewise.
31390         (TAYLOR_SLOW): Likewise.
31391         (__sin): Use TAYLOR_SINCOS.
31392         (__cos): Likewise.
31393         (slow): Use TAYLOR_SLOW.
31394         (sloww): Likewise.
31395         (bsloww): Likewise.
31396         (csloww): Likewise.
31398 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31400         * stdlib/strtod_l.c: Fix buffer overrun.
31402 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31404         * benchtests/Makefile (bench): Add sincos.
31405         * benchtests/bench-sincos.c: New file.
31407         * math/libm-test.inc (cos_test_data): New test inputs.
31408         (sin_test_data): Likewise.
31410         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
31411         macro.
31412         (__sin): Use it.
31413         (__cos): Likewise.
31414         (slow1): Likewise.
31415         (slow2): Likewise.
31416         (sloww1): Likewise.
31417         (sloww2): Likewise.
31418         (bsloww1): Likewise.
31419         (bsloww2): Likewise.
31420         (cslow2): Likewise.
31421         (csloww1): Likewise.
31422         (csloww2): Likewise.
31424         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
31425         function.
31426         (__sin): Use it.
31427         (__cos): Likewise.
31429         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
31430         gotos.
31431         (__cos): Likewise.
31433 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
31435         * config.h.in (HAVE_MIPS_NAN2008): New macro.
31436         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
31437         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
31438         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
31439         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
31440         * elf/cache.c (print_entry): Handle the new cache flags.
31442 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
31443             Aldy Hernandez  <aldyh@redhat.com>
31445         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
31446         Change condition to [_SOFT_FLOAT].
31447         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
31448         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
31449         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
31450         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
31451         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
31452         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
31453         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
31454         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
31455         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
31456         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
31457         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
31458         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
31459         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
31460         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
31461         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
31462         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
31463         declaration.
31465 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
31467         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
31468         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
31469         (__longjmp): Use LOAD_GP to load saved GPRs.
31470         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
31471         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
31472         (__sigsetjmp): Use SAVE_GP to save GPRs.
31474         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
31475         Do not append -msoft-float.
31476         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
31478 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31480         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
31482 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
31484         [BZ #15966]
31485         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
31486         (_FPU_GETCW): Use initial "__" on variable and field names but not
31487         on macro parameter name.
31488         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
31489         parentheses around reference to macro parameter.
31491 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
31493         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
31494         prototype.
31495         (ctype_startup): Use uint32_t in cast and sizeof for
31496         ctype->charnames.
31498 2013-09-11  Jia Liu  <proljc@gmail.com>
31500         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
31501         __daddr_t_defined.
31502         [__FreeBSD__]: Likewise.
31504 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
31506         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
31507         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
31508         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
31509         (strchr): Remove __strchr_sse42 ifunc selection.
31510         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
31511         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
31513 2013-09-11  Will Newton  <will.newton@linaro.org>
31515         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
31516         parameter to RES. Remove hardcoded 1000 value.
31517         * benchtests/bench-skeleton.c (main): Pass RES parameter
31518         to TIMING_INIT and multiply result by 1000.
31520 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31522         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31524 2013-09-11  Andreas Schwab  <schwab@suse.de>
31526         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
31527         if not defined.
31528         (O_TMPFILE) [__USE_GNU]: Define.
31529         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
31530         Define.
31532 2013-09-11  Will Newton  <will.newton@linaro.org>
31534         [BZ #15857]
31535         * malloc/malloc.c (__libc_memalign): Check the value of bytes
31536         does not overflow.
31538 2013-09-11  Will Newton  <will.newton@linaro.org>
31540         [BZ #15856]
31541         * malloc/malloc.c (__libc_valloc): Check the value of bytes
31542         does not overflow.
31544 2013-09-11  Will Newton  <will.newton@linaro.org>
31546         [BZ #15855]
31547         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
31548         does not overflow.
31550 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
31552         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
31553         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31554         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31555         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31556         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31558 2013-09-10  Allan McRae  <allan@archlinux.org>
31560         [BZ #15748]
31561         * manual/arith.texi (Parsing of Floats): Clarify
31562         cross-reference.
31564         [BZ #15849]
31565         * manual/install.texi (Running make install): Mention
31566         --enable-pt-chown.
31567         * INSTALL: Regenerated.
31569 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
31571         * csu/init-first.c (_init): Remove the !SHARED condition around
31572         FPU control word initialization.
31573         * elf/dl-support.c (_dl_fpu_control): New variable.
31574         (_dl_aux_init) <AT_FPUCW>: Initialize it.
31575         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
31576         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
31577         * math/test-fpucw-static.c: New file.
31578         * math/test-fpucw-ieee.c: New file.
31579         * math/test-fpucw-ieee-static.c: New file.
31580         * math/Makefile (tests): Add `test-fpucw-ieee' and
31581         `$(tests-static)'.
31582         (tests-static): New variable.
31583         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
31584         dependency to...
31585         [($(build-shared),yes)]
31586         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
31587         ... this.
31588         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
31589         New dependency.
31591 2013-09-09  Allan McRae  <allan@archlinux.org>
31593         [BZ #15939]
31594         * manual/string.texi (Collation Functions): Fix typo in
31595         strcoll example.
31596         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
31598         [BZ #15893]
31599         * stdlib/isomac.c (get_null_defines): Fix memory leak.
31601         [BZ #15892]
31602         * libio/memstream.c (open_memstream): Fix memory leak.
31603         * libio/wmemstream.c (open_wmemstream): Likewise.
31605         [BZ #15895]
31606         * nscd/netgroupcache.c: Fix nesting of ifdefs.
31608 2013-09-09  Will Newton  <will.newton@linaro.org>
31610         * malloc/Makefile: Add tst-realloc to tests.
31611         * malloc/tst-realloc.c: New file.
31613 2013-09-09  Allan McRae  <allan@archlinux.org>
31615         [BZ #15844]
31616         * COPYING: Update from GNU website to fix FSF address.
31617         * COPYING.LIB: Likewise.
31619 2013-09-06  David S. Miller  <davem@davemloft.net>
31621         * po/zh_TW.po: Update Chinese (traditional) translation from
31622         translation project.
31624 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
31625             Joseph Myers  <joseph@codesourcery.com>
31627         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
31628         "localeinfo.h".
31629         (obstack_chunk_alloc): New macro.
31630         (obstack_chunk_free): Likewise.
31631         (record_offset): New function.
31632         (init_locale_data): Likewise.
31633         (align_locale_data): Likewise.
31634         (add_locale_empty): Likewise.
31635         (add_locale_raw_data): Likewise.
31636         (add_locale_raw_obstack): Likewise.
31637         (add_locale_string): Likewise.
31638         (add_locale_wstring): Likewise.
31639         (add_locale_uint32): Likewise.
31640         (add_locale_uint32_array): Likewise.
31641         (add_locale_char): Likewise.
31642         (start_locale_structure): Likewise.
31643         (end_locale_structure): Likewise.
31644         (start_locale_prelude): Likewise.
31645         (end_locale_prelude): Likewise.
31646         (write_locale_data): Take locale_file structure rather than an
31647         iovec.
31648         * locale/programs/locfile.h: Include "obstack.h".
31649         (struct locale_file): Change to store locale file contents instead
31650         of header.
31651         (init_locale_data): New prototype.
31652         (align_locale_data): Likewise.
31653         (add_locale_empty): Likewise.
31654         (add_locale_raw_data): Likewise.
31655         (add_locale_raw_obstack): Likewise.
31656         (add_locale_string): Likewise.
31657         (add_locale_wstring): Likewise.
31658         (add_locale_uint32): Likewise.
31659         (add_locale_uint32_array): Likewise.
31660         (add_locale_char): Likewise.
31661         (start_locale_structure): Likewise.
31662         (end_locale_structure): Likewise.
31663         (start_locale_prelude): Likewise.
31664         (end_locale_prelude): Likewise.
31665         (write_locale_data): Update prototype.
31666         * locale/programs/3level.h (struct TABLE): Remove result field.
31667         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
31668         Use new locale_file interface.
31669         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
31670         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
31671         * locale/programs/ld-address.c (address_output): Use new
31672         locale_file interface.
31673         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
31674         NO_ADD_LOCALE.
31675         (collate_finish): Don't call collseq_table_finalize.
31676         (collate_output): Use new locale_file interface.
31677         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
31678         in file.
31679         (NO_FINALIZE): Change to NO_ADD_LOCALE.
31680         (TABLE): Move defines earlier in file.
31681         (ELEMENT): Likewise.
31682         (DEFAULT): Likewise.
31683         (wctrans_table_add): Move macro and inline function earlier in
31684         file.
31685         (struct wctype_table): Move type earlier in file.
31686         (add_locale_wctype_table): New static prototype.
31687         (struct locale_ctype_t): Use logical types instead of struct iovec
31688         pointers for members.
31689         (ctype_output): Use new locale_file interface.
31690         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
31691         new locale_file interface.
31692         (allocate_arrays): Update for use of new locale_file interface.
31693         * locale/programs/ld-identification.c (identification_output): Use
31694         new locale_file interface.
31695         * locale/programs/ld-measurement.c (measurement_output): Likewise.
31696         * locale/programs/ld-messages.c (messages_output): Likewise.
31697         * locale/programs/ld-monetary.c (monetary_output): Likewise.
31698         * locale/programs/ld-name.c (name_output): Likewise.
31699         * locale/programs/ld-numeric.c (numeric_output): Likewise.
31700         * locale/programs/ld-paper.c (paper_output): Likewise.
31701         * locale/programs/ld-telephone.c (telephone_output): Likewise.
31702         * locale/programs/ld-time.c (time_output): Likewise.
31704 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31706         * benchtests/Makefile: Add memrchr benchmark.
31707         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
31708         benchmark as memrchr.
31709         * benchtests/bench-memrchr-ifunc.c: New file.
31710         * benchtests/bench-memrchr.c: New file.
31712 2013-09-06   Will Newton  <will.newton@linaro.org>
31714         * benchtests/Makefile (string-bench): Add memcpy.
31716 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
31717             Cong Wang  <amwang@redhat.com>
31719         [BZ #15850]
31720         * sysdeps/unix/sysv/linux/bits/in.h
31721         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
31722         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
31723         before __USE_KERNEL_IPV6_DEFS uses.
31724         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
31725         IPPROTO_BEETPH.
31726         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
31727         sockaddr_in6, or ipv6_mreq.
31729 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31731         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
31732         memory access for final bytes in some large inputs.
31733         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
31735 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31737         * string/test-memrchr.c: New file.
31738         * string/test-memrchr-ifunc.c: New file.
31739         * string/Makefile: Add new memrchr testcase.
31741 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
31743         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
31744         fanotify_init returns EPERM.
31746 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
31748         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
31749         errors.
31750         (top level): Treat second token from macro or constant entries for
31751         allowed headers as allowed.
31752         * include/complex.h: Condition internal declarations on
31753         [!_ISOMAC].
31754         * include/fenv.h: Condition include of <stdbool.h> and internal
31755         declarations on [!_ISOMAC].
31757 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
31759         [BZ #15923]
31760         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
31762 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
31764         * configure.in (--enable-versioning): Remove configure option.
31765         (libc_cv_asm_symver_directive): Remove configure test.
31766         (libc_cv_ld_version_script_option): Likewise.
31767         (VERSIONING): Remove variable and AC_SUBST.
31768         (DO_VERSIONING): Remove AC_DEFINE.
31769         * configure: Regenerated.
31770         * config.h.in (DO_VERSIONING): Remove macro.
31771         * Makerules [$(versioning) = yes]: Change conditionals to
31772         [$(build-shared) = yes].
31773         * config.make.in (versioning): Remove variable.
31774         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
31775         [$(build-shared) = yes].
31776         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
31777         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
31778         * elf/Makefile [$(versioning) = yes]: Change conditionals to
31779         [$(build-shared) = yes].
31780         * extra-lib.mk [$(versioning) = yes]: Likewise.
31781         * hurd/Makefile [$(versioning) = yes]: Likewise.
31782         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
31783         [SHARED].
31784         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
31785         [SHARED].
31786         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
31787         [SHARED && !NO_HIDDEN].
31788         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
31789         [SHARED].
31790         [SHARED && DO_VERSIONING]: Likewise..
31791         * libio/Makefile [$(versioning) = yes]: Change conditionals to
31792         [$(build-shared) = yes].
31793         * manual/install.texi (--disable-versioning): Remove
31794         documentation.
31795         * INSTALL: Regenerated.
31796         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
31797         to [SHARED].
31798         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
31799         [$(build-shared) = yes].
31800         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
31801         * sysdeps/i386/i686/multiarch/strstr-c.c
31802         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
31803         [SHARED && !NO_HIDDEN].
31804         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
31805         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
31806         * sysdeps/powerpc/powerpc32/dl-machine.c
31807         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
31808         * sysdeps/powerpc/powerpc32/sysdep.h
31809         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
31810         to [SHARED && PIC && !NO_HIDDEN].
31811         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
31812         conditional to [SHARED].
31814 2013-09-04   Will Newton  <will.newton@linaro.org>
31816         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
31817         * benchtests/bench-string.h: Include bench-timing.h instead
31818         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
31819         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
31820         call to HP_TIMING_DIFF_INIT.
31821         * benchtests/bench-memccpy.c: Use bench-timing.h macros
31822         instead of hp-timing.h macros.
31823         * benchtests/bench-memchr.c: Likewise.
31824         * benchtests/bench-memcmp.c: Likewise.
31825         * benchtests/bench-memcpy.c: Likewise.
31826         * benchtests/bench-memmem.c: Likewise.
31827         * benchtests/bench-memmove.c: Likewise.
31828         * benchtests/bench-memset.c: Likewise.
31829         * benchtests/bench-rawmemchr.c: Likewise.
31830         * benchtests/bench-strcasecmp.c: Likewise.
31831         * benchtests/bench-strcasestr.c: Likewise.
31832         * benchtests/bench-strcat.c: Likewise.
31833         * benchtests/bench-strchr.c: Likewise.
31834         * benchtests/bench-strcmp.c: Likewise.
31835         * benchtests/bench-strcpy.c: Likewise.
31836         * benchtests/bench-strcpy_chk.c: Likewise.
31837         * benchtests/bench-strlen.c: Likewise.
31838         * benchtests/bench-strncasecmp.c: Likewise.
31839         * benchtests/bench-strncat.c: Likewise.
31840         * benchtests/bench-strncmp.c: Likewise.
31841         * benchtests/bench-strncpy.c: Likewise.
31842         * benchtests/bench-strnlen.c: Likewise.
31843         * benchtests/bench-strpbrk.c: Likewise.
31844         * benchtests/bench-strrchr.c: Likewise.
31845         * benchtests/bench-strspn.c: Likewise.
31846         * benchtests/bench-strstr.c: Likewise.
31848 2013-09-04  Will Newton  <will.newton@linaro.org>
31850         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
31852 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
31854         [BZ #15427]
31855         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
31856         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
31857         * math/libm-test.inc (lgamma_test_data): Add more tests.
31858         * sysdeps/i386/fpu/libm-test-ulps: Update.
31859         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31861 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
31863         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
31864         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31865         Add ifunc.
31866         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31867         Add strcmp-sse2-unaligned
31868         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
31870 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
31872         * Versions.def (libc): Add GLIBC_2.19.
31874 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
31876         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
31877         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
31879 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
31881         [BZ #14155]
31882         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
31883         intermediate calculations in recurrence.
31884         (__ieee754_ynf): Likewise.
31885         * math/libm-test.inc (jn_test_data): Do not allow spurious
31886         underflow exception.  Add more tests.
31887         (yn_test_data): Add more tests.
31888         * sysdeps/i386/fpu/libm-test-ulps: Update.
31889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31891 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
31893         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
31895 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
31897         * csu/init-first.c: Fix then/than typos.
31898         * locale/programs/ld-collate.c: Likewise.
31899         * locale/programs/linereader.h: Likewise.
31900         * manual/charset.texi: Likewise.
31901         * manual/filesys.texi: Likewise.
31902         * manual/stdio.texi: Likewise.
31903         * manual/string.texi: Likewise.
31904         * stdlib/fmtmsg.c: Likewise.
31905         * sysdeps/i386/stpncpy.S: Likewise.
31906         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31907         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
31908         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31909         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
31911 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
31913         * elf/dl-open.c: Fix typos.
31914         * iconvdata/gbbig5.c: Likewise.
31915         * iconvdata/iso-2022-jp.c: Likewise.
31916         * iconv/gconv_int.h: Likewise.
31917         * iconv/loop.c: Likewise.
31918         * nis/rpcsvc/nis.h: Likewise.
31919         * resolv/ns_name.c: Likewise.
31920         * stdio-common/vfscanf.c: Likewise.
31921         * streams/stropts.h: Likewise.
31922         * sunrpc/rpc_thread.c: Likewise.
31923         * sysdeps/i386/strpbrk.S: Likewise.
31924         * sysdeps/ieee754/k_standard.c: Likewise.
31925         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31926         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31927         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
31928         * sysdeps/mach/hurd/profil.c: Likewise.
31929         * sysdeps/s390/dl-procinfo.h: Likewise.
31930         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
31931         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
31932         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
31933         * sysdeps/x86_64/dl-trampoline.S: Likewise.
31934         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31936 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
31938         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
31939         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
31941 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
31943         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
31944         aix specific files.
31945         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
31946         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
31947         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
31948         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
31949         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
31950         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
31951         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
31952         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
31954 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
31955             Roland McGrath  <roland@hack.frob.com>
31957         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
31958         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
31960 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31962         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
31963         __executable_start symbol instead of _start.
31965 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
31967         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
31968         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
31969         Move macros to...
31970         * sysdeps/gnu/ldsodefs.h: ... this new file.
31972         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
31973         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
31974         instead of ELFOSABI_LINUX.
31976         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
31977         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
31978         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
31979         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
31980         Likewise.
31981         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
31982         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
31983         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
31984         Likewise.
31985         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
31986         (ibm_extended_long_double): Add ieee_nan member.
31987         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
31988         (do_test): New function.
31990         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
31991         TEST_TRUNC.
31992         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
31993         functions, renamed from truncdfsf_test, trunctfsf_test,
31994         trunctfdf_test.
31995         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
31996         functions.
31997         (do_test): Run all these.
31999 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
32001         * argp/argp-help.c: Fix typos.
32002         * argp/argp-parse.c: Likewise.
32003         * debug/backtracesyms.c: Likewise.
32004         * elf/elf.h: Likewise.
32005         * malloc/malloc.c: Likewise.
32006         * nis/nis_print.c: Likewise.
32007         * resolv/res_comp.c: Likewise.
32008         * stdlib/stdlib.h: Likewise.
32009         * sunrpc/clnt_tcp.c: Likewise.
32010         * sunrpc/clnt_udp.c: Likewise.
32011         * sunrpc/clnt_unix.c: Likewise.
32012         * sysdeps/unix/bsd/ptsname.c: Likewise.
32013         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
32014         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
32015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
32016         Likewise.
32017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
32018         Likewise.
32019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
32020         Likewise.
32021         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32023 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32025         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
32026         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32028 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
32030         [BZ #15897]
32031         * dlfcn/Makefile (tests): Add bug-dl-leaf.
32032         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
32033         ($(objpfx)bug-dl-leaf): New rule.
32034         ($(objpfx)bug-dl-leaf.so): Likewise.
32035         ($(objpfx)bug-dl-leaf.out): Likewise.
32036         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
32037         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
32038         * dlfcn/bug-dl-leaf.c: New test.
32039         * dlfcn/bug-dl-leaf-lib.c: Likewise.
32040         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
32041         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
32042         (dlclose): Likewise.
32043         (dlmopen): Likewise.
32045 2013-08-27  Roland McGrath  <roland@hack.frob.com>
32047         * include/netdb.h [!_ISOMAC]:
32048         Don't include <tls.h>.
32049         (h_errno, __libc_h_errno): Move declaration and macros out of
32050         [_LIBC_REENTRANT].
32052         * include/resolv.h [_RESOLV_H_]:
32053         Don't include <tls.h>.
32054         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
32055         * resolv/res_libc.c: Don't include <tls.h>.
32056         (_res): Use __attribute__ ((nocommon)) in place of
32057         __attribute__ ((section (".bss"))).
32059         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
32060         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
32062         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
32064         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
32065         only under [SIOCGIFCONF && SIOCGIFNETMASK].
32067         * resolv/res_mkquery.c: Include <sys/time.h>.
32069         * inet/ifreq.c: Moved to ...
32070         * sysdeps/unix/ifreq.c: ... here.
32071         * inet/ifreq.c: New file, true stub version.
32073         * socket/sa_len.c: New file.
32074         * socket/Makefile (aux): Add it.
32075         * sysdeps/unix/sysv/linux/Makefile
32076         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
32077         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
32078         and #include <socket/sa_len.c>.
32079         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
32080         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
32082         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
32083         * bits/socket.h: ... here.
32085         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
32086         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
32087         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
32089 2013-08-27  Andreas Schwab  <schwab@suse.de>
32091         [BZ #15736]
32092         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
32093         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
32094         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
32095         * string/test-strcasecmp.c (test_main): Run tests in several
32096         locales.
32097         * string/test-strncasecmp.c (test_main): Likewise.
32099         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
32100         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
32101         to __strcasecmp_nonascii and __strncasecmp_nonascii.
32102         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
32103         (__strncasecmp_ssse3) [PIC]: Likewise.
32105 2013-08-26  Roland McGrath  <roland@hack.frob.com>
32107         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
32109         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
32110         instead of explicitly declaring xdecrypt.
32111         * nis/nss_nis/nis-publickey.c: Likewise.
32113 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32115         [BZ #15890]
32116         * nscd/aicache.c: Include res_hconf.h.
32117         (addhstaiX): Initialize res_hconf.
32119 2013-08-26  Andreas Schwab  <schwab@suse.de>
32121         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
32122         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
32124 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32126         * nscd/aicache.c (addhstaiX): Fix indentation.
32128 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
32130         * configure.ac: Quote $build_pt_chown test.
32131         * configure: Regenerated.
32133 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
32135         [BZ #15532]
32136         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
32137         * math/s_cexpf.c (__cexpf): Likewise.
32138         * math/s_cexpl.c (__cexpl): Likewise.
32139         * math/libm-test.inc (cexp_test_data): Correct expected return
32140         value for NaN + i0.  Add another test.
32142 2013-08-22  David S. Miller  <davem@davemloft.net>
32144         * po/ca.po: Update Catalan translation from translation project.
32145         * po/uk.po: Add Ukrainian translations from translation project.
32147 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
32149         [BZ #15797]
32150         * math/s_fdim.c (__fdim): Check for infinite arguments if result
32151         is infinite, not alongside NaN test.
32152         * math/s_fdimf.c (__fdimf): Likewise.
32153         * math/s_fdiml.c (__fdiml): Likewise.
32154         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
32155         errno is unchanged.
32157 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
32159         * argp/argp-help.c: Fix typos.
32160         * crypt/speeds.c: Likewise.
32161         * csu/check_fds.c: Likewise.
32162         * elf/dl-load.c: Likewise.
32163         * elf/dl-open.c: Likewise.
32164         * elf/reldep3.c: Likewise.
32165         * elf/reldep.c: Likewise.
32166         * elf/sprof.c: Likewise.
32167         * iconv/iconv_charmap.c: Likewise.
32168         * iconv/skeleton.c: Likewise.
32169         * iconv/strtab.c: Likewise.
32170         * io/lockf64.c: Likewise.
32171         * libio/libioP.h: Likewise.
32172         * resolv/gai_notify.c: Likewise.
32173         * resolv/ns_name.c: Likewise.
32174         * resolv/ns_samedomain.c: Likewise.
32175         * resolv/res_send.c: Likewise.
32176         * stdlib/random.c: Likewise.
32177         * sunrpc/rpc/xdr.h: Likewise.
32178         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
32179         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32180         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32181         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32182         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32183         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32184         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32185         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32186         * sysdeps/mach/hurd/check_fds.c: Likewise.
32187         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
32188         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
32189         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32190         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
32191         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
32192         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
32193         * sysdeps/pthread/aio_notify.c: Likewise.
32194         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
32195         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
32196         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
32197         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32198         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
32200 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32202         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
32203         version if bit_Slow_SSE4_2 is set.
32204         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32205         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32207 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32209         [BZ #15867]
32210         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
32211         trampoline stack frame information.
32212         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
32213         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
32214         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
32215         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
32216         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
32217         * sysdeps/unix/sysv/linux/powerpc/init-first.c
32218         (_libc_vdso_platform_setup): Initialize the signal trampolines.
32219         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
32220         sa_flags value.
32221         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
32222         interrupting a syscall and set with option SA_SIGINFO.
32224 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
32226         [BZ #15531]
32227         * math/s_cproj.c (__cproj): Only return an infinity if one part of
32228         argument is infinite.
32229         * math/s_cprojf.c (__cprojf): Likewise.
32230         * math/s_cprojl.c (__cprojl): Likewise.
32231         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
32232         * math/libm-test.inc (cproj_test_data): Add more tests.
32234         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
32236         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
32237         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
32238         size.  Use __ffs to determine corresponding shift.
32240 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
32241             Roland McGrath  <roland@hack.frob.com>
32243         * Makefile (INSTALL): Remove trailing blank lines from output of
32244         makeinfo.
32246 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32248         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
32249         Align 32 bit compat elf_greg to 8 bytes.
32251 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
32253         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
32255 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
32257         * string/strcoll_l.c (coll_seq): New structure.
32258         (get_next_seq_cached): New function.
32259         (get_next_seq): New function.
32260         (do_compare): New function.
32261         (STRCOLL): Use GNU style definition.  Simplify implementation
32262         by using get_next_seq, get_next_seq_cached and do_compare.
32264 2013-08-16  Florian Weimer  <fweimer@redhat.com>
32266         [BZ #14699]
32267         CVE-2013-4237
32268         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
32269         member.
32270         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
32271         member.
32272         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
32273         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
32274         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
32275         conditional.
32276         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
32277         GETDENTS_64BIT_ALIGNED.
32278         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32279         * manual/filesys.texi (Reading/Closing Directory): Document
32280         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
32281         strongly.
32282         * manual/conf.texi (Limits for Files): Add portability note to
32283         NAME_MAX, PATH_MAX.
32284         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
32286 2013-08-13  Andreas Schwab  <schwab@suse.de>
32288         [BZ #15749]
32289         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
32290         of fabs.
32291         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
32292         LDBL_MAX_EXP >= 16384]: Add tests for it.
32294 2013-08-12  David S. Miller  <davem@davemloft.net>
32296         * version.h (RELEASE): Set to "development".
32297         (VERSION): Set to "2.18.90".
32298         * NEWS: Add 2.19 section.
32300 2013-08-03  David S. Miller  <davem@davemloft.net>
32302         * po/ko.po: Update Korean translation from translation project.
32304 2013-08-01  David S. Miller  <davem@davemloft.net>
32306         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
32307         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
32308         Bilka.
32310 2013-07-30  David S. Miller  <davem@davemloft.net>
32312         * po/fr.po: Update French translation from translation project.
32314 2013-07-28  David S. Miller  <davem@davemloft.net>
32316         * po/cs.po: Update Czech translation from translation project.
32318         * po/sv.po: Update Swedish translation from translation project.
32320 2013-07-27  David S. Miller  <davem@davemloft.net>
32322         * po/eo.po: Update Esperanto translation from translation project.
32324         * po/vi.po: Update Vietnamese translation from translation project.
32326         * po/de.po: Update German translation from translation project.
32328 2013-07-26  David S. Miller  <davem@davemloft.net>
32330         * po/bg.po: Update Bulgarian translation from translation project.
32332         * po/nl.po: Update Dutch translation from translation project.
32333         * po/pl.po: Update Polish translation from translation project.
32334         * po/ru.po: Update Russian translation from translation project.
32336 2013-07-24  David S. Miller  <davem@davemloft.net>
32338         * po/libc.pot: Update.
32340 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32342         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
32343         variable page size.
32344         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
32345         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
32346         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
32348 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32350         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
32352 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32353             Andreas Schwab  <schwab@suse.de>
32354             Roland McGrath  <roland@hack.frob.com>
32355             Joseph Myers  <joseph@codesourcery.com>
32356             Carlos O'Donell  <carlos@redhat.com>
32358         [BZ #15755]
32359         * config.h.in: Define HAVE_PT_CHOWN.
32360         * config.make.in (build-pt-chown): New variable.
32361         * configure.in (--enable-pt_chown): New configure option.
32362         * configure: Regenerate.
32363         * login/Makefile: Include Makeconfig.  Build pt_chown only if
32364         build-pt-chown is enabled.
32365         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
32366         pt_chown to fix pty ownership.
32367         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
32368         CLOSE_ALL_FDS.
32369         * manual/install.texi (Configuring and compiling): Mention
32370         --enable-pt_chown. Add @findex for grantpt.
32371         * INSTALL: Regenerate.
32373 2013-07-20  David S. Miller  <davem@davemloft.net>
32375         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
32376         difference between 32-bit and 64-bit.
32378 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
32380         [BZ #15711]
32381         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
32382         Avoid system header dependency with -ffreestanding.
32383         ($(objpfx)bits/syscall%d): Likewise.
32385 2013-07-13  David S. Miller  <davem@davemloft.net>
32387         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
32388         underflows from atanl/atan2l due to bug 15319.
32389         (casinh_test_data): Likewise.
32391 2013-07-07  David S. Miller  <davem@davemloft.net>
32393         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
32395 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
32397         * sysdeps/i386/fpu/libm-test-ulps: Update.
32398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32400 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32402         * configure.in (--enable-lock-elision): Fix message text.
32403         * INSTALL: Regenerate.
32404         * configure: Regenerate.
32406 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32408         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32410 2013-07-03  Andreas Jaeger  <aj@suse.de>
32412         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
32413         define.
32414         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
32415         (ptrace_peeksiginfo_args): Add.
32416         (__ptrace_peeksiginfo_flags): Add.
32417         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32418         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32419         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32421 2013-07-03  Allan McRae  <allan@archlinux.org>
32423         * sysdeps/i386/fpu/libm-test-ulps: Update.
32425 2013-07-02  David S. Miller  <davem@davemloft.net>
32427         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32429 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
32431         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32433 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
32435         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
32436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32438 2013-07-02  Andi Kleen <ak@linux.intel.com>
32440         * config.h.in (ENABLE_LOCK_ELISION): Add.
32441         * configure.in (--enable-lock-elision): Add option.
32442         * manual/install.texi: Document --enable lock elision.
32443         * configure: Regenerate
32444         * INSTALL: Regenerate.
32446 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
32448         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
32449         SSE4.2 strcasecmp for libc.a.
32450         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
32452 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
32454         [BZ #13304]
32455         * soft-fp/op-common.h (_FP_FMA): New macro.
32456         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
32457         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
32458         (_FP_MUL_MEAT_1_imm): ... here.
32459         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
32460         (_FP_MUL_MEAT_1_wide): ... here.
32461         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
32462         (_FP_MUL_MEAT_1_hard): ... here.
32463         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
32464         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
32465         (_FP_MUL_MEAT_2_wide): ... here.
32466         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
32467         (_FP_MUL_MEAT_2_wide_3mul): ... here.
32468         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
32469         (_FP_MUL_MEAT_2_gmp): ... here.
32470         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
32471         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
32472         (_FP_MUL_MEAT_4_wide): ... here.
32473         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
32474         (_FP_MUL_MEAT_4_gmp): ... here.
32475         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
32476         (_FP_WFRACBITS_DW_S): Likewise.
32477         (_FP_WFRACXBITS_DW_S): Likewise.
32478         (_FP_HIGHBIT_DW_S): Likewise.
32479         (FP_FMA_S): Likewise.
32480         (_FP_FRAC_HIGH_DW_S): Likewise.
32481         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
32482         (_FP_WFRACBITS_DW_D): Likewise.
32483         (_FP_WFRACXBITS_DW_D): Likewise.
32484         (_FP_HIGHBIT_DW_D): Likewise.
32485         (FP_FMA_D): Likewise.
32486         (_FP_FRAC_HIGH_DW_D): Likewise.
32487         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
32488         (_FP_WFRACBITS_DW_E): Likewise.
32489         (_FP_WFRACXBITS_DW_E): Likewise.
32490         (_FP_HIGHBIT_DW_E): Likewise.
32491         (FP_FMA_E): Likewise.
32492         (_FP_FRAC_HIGH_DW_E): Likewise.
32493         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
32494         (_FP_WFRACBITS_DW_Q): Likewise.
32495         (_FP_WFRACXBITS_DW_Q): Likewise.
32496         (_FP_HIGHBIT_DW_Q): Likewise.
32497         (FP_FMA_Q): Likewise.
32498         (_FP_FRAC_HIGH_DW_Q): Likewise.
32499         * soft-fp/fmasf4.c: New file.
32500         * soft-fp/fmadf4.c: Likewise.
32501         * soft-fp/fmatf4.c: Likewise.
32503 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32505         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32506         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
32507         Silvermont.
32508         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
32509         macro.
32510         (index_Slow_SSE4_2): Likewise.
32511         (index_Prefer_PMINUB_for_stringop): Likewise.
32512         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
32513         bit_Slow_SSE4_2 is set.
32514         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32515         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32517 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32519         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
32520         rtld_global._dl_hwcap2.
32521         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
32522         POWER8.
32523         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
32524         POWER8 feature descriptions defined in _dl_hwcap2.
32525         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
32526         string handling for POWER8 feature bits.
32527         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
32528         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
32529         _dl_powerpc_cap_flags.
32530         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
32531         * sysdeps/powerpc/rtld-global-offsets.sym
32532         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
32533         _dl_hwcap2 in the rtld_global_ro structure.
32535 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32537         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
32538         hardware capabilities in support of AT_HWCAP2.
32539         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
32540         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
32541         GLRO(dl_hwcap2).
32542         (_dl_show_auxv): Add support for calling _dl_procinfo to display
32543         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
32544         explicitly the unknown a_type display mechanism is used.
32545         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
32546         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
32547         struct member.
32548         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
32549         to macro prototype for AT_HWCAP2 support.
32550         * sysdeps/i386/dl-procinfo.h: Likewise.
32551         * sysdeps/s390/dl-procinfo.h: Likewise.
32552         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
32553         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
32554         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
32555         return -1 for unknown a_type display fallback.
32556         * sysdeps/sparc/dl-procinfo.h: Likewise.
32557         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
32558         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
32560 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
32562         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
32563         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
32565 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
32567         [BZ #12492]
32568         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
32569         mprotect making __stack_prot writable.
32571 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
32572             Joseph Myers  <joseph@codesourcery.com>
32574         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
32575         as being properly aligned.
32577 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
32579         * dlfcn/modstatic5.c: New file.
32580         * dlfcn/tststatic5.c: New file.
32581         * dlfcn/Makefile (tests): Add tststatic5.
32582         (tests-static): Likewise.
32583         (modules-names): Add modstatic5.
32584         (tststatic5-ENV): New variable.
32585         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
32587         [BZ #15022]
32588         * elf/dl-support.c (_dl_main_map): New variable.
32589         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
32590         (_dl_nns, _dl_load_adds): Set to 1.
32591         (_dl_initial_searchlist): Refer to _dl_main_map.
32592         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
32593         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
32594         call to _dl_get_origin.
32595         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
32596         around call_map.
32597         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
32598         * dlfcn/modstatic3.c: New file.
32599         * dlfcn/tststatic3.c: New file.
32600         * dlfcn/tststatic4.c: New file.
32601         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
32602         (tests-static): Likewise.
32603         (modules-names): Add modstatic3.
32604         (tststatic3-ENV, tststatic4-ENV): New variables.
32605         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
32606         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
32608 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
32610         * configure.in (CC): Require GCC version 4.4 or later.
32611         * configure: Regenerated.
32612         * manual/install.texi (Tools for Compilation): Update GCC version
32613         requirement.
32614         * INSTALL: Regenerated.
32616 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32618         [BZ #15674]
32619         * string/test-memcmp.c (check2): New.
32620         (main): Call check2.
32622         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
32624 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
32626         [BZ #15022]
32627         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
32628         over to...
32629         (dl_open_worker) [!SHARED]: ... here.
32631 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32633         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
32635 2013-06-25  Richard Henderson  <rth@redhat.com>
32637         * locale/programs/locarchive.c: Include <libc-internal.h>
32639 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
32641         * manual/texinfo.tex: Update to version 2013-06-21.17, with
32642         trailing whitespace removed.
32644 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
32646         [BZ #10283]
32647         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
32648         * locale/programs/locarchive.c: Include libc-mmap.h.
32649         (prepare_address_space): Take two new outputs (the mmap base and len).
32650         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
32651         values.
32652         (create_archive): Declare new mmap base and len values for
32653         prepare_address_space, and store the result in ah.
32654         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
32655         (enlarge_archive): If ah->mmap_base is not NULL, use that and
32656         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
32657         Declare new mmap base and len values for
32658         prepare_address_space, and store the result in new_ah.
32659         (open_archive): Declare new mmap base and len values for
32660         prepare_address_space, and store the result in ah.
32661         (close_archive): If ah->mmap_base is not NULL, use that and
32662         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
32663         * sysdeps/generic/libc-mmap.h: New file.
32665 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
32667         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
32668         (ALIGN_UP): Likewise.
32669         (PTR_ALIGN_DOWN): Likewise.
32670         (PTR_ALIGN_UP): Likewise.
32672 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32674         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
32675         entry mapped to PPC_PLATFORM_POWER8.
32676         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
32677         POWER8.
32678         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
32679         (_dl_string_platform): Add case for exporting platform position for
32680         POWER8.
32681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
32682         search path to sysdeps/powerpc/powerpc32/power8 directory.
32683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
32684         search path to sysdeps/powerpc/powerpc64/power8 directory.
32685         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
32686         power7 directories.
32687         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
32688         power7 directories.
32690 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32692         * INSTALL: Regenerate.
32694         * nscd/connections.c (nscd_init): Fix comment.
32696 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
32698         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
32700         [BZ #15667]
32701         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
32702         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
32704 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
32706         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
32707         DL_DST_REQ_STATIC.
32708         (DL_DST_REQ_STATIC): Remove macro.
32710 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
32712         [BZ #7006]
32713         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
32714         with a shift of 0 bits.
32716 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
32718         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
32719         $(tststatic-ENV).
32721 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32723         [BZ #15655]
32724         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
32726 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32728         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
32729         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
32730         accepts -fno-tree-loop-distribute-patterns.
32731         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
32732         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
32733         recursive call.
32734         * string/memset.c (memset): Likewise.
32735         * string/test-memmove.c (simple_memmove): Disable loop transformation
32736         to library calls.
32737         * string/test-memset.c (simple_memset): Likewise.
32738         * benchtests/bench-memmove.c (simple_memmove): Likewise.
32739         * benchtests/bench-memset.c (simple_memset): Likewise.
32740         * configure: Regenerated.
32742 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
32744         * math/test-misc.c (main): Ignore fesetround failure when failures
32745         of subsequent rounding tests would be ignored.
32747         [BZ #15654]
32748         * math/fedisblxcpt.c (fedisableexcept): Return 0.
32749         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
32750         * math/fegetenv.c (__fegetenv): Return 0.
32751         * math/fegetexcept.c (fegetexcept): Return 0.
32752         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
32753         FE_TONEAREST.
32754         * math/feholdexcpt.c (feholdexcept): Return 0.
32755         * math/fesetenv.c (__fesetenv): Return 0.
32756         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
32757         argument FE_TONEAREST.
32758         * math/feupdateenv.c (__feupdateenv): Return 0.
32759         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
32761 2013-06-18  Roland McGrath  <roland@hack.frob.com>
32763         * elf/rtld-Rules (rtld-compile-command.S): New variable.
32764         (rtld-compile-command.s, rtld-compile-command.c): New variables.
32765         ($(objpfx)rtld-%.os rules): Use them.
32767 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32769         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
32770         fields.
32772 2013-06-17  Roland McGrath  <roland@hack.frob.com>
32774         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
32775         length of target pattern, then descending length of dependency pattern.
32776         * configure.in (AWK): Require gawk 3.1.2 or newer.
32777         * manual/install.texi (Tools for Compilation): Say that we do.
32778         * configure: Regenerated.
32780         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
32781         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
32782         * scripts/sysd-rules.awk: ... this new script.
32783         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
32784         than a glob-style pattern.
32786 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
32788         * math/test-misc.c (main): Do not treat incorrectly rounded
32789         conversions as failure unless ROUNDING_TESTS passes.
32791 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
32793         [BZ #15631]
32794         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
32795         restore exception state around main square root computation, then
32796         check for inexactness explicitly.
32798         * math/libm-test.inc (fma_test_data): Add another test.
32800 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32802         * manual/threads.texi (Non-POSIX Extensions): New document
32803         node.  Document pthread_getattr_default_np and
32804         pthread_setattr_default_np.
32806         * Versions.def (libpthread): Add GLIBC_2.18.
32807         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
32808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32809         Likewise.
32810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32811         Likewise.
32812         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32813         Likewise.
32814         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32815         Likewise.
32816         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
32817         Likewise.
32818         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32819         Likewise.
32820         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32821         Likewise.
32822         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32823         Likewise.
32824         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32825         Likewise.
32827 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32829         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32830         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
32832 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32833             H.J. Lu  <hjl.tools@gmail.com>
32835         [BZ #15627]
32836         * sysdeps/x86_64/rtld-memset.c: Remove file.
32837         * sysdeps/x86_64/rtld-memset.S: New file.
32839 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
32841         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
32842         (test_in_one_mode): Take arguments for whether the rounding mode
32843         is supported for each floating-point type.
32844         (do_test): Pass new arguments to test_in_one_mode using
32845         ROUNDING_TESTS.
32847 2013-06-13  Roland McGrath  <roland@hack.frob.com>
32849         * posix/tst-waitid.c (do_test): Distinguish different instances of
32850         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
32851         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
32852         before entering the kernel for waitpid.
32854 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32856         * NEWS: Fix note on clock function precision.  Text by Roland
32857         McGrath.
32859 2013-06-13  Roland McGrath  <roland@hack.frob.com>
32861         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
32862         it into place only when and if the sanity check passes.
32864 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
32866         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
32867         output for whether conversion result is exact.  Take argument
32868         indicating whether type is IBM long double.
32869         (round_for_all): Change need_exact field to ibm_ld.
32870         * stdlib/tst-strtod-round.c (struct exactness): New type.
32871         (struct test): Change bool ld_ok field to struct exactness exact.
32872         (TEST): Update all definitions for change to field.
32873         (tests): Regenerate array contents.
32874         (test_in_one_mode): Take pointer to new field instead of old ld_ok
32875         field value.  Check for IBM long double here.
32876         (do_test): Update calls to test_in_one_mode.
32878 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32880         [BZ #12515]
32881         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
32882         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
32884 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32886         [BZ #15605]
32887         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
32888         generated by the compiler on loop optimizations.
32889         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
32890         general definitions.
32892 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
32894         * math/bug-nextafter.c: Include <math-tests.h>.
32895         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32896         the relevant type.
32897         * math/bug-nexttoward.c: Include <math-tests.h>.
32898         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32899         the relevant type.
32900         * math/test-misc.c: Include <math-tests.h>.
32901         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32902         the relevant type.
32904 2013-06-12  Andreas Jaeger  <aj@suse.de>
32906         * po/ia.po: Update Interlingua translation from translation
32907         project.
32909 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32911         * include/fenv.h: Include stdbool.h.
32912         (struct rm_ctx): New structure.
32913         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
32914         Define macro.
32915         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
32916         (SET_RESTORE_ROUNDF): Likewise.
32917         (SET_RESTORE_ROUNDL): Likewise.
32918         (SET_RESTORE_ROUND_NOEX): Likewise.
32919         (SET_RESTORE_ROUND_NOEXF): Likewise.
32920         (SET_RESTORE_ROUND_NOEXL): Likewise.
32921         (SET_RESTORE_ROUND_53BIT): Likewise.
32922         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
32923         (libc_feresetround_noexf_ctx): Likewise.
32924         (libc_feresetround_noexl_ctx): Likewise.
32925         (libc_feholdsetround_53bit_ctx): Likewise.
32926         (libc_feresetround_53bit_ctx): Likewise.
32927         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
32928         (libc_feholdexcept_setround_sse_ctx): New function.
32929         (libc_fesetenv_sse_ctx): Likewise.
32930         (libc_feupdateenv_sse_ctx): Likewise.
32931         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
32932         (libc_feholdexcept_setround_387_ctx): Likewise.
32933         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
32934         (libc_feholdsetround_387_prec_ctx): Likewise.
32935         (libc_feholdsetround_387_ctx): Likewise.
32936         (libc_feholdsetround_387_53bit_ctx): Likewise.
32937         (libc_feholdsetround_sse_ctx): Likewise.
32938         (libc_feresetround_sse_ctx): Likewise.
32939         (libc_feresetround_387_ctx): Likewise.
32940         (libc_feupdateenv_387_ctx): Likewise.
32941         (libc_feholdexcept_setroundf_ctx): Define macro.
32942         (libc_fesetenvf_ctx): Likewise.
32943         (libc_feupdateenvf_ctx): Likewise.
32944         (libc_feholdsetroundf_ctx): Likewise.
32945         (libc_feresetroundf_ctx): Likewise.
32946         (libc_feholdexcept_setround_ctx): Likewise.
32947         (libc_fesetenv_ctx): Likewise.
32948         (libc_feupdateenv_ctx): Likewise.
32949         (libc_feholdsetround_ctx): Likewise.
32950         (libc_feresetround_ctx): Likewise.
32951         (libc_feholdexcept_setroundl_ctx): Likewise.
32952         (libc_feupdateenvl_ctx): Likewise.
32953         (libc_feholdsetroundl_ctx): Likewise.
32954         (libc_feresetroundl_ctx): Likewise.
32955         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
32956         (libc_feresetround_53bit_ctx): Likewise.
32958 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32960         * locale/iso-639.def: Convert to UTF-8.
32962 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
32964         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
32965         (EXCEPTION_TESTS_double): Likewise.
32966         (EXCEPTION_TESTS_long_double): Likewise.
32967         (EXCEPTION_TESTS): Likewise.
32968         * math/libm-test.inc (test_exceptions): Only test exceptions if
32969         EXCEPTION_TESTS (FLOAT).
32971 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32973         * benchtests/Makefile (string-bench): Add strcpy_chk and
32974         stpcpy_chk.
32975         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
32976         * benchtests/bench-stpcpy_chk.c: New file.
32977         * benchtests/bench-strcpy_chk-ifunc.c: New file.
32978         * benchtests/bench-strcpy_chk.c: New file.
32979         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
32980         code.
32981         (do_test): Likewise.
32983 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32985         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
32986         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
32987         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
32988         with tabs where appropriate.
32989         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
32990         dl-procinfo.h.
32991         [PPC_PLATFORM_PPC440]: Likewise.
32992         [PPC_PLATFORM_PPC464]: Likewise.
32993         [PPC_PLATFORM_PPC476]: Likewise.
32994         (_dl_string_platform): Add support for detecting ppc405, ppc440,
32995         ppc464, and ppc476 platform strings merging from ports/
32996         dl-procinfo.h.
32998 2013-06-11  Andreas Schwab  <schwab@suse.de>
33000         [BZ #14991]
33001         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
33002         (from_ucs4_idx): Regenerate.
33003         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
33004         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
33005         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
33006         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
33007         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
33008         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
33009         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
33010         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
33011         from FROM_LOOP and TO_LOOP specific macros.
33012         (BODY): Handle combining characters.
33013         * iconvdata/BIG5HKSCS.irreversible: Update.
33014         * iconvdata/BIG5HKSCS.precomposed: New file.
33015         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
33016         characters.
33017         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
33019 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33021         * include/sys/time.h: Fix indentation and add copyright header.
33023         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
33024         (do_test): Likewise.
33025         * string/test-memchr.c (do_one_test): Likewise.
33026         (do_test): Likewise.
33027         * string/test-memcmp.c (do_one_test): Likewise.
33028         (do_test): Likewise.
33029         * string/test-memcpy.c (do_one_test): Likewise.
33030         (do_test): Likewise.
33031         * string/test-memmem.c (do_one_test): Likewise.
33032         (do_test): Likewise.
33033         (do_random_tests): Likewise.
33034         * string/test-memmove.c (do_one_test): Likewise.
33035         (do_test): Likewise.
33036         * string/test-memset.c (do_one_test): Likewise.
33037         (do_test): Likewise.
33038         * string/test-rawmemchr.c (do_one_test): Likewise.
33039         (do_test): Likewise.
33040         * string/test-strcasecmp.c (do_one_test): Likewise.
33041         (do_test): Likewise.
33042         * string/test-strcasestr.c (do_one_test): Likewise.
33043         (do_test): Likewise.
33044         * string/test-strcat.c (do_one_test): Likewise.
33045         (do_test): Likewise.
33046         * string/test-strchr.c (do_one_test): Likewise.
33047         (do_test): Likewise.
33048         * string/test-strcmp.c (do_one_test): Likewise.
33049         (do_test): Likewise.
33050         * string/test-strcpy.c (do_one_test): Likewise.
33051         (do_test): Likewise.
33052         * string/test-string.h: Likewise.
33053         (test_init): Likewise.
33054         * string/test-strlen.c (do_one_test): Likewise.
33055         (do_test): Likewise.
33056         * string/test-strncasecmp.c (do_one_test): Likewise.
33057         (do_test): Likewise.
33058         * string/test-strncat.c (do_one_test): Likewise.
33059         (do_test): Likewise.
33060         * string/test-strncmp.c (do_one_test): Likewise.
33061         (do_test_limit): Likewise.
33062         (do_test): Likewise.
33063         * string/test-strncpy.c (do_one_test): Likewise.
33064         (do_test): Likewise.
33065         * string/test-strnlen.c (do_one_test): Likewise.
33066         (do_test): Likewise.
33067         * string/test-strpbrk.c (do_one_test): Likewise.
33068         (do_test): Likewise.
33069         * string/test-strrchr.c (do_one_test): Likewise.
33070         (do_test): Likewise.
33071         * string/test-strspn.c (do_one_test): Likewise.
33072         (do_test): Likewise.
33073         * string/test-strstr.c (do_one_test): Likewise.
33074         (do_test): Likewise.
33076         * benchtests/Makefile (string-bench): Add string benchmarks.
33077         * benchtests/bench-bcopy-ifunc.c: New file.
33078         * benchtests/bench-bcopy.c: New file.
33079         * benchtests/bench-bzero-ifunc.c: New file.
33080         * benchtests/bench-bzero.c: New file.
33081         * benchtests/bench-memccpy-ifunc.c: New file.
33082         * benchtests/bench-memccpy.c: New file.
33083         * benchtests/bench-memchr-ifunc.c: New file.
33084         * benchtests/bench-memchr.c: New file.
33085         * benchtests/bench-memcmp-ifunc.c: New file.
33086         * benchtests/bench-memcmp.c: New file.
33087         * benchtests/bench-memmem-ifunc.c: New file.
33088         * benchtests/bench-memmem.c: New file.
33089         * benchtests/bench-memmove-ifunc.c: New file.
33090         * benchtests/bench-memmove.c: New file.
33091         * benchtests/bench-mempcpy-ifunc.c: New file.
33092         * benchtests/bench-mempcpy.c: New file.
33093         * benchtests/bench-memset-ifunc.c: New file.
33094         * benchtests/bench-memset.c: New file.
33095         * benchtests/bench-rawmemchr-ifunc.c: New file.
33096         * benchtests/bench-rawmemchr.c: New file.
33097         * benchtests/bench-stpcpy-ifunc.c: New file.
33098         * benchtests/bench-stpcpy.c: New file.
33099         * benchtests/bench-stpncpy-ifunc.c: New file.
33100         * benchtests/bench-stpncpy.c: New file.
33101         * benchtests/bench-strcasecmp-ifunc.c: New file.
33102         * benchtests/bench-strcasecmp.c: New file.
33103         * benchtests/bench-strcasestr-ifunc.c: New file.
33104         * benchtests/bench-strcasestr.c: New file.
33105         * benchtests/bench-strcat-ifunc.c: New file.
33106         * benchtests/bench-strcat.c: New file.
33107         * benchtests/bench-strchr-ifunc.c: New file.
33108         * benchtests/bench-strchr.c: New file.
33109         * benchtests/bench-strchrnul-ifunc.c: New file.
33110         * benchtests/bench-strchrnul.c: New file.
33111         * benchtests/bench-strcmp-ifunc.c: New file.
33112         * benchtests/bench-strcmp.c: New file.
33113         * benchtests/bench-strcpy-ifunc.c: New file.
33114         * benchtests/bench-strcpy.c: New file.
33115         * benchtests/bench-strcspn-ifunc.c: New file.
33116         * benchtests/bench-strcspn.c: New file.
33117         * benchtests/bench-strlen-ifunc.c: New file.
33118         * benchtests/bench-strlen.c: New file.
33119         * benchtests/bench-strncasecmp-ifunc.c: New file.
33120         * benchtests/bench-strncasecmp.c: New file.
33121         * benchtests/bench-strncat-ifunc.c: New file.
33122         * benchtests/bench-strncat.c: New file.
33123         * benchtests/bench-strncmp-ifunc.c: New file.
33124         * benchtests/bench-strncmp.c: New file.
33125         * benchtests/bench-strncpy-ifunc.c: New file.
33126         * benchtests/bench-strncpy.c: New file.
33127         * benchtests/bench-strnlen-ifunc.c: New file.
33128         * benchtests/bench-strnlen.c: New file.
33129         * benchtests/bench-strpbrk-ifunc.c: New file.
33130         * benchtests/bench-strpbrk.c: New file.
33131         * benchtests/bench-strrchr-ifunc.c: New file.
33132         * benchtests/bench-strrchr.c: New file.
33133         * benchtests/bench-strspn-ifunc.c: New file.
33134         * benchtests/bench-strspn.c: New file.
33135         * benchtests/bench-strstr-ifunc.c: New file.
33136         * benchtests/bench-strstr.c: New file.
33138         * benchtests/Makefile: Disable parallel execution of targets.
33139         (string-bench): Add memcpy.
33140         (benchset): New variable to store a list of benchmark sets.
33141         (bench-func): Renamed from bench.
33142         (bench-set): New target.
33143         (bench): Depend on bench-func and bench-set.
33144         * benchtests/README: Add section on benchmark sets.
33145         * benchtests/bench-memcpy-ifunc.c: New file.
33146         * benchtests/bench-memcpy.c: New file.
33147         * benchtests/bench-string.h: New file.
33149 2013-06-11  Andreas Schwab  <schwab@suse.de>
33151         [BZ #15577]
33152         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
33153         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
33154         values in the triple.
33155         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
33156         terminator in the group key.
33158 2013-06-11  Andreas Jaeger  <aj@suse.de>
33160         * po/zh_TW.po: Update Chinese (traditional) translation from
33161         translation project.
33163 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33165         * include/time.h (__clock_gettime): Add libc_hidden_proto.
33166         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
33167         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
33168         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33169         (clock_getcpuclockid): Likewise.
33170         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
33171         Add weak_alias and libc_hidden_def.
33172         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
33173         * rt/clock_gettime.c (clock_gettime): Rename to
33174         __clock_gettime.  Add weak_alias and libc_hidden_def.
33175         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
33176         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
33177         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
33178         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
33179         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
33180         Likewise.
33181         * rt/clock_settime.c (clock_settime): Rename to
33182         __clock_settime.  Add weak_alias and libc_hidden_def.
33183         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
33185 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
33187         * mach/err_boot.sub: Remove trailing whitespace.
33188         * mach/err_ipc.sub: Likewise.
33189         * mach/err_mach.sub: Likewise.
33191         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
33192         (ROUNDING_TESTS_double): Likewise.
33193         (ROUNDING_TESTS_long_double): Likewise.
33194         (ROUNDING_TESTS): Likewise.
33195         * math/libm-test.inc: Include <math-tests.h>.
33196         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
33197         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
33198         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
33199         (IF_ROUND_INIT_FE_UPWARD): Likewise.
33201 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33203         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
33204         of assigning.
33206 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
33208         * sysdeps/gnu/errlist.awk: Do not generate space at end of
33209         otherwise empty TRANS lines.
33210         * sysdeps/gnu/errlist.c: Regenerated.
33212         * catgets/gencat.c (error_print): Use (void) in function
33213         definition.
33214         * crypt/crypt_util.c (__init_des): Likewise.
33215         * crypt/speeds.c (Stop): Likewise.
33216         (main): Likewise.
33217         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
33218         * inet/ruserpass.c (token): Likewise.
33219         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
33220         * intl/localealias.c (extend_alias_table): Likewise.
33221         * intl/plural-exp.c (init_germanic_plural): Likewise.
33222         * libio/fcloseall.c (__fcloseall): Likewise.
33223         * libio/genops.c (_IO_flush_all): Likewise.
33224         (_IO_flush_all_linebuffered): Likewise.
33225         (_IO_cleanup): Likewise.
33226         (_IO_iter_begin): Likewise.
33227         (_IO_iter_end): Likewise.
33228         (_IO_list_lock): Likewise.
33229         (_IO_list_unlock): Likewise.
33230         (_IO_list_resetlock): Likewise.
33231         * libio/getchar.c (getchar): Likewise.
33232         * libio/getchar_u.c (getchar_unlocked): Likewise.
33233         * libio/getwchar.c (getwchar): Likewise.
33234         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
33235         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
33236         * login/getpt.c (__getpt): Likewise.
33237         * login/tst-utmp.c (main): Likewise.
33238         * malloc/hooks.c (__malloc_check_init): Likewise.
33239         * malloc/malloc.c (__malloc_stats): Likewise.
33240         * malloc/mtrace.c (tr_break): Likewise.
33241         (mtrace): Likewise.
33242         (muntrace): Likewise.
33243         * misc/fstab.c (endfsent): Likewise.
33244         * misc/getclktck.c (__getclktck): Likewise.
33245         * misc/getdtsz.c (__getdtablesize): Likewise.
33246         * misc/gethostid.c (gethostid): Likewise.
33247         * misc/getpagesize.c (__getpagesize): Likewise.
33248         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
33249         (__get_nprocs): Likewise.
33250         (__get_phys_pages): Likewise.
33251         (__get_avphys_pages): Likewise.
33252         * misc/getttyent.c (getttyent): Likewise.
33253         (setttyent): Likewise.
33254         (endttyent): Likewise.
33255         * misc/getusershell.c (getusershell): Likewise.
33256         (endusershell): Likewise.
33257         (setusershell): Likewise.
33258         (initshells): Likewise.
33259         * misc/hsearch.c (__hdestroy): Likewise.
33260         * misc/sync.c (sync): Likewise.
33261         * misc/syslog.c (closelog_internal): Likewise.
33262         (closelog): Likewise.
33263         * misc/ttyslot.c (ttyslot): Likewise.
33264         * misc/vhangup.c (vhangup): Likewise.
33265         * posix/fork.c (__fork): Likewise.
33266         * posix/getegid.c (__getegid): Likewise.
33267         * posix/geteuid.c (__geteuid): Likewise.
33268         * posix/getgid.c (__getgid): Likewise.
33269         * posix/getpid.c (__getpid): Likewise.
33270         * posix/getppid.c (__getppid): Likewise.
33271         * posix/getuid.c (__getuid): Likewise.
33272         * posix/pause.c (pause): Likewise.
33273         * posix/setpgrp.c (setpgrp): Likewise.
33274         * posix/setsid.c (__setsid): Likewise.
33275         * posix/test-vfork.c (noop): Likewise.
33276         * resolv/gethnamaddr.c (_endhtent): Likewise.
33277         (_gethtent): Likewise.
33278         (ht_endhostent): Likewise.
33279         (gethostent): Likewise.
33280         (dns_service): Likewise.
33281         * stdlib/drand48.c (drand48): Likewise.
33282         * stdlib/lrand48.c (lrand48): Likewise.
33283         * stdlib/mrand48.c (mrand48): Likewise.
33284         * stdlib/rand.c (rand): Likewise.
33285         * stdlib/random.c (__random): Likewise.
33286         * stdlib/setenv.c (clearenv): Likewise.
33287         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
33288         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
33289         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
33290         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
33291         (__get_nprocs): Likewise.
33292         (__get_phys_pages): Likewise.
33293         (__get_avphys_pages): Likewise.
33294         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
33295         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
33296         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
33297         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
33298         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
33299         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
33300         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
33301         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
33302         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
33303         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
33304         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
33305         * sysdeps/mach/hurd/sync.c (sync): Likewise.
33306         * sysdeps/posix/clock.c (clock): Likewise.
33307         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
33308         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
33309         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
33310         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
33311         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
33312         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
33313         (__get_nprocs_conf): Likewise.
33314         (__get_phys_pages): Likewise.
33315         (__get_avphys_pages): Likewise.
33316         * time/clock.c (clock): Likewise.
33317         * time/tzset.c (__tzname_max): Likewise.
33319 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
33321         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
33322         (__bswap_32): Do not use "register".
33323         * crypt/crypt.c (_ufc_doit_r): Likewise.
33324         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
33325         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
33326         * gmon/gmon.c (__monstartup): Likewise.
33327         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
33328         * hurd/hurdmalloc.c (more_memory): Likewise.
33329         (malloc): Likewise.
33330         (free): Likewise.
33331         (realloc): Likewise.
33332         (malloc_fork_prepare): Likewise.
33333         (malloc_fork_parent): Likewise.
33334         (malloc_fork_child): Likewise.
33335         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
33336         (_svcauth_des): Likewise.
33337         * inet/inet_lnaof.c (inet_lnaof): Likewise.
33338         * inet/inet_net.c (inet_network): Likewise.
33339         * inet/inet_netof.c (inet_netof): Likewise.
33340         * inet/rcmd.c (__validuser2_sa): Likewise.
33341         * io/fts.c (fts_open): Likewise.
33342         (fts_load): Likewise.
33343         (fts_close): Likewise.
33344         (fts_read): Likewise.
33345         (fts_children): Likewise.
33346         (fts_build): Likewise.
33347         (fts_stat): Likewise.
33348         (fts_sort): Likewise.
33349         (fts_alloc): Likewise.
33350         (fts_lfree): Likewise.
33351         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
33352         (_IO_file_xsgetn): Likewise.
33353         (_IO_file_xsgetn_mmap): Likewise.
33354         * libio/iofopncook.c (_IO_cookie_read): Likewise.
33355         (_IO_cookie_write): Likewise.
33356         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
33357         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
33358         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
33359         * malloc/obstack.c (_obstack_begin): Likewise.
33360         (_obstack_begin_1): Likewise.
33361         (_obstack_newchunk): Likewise.
33362         (_obstack_allocated_p): Likewise.
33363         (obstack_free): Likewise.
33364         (_obstack_memory_used): Likewise.
33365         * misc/getttyent.c (getttynam): Likewise.
33366         (getttyent): Likewise.
33367         (skip): Likewise.
33368         (value): Likewise.
33369         * misc/getusershell.c (initshells): Likewise.
33370         * misc/syslog.c (__vsyslog_chk): Likewise.
33371         * misc/ttyslot.c (ttyslot): Likewise.
33372         * nis/nis_hash.c (__nis_hash): Likewise.
33373         * posix/fnmatch_loop.c (FCT): Likewise.
33374         * posix/getconf.c (print_all): Likewise.
33375         (main): Likewise.
33376         * posix/getopt.c (exchange): Likewise.
33377         * posix/glob.c (globfree): Likewise.
33378         (prefix_array): Likewise.
33379         (__glob_pattern_type): Likewise.
33380         * resolv/arpa/nameser.h (NS_GET16): Likewise.
33381         (NS_GET32): Likewise.
33382         (NS_PUT16): Likewise.
33383         (NS_PUT32): Likewise.
33384         * resolv/gethnamaddr.c (getanswer): Likewise.
33385         (gethostbyname2): Likewise.
33386         (gethostbyaddr): Likewise.
33387         (_gethtent): Likewise.
33388         (_gethtbyname2): Likewise.
33389         (_gethtbyaddr): Likewise.
33390         * resolv/ns_print.c (dst_s_get_int16): Likewise.
33391         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
33392         * resolv/res_init.c (__res_vinit): Likewise.
33393         (net_mask): Likewise.
33394         * resolv/res_mkquery.c (outchar): Likewise.
33395         (PRINT): Likewise.
33396         * stdio-common/printf_fp.c (outchar): Likewise.
33397         (PRINT): Likewise.
33398         * stdio-common/printf_fphex.c (outchar): Likewise.
33399         (PRINT): Likewise.
33400         * stdio-common/printf_size.c (outchar): Likewise.
33401         (PRINT): Likewise.
33402         * stdio-common/test_rdwr.c (main): Likewise.
33403         * stdio-common/tfformat.c (matches): Likewise.
33404         * stdio-common/vfprintf.c (outchar): Likewise.
33405         (printf_unknown): Likewise.
33406         (buffered_vfprintf): Likewise.
33407         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
33408         * stdio-common/xbug.c (AppendToBuffer): Likewise.
33409         (ReadFile): Likewise.
33410         * stdlib/qsort.c (SWAP): Likewise.
33411         (_quicksort): Likewise.
33412         * stdlib/setenv.c (__add_to_environ): Likewise.
33413         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
33414         * stdlib/strtol_l.c (__strtol_l): Likewise.
33415         * stdlib/tst-strtod.c (main): Likewise.
33416         * stdlib/tst-strtol.c (main): Likewise.
33417         * stdlib/tst-strtoll.c (main): Likewise.
33418         * string/bits/string2.h (__strcmp_cc): Likewise.
33419         (__strcmp_cg): Likewise.
33420         (__strcspn_c1): Likewise.
33421         (__strcspn_c2): Likewise.
33422         (__strcspn_c3): Likewise.
33423         (__strspn_c1): Likewise.
33424         (__strspn_c2): Likewise.
33425         (__strspn_c3): Likewise.
33426         (__strsep_1c): Likewise.
33427         (__strsep_2c): Likewise.
33428         (__strsep_3c): Likewise.
33429         * string/memccpy.c (__memccpy): Likewise.
33430         * string/stpcpy.c (__stpcpy): Likewise.
33431         * string/strcmp.c (strcmp): Likewise.
33432         * string/strrchr.c (strrchr): Likewise.
33433         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
33434         Likewise.
33435         * sysdeps/mach/hurd/getcwd.c
33436         (_hurd_canonicalize_directory_name_internal): Likewise.
33437         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
33438         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
33439         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
33440         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
33441         Likewise, in both definitions.
33442         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
33443         definitions.
33444         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
33445         64] (__bswap_64): Likewise.
33446         * time/test_time.c (main): Likewise.
33447         * time/tzfile.c (__tzfile_read): Likewise.
33448         (__tzfile_compute): Likewise.
33449         * time/tzset.c (__tzset_parse_tz): Likewise.
33450         (tzset_internal): Likewise.
33451         (compute_change): Likewise.
33452         * wcsmbs/wcscat.c (__wcscat): Likewise.
33453         * wcsmbs/wcschr.c (wcschr): Likewise.
33454         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
33455         * wcsmbs/wcscspn.c (wcscspn): Likewise.
33456         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
33457         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
33458         * wcsmbs/wcsspn.c (wcsspn): Likewise.
33459         * wcsmbs/wcsstr.c (wcsstr): Likewise.
33460         * wcsmbs/wmemchr.c (wmemchr): Likewise.
33461         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
33462         * wcsmbs/wmemset.c (wmemset): Likewise.
33464 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
33466         * scripts/config.guess: Update to version 2013-05-16.
33467         * scripts/config.sub: Update to version 2013-04-24.
33468         * scripts/install-sh: Update to version 2011-11-20.07.
33469         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
33470         * scripts/move-if-change: Update to version 2012-01-06 07:23.
33472 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
33474         * debug/fgetws_u_chk.c: Fix leading whitespaces.
33475         * elf/sln.c: Likewise.
33476         * hurd/hurd/ioctl.h: Likewise.
33477         * hurd/hurdmalloc.c: Likewise.
33478         * hurd/xattr.c: Likewise.
33479         * include/shlib-compat.h: Likewise.
33480         * inet/ruserpass.c: Likewise.
33481         * libio/iofgets_u.c: Likewise.
33482         * libio/iofgetws_u.c: Likewise.
33483         * locale/programs/ld-identification.c: Likewise.
33484         * locale/programs/ld-time.c: Likewise.
33485         * mach/msg-destroy.c: Likewise.
33486         * nss/nss_files/files-netgrp.c: Likewise.
33487         * resolv/res_data.c: Likewise.
33488         * soft-fp/op-1.h: Likewise.
33489         * soft-fp/op-2.h: Likewise.
33490         * soft-fp/op-4.h: Likewise.
33491         * soft-fp/op-common.h: Likewise.
33492         * stdio-common/printf_fphex.c: Likewise.
33493         * stdlib/strtod_l.c: Likewise.
33494         * sunrpc/rpc/clnt.h: Likewise.
33495         * sysdeps/generic/framestate.c: Likewise.
33496         * sysdeps/i386/bsd-_setjmp.S: Likewise.
33497         * sysdeps/i386/bsd-setjmp.S: Likewise.
33498         * sysdeps/i386/__longjmp.S: Likewise.
33499         * sysdeps/i386/setjmp.S: Likewise.
33500         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33501         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33502         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33503         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33504         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33505         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33506         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33507         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33508         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33509         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
33510         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33511         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33512         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33513         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33514         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33515         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33516         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33517         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
33518         * sysdeps/ieee754/support.c: Likewise.
33519         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33520         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
33521         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
33522         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
33523         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
33524         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
33525         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
33526         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
33527         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
33528         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
33529         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
33530         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
33531         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
33532         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
33533         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
33534         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
33535         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
33538 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
33540         * posix/transbug.c: Remove executable mode.
33542 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
33544         * crypt/speeds.c: Remove trailing whitespace.
33545         * dlfcn/default.c: Likewise.
33546         * elf/ifuncdep2.c: Likewise.
33547         * elf/ifuncmain1.c: Likewise.
33548         * elf/ifuncmain1vis.c: Likewise.
33549         * elf/testobj.h: Likewise.
33550         * elf/tst-stackguard1.c: Likewise.
33551         * gmon/sys/gmon.h: Likewise.
33552         * hurd/hurdmsg.c: Likewise.
33553         * hurd/new-fd.c: Likewise.
33554         * hurd/ports-get.c: Likewise.
33555         * iconvdata/ibm1008_420.c: Likewise.
33556         * inet/tst-getni1.c: Likewise.
33557         * inet/tst-getni2.c: Likewise.
33558         * libio/ioungetc.c: Likewise.
33559         * libio/wfiledoalloc.c: Likewise.
33560         * manual/libm-err-tab.pl: Likewise.
33561         * math/w_dremf.c: Likewise.
33562         * misc/ftruncate.c: Likewise.
33563         * posix/bug-glob2.c: Likewise.
33564         * posix/tst-pcre.c: Likewise.
33565         * posix/wait4.c: Likewise.
33566         * resolv/README: Likewise.
33567         * resolv/res_debug.h: Likewise.
33568         * resolv/tst-inet_ntop.c: Likewise.
33569         * setjmp/bug269-setjmp.c: Likewise.
33570         * soft-fp/extended.h: Likewise.
33571         * soft-fp/op-1.h: Likewise.
33572         * soft-fp/op-2.h: Likewise.
33573         * soft-fp/op-4.h: Likewise.
33574         * soft-fp/op-8.h: Likewise.
33575         * soft-fp/testit.c: Likewise.
33576         * stdio-common/bug16.c: Likewise.
33577         * stdlib/random.c: Likewise.
33578         * sunrpc/rpcsvc/rquota.x: Likewise.
33579         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
33580         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33581         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33582         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33583         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33584         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33585         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33586         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33587         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33588         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33589         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33590         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33591         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33592         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33593         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33594         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33595         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33596         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33597         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33598         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33599         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33600         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33601         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
33602         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33603         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33604         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33605         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33606         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
33607         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33608         * sysdeps/ieee754/s_lib_version.c: Likewise.
33609         * sysdeps/mach/hurd/check_fds.c: Likewise.
33610         * sysdeps/mach/hurd/getsockname.c: Likewise.
33611         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
33612         * sysdeps/mach/hurd/recvfrom.c: Likewise.
33613         * sysdeps/powerpc/bits/link.h: Likewise.
33614         * sysdeps/powerpc/dl-procinfo.c: Likewise.
33615         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
33616         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
33617         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
33618         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
33619         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33620         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
33621         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
33622         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
33623         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
33624         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
33625         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
33626         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
33627         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
33628         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
33629         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
33630         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
33631         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
33632         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
33633         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33634         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33635         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
33636         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33637         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
33638         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
33639         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
33640         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
33641         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33642         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33643         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
33644         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
33645         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
33646         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33647         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33648         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
33649         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
33650         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
33651         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
33652         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
33653         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
33654         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
33655         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
33656         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
33657         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
33658         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
33659         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
33660         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
33661         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
33662         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
33663         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
33664         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33665         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33666         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33667         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33668         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
33669         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
33670         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
33671         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33672         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
33673         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
33674         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
33675         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
33676         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
33677         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33678         * sysdeps/powerpc/sysdep.h: Likewise.
33679         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33680         * sysdeps/s390/s390-64/sub_n.S: Likewise.
33681         * sysdeps/sh/dl-trampoline.S: Likewise.
33682         * sysdeps/sh/memset.S: Likewise.
33683         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
33684         * sysdeps/sh/strlen.S: Likewise.
33685         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
33686         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
33687         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
33688         * sysdeps/sparc/sparc32/rem.S: Likewise.
33689         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
33690         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
33691         * sysdeps/sparc/sparc32/strchr.S: Likewise.
33692         * sysdeps/sparc/sparc32/udiv.S: Likewise.
33693         * sysdeps/sparc/sparc32/urem.S: Likewise.
33694         * sysdeps/sparc/sparc64/add_n.S: Likewise.
33695         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
33696         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
33697         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
33698         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
33699         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
33700         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
33701         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
33702         * sysdeps/unix/bsd/times.c: Likewise.
33703         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
33704         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
33705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
33706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
33707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
33708         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
33709         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
33710         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
33711         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
33712         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
33713         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
33714         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
33715         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
33716         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
33717         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
33718         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
33719         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
33720         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
33721         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
33722         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
33723         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
33724         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
33725         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
33726         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
33727         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
33728         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
33729         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
33730         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33731         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
33732         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
33733         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
33734         * sysdeps/x86_64/strcspn.S: Likewise.
33736 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33738         * locale/C-translit.h: Revert #include <stdint.h> because this is a
33739         generated file.  Regenerate properly from gen-translit.pl.
33740         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
33741         locale/C-translit.h.
33743 2013-06-05  Andreas Schwab  <schwab@suse.de>
33745         [BZ #15100]
33746         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
33747         week as 6 instead of -1.
33748         * time/tst-strptime.c (day_tests): Add test case.
33750 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33752         * sysdeps/generic/math_private.h
33753         (libc_feholdexcept_setround_53bit): Replace with
33754         libc_feholdsetround_53bit.
33755         (libc_feupdateenv_53bit): Replace with
33756         libc_feresetround_53bit.
33757         (SET_RESTORE_ROUND_53BIT): Adjust.
33759 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
33761         * string/test-strchrnul.c: Add copyright header.
33763         * posix/tst-getaddrinfo4.c: Increase test timeout.
33765 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
33767         [BZ #15536]
33768         * math/libm-test.inc (MAX_EXP): Remove
33769         (MIN_EXP): Define.
33770         (ulp): Use MIN_EXP - MANT_DIG.
33771         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
33773 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
33775         * po/be.po: Revert last change.
33776         * po/zh_CN.po: Likewise.
33777         * po/header.pot: Likewise.
33779 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
33781         * Makefile ($(common-objpfx)linkobj/libc.so): Define
33782         link-libc-deps to empty as target-specific variable.
33783         * Makerules (link-libc-args): New variable.
33784         (libc-for-link): Likewise.
33785         (link-libc-deps): Likewise.
33786         (lib%.so): Depend on $(link-libc-deps).  Link with
33787         $(link-libc-args).
33788         (build-module): Link with $(link-libc-args).
33789         (build-module-asneeded): Likewise.
33790         (build-module-helper-objlist): Filter out $(link-libc-deps) from
33791         list of objects.
33792         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
33793         target-specific variable.
33794         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
33795         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
33796         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
33797         libc.
33798         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
33799         libc and ld.so.
33800         ($(objpfx)libpcprofile.so): Likewise.
33801         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
33802         libc_nonshared.a.
33803         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
33804         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
33805         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
33806         $(link-libc-deps).
33807         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
33808         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
33809         * login/Makefile ($(objpfx)libutil.so): Likewise.
33810         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
33811         * math/Makefile ($(objpfx)libm.so): Likewise.
33812         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
33813         $(objpfx)libnsl.so): Define libc-for-link as target-specific
33814         variable instead of depending directly on libc.
33815         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
33816         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
33817         $(link-libc-deps).
33818         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
33819         libc.
33820         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
33821         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
33822         ($(objpfx)libanl.so): Likewise.
33823         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
33824         ld.so.
33825         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
33826         $(link-libc-deps).
33827         * sysdeps/i386/fpu/Makefile: Remove file.
33828         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
33829         ($(objpfx)libm.so): Remove dependency on ld.so.
33831 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
33833         [BZ # 15553]
33834         * nis/yp_xdr.c (XDRMAXNAME): Define.
33835         (XDRMAXRECORD): Define.
33836         (xdr_domainname): Use XDRMAXNAME.
33837         (xdr_mapname): Likewise.
33838         (xdr_peername): Likewise.
33839         (xdr_keydat): Use XDRMAXRECORD.
33840         (xdr_valdat): Likewise.
33842 2013-05-30  Jeff Law  <law@redhat.com>
33844         [BZ #14256]
33845         * manual/errno.texi (ESTALE): Update to account for more than
33846         just NFS file systems.
33847         * sysdeps/gnu/errlist.c: Regenerated.
33849 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33851         [BZ #15465]
33852         * elf/Makefile (tests): Add tst-null-argv.
33853         (modules-names):  Add tst-null-argv-lib.
33854         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
33855         (tst-null-argv-ENV): Set environment for tst-null-argv.
33856         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
33857         (RTLD_PROGNAME): New macro.
33858         * elf/tst-null-argv.c: New test case.
33859         * elf/tst-null-argv-lib.c: Library for test case.
33860         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
33861         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
33862         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
33863         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
33864         * elf/dl-init.c (call_init): Likewise.
33865         (_dl_init): Likewise.
33866         * elf/dl-load.c (print_search_path): Likewise.
33867         (_dl_map_object): Likewise.
33868         * elf/dl-lookup.c (do_lookup_x): Likewise.
33869         (add_dependency): Likewise.
33870         (_dl_lookup_symbol_x): Likewise.
33871         (_dl_debug_bindings): Likewise.
33872         * elf/dl-open.c (_dl_show_scope): Likewise.
33873         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
33874         * elf/dl-version.c (match_symbol): Likewise.
33875         (_dl_check_map_versions): Likewise.
33876         * elf/rtld.c (dl_main): Likewise.
33877         (print_unresolved): Use RTLD_PROGNAME.
33878         (print_missing_version): Likewise.
33879         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
33880         (elf_machine_rela): Likewise.
33881         * sysdeps/powerpc/powerpc32/dl-machine.c
33882         (__process_machine_rela): Likewise.
33883         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33884         Likewise.
33885         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33886         Likewise.
33887         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
33888         Likewise.
33889         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33890         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
33891         Likewise.
33892         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
33893         Likewise.
33894         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33896 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
33898         * po/be.po: Add descriptive title.
33899         * po/zh_CN.po: Likewise.
33900         * po/header.pot: Likewise.
33902 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
33904         * locale/programs/locarchive.c (create_archive): Inlucde fname in
33905         error message.
33906         (enlarge_archive): Likewise.
33908 2013-05-28  Ben North  <ben@redfrontdoor.org>
33910         * manual/arith.texi (frexp): It is the magnitude of the return
33911         value which lies in [0.5, 1), not the return value itself.
33913 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33915         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33917 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
33919         * stdio-common/bug26.c (main): Correct fscanf template.
33921         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
33922         declare _dl_skip_args.
33924         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
33925         Don't declare.
33927         * manual/platform.texi: Add missing @end deftypefun.
33929 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
33931         [BZ #15529]
33932         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
33933         bit of mantissa of 2^16382.
33934         * math/libm-test.inc (hypot_test_data): Add more tests.
33936         * math/libm-test.inc: Add drem and pow10 to list of tested
33937         functions.
33938         (pow10_test): New function.
33939         (drem_test): Likewise.
33940         (drem_test_tonearest): Likewise.
33941         (drem_test_towardzero): Likewise.
33942         (drem_test_downward): Likewise.
33943         (drem_test_upward): Likewise.
33944         (main): Call the new functions.
33946         * math/libm-test.inc (finite_test_data): Remove.
33947         (finite_test): Run tests from isfinite_test_data.
33948         (gamma_test_data): Remove.
33949         (gamma_test): Run tests from lgamma_test_data.
33950         * sysdeps/i386/fpu/libm-test-ulps: Update.
33951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33953 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33955         * manual/platform.texi: Add PowerPC PPR function set documentation.
33956         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
33957         implementation.
33959 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
33961         * math/libm-test.inc (MAX_EXP): Define.
33962         (ULPDIFF): Define.
33963         (ulp): New function.
33964         (check_float_internal): Use ULPDIFF.
33965         (cpow_test): Disable failing test.
33966         (check_ulp): Test ulp() implemetnation.
33967         (main): Call check_ulp before starting tests.
33969 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
33971         * math/gen-libm-test.pl (generate_testfile): Do not handle
33972         START_DATA and END_DATA.
33973         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
33974         END_DATA.
33975         (acos_tonearest_test_data): Likewise.
33976         (acos_towardzero_test_data): Likewise.
33977         (acos_downward_test_data): Likewise.
33978         (acos_upward_test_data): Likewise.
33979         (acosh_test_data): Likewise.
33980         (asin_test_data): Likewise.
33981         (asin_tonearest_test_data): Likewise.
33982         (asin_towardzero_test_data): Likewise.
33983         (asin_downward_test_data): Likewise.
33984         (asin_upward_test_data): Likewise.
33985         (asinh_test_data): Likewise.
33986         (atan_test_data): Likewise.
33987         (atanh_test_data): Likewise.
33988         (atan2_test_data): Likewise.
33989         (cabs_test_data): Likewise.
33990         (cacos_test_data): Likewise.
33991         (cacosh_test_data): Likewise.
33992         (carg_test_data): Likewise.
33993         (casin_test_data): Likewise.
33994         (casinh_test_data): Likewise.
33995         (catan_test_data): Likewise.
33996         (catanh_test_data): Likewise.
33997         (cbrt_test_data): Likewise.
33998         (ccos_test_data): Likewise.
33999         (ccosh_test_data): Likewise.
34000         (ceil_test_data): Likewise.
34001         (cexp_test_data): Likewise.
34002         (cimag_test_data): Likewise.
34003         (clog_test_data): Likewise.
34004         (clog10_test_data): Likewise.
34005         (conj_test_data): Likewise.
34006         (copysign_test_data): Likewise.
34007         (cos_test_data): Likewise.
34008         (cos_tonearest_test_data): Likewise.
34009         (cos_towardzero_test_data): Likewise.
34010         (cos_downward_test_data): Likewise.
34011         (cos_upward_test_data): Likewise.
34012         (cosh_test_data): Likewise.
34013         (cosh_tonearest_test_data): Likewise.
34014         (cosh_towardzero_test_data): Likewise.
34015         (cosh_downward_test_data): Likewise.
34016         (cosh_upward_test_data): Likewise.
34017         (cpow_test_data): Likewise.
34018         (cproj_test_data): Likewise.
34019         (creal_test_data): Likewise.
34020         (csin_test_data): Likewise.
34021         (csinh_test_data): Likewise.
34022         (csqrt_test_data): Likewise.
34023         (ctan_test_data): Likewise.
34024         (ctan_tonearest_test_data): Likewise.
34025         (ctan_towardzero_test_data): Likewise.
34026         (ctan_downward_test_data): Likewise.
34027         (ctan_upward_test_data): Likewise.
34028         (ctanh_test_data): Likewise.
34029         (ctanh_tonearest_test_data): Likewise.
34030         (ctanh_towardzero_test_data): Likewise.
34031         (ctanh_downward_test_data): Likewise.
34032         (ctanh_upward_test_data): Likewise.
34033         (erf_test_data): Likewise.
34034         (erfc_test_data): Likewise.
34035         (exp_test_data): Likewise.
34036         (exp_tonearest_test_data): Likewise.
34037         (exp_towardzero_test_data): Likewise.
34038         (exp_downward_test_data): Likewise.
34039         (exp_upward_test_data): Likewise.
34040         (exp10_test_data): Likewise.
34041         (exp2_test_data): Likewise.
34042         (expm1_test_data): Likewise.
34043         (fabs_test_data): Likewise.
34044         (fdim_test_data): Likewise.
34045         (finite_test_data): Likewise.
34046         (floor_test_data): Likewise.
34047         (fma_test_data): Likewise.
34048         (fma_towardzero_test_data): Likewise.
34049         (fma_downward_test_data): Likewise.
34050         (fma_upward_test_data): Likewise.
34051         (fmax_test_data): Likewise.
34052         (fmin_test_data): Likewise.
34053         (fmod_test_data): Likewise.
34054         (fpclassify_test_data): Likewise.
34055         (frexp_test_data): Likewise.
34056         (gamma_test_data): Likewise.
34057         (hypot_test_data): Likewise.
34058         (ilogb_test_data): Likewise.
34059         (isfinite_test_data): Likewise.
34060         (isgreater_test_data): Likewise.
34061         (isgreaterequal_test_data): Likewise.
34062         (isinf_test_data): Likewise.
34063         (isless_test_data): Likewise.
34064         (islessequal_test_data): Likewise.
34065         (islessgreater_test_data): Likewise.
34066         (isnan_test_data): Likewise.
34067         (isnormal_test_data): Likewise.
34068         (issignaling_test_data): Likewise.
34069         (isunordered_test_data): Likewise.
34070         (j0_test_data): Likewise.
34071         (j1_test_data): Likewise.
34072         (jn_test_data): Likewise.
34073         (ldexp_test_data): Likewise.
34074         (lgamma_test_data): Likewise.
34075         (lrint_test_data): Likewise.
34076         (lrint_tonearest_test_data): Likewise.
34077         (lrint_towardzero_test_data): Likewise.
34078         (lrint_downward_test_data): Likewise.
34079         (lrint_upward_test_data): Likewise.
34080         (llrint_test_data): Likewise.
34081         (llrint_tonearest_test_data): Likewise.
34082         (llrint_towardzero_test_data): Likewise.
34083         (llrint_downward_test_data): Likewise.
34084         (llrint_upward_test_data): Likewise.
34085         (log_test_data): Likewise.
34086         (log10_test_data): Likewise.
34087         (log1p_test_data): Likewise.
34088         (log2_test_data): Likewise.
34089         (logb_test_data): Likewise.
34090         (logb_downward_test_data): Likewise.
34091         (lround_test_data): Likewise.
34092         (llround_test_data): Likewise.
34093         (modf_test_data): Likewise.
34094         (nearbyint_test_data): Likewise.
34095         (nextafter_test_data): Likewise.
34096         (nexttoward_test_data): Likewise.
34097         (pow_test_data): Likewise.
34098         (pow_tonearest_test_data): Likewise.
34099         (pow_towardzero_test_data): Likewise.
34100         (pow_downward_test_data): Likewise.
34101         (pow_upward_test_data): Likewise.
34102         (remainder_test_data): Likewise.
34103         (remainder_tonearest_test_data): Likewise.
34104         (remainder_towardzero_test_data): Likewise.
34105         (remainder_downward_test_data): Likewise.
34106         (remainder_upward_test_data): Likewise.
34107         (remquo_test_data): Likewise.
34108         (rint_test_data): Likewise.
34109         (rint_tonearest_test_data): Likewise.
34110         (rint_towardzero_test_data): Likewise.
34111         (rint_downward_test_data): Likewise.
34112         (rint_upward_test_data): Likewise.
34113         (round_test_data): Likewise.
34114         (scalb_test_data): Likewise.
34115         (scalbn_test_data): Likewise.
34116         (scalbln_test_data): Likewise.
34117         (signbit_test_data): Likewise.
34118         (sin_test_data): Likewise.
34119         (sin_tonearest_test_data): Likewise.
34120         (sin_towardzero_test_data): Likewise.
34121         (sin_downward_test_data): Likewise.
34122         (sin_upward_test_data): Likewise.
34123         (sincos_test_data): Likewise.
34124         (sinh_test_data): Likewise.
34125         (sinh_tonearest_test_data): Likewise.
34126         (sinh_towardzero_test_data): Likewise.
34127         (sinh_downward_test_data): Likewise.
34128         (sinh_upward_test_data): Likewise.
34129         (sqrt_test_data): Likewise.
34130         (tan_test_data): Likewise.
34131         (tan_tonearest_test_data): Likewise.
34132         (tan_towardzero_test_data): Likewise.
34133         (tan_downward_test_data): Likewise.
34134         (tan_upward_test_data): Likewise.
34135         (tanh_test_data): Likewise.
34136         (tgamma_test_data): Likewise.
34137         (trunc_test_data): Likewise.
34138         (y0_test_data): Likewise.
34139         (y1_test_data): Likewise.
34140         (yn_test_data): Likewise.
34141         (significand_test_data): Likewise.
34143         * math/gen-libm-test.pl (@functions): Remove variable.
34144         (generate_testfile): Don't handle START and END lines.
34145         * math/libm-test.inc (START): New macro.
34146         (END): Likewise.
34147         (END_COMPLEX): Likewise.
34148         (acos_test): Use END macro without arguments.
34149         (acos_test_tonearest): Likewise.
34150         (acos_test_towardzero): Likewise.
34151         (acos_test_downward): Likewise.
34152         (acos_test_upward): Likewise.
34153         (acosh_test): Likewise.
34154         (asin_test): Likewise.
34155         (asin_test_tonearest): Likewise.
34156         (asin_test_towardzero): Likewise.
34157         (asin_test_downward): Likewise.
34158         (asin_test_upward): Likewise.
34159         (asinh_test): Likewise.
34160         (atan_test): Likewise.
34161         (atanh_test): Likewise.
34162         (atan2_test): Likewise.
34163         (cabs_test): Likewise.
34164         (cacos_test): Use END_COMPLEX macro without arguments.
34165         (cacosh_test): Likewise.
34166         (carg_test): Use END macro without arguments.
34167         (casin_test): Use END_COMPLEX macro without arguments.
34168         (casinh_test): Likewise.
34169         (catan_test): Likewise.
34170         (catanh_test): Likewise.
34171         (cbrt_test): Use END macro without arguments.
34172         (ccos_test): Use END_COMPLEX macro without arguments.
34173         (ccosh_test): Likewise.
34174         (ceil_test): Use END macro without arguments.
34175         (cexp_test): Use END_COMPLEX macro without arguments.
34176         (cimag_test): Use END macro without arguments.
34177         (clog_test): Use END_COMPLEX macro without arguments.
34178         (clog10_test): Likewise.
34179         (conj_test): Likewise.
34180         (copysign_test): Use END macro without arguments.
34181         (cos_test): Likewise.
34182         (cos_test_tonearest): Likewise.
34183         (cos_test_towardzero): Likewise.
34184         (cos_test_downward): Likewise.
34185         (cos_test_upward): Likewise.
34186         (cosh_test): Likewise.
34187         (cosh_test_tonearest): Likewise.
34188         (cosh_test_towardzero): Likewise.
34189         (cosh_test_downward): Likewise.
34190         (cosh_test_upward): Likewise.
34191         (cpow_test): Use END_COMPLEX macro without arguments.
34192         (cproj_test): Likewise.
34193         (creal_test): Use END macro without arguments.
34194         (csin_test): Use END_COMPLEX macro without arguments.
34195         (csinh_test): Likewise.
34196         (csqrt_test): Likewise.
34197         (ctan_test): Likewise.
34198         (ctan_test_tonearest): Likewise.
34199         (ctan_test_towardzero): Likewise.
34200         (ctan_test_downward): Likewise.
34201         (ctan_test_upward): Likewise.
34202         (ctanh_test): Likewise.
34203         (ctanh_test_tonearest): Likewise.
34204         (ctanh_test_towardzero): Likewise.
34205         (ctanh_test_downward): Likewise.
34206         (ctanh_test_upward): Likewise.
34207         (erf_test): Use END macro without arguments.
34208         (erfc_test): Likewise.
34209         (exp_test): Likewise.
34210         (exp_test_tonearest): Likewise.
34211         (exp_test_towardzero): Likewise.
34212         (exp_test_downward): Likewise.
34213         (exp_test_upward): Likewise.
34214         (exp10_test): Likewise.
34215         (exp2_test): Likewise.
34216         (expm1_test): Likewise.
34217         (fabs_test): Likewise.
34218         (fdim_test): Likewise.
34219         (finite_test): Likewise.
34220         (floor_test): Likewise.
34221         (fma_test): Likewise.
34222         (fma_test_towardzero): Likewise.
34223         (fma_test_downward): Likewise.
34224         (fma_test_upward): Likewise.
34225         (fmax_test): Likewise.
34226         (fmin_test): Likewise.
34227         (fmod_test): Likewise.
34228         (fpclassify_test): Likewise.
34229         (frexp_test): Likewise.
34230         (gamma_test): Likewise.
34231         (hypot_test): Likewise.
34232         (ilogb_test): Likewise.
34233         (isfinite_test): Likewise.
34234         (isgreater_test): Likewise.
34235         (isgreaterequal_test): Likewise.
34236         (isinf_test): Likewise.
34237         (isless_test): Likewise.
34238         (islessequal_test): Likewise.
34239         (islessgreater_test): Likewise.
34240         (isnan_test): Likewise.
34241         (isnormal_test): Likewise.
34242         (issignaling_test): Likewise.
34243         (isunordered_test): Likewise.
34244         (j0_test): Likewise.
34245         (j1_test): Likewise.
34246         (jn_test): Likewise.
34247         (ldexp_test): Likewise.
34248         (lgamma_test): Likewise.
34249         (lrint_test): Likewise.
34250         (lrint_test_tonearest): Likewise.
34251         (lrint_test_towardzero): Likewise.
34252         (lrint_test_downward): Likewise.
34253         (lrint_test_upward): Likewise.
34254         (llrint_test): Likewise.
34255         (llrint_test_tonearest): Likewise.
34256         (llrint_test_towardzero): Likewise.
34257         (llrint_test_downward): Likewise.
34258         (llrint_test_upward): Likewise.
34259         (log_test): Likewise.
34260         (log10_test): Likewise.
34261         (log1p_test): Likewise.
34262         (log2_test): Likewise.
34263         (logb_test): Likewise.
34264         (logb_test_downward): Likewise.
34265         (lround_test): Likewise.
34266         (llround_test): Likewise.
34267         (modf_test): Likewise.
34268         (nearbyint_test): Likewise.
34269         (nextafter_test): Likewise.
34270         (nexttoward_test): Likewise.
34271         (pow_test): Likewise.
34272         (pow_test_tonearest): Likewise.
34273         (pow_test_towardzero): Likewise.
34274         (pow_test_downward): Likewise.
34275         (pow_test_upward): Likewise.
34276         (remainder_test): Likewise.
34277         (remainder_test_tonearest): Likewise.
34278         (remainder_test_towardzero): Likewise.
34279         (remainder_test_downward): Likewise.
34280         (remainder_test_upward): Likewise.
34281         (remquo_test): Likewise.
34282         (rint_test): Likewise.
34283         (rint_test_tonearest): Likewise.
34284         (rint_test_towardzero): Likewise.
34285         (rint_test_downward): Likewise.
34286         (rint_test_upward): Likewise.
34287         (round_test): Likewise.
34288         (scalb_test): Likewise.
34289         (scalbn_test): Likewise.
34290         (scalbln_test): Likewise.
34291         (signbit_test): Likewise.
34292         (sin_test): Likewise.
34293         (sin_test_tonearest): Likewise.
34294         (sin_test_towardzero): Likewise.
34295         (sin_test_downward): Likewise.
34296         (sin_test_upward): Likewise.
34297         (sincos_test): Likewise.
34298         (sinh_test): Likewise.
34299         (sinh_test_tonearest): Likewise.
34300         (sinh_test_towardzero): Likewise.
34301         (sinh_test_downward): Likewise.
34302         (sinh_test_upward): Likewise.
34303         (sqrt_test): Likewise.
34304         (tan_test): Likewise.
34305         (tan_test_tonearest): Likewise.
34306         (tan_test_towardzero): Likewise.
34307         (tan_test_downward): Likewise.
34308         (tan_test_upward): Likewise.
34309         (tanh_test): Likewise.
34310         (tgamma_test): Likewise.
34311         (trunc_test): Likewise.
34312         (y0_test): Likewise.
34313         (y1_test): Likewise.
34314         (yn_test): Likewise.
34315         (significand_test): Likewise.
34317 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
34319         [BZ #15381]
34320         * libio/genops.c (_IO_no_init): Initialize wide struct info.
34322 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
34324         [BZ #14894]
34325         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
34326         __ppc_mdoio and __ppc_mdoom.
34327         * manual/platform.texi: Document new functions __ppc_yield,
34328         __ppc_mdoio and __ppc_mdoom.
34330 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
34332         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
34333         (main): Mention "tls" pseudo-hwcap is legacy.
34334         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
34336 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
34338         * math/gen-libm-test.pl (parse_args): Output only string of
34339         arguments as text for test name, not full call or descriptions of
34340         tests for extra outputs.
34341         (generate_testfile): Do not pass function name to parse_args.
34342         Generate this_func variable from START.
34343         * math/libm-test.inc (struct test_f_f_data): Rename test_name
34344         field to arg_str.
34345         (struct test_ff_f_data): Likewise.
34346         (test_ff_f_data_nexttoward): Likewise.
34347         (struct test_fi_f_data): Likewise.
34348         (struct test_fl_f_data): Likewise.
34349         (struct test_if_f_data): Likewise.
34350         (struct test_fff_f_data): Likewise.
34351         (struct test_c_f_data): Likewise.
34352         (struct test_f_f1_data): Likewise.  Remove field extra_name.
34353         (struct test_fF_f1_data): Likewise.
34354         (struct test_ffI_f1_data): Likewise.
34355         (struct test_c_c_data): Rename test_name field to arg_str.
34356         (struct test_cc_c_data): Likewise.
34357         (struct test_f_i_data): Likewise.
34358         (struct test_ff_i_data): Likewise.
34359         (struct test_f_l_data): Likewise.
34360         (struct test_f_L_data): Likewise.
34361         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
34362         and extra2_name.
34363         (COMMON_TEST_SETUP): New macro.
34364         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
34365         (COMMON_TEST_CLEANUP): Likewise.
34366         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
34367         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
34368         macros.
34369         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
34370         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
34371         macros.
34372         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
34373         (RUN_TEST_fff_f): Take argument string.  Call new setup and
34374         cleanup macros.
34375         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
34376         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
34377         macros.
34378         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
34379         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
34380         macros.
34381         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
34382         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
34383         cleanup macros.
34384         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
34385         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
34386         cleanup macros.
34387         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
34388         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
34389         cleanup macros.
34390         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
34391         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
34392         macros.
34393         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
34394         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
34395         macros.
34396         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
34397         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
34398         macros.
34399         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
34400         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
34401         cleanup macros.
34402         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
34403         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
34404         cleanup macros.
34405         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
34406         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
34407         macros.
34408         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
34409         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
34410         cleanup macros.
34411         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
34412         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
34413         macros.
34414         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
34415         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
34416         macros.
34417         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
34418         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
34419         cleanup macros.
34420         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
34422 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
34424         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
34425         to _sifields.sigfault.
34426         (si_addr_lsb): Define new macro.
34427         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
34428         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34429         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
34431 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
34433         [BZ #15441]
34434         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
34435         returns -1.
34436         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
34437         null return -1.
34438         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
34439         loading the domain.
34441 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
34443         * math/gen-libm-test.pl (parse_args): Do not include expected
34444         result in test name.
34445         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
34446         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34447         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34448         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34449         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34452 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34454         * benchtests/Makefile: Sort function entries.
34456         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
34457         tanh, asinh, acosh, atanh.
34458         * benchtests/acos-inputs: New file.
34459         * benchtests/acosh-inputs: New file.
34460         * benchtests/asin-inputs: New file.
34461         * benchtests/asinh-inputs: New file.
34462         * benchtests/atanh-inputs: New file.
34463         * benchtests/cosh-inputs: New file.
34464         * benchtests/log-inputs: New file.
34465         * benchtests/sinh-inputs: New file.
34466         * benchtests/tanh-inputs: New file.
34468 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
34470         [BZ #15339]
34471         * posix/tst-getaddrinfo4.c: New test.
34472         * posix/Makefile (tests): Add it.
34474 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34476         [BZ #15339]
34477         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
34478         when no services were used.
34479         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
34480         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
34482 2013-05-21  Andreas Schwab  <schwab@suse.de>
34484         [BZ #15014]
34485         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
34486         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
34487         successful.
34488         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
34489         redundant variable declarations and reallocation of buffer when
34490         parsing as IPv6 address.  Always set NSS status when called from
34491         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
34492         buffer too small.  Correct computation of needed size.
34493         * nss/Makefile (tests): Add test-digits-dots.
34494         * nss/test-digits-dots.c: New test.
34496 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34498         * benchtests/Makefile: Remove instructions for adding
34499         benchmark tests.
34500         * benchtests/README: New file to explain how to execute and
34501         enhance the benchmark tests.
34503 2013-05-21  Andreas Schwab  <schwab@suse.de>
34505         [BZ #15493]
34506         * setjmp/Makefile (tests): Add tst-sigsetjmp.
34507         * setjmp/tst-sigsetjmp.c: New test.
34509 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
34511         * sysdeps/x86_64/memset.S (memset): New implementation.
34512         (__bzero): Likewise.
34513         (__memset_tail): New function.
34515 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
34517         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
34518         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
34519         __memcpy_sse2_unaligned ifunc selection.
34520         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
34521         Add memcpy-sse2-unaligned.S.
34522         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34523         Add: __memcpy_sse2_unaligned.
34525 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
34527         [BZ #15490]
34528         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
34529         math_force_eval before restoring floating-point envrionment.
34530         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
34531         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
34532         Likewise.
34533         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
34534         <math_private.h>.
34535         (__nearbyintl): Use math_force_eval before restoring
34536         floating-point environment.
34537         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
34539         * math/gen-libm-test.pl (special_functions): Remove.
34540         (parse_args): Don't handle TEST_extra.  Handle functions with no
34541         return value.
34542         * math/libm-test.inc (struct test_sincos_data): Replace with
34543         struct test_fFF_11_data.
34544         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
34545         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
34546         (sincos_test_data): Change element type to struct
34547         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
34548         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
34549         RUN_TEST_LOOP_sincos.
34550         * math/README.libm-test: Don't mention special handling of
34551         individual functions.
34552         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
34553         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34554         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34555         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34556         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34559         * math/gen-libm-test.pl (get_variable): Remove function.
34560         (parse_args): Don't show pointer parameters to call in test
34561         names.  Use "extra output N" in test names for extra outputs
34562         rather than naming variables.
34564 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
34566         [BZ #15488]
34567         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
34568         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
34569         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
34570         double tests.
34571         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
34572         disable.
34573         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
34574         check_long_double.
34576         * math/gen-libm-test.pl (@tests): Remove variable.
34577         ($count): Likewise.
34578         (new_test): Remove function.
34579         (show_exceptions): New function.
34580         (special_functions): Use show_exceptions instead of new_test.
34581         (parse_args): Likewise.
34582         (generate_testfile): Pass only function name in generated call to
34583         print_max_error or print_complex_max_error.
34584         (get_ulps): Do not handle complex tests specially.
34585         (output_test): Rename to ...
34586         (get_all_ulps_for_test): ... this.  Return a string rather than
34587         printing to a file.  Require ulps to be present.
34588         (output_ulps): Generate arrays rather than #defines.
34589         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
34590         (struct ulp_data): New type.
34591         (BUILD_COMPLEX_ULP): Remove macro.
34592         (compare_ulp_data): New function.
34593         (find_ulps): Likewise.
34594         (find_test_ulps): Likewise.
34595         (find_function_ulps): Likewise.
34596         (find_complex_function_ulps): Likewise.
34597         (print_max_error): Determine allowed ulps using
34598         find_function_ulps.
34599         (print_complex_max_error): Determine allowed ulps using
34600         find_complex_function_ulps.
34601         (check_float_internal): Determine max ulps using find_test_ulps.
34602         (check_float): Do not take max_ulp parameter.  Update call to
34603         check_float_internal.
34604         (check_complex): Likewise.
34605         (check_int): Do not take max_ulp parameter.
34606         (check_long): Likewise.
34607         (check_bool): Likewise.
34608         (check_longlong): Likewise.
34609         (struct test_f_f_data): Remove max_ulp field.
34610         (struct test_ff_f_data): Likewise.
34611         (struct test_ff_f_data_nexttoward): Likewise.
34612         (struct test_fi_f_data): Likewise.
34613         (struct test_fl_f_data): Likewise.
34614         (struct test_if_f_data): Likewise.
34615         (struct test_fff_f_data): Likewise.
34616         (struct test_c_f_data): Likewise.
34617         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
34618         (struct test_fF_f1_data): Likewise.
34619         (struct test_ffI_f1_data): Likewise.
34620         (struct test_c_c_data): Remove max_ulp field.
34621         (struct test_cc_c_data): Likewise.
34622         (struct test_f_i_data): Likewise.
34623         (struct test_ff_i_data): Likewise.
34624         (struct test_f_l_data): Likewise.
34625         (struct test_f_L_data): Likewise.
34626         (struct test_sincos_data): Likewise.
34627         (RUN_TEST_f_f): Do not handle ulps.
34628         (RUN_TEST_LOOP_f_f): Likewise.
34629         (RUN_TEST_2_f): Likewise.
34630         (RUN_TEST_LOOP_2_f): Likewise.
34631         (RUN_TEST_fff_f): Likewise.
34632         (RUN_TEST_LOOP_fff_f): Likewise.
34633         (RUN_TEST_c_f): Likewise.
34634         (RUN_TEST_LOOP_c_f): Likewise.
34635         (RUN_TEST_f_f1): Likewise.
34636         (RUN_TEST_LOOP_f_f1): Likewise.
34637         (RUN_TEST_fF_f1): Likewise.
34638         (RUN_TEST_LOOP_fF_f1): Likewise.
34639         (RUN_TEST_fI_f1): Likewise.
34640         (RUN_TEST_LOOP_fI_f1): Likewise.
34641         (RUN_TEST_ffI_f1): Likewise.
34642         (RUN_TEST_LOOP_ffI_f1): Likewise.
34643         (RUN_TEST_c_c): Likewise.
34644         (RUN_TEST_LOOP_c_c): Likewise.
34645         (RUN_TEST_cc_c): Likewise.
34646         (RUN_TEST_LOOP_cc_c): Likewise.
34647         (RUN_TEST_f_i): Likewise.
34648         (RUN_TEST_LOOP_f_i): Likewise.
34649         (RUN_TEST_f_i_tg): Likewise.
34650         (RUN_TEST_LOOP_f_i_tg): Likewise.
34651         (RUN_TEST_ff_i_tg): Likewise.
34652         (RUN_TEST_LOOP_ff_i_tg): Likewise.
34653         (RUN_TEST_f_b): Likewise.
34654         (RUN_TEST_LOOP_f_b): Likewise.
34655         (RUN_TEST_f_b_tg): Likewise.
34656         (RUN_TEST_LOOP_f_b_tg): Likewise.
34657         (RUN_TEST_f_l): Likewise.
34658         (RUN_TEST_LOOP_f_l): Likewise.
34659         (RUN_TEST_f_L): Likewise.
34660         (RUN_TEST_LOOP_f_L): Likewise.
34661         (RUN_TEST_sincos): Likewise.
34662         (RUN_TEST_LOOP_sincos): Likewise.
34664 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
34666         [BZ #15480]
34667         [BZ #15485]
34668         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
34669         main case of finite arguments, set rounding mode to FE_TONEAREST
34670         and discard exceptions.
34671         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
34672         exceptions.
34673         (remainder_tonearest_test_data): New variable.
34674         (remainder_test_tonearest): New function.
34675         (remainder_towardzero_test_data): New variable.
34676         (remainder_test_towardzero): New function.
34677         (remainder_downward_test_data): New variable.
34678         (remainder_test_downward): New function.
34679         (remainder_upward_test_data): New variable.
34680         (remainder_test_upward): New function.
34681         (main): Call the new test functions.
34683         * math/libm-test.inc (struct test_f_f1_data): Remove field
34684         extra_init.
34685         (struct test_fF_f1_data): Likewise.
34686         (struct test_ffI_f1_data): Likewise.
34687         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
34688         based on value of EXTRA_EXPECTED.
34689         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
34690         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
34691         EXTRA_VAR based on value of EXTRA_EXPECTED.
34692         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
34693         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
34694         EXTRA_VAR based on value of EXTRA_EXPECTED.
34695         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
34696         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
34697         EXTRA_VAR based on value of EXTRA_EXPECTED.
34698         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
34699         * math/gen-libm-test.pl (parse_args): Don't output initializers
34700         for extra output values.
34702         * math/libm-test.inc (check_int): Expect result to be exactly
34703         equal to expected value and do not handle ulps.
34704         (check_long): Likewise.
34705         (check_longlong): Likewise.
34707         * math/libm-test.inc (ceil_test_data): Test for "inexact"
34708         exceptions.
34709         (cimag_test_data): Likewise.
34710         (conj_test_data): Likewise.
34711         (copysign_test_data): Likewise.
34712         (cproj_test_data): Likewise.
34713         (creal_test_data): Likewise.
34714         (fabs_test_data): Likewise.
34715         (fdim_test_data): Likewise.
34716         (finite_test_data): Likewise.
34717         (floor_test_data): Likewise.
34718         (fmax_test_data): Likewise.
34719         (fmin_test_data): Likewise.
34720         (fmod_test_data): Likewise.
34721         (fpclassify_test_data): Likewise.
34722         (frexp_test_data): Likewise.
34723         (ilogb_test_data): Likewise.
34724         (isfinite_test_data): Likewise.
34725         (isgreater_test_data): Likewise.
34726         (isgreaterequal_test_data): Likewise.
34727         (isinf_test_data): Likewise.
34728         (isless_test_data): Likewise.
34729         (islessequal_test_data): Likewise.
34730         (islessgreater_test_data): Likewise.
34731         (isnan_test_data): Likewise.
34732         (isnormal_test_data): Likewise.
34733         (issignaling_test_data): Likewise.
34734         (isunordered_test_data): Likewise.
34735         (ldexp_test_data): Likewise.
34736         (lrint_test_data): Likewise.
34737         (lrint_test_data) [TEST_FLOAT]: Disable one test.
34738         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
34739         (lrint_tonearest_test_data): Test for "inexact" exceptions.
34740         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
34741         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
34742         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
34743         test input.
34744         (lrint_towardzero_test_data): Test for "inexact" exceptions.
34745         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
34746         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
34747         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
34748         that test input.
34749         (lrint_downward_test_data): Test for "inexact" exceptions.
34750         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
34751         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
34752         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
34753         test input.
34754         (lrint_upward_test_data): Test for "inexact" exceptions.
34755         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
34756         test input.
34757         (llrint_test_data): Test for "inexact" exceptions.
34758         (llrint_test_data) [TEST_FLOAT]: Disable one test.
34759         (llrint_tonearest_test_data): Test for "inexact" exceptions.
34760         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
34761         (llrint_towardzero_test_data): Test for "inexact" exceptions.
34762         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
34763         (llrint_downward_test_data): Test for "inexact" exceptions.
34764         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
34765         (llrint_upward_test_data): Test for "inexact" exceptions.
34766         (logb_test_data): Likewise.
34767         (logb_downward_test_data): Likewise.
34768         (nextafter_test_data): Likewise.
34769         (nexttoward_test_data): Likewise.
34770         (remainder_test_data): Likewise.
34771         (remquo_test_data): Likewise.
34772         (scalbn_test_data): Likewise.
34773         (scalbln_test_data): Likewise.
34774         (signbit_test_data): Likewise.
34775         (sqrt_test_data): Likewise.
34776         (significand_test_data): Likewise.
34778 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34780         [BZ #15424]
34781         * benchtests/bench-modf.c (struct args): Mark arg0 as
34782         volatile.
34783         * scripts/bench.pl: Mark members of struct args as volatile.
34785 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34787         [BZ # 15497]
34788         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
34789         negative infinity on POWER6 or lower.
34790         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
34792 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
34794         [BZ #15442]
34795         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
34796         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
34797         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
34798         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
34799         (_FP_SETQNAN): New macro.
34800         (_FP_SETQNAN_SEMIRAW): Likewise.
34801         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
34802         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
34803         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
34804         (FP_EXTEND): Use _FP_FRAC_SNANP.
34805         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
34806         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
34807         into account.
34808         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
34809         New macro.
34810         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
34811         Likewise.
34813 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34815         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
34816         with DIVIDE_BY_ZERO_EXCEPTION.
34817         (gamma_test_data): Likewise.
34818         (lgamma_test_data): Likewise.
34819         (log_test_data): Likewise.
34820         (log10_test_data): Likewise.
34821         (log2_test_data): Likewise.
34822         (tgamma_test_data): Likewise.
34824         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
34825         (acos_test_tonearest): Likewise.
34826         (acos_test_towardzero): Likewise.
34827         (acos_test_downward): Likewise.
34828         (acos_test_upward): Likewise.
34829         (acosh_test): Likewise.
34830         (asin_test): Likewise.
34831         (asin_test_tonearest): Likewise.
34832         (asin_test_towardzero): Likewise.
34833         (asin_test_downward): Likewise.
34834         (asin_test_upward): Likewise.
34835         (asinh_test): Likewise.
34836         (atan_test): Likewise.
34837         (atanh_test): Likewise.
34838         (atan2_test): Likewise.
34839         (cabs_test): Likewise.
34840         (cacos_test): Likewise.
34841         (cacosh_test): Likewise.
34842         (casin_test): Likewise.
34843         (casinh_test): Likewise.
34844         (catan_test): Likewise.
34845         (catanh_test): Likewise.
34846         (cbrt_test): Likewise.
34847         (ccos_test): Likewise.
34848         (ccosh_test): Likewise.
34849         (cexp_test): Likewise.
34850         (clog_test): Likewise.
34851         (clog10_test): Likewise.
34852         (cos_test): Likewise.
34853         (cos_test_tonearest): Likewise.
34854         (cos_test_towardzero): Likewise.
34855         (cos_test_downward): Likewise.
34856         (cos_test_upward): Likewise.
34857         (cosh_test): Likewise.
34858         (cosh_test_tonearest): Likewise.
34859         (cosh_test_towardzero): Likewise.
34860         (cosh_test_downward): Likewise.
34861         (cosh_test_upward): Likewise.
34862         (cpow_test): Likewise.
34863         (csin_test): Likewise.
34864         (csinh_test): Likewise.
34865         (csqrt_test): Likewise.
34866         (ctan_test): Likewise.
34867         (ctan_test_tonearest): Likewise.
34868         (ctan_test_towardzero): Likewise.
34869         (ctan_test_downward): Likewise.
34870         (ctan_test_upward): Likewise.
34871         (ctanh_test): Likewise.
34872         (ctanh_test_tonearest): Likewise.
34873         (ctanh_test_towardzero): Likewise.
34874         (ctanh_test_downward): Likewise.
34875         (ctanh_test_upward): Likewise.
34876         (erf_test): Likewise.
34877         (erfc_test): Likewise.
34878         (exp_test): Likewise.
34879         (exp_test_tonearest): Likewise.
34880         (exp_test_towardzero): Likewise.
34881         (exp_test_downward): Likewise.
34882         (exp_test_upward): Likewise.
34883         (exp10_test): Likewise.
34884         (exp2_test): Likewise.
34885         (expm1_test): Likewise.
34886         (fmod_test): Likewise.
34887         (gamma_test): Likewise.
34888         (hypot_test): Likewise.
34889         (j0_test): Likewise.
34890         (j1_test): Likewise.
34891         (jn_test): Likewise.
34892         (lgamma_test): Likewise.
34893         (log_test): Likewise.
34894         (log10_test): Likewise.
34895         (log1p_test): Likewise.
34896         (log2_test): Likewise.
34897         (logb_test_downward): Likewise.
34898         (pow_test): Likewise.
34899         (pow_test_tonearest): Likewise.
34900         (pow_test_towardzero): Likewise.
34901         (pow_test_downward): Likewise.
34902         (pow_test_upward): Likewise.
34903         (remainder_test): Likewise.
34904         (remquo_test): Likewise.
34905         (sin_test): Likewise.
34906         (sin_test_tonearest): Likewise.
34907         (sin_test_towardzero): Likewise.
34908         (sin_test_downward): Likewise.
34909         (sin_test_upward): Likewise.
34910         (sincos_test): Likewise.
34911         (sinh_test): Likewise.
34912         (sinh_test_tonearest): Likewise.
34913         (sinh_test_towardzero): Likewise.
34914         (sinh_test_downward): Likewise.
34915         (sinh_test_upward): Likewise.
34916         (sqrt_test): Likewise.
34917         (tan_test): Likewise.
34918         (tan_test_tonearest): Likewise.
34919         (tan_test_towardzero): Likewise.
34920         (tan_test_downward): Likewise.
34921         (tan_test_upward): Likewise.
34922         (tanh_test): Likewise.
34923         (tgamma_test): Likewise.
34924         (y0_test): Likewise.
34925         (y1_test): Likewise.
34926         (yn_test): Likewise.
34928         * math/gen-libm-test.pl (adjust_arg): Remove function.
34929         (special_function): Remove argument $in_func.  Only handle
34930         generating output for tables of tests, not inside functions.
34931         (parse_args): Likewise.
34932         (generate_testfile): Remove variable $in_func.  Update call to
34933         parse_args.
34934         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
34935         (MINUS_ZERO_INIT): Rename macro to minus_zero.
34936         (PLUS_INFTY_INIT): Rename macro to plus_infty.
34937         (MINUS_INFTY_INIT): Rename macro to minus_infty.
34938         (QNAN_VALUE_INIT): Rename macro to qnan_value.
34939         (MAX_VALUE_INIT): Rename macro to max_value.
34940         (MIN_VALUE_INIT): Rename macro to min_value.
34941         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
34942         (plus_zero): Remove variable.
34943         (minus_zero): Likewise.
34944         (plus_infty): Likewise.
34945         (minus_infty): Likewise.
34946         (qnan_value): Likewise.
34947         (max_value): Likewise.
34948         (min_value): Likewise.
34949         (min_subnorm_value): Likewise.
34951 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34953         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
34954         uint64_t or uint32_t usage.
34955         * crypt/sha256-block.c: Likewise.
34956         * crypt/sha256-crypt.c: Likewise.
34957         * crypt/sha256.c: Likewise.
34958         * crypt/sha512-block.c: Likewise.
34959         * crypt/sha512-crypt.c: Likewise.
34960         * crypt/sha512.c: Likewise.
34961         * debug/backtrace-tst.c: Likewise.
34962         * debug/pcprofiledump.c: Likewise.
34963         * elf/cache.c: Likewise.
34964         * elf/dl-cache.c: Likewise.
34965         * elf/dl-misc.c: Likewise.
34966         * elf/dl-profile.c: Likewise.
34967         * elf/dl-support.c: Likewise.
34968         * elf/ldconfig.c: Likewise.
34969         * elf/sprof.c: Likewise.
34970         * iconv/dummy-repertoire.c: Likewise.
34971         * iconv/iconv_charmap.c: Likewise.
34972         * iconv/skeleton.c: Likewise.
34973         * iconvdata/8bit-generic.c: Likewise.
34974         * iconvdata/cp737.h: Likewise.
34975         * iconvdata/cp775.h: Likewise.
34976         * iconvdata/ibm1008.h: Likewise.
34977         * iconvdata/ibm1025.h: Likewise.
34978         * iconvdata/ibm1046.h: Likewise.
34979         * iconvdata/ibm1097.h: Likewise.
34980         * iconvdata/ibm1112.h: Likewise.
34981         * iconvdata/ibm1122.h: Likewise.
34982         * iconvdata/ibm1123.h: Likewise.
34983         * iconvdata/ibm1124.h: Likewise.
34984         * iconvdata/ibm1129.h: Likewise.
34985         * iconvdata/ibm1130.h: Likewise.
34986         * iconvdata/ibm1132.h: Likewise.
34987         * iconvdata/ibm1133.h: Likewise.
34988         * iconvdata/ibm1137.h: Likewise.
34989         * iconvdata/ibm1140.h: Likewise.
34990         * iconvdata/ibm1141.h: Likewise.
34991         * iconvdata/ibm1142.h: Likewise.
34992         * iconvdata/ibm1143.h: Likewise.
34993         * iconvdata/ibm1144.h: Likewise.
34994         * iconvdata/ibm1145.h: Likewise.
34995         * iconvdata/ibm1146.h: Likewise.
34996         * iconvdata/ibm1147.h: Likewise.
34997         * iconvdata/ibm1148.h: Likewise.
34998         * iconvdata/ibm1149.h: Likewise.
34999         * iconvdata/ibm1153.h: Likewise.
35000         * iconvdata/ibm1154.h: Likewise.
35001         * iconvdata/ibm1155.h: Likewise.
35002         * iconvdata/ibm1156.h: Likewise.
35003         * iconvdata/ibm1157.h: Likewise.
35004         * iconvdata/ibm1158.h: Likewise.
35005         * iconvdata/ibm1160.h: Likewise.
35006         * iconvdata/ibm1161.h: Likewise.
35007         * iconvdata/ibm1162.h: Likewise.
35008         * iconvdata/ibm1163.h: Likewise.
35009         * iconvdata/ibm1164.h: Likewise.
35010         * iconvdata/ibm1166.h: Likewise.
35011         * iconvdata/ibm1167.h: Likewise.
35012         * iconvdata/ibm12712.h: Likewise.
35013         * iconvdata/ibm1390.h: Likewise.
35014         * iconvdata/ibm1399.h: Likewise.
35015         * iconvdata/ibm16804.h: Likewise.
35016         * iconvdata/ibm4517.h: Likewise.
35017         * iconvdata/ibm4899.h: Likewise.
35018         * iconvdata/ibm4909.h: Likewise.
35019         * iconvdata/ibm4971.h: Likewise.
35020         * iconvdata/ibm5347.h: Likewise.
35021         * iconvdata/ibm803.h: Likewise.
35022         * iconvdata/ibm856.h: Likewise.
35023         * iconvdata/ibm901.h: Likewise.
35024         * iconvdata/ibm902.h: Likewise.
35025         * iconvdata/ibm9030.h: Likewise.
35026         * iconvdata/ibm9066.h: Likewise.
35027         * iconvdata/ibm921.h: Likewise.
35028         * iconvdata/ibm922.h: Likewise.
35029         * iconvdata/ibm9448.h: Likewise.
35030         * iconvdata/isiri-3342.h: Likewise.
35031         * iconvdata/jis0201.h: Likewise.
35032         * include/link.h: Likewise.
35033         * include/netdb.h: Likewise.
35034         * inet/check_native.c: Likewise.
35035         * inet/check_pf.c: Likewise.
35036         * inet/getipv4sourcefilter.c: Likewise.
35037         * inet/getnameinfo.c: Likewise.
35038         * inet/getsourcefilter.c: Likewise.
35039         * inet/htonl.c: Likewise.
35040         * inet/setipv4sourcefilter.c: Likewise.
35041         * inet/setsourcefilter.c: Likewise.
35042         * inet/test-inet6_opt.c: Likewise.
35043         * inet/tst-network.c: Likewise.
35044         * locale/C-collate.c: Likewise.
35045         * locale/C-ctype.c: Likewise.
35046         * locale/C-time.c: Likewise.
35047         * locale/C-translit.h: Likewise.
35048         * locale/loadarchive.c: Likewise.
35049         * locale/programs/3level.h: Likewise.
35050         * locale/programs/charmap.c: Likewise.
35051         * locale/programs/charmap.h: Likewise.
35052         * locale/programs/ld-address.c: Likewise.
35053         * locale/programs/ld-collate.c: Likewise.
35054         * locale/programs/ld-ctype.c: Likewise.
35055         * locale/programs/ld-identification.c: Likewise.
35056         * locale/programs/ld-measurement.c: Likewise.
35057         * locale/programs/ld-messages.c: Likewise.
35058         * locale/programs/ld-monetary.c: Likewise.
35059         * locale/programs/ld-name.c: Likewise.
35060         * locale/programs/ld-numeric.c: Likewise.
35061         * locale/programs/ld-paper.c: Likewise.
35062         * locale/programs/ld-telephone.c: Likewise.
35063         * locale/programs/ld-time.c: Likewise.
35064         * locale/programs/linereader.c: Likewise.
35065         * locale/programs/locale.c: Likewise.
35066         * locale/programs/locarchive.c: Likewise.
35067         * locale/programs/locfile.h: Likewise.
35068         * locale/programs/repertoire.c: Likewise.
35069         * locale/programs/simple-hash.c: Likewise.
35070         * locale/programs/simple-hash.h: Likewise.
35071         * malloc/memusage.c: Likewise.
35072         * malloc/memusagestat.c: Likewise.
35073         * nis/nis_defaults.c: Likewise.
35074         * nis/nis_hash.c: Likewise.
35075         * nis/nis_print.c: Likewise.
35076         * nis/nis_xdr.c: Likewise.
35077         * nscd/connections.c: Likewise.
35078         * nscd/hstcache.c: Likewise.
35079         * nscd/nscd_gethst_r.c: Likewise.
35080         * nscd/nscd_getserv_r.c: Likewise.
35081         * nscd/nscd_helper.c: Likewise.
35082         * nscd/servicescache.c: Likewise.
35083         * nss/makedb.c: Likewise.
35084         * nss/nss_db/db-XXX.c: Likewise.
35085         * nss/nss_db/db-initgroups.c: Likewise.
35086         * nss/nss_db/db-netgrp.c: Likewise.
35087         * nss/nss_files/files-network.c: Likewise.
35088         * nss/nss_files/files-parse.c: Likewise.
35089         * posix/bug-regex5.c: Likewise.
35090         * posix/fnmatch_loop.c: Likewise.
35091         * posix/regcomp.c: Likewise.
35092         * posix/regexec.c: Likewise.
35093         * posix/tst-rfc3484-2.c: Likewise.
35094         * posix/tst-rfc3484-3.c: Likewise.
35095         * posix/tst-rfc3484.c: Likewise.
35096         * resolv/nss_dns/dns-canon.c: Likewise.
35097         * resolv/nss_dns/dns-network.c: Likewise.
35098         * resolv/res_init.c: Likewise.
35099         * resolv/res_mkquery.c: Likewise.
35100         * resolv/tst-aton.c: Likewise.
35101         * stdlib/cxa_atexit.c: Likewise.
35102         * stdlib/cxa_finalize.c: Likewise.
35103         * stdlib/gen-fpioconst.c: Likewise.
35104         * stdlib/strtol_l.c: Likewise.
35105         * string/tst-endian.c: Likewise.
35106         * sunrpc/auth_des.c: Likewise.
35107         * sunrpc/clnt_udp.c: Likewise.
35108         * sunrpc/rtime.c: Likewise.
35109         * sunrpc/svcauth_des.c: Likewise.
35110         * sunrpc/xdr.c: Likewise.
35111         * sunrpc/xdr_intXX_t.c: Likewise.
35112         * sunrpc/xdr_rec.c: Likewise.
35113         * sysdeps/generic/ldconfig.h: Likewise.
35114         * sysdeps/generic/ldsodefs.h: Likewise.
35115         * sysdeps/generic/memusage.h: Likewise.
35116         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35117         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
35118         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
35119         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35120         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35121         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35122         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35123         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35124         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35125         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
35126         * sysdeps/posix/getaddrinfo.c: Likewise.
35127         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35128         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35129         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
35130         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
35131         * sysdeps/powerpc/test-gettimebase.c: Likewise.
35132         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
35133         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
35134         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
35135         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
35136         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
35137         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
35138         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
35139         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
35140         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
35141         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
35142         * sysdeps/x86_64/dl-tls.h: Likewise.
35143         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
35144         * time/alt_digit.c: Likewise.
35145         * time/era.c: Likewise.
35146         * wcsmbs/tst-c16c32-1.c: Likewise.
35148 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
35150         * math/libm-test.inc (struct test_sincos_data): New type.
35151         (RUN_TEST_LOOP_sincos): New macro.
35152         (sincos_test_data): New variable.
35153         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
35155 2013-05-16  Richard Henderson  <rth@redhat.com>
35157         * math/atest-exp2.c (LIMB64): New macro.
35158         (CONSTSZ): New macro.
35159         (mp_exp1, mp_exp_m1, mp_log2): New variables.
35160         (hexdig): Move ...
35161         (print_mpn_fp): ... to function scope.
35162         (read_mpn_hex): Remove.
35163         (get_log2): Remove.
35164         (exp2_mpn): Use mp_log2.
35165         (main): Use mp_exp1.
35167 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
35169         * math/libm-test.inc: Remove comment about not testing "inexact"
35170         exceptions.
35171         (INEXACT_EXCEPTION): New macro.
35172         (NO_INEXACT_EXCEPTION): Likewise.
35173         (INVALID_EXCEPTION_OK): Update value.
35174         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35175         (OVERFLOW_EXCEPTION_OK): Likewise.
35176         (UNDERFLOW_EXCEPTION_OK): Likewise.
35177         (IGNORE_ZERO_INF_SIGN): Likewise.
35178         (ERRNO_UNCHANGED): Likewise.
35179         (ERRNO_EDOM): Likewise.
35180         (ERRNO_ERANGE): Likewise.
35181         (test_exceptions): Handle testing "inexact" exceptions.
35182         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
35183         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
35184         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
35185         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
35186         INEXACT_EXCEPTION.
35187         (rint_towardzero_test_data): Likewise.
35188         (rint_downward_test_data): Likewise.
35189         (rint_upward_test_data): Likewise.
35191         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
35192         with OVERFLOW_EXCEPTION.
35193         (exp10_test_data): Likewise.
35194         (exp2_test_data): Likewise.
35195         (expm1_test_data): Likewise.
35196         (lgamma_test_data): Likewise.
35197         (pow_test_data): Likewise.
35198         (tgamma_test_data): Likewise.
35199         (yn_test_data): Remove duplicate test of overflow.
35201         * math/libm-test.inc (struct test_cc_c_data): New type.
35202         (RUN_TEST_LOOP_cc_c): New macro.
35203         (cpow_test_data): New variable.
35204         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
35206         * math/libm-test.inc (struct test_f_L_data): New type.
35207         (RUN_TEST_LOOP_f_L): New macro.
35208         (llrint_test_data): New variable.
35209         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
35210         (llrint_tonearest_test_data): New variable.
35211         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
35212         (llrint_towardzero_test_data): New variable.
35213         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
35214         (llrint_downward_test_data): New variable.
35215         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
35216         (llrint_upward_test_data): New variable.
35217         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
35218         (llround_test_data): New variable.
35219         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
35221 2013-05-13  Peter Collingbourne  <pcc@google.com>
35223         * math/atest-exp2.c (get_log2): Remove const attribute.
35225 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
35227         * math/libm-test.inc (struct test_f_l_data): New type.
35228         (RUN_TEST_LOOP_f_l): New macro.
35229         (lrint_test_data): New variable.
35230         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
35231         (lrint_tonearest_test_data): New variable.
35232         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
35233         (lrint_towardzero_test_data): New variable.
35234         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
35235         (lrint_downward_test_data): New variable.
35236         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
35237         (lrint_upward_test_data): New variable.
35238         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
35239         (lround_test_data): New variable.
35240         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
35242 2013-05-15  Peter Collingbourne  <pcc@google.com>
35244         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
35245         (EXTRACT_WORDS64) Use where appropriate.
35246         (INSERT_WORDS64) Likewise.
35248         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
35249         constraints with x constraints.
35250         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
35252         * malloc/obstack.c (_obstack_compat): Add initializer.
35254 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
35256         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
35257         si_trapno and add si_addr_lsb to _sifields.sigfault.
35258         (si_trapno): Remove macro.
35259         (si_addr_lsb): Define new macro.
35260         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
35262 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
35264         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
35265         instead of TEST_f_l.
35266         (llrint_test_tonearest): Likewise.
35267         (llrint_test_towardzero): Likewise.
35268         (llrint_test_downward): Likewise.
35269         (llrint_test_upward): Likewise.
35270         (llround_test): Likewise.
35272         * math/libm-test.inc (struct test_f_i_data): Add comment.
35273         (RUN_TEST_LOOP_f_b): New macro.
35274         (RUN_TEST_LOOP_f_b_tg): Likewise.
35275         (finite_test_data): New variable.
35276         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
35277         (isfinite_test_data): New variable.
35278         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35279         (isinf_test_data): New variable.
35280         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35281         (isnan_test_data): New variable.
35282         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35283         (isnormal_test_data): New variable.
35284         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35285         (issignaling_test_data): New variable.
35286         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35287         (signbit_test_data): New variable.
35288         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35290         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
35291         with INVALID_EXCEPTION.
35292         (acosh_test_data): Likewise.
35293         (asin_test_data): Likewise.
35294         (atanh_test_data): Likewise.
35295         (fmod_test_data): Likewise.
35296         (log_test_data): Likewise.
35297         (log10_test_data): Likewise.
35298         (log2_test_data): Likewise.
35299         (pow_test_data): Likewise.
35300         (sqrt_test_data): Likewise.
35301         (y0_test_data): Likewise.
35302         (y1_test_data): Likewise.
35303         (yn_test_data): Likewise.
35305         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
35306         function contents.
35308         * math/libm-test.inc (struct test_ff_i_data): New type.
35309         (RUN_TEST_LOOP_ff_i_tg): New macro.
35310         (isgreater_test_data): New variable.
35311         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35312         (isgreaterequal_test_data): New variable.
35313         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35314         (isless_test_data): New variable.
35315         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35316         (islessequal_test_data): New variable.
35317         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35318         (islessgreater_test_data): New variable.
35319         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35320         (isunordered_test_data): New variable.
35321         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35323 2013-05-14  David S. Miller  <davem@davemloft.net>
35325         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35327 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
35329         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
35331         * math/libm-test.inc (struct test_fF_f1_data): Change type of
35332         extra_test to int.
35333         (struct test_f_i_data): Change type of max_ulp to int.
35335         * math/libm-test.inc (test_ffI_f1_data): New type.
35336         (RUN_TEST_LOOP_ffI_f1): New macro.
35337         (remquo_test_data): New variable.
35338         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
35340         * setjmp/tst-setjmp-fp.c: New file.
35341         * setjmp/Makefile (tests): Add tst-setjmp-fp.
35342         (link-libm): New variable.
35343         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
35345         * math/libm-test.inc (struct test_f_i_data): New type.
35346         (RUN_TEST_LOOP_f_i): New macro.
35347         (RUN_TEST_LOOP_f_i_tg): Likewise.
35348         (fpclassify_test_data): New variable.
35349         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
35350         (ilogb_test_data): New variable.
35351         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
35353         * math/libm-test.inc (scalbln_test): Correct function name in END
35354         call.
35356         * math/libm-test.inc (struct test_f_f1_data): Add comment.
35357         (RUN_TEST_LOOP_fI_f1): New macro.
35358         (frexp_test_data): New variable.
35359         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
35361         * math/libm-test.inc (struct test_fF_f1_data): New type.
35362         (RUN_TEST_LOOP_fF_f1): New macro.
35363         (modf_test_data): New variable.
35364         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
35366         * math/libm-test.inc (struct test_f_f1_data): New type.
35367         (RUN_TEST_LOOP_f_f1): New macro.
35368         (gamma_test_data): New variable.
35369         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
35370         (lgamma_test_data): New variable.
35371         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
35373 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
35375         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
35376         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
35377         (main): Comment "tls" pseudo-hwcap.
35379 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
35381         * math/libm-test.inc (struct test_fl_f_data): New type.
35382         (RUN_TEST_LOOP_fl_f): New variable.
35383         (scalbln_test_data): New variable.
35384         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
35386         * math/libm-test.inc (struct test_fi_f_data): New type.
35387         (RUN_TEST_LOOP_fi_f): New macro.
35388         (ldexp_test_data): New variable.
35389         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
35390         (scalbn_test_data): New variable.
35391         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
35393         * math/libm-test.inc (struct test_c_f_data): New type.
35394         (RUN_TEST_LOOP_c_f): New macro.
35395         (cabs_test_data): New variable.
35396         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
35397         (carg_test_data): New variable.
35398         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
35399         (cimag_test_data): New variable.
35400         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
35401         (creal_test_data): New variable.
35402         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
35404         * math/libm-test.inc (struct test_if_f_data): New type.
35405         (RUN_TEST_LOOP_if_f): New macro.
35406         (jn_test_data): New variable.
35407         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
35408         (yn_test_data): New variable.
35409         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
35411         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
35413 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35415         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
35416         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
35418 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
35420         * benchtests/Makefile (CPPFLAGS-nonlib): Add
35421         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
35422         (bench-deps): Add bench-timing.h.
35423         * benchtests-bench-skeleton.c: Include bench-timing.h.
35424         (main): Use TIMING_* macros instead of clock_gettime.
35425         * benchtests/bench-timing.h: New file.
35427         [BZ #14582]
35428         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
35429         Renamed from _LIB_VERSION.
35430         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
35432 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
35434         * math/libm-test.inc (struct test_fff_f_data): New type.
35435         (RUN_TEST_LOOP_fff_f): New macro.
35436         (fma_test_data): New variable.
35437         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
35438         (fma_towardzero_test_data): New variable.
35439         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
35440         (fma_downward_test_data): New variable.
35441         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
35442         (fma_upward_test_data): New variable.
35443         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
35445         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
35446         (struct test_c_c_data): New type.
35447         (RUN_TEST_LOOP_c_c): New macro.
35448         (cacos_test_data): New variable.
35449         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
35450         (cacosh_test_data): New variable.
35451         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
35452         (casin_test_data): New variable.
35453         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
35454         (casinh_test_data): New variable.
35455         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
35456         (catan_test_data): New variable.
35457         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
35458         (catanh_test_data): New variable.
35459         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
35460         (ccos_test_data): New variable.
35461         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
35462         (ccosh_test_data): New variable.
35463         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
35464         (cexp_test_data): New variable.
35465         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
35466         (clog_test_data): New variable.
35467         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
35468         (clog10_test_data): New variable.
35469         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
35470         (conj_test_data): New variable.
35471         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
35472         (cproj_test_data): New variable.
35473         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
35474         (csin_test_data): New variable.
35475         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
35476         (csinh_test_data): New variable.
35477         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
35478         (csqrt_test_data): New variable.
35479         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
35480         (ctan_test_data): New variable.
35481         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
35482         (ctan_tonearest_test_data): New variable.
35483         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
35484         (ctan_towardzero_test_data): New variable.
35485         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
35486         (ctan_downward_test_data): New variable.
35487         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
35488         (ctan_upward_test_data): New variable.
35489         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
35490         (ctanh_test_data): New variable.
35491         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
35492         (ctanh_tonearest_test_data): New variable.
35493         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
35494         (ctanh_towardzero_test_data): New variable.
35495         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
35496         (ctanh_downward_test_data): New variable.
35497         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
35498         (ctanh_upward_test_data): New variable.
35499         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
35500         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
35501         of BUILD_COMPLEX.
35503         * math/libm-test.inc (struct test_ff_f_data): New type.
35504         (struct test_ff_f_data_nexttoward): Likewise.
35505         (RUN_TEST_LOOP_2_f): New macro.
35506         (RUN_TEST_LOOP_ff_f): Likewise.
35507         (atan2_test_data): New variable.
35508         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
35509         (copysign_test_data): New variable.
35510         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
35511         (fdim_test_data): New variable.
35512         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
35513         (fmax_test_data): New variable.
35514         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
35515         (fmin_test_data): New variable.
35516         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
35517         (fmod_test_data): New variable.
35518         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
35519         (hypot_test_data): New variable.
35520         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
35521         (nextafter_test_data): New variable.
35522         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
35523         (nexttoward_test_data): New variable.
35524         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
35525         (pow_test_data): New variable.
35526         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
35527         (pow_tonearest_test_data): New variable.
35528         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
35529         (pow_towardzero_test_data): New variable.
35530         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
35531         (pow_downward_test_data): New variable.
35532         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
35533         (pow_upward_test_data): New variable.
35534         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
35535         (remainder_test_data): New variable.
35536         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
35537         (scalb_test_data): New variable.
35538         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
35539         * sysdeps/i386/fpu/libm-test-ulps: Update.
35541 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
35543         * math/libm-test.inc (fma_test): Use max_value instead of local
35544         variable fltmax.
35545         (nextafter_test): Likewise.
35547         * math/libm-test.inc (acos_towardzero_test_data): New variable.
35548         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35549         (acos_downward_test_data): New variable.
35550         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35551         (acos_upward_test_data): New variable.
35552         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35553         (acosh_test_data): New variable.
35554         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
35555         (asin_test_data): New variable.
35556         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
35557         (asin_tonearest_test_data): New variable.
35558         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35559         (asin_towardzero_test_data): New variable.
35560         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35561         (asin_downward_test_data): New variable.
35562         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35563         (asin_upward_test_data): New variable.
35564         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35565         (asinh_test_data): New variable.
35566         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
35567         (atan_test_data): New variable.
35568         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
35569         (atanh_test_data): New variable.
35570         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
35571         (cbrt_test_data): New variable.
35572         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
35573         (ceil_test_data): New variable.
35574         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
35575         (cos_test_data): New variable.
35576         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
35577         (cos_tonearest_test_data): New variable.
35578         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35579         (cos_towardzero_test_data): New variable.
35580         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35581         (cos_downward_test_data): New variable.
35582         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35583         (cos_upward_test_data): New variable.
35584         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35585         (cosh_test_data): New variable.
35586         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
35587         (cosh_tonearest_test_data): New variable.
35588         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35589         (cosh_towardzero_test_data): New variable.
35590         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35591         (cosh_downward_test_data): New variable.
35592         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35593         (cosh_upward_test_data): New variable.
35594         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35595         (erf_test_data): New variable.
35596         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
35597         (erfc_test_data): New variable.
35598         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
35599         (exp_test_data): New variable.
35600         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
35601         (exp_tonearest_test_data): New variable.
35602         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35603         (exp_towardzero_test_data): New variable.
35604         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35605         (exp_downward_test_data): New variable.
35606         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35607         (exp_upward_test_data): New variable.
35608         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35609         (exp10_test_data): New variable.
35610         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
35611         (exp2_test_data): New variable.
35612         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
35613         (expm1_test_data): New variable.
35614         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
35615         (fabs_test_data): New variable.
35616         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
35617         (floor_test_data): New variable.
35618         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
35619         (j0_test_data): New variable.
35620         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
35621         (j1_test_data): New variable.
35622         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
35623         (log_test_data): New variable.
35624         (log_test): Run tests with RUN_TEST_LOOP_f_f.
35625         (log10_test_data): New variable.
35626         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
35627         (log1p_test_data): New variable.
35628         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
35629         (log2_test_data): New variable.
35630         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
35631         (logb_test_data): New variable.
35632         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
35633         (logb_downward_test_data): New variable.
35634         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35635         (nearbyint_test_data): New variable.
35636         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
35637         (rint_test_data): New variable.
35638         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
35639         (rint_tonearest_test_data): New variable.
35640         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35641         (rint_towardzero_test_data): New variable.
35642         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35643         (rint_downward_test_data): New variable.
35644         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35645         (rint_upward_test_data): New variable.
35646         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35647         (round_test_data): New variable.
35648         (round_test): Run tests with RUN_TEST_LOOP_f_f.
35649         (sin_test_data): New variable.
35650         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
35651         (sin_tonearest_test_data): New variable.
35652         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35653         (sin_towardzero_test_data): New variable.
35654         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35655         (sin_downward_test_data): New variable.
35656         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35657         (sin_upward_test_data): New variable.
35658         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35659         (sinh_test_data): New variable.
35660         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
35661         (sinh_tonearest_test_data): New variable.
35662         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35663         (sinh_towardzero_test_data): New variable.
35664         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35665         (sinh_downward_test_data): New variable.
35666         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35667         (sinh_upward_test_data): New variable.
35668         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35669         (sqrt_test_data): New variable.
35670         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
35671         (tan_test_data): New variable.
35672         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
35673         (tan_tonearest_test_data): New variable.
35674         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35675         (tan_towardzero_test_data): New variable.
35676         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35677         (tan_downward_test_data): New variable.
35678         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35679         (tan_upward_test_data): New variable.
35680         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35681         (tanh_test_data): New variable.
35682         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
35683         (tgamma_test_data): New variable.
35684         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
35685         (trunc_test_data): New variable.
35686         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
35687         (y0_test_data): New variable.
35688         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
35689         (y1_test_data): New variable.
35690         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
35691         (significand_test_data): New variable.
35692         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
35694 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
35696         [BZ #12387]
35697         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
35699 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35701         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
35703 2013-05-10  Andreas Jaeger  <aj@suse.de>
35705         [BZ #15448]
35706         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
35707         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
35709 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
35711         * math/gen-libm-test.pl (adjust_arg): New function.
35712         (special_functions): Handle generating output in both functions
35713         and arrays.
35714         (parse_args): Likewise.
35715         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
35716         $in_func argument to parse_args.
35717         * math/libm-test.inc (struct test_f_f_data): New type.
35718         (IF_ROUND_INIT_): New macro.
35719         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
35720         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
35721         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
35722         (IF_ROUND_INIT_FE_UPWARD): Likewise.
35723         (ROUND_RESTORE_): Likewise.
35724         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
35725         (ROUND_RESTORE_FE_TONEAREST): Likewise.
35726         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
35727         (ROUND_RESTORE_FE_UPWARD): Likewise.
35728         (RUN_TEST_LOOP_f_f): New macro.
35729         (acos_test_data): New variable.
35730         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
35731         (acos_tonearest_test_data): New variable.
35732         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35734 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35736         * benchtests/bench-skeleton.c (startup): Fix coding style.
35738 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
35740         [BZ #6809]
35741         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
35742         negative infinity argument.
35743         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
35744         negative infinity argument.
35745         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
35746         negative infinity argument.
35747         * math/libm-test.inc (tgamma_test): Expect errno to be set for
35748         domain errors.
35750 2013-05-10  Florian Weimer  <fweimer@redhat.com>
35752         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
35753         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
35754         * iconv/iconv_prog.c (main): Likewise.
35755         * locale/programs/charmap-dir.c (charmap_readdir)
35756         (fopen_uncompressed): Likewise.
35757         * locale/programs/locfile.c (siblings_uncached)
35758         (write_locale_data): Use lstat64 instead of lstat.
35759         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
35760         stat.
35762 2013-05-10  Andreas Jaeger  <aj@suse.de>
35764         [BZ #15395]
35765         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
35766         localization.
35767         Include <locale.h>.
35769 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
35771         * elf/dl-close.c (_dl_close_worker): Add comments.
35773 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
35775         [BZ #15359]
35776         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
35777         high part of pi/2.
35778         (__ieee754_rem_pio2l): Update comments.
35780         [BZ #15429]
35781         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
35782         high part of pi/2.
35783         (__ieee754_rem_pio2l): Update comments.
35785         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
35786         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
35788         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
35789         M_PI_4l.
35791         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
35792         (M_PI_34_LOG10El): Likewise.
35793         (M_PI2_LOG10El): Likewise.
35794         (M_PI4_LOG10El): Likewise.
35795         (M_PI_LOG10El): Likewise.
35797 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35799         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35801 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
35803         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
35804         (MINUS_ZERO_INIT): Likewise.
35805         (PLUS_INFTY_INIT): Likewise.
35806         (MINUS_INFTY_INIT): Likewise.
35807         (QNAN_VALUE_INIT): Likewise.
35808         (MAX_VALUE_INIT): Likewise.
35809         (MIN_VALUE_INIT): Likewise.
35810         (MIN_SUBNORM_VALUE_INIT): Likewise.
35811         (plus_zero): Initialize with PLUS_ZERO_INIT.
35812         (minus_zero): Initialize with MINUS_ZERO_INIT.
35813         (plus_infty): Initialize with PLUS_INFTY_INIT.
35814         (minus_infty): Initialize with MINUS_INFTY_INIT.
35815         (qnan_value): Initialize with QNAN_VALUE_INIT.
35816         (max_value): Initialize with MAX_VALUE_INIT.
35817         (min_value): Initialize with MIN_VALUE_INIT.
35818         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
35820         * math/libm-test.inc (RUN_TEST_if_f): New macro.
35821         (jn_test): Use TEST_if_f instead of TEST_ff_f.
35822         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
35823         (yn_test): Use TEST_if_f instead of TEST_ff_f.
35825         * math/libm-test.inc (RUN_TEST_f_f): New macro.
35826         (RUN_TEST_2_f): Likewise.
35827         (RUN_TEST_ff_f): Likewise.
35828         (RUN_TEST_fi_f): Likewise.
35829         (RUN_TEST_fl_f): Likewise.
35830         (RUN_TEST_fff_f): Likewise.
35831         (RUN_TEST_c_f): Likewise.
35832         (RUN_TEST_f_f1): Likewise.
35833         (RUN_TEST_fF_f1): Likewise.
35834         (RUN_TEST_fI_f1): Likewise.
35835         (RUN_TEST_ffI_f1): Likewise.
35836         (RUN_TEST_c_c): Likewise.
35837         (RUN_TEST_cc_c): Likewise.
35838         (RUN_TEST_f_i): Likewise.
35839         (RUN_TEST_f_i_tg): Likewise.
35840         (RUN_TEST_ff_i_tg): Likewise.
35841         (RUN_TEST_f_b): Likewise.
35842         (RUN_TEST_f_b_tg): Likewise.
35843         (RUN_TEST_f_l): Likewise.
35844         (RUN_TEST_f_L): Likewise.
35845         (RUN_TEST_sincos): Likewise.
35846         * math/gen-libm-test.pl (new_test): Take new argument to indicate
35847         whether to show exceptions.  Do not include ");\n" in return
35848         value.
35849         (special_functions): Output call to RUN_TEST_sincos instead of
35850         check_float calls.  Update calls to new_test.
35851         (parse_args): Output call to single RUN_TEST_* macro instead of
35852         check_* calls and other assignments.  Update calls to new_test.
35854         [BZ #2546]
35855         [BZ #2560]
35856         [BZ #5159]
35857         [BZ #15426]
35858         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
35859         input to result for tgamma overflow.
35860         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
35861         (gamma_coeff): New variable.
35862         (NCOEFF): New macro.
35863         (gamma_positive): New function.
35864         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
35865         underflow here.  Use gamma_positive instead of exp (lgamma) for
35866         other arguments.
35867         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
35868         (gamma_coeff): New variable.
35869         (NCOEFF): New macro.
35870         (gammaf_positive): New function.
35871         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
35872         underflow here.  Use gamma_positive instead of exp (lgamma) for
35873         other arguments.
35874         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
35875         (gamma_coeff): New variable.
35876         (NCOEFF): New macro.
35877         (gammal_positive): New function.
35878         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
35879         underflow here.  Use gamma_positive instead of exp (lgamma) for
35880         other arguments.
35881         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
35882         (gamma_coeff): New variable.
35883         (NCOEFF): New macro.
35884         (gammal_positive): New function.
35885         (__ieee754_gammal_r): Handle positive infinity, overflow and
35886         underflow here.  Handle NaN the same as positive infinity.  Remove
35887         check x < 0xffffffff for negative integers.  Use gamma_positive
35888         instead of exp (lgamma) for other arguments.
35889         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
35890         (gamma_coeff): New variable.
35891         (NCOEFF): New macro.
35892         (gammal_positive): New function.
35893         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
35894         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
35895         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
35896         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
35897         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
35898         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
35899         * sysdeps/generic/math_private.h (__gamma_productf): New
35900         prototype.
35901         (__gamma_product): Likewise.
35902         (__gamma_productl): Likewise.
35903         * math/Makefile (libm-calls): Add gamma_product.
35904         * math/libm-test.inc (tgamma_test): Add more tests.
35905         * sysdeps/i386/fpu/libm-test-ulps: Update.
35906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35908 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
35910         * benchtests/bench-skeleton.c (main): Preheat CPU.
35912 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
35914         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
35916 2013-05-07  Roland McGrath  <roland@hack.frob.com>
35918         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
35919         and _dl_skip_args_internal.
35921 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
35923         * manual/message.texi (Message Translation): Talk about users.
35924         Message to key mapping impacts design.
35926 2013-05-06  Roland McGrath  <roland@hack.frob.com>
35928         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
35930         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
35932         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
35933         * sysdeps/wordsize-64/glob64.c: ... here.
35935         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
35936         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
35937         New macros.
35939         * debug/getlogin_r_chk.c: Moved to ...
35940         * login/getlogin_r_chk.c: ... here.
35941         * debug/Makefile (routines): Move getlogin_r_chk to ...
35942         * login/Makefile (routines): ... here.
35943         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
35944         * login/Versions (libc: GLIBC_2.4): ... here.
35946         * io/poll.c (__poll): Renamed from poll.
35947         Add libc_hidden_def.
35948         (poll): Define as weak alias.
35950         * debug/ptsname_r_chk.c: Moved to ...
35951         * login/ptsname_r_chk.c: ... here.
35952         * debug/Makefile (routines): Move ptsname_r_chk to ...
35953         * login/Makefile (routines): ... here.
35954         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
35955         * login/Versions (libc: GLIBC_2.4): ... here.
35957         * posix/getlogin.c: Moved to ...
35958         * login/getlogin.c: ... here.
35959         * posix/getlogin_r.c: Moved to ...
35960         * login/getlogin_r.c: ... here.
35961         * posix/getlogin_r.c: Moved to ...
35962         * login/getlogin_r.c: ... here.
35963         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
35964         * login/Makefile (routines): ... here.
35965         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
35966         * login/Versions (libc: GLIBC_2.0): ... here.
35968         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
35969         (setrlimit): Define as weak alias.
35971         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
35972         Call __ names for open, ftruncate, and close.
35973         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
35974         (truncate): Define as weak alias.
35976 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
35978         * math/gen-libm-test.pl (parse_args): Initialize x before each
35979         test of frexp, modf and remquo.
35981         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
35982         test signgam value.
35984 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35986         [BZ #15418]
35987         [BZ #15419]
35988         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
35989         internal tests.
35990         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35992 2013-05-06  Roland McGrath  <roland@hack.frob.com>
35994         * elf/dl-writev.h: New file.
35995         * elf/dl-misc.c: Include it.
35996         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
35997         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
35999 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
36001         * math/libm-test.inc (noXFails): Remove variable.
36002         (noXPasses): Likewise.
36003         (BUILD_COMPLEX_INT): Remove macro.
36004         (print_screen): Remove xfail argument.
36005         (print_screen_max_error): Likewise.
36006         (update_stats): Likewise.
36007         (print_max_error): Likewise.  Update calls to other affected
36008         functions.
36009         (print_complex_max_error): Likewise.
36010         (test_single_exception): Update calls to print_screen.
36011         (test_single_errno): Likewise.
36012         (check_float_internal): Remove xfail argument.  Update calls to
36013         other affected functions.
36014         (check_float): Likewise.
36015         (check_complex): Likewise.
36016         (check_int): Likewise.
36017         (check_long): Likewise.
36018         (check_bool): Likewise.
36019         (check_longlong): Likewise.
36020         (main): Don't print noXFails and noXPasses.
36021         * math/gen-libm-test.pl (top level): Don't mention expected
36022         failure handling in comment.
36023         (new_test): Don't handle expected failures.
36024         (parse_args): Don't mention expected failure handling in comment.
36025         (generate_testfile): Don't handle expected failures.
36026         (parse_ulps): Likewise.
36027         (print_ulps_file): Likewise.
36028         (get_failure): Remove function.
36029         (output_test): Don't handle expected failures.
36030         * make/README.libm-test: Don't mention expected failure handling.
36032         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
36033         (minus_zero): Likewise.
36034         (plus_infty): Likewise.
36035         (minus_infty): Likewise.
36036         (qnan_value): Likewise.
36037         (max_value): Likewise.
36038         (min_value): Likewise.
36039         (min_subnorm_value): Likewise.
36040         (initialize): Do not initialize those variables dynamically.
36042 2013-05-03  Roland McGrath  <roland@hack.frob.com>
36044         * io/open.c (__open_2): Moved to ...
36045         * io/open_2.c: ... this new file.
36046         * io/open64.c (__open64_2): Moved to ...
36047         * io/open64_2.c: ... this new file.
36048         * io/openat.c (__openat_2): Moved to ...
36049         * io/openat_2.c: ... this new file.
36050         * io/openat64.c (__openat64_2): Moved to ...
36051         * io/openat64_2.c: ... this new file.
36052         * io/Makefile (routines): Add them.
36053         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
36054         * sysdeps/unix/sysv/linux/open_2.c: File removed.
36055         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
36056         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
36057         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
36058         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
36059         (__openat64): Add hidden_ver.
36060         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
36061         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
36063         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
36064         Separately conditionalize setting of GLRO(dl_sysinfo) so
36065         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
36066         as well, but the actual setting is only under [NEED_DL_SYSINFO].
36068 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36070         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
36071         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
36072         definition.
36073         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
36074         * sysdeps/unix/sysv/linux/powerpc/init-first.c
36075         (_libc_vdso_platform_setup): Add __vdso_time initialization.
36076         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
36077         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
36079 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
36081         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
36082         test signgam value.
36084         * math/libm-test.inc (hypot_test): Do not use
36085         IGNORE_ZERO_INF_SIGN.
36087 2013-05-03  Andreas Jaeger  <aj@suse.de>
36089         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
36090         Linux 3.9.
36091         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
36092         (PF_MAX): Adjust for VSOCK change.
36094 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36096         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36098 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
36100         [BZ #15264]
36101         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
36102         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
36103         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
36105 2013-05-02  David S. Miller  <davem@davemloft.net>
36107         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36109 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
36111         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
36113 2013-05-01  Roland McGrath  <roland@hack.frob.com>
36115         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
36117 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
36119         [BZ #14952]
36120         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
36121         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
36122         Use __attribute__ ((__gnu_inline__)).
36123         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
36124         Don't use __attribute__ ((__gnu_inline__)).
36126 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
36128         [BZ #15423]
36129         * math/s_catan.c (__catan): Handle small real or imaginary part of
36130         input specially to avoid spurious underflow.
36131         * math/s_catanf.c (__catanf): Likewise.
36132         * math/s_catanh.c (__catanh): Likewise.
36133         * math/s_catanhf.c (__catanhf): Likewise.
36134         * math/s_catanhl.c (__catanhl): Likewise.
36135         * math/s_catanl.c (__catanl): Likewise.
36136         * math/libm-test.inc (catan_test): Add more tests.
36137         (catanh_test): Likewise.
36138         * sysdeps/i386/fpu/libm-test-ulps: Update.
36139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36141 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36143         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36145 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
36147         [BZ #15416]
36148         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
36149         accurately for denominator in atan2.
36150         * math/s_catanf.c (__catanf): Likewise.
36151         * math/s_catanh.c (__catanh): Likewise.
36152         * math/s_catanhf.c (__catanhf): Likewise.
36153         * math/s_catanhl.c (__catanhl): Likewise.
36154         * math/s_catanl.c (__catanl): Likewise.
36155         * math/libm-test.inc (catan_test): Add more tests.
36156         (catanh_test): Likewise.
36157         * sysdeps/i386/fpu/libm-test-ulps: Update.
36158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36160 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36162         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
36164         * benchtests/Makefile (bench): Remove slow benchmarks.
36165         * benchtests/atan-inputs: Add slow benchmark inputs.
36166         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
36167         (BENCH_FUNC): Accept variant offset.
36168         (VARIANT): Define.
36169         * benchtests/bench-skeleton.c (main): Run benchmark for each
36170         variant.
36171         * benchtests/cos-inputs: Add slow benchmark inputs.
36172         * benchtests/exp-inputs: Likewise.
36173         * benchtests/pow-inputs: Likewise.
36174         * benchtests/sin-inputs: Likewise.
36175         * benchtests/slowatan-inputs: Remove.
36176         * benchtests/slowatan.c: Remove.
36177         * benchtests/slowcos-inputs: Remove.
36178         * benchtests/slowcos.c: Remove.
36179         * benchtests/slowexp-inputs: Remove.
36180         * benchtests/slowexp.c: Remove.
36181         * benchtests/slowpow-inputs: Remove.
36182         * benchtests/slowpow.c: Remove.
36183         * benchtests/slowsin-inputs: Remove.
36184         * benchtests/slowsin.c: Remove.
36185         * benchtests/slowtan-inputs: Remove.
36186         * benchtests/slowtan.c: Remove.
36187         * benchtests/tan-inputs: Add slow benchmark inputs.
36188         * scripts/bench.pl: Parse comments and directives.
36190         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
36191         in CPPFLAGS.
36192         ($(objpfx)bench-%.c): Remove *-ITER.
36193         * benchtests/bench-modf.c: Remove definition of ITER.
36194         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
36195         (main): Loop for DURATION seconds instead of fixed number of
36196         iterations.
36197         * scripts/bench.pl: Don't expect iterations in parameters.
36199 2013-04-29  Roland McGrath  <roland@hack.frob.com>
36201         * io/fchdir.c (__fchdir): Renamed from fchdir.
36202         (fchdir): Define as weak alias.
36204 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
36206         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
36207         (ERRNO_EDOM): Likewise.
36208         (ERRNO_ERANGE): Likewise.
36209         (noErrnoTests): New variable.
36210         (init_max_error): Set errno to 0.
36211         (test_single_errno): New function.
36212         (test_errno): Likewise.
36213         (check_float_internal): Call test_errno.  Set errno to 0.
36214         (check_complex): Refer to errno tests in comment.
36215         (check_int): Call test_errno.  Set errno to 0.
36216         (check_long): Likewise.
36217         (check_bool): Likewise.
36218         (check_longlong): Likewise.
36219         (cos_test): Use ERRNO_* flags for errno tests instead of
36220         check_int.
36221         (expm1_test): Likewise.
36222         (fmod_test): Likewise.
36223         (ilogb_test): Likewise.
36224         (lgamma_test): Likewise.
36225         (pow_test): Likewise.
36226         (remainder_test): Likewise.
36227         (sin_test): Likewise.
36228         (tan_test): Likewise.
36229         (yn_test): Likewise.
36230         (initialize): Set errno to 0.
36231         (main): Print number of errno tests.
36232         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
36234 2013-04-29  Andreas Jaeger  <aj@suse.de>
36236         [BZ #15084]
36237         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
36238         and RES_USEVC.
36240         [BZ #15085]
36241         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
36242         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
36243         unimplemented.
36245         [BZ #15380]
36246         * stdlib/random.c (__initstate): Return NULL if
36247         __initstate fails.
36249         [BZ #15086]
36250         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
36251         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
36252         RES_SNGLKUPREOP.
36254 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36256         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36258 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
36260         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
36261         of individual tests.
36262         (casin_test): Likewise.
36263         (casinh_test): Likewise.
36265 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
36267         [BZ #15409]
36268         * math/s_catan.c (__catan): Handle arguments with large real or
36269         imaginary part separately without squaring.
36270         * math/s_catanf.c (__catanf): Likewise.
36271         * math/s_catanh.c (__catanh): Likewise.
36272         * math/s_catanhf.c (__catanhf): Likewise.
36273         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
36274         and redefine.
36275         (__catanhl): Handle arguments with large real or imaginary part
36276         separately without squaring.
36277         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
36278         and redefine.
36279         (__catanl): Handle arguments with large real or imaginary part
36280         separately without squaring.
36281         * math/libm-test.inc (catan_test): Add more tests.
36282         (catanh_test): Likewise.
36283         * sysdeps/i386/fpu/libm-test-ulps: Update.
36284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36286 2013-04-27  Andreas Jaeger  <aj@suse.de>
36288         [BZ #15007]
36289         * stdlib/stdlib.h: Update guards for qecvt.
36290         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
36291         <stdlib.h>.
36293 2013-04-27  Allan McRae  <allan@archlinux.org>
36295         * sysdeps/i386/fpu/libm-test-ulps: Update.
36297 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
36299         [BZ #15406]
36300         * math/s_catan.c: Include <float.h>.
36301         (__catan): Ensure underflow exception occurs for underflowed
36302         result.
36303         * math/s_catanf.c: Include <float.h>.
36304         (__catanf): Ensure underflow exception occurs for underflowed
36305         result.
36306         * math/s_catanh.c: Include <float.h>.
36307         (__catanh): Ensure underflow exception occurs for underflowed
36308         result.
36309         * math/s_catanhf.c: Include <float.h>.
36310         (__catanhf): Ensure underflow exception occurs for underflowed
36311         result.
36312         * math/s_catanhl.c: Include <float.h>.
36313         (__catanhl): Ensure underflow exception occurs for underflowed
36314         result.
36315         * math/s_catanl.c: Include <float.h>.
36316         (__catanl): Ensure underflow exception occurs for underflowed
36317         result.
36318         * math/libm-test.inc (catan_test): Add more tests.
36319         (catanh_test): Likewise.
36321         [BZ #15405]
36322         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
36323         underflowed result.
36324         * math/s_ccoshf.c (__ccoshf): Likewise.
36325         * math/s_ccoshl.c (__ccoshl): Likewise.
36326         * math/s_csin.c (__csin): Likewise.
36327         * math/s_csinf.c (__csinf): Likewise.
36328         * math/s_csinh.c (__csinh): Likewise.
36329         * math/s_csinhf.c (__csinhf): Likewise.
36330         * math/s_csinhl.c (__csinhl): Likewise.
36331         * math/s_csinl.c (__csinl): Likewise.
36332         * math/libm-test.inc (ccos_test): Add more tests.
36333         (ccosh_test): Likewise.
36334         (csin_test): Likewise.
36335         (csinh_test): Likewise.
36337 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36339         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
36340         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
36341         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
36342         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
36343         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
36344         powerpc/power5+/fpu folders.
36345         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
36348 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
36350         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36352 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
36354         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
36355         additions to variable.
36356         [$(config-machine) = x86_64] (modules-names): Likewise.
36357         ($(objpfx)tst-audit3): Remove dependency.
36358         ($(objpfx)tst-audit3.out): Likewise.
36359         ($(objpfx)tst-audit4): Likewise.
36360         ($(objpfx)tst-audit4.out): Likewise.
36361         ($(objpfx)tst-audit5): Likewise.
36362         ($(objpfx)tst-audit5.out): Likewise.
36363         ($(objpfx)tst-audit6): Likewise.
36364         ($(objpfx)tst-audit6.out): Likewise.
36365         ($(objpfx)tst-audit7): Likewise.
36366         ($(objpfx)tst-audit7.out): Likewise.
36367         (tst-audit3-ENV): Remove variable.
36368         (tst-audit4-ENV): Likewise.
36369         (tst-audit5-ENV): Likewise.
36370         (tst-audit6-ENV): Likewise.
36371         (tst-audit7-ENV): Likewise.
36372         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
36373         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
36374         addition to variable.
36375         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
36376         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
36377         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
36378         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
36379         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
36380         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
36381         tst-audit3, tst-audit4 and tst-audit5.
36382         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
36383         tst-audit6 and tst-audit7.
36384         [$(subdir) = elf] (modules-names): Add audit modules for those
36385         tests.
36386         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
36387         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
36388         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
36389         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
36390         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
36391         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
36392         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
36393         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
36394         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
36395         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
36396         [$(subdir) = elf] (tst-audit3-ENV): New variable.
36397         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
36398         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
36399         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
36400         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
36401         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
36402         Likewise.
36403         [$(subdir) = elf && $(config-cflags-avx) = yes]
36404         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
36405         [$(subdir) = elf && $(config-cflags-avx) = yes]
36406         (CFLAGS-tst-auditmod4a.c): Likewise.
36407         [$(subdir) = elf && $(config-cflags-avx) = yes]
36408         (CFLAGS-tst-auditmod4b.c): Likewise.
36409         [$(subdir) = elf && $(config-cflags-avx) = yes]
36410         (CFLAGS-tst-auditmod6b.c): Likewise.
36411         [$(subdir) = elf && $(config-cflags-avx) = yes]
36412         (CFLAGS-tst-auditmod6c.c): Likewise.
36413         [$(subdir) = elf && $(config-cflags-avx) = yes]
36414         (CFLAGS-tst-auditmod7b.c): Likewise.
36415         * elf/tst-audit3.c: Move to ...
36416         * sysdeps/x86_64/tst-audit3.c: ... here.
36417         * elf/tst-audit4.c: Move to ...
36418         * sysdeps/x86_64/tst-audit4.c: ... here.
36419         * elf/tst-audit5.c: Move to ...
36420         * sysdeps/x86_64/tst-audit5.c: ... here.
36421         * elf/tst-audit6.c: Move to ...
36422         * sysdeps/x86_64/tst-audit6.c: ... here.
36423         * elf/tst-audit7.c: Move to ...
36424         * sysdeps/x86_64/tst-audit7.c: ... here.
36425         * elf/tst-auditmod3a.c: Move to ...
36426         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
36427         * elf/tst-auditmod3b.c: Move to ...
36428         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
36429         * elf/tst-auditmod4a.c: Move to ...
36430         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
36431         * elf/tst-auditmod4b.c: Move to ...
36432         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
36433         * elf/tst-auditmod5a.c: Move to ...
36434         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
36435         * elf/tst-auditmod5b.c: Move to ...
36436         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
36437         * elf/tst-auditmod6a.c: Move to ...
36438         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
36439         * elf/tst-auditmod6b.c: Move to ...
36440         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
36441         * elf/tst-auditmod6c.c: Move to ...
36442         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
36443         * elf/tst-auditmod7a.c: Move to ...
36444         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
36445         * elf/tst-auditmod7b.c: Move to ...
36446         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
36448 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
36450         [BZ #15366]
36451         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
36452         define unconditionally.
36453         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
36454         define unconditionally.
36455         (INT8_C, INT16_C, etc.): Likewise.
36457 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
36459         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
36460         __ehdr_start with hidden visibility.
36462         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
36464 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
36466         * math/libm-test.inc (cos_test): Use accurate hex constants.
36467         (sincost_test): Likewise.
36469 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
36471         * math/libm-test.inc (catan_test): Add more tests.
36472         (catanh_test): Likewise.
36474         * math/s_catanf.c (__catanf): Use suffixed floating-point
36475         constants.
36476         * math/s_catanhf.c (__catanhf): Likewise.
36477         * math/s_catanhl.c (__catanhl): Likewise.
36478         * math/s_catanl.c (__catanl): Likewise.
36480         [BZ #15394]
36481         * math/s_catan.c (__catan): Calculate imaginary part of result
36482         with log1p not log unless computing log of number close to 0.
36483         * math/s_catanf.c (__catanf): Likewise.
36484         * math/s_catanl.c (__catanl): Likewise.
36485         * math/s_catanh.c (__catanh): Calculate real part of result with
36486         log1p not log unless computing log of number close to 0.
36487         * math/s_catanhf.c (__catanhf): Likewise.
36488         * math/s_catanhl.c (__catanhl): Likewise.
36489         * math/libm-test.inc (catan_test): Add more tests.
36490         (catanh_test): Likewise.
36491         * sysdeps/i386/fpu/libm-test-ulps: Update.
36492         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36494 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36496         * benchtests/Makefile: Mention files in which fast and slow
36497         paths of math functions are implemented.
36499 2013-04-23  Roland McGrath  <roland@hack.frob.com>
36501         * sysdeps/posix/timespec_get.c: New file.
36503 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36505         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
36506         POWER.
36507         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
36508         for POWER.
36509         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
36510         powerpc/power5/fpu folders.
36511         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
36512         * benchtests/Makefile: Add modf testcase.
36513         * benchtests/bench-modf.c: New file: Benchmark test for mo
36515 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
36517         [BZ #14888]
36518         * time/Makefile (tests): Add tst-strptime-whitespace.
36519         * time/strptime_l.c (get_number): Use ISSPACE.
36520         (__strptime_internal): Likewise.
36521         * time/tst-strptime-whitespace.c: New test case.
36523 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
36525         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
36526         member.
36527         (_nss_files_init): Set it here.
36529 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
36531         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
36532         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
36533         unsigned.
36535 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
36537         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
36539 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36541         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
36542         size just once.
36544 2013-04-21  David S. Miller  <davem@davemloft.net>
36546         * po/ru.po: Update Russion translation from translation project.
36548 2013-04-17  Adam Conrad  <adconrad@0c3.net>
36550         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
36551         and setfsgid.
36553 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
36555         * configure.in: Remove i386 configure warning. Remove i386 case.
36556         * configure: Regenerate.
36557         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
36558         Add example to error message.
36559         * sysdeps/i386/configure: Regenerate.
36561 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
36563         * benchtests/Makefile (bench): Add cos, tan, slowcos and
36564         slowtan.
36565         * benchtests/cos-inputs: New file.
36566         * benchtests/slowcos-inputs: New file.
36567         * benchtests/slowcos.c: New file.
36568         * benchtests/slowtan-inputs: New file.
36569         * benchtests/slowtan.c: New file.
36570         * benchtests/tan-inputs: New file.
36572 2013-04-16  Roland McGrath  <roland@hack.frob.com>
36574         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
36575         considered kosher.
36577 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36579         * benchtests/Makefile: Include cppflags-iterator.mk to add
36580         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
36582         * Makefile.in (bench-clean): New target.
36583         * benchtests/Makefile (bench-clean): Likewise.
36585 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
36587         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
36589 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
36591         * stdio-common/tstdiomisc.c: Fix coding-style violation.
36593 2013-04-15  Andreas Schwab  <schwab@suse.de>
36595         * nscd/grpcache.c (cache_addgr): Properly check for short write.
36596         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36597         * nscd/pwdcache.c (cache_addpw): Likewise.
36598         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
36599         more than recsize.
36601 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36603         * benchtests/Makefile (bench): Write all output to
36604         bench-out.tmp together.
36606 2013-04-15  Andreas Schwab  <schwab@suse.de>
36608         * nscd/nscd.c (main): Don't fork again after closing files.
36610 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36612         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
36614         * benchtests/Rules (bench-deps): Collect dependencies into a
36615         single variable.  Add Makefile to dependencies.
36616         ($(objpfx)bench-%.c): Depend on bench-deps.
36618 2013-04-12  Roland McGrath  <roland@hack.frob.com>
36619             Xavier Roche  <roche+kml2@exalead.com>
36621         [BZ #15361]
36622         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
36623         just that it's a file descriptor.
36624         * manual/llio.texi (Synchronizing AIO Operations): Update description
36625         for EBADF error from aio_fsync.
36627 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
36629         * Rules (bench): Move target definition...
36630         * benchtests/Makefile: ... here.
36632 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
36634         * math/libm-test.inc (cos_test): Fix PI/2 test.
36635         (sincos_test): Likewise.
36636         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
36637         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
36639 2013-04-11  Andreas Schwab  <schwab@suse.de>
36641         [BZ #13988]
36642         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
36643         accept exponent character only when digits were seen.
36644         * stdio-common/Makefile (tests): Add bug26.
36645         * stdio-common/bug26.c: New file.
36647         [BZ #14293]
36648         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
36649         non-freeable.
36651 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36653         * Makeconfig (rtld-prefix): Define built linker prefix.
36654         * Rules (run-bench): Use it.
36655         * math/Makefile (run-regen-ulps): Likewise.
36657         * Rules (bench): Remove eval.
36659 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36660             Roland McGrath  <roland@hack.frob.com>
36661             Ondrej Bilka  <neleai@seznam.cz>
36663         [BZ #15346]
36664         * time/getdate.c: Include ctype.h and alloca.h.
36665         (__getdate_r): Trim leading and trailing spaces of input.
36666         * time/tst-getdate.c (tests): Add tests with leading and
36667         trailing spaces.
36669 2013-04-08  Roland McGrath  <roland@hack.frob.com>
36671         [BZ #14280]
36672         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
36673         when computing value.
36675 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36677         * math/README.libm-test (How can I generate "libm-test-ulps"?):
36678         Use testrun.sh to run libm tests.
36680         [BZ #15309]
36681         * elf/dl-open.c (dl_open_worker): memset all of seen array.
36683 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
36685         [BZ #15264]
36686         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
36688 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36690         * Makefile.in (regen-ulps): New target.
36691         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
36692         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
36693         [ifneq (no,$(PERL)] (regen-ulps): New target.
36694         [ifeq (no,$(PERL)] (regen-ulps): New target.
36695         * math/libm-test.inc (ulps_file_name): Define.
36696         (output_dir): New variable.
36697         (options): Add "output-dir" option.
36698         (parse_opt): Handle 'o' case.
36699         (main): If output_dir is non-NULL use it as a prefix
36700         otherwise use "".
36701         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
36703 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36705         [BZ #10060, #10062]
36706         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
36707         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
36708         fail configure if __sync_val_compare_and_swap is not inlined.
36709         * sysdeps/i386/configure: Regenerate.
36710         * configure.in: Build for i686 when configured for i386.
36711         * configure: Regenerate.
36712         * README: Remove i386 reference.
36714 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36716         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
36717         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36719 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
36721         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
36722         (lmsnanval): New variables.
36723         (F): Add conversion tests.
36724         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
36725         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
36727         * stdio-common/tstdiomisc.c (F): Properly collect individual
36728         tests' results.
36730         [BZ #14686, #15336]
36731         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
36732         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
36733         Instead, use input NaN values or generate a qNaN by arithmetic
36734         operation.  Also fix bugs to comply with the standard.
36735         * math/libm-test.inc (remainder_test): Add more tests.
36737         [BZ #15335, #15342]
36738         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
36739         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
36740         input NaN values or generate a qNaN by arithmetic operation.
36742         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
36743         unreachable code.
36745         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
36746         definitions.
36748 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
36750         [BZ #14478]
36751         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
36752         underflowed result.
36753         * math/s_cexpf.c (__cexpf): Likewise.
36754         * math/s_cexpl.c (__cexpl): Likewise.
36755         * math/libm-test.inc (cexp_test): Add more tests.
36757 2013-04-03  Andreas Schwab  <schwab@suse.de>
36759         [BZ #15330]
36760         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
36761         order arrays from heap if bigger than alloca cutoff.
36763 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
36765         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
36766         (SNAN_TESTS_double): Refer to GCC PR56831.
36767         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
36768         GCC PR56828.
36770 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
36772         * Rules (bench): Move bench.out after the run is complete.
36774         * Rules (bench): Echo currently running benchmark.
36776         * benchtests/Makefile (bench): Add atan and slowatan.
36777         * benchtests/atan-inputs: New file.
36778         * benchtests/slowatan-inputs: New file.
36779         * benchtests/slowatan.c: New file.
36781         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
36782         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
36783         its value.
36785         [BZ #15305]
36786         * sysdeps/unix/sysv/linux/kernel-features.h
36787         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
36788         __ASSUME_XFS_RESTRICTED_CHOWN.
36789         * sysdeps/unix/sysv/linux/pathconf.c
36790         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
36791         Save and restore errno.
36793 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
36795         [BZ #15327]
36796         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
36797         arguments using __kernel_casinh.
36798         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
36799         arguments using __kernel_casinhf.
36800         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
36801         arguments using __kernel_casinhl.
36802         * math/libm-test.inc (cacosh_test): Add more tests.
36803         * sysdeps/i386/fpu/libm-test-ulps: Update.
36804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36806 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36808         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
36809         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
36811         * bench/Makefile (bench): Add sin and slowsin.
36812         * benchtests/sin-inputs: New file.
36813         * benchtests/slowsin-inputs: New file.
36814         * benchtests/slowsin.c: New file.
36816         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
36817         (bench): Add slowexp and slowpow.
36818         (exp-ITER): Increase iterations.
36819         (pow-ITER): Likewise.
36820         * benchtests/exp-inputs: Change input.
36821         * benchtests/pow-inputs: Likewise.
36822         * benchtests/slowexp-inputs: New file.
36823         * benchtests/slowexp.c: New file.
36824         * benchtests/slowpow-inputs: New file.
36825         * benchtests/slowpow.c: New file.
36827 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36829         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
36830         instructions.
36831         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36832         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
36833         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
36834         * benchtests/Makefile: Add rint benchtest.
36835         * benchtests/rint-inputs: Input for rint benchtest.
36837 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
36839         * Versions.def (libm): Add GLIBC_2.18.
36840         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
36841         hidden libm prototypes.
36842         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
36843         * math/Makefile (libm-calls): Add s_issignaling.
36844         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
36845         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
36846         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
36847         declaration.
36848         * math/math.h [__USE_GNU] (issignaling): New macro.
36849         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
36850         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
36851         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
36852         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
36853         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
36854         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
36855         * manual/arith.texi (issignaling): New section.
36856         * manual/libm-err-tab.pl (@all_functions): Update comment.
36857         * math/gen-libm-test.pl (parse_args): Apply special handling for
36858         issignaling.
36859         * math/libm-test.inc (print_float, issignaling_test): New
36860         functions.
36861         (check_float_internal): Add issignaling checks.
36862         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
36863         default definition.
36864         * sysdeps/powerpc/math-tests.h: New file.
36865         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
36866         tests.
36867         * math/test-snan.c (TEST_FUNC): Likewise.
36869 2013-03-30  David S. Miller  <davem@davemloft.net>
36871         * po/de.po: Update from translation team.
36873 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
36875         [BZ #10357]
36876         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36877         imaginary part less than 1.0 and real part less than 0.5
36878         specially.
36879         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36880         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36881         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
36882         (cacos_test): Add more tests.
36883         (casin_test): Likewise.
36884         (casinh_test): Likewise.
36885         * sysdeps/i386/fpu/libm-test-ulps: Update.
36886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36888 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36890         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
36891         ONE with its value.
36893         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
36894         (__pow_mp): Replace ONE and MONE with their values.
36895         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36896         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
36897         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36898         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
36899         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36900         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36902         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
36904         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
36905         (__pow_mp): Replace ZERO and MZERO with their values.
36906         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
36907         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36908         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36909         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
36910         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36911         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
36912         (__sqr): Likewise.
36914         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
36916         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
36918 2013-03-28  Roland McGrath  <roland@hack.frob.com>
36920         * include/stdlib.h [!SHARED] (__call_tls_dtors):
36921         Declare with __attribute__ ((weak)).
36922         * stdlib/exit.c (__libc_atexit) [!SHARED]:
36923         Call __call_tls_dtors only if it's not NULL.
36925 2013-03-28  Roland McGrath  <roland@hack.frob.com>
36927         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
36928         didn't do it already, then set _dl_phdr and _dl_phnum based on the
36929         magic __ehdr_start linker symbol if it's defined.
36930         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
36931         them up here if it was already done.
36933         * elf/dl-support.c (_dl_phdr): Make pointer to const.
36934         (_dl_aux_init): Use const in cast when setting it.
36935         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
36936         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
36937         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
36939         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
36940         Declare them here.
36941         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
36942         * csu/libc-tls.c: Nor here.
36943         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
36945         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
36946         (__libc_message): Never call vsyslog.
36948 2013-03-28  Alan Modra  <amodra@gmail.com>
36950         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
36951         Define as empty.
36952         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
36953         Likewise.
36955 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36957         [BZ #15214]
36958         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
36959         underflow.
36960         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36962 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36964         [BZ #15304]
36965         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
36966         Don't add gid passed as argument.
36968         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
36970 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
36972         [BZ #15307]
36973         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36974         imaginary part between 1.0 and 1.5 and real part less than 0.5
36975         specially.
36976         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36977         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36978         * math/libm-test.inc (cacos_test): Add more tests.
36979         (casin_test): Likewise.
36980         (casinh_test): Likewise.
36981         * sysdeps/i386/fpu/libm-test-ulps: Update.
36982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36984 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36986         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
36987         constants.
36988         (norm): Likewise.
36989         (denorm): Likewise.
36990         (__dbl_mp): Likewise.
36991         (add_magnitudes): Likewise.
36992         (sub_magnitudes): Likewise.
36993         (__add): Likewise.
36994         (__sub): Likewise.
36995         (__mul): Likewise.
36996         (__sqr): Likewise.
36997         (__inv): Likewise.
36998         (__dvd): Likewise.
37000         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
37001         commented code.
37002         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
37003         (__dubcos): Likewise.
37004         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
37005         (__ieee754_acos): Likewise.
37006         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
37007         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
37008         (__exp1): Likewise.
37009         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37010         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37011         (log1): Likewise.
37012         (my_log2): Likewise.
37013         (checkint): Likewise.
37014         * sysdeps/ieee754/dbl-64/e_remainder.c
37015         (__ieee754_remainder): Likewise.
37016         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
37017         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
37018         (bsloww): Likewise.
37019         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
37021         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
37022         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
37023         MANTISSA_STORE_T to store computations on mantissa.  Use
37024         macros for rounding and division.
37025         (denorm): Likewise.
37026         (__dbl_mp): Likewise.
37027         (add_magnitudes): Likewise.
37028         (sub_magnitudes): Likewise.
37029         (__mul): Likewise.
37030         (__sqr): Likewise.
37031         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
37032         powers of two in terms of TWOPOW macro.
37033         (mp_no): Make type of mantissa as MANTISSA_T.
37034         [!RADIXI]: Define RADIXI.
37035         [!TWO52]: Define TWO52.
37036         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
37038 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37040         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
37041         llroundl symbol when building for PPC32.
37043 2013-03-24  Mark H Weaver  <mhw@netris.org>
37045         * manual/arith.texi (Normalization Functions): Fix prototypes for
37046         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
37048 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37050         [BZ #13889]
37051         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
37052         high value to check if expl overflow.
37053         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
37054         to check for underflow and overflow.
37055         * math/libm-test.inc: Add exp test.
37057 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
37059         [BZ #11120]
37060         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
37061         with NOT_IN_libc.
37063 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37065         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
37066         symbol.
37068 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
37070         * math/gen-libm-test.pl (parse_args, special_functions): Properly
37071         wrap blocks consisting of several statements.
37073         * sysdeps/generic/math-tests.h: New file.
37074         * sysdeps/i386/fpu/math-tests.h: Likewise.
37075         * math/test-snan.c: Include it.
37076         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
37078 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
37080         [BZ #15285]
37081         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
37082         (__ieee754_j0l): Do not improve calculations using cos of twice
37083         input for inputs above LDBL_MAX / 2.0L.
37084         (__ieee754_y0l): Likewise.
37085         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
37086         (__ieee754_j1l): Do not improve calculations using cos of twice
37087         input for inputs above LDBL_MAX / 2.0L.
37088         (__ieee754_y1l): Likewise.
37089         * math/libm-test.inc (j0_test): Add another test.
37090         (j1_test): Likewise.
37091         (y0_test): Likewise.
37092         (y1_test): Likewise.
37093         * sysdeps/i386/fpu/libm-test-ulps: Update.
37095 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37097         * Rules ($(objpfx)bench-%.c): Include code from a C source
37098         file.
37100 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
37102         [BZ #15287]
37103         * math/k_casinh.c (__kernel_casinh): Handle arguments with
37104         imaginary part 1.0 and real part less than 0.5 specially.
37105         * math/k_casinhf.c (__kernel_casinhf): Likewise.
37106         * math/k_casinhl.c (__kernel_casinhl): Likewise.
37107         * math/libm-test.inc (cacos_test): Add more tests.
37108         (casin_test): Likewise.
37109         (casinh_test): Likewise.
37110         * sysdeps/i386/fpu/libm-test-ulps: Update.
37111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37113 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37115         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
37116         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
37118 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
37120         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
37121         * config.make.in (config-cflags-sse4): Remove variable.
37122         (config-cflags-avx): Likewise.
37123         (config-cflags-sse2avx): Likewise.
37124         (config-cflags-novzeroupper): Likewise.
37125         (config-asflags-i686): Likewise.
37126         (have-mfma4): Likewise.
37127         (have-as-vis3): Likewise.
37128         (MIG): Likewise.
37129         * configure.in (MIG): Do not AC_SUBST.
37130         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
37131         (libc_cv_cc_sse4): Do not AC_SUBST.
37132         (libc_cv_cc_avx): Likewise.
37133         (libc_cv_cc_sse2avx): Likewise.
37134         (libc_cv_cc_novzeroupper): Likewise.
37135         (libc_cv_cc_fma4): Likewise.
37136         (libc_cv_as_i686): Likewise.
37137         (libc_cv_sparc_as_vis3): Likewise.
37138         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
37139         LIBC_CONFIG_VAR.
37140         (config-asflags-i686): Likewise.
37141         (config-cflags-avx): Likewise.
37142         (config-cflags-sse2avx): Likewise.
37143         (have-mfma4): Likewise.
37144         (config-cflags-novzeroupper): Likewise.
37145         * sysdeps/mach/configure.in (MIG): Likewise.
37146         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
37147         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
37148         LIBC_CONFIG_VAR.
37149         (config-cflags-avx): Likewise.
37150         (config-cflags-sse2avx): Likewise.
37151         (have-mfma4): Likewise.
37152         (config-cflags-novzeroupper): Likewise.
37153         * configure: Regenerated.
37154         * sysdeps/i386/configure: Likewise.
37155         * sysdeps/mach/configure: Likewise.
37156         * sysdeps/sparc/configure: Likewise.
37157         * sysdeps/x86_64/configure: Likewise.
37159 2013-03-20  Roland McGrath  <roland@hack.frob.com>
37161         [BZ #14812]
37162         * locale/programs/localedef.c (options): Put N_ translation marker
37163         on argument names, not just descriptions.
37165 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37167         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
37169 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
37171         [BZ #14176]
37172         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
37174 2013-03-19  Roland McGrath  <roland@hack.frob.com>
37176         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
37177         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
37178         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
37179         [!BEFORE_ABORT] (before_abort): New function.
37180         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
37181         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
37182         (writev_for_fatal): New function.
37183         (WRITEV_FOR_FATAL): New macro; call that.
37184         (backtrace_and_maps): New function.
37185         (BEFORE_ABORT): New macro; call that.
37186         (struct str_list): Type removed.
37187         (__libc_message, __libc_fatal): Functions removed.
37188         Include <sysdeps/posix/libc_fatal.c> instead.
37190 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
37192         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
37193         constants.
37194         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
37195         double constants.
37197 2013-03-19  Andreas Schwab  <schwab@suse.de>
37199         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
37200         * sysdeps/gnu/configure: Regenerate.
37202         * configure.in: Substitute libc_cv_rtlddir.
37203         * configure: Regenerate.
37204         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
37205         * Makeconfig (rtlddir, inst_rtlddir): New variables.
37206         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
37207         * elf/Makefile (install-others, CFLAGS-interp.c)
37208         (ldso_install, common-ldd-rewrite): Likewise.
37209         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
37210         $(inst_slibdir)/$(rtld-installed-name).
37211         * scripts/rellns-sh: Add -p option.
37212         * Makerules (make-shlib-link): Use rellns-sh to get relative name
37213         for source.
37215 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37217         * manual/nptl.texi: Renamed to ...
37218         * manual/threads.texi: ... this.
37219         * manual/Makefile (chapters): Update.
37221 2013-03-18  Roland McGrath  <roland@hack.frob.com>
37223         [BZ #14812]
37224         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
37225         on argument names, not just descriptions.
37226         * malloc/memusagestat.c (options): Likewise.
37227         * nss/getent.c (options): Likewise.
37229 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
37231         [BZ #14812]
37232         * iconv/iconv_prog.c (options): Put N_ translation marker
37233         on argument names, not just descriptions.
37234         * iconv/iconvconfig.c (options): Likewise.
37236 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
37238         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
37239         implementation which is faster on all x86_64 architectures.
37240         Tested on AMD, Intel Nehalem, SNB, IVB.
37241         * sysdeps/x86_64/strnlen.S: Likewise.
37243         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
37244         Remove all multiarch strlen and strnlen versions.
37245         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
37246         Remove strlen and strnlen related parts.
37248         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
37249         Inline strlen part.
37250         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
37252         * sysdeps/x86_64/multiarch/strlen.S: Remove.
37253         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
37254         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
37255         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
37256         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
37257         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
37259 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
37261         * manual/memory.texi (Malloc Tunable Parameters):
37262         Sort parameters alphabetically. Add comments for missing entries.
37264 2013-03-17  David S. Miller  <davem@davemloft.net>
37266         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37268 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
37270         [BZ #15283]
37271         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
37272         for arguments at most half maximum finite value.
37273         * math/libm-test.inc (j0_test): Add more tests.
37274         (j1_test): Likewise.
37275         (y0_test): Likewise.
37276         (y1_test): Likewise.
37277         * sysdeps/i386/fpu/libm-test-ulps: Update.
37278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37280         [BZ #14155]
37281         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
37282         1 / x and functions P and Q for arguments above 0x1p256L.
37283         (__ieee754_y0l): Likewise.
37284         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
37285         (__ieee754_y1l): Likewise.
37286         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
37287         (j1_test): Likewise.
37288         (y0_test): Likewise.
37289         (y1_test): Likewise.
37291 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
37293         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
37294         variable.
37296 2013-03-15  Roland McGrath  <roland@hack.frob.com>
37298         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
37299         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
37300         zero since it's initialized to EXEC_PAGESIZE.
37302         * sysdeps/unix/sysv/linux/ldsodefs.h
37303         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
37304         * sysdeps/generic/ldsodefs.h: ... here.
37306 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
37308         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
37310         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
37311         math/test-snan.c.
37312         * math/test-snan.c: Renamed from
37313         sysdeps/powerpc/fpu/test-powerpc-snan.c.
37314         * math/Makefile (tests): Add test-snan.
37315         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
37316         test-powerpc-snan.
37318         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
37319         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
37320         functions.
37321         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
37322         __builtin_nan family of functions.
37323         * math/libm-test.inc (initialize): Initialize qnan_value with
37324         __builtin_nan family of functions.
37325         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
37326         Remove variables.
37327         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
37328         Remove functions.
37329         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
37330         storage class.  Initialize qNaN_var and sNaN_var with
37331         __builtin_nan and __builtin_nans families of functions,
37332         respectively.
37334         * math/libm-test.inc (acosh_test): Also test with qNaN input.
37335         (sqrt_test): Remove duplicate test with qNaN input.
37336         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
37337         (round_test, signbit_test, significand_test): Note missing +/-Inf
37338         as well as qNaN tests.
37340         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
37341         qNaN_var.  Fix a few strings, too.
37342         * math/libm-test.inc (nan_value): Rename to qnan_value.
37343         * math/gen-libm-test.pl (%beautify): Adjust to that.
37344         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
37345         * math/test-misc.c (main): Likewise.
37346         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
37347         to __qnan_bytes, and __qnan_union, respectively.
37348         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
37349         Likewise.
37350         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
37351         and lqnanval, respectively.
37352         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
37353         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
37354         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
37355         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
37357         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
37358         * math/test-misc.c (main) [__x86_64__]: Enable test for long
37359         doubles.
37361         * math/test-misc.c (main): Fix copy'n'pastos.
37362         * misc/tst-efgcvt.c (special): Likewise.
37364         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
37365         Remove declarations.
37367 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37369         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
37370         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
37371         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
37372         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
37374 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37376         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
37377         macro to return vdso values correctly in IFUNC implementations.
37378         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
37379         Optimization by using IFUNC.
37381 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37382             Richard Henderson  <rth@redhat.com>
37383             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37385         * Makefile.in (bench): New target.
37386         * NEWS: Mention the benchmark framework.
37387         * Rules (bench): Likewise.
37388         (binaries-bench): Generate binaries for functions to
37389         benchmark.
37390         * benchtests/Makefile: New makefile for benchmark tests.
37391         * benchtests/bench-skeleton.c: New skeleton file for benchmark
37392         programs.
37393         * benchtests/exp-inputs: New input file for EXP function.
37394         * benchtests/pow-inputs: New input file for POW function.
37395         * scripts/bench.pl: New script to generate source files for
37396         benchmark programs.
37398 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37400         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
37401         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
37402         computations on mantissa.  Use macros for rounding and
37403         division.
37404         (denorm): Likewise.
37405         (__dbl_mp): Likewise.
37406         (add_magnitudes): Likewise.
37407         (sub_magnitudes): Likewise.
37408         (__mul): Likewise.
37409         (__sqr): Likewise.
37410         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
37411         powers of two in terms of TWOPOW macro.
37412         (mp_no): Make type of mantissa as MANTISSA_T.
37413         [!RADIXI]: Define RADIXI.
37414         [!TWO52]: Define TWO52.
37415         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
37417         * manual/nptl.texi (cindex): Modify threads to pthreads.
37419 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
37421         * sysdeps/x86_64/preconfigure: Regenerated.
37423 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
37425         [BZ #14155]
37426         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
37427         0x1p28 and above.
37428         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
37429         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
37430         0x1p28 and above.
37431         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
37432         * math/libm-test.inc (j0_test): Do not allow one spurious
37433         underflow exception.
37434         (y1_test): Likewise.
37436 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37438         * manual/Makefile (chapters): Add nptl.
37439         * manual/debug.texi (Debugging Support): Add link to Threads
37440         chapter.
37441         * manual/nptl.texi: New file.
37443         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
37445 2013-03-14  Petr Baudis  <pasky@ucw.cz>
37447         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
37448         for non-NULL pointer before the memory validity test. Pointed
37449         out by Holger Brunck <holger.brunck@keymile.com>.
37451 2013-03-13  Andreas Schwab  <schwab@suse.de>
37453         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
37454         instead of .os.
37456 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
37458         * timezone/zic.c: Update from tzcode 2013b.
37460 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
37462         * manual/install.texi (Configuring and compiling):
37463         Mention i686 and i586.
37464         * INSTALL: Regenerate.
37466 2013-03-12  Roland McGrath  <roland@hack.frob.com>
37468         * sysdeps/init_array/elf-init.c: New file.
37469         * csu/elf-init.c
37470         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
37471         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
37473         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
37474         __gmon_start__ as global, but as static with a .preinit_array pointer.
37475         * sysdeps/init_array/gmon-start.c: New file.  Use that.
37476         * sysdeps/init_array/crti.S: New file, empty except for comments.
37477         * sysdeps/init_array/crtn.S: Likewise.
37479 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
37481         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
37482         definining bcopy.
37483         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37484         Remove Prefer_SSE_for_memop.
37485         * sysdeps/x86_64/multiarch/init-arch.h: Remove
37486         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
37487         HAS_PREFER_SSE_FOR_MEMOP.
37488         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
37489         memset-x86-64.
37490         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
37491         Remove bzero, memset ifunc support.
37492         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
37493         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
37494         * sysdeps/x86_64/multiarch/memset.S: Likewise.
37495         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37497 2013-03-11  Andreas Schwab  <schwab@suse.de>
37499         [BZ #15234]
37500         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
37501         by SHLIB_COMPAT.
37502         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
37503         (GLIBC_2.16): Remove pthread_atfork.
37505 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
37507         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
37508         (ptestcases.h): Likewise.
37510 2013-03-08  Roland McGrath  <roland@hack.frob.com>
37512         * Makeconfig ($(common-objpfx)config.status): Depend on
37513         sysdeps/*/preconfigure{,.in} too.
37515 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
37517         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
37518         (__free_hook): Use void * instead of __malloc_ptr_t.
37519         (__malloc_hook): Likewise.
37520         (__realloc_hook): Likewise.
37521         (__memalign_hook): Likewise.
37522         (__after_morecore_hook): Likewise.
37523         * malloc/arena.c (save_malloc_hook): Likewise.
37524         (save_free_hook): Likewise.
37525         * malloc/hooks.c (malloc_hook_ini): Likewise.
37526         (realloc_hook_ini): Likewise.
37527         (memalign_hook_ini): Likewise.
37528         * malloc/malloc.c (malloc_hook_ini): Likewise.
37529         (realloc_hook_ini): Likewise.
37530         (memalign_hook_ini): Likewise.
37531         (__free_hook): Likewise.
37532         (__malloc_hook): Likewise.
37533         (__realloc_hook): Likewise.
37534         (__memalign_hook): Likewise.
37535         (__libc_malloc): Likewise.
37536         (__libc_free): Likewise.
37537         (__libc_realloc): Likewise.
37538         (__libc_memalign): Likewise.
37539         (__libc_valloc): Likewise.
37540         (__libc_pvalloc): Likewise.
37541         (__libc_calloc): Likewise.
37542         (__posix_memalign): Likewise.
37543         * malloc/morecore.c (__sbrk): Likewise.
37544         (__default_morecore): Likewise.
37546         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
37548         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
37549         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
37550         __malloc_ptrdiff_t.
37552         * malloc/malloc.h (__malloc_size_t): Remove macro.
37553         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
37554         __malloc_size_t.
37555         (old_memalign_hook): Likewise.
37556         (old_realloc_hook): Likewise.
37557         (struct hdr): Likewise.
37558         (flood): Likewise.
37559         (mallochook): Likewise.
37560         (memalignhook): Likewise.
37561         (reallochook): Likewise.
37562         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
37563         (tr_old_realloc_hook): Likewise.
37564         (tr_old_memalign_hook): Likewise.
37565         (tr_mallochook): Likewise.
37566         (tr_reallochook): Likewise.
37567         (tr_memalignhook): Likewise.
37569 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37571         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
37572         default_ldbl_pack and using as default implementation.
37573         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
37574         implementation.
37575         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
37576         redundant definition.
37577         (ldbl_insert_mantissa): Likewise.
37578         (ldbl_canonicalize): Likewise.
37579         (ldbl_nearbyint): Likewise.
37580         (ldbl_pack): Rename to ldbl_pack_ppc.
37581         (ldbl_unpack): Rename to ldbl_unpack_ppc.
37582         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
37583         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
37585 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
37587         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
37588         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
37589         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
37590         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
37591         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
37592         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
37593         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
37594         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
37596 2013-03-07  Andreas Jaeger  <aj@suse.de>
37598         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37599         bits/mman-linux.h.
37601 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
37603         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
37604         Include mpa.h and declare __MPEXP.
37605         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
37606         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
37607         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
37608         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
37609         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
37610         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
37611         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
37613         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
37614         (__slowpow): Use long double EXPL and LOGL functions to
37615         compute POW.
37616         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
37617         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
37618         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
37619         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
37620         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
37621         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
37623         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
37624         intermediate variable to calculate exponent.
37625         (__sqr): Likewise.
37626         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
37627         Likewise.
37628         (__sqr): Likewise.
37630         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
37631         [!NO__SQR]: Define __sqr.
37632         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
37633         and NO__SQR.  Remove all code except __mul and __sqr.  Include
37634         sysdeps/ieee754/dbl-64/mpa.c.
37635         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37637         [BZ #12723]
37638         * posix/Makefile (tests): Add tst-pathconf.
37639         * posix/tst-pathconf.c: New test case.
37640         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
37641         _PC_PIPE_BUF.
37642         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
37644 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
37646         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
37648 2013-03-06  Andreas Jaeger  <aj@suse.de>
37650         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
37651         definition via __MAP_ANONYMOUS.
37653         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
37654         it's not part of Linux headers.
37656         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
37657         (MAP_HUGE_MASK): Define.
37659         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37660         Define.
37661         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37662         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37663         Define.
37664         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37665         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37666         Define.
37667         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37668         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
37669         Define.
37670         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37672         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
37673         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
37674         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
37675         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
37676         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
37677         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
37679         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37680         Handle f2fs.
37682         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37683         Handle f2fs and efivarfs.
37685         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
37686         f2fs.
37688         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
37689         (EFIVARFS_MAGIC): Add.
37690         (F2FS_LINK_MAX): Add.
37692 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37694         * stdio-common/vfprintf.c: Replace __builtin_expect with
37695         __glibc_unlikely.
37697 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
37699         [BZ #13550]
37700         * sysdeps/generic/bp-sym.h: Remove file.
37701         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
37702         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
37703         <bp-sym.h> and <bp-asm.h>.
37704         (__longjmp): Don't use BP_SYM.
37705         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
37706         and <bp-asm.h>.
37707         (memcpy): Don't use BP_SYM.
37708         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
37709         <bp-sym.h> and <bp-asm.h>.
37710         (memcpy): Don't use BP_SYM.
37711         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
37712         <bp-asm.h>.
37713         (memcpy): Don't use BP_SYM.
37714         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
37715         <bp-asm.h>.
37716         (memset): Don't use BP_SYM.
37717         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37718         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37719         (__bzero): Don't use BP_SYM.
37720         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37721         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37722         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
37723         <bp-sym.h> and <bp-asm.h>.
37724         (memcmp): Don't use BP_SYM.  Remove comment about bounded
37725         pointers.
37726         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
37727         <bp-sym.h> and <bp-asm.h>.
37728         (memcpy): Don't use BP_SYM.
37729         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
37730         <bp-sym.h> and <bp-asm.h>.
37731         (memset): Don't use BP_SYM.
37732         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37733         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37734         (__bzero): Don't use BP_SYM.
37735         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37736         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37737         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
37738         <bp-sym.h> and <bp-asm.h>.
37739         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37740         pointers.
37741         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
37742         <bp-sym.h> and <bp-asm.h>.
37743         (memcpy): Don't use BP_SYM.
37744         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
37745         <bp-sym.h> and <bp-asm.h>.
37746         (memset): Don't use BP_SYM.
37747         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37748         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37749         (__bzero): Don't use BP_SYM.
37750         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37751         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37752         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
37753         <bp-sym.h> and <bp-asm.h>.
37754         (__memchr): Don't use BP_SYM.
37755         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
37756         <bp-sym.h> and <bp-asm.h>.
37757         (memcmp): Don't use BP_SYM.  Remove comment about bounded
37758         pointers.
37759         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
37760         <bp-sym.h> and <bp-asm.h>.
37761         (memcpy): Don't use BP_SYM.
37762         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
37763         <bp-sym.h> and <bp-asm.h>.
37764         (__mempcpy): Don't use BP_SYM.
37765         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
37766         <bp-sym.h> and <bp-asm.h>.
37767         (__memrchr): Don't use BP_SYM.
37768         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
37769         <bp-sym.h> and <bp-asm.h>.
37770         (memset): Don't use BP_SYM.
37771         (__bzero): Likewise.
37772         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
37773         <bp-sym.h> and <bp-asm.h>.
37774         (__rawmemchr): Don't use BP_SYM.
37775         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
37776         <bp-sym.h> and <bp-asm.h>.
37777         (__STRCMP): Don't use BP_SYM.
37778         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
37779         <bp-sym.h> and <bp-asm.h>.
37780         (strchr): Don't use BP_SYM.
37781         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
37782         <bp-sym.h> and <bp-asm.h>.
37783         (__strchrnul): Don't use BP_SYM.
37784         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
37785         <bp-sym.h> and <bp-asm.h>.
37786         (strlen): Don't use BP_SYM.
37787         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
37788         <bp-sym.h> and <bp-asm.h>.
37789         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37790         pointers.
37791         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
37792         <bp-sym.h> and <bp-asm.h>.
37793         (__strnlen): Don't use BP_SYM.
37794         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
37795         <bp-sym.h> and <bp-asm.h>.
37796         (__GI__setjmp): Don't use BP_SYM.
37797         (_setjmp): Likewise.
37798         (__sigsetjmp): Likewise.
37799         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
37800         (L(start_addresses)): Don't use BP_SYM.
37801         (_start): Likewise.
37802         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
37803         <bp-asm.h>.
37804         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
37805         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
37806         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37807         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37808         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
37809         <bp-asm.h>.
37810         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
37811         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
37812         about bounded pointers.
37813         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37814         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37815         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
37816         <bp-asm.h>.
37817         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
37818         about bounded pointers.  Remove GKM FIXME comments.
37819         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37820         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
37821         <bp-asm.h>.
37822         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
37823         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
37824         Remove GKM FIXME comments.
37825         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37826         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37827         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
37828         <bp-asm.h>.
37829         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
37830         about bounded pointers.  Remove GKM FIXME comment.
37831         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
37832         and <bp-asm.h>.
37833         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37834         pointers.
37835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
37836         <bp-sym.h> and <bp-asm.h>.
37837         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
37838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
37839         <bp-sym.h> and <bp-asm.h>.
37840         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
37841         comment.
37843 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
37845         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
37846         call free(NULL).
37848 2013-03-05  David S. Miller  <davem@davemloft.net>
37850         * po/es.po: Update from translation team.
37852 2013-03-05  Andreas Jaeger  <aj@suse.de>
37854         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
37855         <bits/mman-linux.h>.
37856         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37857         is fine.
37858         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
37859         <bits/mman-linux.h> to end of file.
37860         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37861         is fine.
37862         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
37863         <bits/mman-linux.h> to end of file.
37864         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37865         is fine.
37866         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
37867         <bits/mman-linux.h> to end of file.
37869         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
37870         (MCL_CURRENT, MCL_FUTURE): Define here.
37872 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37874         [BZ #15232]
37875         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
37876         attribute_hidden.
37877         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37879 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37881         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
37882         fourth parameter needed for rt_sigprocmask syscall.
37883         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
37884         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
37885         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
37886         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
37887         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
37888         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
37890 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
37892         [BZ #13550]
37893         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
37894         comment about bounded pointers.
37895         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
37896         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
37898 2013-03-04  Andreas Jaeger  <aj@suse.de>
37900         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
37901         common definitions.
37903         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
37904         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
37905         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
37906         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37907         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37908         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37910 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37912         [BZ #15055]
37913         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
37914         __ieee754_sqrl instead of __sqrl.
37916 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
37918         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
37919         * sysdeps/powerpc/fpu_control.h: ... here.
37920         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
37921         * sysdeps/powerpc/bits/fenvinline.h: ... here.
37922         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
37923         * sysdeps/powerpc/bits/mathinline.h: ... here.
37925 2013-03-01  Roland McGrath  <roland@hack.frob.com>
37927         * elf/dl-hwcaps.c (_dl_important_hwcaps):
37928         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
37929         to just [NEED_DL_SYSINFO_DSO].
37930         * elf/dl-support.c: Likewise.
37931         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
37932         * elf/rtld.c (dl_main): Likewise.
37933         * elf/setup-vdso.h (setup_vdso): Likewise.
37934         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
37935         * sysdeps/unix/sysv/linux/dl-sysdep.c
37936         (_dl_discover_osversion): Likewise.
37938 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
37940         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
37941         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
37943 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
37945         * NEWS: Mention libm performance improvements and non-x86 PI
37946         futex support.
37948         * csu/libc-start.c (__pthread_initialize_minimal): Change
37949         function arguments.
37950         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
37952 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
37954         [BZ #13550]
37955         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
37956         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
37957         <bp-sym.h> and <bp-asm.h>.
37958         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37959         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
37960         and <bp-asm.h>.
37961         (memcpy): Don't use BP_SYM.
37962         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
37963         <bp-asm.h>.
37964         (__mpn_add_n): Don't use BP_SYM.
37965         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
37966         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
37967         and <bp-asm.h>.
37968         (__mpn_addmul_1): Don't use BP_SYM.
37969         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37970         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
37971         <bp-sym.h>.
37972         (_setjmp): Don't use BP_SYM.
37973         (__novmx_setjmp): Likewise.
37974         (__GI__setjmp): Likewise.
37975         (__vmx_setjmp): Likewise.
37976         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
37977         <bp-sym.h>.
37978         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
37979         (__bzero): Don't use BP_SYM.
37980         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37981         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37982         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
37983         <bp-sym.h> and <bp-asm.h>.
37984         (memcpy): Don't use BP_SYM.
37985         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
37986         <bp-sym.h> and <bp-asm.h>.
37987         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37988         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
37989         <bp-sym.h> and <bp-asm.h>.
37990         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37991         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
37992         <bp-asm.h>.
37993         (__mpn_lshift): Don't use BP_SYM.
37994         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37995         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
37996         <bp-asm.h>.
37997         (memset): Don't use BP_SYM.
37998         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37999         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38000         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
38001         <bp-asm.h>.
38002         (__mpn_mul_1): Don't use BP_SYM.
38003         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38004         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
38005         <bp-sym.h> and <bp-asm.h>.
38006         (memcmp): Don't use BP_SYM.
38007         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
38008         <bp-sym.h> and <bp-asm.h>.
38009         (memcpy): Don't use BP_SYM.
38010         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
38011         <bp-sym.h> and <bp-asm.h>.
38012         (memset): Don't use BP_SYM.
38013         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
38014         <bp-sym.h> and <bp-asm.h>.
38015         (strncmp): Don't use BP_SYM.
38016         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
38017         <bp-sym.h> and <bp-asm.h>.
38018         (memcpy): Don't use BP_SYM.
38019         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
38020         <bp-sym.h> and <bp-asm.h>.
38021         (memset): Don't use BP_SYM.
38022         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
38023         <bp-sym.h> and <bp-asm.h>.
38024         (__memchr): Don't use BP_SYM.
38025         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
38026         <bp-sym.h> and <bp-asm.h>.
38027         (memcmp): Don't use BP_SYM.
38028         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
38029         <bp-sym.h> and <bp-asm.h>.
38030         (memcpy): Don't use BP_SYM.
38031         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
38032         <bp-sym.h> and <bp-asm.h>.
38033         (__mempcpy): Don't use BP_SYM.
38034         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
38035         <bp-sym.h> and <bp-asm.h>.
38036         (__memrchr): Don't use BP_SYM.
38037         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
38038         <bp-sym.h> and <bp-asm.h>.
38039         (memset): Don't use BP_SYM.
38040         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
38041         <bp-sym.h> and <bp-asm.h>.
38042         (__rawmemchr): Don't use BP_SYM.
38043         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
38044         <bp-sym.h> and <bp-asm.h>.
38045         (__STRCMP): Don't use BP_SYM.
38046         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
38047         <bp-sym.h> and <bp-asm.h>.
38048         (strchr): Don't use BP_SYM.
38049         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
38050         <bp-sym.h> and <bp-asm.h>.
38051         (__strchrnul): Don't use BP_SYM.
38052         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
38053         <bp-sym.h> and <bp-asm.h>.
38054         (strlen): Don't use BP_SYM.
38055         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
38056         <bp-sym.h> and <bp-asm.h>.
38057         (strncmp): Don't use BP_SYM.
38058         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
38059         <bp-sym.h> and <bp-asm.h>.
38060         (__strnlen): Don't use BP_SYM.
38061         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
38062         <bp-asm.h>.
38063         (__mpn_rshift): Don't use BP_SYM.
38064         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38065         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
38066         <bp-sym.h> and <bp-asm.h>.
38067         (__sigsetjmp): Don't use BP_SYM.
38068         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
38069         (L(start_addresses)): Don't use BP_SYM.
38070         (_start): Likewise.
38071         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
38072         <bp-asm.h>.
38073         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
38074         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38075         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38076         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
38077         <bp-asm.h>.
38078         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
38079         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38080         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38081         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
38082         <bp-asm.h>.
38083         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
38084         comments.
38085         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38086         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
38087         <bp-asm.h>.
38088         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
38089         FIXME comments.
38090         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38091         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38092         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
38093         <bp-asm.h>.
38094         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
38095         comment.
38096         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
38097         and <bp-asm.h>.
38098         (strncmp): Don't use BP_SYM,
38099         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
38100         <bp-asm.h>.
38101         (__mpn_sub_n): Don't use BP_SYM.
38102         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38103         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
38104         and <bp-asm.h>.
38105         (__mpn_submul_1): Don't use BP_SYM.
38106         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
38108         <bp-sym.h> and <bp-asm.h>.
38109         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
38110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
38111         <bp-sym.h> and <bp-asm.h>.
38112         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
38113         comment.
38115 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38117         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
38118         Use ZK to minimize writes to Z.
38119         (sub_magnitudes): Simplify code a bit.
38120         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
38121         Use ZK to minimize writes to Z.
38122         (sub_magnitudes): Simplify code a bit.
38124 2013-02-27  Roland McGrath  <roland@hack.frob.com>
38126         * csu/gmon-start.c: Add special exception to license text.
38128 2013-02-27  Richard Henderson  <rth@redhat.com>
38130         * scripts/config.guess: Update from config.git.
38131         * scripts/config.sub: Likewise.
38133 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38135         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
38137         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
38139         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
38141         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
38143         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
38145 2013-02-26  Roland McGrath  <roland@hack.frob.com>
38147         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
38148         [$(build-shared = yes].
38150 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38152         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
38153         (__mul): Reduce iterations for calculating mantissa.
38155         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
38156         MPTWO.
38157         (__mpranred): Likewise.
38159         [BZ #15160]
38160         * malloc/memusagestat.c (main): Draw graphs for heap and stack
38161         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
38163 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
38165         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
38166         Define __attribute__.
38168 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38170         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
38171         unused.
38172         * posix/regex_internal.h (__attribute): Remove.
38173         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
38174         (re_string_context_at): Likewise.
38175         (bitset_not): Use __attribute__ and mark function as possibly
38176         unused.
38177         (bitset_merge): Likewise.
38178         (bitset_mask): Likewise.
38179         (re_string_char_size_at): Likewise.
38180         (re_string_wchar_at): Likewise.
38181         (re_string_elem_size_at): Likewise.
38183 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38185         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
38186         code.
38187         (cc32): Likewise.
38189         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
38190         (__acr): Likewise.
38191         (__cpy): Likewise.
38192         (norm): Likewise.
38193         (denorm): Likewise.
38194         (__dbl_mp): Likewise.
38195         (add_magnitudes): Likewise.
38196         (sub_magnitudes): Likewise.
38197         (__mul): Likewise.
38198         (__inv): Likewise.
38200         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
38201         style.
38203         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
38204         style.
38206         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
38207         code.
38209         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
38210         up changes with default code.
38211         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
38212         Likewise.
38214 2013-02-24  Allan McRae  <allan@archlinux.org>
38216         * manual/socket.texi (The Internet Namespace): Order menu items
38217         to match that in the file.
38219         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
38220         node listing of the info page menu.
38222 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
38224         [BZ #13550]
38225         * sysdeps/i386/bp-asm.h: Remove file.
38226         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
38227         (PARMS): Do not use macros from bp-asm.h.
38228         (S1): Likewise.
38229         (S2): Likewise.
38230         (SIZE): Likewise.
38231         (__mpn_add_n): Do not use BP_SYM
38232         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
38233         "bp-asm.h".
38234         (PARMS): Do not use macros from bp-asm.h.
38235         (S1): Likewise.
38236         (SIZE): Likewise.
38237         (__mpn_addmul_1): Do not use BP_SYM
38238         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
38239         "bp-asm.h".
38240         (PARMS): Do not use macros from bp-asm.h.
38241         (SIGMSK): Likewise.
38242         (_setjmp): Likewise.  Do not use BP_SYM.
38243         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
38244         "bp-asm.h".
38245         (PARMS): Do not use macros from bp-asm.h.
38246         (SIGMSK): Likewise.
38247         (setjmp): Likewise.  Do not use BP_SYM.
38248         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
38249         "bp-asm.h".
38250         (PARMS): Do not use macros from bp-asm.h.
38251         (__frexp): Do not use BP_SYM.
38252         (frexp): Likewise.
38253         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
38254         "bp-asm.h".
38255         (PARMS): Do not use macros from bp-asm.h.
38256         (__frexpf): Do not use BP_SYM.
38257         (frexpf): Likewise.
38258         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
38259         "bp-asm.h".
38260         (PARMS): Do not use macros from bp-asm.h.
38261         (__frexpl): Do not use BP_SYM.
38262         (frexpl): Likewise.
38263         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
38264         "bp-asm.h".
38265         (PARMS): Do not use macros from bp-asm.h.
38266         (__remquo): Do not use BP_SYM.
38267         (remquo): Likewise.
38268         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
38269         "bp-asm.h".
38270         (PARMS): Do not use macros from bp-asm.h.
38271         (__remquof): Do not use BP_SYM.
38272         (remquof): Likewise.
38273         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
38274         "bp-asm.h".
38275         (PARMS): Do not use macros from bp-asm.h.
38276         (__remquol): Do not use BP_SYM.
38277         (remquol): Likewise.
38278         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
38279         "bp-asm.h".
38280         (PARMS): Do not use macros from bp-asm.h.
38281         (DEST): Likewise.
38282         (SRC): Likewise.
38283         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
38284         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
38285         "bp-asm.h".
38286         (PARMS): Do not use macros from bp-asm.h.
38287         (strlen): Do not use BP_SYM.
38288         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
38289         "bp-asm.h".
38290         (PARMS): Do not use macros from bp-asm.h.
38291         (S1): Likewise.
38292         (S2): Likewise.
38293         (SIZE): Likewise.
38294         (__mpn_add_n): Do not use BP_SYM.
38295         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
38296         "bp-asm.h".
38297         (PARMS): Do not use macros from bp-asm.h.
38298         (S1): Likewise.
38299         (SIZE): Likewise.
38300         (__mpn_addmul_1): Do not use BP_SYM.
38301         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
38302         weak_alias.
38303         (bzero): Likewise.
38304         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
38305         "bp-asm.h".
38306         (PARMS): Do not use macros from bp-asm.h.
38307         (S): Likewise.
38308         (SIZE): Likewise.
38309         (__mpn_lshift): Do not use BP_SYM.
38310         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
38311         "bp-asm.h".
38312         (PARMS): Do not use macros from bp-asm.h.
38313         (DEST): Likewise.
38314         (SRC): Likewise.
38315         (LEN): Likewise.
38316         (memcpy): Likewise.  Do not use BP_SYM.
38317         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
38318         libc_hidden_def and weak_alias.
38319         (mempcpy): Do not use BP_SYM in weak_alias.
38320         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
38321         "bp-asm.h".
38322         (PARMS): Do not use macros from bp-asm.h.
38323         (DEST): Likewise.
38324         (LEN): Likewise.
38325         [!BZERO_P] (CHR): Likewise.
38326         (memset): Likewise.  Do not use BP_SYM.
38327         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
38328         "bp-asm.h".
38329         (PARMS): Do not use macros from bp-asm.h.
38330         (S1): Likewise.
38331         (SIZE): Likewise.
38332         (__mpn_mul_1): Do not use BP_SYM.
38333         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
38334         "bp-asm.h".
38335         (PARMS): Do not use macros from bp-asm.h.
38336         (S): Likewise.
38337         (SIZE): Likewise.
38338         (__mpn_rshift): Do not use BP_SYM.
38339         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
38340         "bp-asm.h".
38341         (PARMS): Do not use macros from bp-asm.h.
38342         (STR): Likewise.
38343         (CHR): Likewise.
38344         (strchr): Likewise.  Do not use BP_SYM.
38345         (index): Do not use BP_SYM in weak_alias.
38346         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
38347         "bp-asm.h".
38348         (PARMS): Do not use macros from bp-asm.h.
38349         (DEST): Likewise.
38350         (SRC): Likewise.
38351         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
38352         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
38353         "bp-asm.h".
38354         (PARMS): Do not use macros from bp-asm.h.
38355         (strlen): Do not use BP_SYM.
38356         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
38357         "bp-asm.h".
38358         (PARMS): Do not use macros from bp-asm.h.
38359         (S1): Likewise.
38360         (S2): Likewise.
38361         (SIZE): Likewise.
38362         (__mpn_sub_n): Do not use BP_SYM.
38363         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
38364         "bp-asm.h".
38365         (PARMS): Do not use macros from bp-asm.h.
38366         (S1): Likewise.
38367         (SIZE): Likewise.
38368         (__mpn_submul_1): Do not use BP_SYM.
38369         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
38370         "bp-asm.h".
38371         (PARMS): Do not use macros from bp-asm.h.
38372         (S1): Likewise.
38373         (S2): Likewise.
38374         (SIZE): Likewise.
38375         (__mpn_add_n): Do not use BP_SYM.
38376         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
38377         weak_alias.
38378         (bzero): Likewise.
38379         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
38380         "bp-asm.h".
38381         (PARMS): Do not use macros from bp-asm.h.
38382         (BLK2): Likewise.
38383         (LEN): Likewise.
38384         (memcmp): Do not use BP_SYM.
38385         (bcmp): Do not use BP_SYM in weak_alias.
38386         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
38387         "bp-asm.h".
38388         (PARMS): Do not use macros from bp-asm.h.
38389         (DEST): Likewise.
38390         (SRC): Likewise.
38391         (LEN): Likewise.
38392         (memcpy): Likewise.  Do not use BP_SYM.
38393         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
38394         "bp-asm.h".
38395         (PARMS): Do not use macros from bp-asm.h.
38396         (DEST): Likewise.
38397         (SRC): Likewise.
38398         (LEN): Likewise.
38399         (memmove): Likewise.  Do not use BP_SYM.
38400         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
38401         "bp-asm.h".
38402         (PARMS): Do not use macros from bp-asm.h.
38403         (DEST): Likewise.
38404         (SRC): Likewise.
38405         (LEN): Likewise.
38406         (__mempcpy): Likewise.  Do not use BP_SYM.
38407         (mempcpy): Do not use BP_SYM in weak_alias.
38408         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
38409         "bp-asm.h".
38410         (PARMS): Do not use macros from bp-asm.h.
38411         (DEST): Likewise.
38412         (LEN): Likewise.
38413         [!BZERO_P] (CHR): Likewise.
38414         (memset): Likewise.  Do not use BP_SYM.
38415         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
38416         "bp-asm.h".
38417         (PARMS): Do not use macros from bp-asm.h.
38418         (STR2): Likewise.
38419         (strcmp): Do not use BP_SYM.
38420         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
38421         "bp-asm.h".
38422         (PARMS): Do not use macros from bp-asm.h.
38423         (STR): Likewise.
38424         (DELIM): Likewise.
38425         [USE_AS_STRTOK_R] (SAVE): Likewise.
38426         (FUNCTION): Likewise.  Do not use BP_SYM.
38427         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
38428         aliases.
38429         (strtok_r): Likewise.
38430         (__GI___strtok_r): Likewise.
38431         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
38432         (PARMS): Do not use macros from bp-asm.h.
38433         (S): Likewise.
38434         (SIZE): Likewise.
38435         (__mpn_lshift): Do not use BP_SYM.
38436         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
38437         (PARMS): Do not use macros from bp-asm.h.
38438         (STR): Likewise.
38439         (CHR): Likewise.
38440         (__memchr): Do not use BP_SYM.
38441         (memchr): Do not use BP_SYM in weak_alias.
38442         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
38443         (PARMS): Do not use macros from bp-asm.h.
38444         (BLK2): Likewise.
38445         (LEN): Likewise.
38446         (memcmp): Do not use BP_SYM.
38447         (bcmp): Do not use BP_SYM in weak_alias.
38448         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
38449         (PARMS): Do not use macros from bp-asm.h.
38450         (S1): Likewise.
38451         (SIZE): Likewise.
38452         (__mpn_mul_1): Do not use BP_SYM.
38453         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
38454         "bp-asm.h".
38455         (PARMS): Do not use macros from bp-asm.h.
38456         (STR): Likewise.
38457         (CHR): Likewise.
38458         (__rawmemchr): Do not use BP_SYM.
38459         (rawmemchr): Do not use BP_SYM in weak_alias.
38460         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
38461         (PARMS): Do not use macros from bp-asm.h.
38462         (S): Likewise.
38463         (SIZE): Likewise.
38464         (__mpn_rshift): Do not use BP_SYM.
38465         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
38466         (PARMS): Do not use macros from bp-asm.h.
38467         (SIGMSK): Likewise.
38468         (__sigsetjmp): Likewise.  Do not use BP_SYM.
38469         * sysdeps/i386/start.S: Do not include "bp-sym.h".
38470         (_start): Do not use BP_SYM.
38471         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
38472         (PARMS): Do not use macros from bp-asm.h.
38473         (DEST): Likewise.
38474         (SRC): Likewise.
38475         (__stpcpy): Likewise.  Do not use BP_SYM.
38476         (stpcpy): Do not use BP_SYM in weak_alias.
38477         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
38478         "bp-asm.h".
38479         (PARMS): Do not use macros from bp-asm.h.
38480         (DEST): Likewise.
38481         (SRC): Likewise.
38482         (LEN): Likewise.
38483         (__stpncpy): Likewise.  Do not use BP_SYM.
38484         (stpncpy): Do not use BP_SYM in weak_alias.
38485         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
38486         (PARMS): Do not use macros from bp-asm.h.
38487         (STR): Likewise.
38488         (CHR): Likewise.
38489         (strchr): Likewise.  Do not use BP_SYM.
38490         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
38491         "bp-asm.h".
38492         (PARMS): Do not use macros from bp-asm.h.
38493         (STR): Likewise.
38494         (CHR): Likewise.
38495         (__strchrnul): Likewise.  Do not use BP_SYM.
38496         (strchrnul): Do not use BP_SYM in weak_alias.
38497         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
38498         "bp-asm.h".
38499         (PARMS): Do not use macros from bp-asm.h.
38500         (STOP): Likewise.
38501         (strcspn): Do not use BP_SYM.
38502         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
38503         "bp-asm.h".
38504         (PARMS): Do not use macros from bp-asm.h.
38505         (STR): Likewise.
38506         (STOP): Likewise.
38507         (strpbrk): Likewise.  Do not use BP_SYM.
38508         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
38509         "bp-asm.h".
38510         (PARMS): Do not use macros from bp-asm.h.
38511         (STR): Likewise.
38512         (CHR): Likewise.
38513         (strrchr): Likewise.  Do not use BP_SYM.
38514         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
38515         (PARMS): Do not use macros from bp-asm.h.
38516         (SKIP): Likewise.
38517         (strspn): Do not use BP_SYM.
38518         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
38519         (PARMS): Do not use macros from bp-asm.h.
38520         (STR): Likewise.
38521         (DELIM): Likewise.
38522         (SAVE): Likewise.
38523         (FUNCTION): Likewise.  Do not use BP_SYM.
38524         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
38525         aliases.
38526         (strtok_r): Likewise.
38527         (__GI___strtok_r): Likewise.
38528         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
38529         (PARMS): Do not use macros from bp-asm.h.
38530         (S1): Likewise.
38531         (S2): Likewise.
38532         (SIZE): Likewise.
38533         (__mpn_sub_n): Do not use BP_SYM.
38534         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
38535         "bp-asm.h".
38536         (PARMS): Do not use macros from bp-asm.h.
38537         (S1): Likewise.
38538         (SIZE): Likewise.
38539         (__mpn_submul_1): Do not use BP_SYM.
38540         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
38541         <bp-sym.h>.
38542         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
38543         and <bp-asm.h>.
38544         (PARMS): Do not use macros from bp-asm.h.
38545         (FLAGS): Likewise.
38546         (PTID): Likewise.
38547         (TLS): Likewise.
38548         (CTID): Likewise.
38549         (__clone): Do not use BP_SYM.
38550         (clone): Do not use BP_SYM in weak_alias.
38551         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
38552         and <bp-asm.h>.
38553         (PARMS): Do not use macros from bp-asm.h.
38554         (LEN): Likewise.
38555         (__mmap64): Do not use BP_SYM.
38556         (mmap64): Do not use BP_SYM in weak_alias.
38557         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38558         <bp-sym.h> and <bp-asm.h>.
38559         (PARMS): Do not use macros from bp-asm.h.
38560         (__posix_fadvise64_l64): Do not use BP_SYM.
38561         * sysdeps/unix/sysv/linux/i386/semtimedop.S
38562         (PARMS): Do not use macros from bp-asm.h.
38563         (NSOPS): Likewise.
38564         (semtimedop): Do not use BP_SYM.
38565         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
38566         and <bp-asm.h>.
38568 2013-02-21  Allan McRae  <allan@archlinux.org>
38570         * manual/message.texi (Charset conversion in gettext):
38571         Move @end statement to beginning of line.
38573 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38575         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
38576         static.
38577         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
38578         Likewise.
38580         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
38581         (denorm): Likewise.
38582         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
38583         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
38585 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38587         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
38588         tail-call to the resolved function if pltexit isn't needed.
38590 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38592         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
38593         or Y being zero as being unlikely.
38594         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
38595         Likewise.
38597 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
38599         * manual/nss.texi (System Databases and Name Service Switch):
38600         Remove frobnicate @pxref.
38602 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
38604         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
38605         __attribute__ ((unused)) to __attribute__ ((__unused__)).
38607 2013-02-20  Petr Machata  <pmachata@redhat.com>
38609         * elf/elf.h (R_ARM_TARGET1): New macro.
38610         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
38611         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
38612         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
38613         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
38614         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
38615         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
38616         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
38617         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
38618         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
38619         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
38620         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
38621         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
38622         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
38623         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
38624         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
38625         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
38626         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
38627         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
38628         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
38629         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
38630         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
38631         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
38632         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
38633         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
38634         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
38635         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
38636         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
38637         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
38638         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
38639         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
38640         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
38641         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
38642         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
38643         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
38644         (R_ARM_THM_GOT_BREL12): Likewise.
38645         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
38646         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
38647         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
38648         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
38649         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
38650         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
38651         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
38652         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
38653         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
38655 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
38657         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
38658         __attribute_used__ to __attribute__ ((unused)).
38660 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38662         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
38663         powerpc mpa.c.
38664         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
38665         comment formatting.
38666         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
38668 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
38670         [BZ #13550]
38671         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
38672         Remove macro.
38673         (ENTER): Remove both macro definitions.
38674         (LEAVE): Likewise.
38675         (CHECK_BOUNDS_LOW): Likewise.
38676         (CHECK_BOUNDS_HIGH): Likewise.
38677         (CHECK_BOUNDS_BOTH): Likewise.
38678         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
38679         (RETURN_BOUNDED_POINTER): Likewise.
38680         (RETURN_NULL_BOUNDED_POINTER): Likewise.
38681         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
38682         (POP_ERRNO_LOCATION_RETURN): Likewise.
38683         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
38684         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38685         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
38686         macros.
38687         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38688         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
38689         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
38690         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
38691         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
38692         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
38693         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
38694         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
38695         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
38696         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
38697         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
38698         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
38699         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38700         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
38701         removed macros.
38702         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38703         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
38704         macros.
38705         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38706         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
38707         * sysdeps/i386/i586/memset.S (memset): Likewise.
38708         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
38709         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38710         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
38711         macros.
38712         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38713         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
38714         Change uses of L(2) to L(out).
38715         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
38716         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
38717         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
38718         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38719         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
38720         removed macros.
38721         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38722         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
38723         macros.
38724         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38725         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
38726         (RETURN): Do not use macro LEAVE.
38727         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
38728         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
38729         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
38730         * sysdeps/i386/i686/memset.S (memset): Likewise.
38731         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
38732         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
38733         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38734         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
38735         Likewise.
38736         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38737         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
38738         L(1_2) and L(1_3) into L(1).
38739         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
38740         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
38741         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38742         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
38743         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38744         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
38745         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
38746         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38747         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
38748         macros.
38749         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
38750         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38751         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
38752         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
38753         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
38754         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38755         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
38756         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
38757         * sysdeps/i386/strcspn.S (strcspn): Likewise.
38758         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
38759         * sysdeps/i386/strrchr.S (strrchr): Likewise.
38760         * sysdeps/i386/strspn.S (strspn): Likewise.
38761         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
38762         conditional code.
38763         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38764         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
38765         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
38766         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
38767         L(1_3) into L(1_1).
38768         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
38769         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38770         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
38771         macros.
38772         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38774 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
38776         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
38777         macro.
38779 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38781         * math/atest-exp.c (exp_mpn): Remove ROUND.
38782         * math/atest-exp2.c (exp_mpn): Likewise.
38783         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
38785         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
38786         * stdlib/tst-tls-atexit-lib.c: Likewise.
38787         * stdlib/tst-tls-atexit.c: Likewise.
38789 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38791         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
38792         and __attribute_alloc_size__.
38794 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38796         * include/programs/xmalloc.h: Change __attribute_alloc_size to
38797         __attribute_alloc_size__.
38798         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
38799         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
38801 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38803         * include/programs/xmalloc.h: New file.
38804         * catgets/gencat.c: Include it.
38805         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
38806         * elf/pldd.c: Likewise.
38807         * iconv/iconv_charmap.c: Likewise.
38808         * iconv/iconvconfig.c: Likewise.
38809         * iconv/strtab.c: Likewise.
38810         * locale/programs/locale.c: Likewise.
38811         * locale/programs/localedef.h: Likewise.
38812         * locale/programs/simple-hash.c: Likewise.
38813         * nscd/nscd.h: Likewise.
38814         * nss/makedb.c: Likewise.
38815         * sysdeps/generic/ldconfig.h: Likewise.
38817 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38819         * Versions.def: Add GLIBC_2.18.
38820         * include/link.h (struct link_map): New member l_tls_dtor_count.
38821         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
38822         (__call_tls_dtors): Likewise.
38823         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
38824         __cxa_thread_atexit_impl.
38825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38826         Likewise.
38827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38828         Likewise.
38829         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
38830         Likewise.
38831         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
38832         Likewise.
38833         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38834         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
38835         Likewise.
38836         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
38837         Likewise.
38838         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38839         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
38840         Likewise.
38841         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
38842         (tests): Add test case tst-tls-atexit.
38843         (modules-names): Add shared library for tst-tls-atexit.
38844         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
38845         (GLIBC_PRIVATE): Add __call_tls_dtors.
38846         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
38847         for libstdc++.
38848         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
38849         * stdlib/tst-tls-atexit.c: New test case.
38850         * stdlib/tst-tls-atexit-lib.c: New test case.
38852         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
38854         * elf/Versions (ld): Add _dl_find_dso_for_object.
38855         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
38856         * elf/dl-open.c (_dl_find_dso_for_object): New function.
38857         (dl_open_worker): Use _dl_find_dso_for_object.
38858         * elf/dl-sym.c (do_sym): Likewise.
38859         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
38861 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38863         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
38864         Syntactic changes only.
38865         (_dl_runtime_profile): Do a tail-call to the resolved function.
38867 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
38869         [BZ #13550]
38870         * sysdeps/x86_64/bp-asm.h: Remove file.
38871         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
38872         <bp-sym.h> and <bp-asm.h>.
38873         (__clone): Do not use BP_SYM.
38874         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
38875         <bp-sym.h> and <bp-asm.h>.
38876         * sysdeps/unix/x86_64/sysdep.S: Likewise.
38877         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
38878         "bp-asm.h".
38879         (_setjmp): Do not use BP_SYM.
38880         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
38881         "bp-asm.h".
38882         (setjmp): Do not use BP_SYM.
38883         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
38884         libc_hidden_def.
38885         (mempcpy): Do not use BP_SYM in weak_alias.
38886         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
38887         "bp-asm.h".
38888         (strchr): Do not use BP_SYM.
38889         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
38890         "bp-asm.h".
38891         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
38892         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
38893         (_start): Do not use BP_SYM.
38894         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
38895         "bp-asm.h".
38896         (strcat): Do not use BP_SYM.
38897         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
38898         "bp-asm.h".
38899         (STRCMP): Do not use BP_SYM.
38900         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
38901         "bp-asm.h".
38902         (STRCPY): Do not use BP_SYM.
38903         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
38904         "bp-asm.h".
38905         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
38906         "bp-asm.h".
38907         (FUNCTION): Do not use BP_SYM.
38908         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
38909         weak_alias.
38910         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
38912 2013-02-17  Andreas Jaeger  <aj@suse.de>
38914         * time/Versions: Sort entries.
38915         * string/Versions: Likewise.
38916         * resolv/Versions: Likewise.
38917         * posix/Versions: Likewise.
38918         * iconv/Versions: Likewise.
38919         * elf/Versions: Likewise.
38920         * wcsmbs/Versions: Likewise.
38922 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38924         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
38925         loop termination condition.
38927         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
38928         variable to calculate EZ.
38929         (__sqr): Likewise.
38931         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
38932         the lower precision input.
38934 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
38936         [BZ #13550]
38937         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
38938         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
38939         (run-via-rtld-prefix): Do not handle %-bp tests.
38940         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
38941         (all-object-suffixes): Remove .ob.
38942         (bppfx): Remove variable.
38943         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
38944         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
38945         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
38946         [$(build-bounded) = yes] (libtype.ob): Likewise.
38947         * Makerules (elide-routines.ob): Remove variable.
38948         (do-tests-clean): Do not handle *-bp.out.
38949         (common-mostlyclean): Do not handle *-bp and *-bp.out.
38950         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
38951         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
38952         (tests): Do not include $(tests-bp.out).
38953         (xtests): Do not include $(xtests-bp.out).
38954         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
38955         [$(build-bounded) = yes] ($(addprefix
38956         $(objpfx),$(binaries-bounded))): Remove rule.
38957         ($(objpfx)%-bp.out): Remove rule.
38958         * config.make.in (build-bounded): Remove variable.
38959         * crypt/Makefile [$(build-bounded) = yes]
38960         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
38961         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
38962         append to variable.
38963         [$(build-bounded) = yes] (install-lib): Likewise.
38964         [$(build-bounded) = yes] (generated): Likewise.
38965         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
38966         Remove rule.
38967         * intl/Makefile [$(build-bounded) = yes]
38968         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
38969         * math/Makefile [$(build-bounded) = yes]
38970         ($(tests:%=$(objpfx)%-bp): Likewise.
38971         * misc/Makefile [$(build-bounded) = yes]
38972         ($(objpfx)tst-tsearch-bp): Likewise.
38973         * nptl/Makeconfig (bounded-thread-library): Remove variable.
38974         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
38975         Remove dependency.
38976         * string/Makefile (o-objects.ob): Remove variable.
38977         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
38978         (CFLAGS-.ob): Remove variable.
38979         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
38980         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
38981         both definitions of variable.
38982         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
38983         (ASFLAGS-.ob): Remove variable.
38985 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
38987         [BZ #13550]
38988         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
38989         Remove __BOUNDED_POINTERS__ from condition.
38990         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
38991         * string/bits/string2.h [!__NO_STRING_INLINES &&
38992         !__BOUNDED_POINTERS__]: Likewise.
38993         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
38994         Likewise.
38995         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
38996         Remove conditional code.
38997         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
38998         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
38999         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
39000         condition.
39002         [BZ #13550]
39003         * csu/libc-start.c: Do not include <bp-sym.h>.
39004         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
39005         * elf/dl-open.c: Do not include <bp-sym.h>.
39006         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
39007         * math/fegetenv.c: Do not include <bp-sym.h>.
39008         (fegetenv): Do not use BP_SYM in versioned symbols.
39009         * nptl/sysdeps/pthread/bits/libc-lockP.h
39010         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
39011         <bp-sym.h>.
39012         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39013         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
39014         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39015         (__pthread_mutex_destroy): Likewise.
39016         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39017         (__pthread_mutex_lock): Likewise.
39018         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39019         (__pthread_mutex_trylock): Likewise.
39020         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39021         (__pthread_mutex_unlock): Likewise.
39022         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39023         (__pthread_mutexattr_init): Likewise.
39024         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39025         (__pthread_mutexattr_destroy): Likewise.
39026         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39027         (__pthread_mutexattr_settype): Likewise.
39028         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39029         (__pthread_rwlock_init): Likewise.
39030         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39031         (__pthread_rwlock_destroy): Likewise.
39032         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39033         (__pthread_rwlock_rdlock): Likewise.
39034         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39035         (__pthread_rwlock_tryrdlock): Likewise.
39036         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39037         (__pthread_rwlock_wrlock): Likewise.
39038         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39039         (__pthread_rwlock_trywrlock): Likewise.
39040         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39041         (__pthread_rwlock_unlock): Likewise.
39042         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39043         (__pthread_key_create): Likewise.
39044         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39045         (__pthread_setspecific): Likewise.
39046         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39047         (__pthread_getspecific): Likewise.
39048         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
39049         Likewise.
39050         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39051         (_pthread_cleanup_push_defer): Likewise.
39052         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39053         (_pthread_cleanup_pop_restore): Likewise.
39054         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39055         (pthread_setcancelstate): Likewise.
39056         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
39057         <bp-sym.h>.
39058         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
39059         (memchr): Do not use BP_SYM in weak_alias.
39060         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
39061         (fegetenv): Do not use BP_SYM in versioned symbols.
39062         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
39063         (fesetenv): Do not use BP_SYM in versioned symbols.
39064         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
39065         (feupdateenv): Do not use BP_SYM in versioned symbols.
39066         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
39067         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
39068         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
39069         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
39070         (open64): Do not use BP_SYM in weak_alias.
39071         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
39072         (fegetenv): Do not use BP_SYM in versioned symbols.
39073         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
39074         (fesetenv): Do not use BP_SYM in versioned symbols.
39075         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
39076         (feupdateenv): Do not use BP_SYM in versioned symbols.
39077         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
39078         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
39079         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
39080         (feraiseexcept): Do not use BP_SYM in versioned symbols.
39081         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
39082         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
39083         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
39084         <bp-sym.h>.
39085         (__libc_start_main): Do not use BP_SYM.
39087 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
39089         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
39090         redundant return line.
39091         (norm): Likewise.
39092         (denorm): Likewise.
39093         (dbl_mp): Likewise.
39094         (sub_magnitudes): Likewise.
39095         (__add): Likewise.
39096         (__sub): Likewise.
39097         (__mul): Likewise.
39098         (__inv): Likewise.
39099         (__dvd): Likewise.
39100         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
39101         (norm): Likewise.
39102         (denorm): Likewise.
39103         (dbl_mp): Likewise.
39104         (sub_magnitudes): Likewise.
39105         (__add): Likewise.
39106         (__sub): Likewise.
39107         (__mul): Likewise.
39108         (__inv): Likewise.
39109         (__dvd): Likewise.
39111         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
39112         instead of __mul.
39113         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
39114         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
39115         (cc32): Likewise.
39117         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
39118         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
39119         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
39120         of __mul for squares.
39121         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
39122         function
39123         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
39124         Likewise.
39125         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
39126         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39128 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
39130         [BZ #13550]
39131         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
39132         code.
39133         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
39134         prototype or function definition.  Rename ubp_* variables and
39135         parameters.  Remove argv definitions conditional on
39136         [__BOUNDED_POINTERS__].
39137         * debug/backtrace.c (__backtrace): Do not use __unbounded.
39138         * elf/dl-runtime.c (_dl_fixup): Likewise.
39139         * include/set-hooks.h (RUN_HOOK): Likewise.
39140         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
39141         definition.
39142         * string/strcpy.c (strcpy): Do not use __unbounded.
39143         * sysdeps/generic/frame.h (struct layout): Likewise.
39144         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
39145         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
39146         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
39147         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
39148         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
39149         (__backtrace): Likewise.
39150         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
39151         use __ptrvalue.
39152         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
39153         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
39154         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
39155         Likewise.
39156         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
39157         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
39158         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
39159         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
39160         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
39161         Do not use __unbounded.
39162         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
39163         Rename __unboundedrlimits parameter to rlimits in prototype.
39164         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
39165         Do not use __unbounded.
39166         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
39167         not use __ptrvalue.
39168         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
39169         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
39170         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
39171         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
39172         __ptrvalue or __unbounded.
39173         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
39174         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
39175         use __unbounded.
39176         (__new_msgctl): Do not use __ptrvalue.
39177         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
39178         __unbounded.
39179         (__libc_msgrcv): Do not use __ptrvalue.
39180         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
39181         startup_info): Do not use __unbounded.
39182         (__libc_start_main): Likewise.  Rename ubp_* variables and
39183         parameters.  Remove argv definitions conditional on
39184         [__BOUNDED_POINTERS__].
39185         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
39186         __ptrvalue.
39187         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
39188         use __unbounded.
39189         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
39190         or __ptrvalue.
39191         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
39192         use __unbounded.
39193         (__new_shmctl): Do not use __ptrvalue.
39194         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
39195         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
39196         Likewise.
39197         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
39198         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
39199         (__libc_sigaction): Likewise.
39200         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
39201         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
39202         Likewise.
39203         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
39205 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
39207         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
39209         * string/mempcpy.c: Implement by calling memcpy.
39211 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
39213         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
39215         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
39216         evaluation.
39218         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
39219         values in the mantissa.
39221         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
39222         minimize writes to Z.
39223         (sub_magnitudes): Simplify code a bit.
39225 2013-02-12  Roland McGrath  <roland@hack.frob.com>
39227         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
39228         from the message.  The linker prefixes all warnings with that already.
39230 2013-02-12  Andreas Schwab  <schwab@suse.de>
39232         [BZ #15078]
39233         * posix/regexec.c (extend_buffers): Add parameter min_len.
39234         (check_matching): Pass minimum needed length.
39235         (clean_state_log_if_needed): Likewise.
39236         (get_subexp): Likewise.
39237         * posix/Makefile (tests): Add bug-regex34.
39238         (bug-regex34-ENV): Define.
39239         * posix/bug-regex34.c: New file.
39241         [BZ #11561]
39242         * posix/regcomp.c (parse_bracket_exp): When looking up collating
39243         elements compare against the byte sequence of it, not its name.
39244         * posix/Makefile (tests): Add bug-regex35.
39245         (bug-regex35-ENV): Define.
39246         * posix/bug-regex35.c: New file.
39248 2013-02-11  Tom de Vries  <tom@codesourcery.com>
39250         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
39251         comment.
39252         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
39253         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
39254         (CHECK_EOL): Add undef.
39256 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
39258         * bits/stdlib-bsearch.h: New file.
39259         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
39260         * stdlib/stdlib.h: Likewise.
39262 2013-02-11  Roland McGrath  <roland@hack.frob.com>
39264         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
39265         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
39266         declaration.
39267         * manual/search.texi (Array Search Function): Add missing const in
39268         lfind prototype.
39269         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
39270         declaration to use rlim_t.
39271         (Basic Scheduling Functions): Remove erroneous const from
39272         sched_getparam prototype.  Remove erroneous * from
39273         sched_get_priority_max and sched_get_priority_min prototypes.
39274         (Resource Usage): Fix summary @comment on vtimes to refer to
39275         sys/vtimes.h rather than vtimes.h.
39276         Add missing *s in vtimes prototype.
39277         (Limits on Resources): Fix ulimit prototype to return long int.
39278         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
39279         prototypes to use long int rather than double.
39280         (BSD Random): Fix initstate and setstate to use char *, not void *.
39281         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
39282         prototype to make second argument 'struct aiocb64 *const[]'.
39283         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
39284         (Status of AIO Operations): Remove erroneous const in aio_return and
39285         aio_return64 prototypes.
39286         (Synchronizing I/O): Fix sync prototype to return void.
39287         * manual/startup.texi (Suboptions): Remove an erroneous const in
39288         getsubopt prototype.
39289         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
39290         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
39291         use size_t rather than int.
39292         (Scanning All Users): Likewise for getpwent_r.
39293         (Setting Groups): Add missing const to setgroups prototype.
39294         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
39295         * manual/socket.texi (Host Names): Fix gethostbyaddr and
39296         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
39297         'const void *' rather than 'const char *'.
39298         (Host Address Functions): Likewise for inet_ntop.
39299         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
39300         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
39301         ssize_t for return value.
39302         (Sending Data): Likewise for send, sendto, sendmsg.
39303         (Socket Option Functions): Add a missing const in setsockopt prototype.
39304         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
39305         use wchar_t for the argument.
39306         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
39307         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
39308         take no arguments.
39309         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
39310         double/float/long double for second argument.
39311         Fix return types of significand, significandf, significandl.
39312         * manual/filesys.texi (Setting Permissions): Use mode_t for second
39313         argument in fchmod prototype.
39314         (File Owner): Use uid_t and gid_t in fchown prototype.
39315         (File Times): Add const to utimes, futimes, and lutimes prototypes.
39316         (Making Special Files): Use mode_t and dev_t in mknod prototype.
39317         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
39318         use 'const struct dirent **' as argument types to CMP function pointer
39319         argument.
39320         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
39321         (File Times): Fix summary magic @comment for struct utimbuf and utime
39322         to refer to utime.h, not time.h.
39323         * manual/string.texi (Argz Functions): Add missing const in
39324         argz_extract and argz_next prototypes.
39325         (Finding Tokens in a String): Likewise for basename.
39326         (String/Array Comparison): Fix typo in wcscasecmp prototype.
39327         (Copying and Concatenation): Fix typo in wmemmove prototype.
39328         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
39329         (Signal Stack): Remove erroneous const in sigstack prototype.
39330         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
39331         prototype.
39332         (Simple Calendar Time): Likewise for stime.
39333         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
39334         prototype.
39335         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
39336         say sys/sysctl.h instead.
39337         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
39338         and vsyslog prototypes.
39340 2013-02-11  Tom de Vries  <tom@codesourcery.com>
39342         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
39343         Remove.
39345 2013-02-11  Roland McGrath  <roland@hack.frob.com>
39347         * misc/sys/mman.h: Fix typo in mremap comment.
39349 2013-02-08  Roland McGrath  <roland@hack.frob.com>
39351         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
39352         the '\0' terminator.
39354 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
39356         [BZ #13550]
39357         * debug/segfault.c: Don't include <bp-checks.h>.
39358         * sysdeps/generic/bp-checks.h: Remove file.
39359         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
39360         (__GETDENTS): Don't use CHECK_N.
39361         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
39362         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
39363         (__getgroups): Don't use CHECK_N.
39364         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
39365         (setgroups): Don't use CHECK_N.
39366         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
39367         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
39368         (__libc_msgrcv): Don't use CHECK_N.
39369         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
39370         (__libc_msgsnd): Don't use CHECK_N.
39371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
39372         <bp-checks.h>.
39373         (__libc_pread): Don't use CHECK_N.
39374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
39375         include <bp-checks.h>.
39376         (__libc_pread64): Don't use CHECK_N.
39377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
39378         include <bp-checks.h>.
39379         (__libc_pwrite): Don't use CHECK_N.
39380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
39381         include <bp-checks.h>.
39382         (__libc_pwrite64): Don't use CHECK_N.
39383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
39384         <bp-checks.h>.
39385         (__libc_pread): Don't use CHECK_N.
39386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
39387         include <bp-checks.h>.
39388         (__libc_pread64): Don't use CHECK_N.
39389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
39390         include <bp-checks.h>.
39391         (__libc_pwrite): Don't use CHECK_N.
39392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
39393         include <bp-checks.h>.
39394         (__libc_pwrite64): Don't use CHECK_N.
39395         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
39396         (do_pread): Don't use CHECK_N.
39397         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
39398         (do_pread64): Don't use CHECK_N.
39399         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
39400         (do_pwrite): Don't use CHECK_N.
39401         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
39402         (do_pwrite64): Don't use CHECK_N.
39403         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
39404         (__libc_readv): Don't use CHECK_N.
39405         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
39406         (semop): Don't use CHECK_N.
39407         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
39408         <bp-checks.h>.
39409         (semtimedop): Don't use CHECK_N.
39410         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
39411         (__libc_pread): Don't use CHECK_N.
39412         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
39413         <bp-checks.h>.
39414         (__libc_pread64): Don't use CHECK_N.
39415         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
39416         <bp-checks.h>.
39417         (__libc_pwrite): Don't use CHECK_N.
39418         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
39419         <bp-checks.h>.
39420         (__libc_pwrite64): Don't use CHECK_N.
39421         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
39422         <bp-checks.h>.
39423         (__libc_msgrcv): Don't use CHECK_N.
39424         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
39425         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
39426         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
39427         (__libc_writev): Don't use CHECK_N.
39429 2013-02-08  Roland McGrath  <roland@hack.frob.com>
39431         * string/strcpy.c: Removed unused variable.
39433         * Makeconfig (+sysdep-includes): Define with := rather than =.
39434         Use an existing include/ subdir of each sysdeps dir before it.
39436 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
39438         * nscd/connection.c (register_traced_file): Comment function.
39439         [HAVE_INOTIFY] (union __inev): Define.
39440         [HAVE_INOTIFY] (inotify_check_files): New function.
39441         [HAVE_INOTIFY] (clear_db_cache): Likewise.
39442         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
39443         clear_db_cache.
39444         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
39446 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
39448         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
39449         loaded if not already and that a failure is permanent.
39451 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
39453         [BZ #15006]
39454         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
39455         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
39457 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
39459         [BZ #13550]
39460         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
39461         (CHECK_1_NULL_OK): Likewise.
39462         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
39463         (__fxstat): Do not use CHECK_1.
39464         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
39465         <bp-checks.h>.
39466         (___fxstat64): Do not use CHECK_1.
39467         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
39468         <bp-checks.h>.
39469         (__fxstatat): Do not use CHECK_1.
39470         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
39471         <bp-checks.h>.
39472         (__fxstatat64): Do not use CHECK_1.
39473         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
39474         <bp-checks.h>.
39475         (__fxstat): Do not use CHECK_1.
39476         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
39477         <bp-checks.h>.
39478         (__fxstatat): Do not use CHECK_1.
39479         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
39480         <bp-checks.h>.
39481         (__getresgid): Do not use CHECK_1.
39482         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
39483         <bp-checks.h>.
39484         (__getresuid): Do not use CHECK_1.
39485         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
39486         <bp-checks.h>.
39487         (__lxstat): Do not use CHECK_1.
39488         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
39489         <bp-checks.h>.
39490         (__old_msgctl): Do not use CHECK_1.
39491         (__new_msgctl): Likewise.
39492         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
39493         <bp-checks.h>.
39494         (__new_setrlimit): Do not use CHECK_1.
39495         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
39496         <bp-checks.h>.
39497         (__old_shmctl): Do not use CHECK_1.
39498         (__new_shmctl): Likewise.
39499         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
39500         <bp-checks.h>.
39501         (__xstat): Do not use CHECK_1.
39502         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
39503         (__lxstat): Do not use CHECK_1.
39504         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
39505         <bp-checks.h>.
39506         (___lxstat64): Do not use CHECK_1.
39507         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
39508         (__old_msgctl): Do not use CHECK_1.
39509         (__new_msgctl): Likewise.
39510         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
39511         <bp-checks.h>.
39512         (__gettimeofday): Do not use CHECK_1.
39513         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
39514         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
39515         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
39516         <bp-checks.h>.
39517         (__gettimeofday): Do not use CHECK_1.
39518         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
39519         (__old_shmctl): Do not use CHECK_1_NULL_OK.
39520         (__new_shmctl): Do not use CHECK_1.
39521         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
39522         <bp-checks.h>.
39523         (do_sigtimedwait): Do not use CHECK_1.
39524         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
39525         <bp-checks.h>.
39526         (do_sigwaitinfo): Do not use CHECK_1.
39527         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
39528         <bp-checks.h>.
39529         (msgctl): Do not use CHECK_1.
39530         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
39531         <bp-checks.h>.
39532         (shmctl): Do not use CHECK_1.
39533         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
39534         (ustat): Do not use CHECK_1.
39535         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
39536         <bp-checks.h>.
39537         (__fxstat): Do not use CHECK_1.
39538         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
39539         <bp-checks.h>.
39540         (__fxstatat): Do not use CHECK_1.
39541         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
39542         <bp-checks.h>.
39543         (__lxstat): Do not use CHECK_1.
39544         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
39545         <bp-checks.h>.
39546         (__xstat): Do not use CHECK_1.
39547         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
39548         (__xstat): Do not use CHECK_1.
39549         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
39550         (___xstat64): Do not use CHECK_1.
39552         [BZ #13550]
39553         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
39554         definitions.
39555         (CHECK_BOUNDS_HIGH): Likewise.
39556         * string/strcpy.c: Do not include <bp-checks.h>.
39557         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
39559 2013-02-07  Roland McGrath  <roland@hack.frob.com>
39561         * nscd/nscd-client.h (__nscd_drop_map_ref):
39562         Add __attribute__ ((unused)).
39563         * nis/nss-nisplus.h (niserr2nss): Likewise.
39565         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
39566         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
39568         * csu/libc-tls.c (init_static_tls, init_slotinfo):
39569         Remove inline keyword.
39570         * include/rounding-mode.h (round_away): Likewise.
39571         * libio/wfileops.c (adjust_wide_data): Likewise.
39572         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
39573         (__m128i_strloadu_tolower): Likewise.
39574         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
39575         (__m128i_strloadu_tolower): Likewise.
39576         * time/mktime.c (ydhms_diff): Likewise.
39577         * locale/elem-hash.h (elem_hash): Likewise.
39578         * locale/setlocale.c (setdata): Likewise.
39579         * posix/regex_internal.h (re_string_char_size_at): Likewise.
39580         (re_string_wchar_at): Likewise.
39581         (bitset_not, bitset_merge, bitset_mask): Likewise.
39582         [!(__GNUC__ > 3)] (inline): Remove macro.
39583         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
39584         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
39585         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
39586         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
39587         * string/memcmp.c (memcmp_bytes): Likewise.
39588         * locale/programs/locarchive.c (compute_hashval): Likewise.
39589         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
39590         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
39591         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
39592         * nss/getent.c (print_rpc, print_protocols): Likewise.
39593         (print_passwd, print_group, print_aliases): Likewise.
39594         * nis/nss-nisplus.h (niserr2nss): Likewise.
39595         * nscd/connections.c (restart_p): Likewise.
39596         Change return type to bool.
39598 2013-02-05  Roland McGrath  <roland@hack.frob.com>
39600         * Makeconfig (all-Depend-files): Add existing
39601         $(sorted-subdirs:=/Depend) files.
39602         (all-subdirs): Remove nss.
39603         * sysdeps/unix/inet/Subdirs: Add it here instead.
39604         * hesiod/Depend: New file.
39606         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
39607         instead of calling alloca.
39609         * io/lseek.c (__lseek): Rename to __libc_lseek.
39610         Define __lseek as an alias.
39612         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
39614 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
39616         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
39617         else clause and remove check for non-standard endianness.
39619 2013-02-04  David S. Miller  <davem@davemloft.net>
39621         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39623 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
39625         [BZ #13550]
39626         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
39627         (__ubp_memchr): Remove prototype.
39628         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
39629         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
39630         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
39631         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
39632         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
39633         Remove alias.
39634         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
39635         (__ubp_memchr): Likewise.
39636         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
39637         (__ubp_memchr): Likewise.
39638         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
39639         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
39640         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
39641         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
39642         CHECK_STRING.
39643         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
39644         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
39645         (__getcwd): Do not use CHECK_STRING.
39646         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
39647         <bp-checks.h>.
39648         (__real_chown): Do not use CHECK_STRING.
39649         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
39650         <bp-checks.h>.
39651         (fchownat): Do not use CHECK_STRING.
39652         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
39653         CHECK_STRING.
39654         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
39655         <bp-checks.h>.
39656         (__lchown): Do not use CHECK_STRING.
39657         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
39658         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
39659         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
39660         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
39661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39662         include <bp-checks.h>.
39663         (truncate64): Do not use CHECK_STRING.
39664         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
39665         <bp-checks.h>.
39666         (__real_chown): Do not use CHECK_STRING.
39667         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
39668         <bp-checks.h>.
39669         (__lchown): Do not use CHECK_STRING.
39670         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
39671         <bp-checks.h>.
39672         (__chown): Do not use CHECK_STRING.
39673         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
39674         <bp-checks.h>.
39675         (truncate64): Do not use CHECK_STRING.
39676         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
39677         Likewise.
39678         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
39679         (__xmknod): Do not use CHECK_STRING.
39680         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
39681         <bp-checks.h>.
39682         (__xmknodat): Do not use CHECK_STRING.
39683         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
39684         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
39686 2013-02-04  Andreas Schwab  <schwab@suse.de>
39688         [BZ #14142]
39689         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
39690         * include/netdb.h: Likewise for h_errno.
39691         * elf/tst-stackguard1.c: Include <tls.h>.
39693 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
39695         * elf/link.h (struct link_map): Extend the l_addr comment.
39696         * include/link.h (struct link_map): Likewise.
39698 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
39700         [BZ #13550]
39701         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
39702         (BOUNDED_1): Remove macro.
39703         * debug/backtrace.c: Don't include <bp-checks.h>.
39704         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
39705         (__backtrace): Likewise.
39706         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
39707         <bp-checks.h>.
39708         (__backtrace): Don't use BOUNDED_1.
39709         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
39710         <bp-checks.h>.
39711         (__backtrace): Don't use BOUNDED_1.
39712         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
39713         (__backtrace): Don't use BOUNDED_1.
39714         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
39715         (shmat): Don't use BOUNDED_N.
39717 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
39719         [BZ #13550]
39720         * sysdeps/generic/bp-start.h: Remove file.
39721         * csu/libc-start.c: Don't include <bp-start.h>.
39722         (LIBC_START_MAIN): Set up __environ directly instead of using
39723         INIT_ARGV_and_ENVIRON.
39724         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
39725         <bp-start.h>.
39727         [BZ #13550]
39728         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
39729         definitions.
39730         (CHECK_FCNTL): Likewise.
39731         (CHECK_N_PAGES): Likewise.
39733         [BZ #13550]
39734         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
39735         definitions.
39736         (CHECK_SIGSET_NULL_OK): Likewise.
39737         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
39738         <bp-checks.h>.
39739         (sigpending): Don't use CHECK_SIGSET.
39740         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
39741         <bp-checks.h>.
39742         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39743         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
39744         <bp-checks.h>.
39745         (do_sigsuspend): Don't use CHECK_SIGSET.
39746         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
39747         use CHECK_SIGSET.
39748         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
39749         (do_sigwait): Don't use CHECK_SIGSET.
39750         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
39751         use CHECK_SIGSET.
39752         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
39753         include <bp-checks.h>.
39754         (sigpending): Don't use CHECK_SIGSET.
39755         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
39756         include <bp-checks.h>.
39757         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39758         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
39759         <bp-checks.h>.
39760         (sigpending): Don't use CHECK_SIGSET.
39761         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
39762         <bp-checks.h>.
39763         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39765         [BZ #13550]
39766         * sysdeps/generic/bp-semctl.h: Remove file.
39767         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
39768         <bp-checks.h> and <bp-semctl.h>.
39769         (__old_semctl): Don't use CHECK_SEMCTL.
39770         (__new_semctl): Likewise.
39771         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
39772         and <bp-semctl.h>.
39773         (__old_semctl): Don't use CHECK_SEMCTL.
39774         (__new_semctl): Likewise.
39775         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
39776         <bp-checks.h> and <bp-semctl.h>.
39777         (__old_semctl): Don't use CHECK_SEMCTL.
39778         (__new_semctl): Likewise.
39779         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
39780         <bp-checks.h> and <bp-semctl.h>.
39781         (semctl): Don't use CHECK_SEMCTL.
39783         [BZ #13550]
39784         * Makerules (elide-bp-thunks): Remove variable.
39785         (elide-routines.oS): Don't use $(elide-bp-thunks).
39786         (elide-routines.os): Likewise.
39787         (elide-routines.o): Likewise.
39788         (elide-routines.op): Likewise.
39789         (elide-routines.og): Likewise.
39790         (objects): Don't use $(bp-thunks).
39791         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
39792         include.
39793         (common-generated): Do not add s-proto-bp.d.
39794         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
39795         (int): Likewise.
39796         (typ): Likewise.
39797         Do not generate makefile rules for bounded-pointer thunks.
39798         * sysdeps/generic/bp-thunks.h: Remove file.
39799         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
39800         * sysdeps/unix/s-proto-bp.S: Likewise.
39802         [BZ #15062]
39803         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
39804         parts of result separately when argument is not close to line from
39805         -i to i and one part of argument is small.
39806         * math/k_casinhf.c (__kernel_casinhf): Likewise.
39807         * math/k_casinhl.c (__kernel_casinhl): Likewise.
39808         * math/libm-test.inc (cacos_test): Add more tests.
39809         (casin_test): Likewise.
39810         (casinh_test): Likewise.
39811         * sysdeps/i386/fpu/libm-test-ulps: Update.
39812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39814 2013-01-31  David S. Miller  <davem@davemloft.net>
39816         * po/de.po: Update from translation team.
39818 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
39820         * time/tzfile.c: Include stdint.h for SIZE_MAX.
39822 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
39824         * configure.in (_AC_PROG_CC_C89): New definition.
39825         * configure: Regenerate.
39827         * configure.in (AC_PROG_CPP): New definition.
39828         * configure: Regenerate.
39830 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
39832         * debug/tst-backtrace.h: New file.
39833         * debug/tst-backtrace2.c: Include tst-backtrace.h.
39834         (ret): Remove variable.
39835         (x): Likewise.
39836         (FAIL): Remove macro.
39837         (NO_INLINE): Likewise.
39838         (fn1): Use match function instead of strstr.
39839         * debug/tst-backtrace3.c: Include tst-backtrace.h.
39840         (ret): Remove variable.
39841         (x): Likewise.
39842         (FAIL): Remove macro.
39843         (NO_INLINE): Likewise.
39844         (fn): Use match function instead of strstr.
39845         * debug/tst-backtrace4.c: Include tst-backtrace.h.
39846         (ret): Remove variable.
39847         (x): Likewise.
39848         (FAIL): Remove macro.
39849         (NO_INLINE): Likewise.
39850         (handle_signal): Use match function instead of strstr.
39851         * debug/tst-backtrace5.c: Include tst-backtrace.h.
39852         (ret): Remove variable.
39853         (x): Likewise.
39854         (FAIL): Remove macro.
39855         (NO_INLINE): Likewise.
39856         (handle_signal): Use match function instead of strstr.
39858 2013-01-23  Roland McGrath  <roland@hack.frob.com>
39860         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
39862 2013-01-23  David S. Miller  <davem@davemloft.net>
39864         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
39865         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
39866         argument of CAS if possible.
39867         * sysdeps/sparc/sparc64/bits/atomic.h
39868         (__arch_compare_and_exchange_val_32_acq): Likewise.
39869         (__arch_compare_and_exchange_val_64_acq): Likewise.
39871 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
39873         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
39874         * sysdeps/posix/ulimit.c: ... this.
39875         Include <limits.h>.
39876         * sysdeps/unix/bsd/ulimit.c: Remove file.
39878 2013-01-23  Adam Conrad  <adconrad@0c3.net>
39880         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
39881         (LDFLAGS-tst-array5): Likewise.
39883 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
39885         [BZ #15036]
39886         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
39887         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
39888         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
39889         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
39891 2013-01-21  David S. Miller  <davem@davemloft.net>
39893         * sysdeps/sparc/backtrace.c: New file.
39894         * sysdeps/sparc/sparc32/backtrace.h: New file.
39895         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
39896         * sysdeps/sparc/sparc64/backtrace.h: New file.
39897         * sysdeps/sparc/sparc64/backtrace.c: Delete.
39898         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
39899         -funwind-tables.
39901 2013-01-21  Andreas Schwab  <schwab@suse.de>
39903         [BZ #15020]
39904         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
39905         closed its stdout.
39907 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
39909         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
39910         "mpa2.h".
39911         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39913 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
39914             Mark Mitchell  <mark@codesourcery.com>
39915             Tom de Vries  <tom@codesourcery.com>
39916             Paul Pluzhnikov  <ppluzhnikov@google.com>
39918         * debug/tst-backtrace2.c: New file.
39919         * debug/tst-backtrace3.c: Likewise.
39920         * debug/tst-backtrace4.c: Likewise.
39921         * debug/tst-backtrace5.c: Likewise.
39922         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
39923         (CFLAGS-tst-backtrace3.c): Likewise.
39924         (CFLAGS-tst-backtrace4.c): Likewise.
39925         (CFLAGS-tst-backtrace5.c): Likewise.
39926         (LDFLAGS-tst-backtrace2): Likewise.
39927         (LDFLAGS-tst-backtrace3): Likewise.
39928         (LDFLAGS-tst-backtrace4): Likewise.
39929         (LDFLAGS-tst-backtrace5): Likewise.
39930         (tests): Add new tests tst-backtrace2, tst-backtrace3,
39931         tst-backtrace4 and tst-backtrace5.
39933 2013-01-18  Anton Blanchard  <anton@samba.org>
39934             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39936         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
39937         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
39938         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
39939         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
39940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39941         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
39942         "+r" and remove output regs list as redundant.  Add explicit inline
39943         asm to specify register of return val to work around compiler codegen
39944         bug.  Remove (int) cast on return value.  Add return type parameter to
39945         use in macro so that this macro does not truncate return value for
39946         64-bit values.
39947         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
39948         pass to INTERNAL_VSYSCALL_NCS.
39949         (INLINE_VSYSCALL): Add 'long int' as return type to
39950         INTERNAL_VSYSCALL_NCS macro invocation.
39951         (INTERNAL_VSYSCALL): Add 'long int' as return type to
39952         INTERNAL_VSYSCALL_NCS macro invocation.
39953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39955 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
39957         [BZ #14496]
39958         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
39959         Fix application of SIMD FP exception mask.
39961         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
39962         mp_no from a power of two.
39963         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
39964         __mpexp_twomm1.  Use __pow_mp.
39966         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
39967         multiplication.
39969 2013-01-17  David S. Miller  <davem@davemloft.net>
39971         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39973 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
39975         [BZ #15023]
39976         * include/complex.h: Condition contents on [!_COMPLEX_H].
39977         (__kernel_casinhf): New prototype.
39978         (__kernel_casinh): Likewise.
39979         (__kernel_casinhl): Likewise.
39980         * math/Makefile (libm_calls): Add k_casinh.
39981         * math/k_casinh.c: New file.
39982         * math/k_casinhf.c: Likewise.
39983         * math/k_casinhl.c: Likewise.
39984         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
39985         finite nonzero arguments.
39986         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
39987         finite nonzero arguments.
39988         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
39989         finite nonzero arguments.
39990         * math/s_casinh.c: Do not include <float.h>.
39991         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
39992         * math/s_casinhf.c: Do not include <float.h>.
39993         (__casinhf): Move code for finite nonzero arguments to
39994         k_casinhf.c.
39995         * math/s_casinhl.c: Do not include <float.h>.
39996         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
39997         redefine.
39998         (__casinhl): Move code for finite nonzero arguments to
39999         k_casinhl.c.
40000         * math/libm-test.inc (cacos_test): Add more tests.
40001         * sysdeps/i386/fpu/libm-test-ulps: Update.
40002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40004 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
40006         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
40007         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
40008         [!HAVE_MREMAP]: Remove [defined linux] case.
40009         * malloc/arena.c: Do not include <malloc-sysdep.h>.
40011 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
40013         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
40015 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
40017         * elf/elf.h (R_386_SIZE32): New relocation.
40018         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
40019         R_386_SIZE32.
40020         (elf_machine_rela): Likewise.
40021         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
40022         R_X86_64_SIZE64 and R_X86_64_SIZE32.
40024 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
40026         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
40027         (FP_FAST_FMA): Do not define.
40028         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
40029         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
40030         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
40031         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
40032         !_SOFT_FLOAT]: Likewise.
40033         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
40034         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
40035         value.
40036         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
40037         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
40038         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
40039         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
40040         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
40041         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
40042         file.
40044 2013-01-16  Andreas Schwab  <schwab@suse.de>
40046         [BZ #14327]
40047         * include/stdlib.h (__mktemp): Add declaration.
40048         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
40049         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
40051 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40053         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
40054         definitions.
40055         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
40056         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
40057         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
40058         definitions here.
40059         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
40060         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
40061         definitions.
40062         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
40063         and ONE.
40064         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
40065         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
40066         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
40067         definitions.
40068         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
40069         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
40070         definitions.
40071         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
40073         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
40075 2013-01-15  David S. Miller  <davem@davemloft.net>
40077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40078         trunc{,f} to libm-sysdep_routes.
40079         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
40081         file.
40082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
40083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
40084         file.
40085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
40086         file.
40087         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
40088         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
40089         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
40090         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
40091         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
40092         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
40093         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
40094         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
40096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40097         nearbyint{,f} to libm-sysdep_routes.
40098         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
40100         New file.
40101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
40102         file.
40103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
40104         New file.
40105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
40106         file.
40107         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
40108         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
40109         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
40110         file.
40111         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
40112         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
40113         file.
40114         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
40115         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
40116         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
40118         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
40119         libc_feholdexcept and libc_fesetenv.
40121 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
40123         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
40125 2013-01-14  David S. Miller  <davem@davemloft.net>
40127         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
40128         (SPARC_ASM_VIS2_IFUNC): Likewise.
40129         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
40130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
40131         use of 'siam' instruction.
40132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
40133         Likewise.
40134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
40135         Likewise.
40136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
40137         Likewise.
40138         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
40139         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
40140         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
40141         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
40142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
40143         file.
40144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
40145         file.
40146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
40147         file.
40148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
40149         file.
40150         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
40151         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
40152         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
40153         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
40154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
40155         new VIS2 routines.
40156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
40157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40159         Likewise.
40160         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40161         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40162         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40163         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
40165         routines to libm-sysdep_routines.
40166         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40169         fdim/fdimf to libm-sysdep_routines.
40170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
40171         file.
40172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
40173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
40174         file.
40175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
40176         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
40177         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
40178         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
40179         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
40180         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
40181         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
40183 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
40185         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
40186         to optimize copies.
40188         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
40189         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40190         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40192         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
40193         local variable MPTWO.
40194         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
40195         Likewise.
40197 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
40199         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
40200         GLOB_NOESCAPE.
40202 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
40204         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
40206 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
40208         * manual/pattern.texi (glob_t): Document gl_flags.
40209         (glob64_t): Likewise.
40211 2013-01-11  David S. Miller  <davem@davemloft.net>
40213         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
40214         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
40215         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
40216         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
40217         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
40218         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
40219         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
40220         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
40221         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
40222         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
40223         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
40224         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
40225         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
40227         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
40228         sparc V9 rather than using V8 code.
40229         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
40230         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
40232         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40233         Move to...
40234         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
40235         Here.
40237 2013-01-11  Roland McGrath  <roland@hack.frob.com>
40239         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
40240         not in the main loop.
40241         * configure: Regenerated.
40243 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
40245         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
40246         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
40247         to just #else.
40248         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
40249         [!__GLIBC_HAVE_LONG_LONG] case.
40250         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
40251         condition to just #else.
40252         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
40253         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
40254         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
40255         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
40256         unconditional.
40257         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
40258         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
40259         #elif condition to just #else.
40260         * sysdeps/unix/sysv/linux/sys/sysmacros.h
40261         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
40262         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
40263         #elif condition to just #else.
40265 2013-01-11  Steve Ellcey  <sellcey@mips.com>
40267         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
40268         (EF_MIPS_ARCH_64): Fix value.
40269         (EF_MIPS_ARCH_32R2): New.
40270         (EF_MIPS_ARCH_64R2): New.
40272 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
40274         * Makeconfig (+link-pie-before-libc): New.
40275         (+link-pie-after-libc): Likewise.
40276         (+link-pie-tests): Likewise.
40277         (+link-pie): Rewritten.
40278         (link-before-libc): Remove $(config-LDFLAGS).
40279         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
40280         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
40281         (config-LDFLAGS): Renamed to ...
40282         (rtld-LDFLAGS): This.
40283         (rtld-tests-LDFLAGS): New macro.
40284         (link-libc-rpath-link): Likewise.
40285         (link-libc-tests-rpath-link): Likewise.
40286         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
40287         (link-libc): Prepand $(link-libc-rpath-link).
40288         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
40289         (test-program-prefix): New macro.
40290         (test-via-rtld-prefix): Likewise.
40291         (test-program-cmd): Likewise.
40292         (host-test-program-cmd): Likewise.
40293         * Makefile ($(common-objpfx)testrun.sh): Replace
40294         $(run-program-prefix) with $(test-program-prefix).
40295         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
40296         $(rtld-LDFLAGS).
40297         ($(common-objpfx)shlib.lds): Likewise.
40298         (build-module-helper): Likewise.
40299         ($(common-objpfx)format.lds): Likewise.
40300         * Rules (binaries-pie-tests): New.
40301         (binaries-pie-notests): Likewise.
40302         (binaries-pie): Rewritten.
40303         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
40304         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
40305         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
40306         (make-test-out): Replace $(host-built-program-cmd) with
40307         $(host-test-program-cmd).
40308         * config.make.in (build-hardcoded-path-in-tests): New variable.
40309         * configure.in (--enable-hardcoded-path-in-tests): New configure
40310         option.
40311         (hardcoded_path_in_tests): New AC_SUBST.
40312         * configure: Regenerated.
40313         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
40314         $(built-program-cmd) with $(test-program-cmd).
40315         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
40316         (test_program_cmd): This.
40317         * elf/Makefile ($(objpfx)order.out): Run test with
40318         $(test-program-prefix).
40319         ($(objpfx)order2.out): Likewise.
40320         ($(objpfx)tst-initorder.out): Likewise.
40321         ($(objpfx)tst-initorder2.out): Likewise.
40322         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
40323         $(test-program-cmd).
40324         ($(objpfx)tst-array1-static.out): Likewise.
40325         ($(objpfx)tst-array2.out): Likewise.
40326         ($(objpfx)tst-array3.out): Likewise.
40327         ($(objpfx)tst-array4.out): Likewise.
40328         ($(objpfx)tst-array5.out): Likewise.
40329         ($(objpfx)tst-array5-static.out): Likewise.
40330         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
40331         $(test-program-cmd).
40332         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
40333         $(run-program-prefix) with $(test-program-prefix).
40334         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
40335         (test_program_prefix): This.
40336         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
40337         $(run-program-prefix) with $(test-program-prefix).
40338         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
40339         (test_program_prefix): This.
40340         * iconvdata/tst-tables.sh: Likewise.
40341         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
40342         $(run-program-prefix) with $(test-program-prefix).
40343         ($(objpfx)tst-translit.out): Likewise.
40344         ($(objpfx)tst-gettext2.out): Likewise.
40345         ($(objpfx)tst-gettext4.out): Likewise.
40346         ($(objpfx)tst-gettext6.out): Likewise.
40347         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
40348         (test_program_prefix): This.
40349         * intl/tst-gettext2.sh: Likewise.
40350         * intl/tst-gettext4.sh  Likewise.
40351         * intl/tst-gettext6.sh: Likewise.
40352         * intl/tst-translit.sh: Likewise.
40353         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
40354         with $(test-program-cmd).
40355         * libio/Makefile ($(objpfx)test-freopen.out): Replace
40356         $(run-program-prefix) with $(test-program-prefix).
40357         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
40358         (test_program_prefix): This.
40359         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
40360         $(run-program-prefix) with $(test-program-prefix).
40361         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
40362         (test_program_prefix): This.
40363         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
40364         * posix/Makefile ($(objpfx)globtest.out): Replace
40365         $(run-via-rtld-prefix) and $(test-wrapper) with
40366         $(test-program-prefix) and $(test-via-rtld-prefix).
40367         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
40368         $(test-program-prefix).
40369         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
40370         $(host-test-program-cmd).
40371         (tst-spawn-ARGS): Likewise.
40372         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
40373         $(test-program-prefix).
40374         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
40375         (test_via_rtld_prefix): This.
40376         (test_wrapper): Renamed to ...
40377         (test_program_prefix): This.
40378         (run_program_prefix): Replaced by test_program_prefix.
40379         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
40380         (test_program_prefix): This.
40381         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
40382         with $(host-test-program-cmd).
40383         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
40384         $(run-program-prefix) with $(test-program-prefix).
40385         ($(objpfx)tst-printf.out): Likewise.
40386         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
40387         $(test-program-cmd).
40388         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
40389         (test_program_prefix): This.
40390         * stdio-common/tst-unbputc.sh: Likewise.
40391         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
40392         $(run-program-prefix) with $(test-program-prefix).
40393         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
40394         (test_program_prefix): This.
40395         * string/Makefile ($(objpfx)tst-svc.out):  Replace
40396         $(built-program-cmd) with $(test-program-cmd).
40398 2013-01-11  Andreas Jaeger  <aj@suse.de>
40400         [BZ #15003]
40401         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
40402         value. Sync with Linux 3.7.
40404 2013-01-10  David S. Miller  <davem@davemloft.net>
40406         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
40407         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
40408         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
40410 2013-01-10  Roland McGrath  <roland@hack.frob.com>
40412         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
40413         never set.
40414         * configure: Regenerated.
40416 2013-01-10  David S. Miller  <davem@davemloft.net>
40418         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
40419         sparc V9 rather than using V8 code.
40420         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
40421         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
40423 2013-01-10  Roland McGrath  <roland@hack.frob.com>
40425         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
40426         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
40427         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
40428         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
40429         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
40430         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
40431         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
40432         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
40433         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
40434         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
40435         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
40436         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
40437         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
40438         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
40439         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
40440         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
40441         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
40442         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
40443         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
40444         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
40445         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
40446         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
40447         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
40448         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
40449         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
40450         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
40451         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
40453 2013-01-10  David S. Miller  <davem@davemloft.net>
40455         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40457 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
40459         * posix/Makefile (tests-static): New variable.
40460         (tests): Add $(tests-static).
40461         (tst-exec-static-ARGS): New variable.
40462         (tst-spawn-static-ARGS): Likewise.
40463         * posix/tst-exec-static.c: New file.
40464         * posix/tst-spawn-static.c: Likewise.
40465         * posix/tst-exec.c: Support run directly.
40466         * posix/tst-spawn.c: Likewise.
40468 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
40470         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
40471         long.
40472         * math/bits/mathcalls.h (llrint): Likewise.
40473         (llround): Likewise.
40474         * stdlib/stdlib.h (struct drand48_data): Likewise.
40475         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
40476         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
40477         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
40478         Likewise.
40479         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
40480         Likewise.
40481         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
40482         (elf_greg_t): Likewise.
40483         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
40484         (__jmp_buf): Likewise.
40485         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
40486         definitions.
40487         (llrint): Likewise, for all definitions.
40488         (llrintl): Likewise.
40490         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
40491         Remove [__GNUC__] condition.
40492         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
40493         condition to just [__USE_ISOC99].
40494         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
40496 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
40498         [BZ #14200]
40499         * sysdeps/unix/sysv/linux/x86/bits/environments.h
40500         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
40501         defined.
40502         (_POSIX_V6_ILP32_OFF32): Likewise.
40503         (_XBS5_ILP32_OFF32): Likewise.
40504         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
40505         (__ILP32_OFFBIG_LDFLAGS): Likewise.
40507 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40509         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
40511         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
40512         doubles __mpexp_twomm1.  Adjust usage.
40513         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
40514         Remove.
40516 2013-01-10  Andreas Schwab  <schwab@suse.de>
40518         [BZ #14964]
40519         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
40520         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
40522 2013-01-09  David S. Miller  <davem@davemloft.net>
40524         [BZ #15003]
40525         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
40526         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
40527         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
40528         (TCP_FASTOPEN): Define.
40529         (tcp_repair_opt): New structure.
40530         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
40531         enum values.
40532         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
40533         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
40534         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
40535         (tcp_cookie_transactions): New structure.
40537 2013-01-09  Anton Blanchard  <anton@samba.org>
40539         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
40540         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
40541         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
40542         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
40544 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
40546         * include/features.h (__USE_ANSI): Remove.
40548 2013-01-09  Roland McGrath  <roland@hack.frob.com>
40550         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
40552         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
40554 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
40556         * sysdeps/s390/fpu/libm-test-ulps: Update.
40558         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40560         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
40561         (__acr): Likewise.
40562         (__cpy): Likewise.
40563         (norm): Likewise.
40564         (denorm): Likewise.
40565         (__mp_dbl): Likewise.
40566         (__dbl_mp): Likewise.
40567         (add_magnitudes): Likewise.
40568         (sub_magnitudes): Likewise.
40569         (__add): Likewise.
40570         (__sub): Likewise.
40571         (__mul): Likewise.
40572         (__inv): Likewise.
40573         (__dvd): Likewise.
40574         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
40575         (__acr): Likewise.
40576         (__cpy): Likewise.
40577         (norm): Likewise.
40578         (denorm): Likewise.
40579         (__mp_dbl): Likewise.
40580         (__dbl_mp): Likewise.
40581         (add_magnitudes): Likewise.
40582         (sub_magnitudes): Likewise.
40583         (__add): Likewise.
40584         (__sub): Likewise.
40585         (__mul): Likewise.
40586         (__inv): Likewise.
40587         (__dvd): Likewise.
40588         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
40589         (__acr): Likewise.
40590         (__cpy): Likewise.
40591         (norm): Likewise.
40592         (denorm): Likewise.
40593         (__mp_dbl): Likewise.
40594         (__dbl_mp): Likewise.
40595         (add_magnitudes): Likewise.
40596         (sub_magnitudes): Likewise.
40597         (__add): Likewise.
40598         (__sub): Likewise.
40599         (__mul): Likewise.
40600         (__inv): Likewise.
40601         (__dvd): Likewise.
40603 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
40605         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
40606         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
40607         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
40608         2 && __USE_EXTERN_INLINES]: Likewise.
40610 2013-01-08  Andreas Jaeger  <aj@suse.de>
40612         [BZ# 14985]
40613         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
40614         Remove.
40615         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
40616         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
40618 2013-01-07  Anton Blanchard  <anton@samba.org>
40620         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
40621         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
40622         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
40623         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
40624         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
40625         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40626         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
40627         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
40628         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40629         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40630         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40631         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40632         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40633         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
40634         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
40635         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40636         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40637         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
40638         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
40639         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
40640         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
40641         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
40642         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40643         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
40644         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
40645         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
40646         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40647         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
40648         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
40649         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40650         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
40651         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40652         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40653         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
40654         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
40655         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40656         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
40657         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
40658         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
40659         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
40660         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
40661         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40662         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
40664 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
40666         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
40667         (__MALLOC_PMT): Likewise.
40668         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
40669         [__GNUC__], only on [_LIBC].
40670         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
40671         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
40672         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
40673         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
40674         forward declaration.
40675         (realloc_hook_ini): Likewise.
40676         (memalign_hook_ini): Likewise.
40677         (__libc_memalign): Do not use __MALLOC_PMT in variable
40678         declaration.
40679         (__libc_valloc): Likewise.
40680         (__libc_pvalloc): Likewise.
40681         (__libc_calloc): Likewise.
40682         (__posix_memalign): Likewise.
40684         [BZ #14996]
40685         * math/s_casinh.c: Include <float.h>.
40686         (__casinh): Do not do computation with squaring and square root
40687         for large arguments.
40688         * math/s_casinhf.c: Include <float.h>.
40689         (__casinhf): Do not do computation with squaring and square root
40690         for large arguments.
40691         * math/s_casinhl.c: Include <float.h>.
40692         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
40693         (__casinhl): Do not do computation with squaring and square root
40694         for large arguments.
40695         * math/libm-test.inc (casin_test): Add more tests.
40696         (casinh_test): Likewise.
40697         * sysdeps/i386/fpu/libm-test-ulps: Update.
40698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40700 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
40702         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
40703         (__x86_64_raw_data_cache_size): Likewise.
40704         (__x86_64_data_cache_size_half): Likewise.
40705         (__x86_64_raw_data_cache_size_half): Likewise.
40706         (__x86_64_shared_cache_size): Likewise.
40707         (__x86_64_raw_shared_cache_size): Likewise.
40708         (__x86_64_shared_cache_size_half): Likewise.
40709         (__x86_64_raw_shared_cache_size_half): Likewise.
40710         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
40711         to ...
40712         (__x86_data_cache_size): This.
40713         (__x86_64_raw_data_cache_size): Renamed to ...
40714         (__x86_raw_data_cache_size): This.
40715         (__x86_64_data_cache_size_half): Renamed to ...
40716         (__x86_data_cache_size_half): This.
40717         (__x86_64_raw_data_cache_size_half): Renamed to ...
40718         (__x86_raw_data_cache_size_half): This.
40719         (__x86_64_shared_cache_size): Renamed to ...
40720         (__x86_shared_cache_size): This.
40721         (__x86_64_raw_shared_cache_size): Renamed to ...
40722         (__x86_raw_shared_cache_size): This.
40723         (__x86_64_shared_cache_size_half): Renamed to ...
40724         (__x86_shared_cache_size_half): This.
40725         (__x86_64_raw_shared_cache_size_half): Renamed to ...
40726         (__x86_raw_shared_cache_size_half): This.
40727         * sysdeps/x86_64/memcpy.S: Updated.
40728         * sysdeps/x86_64/memset.S: Likewise.
40729         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
40730         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40731         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40733 2013-01-04  David S. Miller  <davem@davemloft.net>
40735         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40737 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
40739         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
40740         1 to avoid redefinition warning.
40741         (__USE_GNU): Don't define.
40742         (init_signaling_nan): Protoize.
40744         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40746 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40748         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
40749         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
40750         (__cpymn): Likewise.
40751         (norm): Remove commented code.
40752         (denorm): Likewise.
40753         (__mp_dbl): Likewise.
40754         (__inv): Likewise.
40755         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
40756         (__cpymn): Likewise.
40757         (norm): Remove commented code.
40758         (denorm): Likewise.
40759         (__mp_dbl): Likewise.
40760         (__inv): Likewise.
40762         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
40763         mp_no value for 1.0 and 2.0.
40764         (norm): Use RADIXI instead of radixi.d.
40765         (denorm): Likewise.
40766         (__mul): Use 0.0 instead of zero.d.
40767         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
40768         mp_no value for 1.0 and 2.0.
40769         (norm): Use RADIXI instead of radixi.d.
40770         (denorm): Likewise.
40771         (__mul): Use 0.0 instead of zero.d.
40773 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
40775         [BZ #14994]
40776         * math/s_casinh.c (__casinh): Reduce finite argument to first
40777         quadrant then set signs of results at the end.
40778         * math/s_casinhf.c (__casinhf): Likewise.
40779         * math/s_casinhl.c (__casinhl): Likewise.
40780         * math/libm-test.inc (casin_test): Add more tests.
40781         (casinh_test): Likewise.
40782         * sysdeps/i386/fpu/libm-test-ulps: Update.
40783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40785 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40787         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
40789         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
40791         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
40792         declarations.
40793         (denorm): Likewise.
40794         (__mp_dbl): Likewise.
40795         (__inv): Likewise.
40797         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
40798         and adjust the header comment.
40800         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
40801         variable name from declaration.
40803 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
40805         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40806         Initialize COMMON_CPUID_INDEX_7 element.
40807         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
40808         (CPUID_RTM): Likewise.
40809         (HAS_RTM): Likewise.
40810         (COMMON_CPUID_INDEX_7): New enum.
40812 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
40814         [BZ #14981]
40815         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
40816         size is zero, record memory as freed.
40818 2013-01-03  Andreas Jaeger  <aj@suse.de>
40820         * po/ia.po: Add new Interlingua translation.
40822 2012-01-03  Allan McRae  <allan@archlinux.org>
40824         * locale/programs/localedef.c: Fix description of '--posix' flag.
40826 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
40828         * NEWS: Update dates in second copyright notice.
40829         * README: Update copyright dates in example.
40830         * manual/libc.texinfo: Update copyright dates.
40831         * scripts/test-installation.pl: Update copyright date in --version
40832         output.
40834         * hurd/ctty-input.c: Fix copyright notice formatting.
40835         * hurd/ctty-output.c: Likewise.
40836         * hurd/dtable.c: Likewise.
40837         * hurd/hurd-raise.c: Likewise.
40838         * hurd/hurdprio.c: Likewise.
40839         * hurd/msgportdemux.c: Likewise.
40840         * misc/sys/file.h: Likewise.
40841         * misc/sys/ioctl.h: Likewise.
40842         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
40843         * sysdeps/mach/hurd/chdir.c: Likewise.
40844         * sysdeps/mach/hurd/fchdir.c: Likewise.
40845         * sysdeps/mach/hurd/rename.c: Likewise.
40846         * sysdeps/mach/hurd/rmdir.c: Likewise.
40847         * sysdeps/mach/hurd/seekdir.c: Likewise.
40848         * sysdeps/mach/hurd/setsid.c: Likewise.
40849         * sysdeps/posix/wait3.c: Likewise.
40851         * All files with FSF copyright notices: Update copyright dates
40852         using scripts/update-copyrights.
40853         * intl/plural.c: Regenerated.
40854         * locale/programs/charmap-kw.h: Likewise.
40855         * locale/programs/locfile-kw.h: Likewise.
40857 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40859         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
40860         four values.
40862         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
40863         calculation loop and add branch prediction.
40865         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
40866         check access beyond bounds of m1np.
40868         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
40869         MPTWO.
40870         (__inv): Remove local variable MPTWO to use the global
40871         constant.
40872         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
40873         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
40874         variable MPTWO.
40875         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
40876         MP3HALFS static const.
40878 2013-01-01  David S. Miller  <davem@davemloft.net>
40880         * po/ca.po: Update from translation team.
40882 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
40884         * scripts/update-copyrights: New file.
40885         * Makeconfig: Reformat copyright notice.
40886         * ctype/ctype.h: Likewise.
40887         * debug/swprintf_chk.c: Likewise.
40888         * elf/dl-cache.c: Likewise.
40889         * elf/dl-debug.c: Likewise.
40890         * elf/dl-object.c: Likewise.
40891         * grp/initgroups.c: Likewise.
40892         * hurd/Makefile: Likewise.
40893         * hurd/hurd/signal.h: Likewise.
40894         * hurd/hurdfault.c: Likewise.
40895         * hurd/hurdioctl.c: Likewise.
40896         * hurd/hurdlookup.c: Likewise.
40897         * hurd/intr-msg.c: Likewise.
40898         * iconv/gconv_open.c: Likewise.
40899         * libio/swprintf.c: Likewise.
40900         * locale/lc-ctype.c: Likewise.
40901         * locale/nl_langinfo.c: Likewise.
40902         * mach/Machrules: Likewise.
40903         * mach/Makefile: Likewise.
40904         * malloc/obstack.h: Likewise.
40905         * manual/Makefile: Likewise.
40906         * manual/tsort.awk: Likewise.
40907         * misc/bits/stab.def: Likewise.
40908         * nis/nis_print_group_entry.c: Likewise.
40909         * nis/nis_table.c: Likewise.
40910         * nis/nss_compat/compat-pwd.c: Likewise.
40911         * nis/nss_compat/compat-spwd.c: Likewise.
40912         * po/Makefile: Likewise.
40913         * posix/fnmatch.c: Likewise.
40914         * posix/regex.h: Likewise.
40915         * resolv/Makefile: Likewise.
40916         * resolv/nss_dns/dns-network.c: Likewise.
40917         * resolv/res_hconf.c: Likewise.
40918         * scripts/gen-sorted.awk: Likewise.
40919         * soft-fp/soft-fp.h: Likewise.
40920         * stdio-common/printf.h: Likewise.
40921         * stdlib/monetary.h: Likewise.
40922         * stdlib/random.c: Likewise.
40923         * stdlib/random_r.c: Likewise.
40924         * sysdeps/generic/Makefile: Likewise.
40925         * sysdeps/gnu/Makefile: Likewise.
40926         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40927         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40928         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40929         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40930         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40931         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40932         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40933         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40934         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40935         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40936         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40937         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40938         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40939         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40940         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
40941         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40942         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40943         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40944         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40945         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40946         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40947         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40948         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40949         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
40950         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
40951         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
40952         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
40953         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
40954         * sysdeps/mach/hurd/errnos.awk: Likewise.
40955         * sysdeps/mach/hurd/fork.c: Likewise.
40956         * sysdeps/mach/hurd/getcwd.c: Likewise.
40957         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
40958         * sysdeps/mach/hurd/mmap.c: Likewise.
40959         * sysdeps/mach/hurd/utimes.c: Likewise.
40960         * sysdeps/mach/hurd/xmknod.c: Likewise.
40961         * sysdeps/posix/profil.c: Likewise.
40962         * sysdeps/posix/readdir_r.c: Likewise.
40963         * sysdeps/powerpc/bits/mathdef.h: Likewise.
40964         * sysdeps/powerpc/bits/setjmp.h: Likewise.
40965         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
40966         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
40967         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40968         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40969         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40970         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40971         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40972         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40973         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40974         * sysdeps/pthread/lio_listio.c: Likewise.
40975         * sysdeps/sparc/dl-procinfo.h: Likewise.
40976         * sysdeps/unix/i386/sysdep.S: Likewise.
40977         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
40978         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
40979         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
40980         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
40981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40982         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
40983         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
40984         * sysdeps/unix/sysv/linux/speed.c: Likewise.
40985         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
40986         * sysdeps/wordsize-32/divdi3.c: Likewise.
40987         * time/sys/time.h: Likewise.
40988         * wcsmbs/Makefile: Likewise.
40990 2013-01-01  David S. Miller  <davem@davemloft.net>
40992         * po/fr.po: Update from translation team.
40994         * catgets/gencat.c: Update copyright year.
40995         * csu/version.c: Likewise.
40996         * debug/catchsegv.sh: Likewise.
40997         * debug/pcprofiledump.c: Likewise.
40998         * debug/xtrace.sh: Likewise.
40999         * elf/ldconfig.c: Likewise.
41000         * elf/ldd.bash.in: Likewise.
41001         * elf/pldd.c: Likewise.
41002         * elf/sotruss.ksh: Likewise.
41003         * elf/sprof.c: Likewise.
41004         * iconv/iconv_prog.c: Likewise.
41005         * iconv/iconvconfig.c: Likewise.
41006         * locale/programs/locale.c: Likewise.
41007         * locale/programs/localedef.c: Likewise.
41008         * login/programs/pt_chown.c: Likewise.
41009         * malloc/memusage.sh: Likewise.
41010         * malloc/memusagestat.c: Likewise.
41011         * malloc/mtrace.pl: Likewise.
41012         * nscd/nscd.c: Likewise.
41013         * nss/getent.c: Likewise.
41014         * nss/makedb.c: Likewise.
41015         * posix/getconf.c: Likewise.
41017 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
41019         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
41020         numbers.
41022 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
41024         * math/bits/mathcalls.h (modf): Use __nonnull.
41026 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41028         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
41029         (split): Use macro CN instead of the bare value.
41030         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
41031         could be used.
41032         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
41033         instead of the bare value.
41034         (power1): Likewise.
41036 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41038         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
41039         __ATAN_TWOM.
41040         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41042         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
41043         their values.
41044         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
41045         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
41046         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
41047         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
41049 2012-12-28  Andreas Jaeger  <aj@suse.de>
41051         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
41052         values are from Linux 3.7.
41054         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
41055         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
41057 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41059         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
41060         TRUE case.
41062         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
41063         (norm): Likewise.
41064         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
41065         variables with preprocessor constants.
41066         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41067         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
41068         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
41070 2012-12-27  Bruno Haible  <bruno@clisp.org>
41072         [BZ #14317]
41073         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
41074         only if needed.
41076 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41078         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
41079         and use variable directly.
41080         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
41082         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
41083         MPONE.
41084         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
41085         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
41086         variable MPONE.
41087         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
41088         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
41089         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
41090         include directive.  Remove local variable MPONE.
41091         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
41092         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
41093         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41095 2012-12-25  David S. Miller  <davem@davemloft.net>
41097         * version.h (RELEASE): Set to "development".
41098         (VERSION): Set to "2.17.90".
41099         * NEWS: Add 2.18 section.
41101 2012-12-21  David S. Miller  <davem@davemloft.net>
41103         * po/hr.po: Update from translation team.
41105 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41107         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
41109 2012-12-19  Steve Ellcey  <sellcey@mips.com>
41111         * NEWS:  Mention new memcpy for MIPS.
41113 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41115         * manual/contrib.texi (Contributors): Spelling correction.
41117 2012-12-15  David S. Miller  <davem@davemloft.net>
41119         * po/ru.po: Update from translation team.
41121 2012-12-13  David S. Miller  <davem@davemloft.net>
41123         * NEWS: Mention IFUNC testsuite enhancements.
41125         * po/pl.po: Update from translation team.
41126         * po/bg.po: Likewise.
41128         * manual/contrib.texi (Contributors): Update entries for Hongjiu
41129         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
41131 2012-12-11  David S. Miller  <davem@davemloft.net>
41133         * po/sv.po: Update from translation team.
41135         * po/vi.po: Update from translation team.
41137         * po/cs.po: Update from translation team.
41139         * po/de.po: Update from translation team.
41140         * po/eo.po: Likewise.
41141         * po/nl.po: Likewise.
41143 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41145         [BZ #14246]
41146         * manual/argp.texi (Argp Helper Functions): Move node to follow
41147         Argp Parsing State.
41149         [BZ #14872]
41150         * manual/conf.texi (Limits on File System Capacity): Mention if
41151         terminating null is included in the max size.
41153 2012-12-10  Andreas Jaeger  <aj@suse.de>
41155         * po/cs.po: Update from translation team.
41157 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
41159         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
41160         void pointer and cast to uintptr_t.
41161         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
41162         path.
41163         * sysdeps/s390/s390-64/memcpy.S: Likewise.
41164         * sysdeps/s390/s390-64/memset.S: Likewise.
41166 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
41168         [BZ #14833]
41169         * menual/message.texi (Message Translation): Fix typos.
41170         (Helper programs for gettext): Likewise.
41172 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
41174         [BZ #14898]
41175         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
41176         Change to -1.
41178 2012-12-07  David S. Miller  <davem@davemloft.net>
41180         * po/libc.pot: Update.
41182 2012-12-07  Richard Henderson  <rth@redhat.com>
41184         [BZ #10114]
41185         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
41186         normal/normal case to before the switch.
41187         (_FP_DIV): Likewise.
41189 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
41190             Mike Frysinger  <vapier@gentoo.org>
41192         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
41193         check for __NR_fadvise64_64.
41195 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
41197         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
41198         0, not just to plain "0" as a statement.
41199         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
41200         with cw.
41202 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
41204         * NEWS: Use sourceware.org in Bugzilla URL.
41206 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
41208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
41209         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
41211         * stdio-common/tst-put-error.c (do_test): Add newline to the
41212         padded test to ensure flush.
41214 2012-12-05  Jeff Law  <law@redhat.com>
41216         * sunrpc/etc.rpc (fedfs_admin): Add entry.
41218 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
41220         * README: Don't refer to ports add-on as distributed separately.
41221         Mention AArch64 in list of systems supported in the ports add-on.
41223         * LICENSES: Add more non-FSF copyright and license notices.
41225         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
41226         ((unused)).
41228         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
41230         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
41231         10000 as width of padded output.
41233 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
41235         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
41237         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
41238         variable LX with __attribute__ ((unused)).
41239         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
41240         Likewise.
41241         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
41242         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41243         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
41244         with __attribute__ ((unused)).
41246 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
41248         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
41250 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
41252         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
41253         (CFLAGS-nldbl-acos.c): New variable.
41254         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
41255         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
41256         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
41257         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
41258         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
41259         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
41260         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
41261         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
41262         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
41263         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
41264         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
41265         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
41266         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
41267         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
41268         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
41269         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
41270         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
41271         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
41272         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
41273         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
41274         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
41275         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
41276         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
41277         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
41278         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
41279         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
41280         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
41281         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
41282         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
41283         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
41284         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
41285         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
41286         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
41287         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
41288         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
41289         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
41290         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
41291         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
41292         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
41293         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
41294         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
41295         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
41296         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
41297         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
41298         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
41299         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
41300         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
41301         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
41302         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
41303         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
41304         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
41305         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
41306         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
41307         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
41308         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
41309         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
41310         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
41311         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
41312         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
41313         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
41314         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
41315         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
41316         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
41317         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
41318         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
41319         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
41320         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
41321         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
41322         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
41323         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
41324         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
41325         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
41326         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
41327         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
41328         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
41329         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
41330         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
41331         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
41332         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
41333         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
41334         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
41335         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
41336         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
41337         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
41338         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
41339         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
41340         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
41341         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
41342         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
41343         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
41344         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
41345         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
41346         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
41347         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
41348         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
41349         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
41350         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
41352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
41353         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
41355         [BZ #14914]
41356         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
41357         whole low double instead of just low 47 bits when splitting values
41358         into two parts.
41360 2012-12-03  Allan McRae  <allan@archlinux.org>
41362         * manual/stdio.texi (Predefined Printf Handlers): Remove
41363         @hsep and @vsep usage.
41365 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
41367         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
41368         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
41370 2012-12-03  Jeff Law  <law@redhat.com>
41372         * time/sys/time.h (settimeofday): Do not mark TV argument
41373         as __nonnull.
41375 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
41377         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
41378         when currently writing and seek to current position when not.
41379         * libio/Makefile (tests): Remove bug-fclose1.
41380         * libio/bug-fclose1.c: Delete.
41382 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
41384         * manual/arith.texi (feenableexcept): Fix typo.
41385         (fedisableexcept): Likewise.
41387 2012-11-30  Roland McGrath  <roland@hack.frob.com>
41389         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
41390         second, differently-typed declaration, rather than a cast.
41392 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
41394         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
41395         * include/rpc/svc.h: ... here.
41397 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
41399         [BZ #13013]
41400         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
41401         depending n and resplen2 to catch cases where answer
41402         equals answerp2.
41404 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
41406         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
41407         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
41409 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
41411         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
41413 2012-11-29  Roland McGrath  <roland@hack.frob.com>
41415         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
41417 2012-11-28  Jeff Law  <law@redhat.com>
41419         [BZ #13761]
41420         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
41421         dataset_temporary.  Track alloca usage into alloca_used.
41422         If dataset is large allocate and release it via malloc/free.
41424 2012-06-04  Florian Weimer  <fweimer@redhat.com>
41426         [BZ #14197]
41427         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
41429 2012-11-28  David S. Miller  <davem@davemloft.net>
41431         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41433 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
41435         [BZ #14803]
41436         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
41437         of pi/2 rounded to nearest to 64 bits.
41438         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
41439         nearest to 64 bits.
41440         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
41441         bits.
41443 2012-11-28  Jeff Law <law@redhat.com>
41444             Martin Osvald <mosvald@redhat.com>
41446         [BZ #14889]
41447         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
41448         * sunrpc/svc.c: Include time.h.
41449         (__svc_accept_failed): New function.
41450         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
41451         any reason other than EINTR, call __svc_accept_failed.
41452         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
41453         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
41455 2012-11-28  Andreas Schwab  <schwab@suse.de>
41457         * scripts/abilist.awk: Also handle indirect functions in .opd
41458         section.
41460 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
41462         [BZ #13881]
41463         * sysdeps/x86/fpu/powl_helper.c: New file.
41464         * sysdeps/x86/fpu/Makefile: Likewise.
41465         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
41466         (p3): New object.
41467         (__ieee754_powl): Use __powl_helper for finite arguments except
41468         integer exponents below 8.
41469         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
41470         (p3): New object.
41471         (__ieee754_powl): Use __powl_helper for finite arguments except
41472         integer exponents below 8.
41473         * math/libm-test.inc (pow_test): Add more tests and enable some
41474         previously disabled tests.
41475         * sysdeps/i386/fpu/libm-test-ulps: Update.
41476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41478 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41479             Carlos O'Donell  <carlos_odonell@mentor.com>
41481         * nss/makedb.c (is_prime): Assert that input is odd and greater
41482         than 4.  Note that fact in a comment too.
41483         (next_prime): Add 4 to input.
41485 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41487         [BZ #11741]
41488         * libio/Makefile (tests): Add test case tst-fwrite-error.
41489         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
41490         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
41491         * libio/tst-fwrite-error.c: New test case.
41493 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
41495         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
41496         before casting to void *.
41497         * include/libc-internal.h (__pointer_type): New macro.
41498         (__integer_if_pointer_type_sub): Likewise.
41499         (__integer_if_pointer_type): Likewise.
41500         (cast_to_integer): Likewise.
41501         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
41502         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
41503         before casting to atomic64_t.
41504         (atomic_exchange_acq): Likewise.
41505         (__arch_exchange_and_add_body): Likewise.
41506         (__arch_add_body): Likewise.
41507         (atomic_add_negative): Likewise.
41508         (atomic_add_zero): Likewise.
41510 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
41512         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
41513         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
41514         (add_fdes): Likewise.
41515         (linear_search_fdes): Likewise.
41516         (binary_search_unencoded_fdes): Likewise.
41518 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
41520         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
41522 2012-11-24  Adam Conrad  <adconrad@0c3.net>
41524         * configure.in: Autodetect C++ header directories.
41525         * configure: Regenerated.
41527 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
41529         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
41531 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
41533         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41535 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
41537         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
41538         LDBL_MANT_DIG == 106]: Disable some tests.
41539         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
41540         Likewise.
41541         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
41542         Likewise.
41544         [BZ #14871]
41545         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
41546         input for small inputs.  Return +/- pi/2 for large inputs.
41547         * math/libm-test.inc (atan_test): Add more tests.
41549         * sysdeps/generic/unwind-dw2-fde-glibc.c
41550         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
41551         __attribute__ ((unused)).
41553         [BZ #14645]
41554         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
41555         x * y if x and y are nonzero and z is zero.
41557         [BZ #14811]
41558         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
41559         nonzero exponents with absolute value below 0x1p-117 to +/-
41560         0x1p-117.
41562         [BZ #14869]
41563         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
41564         up arguments below 2**-450, not just those below 2**-500.
41565         * math/libm-test.inc (hypot_test): Add another test.
41567         [BZ #14868]
41568         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
41569         Return a+b for ratio over 2**120, not 2**60.
41570         * math/libm-test.inc (hypot_test): Add another test.
41572         * math/libm-test.inc (clog_test): Use
41573         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
41574         (clog10_test): Likewise.
41576         [BZ #6778]
41577         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
41579 2012-11-22  Andreas Schwab  <schwab@suse.de>
41581         * sysdeps/i386/fpu/libm-test-ulps: Update.
41583 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
41585         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
41586         printf output with newline.
41588 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
41590         [BZ #14865]
41591         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
41592         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
41593         -z nodlopen, -z initfirst and -z execstack support.
41594         * configure: Regenerated.
41596         * elf/elf.h (DF_1_NODIRECT): New macro.
41597         (DF_1_IGNMULDEF): Likewise.
41598         (DF_1_NOKSYMS): Likewise.
41599         (DF_1_NOHDR): Likewise.
41600         (DF_1_EDITED): Likewise.
41601         (DF_1_NORELOC): Likewise.
41602         (DF_1_SYMINTPOSE): Likewise.
41603         (DF_1_GLOBAUDIT): Likewise.
41604         (DF_1_SINGLETON): Likewise.
41605         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
41606         DT_1_SUPPORTED_MASK bits.
41607         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
41609 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
41611         * sysdeps/unix/make-syscalls.sh: Document prefixes.
41613 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
41615         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
41616         macro.
41618         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
41619         (sendmmsg): Move declarations...
41620         * socket/sys/socket.h: ... here.
41621         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
41622         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
41623         include it from...
41624         * socket/recvmmsg.c: ... this new file.
41625         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
41626         (sendmmsg): Rename to __sendmmsg, create weak alias and make
41627         definition of __sendmmsg hidden.
41628         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
41629         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
41630         Move ENOSYS stub into and include it from...
41631         * socket/sendmmsg.c: ... this new file.
41632         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
41633         (sysdep_routines): Move recvmmsg and sendmmsg...
41634         * socket/Makefile (routines): ... here.
41635         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
41636         (GLIBC_PRIVATE): Add __sendmmsg.
41637         * include/sys/socket.h (__sendmmsg): Add declarations.
41638         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
41639         sendmmsg.
41641 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
41643         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
41644         variable I1 with __attribute__ ((unused)).
41645         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41647 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
41649         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
41650         DUMMY variables with __attribute__ ((unused)).
41652         * bits/byteswap.h: Include <bits/types.h>.
41653         (__bswap_64): Use __uint64_t instead of unsigned long long int.
41655 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
41657         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
41658         string_t.  Do not manually set errno.
41659         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
41660         length with __strnlen.  Make sure to both set errno and return it on
41661         failure.
41663 2012-11-19  David S. Miller  <davem@davemloft.net>
41665         With help from Joseph Myers.
41666         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
41667         very large arguments properly.
41668         * math/libm-test.inc (atan_test): New tests.
41669         (atan2_test): New tests.
41670         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41671         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41673 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
41675         [BZ #14856]
41676         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
41677         Define to 3.
41679         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
41680         [POSIX] (EADDRNOTAVAIL): Likewise.
41681         [POSIX] (EAFNOSUPPORT): Likewise.
41682         [POSIX] (EALREADY): Likewise.
41683         [POSIX] (ECONNABORTED): Likewise.
41684         [POSIX] (ECONNREFUSED): Likewise.
41685         [POSIX] (ECONNRESET): Likewise.
41686         [POSIX] (EDESTADDRREQ): Likewise.
41687         [POSIX] (EDQUOT): Likewise.
41688         [POSIX] (EHOSTUNREACH): Likewise.
41689         [POSIX] (EIDRM): Likewise.
41690         [POSIX] (EISCONN): Likewise.
41691         [POSIX] (ELOOP): Likewise.
41692         [POSIX] (EMULTIHOP): Likewise.
41693         [POSIX] (ENETDOWN): Likewise.
41694         [POSIX] (ENETUNREACH): Likewise.
41695         [POSIX] (ENOBUFS): Likewise.
41696         [POSIX] (ENODATA): Likewise.
41697         [POSIX] (ENOLINK): Likewise.
41698         [POSIX] (ENOMSG): Likewise.
41699         [POSIX] (ENOPROTOOPT): Likewise.
41700         [POSIX] (ENOSR): Likewise.
41701         [POSIX] (ENOSTR): Likewise.
41702         [POSIX] (ENOTCONN): Likewise.
41703         [POSIX] (ENOTSOCK): Likewise.
41704         [POSIX] (EOPNOTSUPP): Likewise.
41705         [POSIX] (EOVERFLOW): Likewise.
41706         [POSIX] (EPROTO): Likewise.
41707         [POSIX] (EPROTONOSUPPORT): Likewise.
41708         [POSIX] (EPROTOTYPE): Likewise.
41709         [POSIX] (ESTALE): Likewise.
41710         [POSIX] (ETIME): Likewise.
41711         [POSIX] (ETXTBSY): Likewise.
41712         [POSIX] (EWOULDBLOCK): Likewise.
41713         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
41714         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
41715         [POSIX] (SEEK_CUR): Likewise.
41716         [POSIX] (SEEK_END): Likewise.
41717         [POSIX || UNIX98] (mode_t): Do not require.
41718         [POSIX] (off_t): Likewise.
41719         [POSIX] (pid_t): Likewise.
41720         [POSIX] (sys/stat.h): Do not allow header.
41721         [POSIX] (unistd.h): Likewise.
41722         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
41723         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
41724         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
41725         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
41726         require.
41727         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
41728         sigevent): Specify elements.
41729         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
41730         entry.
41731         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
41732         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
41734         * conform/data/cpio.h-data [POSIX]: Disable whole file.
41735         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
41736         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
41737         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
41738         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
41739         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
41740         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
41741         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
41742         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
41743         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
41744         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
41745         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
41746         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
41747         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
41748         Likewise.
41749         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
41750         Likewise.
41751         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
41752         Likewise.
41753         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
41754         Likewise.
41755         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
41756         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
41757         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
41758         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
41759         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
41760         Specify lower bound on value.
41761         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
41762         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
41763         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
41764         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
41765         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
41766         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
41767         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
41768         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
41769         value.
41770         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
41771         as optional.
41772         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
41773         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
41774         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
41775         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
41776         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
41777         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
41778         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
41779         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
41780         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
41781         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
41782         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
41783         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
41784         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
41785         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
41786         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
41787         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
41788         entry.
41789         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
41790         optional.
41791         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
41792         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
41793         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
41794         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
41795         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
41796         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
41797         Likewise.
41798         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
41799         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
41800         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
41801         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
41802         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
41803         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
41804         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
41805         as optional.
41806         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
41807         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
41808         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
41809         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
41810         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
41811         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
41812         specify as optional.
41813         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
41814         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
41815         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
41816         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
41817         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
41818         [XPG3] (NL_LANGMAX): Likewise.
41819         [POSIX || XPG3] (NL_MSGMAX): Likewise.
41820         [POSIX || XPG3] (NL_NMAX): Likewise.
41821         [POSIX || XPG3] (NL_SETMAX): Likewise.
41822         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
41823         [XPG3] (NZERO): Likewise.
41824         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
41825         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
41826         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
41827         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
41828         (REG_ERANGE): Expect.
41829         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
41830         optional-constant.
41831         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
41832         Use (void) in prototype.
41833         [POSIX] (*_t): Allow.
41834         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
41835         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
41836         (WRDE_BADVAL): Expect.
41838         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
41839         expect.
41840         [XPG3 || XPG4] (O_RSYNC): Likewise.
41841         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
41842         Likewise.
41843         [XPG3 || XPG4] (pthread_sigmask): Likewise.
41844         [XPG3 || XPG4] (sigqueue): Likewise.
41845         [XPG3 || XPG4] (sigtimedwait): Likewise.
41846         [XPG3 || XPG4] (sigwaitinfo): Likewise.
41847         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
41848         [XPG3 || XPG4] (vsnprintf): Likewise.
41849         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
41850         Likewise.
41851         [XPG3 || XPG4] (blksize_t): Likewise.
41852         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
41853         Likewise.
41854         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
41855         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
41856         [XPG3 || XPG4] (struct itimerspec): Likewise.
41857         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
41858         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
41859         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
41860         [XPG3 || XPG4] (clockid_t): Likewise.
41861         [XPG3 || XPG4] (timer_t): Likewise.
41862         [XPG3 || XPG4] (clock_getres): Likewise.
41863         [XPG3 || XPG4] (clock_gettime): Likewise.
41864         [XPG3 || XPG4] (clock_settime): Likewise.
41865         [XPG3 || XPG4] (nanosleep): Likewise.
41866         [XPG3 || XPG4] (timer_create): Likewise.
41867         [XPG3 || XPG4] (timer_delete): Likewise.
41868         [XPG3 || XPG4] (timer_gettime): Likewise.
41869         [XPG3 || XPG4] (timer_getoverrun): Likewise.
41870         [XPG3 || XPG4] (timer_settime): Likewise.
41871         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
41872         [XPG3 || XPG4] (getlogin_r): Likewise.
41873         [XPG3 || XPG4] (pread): Likewise.
41874         [XPG3 || XPG4] (pthread_atfork): Likewise.
41875         [XPG3 || XPG4] (pwrite): Likewise.
41877         [BZ #14835]
41878         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
41879         <bits/siginfo.h>.
41881 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
41883         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
41884         finalizing MALLSTREAM.
41886         * sysdeps/mach/hurd/syncfs.c: New file.
41888 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41890         [BZ #14719]
41891         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
41892         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
41893         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
41894         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
41895         (_nss_dns_gethostbyname4_r): Likewise.
41896         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
41897         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
41899 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
41901         [BZ #13763]
41902         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
41904 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
41906         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
41907         * elf/cache.c (print_entry): Print ",AArch64" for
41908         FLAG_AARCH64_LIB64
41910         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
41911         * elf/cache.c (print_entry): Print ",hard-float" for
41912         FLAG_ARM_LIBHF.
41914 2012-11-18  David S. Miller  <davem@davemloft.net>
41916         With help from Joseph Myers.
41917         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
41918         cutoff to 2**-13.
41919         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
41920         cutoff to 2**-25.
41921         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
41922         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
41923         small.
41924         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
41925         * math/libm-test.inc (y0_test): New tests.
41926         (y1_test): New tests.
41927         * sysdeps/i386/fpu/libm-test-ulps: Update.
41928         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41929         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41931 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
41933         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
41934         64-bit targets.
41935         * configure: Regenerated.
41937 2012-11-17  David S. Miller  <davem@davemloft.net>
41939         [BZ #14811]
41940         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
41941         nonzero exponents with absolute value below 0x1p-128 to +/-
41942         0x1p-128.
41944 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
41946         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
41948         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
41950         * posix/getconf-speclist.c: New file.
41951         * posix/posix-envs.def: Likewise.
41952         * posix/confstr.c (START_ENV_GROUP): New macro.
41953         (END_ENV_GROUP): Likewise.
41954         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
41955         (KNOWN_PRESENT_ENV_STRING): Likewise.
41956         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
41957         (UNKNOWN_ENVIRONMENT): Likewise.
41958         (confstr): Include posix-envs.def instead of handling
41959         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
41960         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
41961         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
41962         (END_ENV_GROUP): Likewise.
41963         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
41964         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
41965         (UNKNOWN_ENVIRONMENT): Likewise.
41966         (__sysconf): Include posix-envs.def instead of handling associated
41967         cases directly here.
41968         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
41969         preprocessing getconf-speclist.c rather than running getconf or
41970         generating empty file.
41972 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
41974         * scripts/check-local-headers.sh: Ignore 'mach' headers.
41976 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
41978         [BZ #14672]
41979         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
41981 2012-11-16  David S. Miller  <davem@davemloft.net>
41983         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
41984         smaller than LDBL_EPSILON/2.0L, just return xm1.
41986 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
41988         * elf/tst-array1.c (init): Set constructor priority to 1000.
41989         (fini): Set destructor priority to 1000.
41990         * elf/tst-array2dep.c: Likewise.
41992 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41994         [BZ #11741]
41995         * libio/fileops.c (_IO_new_file_write): Correctly return error.
41996         (_IO_new_file_xsputn): Also return EOF if none of the input
41997         data was written when overflow failed.
41998         * libio/iopadn.c (_IO_padn): Likewise.
41999         * libio/iowpadn.c (_IO_wpadn): Likewise.
42000         * stdio-common/tst-put-error.c: Add copyright notice.
42001         (do_test): Add case for printing padded string.
42002         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
42003         _IO_padn returned error.
42004         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
42005         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
42006         return EOF.
42008 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42010         * libio/libioP.h: Add comment note that the references to C++
42011         bits are now obsolete.
42013 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42015         * math/libm-test.inc (check_complex): Use asprintf.
42017 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
42019         * debug/pcprofiledump.c (print_version): Update copyright year.
42020         * malloc/memusagestat.c (print_version): Likewise.
42022 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
42024         [BZ #14831]
42025         * elf/Makefile (tests): Add tst-audit8.
42026         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
42027         ($(objpfx)tst-audit8.out): New target.
42028         (tst-audit8-ENV): New variable.
42029         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
42030         audit if l_reloc_result is NULL.
42031         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
42032         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
42033         * elf/tst-audit8.c: New file.
42035 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42037         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
42038         * misc/Makefile (CFLAGS-select.c): Define.
42039         * posix/Makefile (CFLAGS-pause.c): Define.
42041 2012-11-13  David S. Miller  <davem@davemloft.net>
42043         * crypt/Makefile: Move test targets after toplevel Rules
42044         inclusion.  Grab any necessary sysdep routines when linking.
42045         * crypt/md5.c (md5_process_block): Remove define, we will always
42046         name it __md5_process_block.
42047         (md5_finish_ctx): Update md5_process_block call.
42048         (md5_stream): Likewise.
42049         (md5_process_bytes): Likewise.
42050         (md5_process_block): Rename to __md5_process_block and move to ...
42051         * crypt/md5-block.c: ... here.
42052         * crypt/sha256.c (sha256_process_block): Move to ...
42053         * crypt/sha256-block.c: ... here.
42054         * crypt/sha512.c (sha512_process_block): Move to ...
42055         * crypt/sha512-block.c: ... here.
42056         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
42057         path.
42058         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
42059         * sysdeps/sparc/sparc64/multiarch/Makefile
42060         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
42061         crypt subdir.
42062         (localedef-aux): Add md5 crypto assembler when in locale subdir.
42063         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
42064         multiarch changes.
42065         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
42066         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
42067         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
42068         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
42069         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
42070         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
42071         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
42072         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
42073         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
42074         file.
42075         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
42076         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
42077         file.
42078         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
42080 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
42082         * timezone/tzselect.ksh: Update from tzcode git revision
42083         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
42084         * timezone/zdump.c: Likewise.
42085         * timezone/zic.c: Likewise.
42086         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
42087         in TZVERSION setting, not $(PKGVERSION).
42088         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
42089         REPORT_BUGS_TO settings.
42091         [BZ #14838]
42092         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
42093         macro.
42095 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42097         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
42098         detection to immediately after _FP_ROUND().
42099         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
42100         bits are 0.
42102 2012-11-11  David S. Miller  <davem@davemloft.net>
42104         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
42105         inttypes.h
42106         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
42107         __close rather than their public counterparts.
42109 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
42111         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
42112         file.
42113         [UNIX98] (sem_timedwait): Do not expect.
42114         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
42115         [XPG4 || UNIX98] (sockatmark): Do not expect.
42116         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
42117         (clock_getcpuclockid): Do not expect.
42118         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
42119         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
42120         Do not expect.
42121         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
42122         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
42123         [UNIX98] (vwscanf): Likewise.
42124         [UNIX98] (vswscanf): Likewise.
42126 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
42128         * timezone/version.h: Remove file.
42129         * timezone/README: Do not refer to version.h.
42130         * timezone/Makefile ($(objpfx)zic.o): New dependency on
42131         $(objpfx)version.h.
42132         ($(objpfx)zdump.o): Likewise.
42133         ($(objpfx)version.h): New target.
42135         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
42136         2012i.
42137         * timezone/README: Don't mention modification to tzselect.ksh.
42138         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
42139         work on unmodified tzselect.ksh.  Substitute version numbers in
42140         tzselect.ksh.
42142         * Makefile (format-me): Remove.
42143         (INSTALL): Adjust indentation.  Use commands directly instead of
42144         using $(format-me).
42146         * aclocal.m4 (ACX_PKGVERSION): New macro.
42147         (ACX_BUGURL): Likewise.
42148         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
42149         (PKGVERSION): New AC_DEFINE_UNQUOTED.
42150         (REPORT_BUGS_TO): Likewise.
42151         * configure: Regenerated.
42152         * config.h.in (PKGVERSION): New macro.
42153         (REPORT_BUGS_TO): Likewise.
42154         * config.make.in (PKGVERSION): New variable.
42155         (PKGVERSION_TEXI): Likewise.
42156         (REPORT_BUGS_TO): Likewise.
42157         (REPORT_BUGS_TEXI): Likewise.
42158         * Makefile (format-me): Use -I$(common-objpfx)manual.
42159         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
42160         ($(common-objpfx)manual/%): New target.
42161         (manual/%): Remove target.
42162         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
42163         (print_version): Use PKGVERSION.
42164         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
42165         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
42166         and REPORT_BUGS_TO.
42167         ($(objpfx)xtrace): Likewise.
42168         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
42169         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
42170         (print_version): Use PKGVERSION.
42171         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
42172         (do_version): Use PKGVERSION.
42173         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
42174         REPORT_BUGS_TO.
42175         (common-ldd-rewrite): Likewise.
42176         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
42177         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
42178         (print_version): Use PKGVERSION.
42179         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
42180         * elf/pldd.c (argp_program_bug_address): Remove variable.
42181         (more_help): New function.
42182         (argp): Use more_help.
42183         (print_version): Use PKGVERSION.
42184         * elf/sln.c (main): Use PKGVERSION.
42185         (usage): Use REPORT_BUGS_TO.
42186         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
42187         (top level): Use PKGVERSION.
42188         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
42189         (print_version): Use PKGVERSION.
42190         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
42191         (print_version): Use PKGVERSION.
42192         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
42193         (print_version): Use PKGVERSION.
42194         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
42195         (print_version): Use PKGVERSION.
42196         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
42197         (print_version): Use PKGVERSION.
42198         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
42199         (print_version): Use PKGVERSION.
42200         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
42201         and BUGURL.
42202         ($(objpfx)memusage): Likewise.
42203         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
42204         (do_version): Use PKGVERSION.
42205         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
42206         (print_version): Use PKGVERSION.
42207         * malloc/mtrace.pl ($PACKAGE): Remove variable.
42208         ($PKGVERSION): New variable.
42209         ($REPORT_BUGS_TO): Likewise.
42210         (usage): Use $REPORT_BUGS_TO.
42211         (top level): Use $PKGVERSION.
42212         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
42213         ($(objpfx)pkgvers.texi): New rule.
42214         ($(objpfx)stamp-pkgvers): Likewise.
42215         * manual/install.texi: Include pkgvers.texi.
42216         (--with-pkgversion): Document new configure option.
42217         (--with-bugurl): Likewise.
42218         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
42219         than necessarily for this particular distribution.  Use
42220         REPORT_BUGS_TO for where to report bugs.
42221         * INSTALL: Regenerated.
42222         * manual/libc.texinfo: Include pkgvers.texi.
42223         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
42224         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
42225         (print_version): Use PKGVERSION.
42226         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
42227         (print_version): Use PKGVERSION.
42228         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
42229         (print_version): Use PKGVERSION.
42230         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
42231         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
42232         macro.
42233         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
42234         (print_version): Use PKGVERSION.
42235         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
42236         (print_version): Use PKGVERSION.
42237         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
42238         and PKGVERSION.
42240         * timezone/checktab.awk: Update from tzcode 2012i.
42241         * timezone/ialloc.c: Likewise.
42242         * timezone/private.h: Likewise.
42243         * timezone/scheck.c: Likewise.
42244         * timezone/tzfile.h: Likewise.
42245         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
42246         (TZVERSION): Hardcode tzcode version number.
42247         * timezone/zdump.c: Update from tzcode 2012i.
42248         * timezone/zic.c: Likewise.
42249         * timezone/version.h: New file.
42250         * timezone/README: Describe version.h.  Update upstream location.
42252         [BZ #14824]
42253         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
42254         (mktemp): Enable declaration.
42255         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
42256         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
42257         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
42258         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
42259         Likewise.
42260         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
42261         Likewise.
42262         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
42263         Likewise.
42264         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
42265         Likewise.
42266         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
42267         Likewise.
42268         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
42269         Likewise.
42271         [BZ #14821]
42272         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
42273         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
42274         for copies of such integer values.
42275         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
42276         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
42278 2012-11-09  Andreas Jaeger  <aj@suse.de>
42280         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
42281         definitions and declarations that are provided by
42282         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
42284 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42286         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
42287         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
42288         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
42289         definition.
42291 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42293         * elf/elf.h: Update comment before AArch64 relocations.
42295 2012-11-07  David S. Miller  <davem@davemloft.net>
42297         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
42298         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
42299         (__start_context): Declare.
42300         (__makecontext_ret): Delete.
42301         (__makecontext): Hook up __start_context instead of
42302         __makecontext_ret.
42303         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
42304         (sysdep_routines): Add __start_context when in stdlib.
42306 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42308         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
42309         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
42310         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
42311         hardcoded "nm".
42312         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
42313         (READELF): New variable.  Use it instead of hardcoded "readelf".
42315 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
42317         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
42318         * sysdeps/x86/Makefile: Here.
42319         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
42320         * sysdeps/x86/tst-xmmymm.sh: This.
42322 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42324         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
42325         expectations.
42326         [UNIX98] (pthread_barrier_t): Do not expect.
42327         [UNIX98] (pthread_barrierattr_t): Likewise.
42328         [UNIX98] (pthread_spinlock_t): Likewise.
42329         [UNIX98] (pthread_barrier_destroy): Likewise.
42330         [UNIX98] (pthread_barrier_init): Likewise.
42331         [UNIX98] (pthread_barrier_wait): Likewise.
42332         [UNIX98] (pthread_barrierattr_destroy): Likewise.
42333         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
42334         [UNIX98] (pthread_barrierattr_init): Likewise.
42335         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
42336         [UNIX98] (pthread_getcpuclockid): Likewise.
42337         [UNIX98] (pthread_mutex_timedlock): Likewise.
42338         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
42339         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
42340         [UNIX98] (pthread_sigmask): Likewise.
42341         [UNIX98] (pthread_spin_destroy): Likewise.
42342         [UNIX98] (pthread_spin_init): Likewise.
42343         [UNIX98] (pthread_spin_lock): Likewise.
42344         [UNIX98] (pthread_spin_trylock): Likewise.
42345         [UNIX98] (pthread_spin_unlock): Likewise.
42346         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
42347         Do not expect.
42348         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
42349         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
42350         [XPG3 || XPG4] (pthread_cond_t): Likewise.
42351         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
42352         [XPG3 || XPG4] (pthread_key_t): Likewise.
42353         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
42354         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
42355         [XPG3 || XPG4] (pthread_once_t): Likewise.
42356         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
42357         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
42358         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
42359         [XPG3 || XPG4] (pthread_t): Likewise.
42361         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
42362         not expect.
42363         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
42365         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
42366         Change function return type to int.
42368         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
42369         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
42370         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
42371         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
42372         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
42373         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
42374         [!POSIX] (posix_madvise): Likewise.
42375         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
42376         && !UNIX98].
42377         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
42378         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
42379         (mode_t): Likewise.
42380         (posix_mem_offset): Likewise.
42381         (posix_typed_mem_get_info): Likewise.
42382         (posix_typed_mem_open): Likewise.
42384         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
42385         Change condition to [XOPEN2K8].
42387         * conform/conformtest.pl: Preprocess allow-header data with -x c
42388         instead of from stdin.
42389         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
42390         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
42391         [C99-based standards] (cerfc): Likewise.
42392         [C99-based standards] (cexp2): Likewise.
42393         [C99-based standards] (cexpm1): Likewise.
42394         [C99-based standards] (clog10): Likewise.
42395         [C99-based standards] (clog1p): Likewise.
42396         [C99-based standards] (clog2): Likewise.
42397         [C99-based standards] (clgamma): Likewise.
42398         [C99-based standards] (ctgamma): Likewise.
42399         [C99-based standards] (cerff): Likewise.
42400         [C99-based standards] (cerfcf): Likewise.
42401         [C99-based standards] (cexp2f): Likewise.
42402         [C99-based standards] (cexpm1f): Likewise.
42403         [C99-based standards] (clog10f): Likewise.
42404         [C99-based standards] (clog1pf): Likewise.
42405         [C99-based standards] (clog2f): Likewise.
42406         [C99-based standards] (clgammaf): Likewise.
42407         [C99-based standards] (ctgammaf): Likewise.
42408         [C99-based standards] (cerfl): Likewise.
42409         [C99-based standards] (cerfcl): Likewise.
42410         [C99-based standards] (cexp2l): Likewise.
42411         [C99-based standards] (cexpm1l): Likewise.
42412         [C99-based standards] (clog10l): Likewise.
42413         [C99-based standards] (clog1pl): Likewise.
42414         [C99-based standards] (clog2l): Likewise.
42415         [C99-based standards] (clgammal): Likewise.
42416         [C99-based standards] (ctgammal): Likewise.
42417         * conform/data/inttypes.h-data [C99-based standards]: Include
42418         stdint.h-data.  Remove all expectations for stdint.h contents.
42419         [C99-based standards] (PRI*): Do not allow.
42420         [C99-based standards] (SCN*): Likewise.
42421         [C99-based standards] (*_t): Likewise.
42422         [C99-based-standards] (PRId8): Expect macro.
42423         [C99-based-standards] (PRIi8): Likewise.
42424         [C99-based-standards] (PRIo8): Likewise.
42425         [C99-based-standards] (PRIu8): Likewise.
42426         [C99-based-standards] (PRIx8): Likewise.
42427         [C99-based-standards] (PRIX8): Likewise.
42428         [C99-based-standards] (SCNd8): Likewise.
42429         [C99-based-standards] (SCNi8): Likewise.
42430         [C99-based-standards] (SCNo8): Likewise.
42431         [C99-based-standards] (SCNu8): Likewise.
42432         [C99-based-standards] (SCNx8): Likewise.
42433         [C99-based-standards] (PRIdLEAST8): Likewise.
42434         [C99-based-standards] (PRIiLEAST8): Likewise.
42435         [C99-based-standards] (PRIoLEAST8): Likewise.
42436         [C99-based-standards] (PRIuLEAST8): Likewise.
42437         [C99-based-standards] (PRIxLEAST8): Likewise.
42438         [C99-based-standards] (PRIXLEAST8): Likewise.
42439         [C99-based-standards] (SCNdLEAST8): Likewise.
42440         [C99-based-standards] (SCNiLEAST8): Likewise.
42441         [C99-based-standards] (SCNoLEAST8): Likewise.
42442         [C99-based-standards] (SCNuLEAST8): Likewise.
42443         [C99-based-standards] (SCNxLEAST8): Likewise.
42444         [C99-based-standards] (PRIdFAST8): Likewise.
42445         [C99-based-standards] (PRIiFAST8): Likewise.
42446         [C99-based-standards] (PRIoFAST8): Likewise.
42447         [C99-based-standards] (PRIuFAST8): Likewise.
42448         [C99-based-standards] (PRIxFAST8): Likewise.
42449         [C99-based-standards] (PRIXFAST8): Likewise.
42450         [C99-based-standards] (SCNdFAST8): Likewise.
42451         [C99-based-standards] (SCNiFAST8): Likewise.
42452         [C99-based-standards] (SCNoFAST8): Likewise.
42453         [C99-based-standards] (SCNuFAST8): Likewise.
42454         [C99-based-standards] (SCNxFAST8): Likewise.
42455         [C99-based-standards] (PRId16): Likewise.
42456         [C99-based-standards] (PRIi16): Likewise.
42457         [C99-based-standards] (PRIo16): Likewise.
42458         [C99-based-standards] (PRIu16): Likewise.
42459         [C99-based-standards] (PRIx16): Likewise.
42460         [C99-based-standards] (PRIX16): Likewise.
42461         [C99-based-standards] (SCNd16): Likewise.
42462         [C99-based-standards] (SCNi16): Likewise.
42463         [C99-based-standards] (SCNo16): Likewise.
42464         [C99-based-standards] (SCNu16): Likewise.
42465         [C99-based-standards] (SCNx16): Likewise.
42466         [C99-based-standards] (PRIdLEAST16): Likewise.
42467         [C99-based-standards] (PRIiLEAST16): Likewise.
42468         [C99-based-standards] (PRIoLEAST16): Likewise.
42469         [C99-based-standards] (PRIuLEAST16): Likewise.
42470         [C99-based-standards] (PRIxLEAST16): Likewise.
42471         [C99-based-standards] (PRIXLEAST16): Likewise.
42472         [C99-based-standards] (SCNdLEAST16): Likewise.
42473         [C99-based-standards] (SCNiLEAST16): Likewise.
42474         [C99-based-standards] (SCNoLEAST16): Likewise.
42475         [C99-based-standards] (SCNuLEAST16): Likewise.
42476         [C99-based-standards] (SCNxLEAST16): Likewise.
42477         [C99-based-standards] (PRIdFAST16): Likewise.
42478         [C99-based-standards] (PRIiFAST16): Likewise.
42479         [C99-based-standards] (PRIoFAST16): Likewise.
42480         [C99-based-standards] (PRIuFAST16): Likewise.
42481         [C99-based-standards] (PRIxFAST16): Likewise.
42482         [C99-based-standards] (PRIXFAST16): Likewise.
42483         [C99-based-standards] (SCNdFAST16): Likewise.
42484         [C99-based-standards] (SCNiFAST16): Likewise.
42485         [C99-based-standards] (SCNoFAST16): Likewise.
42486         [C99-based-standards] (SCNuFAST16): Likewise.
42487         [C99-based-standards] (SCNxFAST16): Likewise.
42488         [C99-based-standards] (PRId32): Likewise.
42489         [C99-based-standards] (PRIi32): Likewise.
42490         [C99-based-standards] (PRIo32): Likewise.
42491         [C99-based-standards] (PRIu32): Likewise.
42492         [C99-based-standards] (PRIx32): Likewise.
42493         [C99-based-standards] (PRIX32): Likewise.
42494         [C99-based-standards] (SCNd32): Likewise.
42495         [C99-based-standards] (SCNi32): Likewise.
42496         [C99-based-standards] (SCNo32): Likewise.
42497         [C99-based-standards] (SCNu32): Likewise.
42498         [C99-based-standards] (SCNx32): Likewise.
42499         [C99-based-standards] (PRIdLEAST32): Likewise.
42500         [C99-based-standards] (PRIiLEAST32): Likewise.
42501         [C99-based-standards] (PRIoLEAST32): Likewise.
42502         [C99-based-standards] (PRIuLEAST32): Likewise.
42503         [C99-based-standards] (PRIxLEAST32): Likewise.
42504         [C99-based-standards] (PRIXLEAST32): Likewise.
42505         [C99-based-standards] (SCNdLEAST32): Likewise.
42506         [C99-based-standards] (SCNiLEAST32): Likewise.
42507         [C99-based-standards] (SCNoLEAST32): Likewise.
42508         [C99-based-standards] (SCNuLEAST32): Likewise.
42509         [C99-based-standards] (SCNxLEAST32): Likewise.
42510         [C99-based-standards] (PRIdFAST32): Likewise.
42511         [C99-based-standards] (PRIiFAST32): Likewise.
42512         [C99-based-standards] (PRIoFAST32): Likewise.
42513         [C99-based-standards] (PRIuFAST32): Likewise.
42514         [C99-based-standards] (PRIxFAST32): Likewise.
42515         [C99-based-standards] (PRIXFAST32): Likewise.
42516         [C99-based-standards] (SCNdFAST32): Likewise.
42517         [C99-based-standards] (SCNiFAST32): Likewise.
42518         [C99-based-standards] (SCNoFAST32): Likewise.
42519         [C99-based-standards] (SCNuFAST32): Likewise.
42520         [C99-based-standards] (SCNxFAST32): Likewise.
42521         [C99-based-standards] (PRId64): Likewise.
42522         [C99-based-standards] (PRIi64): Likewise.
42523         [C99-based-standards] (PRIo64): Likewise.
42524         [C99-based-standards] (PRIu64): Likewise.
42525         [C99-based-standards] (PRIx64): Likewise.
42526         [C99-based-standards] (PRIX64): Likewise.
42527         [C99-based-standards] (SCNd64): Likewise.
42528         [C99-based-standards] (SCNi64): Likewise.
42529         [C99-based-standards] (SCNo64): Likewise.
42530         [C99-based-standards] (SCNu64): Likewise.
42531         [C99-based-standards] (SCNx64): Likewise.
42532         [C99-based-standards] (PRIdLEAST64): Likewise.
42533         [C99-based-standards] (PRIiLEAST64): Likewise.
42534         [C99-based-standards] (PRIoLEAST64): Likewise.
42535         [C99-based-standards] (PRIuLEAST64): Likewise.
42536         [C99-based-standards] (PRIxLEAST64): Likewise.
42537         [C99-based-standards] (PRIXLEAST64): Likewise.
42538         [C99-based-standards] (SCNdLEAST64): Likewise.
42539         [C99-based-standards] (SCNiLEAST64): Likewise.
42540         [C99-based-standards] (SCNoLEAST64): Likewise.
42541         [C99-based-standards] (SCNuLEAST64): Likewise.
42542         [C99-based-standards] (SCNxLEAST64): Likewise.
42543         [C99-based-standards] (PRIdFAST64): Likewise.
42544         [C99-based-standards] (PRIiFAST64): Likewise.
42545         [C99-based-standards] (PRIoFAST64): Likewise.
42546         [C99-based-standards] (PRIuFAST64): Likewise.
42547         [C99-based-standards] (PRIxFAST64): Likewise.
42548         [C99-based-standards] (PRIXFAST64): Likewise.
42549         [C99-based-standards] (SCNdFAST64): Likewise.
42550         [C99-based-standards] (SCNiFAST64): Likewise.
42551         [C99-based-standards] (SCNoFAST64): Likewise.
42552         [C99-based-standards] (SCNuFAST64): Likewise.
42553         [C99-based-standards] (SCNxFAST64): Likewise.
42554         [C99-based-standards] (PRIdMAX): Likewise.
42555         [C99-based-standards] (PRIiMAX): Likewise.
42556         [C99-based-standards] (PRIoMAX): Likewise.
42557         [C99-based-standards] (PRIuMAX): Likewise.
42558         [C99-based-standards] (PRIxMAX): Likewise.
42559         [C99-based-standards] (PRIXMAX): Likewise.
42560         [C99-based-standards] (SCNdMAX): Likewise.
42561         [C99-based-standards] (SCNiMAX): Likewise.
42562         [C99-based-standards] (SCNoMAX): Likewise.
42563         [C99-based-standards] (SCNuMAX): Likewise.
42564         [C99-based-standards] (SCNxMAX): Likewise.
42565         [C99-based-standards] (PRIdPTR): Likewise.
42566         [C99-based-standards] (PRIiPTR): Likewise.
42567         [C99-based-standards] (PRIoPTR): Likewise.
42568         [C99-based-standards] (PRIuPTR): Likewise.
42569         [C99-based-standards] (PRIxPTR): Likewise.
42570         [C99-based-standards] (PRIXPTR): Likewise.
42571         [C99-based-standards] (SCNdPTR): Likewise.
42572         [C99-based-standards] (SCNiPTR): Likewise.
42573         [C99-based-standards] (SCNoPTR): Likewise.
42574         [C99-based-standards] (SCNuPTR): Likewise.
42575         [C99-based-standards] (SCNxPTR): Likewise.
42576         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
42577         allow.
42578         * conform/data/stdint.h-data: Update comments to clarify
42579         requirements.
42580         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
42581         type.
42582         [C99-based standards] (INT8_MAX): Likewise.
42583         [C99-based standards] (INT16_MIN): Likewise.
42584         [C99-based standards] (INT16_MAX): Likewise.
42585         [C99-based standards] (INT32_MIN): Likewise.
42586         [C99-based standards] (INT32_MAX): Likewise.
42587         [C99-based standards] (INT64_MIN): Likewise.
42588         [C99-based standards] (INT64_MAX): Likewise.
42589         [C99-based standards] (UINT8_MAX): Likewise.
42590         [C99-based standards] (UINT16_MAX): Likewise.
42591         [C99-based standards] (UINT32_MAX): Likewise.
42592         [C99-based standards] (UINT64_MAX): Likewise.
42593         [C99-based standards] (INT_LEAST8_MIN): Likewise.
42594         [C99-based standards] (INT_LEAST8_MAX): Likewise.
42595         [C99-based standards] (INT_LEAST16_MIN): Likewise.
42596         [C99-based standards] (INT_LEAST16_MAX): Likewise.
42597         [C99-based standards] (INT_LEAST32_MIN): Likewise.
42598         [C99-based standards] (INT_LEAST32_MAX): Likewise.
42599         [C99-based standards] (INT_LEAST64_MIN): Likewise.
42600         [C99-based standards] (INT_LEAST64_MAX): Likewise.
42601         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
42602         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
42603         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
42604         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
42605         [C99-based standards] (INT_FAST8_MIN): Likewise.
42606         [C99-based standards] (INT_FAST8_MAX): Likewise.
42607         [C99-based standards] (INT_FAST16_MIN): Likewise.
42608         [C99-based standards] (INT_FAST16_MAX): Likewise.
42609         [C99-based standards] (INT_FAST32_MIN): Likewise.
42610         [C99-based standards] (INT_FAST32_MAX): Likewise.
42611         [C99-based standards] (INT_FAST64_MIN): Likewise.
42612         [C99-based standards] (INT_FAST64_MAX): Likewise.
42613         [C99-based standards] (UINT_FAST8_MAX): Likewise.
42614         [C99-based standards] (UINT_FAST16_MAX): Likewise.
42615         [C99-based standards] (UINT_FAST32_MAX): Likewise.
42616         [C99-based standards] (UINT_FAST64_MAX): Likewise.
42617         [C99-based standards] (INTPTR_MIN): Likewise.
42618         [C99-based standards] (INTPTR_MAX): Likewise.
42619         [C99-based standards] (UINTPTR_MAX): Likewise.
42620         [C99-based standards] (INTMAX_MIN): Likewise.
42621         [C99-based standards] (INTMAX_MAX): Likewise.
42622         [C99-based standards] (UINTMAX_MAX): Likewise.
42623         [C99-based standards] (PTRDIFF_MIN): Likewise.
42624         [C99-based standards] (PTRDIFF_MAX): Likewise.
42625         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
42626         [C99-based standards] (SIZE_MAX): Likewise.
42627         [C99-based standards] (WCHAR_MAX): Likewise.
42628         [C99-based standards] (WINT_MAX): Likewise.
42629         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
42630         constraint on value.
42631         [C99-based standards] (WCHAR_MIN): Likewise.
42632         [C99-based standards] (WINT_MIN): Likewise.
42633         [C99-based standards] (*_t): Allow.
42634         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
42635         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
42636         Include math.h-data and complex.h-data.  Remove all expectations
42637         of math.h and complex.h contents.
42638         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
42639         at end of line.
42640         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
42641         (struct tm): Expect tag.
42642         [C99-based-standards] (wcstof): Expect function.
42643         [C99-based-standards] (wcstold): Likewise.
42644         [C99-based-standards] (wcstoll): Likewise.
42645         [C99-based-standards] (wcstoull): Likewise.
42646         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
42647         macro-int-constant.  Specify type.
42648         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
42649         constraint on value.
42650         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
42651         Specify type.
42652         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
42653         Specify value.
42654         [ISO C standards]: Do not allow headers.
42655         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
42656         wcs[abcdefghijklmnopqrstuvwxyz]*.
42657         [ISO C standards] (*_t): Do not allow.
42658         * conform/data/wctype.h-data [C99-based standards] (iswblank):
42659         Expect function.
42660         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
42661         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
42662         Specify type.
42663         [ISO C standards]: Do not allow headers.
42664         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
42665         is[abcdefghijklmnopqrstuvwxyz]*.
42666         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
42667         to[abcdefghijklmnopqrstuvwxyz]*.
42668         [ISO C standards] (*_t): Do not allow.
42669         * conform/data/stdalign.h-data: New file.
42670         * conform/data/stdbool.h-data: Likewise.
42671         * conform/data/stdnoreturn.h-data: Likewise.
42673 2012-11-07  Roland McGrath  <roland@hack.frob.com>
42675         [BZ #14815]
42676         * manual/filesys.texi (Directory Entries): Typo fix.
42677         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
42679 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42681         * elf/elf.h (EM_AARCH64): New macro.
42682         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
42683         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
42684         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
42685         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
42686         (R_AARCH64_TLSDESC): Likewise.
42687         (NT_ARM_TLS): Likewise.
42688         (NT_ARM_HW_BREAK): Likewise.
42689         (NT_ARM_HW_WATCH): Likewise.
42691 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42693         [BZ #14811]
42694         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
42695         (__ieee754_powl): Saturate nonzero exponents with absolute value
42696         below 0x1p-79 to +/- 0x1p-79.
42697         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
42698         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
42699         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
42700         nonzero exponents with absolute value below 0x1p-32 to +/-
42701         0x1p-32.
42702         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
42703         (__ieee754_powl): Saturate nonzero exponents with absolute value
42704         below 0x1p-79 to +/- 0x1p-79.
42705         * math/libm-test.inc (pow_test): Add more tests.
42707 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42709         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
42710         _dl_s390_cap_flags with kernel. Increase string length.
42711         (_dl_s390_platforms): Add z196 and zEC12.
42713 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42715         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
42716         Change XOPEN21K to XOPEN2K.
42718 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
42720         * string/memmove.c: Use memcpy when possible.
42722 2012-11-06  Andreas Jaeger  <aj@suse.de>
42724         * po/eo.po: Update from translation team.
42726 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
42728         [BZ #14793]
42729         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
42730         exponent and small x and y exponents, scale x or y up.  Increase
42731         by 2 the exponent used in scaling up.
42732         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42733         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42734         * math/libm-test.inc (fma_test): Add more tests.
42735         (fma_test_towardzero): Likewise.
42736         (fma_test_downward): Likewise.
42737         (fma_test_upward): Likewise.
42739 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
42741         [BZ #14805]
42742         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
42743         fenv_t *.
42745         [BZ #14801]
42746         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
42747         namespace for names of struct fields.
42748         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
42749         fenv_t fields.
42750         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
42751         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
42753 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42755         [BZ #3665]
42756         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
42758 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
42760         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
42761         PTR_DEMANGLE.
42763         [BZ #5246]
42764         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
42765         PTR_DEMANGLE.
42767 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
42769         [BZ #14797]
42770         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
42771         definitely overflow as x * y not x * y + z.
42772         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42773         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42774         * math/libm-test.inc (fma_test): Add more tests.
42775         (fma_test_towardzero): Likewise.
42776         (fma_test_downward): Likewise.
42777         (fma_test_upward): Likewise.
42779 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
42781         [BZ #157]
42783         * include/stub-tag.h: Remove file.
42784         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
42785         '#include' of it.
42786         * manual/maint.texi (Porting): Don't reference it.
42787         * Makerules ($(objpfx)stubs): Likewise.
42788         * dirent/closedir.c: Don't include <stub-tag.h>.
42789         * dirent/dirfd.c: Likewise.
42790         * dirent/fdopendir.c: Likewise.
42791         * dirent/getdents.c: Likewise.
42792         * dirent/getdents64.c: Likewise.
42793         * dirent/opendir.c: Likewise.
42794         * dirent/readdir.c: Likewise.
42795         * dirent/readdir64.c: Likewise.
42796         * dirent/readdir64_r.c: Likewise.
42797         * dirent/readdir_r.c: Likewise.
42798         * dirent/rewinddir.c: Likewise.
42799         * dirent/seekdir.c: Likewise.
42800         * dirent/telldir.c: Likewise.
42801         * gmon/profil.c: Likewise.
42802         * grp/setgroups.c: Likewise.
42803         * inet/if_index.c: Likewise.
42804         * io/access.c: Likewise.
42805         * io/chdir.c: Likewise.
42806         * io/chmod.c: Likewise.
42807         * io/chown.c: Likewise.
42808         * io/close.c: Likewise.
42809         * io/dup.c: Likewise.
42810         * io/dup2.c: Likewise.
42811         * io/dup3.c: Likewise.
42812         * io/euidaccess.c: Likewise.
42813         * io/faccessat.c: Likewise.
42814         * io/fchdir.c: Likewise.
42815         * io/fchmod.c: Likewise.
42816         * io/fchmodat.c: Likewise.
42817         * io/fchown.c: Likewise.
42818         * io/fchownat.c: Likewise.
42819         * io/fcntl.c: Likewise.
42820         * io/flock.c: Likewise.
42821         * io/fstatfs.c: Likewise.
42822         * io/fstatfs64.c: Likewise.
42823         * io/fstatvfs.c: Likewise.
42824         * io/fstatvfs64.c: Likewise.
42825         * io/futimens.c: Likewise.
42826         * io/fxstat.c: Likewise.
42827         * io/fxstat64.c: Likewise.
42828         * io/fxstatat.c: Likewise.
42829         * io/fxstatat64.c: Likewise.
42830         * io/getcwd.c: Likewise.
42831         * io/isatty.c: Likewise.
42832         * io/lchmod.c: Likewise.
42833         * io/lchown.c: Likewise.
42834         * io/link.c: Likewise.
42835         * io/linkat.c: Likewise.
42836         * io/lseek.c: Likewise.
42837         * io/lseek64.c: Likewise.
42838         * io/lxstat64.c: Likewise.
42839         * io/mkdir.c: Likewise.
42840         * io/mkdirat.c: Likewise.
42841         * io/mkfifo.c: Likewise.
42842         * io/mkfifoat.c: Likewise.
42843         * io/open.c: Likewise.
42844         * io/open64.c: Likewise.
42845         * io/openat.c: Likewise.
42846         * io/openat64.c: Likewise.
42847         * io/pipe.c: Likewise.
42848         * io/pipe2.c: Likewise.
42849         * io/poll.c: Likewise.
42850         * io/posix_fadvise.c: Likewise.
42851         * io/posix_fadvise64.c: Likewise.
42852         * io/posix_fallocate.c: Likewise.
42853         * io/posix_fallocate64.c: Likewise.
42854         * io/read.c: Likewise.
42855         * io/readlink.c: Likewise.
42856         * io/readlinkat.c: Likewise.
42857         * io/rmdir.c: Likewise.
42858         * io/sendfile.c: Likewise.
42859         * io/sendfile64.c: Likewise.
42860         * io/statfs.c: Likewise.
42861         * io/statfs64.c: Likewise.
42862         * io/statvfs.c: Likewise.
42863         * io/statvfs64.c: Likewise.
42864         * io/symlink.c: Likewise.
42865         * io/symlinkat.c: Likewise.
42866         * io/ttyname.c: Likewise.
42867         * io/ttyname_r.c: Likewise.
42868         * io/umask.c: Likewise.
42869         * io/unlink.c: Likewise.
42870         * io/unlinkat.c: Likewise.
42871         * io/utime.c: Likewise.
42872         * io/utimensat.c: Likewise.
42873         * io/write.c: Likewise.
42874         * io/xmknod.c: Likewise.
42875         * io/xmknodat.c: Likewise.
42876         * io/xstat.c: Likewise.
42877         * io/xstat64.c: Likewise.
42878         * login/getpt.c: Likewise.
42879         * login/grantpt.c: Likewise.
42880         * login/unlockpt.c: Likewise.
42881         * math/e_acoshl.c: Likewise.
42882         * math/e_acosl.c: Likewise.
42883         * math/e_asinl.c: Likewise.
42884         * math/e_atan2l.c: Likewise.
42885         * math/e_atanhl.c: Likewise.
42886         * math/e_coshl.c: Likewise.
42887         * math/e_expl.c: Likewise.
42888         * math/e_fmodl.c: Likewise.
42889         * math/e_gammal_r.c: Likewise.
42890         * math/e_hypotl.c: Likewise.
42891         * math/e_j0l.c: Likewise.
42892         * math/e_j1l.c: Likewise.
42893         * math/e_jnl.c: Likewise.
42894         * math/e_lgammal_r.c: Likewise.
42895         * math/e_log10l.c: Likewise.
42896         * math/e_log2l.c: Likewise.
42897         * math/e_logl.c: Likewise.
42898         * math/e_powl.c: Likewise.
42899         * math/e_rem_pio2l.c: Likewise.
42900         * math/e_sinhl.c: Likewise.
42901         * math/e_sqrtl.c: Likewise.
42902         * math/fclrexcpt.c: Likewise.
42903         * math/fedisblxcpt.c: Likewise.
42904         * math/feenablxcpt.c: Likewise.
42905         * math/fegetenv.c: Likewise.
42906         * math/fegetexcept.c: Likewise.
42907         * math/fegetround.c: Likewise.
42908         * math/feholdexcpt.c: Likewise.
42909         * math/fesetenv.c: Likewise.
42910         * math/fesetround.c: Likewise.
42911         * math/feupdateenv.c: Likewise.
42912         * math/fgetexcptflg.c: Likewise.
42913         * math/fraiseexcpt.c: Likewise.
42914         * math/fsetexcptflg.c: Likewise.
42915         * math/ftestexcept.c: Likewise.
42916         * math/k_cosl.c: Likewise.
42917         * math/k_rem_pio2l.c: Likewise.
42918         * math/k_sinl.c: Likewise.
42919         * math/k_tanl.c: Likewise.
42920         * math/s_asinhl.c: Likewise.
42921         * math/s_atanl.c: Likewise.
42922         * math/s_cbrtl.c: Likewise.
42923         * math/s_erfl.c: Likewise.
42924         * math/s_expm1l.c: Likewise.
42925         * math/s_log1pl.c: Likewise.
42926         * math/s_tanhl.c: Likewise.
42927         * misc/acct.c: Likewise.
42928         * misc/brk.c: Likewise.
42929         * misc/chflags.c: Likewise.
42930         * misc/chroot.c: Likewise.
42931         * misc/fchflags.c: Likewise.
42932         * misc/fgetxattr.c: Likewise.
42933         * misc/flistxattr.c: Likewise.
42934         * misc/fremovexattr.c: Likewise.
42935         * misc/fsetxattr.c: Likewise.
42936         * misc/fsync.c: Likewise.
42937         * misc/ftruncate.c: Likewise.
42938         * misc/futimes.c: Likewise.
42939         * misc/futimesat.c: Likewise.
42940         * misc/getdomain.c: Likewise.
42941         * misc/getdtsz.c: Likewise.
42942         * misc/gethostid.c: Likewise.
42943         * misc/gethostname.c: Likewise.
42944         * misc/getloadavg.c: Likewise.
42945         * misc/getpagesize.c: Likewise.
42946         * misc/getsysstats.c: Likewise.
42947         * misc/getxattr.c: Likewise.
42948         * misc/gtty.c: Likewise.
42949         * misc/ioctl.c: Likewise.
42950         * misc/lgetxattr.c: Likewise.
42951         * misc/listxattr.c: Likewise.
42952         * misc/llistxattr.c: Likewise.
42953         * misc/lremovexattr.c: Likewise.
42954         * misc/lsetxattr.c: Likewise.
42955         * misc/lutimes.c: Likewise.
42956         * misc/madvise.c: Likewise.
42957         * misc/mincore.c: Likewise.
42958         * misc/mlock.c: Likewise.
42959         * misc/mlockall.c: Likewise.
42960         * misc/mmap.c: Likewise.
42961         * misc/mprotect.c: Likewise.
42962         * misc/msync.c: Likewise.
42963         * misc/munlock.c: Likewise.
42964         * misc/munlockall.c: Likewise.
42965         * misc/munmap.c: Likewise.
42966         * misc/preadv.c: Likewise.
42967         * misc/preadv64.c: Likewise.
42968         * misc/ptrace.c: Likewise.
42969         * misc/pwritev.c: Likewise.
42970         * misc/pwritev64.c: Likewise.
42971         * misc/readv.c: Likewise.
42972         * misc/reboot.c: Likewise.
42973         * misc/remap_file_pages.c: Likewise.
42974         * misc/removexattr.c: Likewise.
42975         * misc/revoke.c: Likewise.
42976         * misc/select.c: Likewise.
42977         * misc/setdomain.c: Likewise.
42978         * misc/setegid.c: Likewise.
42979         * misc/seteuid.c: Likewise.
42980         * misc/sethostid.c: Likewise.
42981         * misc/sethostname.c: Likewise.
42982         * misc/setregid.c: Likewise.
42983         * misc/setreuid.c: Likewise.
42984         * misc/setxattr.c: Likewise.
42985         * misc/sstk.c: Likewise.
42986         * misc/stty.c: Likewise.
42987         * misc/swapoff.c: Likewise.
42988         * misc/swapon.c: Likewise.
42989         * misc/sync.c: Likewise.
42990         * misc/syncfs.c: Likewise.
42991         * misc/syscall.c: Likewise.
42992         * misc/truncate.c: Likewise.
42993         * misc/ualarm.c: Likewise.
42994         * misc/usleep.c: Likewise.
42995         * misc/ustat.c: Likewise.
42996         * misc/utimes.c: Likewise.
42997         * misc/vhangup.c: Likewise.
42998         * misc/writev.c: Likewise.
42999         * posix/_exit.c: Likewise.
43000         * posix/alarm.c: Likewise.
43001         * posix/execve.c: Likewise.
43002         * posix/fexecve.c: Likewise.
43003         * posix/fork.c: Likewise.
43004         * posix/fpathconf.c: Likewise.
43005         * posix/getaddrinfo.c: Likewise.
43006         * posix/getegid.c: Likewise.
43007         * posix/geteuid.c: Likewise.
43008         * posix/getgid.c: Likewise.
43009         * posix/getgroups.c: Likewise.
43010         * posix/getlogin.c: Likewise.
43011         * posix/getlogin_r.c: Likewise.
43012         * posix/getpgid.c: Likewise.
43013         * posix/getpid.c: Likewise.
43014         * posix/getppid.c: Likewise.
43015         * posix/getresgid.c: Likewise.
43016         * posix/getresuid.c: Likewise.
43017         * posix/getsid.c: Likewise.
43018         * posix/getuid.c: Likewise.
43019         * posix/glob64.c: Likewise.
43020         * posix/nanosleep.c: Likewise.
43021         * posix/pathconf.c: Likewise.
43022         * posix/pause.c: Likewise.
43023         * posix/posix_madvise.c: Likewise.
43024         * posix/pread.c: Likewise.
43025         * posix/pread64.c: Likewise.
43026         * posix/pwrite.c: Likewise.
43027         * posix/pwrite64.c: Likewise.
43028         * posix/sched_getaffinity.c: Likewise.
43029         * posix/sched_getp.c: Likewise.
43030         * posix/sched_gets.c: Likewise.
43031         * posix/sched_primax.c: Likewise.
43032         * posix/sched_primin.c: Likewise.
43033         * posix/sched_rr_gi.c: Likewise.
43034         * posix/sched_setaffinity.c: Likewise.
43035         * posix/sched_setp.c: Likewise.
43036         * posix/sched_sets.c: Likewise.
43037         * posix/sched_yield.c: Likewise.
43038         * posix/setgid.c: Likewise.
43039         * posix/setlogin.c: Likewise.
43040         * posix/setpgid.c: Likewise.
43041         * posix/setresgid.c: Likewise.
43042         * posix/setresuid.c: Likewise.
43043         * posix/setsid.c: Likewise.
43044         * posix/setuid.c: Likewise.
43045         * posix/sleep.c: Likewise.
43046         * posix/spawni.c: Likewise.
43047         * posix/sysconf.c: Likewise.
43048         * posix/times.c: Likewise.
43049         * posix/wait.c: Likewise.
43050         * posix/wait3.c: Likewise.
43051         * posix/wait4.c: Likewise.
43052         * posix/waitpid.c: Likewise.
43053         * resolv/gai_sigqueue.c: Likewise.
43054         * resource/getpriority.c: Likewise.
43055         * resource/getrlimit.c: Likewise.
43056         * resource/getrusage.c: Likewise.
43057         * resource/nice.c: Likewise.
43058         * resource/setpriority.c: Likewise.
43059         * resource/setrlimit.c: Likewise.
43060         * resource/ulimit.c: Likewise.
43061         * rt/aio_cancel.c: Likewise.
43062         * rt/aio_fsync.c: Likewise.
43063         * rt/aio_read.c: Likewise.
43064         * rt/aio_sigqueue.c: Likewise.
43065         * rt/aio_suspend.c: Likewise.
43066         * rt/aio_write.c: Likewise.
43067         * rt/clock_getres.c: Likewise.
43068         * rt/clock_gettime.c: Likewise.
43069         * rt/clock_nanosleep.c: Likewise.
43070         * rt/clock_settime.c: Likewise.
43071         * rt/lio_listio.c: Likewise.
43072         * rt/mq_close.c: Likewise.
43073         * rt/mq_getattr.c: Likewise.
43074         * rt/mq_notify.c: Likewise.
43075         * rt/mq_open.c: Likewise.
43076         * rt/mq_receive.c: Likewise.
43077         * rt/mq_send.c: Likewise.
43078         * rt/mq_setattr.c: Likewise.
43079         * rt/mq_timedreceive.c: Likewise.
43080         * rt/mq_timedsend.c: Likewise.
43081         * rt/mq_unlink.c: Likewise.
43082         * rt/shm_open.c: Likewise.
43083         * rt/shm_unlink.c: Likewise.
43084         * rt/timer_create.c: Likewise.
43085         * rt/timer_delete.c: Likewise.
43086         * rt/timer_getoverr.c: Likewise.
43087         * rt/timer_gettime.c: Likewise.
43088         * rt/timer_settime.c: Likewise.
43089         * setjmp/__longjmp.c: Likewise.
43090         * setjmp/setjmp.c: Likewise.
43091         * signal/kill.c: Likewise.
43092         * signal/killpg.c: Likewise.
43093         * signal/raise.c: Likewise.
43094         * signal/sigaction.c: Likewise.
43095         * signal/sigaltstack.c: Likewise.
43096         * signal/sigblock.c: Likewise.
43097         * signal/sigignore.c: Likewise.
43098         * signal/sigintr.c: Likewise.
43099         * signal/signal.c: Likewise.
43100         * signal/sigpause.c: Likewise.
43101         * signal/sigpending.c: Likewise.
43102         * signal/sigqueue.c: Likewise.
43103         * signal/sigreturn.c: Likewise.
43104         * signal/sigset.c: Likewise.
43105         * signal/sigsetmask.c: Likewise.
43106         * signal/sigstack.c: Likewise.
43107         * signal/sigsuspend.c: Likewise.
43108         * signal/sigtimedwait.c: Likewise.
43109         * signal/sigvec.c: Likewise.
43110         * signal/sigwait.c: Likewise.
43111         * signal/sigwaitinfo.c: Likewise.
43112         * signal/sysv_signal.c: Likewise.
43113         * socket/accept.c: Likewise.
43114         * socket/accept4.c: Likewise.
43115         * socket/bind.c: Likewise.
43116         * socket/connect.c: Likewise.
43117         * socket/getpeername.c: Likewise.
43118         * socket/getsockname.c: Likewise.
43119         * socket/getsockopt.c: Likewise.
43120         * socket/isfdtype.c: Likewise.
43121         * socket/listen.c: Likewise.
43122         * socket/recv.c: Likewise.
43123         * socket/recvfrom.c: Likewise.
43124         * socket/recvmsg.c: Likewise.
43125         * socket/send.c: Likewise.
43126         * socket/sendmsg.c: Likewise.
43127         * socket/sendto.c: Likewise.
43128         * socket/setsockopt.c: Likewise.
43129         * socket/shutdown.c: Likewise.
43130         * socket/sockatmark.c: Likewise.
43131         * socket/socket.c: Likewise.
43132         * socket/socketpair.c: Likewise.
43133         * stdio-common/ctermid.c: Likewise.
43134         * stdio-common/cuserid.c: Likewise.
43135         * stdio-common/remove.c: Likewise.
43136         * stdio-common/rename.c: Likewise.
43137         * stdio-common/renameat.c: Likewise.
43138         * stdio-common/tempname.c: Likewise.
43139         * stdlib/getcontext.c: Likewise.
43140         * stdlib/makecontext.c: Likewise.
43141         * stdlib/setcontext.c: Likewise.
43142         * stdlib/swapcontext.c: Likewise.
43143         * stdlib/system.c: Likewise.
43144         * streams/fattach.c: Likewise.
43145         * streams/fdetach.c: Likewise.
43146         * streams/getmsg.c: Likewise.
43147         * streams/getpmsg.c: Likewise.
43148         * streams/putmsg.c: Likewise.
43149         * streams/putpmsg.c: Likewise.
43150         * sysdeps/unix/bsd/getpt.c: Likewise.
43151         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
43152         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
43153         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
43154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
43155         Likewise.
43156         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
43157         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
43158         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
43159         * sysvipc/msgctl.c: Likewise.
43160         * sysvipc/msgget.c: Likewise.
43161         * sysvipc/msgrcv.c: Likewise.
43162         * sysvipc/msgsnd.c: Likewise.
43163         * sysvipc/semctl.c: Likewise.
43164         * sysvipc/semget.c: Likewise.
43165         * sysvipc/semop.c: Likewise.
43166         * sysvipc/semtimedop.c: Likewise.
43167         * sysvipc/shmat.c: Likewise.
43168         * sysvipc/shmctl.c: Likewise.
43169         * sysvipc/shmdt.c: Likewise.
43170         * sysvipc/shmget.c: Likewise.
43171         * termios/tcdrain.c: Likewise.
43172         * termios/tcflow.c: Likewise.
43173         * termios/tcflush.c: Likewise.
43174         * termios/tcgetattr.c: Likewise.
43175         * termios/tcgetpgrp.c: Likewise.
43176         * termios/tcsendbrk.c: Likewise.
43177         * termios/tcsetattr.c: Likewise.
43178         * termios/tcsetpgrp.c: Likewise.
43179         * time/adjtime.c: Likewise.
43180         * time/clock.c: Likewise.
43181         * time/getitimer.c: Likewise.
43182         * time/gettimeofday.c: Likewise.
43183         * time/setitimer.c: Likewise.
43184         * time/settimeofday.c: Likewise.
43185         * time/stime.c: Likewise.
43186         * time/time.c: Likewise.
43188 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
43190         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
43191         /usr/old/bin.
43193         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
43194         instead of spaces.
43195         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
43197 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
43199         [BZ #14796]
43200         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
43201         FE_TONEAREST before applying Dekker multiplication and Knuth
43202         addition.  Clear inexact exceptions and check for exact zero
43203         results afterwards.
43204         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43205         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
43206         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43207         * math/libm-test.inc (fma_test): Add more tests.
43208         (fma_test_towardzero): Likewise.
43209         (fma_test_downward): Likewise.
43210         (fma_test_upward): Likewise.
43211         * sysdeps/generic/math_private.h (default_libc_fesetround): New
43212         function.
43213         (libc_fesetround): New macro.
43214         (libc_fesetroundf): Likewise.
43215         (libc_fesetroundl): Likewise.
43216         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
43217         function.
43218         (libc_fesetround_387): Likewise.
43219         (libc_fesetroundf): New macro.
43220         (libc_fesetround): Likewise.
43221         (libc_fesetroundl): Likewise.
43222         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
43223         function.
43224         (libc_fesetroundf): New macro.
43225         (libc_fesetround): Likewise.
43226         (libc_fesetroundl): Likewise.
43227         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
43228         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
43229         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
43230         libm_hidden_ver.
43231         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
43232         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
43233         libm_hidden_def.
43234         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
43235         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
43236         libm_hidden_ver.
43237         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
43238         libm_hidden_def.
43240         [BZ #3439]
43241         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
43242         integer constant usable in #if and use that to give value to enum
43243         constant.
43244         (FE_DIVBYZERO): Likewise.
43245         (FE_UNDERFLOW): Likewise.
43246         (FE_OVERFLOW): Likewise.
43247         (FE_INVALID): Likewise.
43248         (FE_INVALID_SNAN): Likewise.
43249         (FE_INVALID_ISI): Likewise.
43250         (FE_INVALID_IDI): Likewise.
43251         (FE_INVALID_ZDZ): Likewise.
43252         (FE_INVALID_IMZ): Likewise.
43253         (FE_INVALID_COMPARE): Likewise.
43254         (FE_INVALID_SOFTWARE): Likewise.
43255         (FE_INVALID_SQRT): Likewise.
43256         (FE_INVALID_INTEGER_CONVERSION): Likewise.
43257         (FE_TONEAREST): Likewise.
43258         (FE_TOWARDZERO): Likewise.
43259         (FE_UPWARD): Likewise.
43260         (FE_DOWNWARD): Likewise.
43261         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
43262         (FE_DIVBYZERO): Likewise.
43263         (FE_OVERFLOW): Likewise.
43264         (FE_UNDERFLOW): Likewise.
43265         (FE_INEXACT): Likewise.
43266         (FE_TONEAREST): Likewise.
43267         (FE_DOWNWARD): Likewise.
43268         (FE_UPWARD): Likewise.
43269         (FE_TOWARDZERO): Likewise.
43270         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
43271         (FE_UNDERFLOW): Likewise.
43272         (FE_OVERFLOW): Likewise.
43273         (FE_DIVBYZERO): Likewise.
43274         (FE_INVALID): Likewise.
43275         (FE_TONEAREST): Likewise.
43276         (FE_TOWARDZERO): Likewise.
43277         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
43278         (FE_OVERFLOW): Likewise.
43279         (FE_UNDERFLOW): Likewise.
43280         (FE_DIVBYZERO): Likewise.
43281         (FE_INEXACT): Likewise.
43282         (FE_TONEAREST): Likewise.
43283         (FE_TOWARDZERO): Likewise.
43284         (FE_UPWARD): Likewise.
43285         (FE_DOWNWARD): Likewise.
43286         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
43287         (FE_DIVBYZERO): Likewise.
43288         (FE_OVERFLOW): Likewise.
43289         (FE_UNDERFLOW): Likewise.
43290         (FE_INEXACT): Likewise.
43291         (FE_TONEAREST): Likewise.
43292         (FE_DOWNWARD): Likewise.
43293         (FE_UPWARD): Likewise.
43294         (FE_TOWARDZERO): Likewise.
43296 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
43298         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
43300 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
43302         * scripts/cross-test-ssh.sh (command): Use newlines to separate
43303         commands.  Quote $PWD.
43304         (blacklist_exports): Don't use remove_newlines.  Replace "declare
43305         -x" by "export".
43306         (remove_newlines): Remove.
43308 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
43310         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
43311         * stdlib/stdlib.h (atof): Moved to ...
43312         * include/bits/stdlib-float.h: Here.  New file.
43313         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
43314         * stdlib/bits/stdlib-float.h: New file.
43315         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
43316         -mno-sse -mno-mmx.
43317         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
43318         <xmmintrin.h>.
43320 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
43322         * conform/conformtest.pl (@headers): Add fenv.h.
43323         * conform/data/fenv.h-data: New file.
43324         * include/fenv.h [_ISOMAC]: Disable all contents of file except
43325         include of <math/fenv.h>.
43327         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
43328         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
43329         && !UNIX98].  Enables tests for XOPEN2K8.
43330         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
43331         POSIX2008]: Likewise.
43333         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
43334         (struct rusage): Do not expect type or its members.
43336         [BZ #3439]
43337         * math/math.h (FP_NAN): Define macro to integer constant usable in
43338         #if and use that to give value to enum constant.
43339         (FP_INFINITE): Likewise.
43340         (FP_ZERO): Likewise.
43341         (FP_SUBNORMAL): Likewise.
43342         (FP_NORMAL): Likewise.
43344 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
43346         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
43347         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
43348         arguments.
43350 2012-11-02  Roland McGrath  <roland@hack.frob.com>
43352         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
43353         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
43354         autoconf-time if not.
43355         * configure.in: Remove AC_PREREQ.
43357 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43359         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
43360         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
43361         of the internal implementation.
43363 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
43365         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
43366         except include of <misc/sys/syslog.h>.
43368 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
43370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
43371         function returns with a NULL context exit with zero.
43373 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43375         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
43377 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
43379         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
43380         (run_program_cmd): This.
43381         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
43382         (tst_langinfo): New variable.  Use it.
43384 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
43386         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
43387         floating point opcodes.
43389 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
43391         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
43392         variable.
43394         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
43396         * sysdeps/mach/hurd/powerpc: Remove directory.
43397         * sysdeps/mach/powerpc: Likewise.
43399 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
43401         * scripts/check-local-headers.sh: Ignore c++ headers.
43403 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
43405         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
43406         __libc_cleanup_region_start argument.
43408 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
43410         [BZ #14784]
43411         [BZ #14785]
43412         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
43413         x * y using scaling, not as x * y + z.
43414         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43415         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43416         * math/libm-test.inc (fma_test): Add more tests.
43417         (fma_test_towardzero): Likewise.
43418         (fma_test_downward): Likewise.
43419         (fma_test_upward): Likewise.
43421 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
43423         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
43425 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
43427         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
43428         New variable.
43430 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
43432         * rt/tst-shm.c (worker): Correct checking for mmap failure.
43434 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
43436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43437         Fix sort order.
43438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43439         Likewise.
43441 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43444         Fix the order of the list for glibc 2.17.
43445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43446         Likewise.
43448 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
43450         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43452 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
43454         [BZ #14610]
43455         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
43456         for low part of x being zero before using __atanl (y).
43457         * math/libm-test.inc (atan2_test): Add another test.
43459         * manual/install.texi (Configuring and compiling): Document
43460         general use of test-wrapper and test-wrapper-env.
43461         * INSTALL: Regenerated.
43463         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
43464         (__fma): Do not extract and scale down low bits on after-rounding
43465         systems when result rounded to normal precision would have normal
43466         exponent.
43467         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
43468         (__fmal): Do not extract and scale down low bits on after-rounding
43469         systems when result rounded to normal precision would have normal
43470         exponent.
43471         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
43472         (__fmal): Do not extract and scale down low bits on after-rounding
43473         systems when result rounded to normal precision would have normal
43474         exponent.
43475         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
43476         macro.
43477         (fma_test): Add more tests.
43478         (fma_test_towardzero): Likewise.
43479         (fma_test_downward): Likewise.
43480         (fma_test_upward): Likewise.
43482 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
43484         * sysdeps/i386/tininess.h: Renamed to ...
43485         * sysdeps/x86/tininess.h: This.
43486         * sysdeps/x86_64/tininess.h: Removed.
43488 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
43490         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
43491         input.  Use $(build-program-cmd).
43492         ($(objpfx)tst-array1-static.out): Likewise.
43493         ($(objpfx)tst-array2.out): Likewise.
43494         ($(objpfx)tst-array3.out): Likewise.
43495         ($(objpfx)tst-array4.out): Likewise.
43496         ($(objpfx)tst-array5.out): Likewise.
43497         ($(objpfx)tst-array5-static.out): Likewise.
43499 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
43501         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
43502         if defined.
43504         * nss/nsswitch.h (nss_interface_function): Provide new
43505         macro for use with NSS functions.
43506         * grp/initgroups.c: Use new macro.
43507         * nss/getXXbyYY.c: Likewise.
43508         * nss/getXXbyYY_r.c: Likewise.
43509         * nss/getXXent.c: Likewise.
43510         * nss/getXXent_r.c: Likewise.
43511         * sysdeps/posix/getaddrinfo.c: Likewise.
43513 2012-10-30  Andreas Jaeger  <aj@suse.de>
43515         * po/ru.po: Update Russion translation from translation project.
43517 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
43519         [BZ #14152]
43520         [BZ #14783]
43521         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
43522         result and shift together with sticky bit instead of replicating
43523         round-to-nearest rounding.
43524         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43525         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43526         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
43527         missing underflow exceptions.
43528         (fma_test_towardzero): Add more tests.
43529         (fma_test_downward): Likewise.
43530         (fma_test_upward): Likewise.
43532         [BZ #14047]
43533         * sysdeps/generic/tininess.h: New file.
43534         * sysdeps/i386/tininess.h: Likewise.
43535         * sysdeps/sh/tininess.h: Likewise.
43536         * sysdeps/x86_64/tininess.h: Likewise.
43537         * stdlib/tst-strtod-underflow.c: Likewise.
43538         * stdlib/tst-tininess.c: Likewise.
43539         * stdlib/strtod_l.c: Include <tininess.h>.
43540         (round_and_return): Do not set errno for exact underflow cases.
43541         Force an underflow exception when setting errno for underflow.
43542         Determine underflow based on rounding to normal precision if
43543         TININESS_AFTER_ROUNDING.
43544         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
43545         ERANGE for exact underflow cases.
43546         * stdlib/Makefile (tests): Add tst-tininess and
43547         tst-strtod-underflow.
43548         ($(objpfx)tst-tininess): Use $(link-libm).
43549         ($(objpfx)tst-strtod-underflow): Likewise.
43551 2012-10-30  Andreas Jaeger  <aj@suse.de>
43553         [BZ#14767]
43554         * elf/Makefile (tests): Remove conditional for have-initfini-array
43555         since this is now always required and the variable does not exist
43556         anymore.
43557         (tests-static): Likewise.
43558         (modules-names): Likewise.
43560         * po/eo.po: Add Esperanto translation from translation project.
43562         * elf/tst-array1.c (fini_array): Make writeable so that it can be
43563         merged with constructor/destructor.
43564         (init_array): Likewise.
43565         * elf/tst-array2dep.c (fini_array): Likewise.
43566         (init_array): Likewise.
43568 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
43570         * manual/message.texi: Delete @cartouche tags.
43572 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
43574         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
43575         EOPNOTSUPP.
43576         * sysdeps/mach/hurd/fsync.c: Likewise.
43578         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
43579         [_POSIX_REALTIME_SIGNALS]: Change condition to
43580         [_POSIX_REALTIME_SIGNALS > 0].
43582 2012-10-27  Andreas Jaeger  <aj@suse.de>
43584         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
43585         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
43586         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
43587         [__WORDSIZE != 64]: Likewise.
43589 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
43591         *  iconvdata/tst-table.sh: Remove ${SHELL}.
43592         *  iconvdata/tst-tables.sh: Likewise.
43594 2012-10-25  David S. Miller  <davem@davemloft.net>
43596         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43597         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
43598         of strtoull.
43600         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
43601         ifunc-impl-list.c
43602         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43603         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
43604         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
43605         file.
43607 2012-10-25  Roland McGrath  <roland@hack.frob.com>
43609         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43610         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
43611         __getdirentries.
43613 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
43614             Jim Blandy  <jimb@codesourcery.com>
43616         * scripts/cross-test-ssh.sh: New file.
43617         * manual/install.texi (Configuring and compiling): Document use of
43618         cross-test-ssh.sh.
43619         * INSTALL: Regenerated.
43621 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
43623         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
43624         EOPNOTSUPP.
43626 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
43628         * Makeconfig (run-program-prefix): Fix comment.
43630 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
43631             Jim Blandy  <jimb@codesourcery.com>
43633         * Makeconfig (test-wrapper): New variable,
43634         (test-wrapper-env): Likewise.
43635         [$(cross-compiling) = yes && $(test-wrapper) != ""]
43636         (run-built-tests): Define to yes.
43637         (run-program-prefix): Use $(test-wrapper).
43638         (built-program-cmd): Likewise.
43639         * Rules (make-test-out): Use $(test-wrapper-env) and
43640         $(host-built-program-cmd).
43641         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
43642         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
43643         tst-pathopt.sh.
43644         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
43645         $(test-wrapper-env) to tst-rtld-load-self.sh.
43646         ($(objpfx)order2.out): Use $(test-wrapper).
43647         ($(objpfx)tst-initorder.out): Likewise.
43648         ($(objpfx)tst-initorder2.out): Likewise.
43649         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
43650         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
43651         (test_wrapper_env): New variable.  Use it to run ld.so.
43652         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
43653         Use it to run ld.so.
43654         (test_wrapper_env): Likewise.
43655         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
43656         $(test-wrapper) to run-iconv-test.sh.
43657         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
43658         (ICONV): Use $test_wrapper.
43659         * posix/Makefile ($(objpfx)globtest.out): Pass
43660         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
43661         globtest.sh, not $(run-program-prefix).
43662         * posix/globtest.sh (run_via_rtld_prefix): New variable.
43663         (test_wrapper): Likewise.
43664         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
43665         set together with run_via_rtld_prefix.
43666         (run_program_prefix): Define in terms of test_wrapper and
43667         run_via_rtld_prefix.
43669 2012-10-24  Roland McGrath  <roland@hack.frob.com>
43671         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
43672         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
43673         Targets removed.
43675         [BZ #14743]
43676         * include/time.h: Remove librt_hidden_proto (clock_gettime).
43677         Declare __clock_getres, __clock_gettime, __clock_settime,
43678         __clock_nanosleep, and __clock_getcpuclockid.
43679         * rt/clock_gettime.c: Define __clock_gettime as an alias.
43680         Remove librt_hidden_def (clock_gettime).
43681         * sysdeps/unix/clock_gettime.c: Likewise.
43682         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
43683         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
43684         * rt/clock_getres.c: Define __clock_getres as an alias.
43685         * sysdeps/posix/clock_getres.c: Likewise.
43686         * rt/clock_settime.c: Define __clock_settime as an alias.
43687         * sysdeps/unix/clock_settime.c: Likewise.
43688         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
43689         * sysdeps/unix/clock_nanosleep.c: Likewise.
43690         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
43691         * rt/clock-compat.c: New file.
43692         * rt/Makefile (librt-routines): Add clock-compat and move
43693         $(clock-routines) to ...
43694         (routines): ... here, new variable.
43695         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
43696         Don't add get_clockfreq here.
43697         * rt/Versions (libc: GLIBC_2.17): New version set.
43698         Add clock_* symbols here.
43699         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
43700         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
43701         (GLIBC_2.17): Add clock_* symbols.
43702         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
43703         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
43704         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
43705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43706         Likewise.
43707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43708         Likewise.
43709         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
43710         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
43711         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
43712         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
43713         * NEWS: Mention the move.
43715         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
43716         Use __open, __read, __close rather than their public counterparts.
43717         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43718         (__get_clockfreq_via_cpuinfo): Likewise.
43719         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
43720         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
43722         * config.h.in (HAVE_IFUNC): New #undef.
43723         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
43724         was successful.
43725         * configure: Regenerated.
43727 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
43729         * configure.in: Move READELF check to start of file.
43730         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
43731         libc_cv_asm_gnu_indirect_function in the process.
43732         * configure: Regenerated.
43734 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
43736         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
43737         send the output to /dev/null.
43738         (libc_cv_cc_with_libunwind): Likewise.
43739         (libc_cv_as_noexecstack): Likewise.
43740         * configure: Regenerate.
43742 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
43744         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
43746         * posix/globtest.sh (TMPDIR): Do not set.
43747         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
43748         (testout): Likewise.
43750 2012-10-24  Andreas Jaeger  <aj@suse.de>
43752         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
43753         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
43754         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
43755         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
43756         posix_fadvise64, posix_fallocate64.
43758         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
43759         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
43760         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
43761         Likewise.
43762         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
43763         Likewise.
43764         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
43766         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
43767         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
43768         <bits/fcntl-linux.h>.
43769         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
43771         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
43772         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
43773         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
43774         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
43775         [__WORDSIZE != 64]: Likewise.
43777 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
43779         * Makeconfig (run-built-tests): New variable.
43780         * Rules [$(cross-compiling) = yes]: Change condition to
43781         [$(run-built-tests) = no].
43782         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
43783         to [$(run-built-tests) = yes].
43784         * elf/Makefile [$(cross-compiling) = no]: Likewise
43785         * grp/Makefile [$(cross-compiling) = no]: Likewise.
43786         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
43787         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
43788         * intl/Makefile [$(cross-compiling) = no]: Likewise.
43789         * io/Makefile [$(cross-compiling) = no]: Likewise.
43790         * libio/Makefile [$(cross-compiling) = no]: Likewise.
43791         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
43792         * misc/Makefile [$(cross-compiling) = no]: Likewise.
43793         * posix/Makefile [$(cross-compiling) = no]: Likewise.
43794         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
43795         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
43796         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
43797         * string/Makefile [$(cross-compiling) = no]: Likewise.
43799         * posix/Makefile ($(objpfx)globtest.out): Pass
43800         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
43801         $(rtld-installed-name).
43802         * posix/globtest.sh (elf_objpfx): Remove variable.
43803         (rtld_installed_name): Likewise.
43804         (library_path): Likewise.
43805         (run_program_prefix): New variable.  Use for running globtest
43806         binary.
43808 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
43809             Joseph Myers  <joseph@codesourcery.com>
43811         * Makeconfig (host-built-program-cmd): New variable.
43812         * elf/Makefile (tst-stackguard1-ARGS): Use
43813         $(host-built-program-cmd).
43814         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
43815         (tst-spawn-ARGS): Likewise.
43816         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
43818 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
43819             Jim Blandy  <jimb@codesourcery.com>
43821         * Makeconfig (run-via-rtld-prefix): New variable.
43822         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
43823         (built-program-cmd): Likewise.
43825 2012-10-22  Andreas Jaeger  <aj@suse.de>
43827         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
43828         __O_RSYNC if it exists, otherwise to O_SYNC.
43830 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
43831             Joseph Myers  <joseph@codesourcery.com>
43833         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
43834         /dev/null.
43835         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
43836         from /dev/null
43837         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
43838         /dev/null.
43840 2012-10-22  Andreas Jaeger  <aj@suse.de>
43842         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
43843         Define always.
43844         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
43846         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43847         bits/fcntl-linux.h.
43849         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
43850         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
43852         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
43853         to __O_LARGEFILE.
43854         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
43855         to __O_LARGEFILE.
43857 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
43858             Joseph Myers  <joseph@codesourcery.com>
43860         * config.make.in (NM): New variable.
43862 2012-10-21  Andreas Jaeger  <aj@suse.de>
43864         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
43865         definitions and declarations that are provided by
43866         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
43868 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
43870         [BZ #14683]
43871         * elf/Makefile (tests-static): Add tst-leaks1-static.
43872         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
43873         ($(objpfx)tst-leaks1-static): New rule.
43874         ($(objpfx)tst-leaks1-static-mem): Likewise.
43875         (tst-leaks1-static-ENV): New macro.
43876         * elf/dl-open.c (dl_open_worker): Check the main application
43877         only if SHARED is defined.
43878         * elf/tst-leaks1-static.c: New file.
43880 2012-10-20  Andreas Jaeger  <aj@suse.de>
43882         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
43883         generic values for Linux.
43884         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
43885         and declarations that are provided by <bits/fcntl-linux.h> and
43886         include <bits/fcntl-linux.h>.
43887         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43888         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43890 2012-10-20  Roland McGrath  <roland@hack.frob.com>
43892         * io/fcntl.h: Move include of <bits/types.h> to the top and
43893         include it unconditionally.
43895 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
43897         * wcsmbs/Makefile (tests-ifunc): New variable.
43898         (tests): Add $(tests-ifunc).
43899         * wcsmbs/test-wcschr-ifunc.c: New file.
43900         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
43901         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
43902         * wcsmbs/test-wcslen-ifunc.c: Likewise.
43903         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
43904         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
43906         * string/Makefile (tests-ifunc): New variable.
43907         (tests): Add $(tests-ifunc).
43908         * string/test-memccpy.c (TEST_NAME): New macro.
43909         * string/test-memchr.c (TEST_NAME): Likewise.
43910         * string/test-memcmp.c (TEST_NAME): Likewise.
43911         * string/test-memcpy.c (TEST_NAME): Likewise.
43912         * string/test-memmem.c (TEST_NAME): Likewise.
43913         * string/test-memmove.c (TEST_NAME): Likewise.
43914         * string/test-memset.c (TEST_NAME): Likewise.
43915         * string/test-rawmemchr.c (TEST_NAME): Likewise.
43916         * string/test-stpcpy.c (TEST_NAME): Likewise.
43917         * string/test-stpncpy.c (TEST_NAME): Likewise.
43918         * string/test-strcasecmp.c (TEST_NAME): Likewise.
43919         * string/test-strcasestr.c (TEST_NAME): Likewise.
43920         * string/test-strcat.c (TEST_NAME): Likewise.
43921         * string/test-strchr.c (TEST_NAME): Likewise.
43922         * string/test-strcmp.c(TEST_NAME): Likewise.
43923         * string/test-strcpy.c (TEST_NAME): Likewise.
43924         * string/test-strcspn.c (TEST_NAME): Likewise.
43925         * string/test-strlen.c (TEST_NAME): Likewise.
43926         * string/test-strncasecmp.c (TEST_NAME): Likewise.
43927         * string/test-strncmp.c (TEST_NAME): Likewise.
43928         * string/test-strncpy.c (TEST_NAME): Likewise.
43929         * string/test-strnlen.c (TEST_NAME): Likewise.
43930         * string/test-strpbrk.c (TEST_NAME): Likewise.
43931         * string/test-strrchr.c (TEST_NAME): Likewise.
43932         * string/test-strspn.c (TEST_NAME): Likewise.
43933         * string/test-strstr.c (TEST_NAME): Likewise.
43934         * string/test-bcopy-ifunc.c: New file.
43935         * string/test-bzero-ifunc.c: Likewise.
43936         * string/test-memccpy-ifunc.c: Likewise.
43937         * string/test-memchr-ifunc.c: Likewise.
43938         * string/test-memcmp-ifunc.c: Likewise.
43939         * string/test-memcpy-ifunc.c: Likewise.
43940         * string/test-memmem-ifunc.c: Likewise.
43941         * string/test-memmove-ifunc.c: Likewise.
43942         * string/test-mempcpy-ifunc.c: Likewise.
43943         * string/test-memset-ifunc.c: Likewise.
43944         * string/test-rawmemchr-ifunc.c: Likewise.
43945         * string/test-stpcpy-ifunc.c: Likewise.
43946         * string/test-stpncpy-ifunc.c: Likewise.
43947         * string/test-strcasecmp-ifunc.c: Likewise.
43948         * string/test-strcasestr-ifunc.c: Likewise.
43949         * string/test-strcat-ifunc.c: Likewise.
43950         * string/test-strchr-ifunc.c: Likewise.
43951         * string/test-strchrnul-ifunc.c: Likewise.
43952         * string/test-strcmp-ifunc.c: Likewise.
43953         * string/test-strcpy-ifunc.c: Likewise.
43954         * string/test-strcspn-ifunc.c: Likewise.
43955         * string/test-strlen-ifunc.c: Likewise.
43956         * string/test-strncasecmp-ifunc.c: Likewise.
43957         * string/test-strncat-ifunc.c: Likewise.
43958         * string/test-strncmp-ifunc.c: Likewise.
43959         * string/test-strncpy-ifunc.c: Likewise.
43960         * string/test-strnlen-ifunc.c: Likewise.
43961         * string/test-strpbrk-ifunc.c: Likewise.
43962         * string/test-strrchr-ifunc.c: Likewise.
43963         * string/test-strspn-ifunc.c: Likewise.
43964         * string/test-strstr-ifunc.c: Likewise.
43966         * debug/Makefile (tests-ifunc): New variable.
43967         (tests): Add $(tests-ifunc).
43968         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
43969         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
43970         * debug/test-stpcpy_chk-ifunc.c: New file.
43971         * debug/test-strcpy_chk-ifunc.c: Likewise.
43973 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
43975         [BZ #13601]
43976         * elf/dl-load.c (open_verify): Retry read if the entire ELF
43977         header is not read in.
43979 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
43981         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
43982         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
43983         directly.  Pass built executable to script as
43984         $(built-program-cmd).
43985         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
43986         $testprogram without using LD_LIBRARY_PATH and $ldso.
43988         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
43989         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
43990         $(rtld-installed-name).
43991         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
43992         (rtld_installed_name): Likewise.
43993         (library_path): Likewise.
43994         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
43995         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
43996         $(run-program-prefix) to tst-tables.sh.
43997         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
43998         it to run tst-table-from and tst-table-to.
43999         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
44000         Pass it to tst-table.sh.
44001         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
44002         $(run-program-prefix) to tst-gettext.sh.
44003         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
44004         tst-translit.sh.
44005         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
44006         tst-gettext2.sh.
44007         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
44008         to run tst-gettext.
44009         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
44010         to run tst-gettext2.
44011         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
44012         to run tst-translit.
44013         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
44014         $(run-program-prefix) to tst-mtrace.sh.
44015         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
44016         to run tst-mtrace.
44017         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
44018         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
44019         $(rtld-installed-name).
44020         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
44021         (rtld_installed_name): Likewise.
44022         (run_program_prefix): New variable.  Use it to run wordexp-test.
44024         * Makeconfig (ARCH): Remove all definitions.
44025         (machine): Likewise.
44026         [ARCH]: Remove conditional code.
44027         [!objdir]: Give error.
44028         [!objdir] (objpfx): Remove.
44029         [!objdir] (common-objpfx): Likewise.
44030         [!objdir] (common-objdir): Likewise.
44031         * configure.in (config_makefile): Remove.  Hardcode Makefile in
44032         AC_CONFIG_FILES call.
44033         * configure: Regenerated.
44035         [BZ #13888]
44036         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
44037         or TMPDIR.
44038         (testout): Likewise.
44040         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
44041         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
44042         $(rtld-installed-name).
44043         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
44044         (rtld_installed_name): Likwise.
44045         (runit): Remove function.
44046         (run_getconf): New variable,  Use it for running getconf binary.
44048 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
44050         [BZ #14716]
44051         * string/test-memmem.c (check_result): New function.
44052         (do_one_test): Use it.
44053         (check1): New function.
44054         (test_main): Use it.
44056 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
44058         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
44060 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
44062         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
44063         (_G_LSEEK64): Likewise.
44064         (_G_MMAP64): Likewise.
44065         (_G_FSTAT64): Likewise.
44066         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
44067         (_G_LSEEK64): Likewise.
44068         (_G_MMAP64): Likewise.
44069         (_G_FSTAT64): Likewise.
44070         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
44071         unconditional.  Call __mmap64 directly.
44072         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
44073         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
44074         __lseek64 directly.
44075         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
44076         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
44077         __mmap64 directly.
44078         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
44079         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
44080         __lseek64 directly.
44081         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
44082         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
44083         __lseek64 directly.
44084         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
44085         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
44086         __lseek64 directly.
44087         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
44088         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
44089         __fxstat64 directly.
44090         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
44091         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
44092         unconditional.
44093         (freopen64) [!_G_OPEN64]: Remove conditional code.
44094         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
44095         unconditional.
44096         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
44097         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
44098         unconditional.
44099         (ftello64) [!_G_LSEEK64]: Remove conditional code.
44100         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
44101         unconditional.
44102         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
44103         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
44104         unconditional.
44105         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
44106         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
44107         unconditional.
44108         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
44109         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
44110         unconditional.
44111         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
44112         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
44113         unconditional.
44114         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
44116 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
44118         [BZ #12140]
44119         * manual/memory.texi (Malloc Tunable Parameters): Add note
44120         about free list pointers overwriting some perturb bytes.
44121         Wording suggested by Roland McGrath.
44123 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
44125         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
44126         (lgamma_test): Likewise.
44127         (tgamma_test): Likewise.
44129 2012-10-16  Florian Weimer  <fweimer@redhat.com>
44131         [BZ #14700]
44132         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
44133         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
44135 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
44137         * NEWS: Mention BZ #14716.
44138         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
44139         when removing AVAILABLE1_USES_J macro.
44141 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
44143         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
44144         (__bswap_64): __uint64_t for unsigned 64-bit int.
44146 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
44148         * include/string.h (memmem): Declare libc hidden alias.
44149         * string/memmem.c (memmem): Define libc hidden alias.
44150         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
44151         __read, __close instead of open, read, close.
44153 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
44155         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
44156         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
44157         global and hidden.
44158         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
44159         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
44160         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
44161         Likewise.
44162         (__rawmemchr_sse2): Likewise.
44163         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
44164         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
44165         (__strchr_sse2): Likewise.
44166         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
44167         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
44168         (__strcasecmp_sse2): Likewise.
44169         (__strncasecmp_sse2): Likewise.
44170         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
44171         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
44172         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
44173         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
44174         (__strrchr_sse2): Likewise.
44175         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
44176         ifunc-impl-list.c.
44177         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
44178         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
44179         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
44180         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
44181         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
44182         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
44183         * sysdeps/x86_64/multiarch/memset.S: Likewise.
44184         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
44185         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
44186         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
44187         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
44188         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
44189         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
44190         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
44191         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
44192         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
44193         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
44194         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
44195         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
44196         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
44197         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
44198         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
44199         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
44200         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
44201         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
44202         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44203         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
44204         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
44205         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
44206         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
44208         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
44209         global and hidden.
44210         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
44211         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
44212         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
44213         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
44214         Likewise.
44215         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
44216         Likewise.
44217         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
44218         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
44219         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
44220         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
44221         ifunc-impl-list.c.
44222         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
44223         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
44224         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
44225         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
44226         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
44227         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
44228         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
44229         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
44230         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
44231         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
44232         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
44233         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
44234         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
44235         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
44236         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
44237         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44238         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
44239         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
44240         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
44241         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
44242         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44243         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
44244         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
44245         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
44246         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44247         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
44248         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
44249         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
44250         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
44251         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
44252         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
44253         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
44254         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
44255         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
44256         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
44257         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
44258         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
44259         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
44260         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
44261         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
44262         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
44264         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
44265         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
44266         * include/ifunc-impl-list.h: New file.
44267         * misc/ifunc-impl-list.c: Likewise.
44268         * misc/Makefile (routines): Add ifunc-impl-list.
44269         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
44270         * string/test-string.h: Include <ifunc-impl-list.h>.
44271         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
44272         TEST_NAME]: New variables.
44273         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
44274         are defined.
44275         (test_init): Call __libc_ifunc_impl_list to initialize
44276         func_list if TEST_IFUNC and TEST_NAME are defined.
44278         * string/Makefile (strop-tests): Add bcopy and bzero.
44279         * string/test-bcopy.c: New file.
44280         * string/test-bzero.c: Likewise.
44281         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
44282         defined.
44283         * string/test-memset.c: Support bzero test if TEST_BZERO is
44284         defined.
44285         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
44286         __libc_memmove.
44287         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
44288         __libc_memset.
44289         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
44290         of memset.
44292 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
44294         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
44295         * configure: Regenerated.
44297         * Makeconfig (+link-static-before-libc): Don't include
44298         $(link-static-libc).
44300         * libio/libio.h (_IO_pos_t): Remove.
44302 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
44304         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
44305         McGrath.
44307 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
44309         * crypt/crypt-entry.c: Include fips-private.h.
44310         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
44311         * crypt/md5c-test.c (main): Tolerate disabled MD5.
44312         * sysdeps/unix/sysv/linux/fips-private.h: New file.
44313         * sysdeps/generic/fips-private.h: New file, dummy fallback.
44315 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
44317         * crypt/crypt-private.h: Include stdbool.h.
44318         (_ufc_setup_salt_r): Return bool.
44319         * crypt/crypt-entry.c: Include errno.h.
44320         (__crypt_r): Return NULL with EINVAL for bad salt.
44321         * crypt/crypt_util.c (bad_for_salt): New.
44322         (_ufc_setup_salt_r): Check that salt is long enough and within
44323         the specified alphabet.
44324         * crypt/badsalttest.c: New file.
44325         * crypt/Makefile (tests): Add it.
44326         ($(objpfx)badsalttest): New.
44328 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
44330         * NEWS: Add entry for BZ #14602.
44332 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
44334         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
44335         type-generic.
44336         * math/libm-test.inc: Update comment listing what functions and
44337         macros are tested.
44338         (isgreater_test): New function.
44339         (isgreaterequal_test): Likewise.
44340         (isless_test): Likewise.
44341         (islessequal_test): Likewise.
44342         (islessgreater_test): Likewise.
44343         (isunordered_test): Likewise.
44344         (main): Call the new functions.
44346 2012-10-09  Roland McGrath  <roland@hack.frob.com>
44348         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
44349         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
44350         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
44351         * sysdeps/i386/configure: Regenerated.
44352         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
44353         * sysdeps/mach/configure: Regenerated.
44354         * sysdeps/mach/hurd/configure: Regenerated.
44355         * sysdeps/powerpc/configure: Regenerated.
44356         * sysdeps/powerpc/powerpc32/configure: Regenerated.
44357         * sysdeps/powerpc/powerpc64/configure: Regenerated.
44358         * sysdeps/s390/s390-32/configure: Regenerated.
44359         * sysdeps/s390/s390-64/configure: Regenerated.
44360         * sysdeps/sh/configure: Regenerated.
44361         * sysdeps/sparc/configure: Regenerated.
44362         * sysdeps/unix/sysv/linux/configure: Regenerated.
44363         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
44364         * sysdeps/x86_64/configure: Regenerated.
44366         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
44367         defined.  Don't check if MAP is NULL.
44369 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
44371         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
44372         (_G_stat64): Likewise.
44373         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
44374         (_G_stat64): Likewise.
44375         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
44376         instead of struct _G_stat64.
44377         * libio/fileops.c (mmap_remap_check): Likewise.
44378         (decide_maybe_mmap): Likewise.
44379         (_IO_new_file_seekoff): Likewise.
44380         (_IO_file_stat): Likewise.
44381         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
44382         _G_off64_t.
44383         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
44384         instead of struct _G_stat64.
44385         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
44387 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
44389         [BZ #14602]
44390         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
44391         Replace with ...
44392         (CHECK_EOL): New macro.
44393         (two_way_short_needle): Check beginning of haystack for EOL.  Use
44394         CHECK_EOL.
44395         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
44396         Replace with CHECK_EOL.
44397         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
44398         Replace with CHECK_EOL.
44400 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
44402         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
44403         type-generic.
44404         * math/libm-test.inc: Update comment listing what functions and
44405         macros are tested.
44406         (finite_test): New function.
44407         (isinf_test): Likewise.
44408         (isnan_test): Likewise.
44409         (fpclassify_test): Test subnormal input.
44410         (isfinite_test): Likewise.
44411         (isnormal_test): Likewise.
44412         (main): Call the new functions.
44414 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
44416         [BZ #14660]
44417         * Makerules (%.dynsym): Force C locale when running
44418         $(OBJDUMP) --dynamic-syms.
44420 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
44422         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
44423         <stdint.h>.
44425 2012-10-06  David S. Miller  <davem@davemloft.net>
44427         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
44428         upper 32-bits of the length value in %o2 since we use branch-on-register
44429         tests which consider the entire 64-bit register.
44431 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
44433         * string/test-strstr.c (check2): Add a test for page boundary.
44435 2012-10-05  David S. Miller  <davem@davemloft.net>
44437         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
44438         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
44439         file.
44440         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
44441         sysdep_routines.
44442         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
44443         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
44444         and bzero when HWCAP_SPARC_CRYPTO is present.
44446 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
44448         [BZ #14602]
44449         * string/test-strstr.c (check2): New function.
44450         (test_main): Call check2.
44452         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
44453         and bug-strchr1.
44454         * string/bug-strcasestr1.c (do_test): Moved to ...
44455         * string/test-strcasestr.c (check1): Here.  New function.
44456         (do_one_test): Break out result checking code into ...
44457         (check_result): This.  New function.
44458         (do_one_test): Call check_result.
44459         (test_main): Call check1.
44460         * string/bug-strchr1.c (do_test): Moved to ...
44461         * string/test-strchr.c (check1): Here.  New function.
44462         (do_one_test): Break out result checking code into ...
44463         (check_result): This.  New function.
44464         (do_one_test): Call check_result.
44465         (test_main): Call check1.
44466         * string/bug-strstr1.c (main): Moved to ...
44467         * string/test-strstr.c (check1): Here.  New function.
44468         (do_one_test): Break out result checking code into ...
44469         (check_result): This.  New function.
44470         (do_one_test): Call check_result.
44471         (test_main): Call check1.
44472         * string/bug-strcasestr1.c: Removed.
44473         * string/bug-strchr1.c: Likewise.
44474         * string/bug-strstr1.c: Likewise.
44476         * elf/Makefile (dl-routines): Add hwcaps.
44477         * elf/dl-support.c (_dl_important_hwcaps): Removed.
44478         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
44479         (_dl_important_hwcaps): Moved to ...
44480         * elf/dl-hwcaps.c: Here.  New file.
44481         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
44483         [BZ #14557]
44484         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
44485         if IS_IN_rtld isn't defined.
44487         * elf/dl-support.c (_dl_sysinfo_map): New.
44488         Include "get-dynamic-info.h" and "setup-vdso.h".
44489         (_dl_non_dynamic_init): Call setup_vdso.
44490         * elf/dynamic-link.h: Don't include <assert.h>.
44491         (elf_get_dynamic_info): Moved to ...
44492         * elf/get-dynamic-info.h: Here.  New file.
44493         * elf/dynamic-link.h: Include "get-dynamic-info.h".
44494         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
44495         * elf/setup-vdso.h: Here.  New file.
44496         * elf/rtld.c: Include "setup-vdso.h".
44497         (dl_main): Call setup_vdso.
44499 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
44501         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
44502         creal in comment listing functions tested.  List finite, isinf,
44503         isnan, isless, islessequal, isgreater, isgreaterequal,
44504         islessgreater, isunordered, lgamma_r and pow10 as functions and
44505         macros not tested.  Mention which functions not tested are aliases
44506         for other functions.  Fix typo.  Note that signs of NaNs are not
44507         tested.
44509         * scripts/config.guess: Update from config.git.
44510         * scripts/config.sub: Likewise.
44512 2012-10-04  Roland McGrath  <roland@hack.frob.com>
44514         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
44515         * misc/madvise.c (madvise): Renamed to __madvise.
44516         Make madvise a weak alias.
44517         * include/sys/mman.h: Declare __madvise.
44518         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
44519         * sysdeps/unix/syscalls.list
44520         (madvise): Make __madvise the strong name, and madvise a weak alias.
44521         * sysdeps/unix/sysv/linux/syscalls.list
44522         (madvise, mmap): Remove redundant entries.
44523         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
44524         * malloc/malloc.c (mtrim): Likewise.
44525         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
44527 2012-10-03  Roland McGrath  <roland@hack.frob.com>
44529         * sysdeps/mach/hurd/dl-cache.c: File removed.
44530         * config.h.in (USE_LDCONFIG): New #undef.
44531         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
44532         * configure: Regenerated.
44533         * elf/Makefile (dl-routines): Add dl-cache only under
44534         [$(use-ldconfig) = yes].
44535         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
44536         cache on [USE_LDCONFIG].
44537         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
44538         [USE_LDCONFIG].
44539         * elf/rtld.c (dl_main): Likewise.
44541 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
44543         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
44544         _SC_LEVEL4_CACHE_LINESIZE.
44546 2012-10-03  Roland McGrath  <roland@hack.frob.com>
44548         * sysdeps/unix/bsd/confstr.h: File removed.
44550 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
44552         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
44553         sys/sdt-config.h.
44555 2012-10-02  Roland McGrath  <roland@hack.frob.com>
44557         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
44558         Make 'mapoff' field ElfW(Off) rather than off_t.
44560 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
44562         * nscd/Makefile: Remove nscd-cflags and all its users.
44563         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
44564         (CFLAGS-nonlib): Add compiler flags for nscd modules.
44566         [BZ #10631]
44567         * malloc.c (malloc_printerr): Clarify error message.
44569 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
44571         [BZ #14648]
44572         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44573         Set bit_FMA_Usable if FMA is supported.
44574         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
44575         macro.
44576         (bit_FMA4_Usable): Updated.
44577         (index_FMA_Usable): New macro.
44578         (CPUID_FMA): Likewise
44579         (HAS_FMA): Defined with bit_FMA_Usable.
44581 2012-10-01  Roland McGrath  <roland@hack.frob.com>
44583         * bits/types.h (__swblk_t): Type removed.
44584         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
44585         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
44586         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44587         (__SWBLK_T_TYPE): Likewise.
44588         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44589         (__SWBLK_T_TYPE): Likewise.
44590         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44591         (__SWBLK_T_TYPE): Likewise.
44592         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44593         (__SWBLK_T_TYPE): Likewise.
44595 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
44596             Honza Horak <hhorak@redhat.com>
44598         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
44599         (xdr_mapname): Use YPMAXMAP as maxsize.
44600         (xdr_peername): Use YPMAXPEER as maxsize.
44601         (xdr_keydat): Use YPAXRECORD as maxsize.
44602         (xdr_valdat): Use YPMAXRECORD as maxsize.
44604 2012-10-01  Roland McGrath  <roland@hack.frob.com>
44606         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
44608         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
44609         * csu/init-first.c: ... here.
44610         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
44611         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
44612         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
44613         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
44614         * sysdeps/i386/init-first.c: File removed.
44615         * sysdeps/sh/init-first.c: File removed.
44617 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
44619         [BZ #14645]
44620         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
44621         if x * y might underflow to zero and z is zero.
44622         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44623         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44624         * math/libm-test.inc (min_subnorm_value): New variable.
44625         (fma_test): Add more tests.
44626         (fma_test_towardzero): Likewise.
44627         (fma_test_downward): Likewise
44628         (fma_test_upward): Likewise.
44629         (initialize): Set min_subnorm_value.
44631 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
44633         [BZ #14638]
44634         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
44635         0 + 0.
44636         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
44637         mode for addition resulting in exact zero.
44638         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
44639         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
44640         exact 0 + 0.
44641         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44642         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44643         * math/libm-test.inc (fma_test): Add more tests.
44644         (fma_test_towardzero): New function.
44645         (fma_test_downward): Likewise.
44646         (fma_test_upward): Likewise.
44647         (main): Call the new functions.
44649 2012-09-28  David S. Miller  <davem@davemloft.net>
44651         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
44653 2012-09-28  Roland McGrath  <roland@hack.frob.com>
44655         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
44656         instead of SIGALRM.
44658         * sysdeps/gnu/_G_config.h: Moved to ...
44659         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
44660         * sysdeps/mach/hurd/_G_config.h: Moved to ...
44661         * sysdeps/generic/_G_config.h: ... here.
44663         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
44665         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
44667         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
44668         Conditionalize target on [libnss_test1.so-version].
44670         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
44672         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
44673         (elfobjdir): Move out of conditionals.
44675         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
44676         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
44677         (__nss_lookup_function): Conditionalize label remove_from_tree on
44678         [!DO_STATIC_NSS || SHARED], matching its only use.
44680 2012-09-28  David S. Miller  <davem@davemloft.net>
44682         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
44683         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
44684         file.
44685         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
44686         sysdep_routines.
44687         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
44688         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
44689         when HWCAP_SPARC_CRYPTO is present.
44691 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44693         * io/tst-mknodat.c: Create a FIFO instead of a socket.
44695 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
44697         [BZ #6530]
44698         * stdio-common/vfprintf.c (process_string_arg): Revert
44699         2000-07-22 change.
44701 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
44703         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
44704         for testcase.
44705         * stdio-common/tst-sprintf.c: Include <locale.h>
44706         (main): Test sprintf's handling of incomplete multibyte
44707         characters.
44709 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
44711         * elf/dl-runtime.c (VERSYMIDX): Removed.
44712         * elf/dl-version.c (VERSYMIDX): Likewise.
44713         * elf/do-rel.h (VERSYMIDX): Likewise.
44714         (VALIDX): Likewise.
44715         * elf/dynamic-link.h (VERSYMIDX): Likewise.
44716         * elf/rtld.c (VALIDX): Likewise.
44717         (ADDRIDX): Likewise.
44718         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
44719         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
44720         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
44721         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
44722         (VALIDX): Likewise.
44723         (ADDRIDX): Likewise.
44725 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44727         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
44729 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
44731         [BZ #11438]
44732         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
44733         to global scope.
44734         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
44735         addresses are in the same scope as 192.0.2/24.
44736         * posix/gai.conf: Document new scope table defaults.
44738 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44740         [BZ #5298]
44741         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
44742         for ftell.  Compute offsets from write pointers instead.
44743         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
44745 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44747         [BZ #14543]
44748         * libio/Makefile (tests): New test case tst-fseek.
44749         * libio/tst-fseek.c: New test case to verify that fseek/ftell
44750         combination works in wide mode.
44751         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
44752         state when the external buffer state changes.
44754 2012-09-27  David S. Miller  <davem@davemloft.net>
44756         [BZ #14376]
44757         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
44758         pass reloc->r_addend in as the 'high' argument to
44759         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
44761         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44763 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44765         * rt/tst-aio2.c: Include <pthread.h>.
44766         * rt/tst-aio3.c: Likewise.
44768 2012-09-27  Steve Ellcey  <sellcey@mips.com>
44770         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
44772 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
44774         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
44775         contents on [SHARED].
44777 2012-09-26  Marek Polacek  <polacek@redhat.com>
44779         [BZ #14530]
44780         [BZ #13741]
44781         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
44782         for C++ and GCC <4.3 as well as for non GCC compilers.
44784 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
44786         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44788 2012-09-25  Roland McGrath  <roland@hack.frob.com>
44790         * Makefile.in (all, install): Declare with .PHONY.
44791         Reported by Michael Hope <michael.hope@linaro.org>.
44793 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44795         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
44796         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
44797         system header.
44798         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
44799         Likewise.
44800         (sydep_routines): Add the new and the internal functions.
44801         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
44802         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
44803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
44804         (GLIBC_2.17): Add the new function.
44805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
44806         (GLIBC_2.17): Likewise.
44807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
44808         (GLIBC_2.17): Likewise.
44809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
44810         (GLIBC_2.17): Likewise.
44811         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
44813 2012-09-25  Alan Modra  <amodra@gmail.com>
44815         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
44816         Add release barrier before setting once_control to say
44817         initialisation is done.  Add hints on lwarx.  Use macro in
44818         place of isync.
44819         (clear_once_control): Add release barrier.
44821 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
44823         [BZ #13629]
44824         * math/s_clog.c (__clog): Handle more values close to |z| = 1
44825         specially.
44826         * math/s_clog10.c (__clog10): Likewise.
44827         * math/s_clog10f.c (__clog10f): Likewise.
44828         * math/s_clog10l.c (__clog10l): Likewise.
44829         * math/s_clogf.c (__clogf): Likewise.
44830         * math/s_clogl.c (__clogl): Likewise.
44831         * math/Makefile (libm-calls): Add x2y2m1.
44832         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
44833         (__x2y2m1): Likewise.
44834         (__x2y2m1l): Likewise.
44835         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
44836         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
44837         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
44838         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
44839         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
44840         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
44841         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
44842         * sysdeps/i386/fpu/libm-test-ulps: Update.
44843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44845         [BZ #14621]
44846         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
44847         int as type of variable DEPTH.
44848         (glob): Use size_t instead of int as type of variables NEWCOUNT
44849         and OLD_PATHC.
44851 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44853         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
44854         Add s_sincosf-sse2.
44855         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
44856         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
44857         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
44858         macros for using routine as __sincosf_ia32.
44859         Use macro for function declaration and weak_alias.
44860         * sysdeps/i386/fpu/libm-test-ulps: Update.
44862         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
44863         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44865         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
44866         subnormal argument.
44867         * math/s_cexpf.c (__cexpf): Likewise.
44868         * math/s_csinf.c (__csinf): Likewise.
44869         * math/s_csinhf.c (__csinhf): Likewise.
44870         * math/s_ctanf.c (__ctanf): Likewise.
44871         * math/s_ctanhf.c (__ctanhf): Likewise.
44872         * math/s_ccosh.c (__ccoshf): Likewise.
44873         * math/s_cexp.c (__cexpl): Likewise.
44874         * math/s_csin.c (__csin): Likewise.
44875         * math/s_csinh.c (__csinh): Likewise.
44876         * math/s_ctan.c (__ctan): Likewise.
44877         * math/s_ctanh.c (ctanh): Likewise.
44878         * math/s_ccoshl.c (__ccoshl): Likewise.
44879         * math/s_cexpl.c (__cexpl): Likewise.
44880         * math/s_csinl.c (__csinl): Likewise.
44881         * math/s_csinhl.c (__csinhl): Likewise.
44882         * math/s_ctanl.c (__ctanl): Likewise.
44883         * math/s_ctanhl.c (__ctanhl): Likewise.
44885 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
44887         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
44888         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
44889         (_IO_off_t): Define to __off_t, not _G_off_t.
44890         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
44891         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
44892         (_IO_wint_t): Define to wint_t, not _G_wint_t.
44893         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
44894         type of __dummy and __dummy2 fields.
44895         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
44896         (_G_ssize_t): Likewise.
44897         (_G_off_t): Likewise.
44898         (_G_pid_t): Likewise.
44899         (_G_uid_t): Likewise.
44900         (_G_wchar_t): Likewise.
44901         (_G_wint_t): Likewise.
44902         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
44903         (_G_ssize_t): Likewise.
44904         (_G_off_t): Likewise.
44905         (_G_pid_t): Likewise.
44906         (_G_uid_t): Likewise.
44907         (_G_wchar_t): Likewise.
44908         (_G_wint_t): Likewise.
44909         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
44910         (_G_ssize_t): Likewise.
44911         (_G_off_t): Likewise.
44912         (_G_pid_t): Likewise.
44913         (_G_uid_t): Likewise.
44914         (_G_wchar_t): Likewise.
44915         (_G_wint_t): Likewise.
44917 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44919         * malloc/arena.c: Include malloc-sysdep.h.
44920         (shrink_heap): Use check_may_shrink_heap to decide if madvise
44921         is sufficient to shrink the heap or an unmap is needed.
44922         * sysdeps/generic/malloc-sysdep.h: New file.  Define
44923         new function check_may_shrink_heap.
44924         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
44925         new function check_may_shrink_heap.
44927 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44929         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
44930         comments.
44932 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
44934         * catgets/test-gencat.sh: Add "set -e".
44935         * elf/tst-pathopt.sh: Likewise.
44936         * grp/tst_fgetgrent.sh: Likewise.
44937         * iconvdata/run-iconv-test.sh: Likewise.
44938         * intl/tst-gettext.sh: Likewise.
44939         * intl/tst-gettext2.sh: Likewise.
44940         * intl/tst-gettext4.sh: Likewise.
44941         * intl/tst-gettext6.sh: Likewise.
44942         * intl/tst-translit.sh: Likewise.
44943         * io/ftwtest-sh: Likewise.
44944         * libio/test-freopen.sh: Likewise.
44945         * malloc/tst-mtrace.sh: Likewise.
44946         * posix/globtest.sh: Likewise.
44947         * posix/tst-getconf.sh: Likewise.
44948         * posix/wordexp-tst.sh: Likewise.
44949         * stdio-common/tst-printf.sh: Likewise.
44950         * stdio-common/tst-unbputc.sh: Likewise.
44951         * stdlib/tst-fmtmsg.sh: Likewise.
44952         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
44953         * catgets/Makefile: Do not specify -e option when running
44954         testsuite shell scripts.
44955         * elf/Makefile: Likewise.
44956         * grp/Makefile: Likewise.
44957         * iconvdata/Makefile: Likewise.
44958         * intl/Makefile: Likewise.
44959         * io/Makefile: Likewise.
44960         * libio/Makefile: Likewise.
44961         * malloc/Makefile: Likewise.
44962         * posix/Makefile: Likewise.
44963         * stdio-common/Makefile: Likewise.
44964         * stdlib/Makefile: Likewise.
44965         * sysdeps/x86_64/Makefile: Likewise.
44967         * io/ftwtest-sh: Add copyright header.
44968         * posix/globtest.sh: Likewise.
44969         * posix/tst-getconf.sh: Likewise.
44970         * posix/wordexp-tst.sh: Likewise.
44971         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
44973 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
44975         [BZ #13679]
44976         * Makeconfig (+link): Defined as $(+link-static) if
44977         $(build-shared) isn't yes.
44978         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
44979         isn't yes.
44980         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
44982         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
44984         [BZ #14562]
44985         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
44986         new chunk size with MALLOC_ALIGN_MASK.
44988 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
44990         [BZ #5044]
44991         * stdio-common/printf_fphex.c: Include <stdbool.h> and
44992         <rounding-mode.h>.
44993         (__printf_fphex): Determine rounding using get_rounding_mode and
44994         round_away.
44995         * stdio-common/tst-printf-round.c (struct hex_test): New
44996         structure.
44997         (hex_tests): New variable.
44998         (test_hex_in_one_mode): New function.
44999         (do_test): Also run tests for hex float output.
45001 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
45003         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
45004         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
45005         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
45006         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
45007         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
45008         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
45009         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
45010         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
45012 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
45014         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
45015         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
45016         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
45017         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
45019 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
45021         [BZ #14579]
45022         * elf/rtld.c (dl_main): Limit the check for self loading to normal
45023         mode only.
45024         * elf/tst-rtld-load-self.sh: New test.
45025         * elf/Makefile: Run it.
45027 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
45029         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
45030         (tst-writev-ENV): Remove.
45031         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
45033 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
45035         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
45037 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
45039         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
45040         unconditional.
45041         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
45042         Likewise.
45043         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
45044         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
45045         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
45046         Likewise.
45048 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
45050         [BZ #14587]
45051         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
45052         * config.make.in (have-cpp-asm-debuginfo): Removed.
45053         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
45054         * configure: Regenerated.
45056 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
45058         [BZ #5044]
45059         * stdio-common/printf_fp.c: Include <stdbool.h> and
45060         <rounding-mode.h>.
45061         (___printf_fp): Determine rounding using get_rounding_mode and
45062         round_away.
45063         * stdio-common/tst-printf-round.c: New file.
45064         * stdio-common/Makefile (tests): Add tst-printf-round.
45065         (link-libm): New variable.
45066         ($(objpfx)tst-printf-round): Depend in $(link-libm).
45068 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
45070         [BZ #14576]
45071         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
45072         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
45073         Likewise.
45074         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
45075         Likewise.
45077 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
45079         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
45080         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45081         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45082         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45084 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
45086         [BZ #14518]
45087         * include/rounding-mode.h: New file.
45088         * sysdeps/generic/get-rounding-mode.h: Likewise.
45089         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
45090         * stdlib/strtod_l.c: Include <rounding-mode.h>.
45091         (MAX_VALUE): New macro.
45092         (MIN_VALUE): Likewise.
45093         (overflow_value): New function.
45094         (underflow_value): Likewise.
45095         (round_and_return): Use overflow_value and underflow_value to
45096         determine return values in overflow and underflow cases.  Use
45097         round_away to determine rounding depending on rounding mode.
45098         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
45099         determine return values in overflow and underflow cases.
45100         * stdlib/tst-strtod-round.c: Include <fenv.h>.
45101         (struct test_results): New structure.
45102         (struct test): Use struct test_results to store expected results
45103         for all rounding modes.
45104         (TEST): Include expected results for all rounding modes.
45105         (test_in_one_mode): New function.
45106         (do_test): Use test_in_one_mode to compute and check results.
45107         Check results for all rounding modes.
45108         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
45109         $(link-libm).
45111 2012-12-09  Allan McRae  <allan@archlinux.org>
45113         * sysdeps/i386/fpu/libm-test-ulps: Update
45115 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
45117         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
45118         (_G_int32_t): Likewise.
45119         (_G_uint16_t): Likewise.
45120         (_G_uint32_t): Likewise.
45121         (_G_HAVE_BOOL): Likewise.
45122         (_G_HAVE_ATEXIT): Likewise.
45123         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
45124         (_G_HAVE_IO_FILE_OPEN): Likewise.
45125         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
45126         (_G_int32_t): Likewise.
45127         (_G_uint16_t): Likewise.
45128         (_G_uint32_t): Likewise.
45129         (_G_HAVE_BOOL): Likewise.
45130         (_G_HAVE_ATEXIT): Likewise.
45131         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
45132         (_G_HAVE_IO_FILE_OPEN): Likewise.
45133         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
45134         (_G_int32_t): Likewise.
45135         (_G_uint16_t): Likewise.
45136         (_G_uint32_t): Likewise.
45137         (_G_HAVE_BOOL): Likewise.
45138         (_G_HAVE_ATEXIT): Likewise.
45139         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
45140         (_G_HAVE_IO_FILE_OPEN): Likewise.
45142 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
45144         * csu/libc-tls.c: Update copyright years.
45146 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
45148         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
45149         [!_G_USING_THUNKS]: Remove conditional code.
45150         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
45151         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
45153         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
45154         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
45155         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
45156         (_G_VTABLE_LABEL_PREFIX): Likewise.
45157         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
45158         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
45159         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
45160         (_G_VTABLE_LABEL_PREFIX): Likewise.
45161         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
45162         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
45163         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
45164         (_G_VTABLE_LABEL_PREFIX): Likewise.
45165         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
45167 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
45169         * libio/Makefile: Include ../Makeconfig before tests.
45170         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
45171         only if $(build-shared) is yes.
45173         * iconv/gconv_db.c: Update copyright years.
45175 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45177         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
45178         unwind info if defined PIC. Fix special cases description.
45179         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
45181         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
45182         DP_HI_MASK entry.
45183         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
45185 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
45187         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
45189         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
45190         is NULL.
45192         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
45193         (LDLIBS-tst-chk4): This.
45194         (LDFLAGS-tst-chk5): Renamed to ...
45195         (LDLIBS-tst-chk5): This.
45196         (LDFLAGS-tst-chk6): Renamed to ...
45197         (LDLIBS-tst-chk6): This.
45198         (LDFLAGS-tst-lfschk4): Renamed to ...
45199         (LDLIBS-tst-lfschk4): This.
45200         (LDFLAGS-tst-lfschk5): Renamed to ...
45201         (LDLIBS-tst-lfschk5): This.
45202         (LDFLAGS-tst-lfschk6): Renamed to ...
45203         (LDLIBS-tst-lfschk6): This.
45205         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
45206         on $(common-objpfx)soversions.mk.
45208 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
45210         [BZ #10014]
45211         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
45212         example host name.
45214 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
45216         * malloc/arena.c (arena_get_retry): New function that gets
45217         another arena for the caller to try its request on.
45218         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
45219         current arena cannot fulfill the request.
45220         (__libc_memalign): Likewise.
45221         (__libc_memalign): Likewise.
45222         (__libc_pvalloc): Likewise.
45223         (__libc_calloc): Likewise.
45225 2012-09-05  John Tobey  <john.tobey@gmail.com>
45227         [BZ #13542]
45228         * manual/arith.texi (Operations on Complex): Fix description
45229         of carg branch cut.
45231 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
45233         [BZ #10014]
45234         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
45235         host name.
45237         [BZ #10038]
45238         * manual/memory.texi (Memory): Make order of menu items match
45239         order of sections.
45241 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
45243         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
45244         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
45245         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
45247 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
45249         * csu/libc-tls.c (static_dtv): Renamed to ...
45250         (_dl_static_dtv): This.  Make it global.
45251         (_dl_initial_dtv): Removed.
45252         (__libc_setup_tls): Updated.
45253         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
45254         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
45255         DL_INITIAL_DTV.
45257 2012-09-06  Petr Machata  <pmachata@redhat.com>
45259         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
45260         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
45261         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
45262         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
45264 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
45266         [BZ #14545]
45267         * csu/libc-tls.c (_dl_initial_dtv): New variable.
45268         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
45269         freeing dtv[-1].
45271 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
45273         [BZ #14544]
45274         * Makeconfig (link-static-before-libc): Replace $(+prector)
45275         with $(+prectorT).
45276         (link-static-after-libc): Replace $(+postctor) with
45277         $(+postctorT).
45278         (link-bounded): Replace $(+prector)/$(+postctor) with
45279         $(+prectorT)/$(+postctorT).
45280         (+prectorT): New macro.
45281         (+postctorT): Likewise.
45283 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
45285         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
45286         (round_str): Handle values above the maximum for IBM long double
45287         as inexact.
45288         * stdlib/tst-strtod-round.c (tests): Regenerated.
45290 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45292         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
45293         assembler flag.
45294         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
45295         zarch_nohighgprs around the zarch optimized routines.
45296         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
45297         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
45298         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
45299         for zarch.
45301 2012-09-05  David S. Miller  <davem@davemloft.net>
45303         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45305         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
45306         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
45307         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
45308         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45309         entries.
45311 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45313         * malloc/arena.c: Fold copyright years.
45314         * malloc/mcheck.c, malloc/memusage.c: Likewise.
45316 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45318         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
45320 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45322         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
45324 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45326         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
45327         change internal state upon failure.
45329 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45331         * malloc/mcheck.c (mcheck_check_all): Fix typo.
45332         * malloc/memusage.c (mmap): Likewise.
45333         (mmap64, mremap): Likewise.  Adjust name in comment.
45335 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45337         * libio/fileops.c: Fix typos in comments.
45338         * libio/oldfileops.c: Likewise.
45339         * libio/wfileops.c: Likewise.
45341 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45343         [BZ #1349]
45344         * malloc/Makefile (tests): Add tst-malloc-usable test case.
45345         (tst-malloc-usable-ENV): Set environment for test case.
45346         * malloc/hooks.c (malloc_check_get_size): New function to get
45347         requested size.
45348         * malloc/malloc.c (musable): Use malloc_check_get_size.
45349         * malloc/tst-malloc-usable.c: New test case.
45351 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
45353         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
45355 2012-09-05  Allan McRae  <allan@archlinux.org>
45357         [BZ #13966]
45358         * configure.in (CXX_SYSINCLUDES): Use compiler output to
45359         determine header location.
45360         * configure: Regenerated.
45362 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
45364         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
45365         float format.
45366         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
45367         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
45368         format.
45369         (test): Regenerate.
45371 2012-09-04  David S. Miller  <davem@davemloft.net>
45373         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
45374         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
45375         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
45377 2012-09-04  Florian Weimer  <fweimer@redhat.com>
45379         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
45380         failures.
45382         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
45384 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
45386         [BZ #9914]
45387         * libio/iogetdelim.c: Include <limits.h>.
45388         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
45389         + len + 1 would overflow.
45391 2012-09-03  Andreas Jaeger  <aj@suse.de>
45393         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45394         * sysdeps/i386/fpu/libm-test-ulps: Update.
45396 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45398         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
45399         Add s_sinf-sse2, s_conf-sse2.
45401         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
45402         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
45403         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
45404         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
45406         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
45407         for using routine as __sinf_ia32.
45408         Use macro for function declaration and weak_alias.
45409         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
45410         for using routine as __cosf_ia32.
45411         Use macro for function declaration and weak_alias.
45413         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
45414         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
45416         * sysdeps/x86_64/fpu/s_sinf.S: New file.
45417         * sysdeps/x86_64/fpu/s_cosf.S: New file.
45418         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45420         * math/libm-test.inc (cos_test): Add more test cases.
45421         (sin_test): Likewise.
45422         (sincos_test): Likewise.
45424 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45426         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
45427         (IFUNC_RESOLVE): Make pointers to the specialized implementations
45428         hidden.
45429         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
45431 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
45433         [BZ #14538]
45434         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
45435         first element of the GOT.
45436         (elf_machine_load_address): Return the difference between
45437         the runtime address of _DYNAMIC and elf_machine_dynamic ().
45439 2012-09-01  Allan McRae  <allan@archlinux.org>
45441         [BZ #13412]
45442         * configure.in (AWK): Require gawk version 3.0 or later.
45443         * configure: Regenerated.
45445 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
45447         * sysdeps/unix/sysv/linux/kernel-features.h
45448         (__ASSUME_POSIX_CPU_TIMERS): Remove.
45449         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
45450         [__NR_clock_getres]: Make code unconditional.
45451         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
45452         (clock_getcpuclockid): Remove code left unreachable by removal of
45453         conditionals.
45454         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
45455         code unconditional.
45456         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
45457         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
45458         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
45459         Make code unconditional.
45460         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
45461         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
45462         * sysdeps/unix/sysv/linux/clock_settime.c
45463         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
45464         conditional code.
45465         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
45466         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
45468 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
45470         [BZ #14476]
45471         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
45472         scripts/test-installation.pl.
45474         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
45475         and $ld_so_version if it is set.
45477 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45479         [BZ #14516]
45480         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
45481         failure if reading from procfs failed.
45482         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
45484 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
45486         * sysdeps/unix/sysv/linux/kernel-features.h
45487         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
45488         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
45489         Remove conditional code.
45490         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45491         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
45492         Remove conditional code.
45493         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45494         * sysdeps/unix/sysv/linux/i386/fxstat.c
45495         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
45496         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45497         * sysdeps/unix/sysv/linux/i386/fxstatat.c
45498         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
45499         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45500         * sysdeps/unix/sysv/linux/i386/lxstat.c
45501         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
45502         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45503         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
45504         Remove conditional code.
45505         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45506         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
45507         Remove conditional code.
45508         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45509         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
45510         <kernel-features.h>.
45511         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
45512         Remove.
45513         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
45514         Remove conditional code.
45515         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45516         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
45517         Remove conditional.
45519 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
45521         [BZ #5400]
45522         * NEWS: Add fixed bug number.
45524 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
45526         [BZ #14519]
45527         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
45528         underflowing exponent in case of negative sign.
45529         * stdlib/tst-strtod-round-data: Add more tests.
45530         * stdlib/tst-strtod-round.c (tests): Regenerated.
45532         [BZ #3479]
45533         * stdlib/strtod_l.c (NDIG): Remove.
45534         (HEXNDIG): Likewise.
45535         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
45536         smallest representable value.
45537         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
45538         lie within an exact representation of 1/2 ulp of the result.
45539         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
45540         unconditionally.
45541         (TENS_P9_IDX): Define unconditionally.
45542         (TENS_P9_SIZE): Likewise.
45543         (TENS_P10_IDX): Likewise.
45544         (TENS_P10_SIZE): Likewise.
45545         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
45546         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
45547         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
45548         entries for 10^2^13 and 10^2^14.
45549         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
45550         (TENS_P13_IDX): Define.
45551         (TENS_P13_SIZE): Likewise.
45552         (TENS_P14_IDX): Likewise.
45553         (TENS_P14_SIZE): Likewise.
45554         (_fpioconst_pow10): Change array size to
45555         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
45556         unconditional.
45557         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
45558         1024]: Add entries for 10^2^13 and 10^2^14.
45559         [LAST_POW10 > _LAST_POW10]: Remove #error.
45560         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
45561         (_fpioconst_pow10): Change array size to
45562         FPIOCONST_POW10_ARRAY_SIZE.
45563         * stdlib/gen-fpioconst.c: New file.
45564         * stdlib/gen-tst-strtod-round.c: Likewise.
45565         * stdlib/tst-strtod-round-data: Likewise.
45566         * stdlib/tst-strtod-round.c: Likewise.
45567         * stdlib/Makefile (tests): Add tst-strtod-round.
45569         [BZ #14459]
45570         * stdlib/strtod_l.c: Include <stdint.h>.
45571         (NDEBUG): Do not define.
45572         (round_and_return): Change EXPONENT parameter to type intmax_t.
45573         Rearrange calculations to avoid internal overflow possibilities.
45574         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
45575         Rearrange calculations to avoid internal overflow possibilities.
45576         Assert that number fits inside MPNSIZE limbs.
45577         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
45578         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
45579         calculations and add assertions to avoid internal overflow
45580         possibilities.  Add casts to avoid signed/unsigned operations.
45581         * stdlib/tst-strtod-overflow.c: New file.
45582         * stdlib/Makefile (tests): Add tst-strtod-overflow.
45584 2012-08-25  Marek Polacek  <polacek@redhat.com>
45586         * time/time.h: Fix some typos in comments.
45588 2012-08-23  Roland McGrath  <roland@hack.frob.com>
45590         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
45591         * posix/tst-rfc3484-2.c: Likewise.
45592         * posix/tst-rfc3484-3.c: Likewise.
45594 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
45596         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
45597         (EF_ARM_ABI_FLOAT_HARD): Likewise.
45599 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
45601         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
45602         #include of fxstatat64.c.
45604 2012-08-22  Roland McGrath  <roland@hack.frob.com>
45606         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
45607         * shadow/getspent_r.c: Likewise.
45608         * shadow/getspnam.c: Likewise.
45609         * shadow/getspnam_r.c: Likewise.
45610         * gshadow/getsgent.c: Likewise.
45611         * gshadow/getsgent_r.c: Likewise.
45612         * gshadow/getsgnam.c: Likewise.
45613         * gshadow/getsgnam_r.c: Likewise.
45614         * inet/getnetbyad.c: Likewise.
45615         * inet/getnetbyad_r.c: Likewise.
45616         * inet/getnetbynm.c: Likewise.
45617         * inet/getnetbynm_r.c: Likewise.
45618         * inet/getnetent.c: Likewise.
45619         * inet/getnetent_r.c: Likewise.
45620         * inet/getproto.c: Likewise.
45621         * inet/getproto_r.c: Likewise.
45622         * inet/getprtent.c: Likewise.
45623         * inet/getprtent_r.c: Likewise.
45624         * inet/getprtname.c: Likewise.
45625         * inet/getprtname_r.c: Likewise.
45626         * inet/getrpcbyname.c: Likewise.
45627         * inet/getrpcbyname_r.c: Likewise.
45628         * inet/getrpcbynumber.c: Likewise.
45629         * inet/getrpcbynumber_r.c: Likewise.
45630         * inet/getrpcent.c: Likewise.
45631         * inet/getrpcent_r.c: Likewise.
45632         * inet/getaliasent.c: Likewise.
45633         * inet/getaliasent_r.c: Likewise.
45634         * inet/getaliasname.c: Likewise.
45635         * inet/getaliasname_r.c: Likewise.
45636         * nscd/getgrgid_r.c: Likewise.
45637         * nscd/getgrnam_r.c: Likewise.
45638         * nscd/gethstbyad_r.c: Likewise.
45639         * nscd/gethstbynm3_r.c: Likewise.
45640         * nscd/getpwnam_r.c: Likewise.
45641         * nscd/getpwuid_r.c: Likewise.
45642         * nscd/getsrvbynm_r.c: Likewise.
45643         * nscd/getsrvbypt_r.c: Likewise.
45644         * nscd/gai.c: Likewise.
45646         * configure.in (build_nscd): New substituted variable, set
45647         by --disable-build-nscd and defaults to $use_nscd.
45648         * configure: Regenerated.
45649         * config.make.in (build-nscd): New substituted variable.
45650         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
45651         Change conditional to require [$(build-nscd) = yes] as well.
45652         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
45654         [BZ# 13696]
45655         * configure.in (use_nscd): New substituted variable, set by
45656         --disable-nscd.  If enabled, define USE_NSCD.
45657         * configure: Regenerated.
45658         * config.h.in: Add USE_NSCD.
45659         * config.make.in (use-nscd): New substituted variable.
45660         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
45661         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
45662         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
45663         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
45664         (CFLAGS-getgrnam_r.c): Likewise.
45665         (CFLAGS-initgroups.c): Likewise.
45666         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
45667         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
45668         Variables removed.
45669         * inet/getnetgrent_r.c
45670         (nscd_setnetgrent): New function, broken out of ...
45671         (setnetgrent): ... here.  Call it.
45672         (innetgr): Conditionalize nscd bits on [USE_NSCD].
45673         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
45674         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
45675         * nscd/Makefile (routines, aux): Move definitions after include of
45676         Makeconfig.  Conditionalize on [$(use-nscd) != no].
45677         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
45678         Conditionalize on [USE_NSCD].
45679         (is_nscd, nscd_init_cb): Likewise.
45680         (nss_load_library): Conditionalize init callback on [USE_NSCD].
45681         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
45682         * nss/nss_db/db-init.c: Likewise.
45683         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
45684         [USE_NSCD].
45685         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
45686         (make_request): Use it.
45687         (cache_valid_p): New function.
45688         (__check_pf): Use it.
45689         * NEWS: Add item for --disable-nscd.
45691 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
45693         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
45694         to support sed >= 4.2.1-20-ga9bf076.
45695         * configure: Regenerated.
45697 2012-08-22  Roland McGrath  <roland@hack.frob.com>
45699         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
45700         Conditionalize whole body on [IREL].
45702 2012-08-22  Jeff Law <law@redhat.com>
45704         [BZ #14505]
45705         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
45706         if the family is PF_UNSPEC.
45708 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
45710         * Makerules (lib-version): Rename from V.
45711         (install-lib-nosubdir): Change V to lib-version.
45713 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
45715         [BZ #14252]
45716         * powerpc32/power6/wcschr.c: New file.
45717         * powerpc32/power6/wcscpy.c: New file.
45718         * powerpc32/power6/wcsrchr.c: New file.
45719         * powerpc64/power6/wcschr.c: New file.
45720         * powerpc64/power6/wcscpy.c: New file.
45721         * powerpc64/power6/wcsrchr.c: New file.
45723 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
45725         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
45726         (two_way_short_needle): Use it.
45727         * string/strstr.c (AVAILABLE1_USES_J): Define.
45728         * string/strcasestr.c: Likewise.
45730         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
45731         array references.
45732         * string/strcasestr.c (TOLOWER): Make side-effect safe.
45734         [BZ #11607]
45735         * NEWS: Add an entry.
45736         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
45737         define their defaults.
45738         (two_way_short_needle): Detect end-of-string on-the-fly.
45739         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
45740         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
45741         * string/bug-strcasestr1.c: New test.
45742         * string/Makefile: Run it.
45744 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
45746         [BZ #11607]
45747         * string/str-two-way.h (two_way_short_needle): Optimize matching of
45748         the first character.
45750 2012-08-21  Roland McGrath  <roland@hack.frob.com>
45752         * csu/elf-init.c (__libc_csu_irel): Function removed.
45753         * csu/libc-start.c (apply_irel): New function.
45754         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
45756 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
45758         * sysdeps/unix/sysv/linux/kernel-features.h
45759         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
45760         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
45761         <kernel-features.h>.
45762         [__NR_fadvise64_64]: Make code unconditional.
45763         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
45764         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
45765         !__NR_fadvise64_64)]: Likewise.
45766         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
45767         !__NR_fadvise64_64))]: Likewise.
45768         [__NR_fadvise64]: Make code unconditional.
45769         [!__NR_fadvise64]: Remove conditional code.
45770         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
45771         <kernel-features.h>.
45772         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45773         unconditional.
45774         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45775         conditional code.
45776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
45777         not include <kernel-features.h>.
45778         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45779         unconditional.
45780         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45781         conditional code.
45782         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
45783         include <kernel-features.h>.
45784         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45785         unconditional.
45786         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45787         conditional code.
45789 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
45791         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
45792         slight instruction rearrangements per scrollpipe analysis.
45793         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
45795 2012-08-20  Roland McGrath  <roland@hack.frob.com>
45797         * manual/syslog.texi (syslog; vsyslog, closelog):
45798         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
45799         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
45801         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
45802         DSOCAPS to match condition on defining it.
45804 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
45806         * sysdeps/unix/sysv/linux/kernel-features.h
45807         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
45808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
45809         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45810         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
45812         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45813         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
45815         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45816         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45818         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
45819         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
45821         * sysdeps/unix/sysv/linux/kernel-features.h
45822         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
45823         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
45824         unconditional.
45825         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45826         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
45827         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
45828         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45829         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
45830         Make code unconditional.
45831         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45832         (__mmap64) [!__NR_mmap2]: Likewise.
45833         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
45834         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
45835         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45836         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
45837         [__NR_mmap2]: Make code unconditional.
45838         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45839         (__mmap64) [!__NR_mmap2]: Likewise.
45841 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45843         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
45845 2012-08-18  Andreas Jaeger  <aj@suse.de>
45847         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
45849 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
45851         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
45852         * include/unistd.h (__have_sock_cloexec): Likewise.
45853         (__have_pipe2): Likewise.
45854         (__have_dup3): Likewise.
45856 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
45858         [BZ #9685]
45859         * include/unistd.h (__have_pipe2): Change define into an extern int.
45860         (__have_dup3): Likewise.
45861         * socket/have_sock_cloexec.c: Include fcntl.h.
45862         (__have_pipe2): New variable.
45863         (__have_dup3): Likewise.
45865 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
45867         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
45869 2012-08-17  Marek Polacek  <polacek@redhat.com>
45871         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
45872         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
45874 2012-08-17  Roland McGrath  <roland@hack.frob.com>
45876         * configure.in: Add AC_SUBST for sysheaders.
45877         * configure: Regenerated.
45878         * config.make.in (sysheaders): New substituted variable.
45880         * sysdeps/unix/mkfifo.c: Moved ...
45881         * sysdeps/posix/mkfifo.c: ... here.
45882         * sysdeps/unix/mkfifoat.c: Moved ...
45883         * sysdeps/posix/mkfifoat.c: ... here.
45885         * sysdeps/unix/utime.c: Moved ...
45886         * sysdeps/posix/utime.c: ... here.
45888         * sysdeps/unix/time.c: Moved ...
45889         * sysdeps/posix/time.c: ... here.
45890         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
45891         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
45893         * sysdeps/unix/nice.c: Moved ...
45894         * sysdeps/posix/nice.c: ... here.
45896         * sysdeps/unix/alarm.c: Moved ...
45897         * sysdeps/posix/alarm.c: ... here.
45899         * intl/Makefile ($(codeset_mo)): Depend on the input file.
45901 2012-08-17  Jeff Law <law@redhat.com>
45903         * intl/Makefile (codeset_mo): New variable.
45904         ($(codeset_mo)): New target.
45905         (tst-codeset.out): Depend on that.  Remove explicit rule.
45906         (tst-gettext3.out, tst-gettext5.out): Likewise.
45907         (LOCPATH-ENV, tst-codeset-ENV): New variables.
45908         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
45909         * intl/tst-codeset.sh: Remove.
45910         * intl/tst-gettext3.sh: Likewise.
45911         * intl/tst-gettext5.sh: Likewise.
45913 2012-08-17  Roland McGrath  <roland@hack.frob.com>
45915         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
45916         * sysdeps/unix/syscalls.list: ... here.
45918         * sysdeps/posix/getaddrinfo.c
45919         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
45920         (gaiconf_init, gaiconf_reload): Use them.
45921         [!_STATBUF_ST_NSEC]
45922         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
45923         Define using time_t rather than struct timespec.
45925         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
45926         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
45927         Macros removed.
45928         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
45929         [!NO_THREADS].
45930         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
45931         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
45932         Likewise.
45934         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
45935         __libc_cleanup_push argument.
45937         * bits/param.h: New file.
45938         * misc/sys/param.h: New file.
45939         * include/sys/param.h: New file.
45940         * misc/Makefile (headers): Add bits/param.h.
45941         * sysdeps/generic/sys/param.h: File removed.
45942         * sysdeps/unix/sysv/linux/bits/param.h: New file.
45943         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
45944         * sysdeps/mach/hurd/bits/param.h: New file.
45945         * sysdeps/mach/hurd/sys/param.h: File removed.
45947         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
45948         last change.
45950         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
45951         [_IO_MTSAFE_IO].
45952         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
45953         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
45954         New macros.
45956         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
45957         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
45958         rather than -D_IO_MTSAFE_IO conditionally.
45959         * stdio-common/Makefile (CPPFLAGS): Likewise.
45960         * wcsmbs/Makefile (CPPFLAGS): Likewise.
45961         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
45962         Use $(libio-mtsafe).
45963         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
45964         of -D_IO_MTSAFE_IO.
45965         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
45966         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
45967         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
45968         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
45969         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
45970         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
45971         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
45972         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
45973         (CFLAGS-fread_u_chk.c): Likewise.
45974         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
45975         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
45976         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
45977         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
45978         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
45979         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
45980         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
45981         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
45982         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
45984         * libio/Makefile: Test [$(libc-reentrant) = yes]
45985         instead of [$(filter %REENTRANT, $(defines)) nonempty].
45987         * Makeconfig
45988         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
45989         * sysdeps/pthread/configure: File removed.
45990         * sysdeps/pthread/Makeconfig: New file.
45991         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
45992         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
45994 2012-08-16  Gary Benson  <gbenson@redhat.com>
45996         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
45997         unmapping the first object in a namespace.
45999 2012-08-16  Roland McGrath  <roland@hack.frob.com>
46001         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
46002         (__internal_setnetgrent): ... this.  Add internal_function to
46003         definition.  Add libc_hidden_def.
46004         (setnetgrent): Update caller.
46005         (internal_endnetgrent): Renamed to ...
46006         (__internal_endnetgrent): ... this.  Add internal_function to
46007         definition.  Add libc_hidden_def.
46008         (endnetgrent): Update caller.
46009         (internal_getnetgrent_r): Renamed to ...
46010         (__internal_getnetgrent_r): ... this.  Add internal_function to
46011         definition.  Add libc_hidden_def.
46012         (__getnetgrent_r): Update caller.
46013         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
46015 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
46017         * stdlib/longlong.h: Update from GCC.
46019 2012-08-16  Roland McGrath  <roland@hack.frob.com>
46021         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
46022         on _QL, which is set by umul_ppmm but never used.
46023         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
46024         variables, which are set by GMP macros but never used.
46025         * stdio-common/_itowa.c (_itowa): Likewise.
46026         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
46027         * stdlib/mod_1.c (mpn_mod_1): Likewise.
46029 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
46031         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
46032         struct La_sh_regs is not constant.
46033         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
46034         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
46035         and struct La_sparc64_regs are not constant.
46037 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
46039         * sysdeps/unix/sysv/linux/kernel-features.h
46040         (__ASSUME_POSIX_TIMERS): Remove.
46041         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
46042         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46043         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
46044         Make code unconditional.
46045         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46046         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
46047         Make code unconditional.
46048         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46049         * sysdeps/unix/sysv/linux/clock_nanosleep.c
46050         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
46051         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46052         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
46053         Make code unconditional.
46054         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46055         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
46056         (__libc_missing_posix_timers): Remove.
46058 2012-08-15  Roland McGrath  <roland@hack.frob.com>
46060         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
46061         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
46063         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
46065         * elf/dl-sym.c: Include <stdlib.h>.
46067         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
46068         constants, which avoids warnings in 32-bit builds.
46070         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
46071         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
46073         * misc/lseek.c: File moved to ...
46074         * io/lseek.c: ... here.
46076         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
46078         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
46079         shifting LEN more than 31 bits at once.
46081 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46083         [BZ #14195]
46084         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
46085         segmentation fault for a case of two empty input strings.
46086         * string/test-strncasecmp.c (check1): Renamed to...
46087         (bz12205): ...this.
46088         (bz14195): Add new testcase for two empty input strings and N > 0.
46089         (test_main): Call new testcase, adapt for renamed function.
46091 2012-08-15  Andreas Jaeger  <aj@suse.de>
46093         [BZ #14090]
46094         * crypt/md5test2.c: New test, based on test supplied by Serge
46095         Belyshev <belyshev@depni.sinp.msu.ru>.
46096         * crypt/Makefile (xtests): Add md5test-giant..
46097         * crypt/Makefile ($(objpfx)md5test-giant): Add.
46099 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
46101         [BZ #14090]
46102         * crypt/md5.c (md5_process_block): Don't assume the buffer
46103         length is less than 2**32.
46104         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
46105         length is less than 2**64.
46107 2012-08-15  Roland McGrath  <roland@hack.frob.com>
46109         * string/str-two-way.h: Include <sys/param.h>.
46110         (MAX): Macro removed.
46112         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
46113         Move #define and #undef of memmove to just before and after
46114         including <string.h>.
46116         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
46117         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
46118         and after including <string.h>.  Move declarations of
46119         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
46120         to before #include "string/memmove.c".
46122         * include/dirent.h: Declare __getdirentries.
46124         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
46125         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
46127 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
46129         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
46130         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
46131         * sysdeps/i386/configure: Regenerated.
46132         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
46133         STABS_CURRENT_FILE, and STABS_FUN.
46134         (END): Remove call to STABS_FUN_END.
46135         (STABS_CURRENT_FILE1): Delete.
46136         (STABS_CURRENT_FILE): Likewise.
46137         (STABS_FUN): Likewise.
46138         (STABS_FUN_END): Likewise.
46139         (STABS_FUN2): Likewise.
46140         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
46141         * sysdeps/x86_64/configure: Regenerated.
46143 2012-08-14  Roland McGrath  <roland@hack.frob.com>
46145         * elf/dl-open.c: Include <atomic.h>.
46146         * elf/dl-lookup.c: Likewise.
46148 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
46150         * sysdeps/unix/sysv/linux/kernel-features.h
46151         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
46152         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
46153         unconditionally.
46154         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
46155         unconditionally.
46156         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
46157         condition on __ASSUME_CLONE_THREAD_FLAGS.
46159 2012-08-14  Andreas Jaeger  <aj@suse.de>
46161         * sysdeps/i386/fpu/libm-test-ulps: Update.
46163 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
46165         * include/atomic.h (atomic_exchange_and_add): Split into ...
46166         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
46167         New atomic macros.
46169 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
46171         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46173 2012-08-13  Jeff Law <law@redhat.com>
46175         * manual/stdio.texi (snprintf): Clarify handling of the trailing
46176         null byte in the output string.
46178 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
46180         * sysdeps/unix/sysv/linux/kernel-features.h
46181         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
46182         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
46183         (__ASSUME_ARG_MAX_STACK_BASED): Define.
46184         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
46185         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
46186         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
46187         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
46189 2012-08-09  Jeff Law <law@redhat.com>
46191         [BZ #13939]
46192         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
46193         When avoid_arena is set, don't retry in the that arena.  Pick the
46194         next one, whatever it might be.
46195         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
46196         (arena_lock): Pass in new parameter to arena_get2.
46197         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
46198         arena_get2.
46199         (__libc_malloc): Unify retrying after main arena failure with
46200         __libc_memalign version.
46201         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
46203 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
46205         [BZ #14166]
46206         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
46207         to __redirect_strstr.
46208         (__strstr_sse42): Use typeof __redirect_strstr.
46209         (__strstr_ia32): Likewise.
46210         (__libc_strstr): New prototype.
46211         (strstr): Renamed to ...
46212         (__libc_strstr): This.
46213         (strstr): New strong alias of __libc_strstr.
46214         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
46215         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
46216         __redirect_time.
46217         Include <time.h>.
46218         (__libc_time): New prototype.
46219         (time_ifunc): Replace time with __libc_time.
46220         (time): New strong alias and hidden definition of __libc_time.
46221         (__GI_time): Remove strong alias.
46222         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
46223         Include <stddef.h>.
46224         (memmove): Redefined to __redirect_memmove.
46225         (__memmove_sse2): Use typeof __redirect_memmove.
46226         (__memmove_ssse3): Likewise.
46227         (__memmove_ssse3_back): Likewise.
46228         (__libc_memmove): New prototype.
46229         (memmove): Renamed to ...
46230         (__libc_memmove): This.
46231         (memmove): New strong alias of __libc_memmove.
46233 2012-08-08  Mark Salter  <msalter@redhat.com>
46235         * elf/elf.h
46236         (R_MN10300_TLS_GD): Define.
46237         (R_MN10300_TLS_LD): Likewise.
46238         (R_MN10300_TLS_LDO): Likewise.
46239         (R_MN10300_TLS_GOTIE): Likewise.
46240         (R_MN10300_TLS_IE): Likewise.
46241         (R_MN10300_TLS_LE): Likewise.
46242         (R_MN10300_TLS_DTPMOD): Likewise.
46243         (R_MN10300_TLS_DTPOFF): Likewise.
46244         (R_MN10300_TLS_TPOFF): Likewise.
46245         (R_MN10300_SYM_DIFF): Likewise.
46246         (R_MN10300_ALIGN): Likewise.
46247         (R_MN10300_NUM): Update.
46249 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
46251         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
46252         Remove.
46254 2012-08-08  Roland McGrath  <roland@hack.frob.com>
46256         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
46258         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
46259         sysdeps/unix -> sysdeps/posix move.
46260         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
46262 2012-08-07      Allan McRae     <allan@archlinux.org>
46264         [BZ #14303]
46265         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
46266         (SUNOS_CPP): Likewise.
46267         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
46268         not found.
46269         (open_input): Call CPP using execvp.
46271 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
46273         * sysdeps/unix/sysv/linux/kernel-features.h
46274         (__ASSUME_PROT_GROWSUPDOWN): Remove.
46275         (__ASSUME_NO_CLONE_DETACHED): Likewise.
46276         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
46277         (__ASSUME_WAITID_SYSCALL): Likewise.
46278         * sysdeps/unix/sysv/linux/dl-execstack.c
46279         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
46280         code unconditional.
46281         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
46282         conditional code.
46283         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
46284         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
46285         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
46286         code.
46287         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
46288         unconditional.
46289         [__ASSUME_WAITID_SYSCALL]: Likewise.
46290         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
46292 2012-08-07  Roland McGrath  <roland@hack.frob.com>
46294         * sysdeps/unix/closedir.c: Renamed to ...
46295         * sysdeps/posix/closedir.c: ... here.
46296         * sysdeps/unix/dirfd.c: Renamed to ...
46297         * sysdeps/posix/dirfd.c: ... here.
46298         * sysdeps/unix/dirstream.h: Renamed to ...
46299         * sysdeps/posix/dirstream.h: ... here.
46300         * sysdeps/unix/fdopendir.c: Renamed to ...
46301         * sysdeps/posix/fdopendir.c: ... here.
46302         * sysdeps/unix/opendir.c: Renamed to ...
46303         * sysdeps/posix/opendir.c: ... here.
46304         * sysdeps/unix/readdir.c: Renamed to ...
46305         * sysdeps/posix/readdir.c: ... here.
46306         * sysdeps/unix/readdir_r.c: Renamed to ...
46307         * sysdeps/posix/readdir_r.c: ... here.
46308         * sysdeps/unix/rewinddir.c: Renamed to ...
46309         * sysdeps/posix/rewinddir.c: ... here.
46310         * sysdeps/unix/seekdir.c: Renamed to ...
46311         * sysdeps/posix/seekdir.c: ... here.
46312         * sysdeps/unix/telldir.c: Renamed to ...
46313         * sysdeps/posix/telldir.c: ... here.
46314         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
46315         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
46316         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
46317         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
46319         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
46320         * bits/fcntl.h: ... here.
46322         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
46323         not 0.
46324         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
46325         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
46326         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
46327         (struct flock): Move l_start, l_len to the beginning.
46328         Use __pid_t for l_pid.
46329         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
46330         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
46331         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
46332         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
46333         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
46334         [__USE_LARGEFILE64] (struct flock64): New type.
46335         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
46337         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
46338         * bits/dirent.h: ... here.
46340         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
46341         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
46343 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
46345         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46346         Change from 2.6.0 to 2.6.16.
46347         * sysdeps/unix/sysv/linux/configure: Regenerated.
46348         * sysdeps/unix/sysv/linux/kernel-features.h
46349         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
46350         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
46351         version.
46352         (__ASSUME_UTIMES): Likewise.
46353         (__ASSUME_CLONE_STOPPED): Remove.
46354         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
46355         architectures, not kernel version.
46356         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
46357         (__ASSUME_NO_CLONE_DETACHED): Likewise.
46358         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
46359         (__ASSUME_WAITID_SYSCALL): Likewise.
46360         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
46361         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
46362         * README: State 2.6.16 as minimum Linux kernel version.  Do not
46363         refer to older versions.
46365 2012-08-06  Roland McGrath  <roland@hack.frob.com>
46367         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
46368         Define alphasort64 as an alias.
46369         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
46370         Define versionsort64 as an alias.
46371         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
46372         Define scandir64 as an alias.
46373         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
46374         Define scandirat64 as an alias.
46375         * dirent/alphasort64.c (alphasort64):
46376         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
46377         * dirent/versionsort64.c: Likewise.
46378         * dirent/scandir64.c: Likewise.
46379         * dirent/scandirat64.c: Likewise.
46380         * sysdeps/wordsize-64/alphasort.c: File removed.
46381         * sysdeps/wordsize-64/alphasort64.c: File removed.
46382         * sysdeps/wordsize-64/scandir.c: File removed.
46383         * sysdeps/wordsize-64/scandir64.c: File removed.
46384         * sysdeps/wordsize-64/scandirat.c: File removed.
46385         * sysdeps/wordsize-64/scandirat64.c: File removed.
46386         * sysdeps/wordsize-64/versionsort.c: File removed.
46387         * sysdeps/wordsize-64/versionsort64.c: File removed.
46388         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
46389         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
46390         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
46391         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
46392         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
46393         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
46394         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
46395         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
46397         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
46398         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
46399         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
46400         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46401         [defined __arch64__ || defined __sparcv9]
46402         (__INO_T_MATCHES_INO64_T): New macro.
46403         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
46404         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
46405         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
46406         * sysdeps/unix/sysv/linux/bits/dirent.h
46407         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
46408         (_DIRENT_MATCHES_DIRENT64): New macro.
46410         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
46411         Define lockf64 as an alias.
46412         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
46413         Define fseeko64 as an alias.
46414         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
46415         Define ftello64 as an alias.
46416         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
46417         Define _IO_fgetpos64 and fgetpos64 as aliases.
46418         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
46419         Define _IO_fsetpos64 and fsetpos64 as aliases.
46420         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
46421         Conditionalize body on this.
46422         * libio/fseeko64.c: Likewise.
46423         * libio/ftello64.c: Likewise.
46424         * libio/iofgetpos64.c: Likewise.
46425         * libio/iofsetpos64.c: Likewise.
46426         * sysdeps/wordsize-64/lockf.c: File removed.
46427         * sysdeps/wordsize-64/lockf64.c: File removed.
46428         * sysdeps/wordsize-64/fseeko.c: File removed.
46429         * sysdeps/wordsize-64/fseeko64.c: File removed.
46430         * sysdeps/wordsize-64/ftello.c: File removed.
46431         * sysdeps/wordsize-64/ftello64.c: File removed.
46432         * sysdeps/wordsize-64/iofgetpos.c: File removed.
46433         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
46434         * sysdeps/wordsize-64/iofsetpos.c: File removed.
46435         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
46436         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
46437         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
46438         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
46439         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
46440         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
46441         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
46442         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
46443         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
46444         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
46445         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
46447         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
46448         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
46449         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
46450         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46451         [defined __arch64__ || defined __sparcv9]
46452         (__OFF_T_MATCHES_OFF64_T): New macro.
46453         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
46454         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
46455         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46456         (__OFF_T_MATCHES_OFF64_T): New macro.
46458 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
46460         * stdlib/secure-getenv.c (__secure_getenv): Replace
46461         GLIBC_2_16 with GLIBC_2_17.
46463 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
46465         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
46466         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
46468 2012-08-03  David S. Miller  <davem@davemloft.net>
46470         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46472 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
46474         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
46475         Remove.
46476         (__ASSUME_CORRECT_SI_PID): Likewise.
46477         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
46478         (__ASSUME_TMPFS_NAME): Likewise.
46479         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
46480         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
46481         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
46482         (HAVE_AUX_SECURE): Make definition unconditional.
46483         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
46484         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
46486 2012-08-03  Roland McGrath  <roland@hack.frob.com>
46488         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
46489         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
46490         * sysdeps/mach/hurd/eloop-threshold.h: New file.
46491         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
46492         __eloop_threshold instead of SYMLOOP_MAX.
46494         * sysdeps/generic/eloop-threshold.h: New file.
46495         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
46496         of MAXSYMLINKS.
46497         * elf/chroot_canon.c (chroot_canon): Likewise.
46499 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
46501         [BZ #13717]
46502         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46503         Change to 2.6.0 everywhere.
46504         * sysdeps/unix/sysv/linux/configure: Regenerated.
46505         * sysdeps/unix/sysv/linux/kernel-features.h
46506         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
46507         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
46508         kernel versions.
46509         (__ASSUME_POSIX_TIMERS): Define unconditionally.
46510         (__ASSUME_FUTEX_REQUEUE): Remove.
46511         (__ASSUME_STATFS64): Define unconditionally.
46512         (__ASSUME_AT_SECURE): Likewise.
46513         (__ASSUME_CORRECT_SI_PID): Likewise.
46514         (__ASSUME_TGKILL): Define without depending on kernel version for
46515         i386.
46516         (__ASSUME_UTIMES): Likewise.
46517         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
46518         kernel version.
46519         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
46520         (__ASSUME_TMPFS_NAME): Likewise.
46521         * README: Update reference to Linux kernel versions.
46523 2012-08-02  Marek Polacek  <polacek@redhat.com>
46525         [BZ# 14150]
46526         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
46527         libc_cv_asm_type_prefix with %.
46528         * configure: Regenerated.
46529         * include/libc-symbols.h: Remove comment about
46530         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
46531         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
46532         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
46533         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
46534         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
46535         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
46536         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
46537         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
46538         * elf/tst-unique2mod1.c: Likewise.
46539         * elf/tst-unique1mod2.c: Likewise.
46540         * elf/tst-unique1mod1.c: Likewise.
46541         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
46542         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
46543         Replace ASM_TYPE_DIRECTIVE with .type.
46544         * sysdeps/s390/s390-64/sysdep.h: Likewise.
46545         * sysdeps/i386/sysdep.h: Likewise.
46546         * sysdeps/x86_64/sysdep.h: Likewise.
46547         * sysdeps/sh/sysdep.h: Likewise.
46548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46549         Do not define ASM_TYPE_DIRECTIVE.
46550         * sysdeps/powerpc/sysdep.h: Likewise.
46551         * sysdeps/powerpc/powerpc32/sysdep.h:
46552         Replace ASM_TYPE_DIRECTIVE with .type.
46553         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
46554         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46555         * sysdeps/i386/fpu/e_powf.S: Likewise.
46556         * sysdeps/i386/fpu/e_expl.S: Likewise.
46557         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46558         * sysdeps/i386/fpu/e_acosh.S: Likewise.
46559         * sysdeps/i386/fpu/e_pow.S: Likewise.
46560         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
46561         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46562         * sysdeps/i386/fpu/s_expm1.S: Likewise.
46563         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
46564         * sysdeps/i386/fpu/e_log2.S: Likewise.
46565         * sysdeps/i386/fpu/e_log2l.S: Likewise.
46566         * sysdeps/i386/fpu/e_scalb.S: Likewise.
46567         * sysdeps/i386/fpu/e_powl.S: Likewise.
46568         * sysdeps/i386/fpu/e_log10f.S: Likewise.
46569         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
46570         * sysdeps/i386/fpu/e_logl.S: Likewise.
46571         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
46572         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
46573         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
46574         * sysdeps/i386/fpu/e_log2f.S: Likewise.
46575         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46576         * sysdeps/i386/fpu/e_log.S: Likewise.
46577         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46578         * sysdeps/i386/fpu/e_logf.S: Likewise.
46579         * sysdeps/i386/fpu/e_log10l.S: Likewise.
46580         * sysdeps/i386/fpu/e_atanh.S: Likewise.
46581         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
46582         * sysdeps/i386/fpu/e_log10.S: Likewise.
46583         * sysdeps/i386/fpu/s_frexp.S: Likewise.
46584         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46585         * sysdeps/i386/fpu/s_asinh.S: Likewise.
46586         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
46587         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46588         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
46589         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
46590         * sysdeps/i386/i686/strtok.S: Likewise.
46591         * sysdeps/i386/i386-mcount.S: Likewise.
46592         * sysdeps/i386/strtok.S: Likewise.
46593         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
46594         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46595         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46596         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46597         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46598         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46599         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
46600         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
46601         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46602         * sysdeps/x86_64/_mcount.S: Likewise.
46603         * sysdeps/x86_64/strtok.S: Likewise.
46604         * sysdeps/sh/_mcount.S: Likewise.
46606 2012-08-01  Roland McGrath  <roland@hack.frob.com>
46608         * libio/iofopen.c: Include <fcntl.h>.
46609         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
46610         (_IO_fopen64, fopen64): Define as aliases.
46611         * libio/iofopen64.c: Include <fcntl.h>.
46612         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
46613         Conditionalize body on this.
46614         * sysdeps/wordsize-64/iofopen.c: File removed.
46615         * sysdeps/wordsize-64/iofopen64.c: File removed.
46617 2012-08-01  Marek Polacek  <polacek@redhat.com>
46619         * libc/Makeconfig: Use elf in place of binfmt-subdir.
46620         Use dlfcn directly instead of a variable.
46621         (binfmt-subdir): Do not define.
46622         (dlfcn): Likewise.
46624 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
46626         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
46627         Remove all definitions.
46628         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
46629         <kernel-features.h>.
46630         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
46631         (miss_F_GETOWN_EX): Remove all definitions.
46632         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
46633         macro definition.
46634         [!__ASSUME_FCNTL64]: Remove conditional code.
46635         [__ASSUME_FCNTL64]: Make code unconditional.
46636         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
46637         <kernel-features.h>.
46638         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
46639         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
46640         (lockf64) [__NR_fcntl64]: Make code unconditional.
46641         (lockf64) [__ASSUME_FCNTL64]: Likewise.
46643         * sysdeps/unix/sysv/linux/kernel-features.h
46644         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
46645         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
46646         Make code unconditional.
46647         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46648         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
46650         [__NR_vfork]: Make code unconditional.
46651         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46652         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
46654         [__NR_vfork]: Make code unconditional.
46655         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46656         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46658 2012-08-01  Roland McGrath  <roland@hack.frob.com>
46660         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
46661         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
46663         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46664         Define mkstemp64 as an alias.
46665         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46666         Define mkstemps64 as an alias.
46667         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46668         Define mkostemp64 as an alias.
46669         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46670         Define mkostemps64 as an alias.
46671         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
46672         Conditionalize body on this.
46673         * misc/mkostemp64.c: Likewise.
46674         * misc/mkostemps64.c: Likewise.
46675         * misc/mkstemps64.c: Likewise.
46676         * sysdeps/wordsize-64/mkstemp64.c: File removed.
46677         * sysdeps/wordsize-64/mkostemp64.c: File removed.
46678         * sysdeps/wordsize-64/mkostemp.c: File removed.
46679         * sysdeps/wordsize-64/mkstemp.c: File removed.
46680         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
46681         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
46682         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
46683         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
46685         [BZ #14138]
46686         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
46687         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
46688         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
46689         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
46691         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
46692         compat_symbol macros from <shlib-compat.h> rather than the underlying
46693         default_symbol_version and symbol_version macros, so that DEFAULT
46694         lines in shlib-versions are respected.
46695         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
46697 2012-08-01  Florian Weimer  <fweimer@redhat.com>
46699         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
46700         Declare with warn_unused_result.
46701         (setgid, setregid, setegid, setresgid): Likewise.
46702         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
46703         Likewise.
46704         * WUR-REPORT: Remove set*id functions.
46706 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
46708         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
46710 2012-07-31  Roland McGrath  <roland@hack.frob.com>
46712         [BZ #10191]
46713         * include/sys/socket.h (__libc_accept, __libc_accept4):
46714         Add attribute_hidden.
46715         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
46717         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
46718         use of PTR_MANGLE.
46719         * inet/getnetgrent_r.c (setup): Likewise.
46721         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
46723 2012-07-31  David S. Miller  <davem@davemloft.net>
46725         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46727 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
46729         [BZ #13629]
46730         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
46731         value between 1.0 and 2.0 and smaller part has absolute value less
46732         than 1.0.
46733         * math/s_clog10.c (__clog10): Likewise.
46734         * math/s_clog10f.c (__clog10f): Likewise.
46735         * math/s_clog10l.c (__clog10l): Likewise.
46736         * math/s_clogf.c (__clogf): Likewise.
46737         * math/s_clogl.c (__clogl): Likewise.
46738         * math/libm-test.inc (clog_test): Add more tests.
46739         (clog10_test): Likewise.
46740         * sysdeps/i386/fpu/libm-test-ulps: Update.
46741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46743 2012-07-31  Florian Weimer  <fweimer@redhat.com>
46745         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
46746         Exit with zero in case no suitable GID is found, and write a
46747         message to standard error.
46749 2012-07-30  Roland McGrath  <roland@hack.frob.com>
46751         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
46752         rather than to 1.
46753         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
46754         (MAXPATHLEN): Removed.
46755         (NOGROUP, NODEV): New macros.
46756         (setbit, clrbit, isset, isclr): New macros.
46757         (howmany, roundup, powerof2): New macros.
46758         (DEV_BSIZE): New macro.
46760         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
46761         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
46763         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
46764         definition on [!__NO_LONG_DOUBLE_MATH].
46766         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
46767         PTR_MANGLE and PTR_DEMANGLE.
46769         * socket/accept4.c (accept4): Rename to __libc_accept4.
46770         Define accept4 as a weak alias.
46772         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
46773         on [_DIRENT_HAVE_D_TYPE].
46774         * io/ftw.c (ftw_dir): Likewise.
46776         * io/xmknod.c (__xmknod): Don't check PATH for being null.
46778         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
46780         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
46781         Use the BSD numbers rather than the arbitrary ones we had.
46782         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
46783         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
46784         (SIGXCPU, SIGXFSZ): New macros.
46785         (_NSIG): Now 32.
46787         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
46788         initializer on [_LIBC_REENTRANT].
46790         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
46791         definitions inside [_POSIX_MAPPED_FILES].
46793         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
46795         * dirent/opendir.c: Include <fcntl.h>.
46797         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
46798         (__libc_getspecific): Likewise.
46799         (__libc_key_create): Likewise.
46801         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
46802         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
46803         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
46804         (tmpfile64): Define as alias.
46805         * sysdeps/wordsize-64/tmpfile.c: File removed.
46806         * sysdeps/wordsize-64/tmpfile64.c: File removed.
46807         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
46808         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
46810         * stdio-common/vfscanf.c: Include <stdbool.h>.
46811         * nss/makedb.c: Likewise.
46812         * stdio-common/_i18n_number.h: Likewise.
46813         * argp/argp-help.c: Likewise.
46814         * posix/wordexp.c: Likewise.
46815         * sysdeps/posix/spawni.c: Likewise.
46816         * nss/nss_files/files-initgroups.c: Likewise.
46817         * stdio-common/reg-modifier.c: Include <stdlib.h>.
46818         * nss/nss_files/files-initgroups.c: Likewise.
46819         * nss/nss_db/db-netgrp.c: Likewise.
46820         * nss/nss_db/db-initgroups.c: Likewise.
46821         * io/fchmodat.c: Include <sys/stat.h>.
46823         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
46824         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
46826         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
46827         [HAVE_MMAP].
46829         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
46830         Add multiple inclusion protection.
46832 2012-07-27  David S. Miller  <davem@davemloft.net>
46834         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46836 2012-07-27  Gary Benson  <gbenson@redhat.com>
46838         [BZ #14298]
46839         * elf/rtld.c: Include <stap-probe.h>.
46840         (dl_main): Added static probes "init_start" and "init_complete".
46841         * elf/dl-load.c: Include <stap-probe.h>.
46842         (lose): Take new parameter "nsid".
46843         Added static probe "map_failed".
46844         (_dl_map_object_from_fd): Pass namespace id to lose.
46845         Added static probe "map_start".
46846         (open_verify): Pass namespace id to lose.
46847         * elf/dl-open.c: Include <stap-probe.h>.
46848         (dl_open_worker) Added static probes "map_complete", "reloc_start"
46849         and "reloc_complete".
46850         * elf/dl-close.c: Include <stap-probe.h>.
46851         (_dl_close_worker): Added static probes "unmap_start" and
46852         "unmap_complete".
46853         * elf/rtld-debugger-interface.txt: New file documenting the above.
46855 2012-07-26  Roland McGrath  <roland@hack.frob.com>
46857         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
46858         rather than a string variable.
46859         * sunrpc/rpc_main.c (h_output): Likewise.
46860         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
46862 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
46864         * inet/check_native.c: New file.
46866 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
46868         [BZ #13629]
46869         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
46870         if larger part has absolute value 1.0.
46871         * math/s_clog10.c (__clog10): Likewise.
46872         * math/s_clog10f.c (__clog10f): Likewise.
46873         * math/s_clog10l.c (__clog10l): Likewise.
46874         * math/s_clogf.c (__clogf): Likewise.
46875         * math/s_clogl.c (__clogl): Likewise.
46876         * math/libm-test.inc (clog_test): Add more tests.
46877         (clog10_test): Likewise.
46878         * sysdeps/i386/fpu/libm-test-ulps: Update.
46879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46881         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
46882         (pltexit): Likewise.
46883         (La_regs): Likewise.
46884         (La_retval): Likewise.
46885         (int_retval): Likewise.
46886         Update #error for removed macros to refer only to definitions in
46887         tst-audit.h.
46888         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
46889         macro.
46890         (pltexit): Likewise.
46891         (La_regs): Likewise.
46892         (La_retval): Likewise.
46893         (int_retval): Likewise.
46894         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
46895         macro.
46896         (pltexit): Likewise.
46897         (La_regs): Likewise.
46898         (La_retval): Likewise.
46899         (int_retval): Likewise.
46900         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
46901         macro.
46902         (pltexit): Likewise.
46903         (La_regs): Likewise.
46904         (La_retval): Likewise.
46905         (int_retval): Likewise.
46906         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
46907         macro.
46908         (pltexit): Likewise.
46909         (La_regs): Likewise.
46910         (La_retval): Likewise.
46911         (int_retval): Likewise.
46912         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
46913         macro.
46914         (pltexit): Likewise.
46915         (La_regs): Likewise.
46916         (La_retval): Likewise.
46917         (int_retval): Likewise.
46918         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
46919         macro.
46920         (pltexit): Likewise.
46921         (La_regs): Likewise.
46922         (La_retval): Likewise.
46923         (int_retval): Likewise.
46924         * sysdeps/generic/tst-audit.h: Update comment to refer only to
46925         macro definitions in tst-audit.h.
46926         * sysdeps/i386/tst-audit.h: New file.
46927         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
46928         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
46929         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
46930         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
46931         * sysdeps/sh/tst-audit.h: Likewise.
46932         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
46933         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
46934         * sysdeps/x86_64/tst-audit.h: Likewise.
46936 2012-07-26  Andreas Jaeger  <aj@suse.de>
46938         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
46939         ptrace.
46941         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
46942         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
46943         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
46944         PTRACE_O_MASK.
46945         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
46946         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
46947         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
46949         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
46950         value.
46952         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
46953         _sigsys.
46954         (si_call_addr, si_syscall, si_arch): Define new macro.
46955         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
46956         _sigsys.
46957         (si_call_addr, si_syscall, si_arch): Define new marcro.
46958         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
46959         _sigsys.
46960         (si_call_addr, si_syscall, si_arch): Define new macro.
46961         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
46962         _sigsys.
46963         (si_call_addr, si_syscall, si_arch): Define new macro.
46965 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
46967         [BZ #13717]
46968         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46969         Change to 2.4.21 where previously 2.4.1.
46970         * sysdeps/unix/sysv/linux/configure: Regenerated.
46971         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
46972         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
46973         Linux kernel version.
46974         (__ASSUME_STD_AUXV): Remove.
46975         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
46976         kernel version.
46977         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
46978         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
46979         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
46980         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
46981         (__ASSUME_NETLINK_SUPPORT): Likewise.
46982         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
46983         (__no_netlink_support): Remove conditional definition.
46984         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
46985         Remove.
46986         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
46987         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
46988         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
46989         (if_nameindex_ioctl): Remove.
46990         (if_nameindex_netlink): Do not handle __no_netlink_support.
46991         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
46992         code.
46993         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
46994         Remove conditional code.
46995         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
46996         code.
46997         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
46998         unconditional.
46999         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
47000         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
47001         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
47002         Remove.
47003         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
47004         [!__ASSUME_STD_AUXV]: Remove conditional code.
47005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
47006         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
47007         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
47008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
47009         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
47010         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
47011         code.
47012         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
47013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
47014         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
47015         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
47016         conditional code.
47017         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
47018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
47019         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
47020         code.
47021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
47022         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
47023         conditional code.
47024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
47025         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47026         code unconditional.
47027         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47028         conditional code.
47029         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47030         unconditional.
47031         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47032         conditional code.
47033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47034         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47035         unconditional.
47036         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47037         conditional code.
47038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
47039         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47040         code unconditional.
47041         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47042         conditional code.
47043         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47044         unconditional.
47045         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47046         conditional code.
47047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
47048         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47049         code unconditional.
47050         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47051         conditional code.
47052         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47053         unconditional.
47054         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47055         conditional code.
47057 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
47059         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
47060         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
47061         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
47062         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
47063         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
47064         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
47065         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
47066         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
47067         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
47068         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
47069         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
47070         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
47071         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
47072         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
47073         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
47074         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
47075         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
47076         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
47077         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
47078         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
47079         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
47080         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
47081         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
47083 2012-07-25  Florian Weimer  <fweimer@redhat.com>
47085         * Versions.def: Add GLIBC_2.17.
47086         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
47087         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
47088         Introduce __libc_secure_getenv.
47089         * stdlib/Versions (2.17): Add secure_getenv
47090         (GLIBC_PRIVATE): Add __libc_secure_getenv.
47091         * stdlib/secure-getenv.c: Rename __secure_getenv to
47092         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
47093         symbol __secure_getenv for GLIBC_2.0.
47094         * stdlib/tst-secure-getenv.c: New.
47095         * stdlib/Makefile (tests): Add testcase.
47096         * manual/startup.texi (Environment Access): Document
47097         secure_getenv.
47098         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
47099         __libc_secure_getenv.
47100         * inet/ruserpass.c (ruserpass): Likewise.
47101         * malloc/mtrace.c (mtrace): Likewise.
47102         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
47103         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
47104         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
47105         * sysdeps/posix/tempname.c: Likewise.  Evaluate
47106         HAVE_SECURE_GETENV.
47107         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
47108         __secure_getenv to __libc_secure_getenv.
47109         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
47110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47111         Likewise.
47112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47113         Likewise.
47114         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
47115         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
47116         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
47117         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
47118         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
47119         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
47120         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
47122 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
47124         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
47125         (struct La_i86_retval): Likewise.
47126         (struct La_x86_64_regs): Likewise.
47127         (struct La_x86_64_retval): Likewise.
47128         (struct La_x32_regs): Likewise.
47129         (struct La_x32_retval): Likewise.
47130         (struct La_ppc32_regs): Likewise.
47131         (struct La_ppc32_retval): Likewise.
47132         (struct La_ppc64_regs): Likewise.
47133         (struct La_ppc64_retval): Likewise.
47134         (struct La_sh_regs): Likewise.
47135         (struct La_sh_retval): Likewise.
47136         (struct La_s390_32_regs): Likewise.
47137         (struct La_s390_32_retval): Likewise.
47138         (struct La_s390_64_regs): Likewise.
47139         (struct La_s390_64_retval): Likewise.
47140         (struct La_sparc32_regs): Likewise.
47141         (struct La_sparc32_retval): Likewise.
47142         (struct La_sparc64_regs): Likewise.
47143         (struct La_sparc64_retval): Likewise.
47144         (struct audit_ifaces): Remove architecture-specific pltenter and
47145         pltexit members.
47146         * sysdeps/i386/ldsodefs.h: New file.
47147         * sysdeps/powerpc/ldsodefs.h: Likewise.
47148         * sysdeps/s390/ldsodefs.h: Likewise.
47149         * sysdeps/sh/ldsodefs.h: Likewise.
47150         * sysdeps/sparc/ldsodefs.h: Likewise.
47151         * sysdeps/x86_64/ldsodefs.h: Likewise.
47153 2012-07-25  Marek Polacek  <polacek@redhat.com>
47155         [BZ #6808]
47156         * math/libm-test.inc (yn_test): Add another test.
47157         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
47158         to ERANGE when the result is +-Inf.
47159         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
47160         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
47161         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
47162         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
47164 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
47166         * conform/data/time.h-data (NULL): Use macro-constant.  Require
47167         equal to 0.
47168         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
47169         clock_t.
47170         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
47172 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
47174         * configure.in <sysdeps resolving>: Correct printing
47175         Implies_before.
47176         * configure: Regenerate.
47178 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
47180         * math/w_ilogb.c: Include <limits.h>.
47181         * math/w_ilogbl.c: Likewise.
47183 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
47185         * manual/lang.texi (__va_copy): Document primarily as ISO C99
47186         va_copy.  Document allowing for unavailable va_copy only as
47187         pre-C99 compatibility.
47188         * manual/string.texi (Copying and Concatenation): Use va_copy
47189         instead of __va_copy in concat example.
47191 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
47193         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
47194         (__sendto): Use create_address_port.  Initialize APORT and deallocate
47195         it if not null.
47197         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
47198         with O_NOLINK passed to __file_name_lookup.
47200         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
47201         with O_NOLINK passed to __file_name_lookup.
47203         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
47204         negative N or less than NGIDS.
47206         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
47207         type to string_t.  Set ERANGE as errno and return it if NAME is not big
47208         enough.  Use memcpy instead of strncpy.
47210 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
47212         * elf/Makefile (check-data): Remove.
47213         (localplt.data): New vpath directive.
47214         ($(objpfx)check-localplt.out): Use localplt.data from vpath
47215         instead of $(check-data).
47216         * scripts/data/localplt-generic.data: Move to ...
47217         * sysdeps/generic/localplt.data: ... here.
47218         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
47219         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
47220         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
47221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
47222         ... here.
47223         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
47224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
47225         ... here.
47226         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
47227         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
47228         ... here.
47229         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
47230         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
47231         ... here.
47232         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
47233         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
47234         ... here.
47235         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
47236         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
47237         ... here.
47239 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47241         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
47242         PPC32 and PPC64 files.
47243         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
47244         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
47246 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47248         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
47249         __makecontext_ret to ...
47250         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
47251         ... here and call exit if uc_link is NULL.  New file.
47252         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
47253         __makecontext_ret.S.
47254         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
47255         __makecontext_ret to ...
47256         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
47257         ... here and call exit if uc_link is NULL.  New file.
47258         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
47259         __makecontext_ret.S.
47261 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47263         * elf/elf.h (R_390_IRELATIVE): New definition.
47264         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
47265         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
47266         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
47267         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
47268         (elf_machine_lazy_rel): Likewise.
47269         * sysdeps/s390/dl-irel.h: New file.
47270         * sysdeps/s390/s390-64/memcpy.S: New asm code.
47271         * sysdeps/s390/s390-64/memset.S: New asm code.
47272         * sysdeps/s390/s390-64/memcmp.S: New asm code.
47273         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
47274         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
47275         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
47276         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
47277         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
47278         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
47279         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
47280         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
47281         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
47282         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
47283         * sysdeps/s390/s390-32/memcpy.S: New asm code.
47284         * sysdeps/s390/s390-32/memset.S: New asm code.
47285         * sysdeps/s390/s390-32/memcmp.S: New asm code.
47287 2012-07-17  Marek Polacek  <polacek@redhat.com>
47289         [BZ #14349]
47290         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
47291         * sysdeps/s390/s390-64/configure.in: Likewise.
47292         * sysdeps/sparc/configure.in: Likewise.
47293         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
47294         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
47295         * sysdeps/i386/configure.in: Likewise.
47296         * sysdeps/x86_64/configure.in: Likewise.
47297         * sysdeps/sh/configure.in: Likewise.
47298         * sysdeps/s390/s390-32/configure: Regenerated.
47299         * sysdeps/s390/s390-64/configure: Likewise.
47300         * sysdeps/x86_64/configure: Likewise.
47301         * sysdeps/sh/configure: Likewise.
47302         * sysdeps/powerpc/powerpc64/configure: Likewise.
47303         * sysdeps/powerpc/powerpc32/configure: Likewise.
47304         * sysdeps/sparc/configure: Likwise.
47305         * sysdeps/i386/configure: Likewise.
47307         * elf/dl-open.c: Comment fixes.
47309 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
47311         * Makefile [CXX] (check-data): Remove.
47312         [CXX] (c++-types.data): New vpath directive.
47313         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
47314         vpath.  Do not allow for C++ type data being missing.
47315         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
47316         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
47317         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
47318         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
47319         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
47320         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
47321         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
47322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
47323         ... here.
47324         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
47325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
47326         ... here.
47327         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
47328         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
47329         ... here.
47330         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
47331         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
47332         ... here.
47333         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
47334         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
47335         ... here.
47336         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
47337         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
47338         ... here.
47339         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
47340         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
47341         ... here.
47342         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
47343         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
47345         * elf/tls-macros.h (TLS_LE): Move architecture-specific
47346         definitions to architecture-specific files.
47347         (TLS_IE): Likewise.
47348         (TLS_LD): Likewise.
47349         (TLS_GD): Likewise.
47350         * sysdeps/i386/tls-macros.h: New file.
47351         * sysdeps/powerpc/tls-macros.h: Likewise.
47352         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
47353         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
47354         * sysdeps/sh/tls-macros.h: Likewise.
47355         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
47356         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
47357         * sysdeps/x86_64/tls-macros.h: Likewise.
47359 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
47361         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
47362         zero value for regular exit case.
47364         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
47365         (__start_context): Preserve zero value for regular exit case.
47367 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
47368             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47370         * manual/setjmp.texi (setcontext): Clarify normal process
47371         termination when uc_link is the null pointer.
47372         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
47373         exit call.
47375 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
47377         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
47378         preprocessor.  Test for each exception mask separately.
47380 2012-07-16  Andreas Jaeger  <aj@suse.de>
47382         * po/ru.po: Update from translation team.
47384 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
47386         * conform/data/string.h-data (NULL): Use macro-constant.  Require
47387         equal to 0.
47388         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
47389         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
47390         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
47391         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
47392         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47394 2012-07-13  Andreas Jaeger  <aj@suse.de>
47396         * po/fr.po: Update from translation team.
47398 2012-07-12  Marek Polacek  <polacek@redhat.com>
47400         [BZ #14173]
47401         * math/libm-test.inc (yn_test): Add test for BZ #14173.
47402         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
47403         loop condition.
47405 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
47407         [BZ #13717]
47408         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47409         Change to 2.4.1 where previously 2.4.0.
47410         * sysdeps/unix/sysv/linux/configure: Regenerated.
47411         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
47412         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
47413         version.
47414         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
47415         (__ASSUME_AT_CLKTCK): Remove.
47416         (__ASSUME_AT_PAGESIZE): Likewise.
47417         (__ASSUME_AT_XID): Likewise.
47418         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
47419         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
47420         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
47421         unconditionally.
47422         (HAVE_AUX_PAGESIZE): Likewise.
47423         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
47424         [__ASSUME_AT_CLKTCK]: Make code unconditional.
47425         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
47427 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
47429         [BZ #14307]
47430         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
47431         the temporary buffer used to invoke __gethostbyname2_r,
47432         __gethostbyaddr_r and gethostbyname4_r to make room for struct
47433         host_data / struct gaih_addrtuple.
47434         * resolv/nss_dns/dns-host.c (global scope): Move definition of
47435         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
47436         header file nss/nsswitch.h.
47437         * nss/nsswitch.h (global scope): Add definition of implementation
47438         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
47439         resolv/nss_dns/dns-host.c).
47441 2012-07-11  Andreas Jaeger  <aj@suse.de>
47443         * po/fr.po: Update from translation team.
47445         * po/sv.po: Update from translation team
47446         * po/fr.po: Another update from translation team.
47448 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47450         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
47451         for subnormals or multiply small sinh result by itself.
47452         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
47453         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47455 2012-07-11  David S. Miller  <davem@davemloft.net>
47457         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47459 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
47461         [BZ #14347]
47462         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
47463         (INTERNAL_MARK): Shift it here.
47465 2012-07-10  Marek Polacek  <polacek@redhat.com>
47467         [BZ #14151]
47468         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
47469         libc_cv_asm_global_directive with .globl.
47470         * configure: Regenerated.
47471         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
47472         with .globl.
47473         * sysdeps/i386/configure: Regenerated.
47474         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
47475         with .globl.
47476         * sysdeps/x86_64/configure: Regenerated.
47477         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
47478         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
47479         * elf/tst-unique2mod2.c: Likewise.
47480         * elf/tst-unique2mod1.c: Likewise.
47481         * elf/tst-unique1mod2.c: Likewise.
47482         * elf/tst-unique1mod1.c: Likewise.
47483         * sysdeps/s390/s390-32/sysdep.h: Likewise.
47484         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
47485         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47486         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
47487         * sysdeps/mach/sysdep.h: Likewise.
47488         * sysdeps/i386/sysdep.h: Likewise.
47489         * sysdeps/i386/i386-mcount.S: Likewise.
47490         * sysdeps/x86_64/_mcount.S: Likewise.
47491         * sysdeps/x86_64/sysdep.h: Likewise.
47492         * sysdeps/sh/_mcount.S: Likewise.
47493         * sysdeps/sh/sysdep.h: Likewise.
47494         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
47495         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
47496         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
47497         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47498         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
47499         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
47500         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
47501         * locale/localeinfo.h: Likewise.
47502         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
47503         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
47505 2012-07-09  Roland McGrath  <roland@hack.frob.com>
47507         [BZ #14336]
47508         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
47509         system".
47510         * manual/message.texi (The Uniforum approach): Likewise.
47511         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
47512         (glibc iconv Implementation): Likewise.
47514 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
47516         [BZ #14337]
47517         * math/s_clog.c (__clog): Avoid scaling a value down where that
47518         could result in underflow.
47519         * math/s_clog10.c (__clog10): Likewise.
47520         * math/s_clog10f.c (__clog10f): Likewise.
47521         * math/s_clog10l.c (__clog10l): Likewise.
47522         * math/s_clogf.c (__clogf): Likewise.
47523         * math/s_clogl.c (__clogl): Likewise.
47524         * math/libm-test.inc (clog_test): Add more tests.
47525         (clog10_test): Likewise.
47526         * sysdeps/i386/fpu/libm-test-ulps: Update.
47527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47529 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
47531         [BZ #14283]
47532         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
47533         by 7 not 8 to examine high bit of fractional part.
47535         [BZ #14042]
47536         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
47537         for call to __mcount_internal.
47538         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
47539         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
47540         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
47542 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
47544         [BZ #14154]
47545         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
47546         approximation for values within 0x1p-13f of an odd multiple of
47547         pi/4.
47548         * math/libm-test.inc (tan_test): Do not allow spurious underflow
47549         exception.  Add more tests.
47550         * sysdeps/i386/fpu/libm-test-ulps: Update.
47552         [BZ #6778]
47553         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
47554         inputs and return -1 for them.  Do not check for +Inf in case not
47555         reachable for +Inf.
47556         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
47557         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
47558         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
47559         and return -1 for them.  Do not check for +Inf in case not
47560         reachable for +Inf.
47561         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
47562         define.
47563         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
47564         and return -1 for them.  Do not check for +Inf in case not
47565         reachable for +Inf.
47566         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
47567         spurious underflow.
47568         * sysdeps/i386/fpu/libm-test-ulps: Update.
47569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47571 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
47573         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
47575 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
47577         [BZ #14157]
47578         [BZ #14331]
47579         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
47580         could result in spurious underflow.  Scale down values above
47581         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
47582         * math/s_csqrtf.c (__csqrtf): Likewise.
47583         * math/s_csqrtl.c (__csqrtl): Likewise.
47584         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
47585         spurious underflow.
47586         * sysdeps/i386/fpu/libm-test-ulps: Update.
47587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47589 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
47591         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
47592         xopen-msg.sed.
47593         * catgets/xopen-msg.awk: New file.
47594         * catgets/xopen-msg.sed: Removed.
47596         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
47597         po2text.sed.
47598         * intl/po2test.awk: New file.
47599         * intl/po2test.sed: Removed.
47601 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
47603         [BZ #14328]
47604         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
47605         or multiply small sinh result by itself.
47606         * math/s_ctanf.c (__ctanf): Likewise.
47607         * math/s_ctanh.c (__ctanh): Likewise.
47608         * math/s_ctanhf.c (__ctanhf): Likewise.
47609         * math/s_ctanhl.c (__ctanhl): Likewise.
47610         * math/s_ctanl.c (__ctanl): Likewise.
47611         * math/libm-test.inc (ctan_test_tonearest): New function.
47612         (ctan_test_towardzero): Likewise.
47613         (ctan_test_downward): Likewise.
47614         (ctan_test_upward): Likewise.
47615         (ctanh_test_tonearest): Likewise.
47616         (ctanh_test_towardzero): Likewise.
47617         (ctanh_test_downward): Likewise.
47618         (ctanh_test_upward): Likewise.
47619         (main): Call these new functions.
47620         * sysdeps/i386/fpu/libm-test-ulps: Update.
47621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47623 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
47625         * .gitignore: Delete /ports entry.
47627 2012-07-03  Andreas Jaeger  <aj@suse.de>
47629         * po/bg.po: Update from translation team.
47630         * po/cs.po: Likewise.
47631         * po/de.po: Likewise.
47632         * po/hr.po: Likewise.
47633         * po/nl.pl: Likewise.
47634         * po/pl.po: Likewise.
47635         * po/vi.po: Likewise.
47637 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
47639         * Makeconfig [!+link] (+link-before-libc): New variable.
47640         [!+link] (+link-after-libc): Likewise.
47641         [!+link] (+link-tests): Likewise.
47642         [!+link] (+link): Define in terms of $(+link-before-libc) and
47643         $(+link-after-libc).
47644         [!+link-static] (+link-static-before-libc): New variable.
47645         [!+link-static] (+link-static-after-libc): Likewise.
47646         [!+link-static] (+link-static-tests): Likewise.
47647         [!+link-static] (+link-static): Define in terms of
47648         $(+link-static-before-libc) and $(+link-static-after-libc).
47649         [build-shared] (link-libc-before-gnulib): New variable.
47650         [build-shared] (link-libc-tests): Likewise.
47651         [build-shared] (link-libc): Define in terms of
47652         $(link-libc-before-gnulib).
47653         [!build-shared] (link-libc-tests): New variable.
47654         (link-libc-static-tests): New variable.
47655         [!gnulib] (gnulib-arch): New variable.
47656         [!gnulib] (gnulib-tests): Likewise.
47657         [!gnulib] (static-gnulib-arch): Likewise.
47658         [!gnulib] (static-gnulib-tests): Likewise.
47659         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
47660         Define with "=" instead of ":=".
47661         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
47662         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
47663         * Rules (binaries-all-notests): New variable.
47664         (binaries-all-tests): Likewise.
47665         (binaries-static-notests): Likewise.
47666         (binaries-static-tests): Likewise.
47667         (binaries-all): Define using $(binaries-all-notests) and
47668         $(binaries-all-tests).
47669         (binaries-static): Define using $(binaries-static-notests) and
47670         $(binaries-static-tests).
47671         (binaries-shared-tests): New variable.
47672         (binaries-shared-notests): Likewise.
47673         (binaries-shared): Remove variable.
47674         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
47675         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
47676         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
47677         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
47678         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
47679         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
47680         * elf/Makefile (sln-modules): New variable.
47681         (extra-objs): Add $(sln-modules:=.o).
47682         (ldconfig-modules): Add static-stubs.
47683         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
47684         * elf/static-stubs.c: New file.
47686         [BZ #14283]
47687         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
47688         by 7 not 8 to examine high bit of fractional part.  Use volatile
47689         variables when splitting into final array of floats if
47690         __FLT_EVAL_METHOD__ != 0.
47691         * math/libm-test.inc (cos_test): Add another test.
47692         (sin_test): Likewise.
47693         * sysdeps/i386/fpu/libm-test-ulps: Update.
47695         [BZ #14273]
47696         * math/libm-test.inc (cosh_test): Add more tests.
47698         * version.h (RELEASE): Set to "development".
47699         (VERSION): Set to "2.16.90".
47701 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
47703         * NEWS: Update copyright. Remove last-updated date.
47704         Mention math library bug fixes and timezone data changes.
47705         * README: Mention GNU/Hurd, x32, and HPPA support status.
47707 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
47709         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
47711 2012-06-27  Andreas Jaeger  <aj@suse.de>
47713         * manual/contrib.texi (Contributors): Add Samuel Thibault.
47715 2012-06-25  Andreas Jaeger  <aj@suse.de>
47717         * sysdeps/s390/fpu/libm-test-ulps: Update.
47719 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
47720             Thomas Schwinge  <thomas@codesourcery.com>
47722         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
47723         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
47724         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
47725         fanotify_mark.
47727 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
47729         * sysdeps/mach/start.c: Remove file.
47730         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
47731         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
47732         * sysdeps/sh/init-first.c: Likewise.
47734         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
47735         registers for frame unwinding purposes, add CFI directives.
47736         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
47737         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
47738         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
47739         Likewise.
47741         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
47742         __fortify_fail returning.
47743         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
47745         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
47746         sysdeps/sh/____longjmp_chk.S.
47747         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
47748         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
47749         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
47750         (gen-as-const-headers): Append sigaltstack-offsets.sym.
47752         * sysdeps/sh/abort-instr.h: New file.
47753         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
47754         process in case exit returns.
47756         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
47757         initialize the GOT register before use.
47759         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
47760         calculation of ARGC > 4.
47762         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
47763         meaningful names to some local labels.
47765 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47766             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47768         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
47769         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
47770         (__arch_compare_and_exchange_val_16_acq): Likewise.
47771         (__arch_compare_and_exchange_val_32_acq): Likewise.
47772         (atomic_exchange_and_add): Fix gUSA sequence.
47773         (atomic_add): Likewise.
47774         (atomic_add_negative): Likewise.
47775         (atomic_add_zero): Likewise.
47776         (atomic_bit_test_set): Likewise.
47778 2012-06-22  Andreas Schwab  <schwab@redhat.com>
47780         [BZ #13579]
47781         * include/link.h (struct link_map): Add l_free_initfini.
47782         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
47783         l_initfini.
47784         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
47785         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
47786         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
47787         set.
47789 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
47791         * configure.in: Use AC_LANG_SOURCE.
47792         * configure: Regenerate.
47794 2012-06-22  Roland McGrath  <roland@hack.frob.com>
47796         * configure.in (libc_cv_localstatedir): New substituted variable.
47797         * configure: Regenerated.
47798         * config.make.in (localstatedir): New variable, substituted from
47799         libc_cv_localstatedir.
47800         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
47801         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
47802         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
47803         * sysdeps/gnu/configure: Regenerated.
47805 2012-06-21  Jeff Law  <law@redhat.com>
47807         [BZ #14277]
47808         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
47809         free.  Simplify list management for _LIBC case.
47811 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
47813         [BZ #14273]
47814         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
47815         Clear sign bit of 64-bit integer value before comparing against
47816         overflow value.
47818         * sysdeps/mach/configure: Regenerated.
47820 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
47822         [BZ #14278]
47823         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
47825 2012-06-21  Jeff Law  <law@redhat.com>
47827         [BZ #13882]
47828         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
47829         uint16_t for elements in the "seen" array to avoid char overflows.
47830         * elf/dl-fini.c (_dl_sort_fini): Likewise.
47831         * elf/dl-open.c (dl_open_worker): Likewise.
47833 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
47835         * scripts/list-sources.sh: Scan PORTS for translations.
47836         * po/libc.pot: Regenerated.
47838 2012-06-21  Andreas Jaeger  <aj@suse.de>
47840         [BZ #12194]
47841         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
47842         warning.
47843         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
47844         * bits/byteswap-16.h (__bswap_16): Likewise.
47845         * bits/byteswap.h (__bswap_constant_16): Likewise.
47847 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
47849         [BZ #14117]
47850         * sysdeps/i386/fpu_control.h: Removed.
47851         * sysdeps/x86_64/fpu_control.h: Moved to ...
47852         * sysdeps/x86/fpu_control.h: Here.
47854         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
47855         (_FPU_SETCW): Likewise.
47857 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
47859         [BZ #14117]
47860         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
47861         * sysdeps/x86/fpu/bits/mathinline.h: This.
47862         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
47864         [BZ #14050]
47865         [BZ #14117]
47866         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
47867         functions if __x86_64__ is defined.
47869 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
47871         * string/endian.h: Add !__ASSEMBLER__ condition for including
47872         conversion interfaces.
47874 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
47876         [BZ #14241]
47877         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
47878         of ABS(x) in calculating zero to negative powers other than odd
47879         integers.
47880         * math/libm-test.inc (pow_test): Add more tests.
47882 2012-06-15  Andreas Jaeger  <aj@suse.de>
47884         * manual/contrib.texi (Contributors): Update entry of Liubov
47885         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
47886         Machado Filho.
47888 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
47890         * string/string.h: Add __wur to GNU version of strerror_r.
47892 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
47894         [BZ #14229]
47895         * string/Makefile (tests): Add tst-strtok_r.
47896         * string/tst-strtok_r.c: New file.
47897         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
47898         RAX_LP/RDX_LP on SAVE_PTR.
47900 2012-06-14  Roland McGrath  <roland@hack.frob.com>
47902         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
47904 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
47906         * libm_test.inc (csqrt_test): Allow more spurious underflow
47907         exceptions.
47908         (j0_test): Likewise.
47909         (j1_test): Likewise.
47910         (y0_test): Likewise.
47911         (y1_test): Likewise.
47913 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
47915         * po/Makefile (libc.pot): Use UTF-8 charset.
47917 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
47919         [BZ #14210]
47920         Suppress sign-conversion warning from FD_SET.
47921         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
47922         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
47923         not unsigned long int.
47924         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
47926 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
47928         [BZ #14050]
47929         [BZ #14117]
47930         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
47931         __extern_always_inline instead of __extern_inline.
47932         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
47933         (__signbit): Likewise.
47934         (__signbitl): Support C++ namespace.
47935         (lrintf): New inline function.
47936         (lrint): Likewise.
47937         (llrintf): Likewise.
47938         (llrint): Likewise.
47939         (fmaxf): Likewise.
47940         (fmax): Likewise.
47941         (fminf): Likewise.
47942         (fmin): Likewise.
47943         (rint): Likewise.
47944         (rintf): Likewise.
47945         (ceil): Likewise.
47946         (ceilf): Likewise.
47947         (floor): Likewise.
47948         (floorf): Likewise.
47949         (nearbyint): Likewise.
47950         (nearbyintf): Likewise.
47952 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
47954         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
47955         non-default versions.
47957 2012-06-11  Roland McGrath  <roland@hack.frob.com>
47959         [BZ #14218]
47960         * manual/argp.texi (Argp): Reword argp_parse description slightly.
47962 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
47964         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
47965         (FE_UPWARD, FE_DOWNWARD): Don't define.
47966         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
47967         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
47969         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
47970         reading it.
47971         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
47972         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47974 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47976         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
47977         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
47978         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
47979         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
47981 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
47983         [BZ #14117]
47984         * sysdeps/i386/fpu/bits/fenv.h: Removed.
47985         * sysdeps/i386/fpu/Implies: New file.
47986         * sysdeps/x86_64/fpu/Implies: Likewise.
47987         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
47988         * sysdeps/x86/fpu/bits/fenv.h: This.
47990         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
47991         __SSE_MATH__.
47993 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
47995         [BZ #14134]
47996         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
47997         character 0xffff that matches the last element of the
47998         conversion table.
48000 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48002         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
48003         fmodl commit.
48005 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48007         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
48008         values higher than 25.6283.
48010 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48012         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
48013         subnormal exponent extraction and add some __builtin_expect.
48014         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
48015         Fix for subnormal mantissa calculation.
48017 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
48019         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
48020         cpu2 is -1 and errno is not ENOSYS.
48022 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
48024         [BZ #14117]
48025         * sysdeps/i386/i486/bits/string.h: Renamed to ...
48026         * sysdeps/x86/bits/string.h: This.
48027         * sysdeps/x86_64/bits/string.h: Removed.
48029         * sysdeps/i386/i486/bits/string.h: Define inline functions only
48030         if not compiling for x86-64, but compiling for >= i486.
48032         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
48033         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
48035         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
48036         New macro from Linux kernel 3.4.0.
48037         (FP_XSTATE_MAGIC2): Likewise.
48038         (FP_XSTATE_MAGIC2_SIZE): Likewise.
48039         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
48040         (struct _fpx_sw_bytes): New struct.
48041         (struct _xsave_hdr): Likewise.
48042         (struct _ymmh_state): Likewise.
48043         (struct _xstate): Likewise.
48045         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
48046         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
48047         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
48048         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
48049         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
48050         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
48052         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
48053         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
48054         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
48055         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
48056         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
48057         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
48059 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48061         [BZ #13743]
48062         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
48063         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
48064         (sysdep_headers): Include sys/platform/ppc.h.
48065         * sysdeps/powerpc/test-gettimebase.c: Test for
48066         __ppc_get_timebase() to catch future ISA opcode/insn changes.
48067         * manual/Makefile (appendices): Include platform.texi.
48068         * manual/contrib.texi (Contributors): Update @node pointers.
48069         * manual/maint.texi (Maintenance): Likewise.
48070         (Platform): New node.
48071         * manual/platform.texi: New file.  Document the new features.
48073 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48074             Jakub Jelinek  <jakub@redhat.com>
48076         [BZ #14188]
48077         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
48078         where __builtin_expect is unavailable.
48080 2012-06-03  David S. Miller  <davem@davemloft.net>
48082         * stdlib/longlong.h: Updated from GCC.
48084 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
48086         [BZ #14042]
48087         * sysdeps/powerpc/powerpc32/mcount.c: New file.
48088         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
48089         __mcount_internal.
48090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
48091         (GLIBC_2.16): Likewise.
48093 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
48095         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
48097 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
48099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
48100         (default-abi): New variable.
48101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
48102         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
48103         variable.
48104         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
48105         Likewise.
48106         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
48107         Likewise.
48108         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
48109         Likewise.
48111         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
48112         definition.  Document in comment.
48114 2012-06-01  David S. Miller  <davem@davemloft.net>
48116         * stdlib/longlong.h: Updated from GCC.
48118 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
48120         [BZ #14117]
48121         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
48122         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
48123         sys/debugreg.h sys/io.h here.
48124         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
48125         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
48126         sys/io.h.
48127         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
48128         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
48129         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
48130         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
48131         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
48132         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
48134         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
48135         Define only if __x86_64__ is defined.
48137 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
48139         [BZ #14048]
48140         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
48141         Use int64_t for variable i.
48142         * math/libm-test.inc (fmod_test): Add more tests.
48144         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
48145         z computation is not scheduled after fetestexcept.
48146         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
48147         Use math_force_eval instead of asm to ensure calculation scheduled
48148         before exception test.
48149         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
48150         Ensure a1 + u.d computation is not scheduled after fetestexcept.
48152 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
48154         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
48155         computation is not scheduled after fetestexcept.
48157 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
48159         [BZ #14117]
48160         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
48161         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
48163 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48165         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
48166         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
48168 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
48170         [BZ #14117]
48171         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
48172         <bits/wordsize.h>.
48173         (__WCHAR_MIN): Support __WORDSIZE == 64.
48174         (__WCHAR_MAX): Likewise.
48176         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
48177         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
48179         [BZ #14183]
48180         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
48181         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
48183         [BZ #14117]
48184         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
48185         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
48187         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
48188         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
48190         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
48191         Defined to 1 if __x86_64__ isn't defined.
48192         (_STAT_VER_LINUX_OLD): New.
48193         (st_atime): Remove duplicate.
48194         (st_mtime): Likewise.
48195         (st_ctime): Likewise.
48197 2012-05-31  David S. Miller  <davem@davemloft.net>
48199         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
48200         entries.
48202 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
48204         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
48205         gen-libm-test.pl.
48207         [BZ #14132]
48208         * elf/dl-reloc.c: Include <_itoa.h>.
48209         (_dl_reloc_bad_type): Remove use of INTUSE.
48210         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
48211         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
48212         * stdio-common/psiginfo.c (psiginfo): Likewise.
48213         * stdio-common/psignal.c (psignal): Likewise.
48214         * string/strsignal.c (strsignal): Likewise.
48215         * include/signal.h (_sys_siglist): Declare hidden proto.
48216         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
48217         INTVARDEF with libc_hidden_data_def.
48218         * stdio-common/itoa-udigits.c: Likewise.
48219         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
48220         (_itoa_lower_digits_internal): Remove declaration.
48221         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
48222         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
48223         (_sys_sigabbrev_internal): Remove aliases.
48224         (_sys_siglist): Define hidden alias.
48226 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
48228         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48229         bits/sysctl.h.
48231 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
48233         [BZ #14117]
48234         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
48235         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
48237         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
48238         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
48239         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
48240         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
48241         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
48242         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
48244         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
48245         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
48246         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
48248         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
48249         with __addr.
48250         (insw): Likewise.
48251         (insl): Likewise.
48252         (outsb): Likewise.
48253         (outsw): Likewise.
48254         (outsl): Likewise.
48256         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
48257         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
48258         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
48260         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
48261         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
48262         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
48263         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
48264         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
48265         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
48267         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
48268         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
48270         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
48271         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
48273         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
48274         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
48275         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
48277         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
48278         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
48279         to ...
48280         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
48282         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
48283         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
48284         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
48286         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
48287         for x86-64.
48288         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
48290 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
48292         * math/math.h (M_El): Use two more decimal places.
48293         (M_LOG2El): Likewise.
48294         (M_LOG10El): Likewise.
48295         (M_LN2l): Likewise.
48296         (M_LN10l): Likewise.
48297         (M_PIl): Likewise.
48298         (M_PI_2l): Likewise.
48299         (M_PI_4l): Likewise.
48300         (M_1_PIl): Likewise.
48301         (M_2_PIl): Likewise.
48302         (M_2_SQRTPIl): Likewise.
48303         (M_SQRT2l): Likewise.
48304         (M_SQRT1_2l): Likewise.
48306 2012-05-31  David S. Miller  <davem@davemloft.net>
48308         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
48309         values between float registers.
48310         * sysdeps/sparc/sparc64/memset.S: Likewise.
48311         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
48313 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
48315         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
48316         -D_FORTIFY_SOURCE=1.
48317         (CPPFLAGS-tst-longjmp_chk.c): Define.
48318         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
48319         (CPPFLAGS-tst-longjmp_chk2.c): Define.
48320         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
48321         CFLAGS-tst-wchar-h.c.
48323 2012-05-31  Marek Polacek  <polacek@redhat.com>
48325         [BZ #14132]
48326         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
48327         __endmntent_internal): Remove declaration.
48328         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
48329         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
48330         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
48332 2012-05-30  David S. Miller  <davem@davemloft.net>
48334         * sysdeps/sparc/sparc32/soft-fp/q_util.c
48335         (___Q_simulate_exceptions): Use real FP ops rather than writing
48336         into the %fsr.
48337         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
48338         Likewise.
48340 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48342         [BZ #14117]
48343         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
48344         * sysdeps/x86/bits/xtitypes.h: This.
48346         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
48347         * sysdeps/x86/bits/wordsize.h: This.
48349         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
48350         * sysdeps/x86/bits/huge_vall.h: This.
48352         * sysdeps/i386/bits/select.h: Removed.
48353         * sysdeps/x86_64/bits/select.h: Renamed to ...
48354         * sysdeps/x86/bits/select.h: This.
48356         * sysdeps/i386/bits/setjmp.h: Removed.
48357         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
48358         * sysdeps/x86/bits/setjmp.h: This.
48360         * sysdeps/i386/bits/mathdef.h: Removed.
48361         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
48362         * sysdeps/x86/bits/mathdef.h: This.
48364 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
48366         [BZ #14132]
48367         * include/sys/socket.h (__connect_internal)
48368         (__libc_sa_len_internal): Remove declaration.
48369         (__connect, __libc_sa_len): Declare hidden_proto.
48370         (SA_LEN): Remove use of INTUSE.
48371         * socket/connect.c: Add libc_hidden_def.
48372         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
48373         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
48374         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
48375         alias.
48376         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
48377         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
48378         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
48379         of adding _internal alias.
48381 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48383         [BZ #14117]
48384         * sysdeps/i386/bits/link.h: Removed.
48385         * sysdeps/i386/bits/linkmap.h: Likewise.
48386         * sysdeps/x86_64/bits/link.h: Renamed to ...
48387         * sysdeps/x86/bits/link.h: This.
48388         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
48389         * sysdeps/x86/bits/linkmap.h: This.
48391         * sysdeps/i386/bits/endian.h: Removed.
48392         * sysdeps/x86_64/bits/endian.h: Renamed to ...
48393         * sysdeps/x86/bits/endian.h: This.
48395         * sysdeps/i386/bits/byteswap.h: Removed.
48396         * sysdeps/i386/bits/byteswap-16.h: Likewise.
48397         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
48398         * sysdeps/x86/bits/byteswap.h: This.
48399         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
48400         * sysdeps/x86/bits/byteswap-16.h: This.
48401         * sysdeps/i386/Implies: Add x86.
48402         * sysdeps/x86_64/Implies: Likewise.
48404 2012-05-30  David S. Miller  <davem@davemloft.net>
48406         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
48407         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
48408         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
48409         (FP_TRAPPING_EXCEPTIONS): Define.
48410         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
48411         (FP_TRAPPING_EXCEPTIONS): Define.
48412         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
48413         subnormals only when inexact has been signalled or underflow
48414         exceptions are enabled.
48415         (_FP_PACK_CANONICAL): Likewise.
48417 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48419         [BZ #14183]
48420         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
48421         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
48423 2012-05-30  Richard Henderson  <rth@twiddle.net>
48425         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
48426         with #ifndef NOT_IN_libc.
48428         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
48429         marked to avoid plt entry.
48431 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48433         [BZ #14112]
48434         * Makeconfig (default-abi): New macro.
48435         (abi-includes): Likewise.
48436         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
48437         $(abi-$(default-abi)-lib-soname) for soname if defined.
48438         ($(common-objpfx)gnu/lib-names.stmp): Generate from
48439         abi-variants.
48440         * Makefile (installed-stubs): Likewise.
48441         * include/stubs-biarch.h: Removed.
48442         * scripts/lib-names.awk: Only handle one library at a time.
48443         * scripts/soversions.awk: Remove WORDSIZE support.
48444         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
48445         entries.
48446         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
48447         Removed.
48448         (syscall-list-default-condition): Likewise.
48449         (syscall-list-default-condition): Likewise.
48450         (syscall-list-includes): Likewise.
48451         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
48452         syscall-list-* with abi-*.  Handle undefined abi-variants.
48453         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
48454         * sysdeps/unix/sysv/linux/i386/Implies: New file.
48455         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
48456         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
48457         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
48458         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
48459         Removed.
48460         (syscall-list-32-options): Likewise.
48461         (syscall-list-32-condition): Likewise.
48462         (syscall-list-64-options): Likewise.
48463         (syscall-list-64-condition): Likewise.
48464         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
48465         macro.
48466         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
48467         Renamed to ...
48468         (abi-*): This.
48469         (abi-64-ld-soname): New macro.
48470         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
48471         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
48472         Renamed to ...
48473         (abi-*): This.
48474         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
48475         * sysdeps/x86_64/x32/shlib-versions: Likewise.
48477 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
48479         * sysdeps/unix/sysv/linux/kernel-features.h
48480         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
48481         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
48482         include <kernel-features.h>.
48483         [!__NR_ftruncate64]: Remove conditional code.
48484         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48485         [__NR_ftruncate64]: Make code unconditional.
48486         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48487         * sysdeps/unix/sysv/linux/truncate64.c: Do not
48488         include <kernel-features.h>.
48489         [!__NR_ftruncate64]: Remove conditional code.
48490         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48491         [__NR_ftruncate64]: Make code unconditional.
48492         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
48494         include <kernel-features.h>.
48495         [!__NR_ftruncate64]: Remove conditional code.
48496         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48497         [__NR_ftruncate64]: Make code unconditional.
48498         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
48500         include <kernel-features.h>.
48501         [!__NR_ftruncate64]: Remove conditional code.
48502         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48503         [__NR_ftruncate64]: Make code unconditional.
48504         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48506         * configure.in (libc_cv_fpie): Weaken to a compile test using
48507         LIBC_TRY_CC_OPTION.
48508         * configure: Regenerated.
48510 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48512         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
48513         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
48514         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
48515         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48516         Refreshed.
48517         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
48518         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
48519         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
48520         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
48521         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
48522         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48523         Refreshed.
48525 2012-05-27  David S. Miller  <davem@davemloft.net>
48527         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
48528         (___Q_zero): New.
48529         (__Q_simulate_exceptions): Return void.  Change to simulate
48530         exceptions by writing into the %fsr.
48531         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
48532         (__Qp_handle_exceptions): Likewise.
48533         (numbers): Delete.
48534         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
48535         __Qp_handle_exceptions.
48536         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
48537         __Qp_handle_exceptions.
48538         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
48539         as unused and give dummy FP_RND_NEAREST initializer.
48540         (FP_INHIBIT_RESULTS): Define.
48541         (___Q_simulate_exceptions): Update declaration.
48542         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
48543         formatting.
48544         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
48545         as unused and give dummy FP_RND_NEAREST initializer.
48546         (__Qp_handle_exceptions): Update declaration.
48547         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
48548         formatting.
48550 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
48552         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
48553         the temporary FPU control word.
48554         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
48555         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
48556         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
48557         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
48558         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
48559         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
48560         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
48561         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
48562         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
48563         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
48564         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48566 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48568         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
48569         fields.
48571 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
48573         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
48574         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
48575         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
48576         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
48577         Likewise.
48578         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
48579         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
48580         Likewise.
48582 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
48584         * po/h.po: Update from translation team.
48586 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
48588         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
48590         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
48591         handling of denormals.
48592         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48593         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
48594         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
48595         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
48596         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48597         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
48598         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
48599         Likewise.
48601 2012-05-26  Marek Polacek  <polacek@redhat.com>
48603         [BZ #14152]
48604         * math/libm-test.inc (fma_test): Don't always expect underflow
48605         exception.
48607 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48609         [BZ #12416]
48610         * elf/tst-execstack.c: Include stackinfo.h.
48611         (do_test): Adjust test case to ensure that pthread_getattr_np
48612         behaviour remains the same after marking stack executable.
48614 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
48616         * sysdeps/unix/sysv/linux/kernel-features.h
48617         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
48618         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
48619         kernel-features.h.
48620         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
48621         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
48622         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
48623         kernel-features.h.
48624         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
48625         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
48627 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
48629         * configure.in: Define the default includes to being none.
48630         * configure: Regenerated.
48632 2012-05-25  Roland McGrath  <roland@hack.frob.com>
48634         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
48635         * sysdeps/x86_64/setjmp.S: Likewise.
48636         * sysdeps/i386/bsd-setjmp.S: Likewise.
48637         * sysdeps/i386/bsd-_setjmp.S: Likewise.
48638         * sysdeps/i386/setjmp.S: Likewise.
48639         * sysdeps/i386/__longjmp.S: Likewise.
48640         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
48641         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
48643         * include/stap-probe.h: New file.
48644         * configure.in: Handle --enable-systemtap.
48645         * configure: Regenerated.
48646         * config.h.in (USE_STAP_PROBE): New #undef.
48647         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
48648         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
48649         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
48651 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
48653         [BZ #13717]
48654         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
48655         to 2.4.0 where earlier.
48656         * sysdeps/unix/sysv/linux/configure: Regenerated.
48657         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
48658         <kernel-features.h>.
48659         [__ASSUME_32BITUIDS]: Make code unconditional.
48660         [!__ASSUME_32BITUIDS]: Remove conditional code.
48661         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
48662         <kernel-features.h>.
48663         [__ASSUME_32BITUIDS]: Make code unconditional.
48664         [!__ASSUME_32BITUIDS]: Remove conditional code.
48665         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
48666         [__ASSUME_32BITUIDS]: Make code unconditional.
48667         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
48668         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
48669         <kernel-features.h>.
48670         [__ASSUME_32BITUIDS]: Make code unconditional.
48671         [!__ASSUME_32BITUIDS]: Remove conditional code.
48672         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
48673         <kernel-features.h>.
48674         [__ASSUME_32BITUIDS]: Make code unconditional.
48675         [!__ASSUME_32BITUIDS]: Remove conditional code.
48676         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
48677         <kernel-features.h>.
48678         [__ASSUME_32BITUIDS]: Make code unconditional.
48679         [!__ASSUME_32BITUIDS]: Remove conditional code.
48680         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
48681         <kernel-features.h>.
48682         [__ASSUME_32BITUIDS]: Make code unconditional.
48683         [!__ASSUME_32BITUIDS]: Remove conditional code.
48684         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
48685         <kernel-features.h>.
48686         [__ASSUME_32BITUIDS]: Make code unconditional.
48687         [!__ASSUME_32BITUIDS]: Remove conditional code.
48688         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
48689         <kernel-features.h>.
48690         [__ASSUME_32BITUIDS]: Make code unconditional.
48691         [!__ASSUME_32BITUIDS]: Remove conditional code.
48692         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
48693         <kernel-features.h>.
48694         [__ASSUME_32BITUIDS]: Make code unconditional.
48695         [!__ASSUME_32BITUIDS]: Remove conditional code.
48696         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
48697         <kernel-features.h>.
48698         [__ASSUME_32BITUIDS]: Make code unconditional.
48699         [!__ASSUME_32BITUIDS]: Remove conditional code.
48700         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
48701         <kernel-features.h>.
48702         [__ASSUME_32BITUIDS]: Make code unconditional.
48703         [!__ASSUME_32BITUIDS]: Remove conditional code.
48704         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
48705         <kernel-features.h>.
48706         [__ASSUME_32BITUIDS]: Make code unconditional.
48707         [!__ASSUME_32BITUIDS]: Remove conditional code.
48708         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
48709         <kernel-features.h>.
48710         [__NR_setresgid] (__setresgid): Do not declare.
48711         [__ASSUME_32BITUIDS]: Make code unconditional.
48712         [!__ASSUME_32BITUIDS]: Remove conditional code.
48713         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
48714         <kernel-features.h>.
48715         [__NR_setresuid] (__setresuid): Do not declare.
48716         [__ASSUME_32BITUIDS]: Make code unconditional.
48717         [!__ASSUME_32BITUIDS]: Remove conditional code.
48718         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
48719         <kernel-features.h>.
48720         [__ASSUME_32BITUIDS]: Make code unconditional.
48721         [!__ASSUME_32BITUIDS]: Remove conditional code.
48722         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
48723         <kernel-features.h>.
48724         [__ASSUME_32BITUIDS]: Make code unconditional.
48725         [!__ASSUME_32BITUIDS]: Remove conditional code.
48726         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
48727         <kernel-features.h>.
48728         [__ASSUME_32BITUIDS]: Make code unconditional.
48729         [!__ASSUME_32BITUIDS]: Remove conditional code.
48730         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
48731         <kernel-features.h>.
48732         [__ASSUME_32BITUIDS]: Make code unconditional.
48733         [!__ASSUME_32BITUIDS]: Remove conditional code.
48734         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
48735         <kernel-features.h>.
48736         [__ASSUME_32BITUIDS]: Make code unconditional.
48737         [!__ASSUME_32BITUIDS]: Remove conditional code.
48738         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
48739         <kernel-features.h>.
48740         [__ASSUME_32BITUIDS]: Make code unconditional.
48741         [!__ASSUME_32BITUIDS]: Remove conditional code.
48742         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
48743         <kernel-features.h>.
48744         [__ASSUME_32BITUIDS]: Make code unconditional.
48745         [!__ASSUME_32BITUIDS]: Remove conditional code.
48746         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
48747         <kernel-features.h>.
48748         [__ASSUME_32BITUIDS]: Make code unconditional.
48749         [!__ASSUME_32BITUIDS]: Remove conditional code.
48750         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
48751         <kernel-features.h>.
48752         [__ASSUME_32BITUIDS]: Make code unconditional.
48753         [!__ASSUME_32BITUIDS]: Remove conditional code.
48754         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
48755         <kernel-features.h>.
48756         [__ASSUME_32BITUIDS]: Make code unconditional.
48757         [!__ASSUME_32BITUIDS]: Remove conditional code.
48758         * sysdeps/unix/sysv/linux/kernel-features.h
48759         (__ASSUME_SETRESUID_SYSCALL): Remove.
48760         (__ASSUME_SETRESGID_SYSCALL): Likewise.
48761         (__ASSUME_32BITUIDS): Likewise.
48762         (__ASSUME_LDT_WORKS): Likewise.
48763         (__ASSUME_O_DIRECTORY): Likewise.
48764         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
48765         architecture but not kernel version.
48766         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
48767         (__ASSUME_MMAP2_SYSCALL): Likewise.
48768         (__ASSUME_STAT64_SYSCALL): Likewise.
48769         (__ASSUME_IPC64): Likewise.
48770         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
48771         <kernel-features.h>.
48772         [__ASSUME_32BITUIDS]: Make code unconditional.
48773         [!__ASSUME_32BITUIDS]: Remove conditional code.
48774         * sysdeps/unix/sysv/linux/opendir.c: Do not include
48775         <kernel-features.h>.
48776         [__ASSUME_O_DIRECTORY]: Make code unconditional.
48777         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
48778         132096]: Remove conditional code.
48779         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
48780         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
48781         <kernel-features.h>.
48782         [__ASSUME_32BITUIDS]: Make code unconditional.
48783         [!__ASSUME_32BITUIDS]: Remove conditional code.
48784         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
48785         <kernel-features.h>.
48786         [__ASSUME_32BITUIDS]: Make code unconditional.
48787         [!__ASSUME_32BITUIDS]: Remove conditional code.
48788         * sysdeps/unix/sysv/linux/setegid.c: Do not include
48789         <kernel-features.h>.
48790         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
48791         unconditional.
48792         (__setresgid): Do not declare.
48793         [__ASSUME_32BITUIDS]: Make code unconditional.
48794         [!__ASSUME_32BITUIDS]: Remove conditional code.
48795         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
48796         <kernel-features.h>.
48797         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
48798         unconditional.
48799         (__setresuid): Do not declare.
48800         [__ASSUME_32BITUIDS]: Make code unconditional.
48801         [!__ASSUME_32BITUIDS]: Remove conditional code.
48802         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
48803         <kernel-features.h>.
48804         [__ASSUME_32BITUIDS]: Make code unconditional.
48805         [!__ASSUME_32BITUIDS]: Remove conditional code.
48806         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
48807         <kernel-features.h>.
48808         [__ASSUME_32BITUIDS]: Make code unconditional.
48809         [!__ASSUME_32BITUIDS]: Remove conditional code.
48811 2012-05-25  Richard Henderson  <rth@twiddle.net>
48813         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
48814         dl_hwcap to ifunc resolver.
48815         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
48816         elf_ifunc_invoke.
48817         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
48818         dl_hwcap to ifunc resolver.
48819         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
48821 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48823         [BZ #14153]
48824         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
48825         for |x| <= 2**-26, not 2**-57.
48826         * math/libm-test.inc (acos_test): Do not allow spurious underflow
48827         exception.
48829 2012-05-24  Jeff Law  <law@redhat.com>
48831         * stdio-common/Makefile (tests): Add bug25.
48832         * stdio-common/bug25.c: New test.
48834 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
48836         [BZ #13576]
48837         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
48838         multiple of MALLOC_ALIGNMENT in size.
48839         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
48841 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48843         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
48844         Require >= 256.
48845         (FILENAME_MAX): Use macro-int-constant.
48846         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
48847         (_IOFBF): Use macro-int-constant.
48848         (_IOLBF): Likewise.
48849         (_IONBF): Likewise.
48850         (SEEK_CUR): Likewise.
48851         (SEEK_END): Likewise.
48852         (SEEK_SET): Likewise.
48853         (TMP_MAX): Likewise.
48854         (EOF): Use macro-int-constant.  Require < 0.
48855         (NULL): Use macro-constant.  Require == 0.
48856         (stdin): Require type to be FILE *.
48857         (stdout): Likewise.
48858         (stderr): Likewise.
48859         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
48860         macro-int-constant.
48861         (EXIT_SUCCESS): Likewise.
48862         (NULL): Use macro-constant.  Require == 0.
48863         (RAND_MAX): Use macro-int-constant.
48864         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
48865         [C99-based standards] (strtof): Require function.
48866         [C99-based standards] (strtold): Likewise.
48867         [C99-based standards] (strtoll): Likewise.
48868         [C99-based standards] (strtoull): Likewise.
48869         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
48870         [ISO || ISO99 || ISO11] (limits.h): Likewise.
48871         [ISO || ISO99 || ISO11] (math.h): Likewise.
48872         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
48873         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
48874         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48876 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
48878         [BZ #14132]
48879         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
48880         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
48881         * intl/dgettext.c (DCGETTEXT): Likewise.
48882         * intl/gettext.c (DCGETTEXT): Likewise.
48883         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
48884         * posix/regex_internal.h (gettext): Likewise.
48885         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
48886         Remove declaration.
48887         * include/argz.h (__argz_count_internal)
48888         (__argz_stringify_internal): Remove declaration.
48889         (__argz_count, __argz_stringify): Declare hidden proto.
48890         * intl/dcgettext.c: Remove use of INTDEF.
48891         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
48892         * string/argz-stringify.c: Likewise.
48893         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
48894         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
48895         Declare hidden proto.
48896         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
48897         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
48898         Declare hidden proto.
48899         * include/stdio.h (__asprintf_internal): Don't declare.
48900         (__asprintf): Don't define as macro.  Declare hidden proto.
48901         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
48902         (__fsetlocking): Declare hidden proto.
48903         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
48904         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
48905         hidden proto.
48906         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
48907         (_IO_setlinebuf): Remove use of INTUSE.
48908         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
48909         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
48910         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
48911         Remove declaration.
48912         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
48913         (_IO_do_flush): Remove use of INTUSE.
48914         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
48915         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
48916         (_IO_adjust_column, _IO_least_wmarker)
48917         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
48918         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
48919         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
48920         (_IO_default_doallocate, _IO_wdefault_doallocate)
48921         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
48922         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
48923         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
48924         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
48925         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
48926         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
48927         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
48928         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
48929         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
48930         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
48931         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
48932         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
48933         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
48934         proto.
48935         (_IO_flush_all_internal, _IO_adjust_column_internal)
48936         (_IO_default_uflow_internal, _IO_default_finish_internal)
48937         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
48938         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
48939         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
48940         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
48941         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
48942         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
48943         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
48944         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
48945         (_IO_file_close_internal, _IO_file_close_it_internal)
48946         (_IO_file_underflow_internal, _IO_file_overflow_internal)
48947         (_IO_file_init_internal, _IO_file_attach_internal)
48948         (_IO_file_fopen_internal, _IO_file_read_internal)
48949         (_IO_file_sync_internal, _IO_file_seek_internal)
48950         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
48951         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
48952         (_IO_str_underflow_internal, _IO_str_overflow_internal)
48953         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
48954         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
48955         (_IO_list_all_internal, _IO_link_in_internal)
48956         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
48957         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
48958         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
48959         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
48960         (_IO_do_write_internal, _IO_padn_internal)
48961         (_IO_getline_info_internal, _IO_getline_internal)
48962         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
48963         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
48964         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
48965         (_IO_vfscanf_internal, _IO_vfprintf_internal)
48966         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
48967         (_IO_init_internal, _IO_un_link_internal): Don't declare.
48968         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
48969         with libc_hidden_ver, remove use of INTUSE.
48970         * libio/genops.c: Likewise.
48971         * libio/freopen.c: Likewise.
48972         * libio/freopen64.c: Likewise.
48973         * libio/iofclose.c: Likewise.
48974         * libio/iofdopen.c: Likewise.
48975         * libio/iofflush.c: Likewise.
48976         * libio/iofflush_u.c: Likewise.
48977         * libio/iofgets.c: Likewise.
48978         * libio/iofgets_u.c: Likewise.
48979         * libio/iofopen.c: Likewise.
48980         * libio/iofopncook.c: Likewise.
48981         * libio/iofread.c: Likewise.
48982         * libio/iofread_u.c: Likewise.
48983         * libio/ioftell.c: Likewise.
48984         * libio/iofwrite.c: Likewise.
48985         * libio/iogetline.c: Likewise.
48986         * libio/iogets.c: Likewise.
48987         * libio/iogetwline.c: Likewise.
48988         * libio/iopadn.c: Likewise.
48989         * libio/iopopen.c: Likewise.
48990         * libio/ioseekoff.c: Likewise.
48991         * libio/ioseekpos.c: Likewise.
48992         * libio/iosetbuffer.c: Likewise.
48993         * libio/iosetvbuf.c: Likewise.
48994         * libio/ioungetc.c: Likewise.
48995         * libio/ioungetwc.c: Likewise.
48996         * libio/iovdprintf.c: Likewise.
48997         * libio/iovsprintf.c: Likewise.
48998         * libio/iovsscanf.c: Likewise.
48999         * libio/memstream.c: Likewise.
49000         * libio/obprintf.c: Likewise.
49001         * libio/oldfileops.c: Likewise.
49002         * libio/oldiofclose.c: Likewise.
49003         * libio/oldiofdopen.c: Likewise.
49004         * libio/oldiofopen.c: Likewise.
49005         * libio/oldiopopen.c: Likewise.
49006         * libio/oldstdfiles.c: Likewise.
49007         * libio/putc.c: Likewise.
49008         * libio/setbuf.c: Likewise.
49009         * libio/setlinebuf.c: Likewise.
49010         * libio/stdfiles.c: Likewise.
49011         * libio/strops.c: Likewise.
49012         * libio/vasprintf.c: Likewise.
49013         * libio/vscanf.c: Likewise.
49014         * libio/vsnprintf.c: Likewise.
49015         * libio/vswprintf.c: Likewise.
49016         * libio/wfiledoalloc.c: Likewise.
49017         * libio/wfileops.c: Likewise.
49018         * libio/wgenops.c: Likewise.
49019         * libio/wmemstream.c: Likewise.
49020         * libio/wstrops.c: Likewise.
49021         * libio/__fpurge.c: Likewise.
49022         * libio/__fsetlocking.c: Likewise.
49023         * assert/assert.c: Likewise.
49024         * debug/fgets_chk.c: Likewise.
49025         * debug/fgets_u_chk.c: Likewise.
49026         * debug/fread_chk.c: Likewise.
49027         * debug/fread_u_chk.c: Likewise.
49028         * debug/gets_chk.c: Likewise.
49029         * debug/obprintf_chk.c: Likewise.
49030         * debug/vasprintf_chk.c: Likewise.
49031         * debug/vdprintf_chk.c: Likewise.
49032         * debug/vsnprintf_chk.c: Likewise.
49033         * debug/vsprintf_chk.c: Likewise.
49034         * malloc/mtrace.c: Likewise.
49035         * misc/error.c: Likewise.
49036         * misc/syslog.c: Likewise.
49037         * stdio-common/asprintf.c: Likewise.
49038         * stdio-common/fxprintf.c: Likewise.
49039         * stdio-common/getw.c: Likewise.
49040         * stdio-common/isoc99_fscanf.c: Likewise.
49041         * stdio-common/isoc99_scanf.c: Likewise.
49042         * stdio-common/isoc99_vfscanf.c: Likewise.
49043         * stdio-common/isoc99_vscanf.c: Likewise.
49044         * stdio-common/isoc99_vsscanf.c: Likewise.
49045         * stdio-common/printf-prs.c: Likewise.
49046         * stdio-common/printf_fp.c: Likewise.
49047         * stdio-common/printf_fphex.c: Likewise.
49048         * stdio-common/printf_size.c: Likewise.
49049         * stdio-common/putw.c: Likewise.
49050         * stdio-common/scanf.c: Likewise.
49051         * stdio-common/sprintf.c: Likewise.
49052         * stdio-common/tmpfile.c: Likewise.
49053         * stdio-common/vfprintf.c: Likewise.
49054         * stdio-common/vfscanf.c: Likewise.
49055         * stdlib/strfmon_l.c: Likewise.
49056         * sunrpc/openchild.c: Likewise.
49057         * sunrpc/xdr_stdio.c: Likewise.
49058         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
49059         * sysdeps/mach/hurd/tmpfile.c: Likewise.
49061 2012-05-24  Roland McGrath  <roland@hack.frob.com>
49063         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
49065         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
49066         in the third column, to generate for the shared library an IFUNC
49067         that uses _dl_vdso_vsym.
49068         * Makerules (COMPILE.c, compile-stdin.c): New variables.
49069         * Makeconfig (object-suffixes-noshared): New variable.
49071         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
49072         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
49073         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
49074         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
49076         [BZ #14132]
49077         * include/sys/time.h (__gettimeofday): Remove macro.
49078         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
49079         * time/gettimeofday.c (__gettimeofday): Remove #undef.
49080         Remove INTDEF.
49081         (__gettimeofday): Add libc_hidden_def.
49082         (gettimeofday): Add libc_hidden_weak.
49083         * sysdeps/mach/gettimeofday.c: Likewise.
49084         * sysdeps/posix/gettimeofday.c: Likewise.
49085         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
49086         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
49087         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
49088         (__gettimeofday_internal): Remove strong_alias.
49089         (__gettimeofday): Add libc_hidden_def.
49090         (gettimeofday): Add libc_hidden_weak.
49091         * sysdeps/unix/syscalls.list (gettimeofday):
49092         Remove __gettimeofday_internal alias.
49094 2012-05-24  Daniel Jacobowitz  <drow@false.org>
49095             H.J. Lu  <hongjiu.lu@intel.com>
49097         [BZ #12495]
49098         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
49099         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
49100         (largebin_index_32_big): New.
49101         (largebin_index): Use it for 16-byte alignment.
49102         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
49103         correction with front_misalign.
49105 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
49107         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
49108         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
49109         Likewise.
49110         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
49111         Likewise.
49112         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
49113         Likewise.
49114         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
49115         Likewise.
49116         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
49117         Likewise.
49118         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
49119         Likewise.
49120         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
49121         Likewise.
49122         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
49123         Likewise.
49124         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
49125         Likewise.
49126         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
49127         Likewise.
49128         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
49129         Likewise.
49130         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
49131         Likewise.
49133         * scripts/data/c++-types-x32-linux-gnu.data: New file.
49134         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
49136 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
49138         [BZ #10846]
49139         [BZ #14036]
49140         * math/libm-test.inc (exp_test): Add test from bug 14036.
49141         (pow_test): Add test from bug 10846.
49143         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
49144         and other flags.
49145         (special_function): Do not include flags in test name.
49146         (parse_args): Likewise.
49147         * sysdeps/i386/fpu/libm-test-ulps: Update.
49148         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49149         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
49150         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
49151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49153         * math/gen-libm-test.pl (%beautify): Add entries for underflow
49154         exceptions.
49155         * math/libm-test.inc ("Philosophy"): Update comment about
49156         exception testing.
49157         (UNDERFLOW_EXCEPTION): New macro.
49158         (UNDERFLOW_EXCEPTION_OK): Likewise.
49159         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
49160         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
49161         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
49162         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
49163         (INVALID_EXCEPTION_OK): Update value.
49164         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
49165         (OVERFLOW_EXCEPTION_OK): Likewise.
49166         (IGNORE_ZERO_INF_SIGN): Likewise.
49167         (test_exceptions): Handle underflow exceptions.
49168         (acos_test): Update for underflow exception expectations.
49169         (cexp_test): Likewise.
49170         (clog_test): Likewise.
49171         (clog10_test): Likewise.
49172         (csqrt_test): Likewise.
49173         (ctan_test): Likewise.
49174         (ctanh_test): Likewise.
49175         (exp_test): Likewise.
49176         (exp10_test): Likewise.
49177         (exp2_test): Likewise.
49178         (expm1_test): Likewise.
49179         (fma_test): Likewise.
49180         (j0_test): Likewise.
49181         (jn_test): Likewise.
49182         (nexttoward_test): Likewise.
49183         (pow_test): Likewise.
49184         (scalbn_test): Likewise.
49185         (scalbln_test): Likewise.
49186         (tan_test): Likewise.
49187         (y1_test): Likewise.
49188         * sysdeps/i386/fpu/libm-test-ulps: Update.
49189         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49191 2012-05-23  David S. Miller  <davem@davemloft.net>
49193         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
49194         (__libc_sigaction): Remove unused local variables.
49196 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
49198         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
49200 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
49202         mktime: avoid signed integer overflow
49203         * time/mktime.c (__mktime_internal): Do not mishandle the case
49204         where diff == INT_MIN.
49206         mktime: simplify computation of average
49207         * time/mktime.c (ranged_convert): Use new time_t_avg function
49208         instead of rolling our own (probably-slower) code.
49210         mktime: do not assume signed right shift propagates sign bit
49211         * time/mktime.c (isdst_differ): New static function.
49212         (__mktime_internal): No need to normalize tm_isdst now.
49213         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
49214         tm_isdst values.
49216         mktime: merge another wrapv change from gnulib
49217         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
49218         from some compilers.
49220         mktime: remove incorrect attempt at unusual arithmetics
49221         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
49222         The code didn't really work on such machines anyway.
49223         (TYPE_MINIMUM): Assume two's complement.
49224         (twos_complement_arithmetic): Verify that long_int and time_t
49225         are two's complement (or unsigned, in the latter case).
49227         mktime: check signed shifts on long_int and time_t, too
49228         * time/mktime.c (SHR): Check that shifts work as desired
49229         on the types long_int and time_t too, as SHR is used on
49230         such types.
49232         mktime: do not assume 'long' is wide enough
49233         * time/mktime.c (verify): Move decl up.
49234         (long_int): New type.
49235         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
49236         to remove assumption in the code that 'long' is wide enough to
49237         store year values.  This assumption is not true on x32 and on
49238         some non-glibc platforms.
49240         mktime: merge wrapv change from gnulib
49241         * time/mktime.c (WRAPV): New macro.
49242         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
49243         (guess_time_tm, __mktime_internal): Do not assume that signed
49244         integer overflow wraps around; modern compilers generate code
49245         where this assumption is no longer valid.
49247 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
49249         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
49250         Replace "jmp L(pseudo_end)" with "ret".
49251         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
49252         Likewise.
49254 2012-05-23  Andreas Jaeger  <aj@suse.de>
49256         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
49257         * sysdeps/unix/sysv/linux/poll.c: Remove file.
49259 2012-05-23  Andreas Jaeger  <aj@suse.de>
49260             Maximilian Attems  <max@stro.at>
49262         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
49263         New macros.
49265 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
49267         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
49268         code so that pseudo_end is just ret and the stack pointer is
49269         correct also for static library in error case.
49271 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
49273         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
49274         move to syscalls.list.
49275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
49276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
49277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
49278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
49280         * manual/install.texi (Running make install): Do not mention Linux
49281         kernel version for which pt_chown is not needed.
49282         (Linux): Do not mention problems with nscd with 2.0 kernels.
49283         * INSTALL: Regenerated.
49285 2012-05-23  Andreas Jaeger  <aj@suse.de>
49287         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
49288         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
49289         macro.
49290         * sysdeps/unix/sysv/linux/s390/bits/mman.h
49291         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49292         * sysdeps/unix/sysv/linux/sh/bits/mman.h
49293         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49294         * sysdeps/unix/sysv/linux/i386/bits/mman.h
49295         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49296         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
49297         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49298         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
49299         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49300         * sysdeps/unix/sysv/linux/bits/in.h
49301         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
49303 2012-05-22  Roland McGrath  <roland@hack.frob.com>
49305         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
49306         (PREPARE_VERSION): Just use assert instead, it will be elided
49307         under [NDEBUG] anyway.
49309 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
49311         * sysdeps/unix/sysv/linux/Makefile: Include
49312         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
49313         (sysdep_routines): Remove sysctl.
49314         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
49315         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
49316         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
49317         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
49318         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
49320 2012-05-22  Andreas Jaeger  <aj@suse.de>
49322         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
49323         that pseudo_end is just ret and the stack pointer is correct also
49324         for static library in error case.
49326 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
49328         [BZ #14122]
49329         * nss/nsswitch.c (defconfig_entries): New variable.
49330         (__nss_database_lookup): Don't leak defconfig entries.
49331         (nss_parse_service_list): Don't leak on error paths.
49332         (free_database_entries): New function.
49333         (free_defconfig): New function.
49334         (free_mem): Move common code to free_database_entries.
49336 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
49338         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
49339         Add arch_prctl.
49340         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
49342         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
49343         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
49344         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
49345         New macro.
49346         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
49347         (INTERNAL_SYSCALL_TYPES): Likewise.
49348         (LOAD_ARGS_TYPES_[1-6]): Likewise.
49349         (LOAD_REGS_TYPES_[1-6]): Likewise.
49350         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
49351         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
49353 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49355         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
49356         copysignl for GLIBC_2_0.
49357         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
49358         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
49359         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
49360         logbl for GLIBC_2_0.
49361         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
49362         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
49364 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
49366         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
49367         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49369         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
49370         Use "neg %eax".
49372         * time/mktime.c: Update copyright years.
49374 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
49376         mktime: merge comment-quoting-style change from gnulib
49377         * time/mktime.c: Quote 'like this' in comments.
49378         The GNU coding standards suggest that we no longer quote `like this',
49379         as "`" and "'" are typically rendered asymmetrically nowadays.
49380         The typical gnulib style is to quote 'like this' when quoting
49381         code, and "like this" when quoting English.
49383         * time/mktime.c (compile-command): Add "-I.".
49385         mktime: merge mktime-internal.h change from gnulib
49386         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
49388         mktime: merge time_r change from gnulib
49389         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
49391         mktime: merge DEBUG change from gnulib
49392         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
49393         case system <time.h> has a #define.
49395         mktime: merge <sys/types.h> change from gnulib
49396         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
49397         since <time.t> is now guaranteed to define time_t.
49399         mktime: merge HAVE_CONFIG_H change from gnulib
49400         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
49402 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
49404         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
49405         Use "neg %eax".
49407         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
49408         __rlim_t cast.
49409         (struct rusage): Use anonymous union to pad each field to
49410         __syscall_slong_t.
49412 2012-05-21  David S. Miller  <davem@davemloft.net>
49414         * Makefules (o-iterator): Remove .s cases.
49415         (compile-command.s): Delete.
49416         (COMPILE.s): Delete.
49417         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
49419 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
49421         * configure.in (libc_cv_predef_stack_protector): Only consider
49422         "foobar" and "__stack_chk_fail" lines in libc_undefs.
49423         * configure: Regenerated.
49425 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
49427         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
49428         New macro.  Use R*LP on int and pointer.
49429         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
49430         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
49431         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
49432         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
49434         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
49435         [__WORDSIZE_TIME64_COMPAT32] instead of
49436         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
49437         (struct utmp): Likewise.
49438         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
49439         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
49440         Renamed to ...
49441         (__WORDSIZE_TIME64_COMPAT32): This.
49442         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
49443         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
49444         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
49445         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
49446         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
49447         (__WORDSIZE_TIME64_COMPAT32): New macro.
49449 2012-05-21  Andreas Jaeger  <aj@suse.de>
49451         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
49452         only if [SHARED]. Add prototype for __wcschr_ia32.
49454 2012-05-21  Roland McGrath  <roland@hack.frob.com>
49456         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
49457         of %rbp unmolested in the jmp_buf while mangling the low bits.
49458         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
49459         unmolested high bits of %rbp while demangling the low bits.
49460         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
49462 2012-05-21  Andreas Jaeger  <aj@suse.de>
49464         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
49465         * sunrpc/svc_simple.c: Use it for registerrpc.
49466         * sunrpc/xcrypt.c: Use it for passwd2des.
49468         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
49470 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
49472         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
49473         Don't define if [__SYSCALL_WORDSIZE != 32].
49474         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
49475         New macro.
49477 2012-05-21  Bruno Haible  <bruno@clisp.org>
49478             Andreas Jaeger  <aj@suse.de>
49480         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
49481         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
49482         inptr and inend for must_buffer_ch.
49483         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
49484         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
49485         * stdio-common/Makefile (tests): Remove bug15.
49486         (bug15-ENV): Remove macro.
49487         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
49488         anymore.
49490 2012-05-19  Andreas Jaeger  <aj@suse.de>
49491             Roland McGrath  <roland@hack.frob.com>
49493         * manual/contrib.texi: Completely rewritten. It contains now an
49494         alphabetical list of contributors and their contributions.
49496 2012-05-21  Richard Henderson  <rth@twiddle.net>
49498         * misc/getauxval.c (__getauxval): Use unsigned long int.
49499         * misc/sys/auxv.h: Include <sys/cdefs.h>.
49500         (getauxval): Use unsigned long int.
49502 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
49504         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
49506 2012-05-21  Roland McGrath  <roland@hack.frob.com>
49508         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
49509         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
49510         __alignof__ (long double).
49512 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49514         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49516 2012-05-20  Richard Henderson  <rth@twiddle.net>
49518         * misc/getauxval.c: New file.
49519         * misc/sys/auxv.h: New file.
49520         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
49521         (routines): Add getauxval.
49522         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
49523         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
49524         * elf/dl-sysdep.c (_dl_auxv): Remove.
49525         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
49526         * elf/dl-support.c (_dl_auxv): New variable.
49527         (_dl_aux_init): Initialize it.
49528         * manual/startup.texi (Auxiliary Vector): New node.
49529         * sysdeps/generic/bits/hwcap.h: New file.
49530         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
49531         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
49532         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
49533         * sysdeps/sparc/sysdep.h: ... here.  Include it.
49534         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
49535         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
49536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49537         Update.
49538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
49539         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
49540         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
49541         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
49542         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
49543         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
49544         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
49545         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
49547 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49549         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49551 2012-05-19  David S. Miller  <davem@davemloft.net>
49553         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49555 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
49557         [BZ #14123]
49558         * math/s_ccosh.c: Include <float.h>
49559         (__ccosh): Avoid internal overflow calculating sinh and cosh
49560         values before multiplying by sin and cos values.
49561         * math/s_ccoshf.c: Likewise.
49562         * math/s_ccoshl.c: Likewise.
49563         * math/s_csin.c: Likewise.
49564         * math/s_csinf.c: Likewise.
49565         * math/s_csinl.c: Likewise.
49566         * math/s_csinh.c: Likewise.
49567         * math/s_csinhf.c: Likewise.
49568         * math/s_csinhl.c: Likewise.
49569         * math/libm-test.inc (ccos_test): Add more tests.
49570         (ccosh_test): Likewise.
49571         (csin_test): Likewise.
49572         (csinh_test): Likewise.
49573         * sysdeps/i386/fpu/libm-test-ulps: Update.
49574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49576 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
49578         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
49579         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
49581         * sysdeps/x86_64/x32/_itoa.h: Add comment.
49583 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
49585         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
49586         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
49587         * sysdeps/powerpc/soft-fp/Versions: Likewise.
49588         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
49589         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
49590         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
49591         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
49592         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
49593         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
49594         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
49595         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
49596         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
49597         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
49598         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
49599         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
49600         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
49601         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
49602         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
49603         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
49604         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
49605         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
49606         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
49607         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
49608         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
49609         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
49610         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
49611         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
49612         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
49613         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
49614         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
49615         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
49617 2012-05-18  Andreas Jaeger  <aj@suse.de>
49619         * csu/.gitignore: Delete.
49621 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49623         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
49624         (timex): Use __syscall_slong_t.
49626 2012-05-18  Andreas Jaeger  <aj@suse.de>
49627             Carlos O'Donell  <carlos_odonell@mentor.com>
49629         * manual/install.texi (Configuring and compiling): Update
49630         description about files modified in the source directory.
49631         * INSTALL: Regenerated.
49633 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49635         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
49636         value.  Use "or" to set return value to -1.
49637         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
49638         negate return value.
49640 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49642         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
49643         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
49644         failure if the compiler has Graphite support disabled.
49645         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
49646         Likewise.
49647         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
49648         (CFLAGS-memmove.c): Likewise.
49649         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
49650         Likewise.
49652 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49654         * sysdeps/x86_64/x32/_itoa.h: New file.
49656         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
49657         getdents system call only if kernel and user dirents have the
49658         same d_ino and d_off.
49660         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
49661         LLONG_MAX != LONG_MAX.
49662         (_itoa_word): Use _ITOA_WORD_TYPE on value.
49663         (_fitoa_word): Likewise.
49665         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
49666         years.
49667         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
49668         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
49669         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
49671         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
49672         include <bits/wordsize.h>.  Check __x86_64__ instead of
49673         __WORDSIZE.
49674         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
49675         if __x86_64__ is defined.  Use anonymous union on fpstate.
49677         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
49678         anonymous union.
49680 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
49682         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
49683         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
49684         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
49685         Refer to _rtld_local_ro instead of _rtld_global_ro.
49686         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
49687         Likewise.
49688         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
49689         Likewise.
49690         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
49691         Likewise.
49692         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
49693         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
49694         of _rtld_global, and rtld_progname instead of _dl_argv[0].
49696         [BZ #10882]
49697         * sysdeps/powerpc/powerpc32/dl-machine.c
49698         (__elf_machine_runtime_setup) [PROF]: Don't reference
49699         _dl_prof_resolve.
49701 2012-05-18  Andreas Jaeger  <aj@suse.de>
49703         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
49704         function only available for GCCs before 3.4 since GCC 3.4
49705         introduced a builtin.
49706         (lrint): Likewise.
49707         (llrintf): Likewise.
49708         (llrint): Likewise.
49709         (fmaxf): Likewise.
49710         (fmax): Likewise.
49711         (fminf): Likewise.
49712         (fmin): Likewise.
49713         (rint): Likewise.
49714         (rintf): Likewise.
49715         (nearbyint): Likewise.
49716         (nearbyintf): Likewise.
49717         (ceil): Likewise.
49718         (ceilf): Likewise.
49719         (floor): Likewise.
49720         (floorf): Likewise.
49722 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49724         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
49725         on both fields and cast pointer to __syscall_ulong_t.
49727         * bits/types.h (__fsword_t): New type.
49728         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
49729         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
49730         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49731         (__FSWORD_T_TYPE): Likewise.
49732         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49733         (__FSWORD_T_TYPE): Likewise.
49734         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49735         (__FSWORD_T_TYPE): Likewise.
49736         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
49737         (__FSWORD_T_TYPE): Likewise.
49738         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
49739         __SWORD_TYPE with __fsword_t.
49740         (statfs64): Likewise.
49742 2012-05-17  David S. Miller  <davem@davemloft.net>
49744         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
49746 2012-05-17  Andreas Jaeger  <aj@suse.de>
49748         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
49749         warning.
49751 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49753         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
49755 2012-05-17  Andreas Jaeger  <aj@suse.de>
49757         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
49758         when it is used.
49760 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
49762         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
49764 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49766         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
49767         * sysdeps/x86_64/tst-mallocalign1.c: New file.
49769 2012-05-17  Andreas Jaeger  <aj@suse.de>
49770             Carlos O'Donell  <carlos_odonell@mentor.com>
49772         [BZ #14059]
49773         * sysdeps/x86_64/multiarch/init-arch.h
49774         (bit_YMM_Usable): Rename to...
49775         (bit_AVX_Usable): ... this.
49776         (bit_FMA4_Usable): New macro.
49777         (bit_XMM_state): New macro.
49778         (bit_YMM_state): New macro.
49779         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
49780         [__ASSEMBLER__] (index_AVX_Usable): ... this.
49781         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
49782         (CPUID_OSXSAVE): New macro.
49783         (CPUID_AVX): New macro.
49784         (CPUID_FMA4): New macro.
49785         (index_YMM_Usable): Rename to...
49786         (index_AVX_Usable): ... this.
49787         (HAS_AVX): Use HAS_ARCH_FEATURE.
49788         (HAS_FMA4): Likewise.
49789         (HAS_YMM_USABLE): Remove.
49790         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49791         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
49792         are present.
49793         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
49794         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
49795         * sysdeps/x86_64/multiarch/Makefile: Likewise.
49796         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
49797         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
49799 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
49801         * math/libm-test.c: Support platforms without multiple rounding modes.
49802         * math/bug-nextafter.c: Support platforms without FP exceptions.
49803         * math/bug-nexttoward.c: Likewise.
49804         * math/test-fenv.c: Likewise.
49805         * math/test-misc.c: Likewise.
49806         * stdlib/bug-getcontext.c: Likewise.
49808 2012-05-17  Andreas Jaeger  <aj@suse.de>
49810         * manual/examples/search.c (critter_cmp): Change signature to
49811         avoid warnings.
49812         * manual/string.texi (Collation Functions): Likewise.
49814 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49816         * bits/types.h: Fold copyright years.
49817         * bits/typesizes.h: Likewise.
49818         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
49819         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
49820         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
49821         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
49822         * time/time.h: Likewise.
49824 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
49826         [BZ #208]
49827         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
49828         in instead of returning them.  Return void.
49829         (__libc_mallinfo): Accumulate over all arenas.
49830         (__malloc_stats): Adjust for change in int_mallinfo interface.
49832 2012-05-16  Roland McGrath  <roland@hack.frob.com>
49834         [BZ #10375]
49835         * configure.in (NM): Add AC_CHECK_TOOL for it.
49836         (libc_extra_cflags): New substituted variable.
49837         Check for -fstack-protector being used implicitly.
49838         * configure: Regenerated.
49839         * config.make.in (config-extra-cflags): New variable,
49840         gets @libc_extra_cflags@.
49841         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
49843         [BZ #10375]
49844         * configure.in: Check for _FORTIFY_SOURCE being predefined.
49845         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
49846         * configure: Regenerated.
49847         * config.make.in (CPPUNDEFS): New substituted variable.
49848         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
49849         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
49850         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
49852 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49854         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
49855         (mq_attr): Use __syscall_slong_t.
49857 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49859         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
49860         Check __x86_64__ instead of __WORDSIZE.
49861         (_STAT_VER_LINUX): Likewise.
49862         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
49863         __syscall_ulong_t and __syscall_slong_t.
49864         (stat64): Likewise.
49866 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49868         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
49870 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49872         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
49874 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49876         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
49877         __syscall_ulong_t.
49879         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
49880         include <bits/wordsize.h>.  Check __x86_64__ instead of
49881         __WORDSIZE.
49882         (greg_t): Use "__extension__ long long int" if __x86_64__ is
49883         defined.
49884         (mcontext_t): Replace "unsigned long" with "unsigned long long".
49886         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
49887         include <bits/wordsize.h>.  Check __x86_64__ instead of
49888         __WORDSIZE.
49889         (user_regs_struct): Use "__extension__ unsigned long long"
49890         instead of "unsigned long" if __x86_64__ is defined.
49891         (user): Likewise.  Pad after pointer field if __ILP32__ is
49892         defined.
49894 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
49896         * configure.in (makeinfo): Require version 4.5 or later.  Allow
49897         versions 5 to 9.
49898         * configure: Regenerated.
49899         * manual/install.texi (texinfo): Increase version requirement to
49900         4.5 or later.
49901         * INSTALL: Regenerated.
49903         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
49905 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49907         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
49909         * sysdeps/x86_64/x32/ffs.c: New file.
49911         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
49912         __syscall_ulong_t.
49913         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
49914         defined.  Use __syscall_ulong_t.
49915         (shminfo): Use __syscall_ulong_t.
49916         (shm_info): Likewise.
49918         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
49919         __syscall_ulong_t.
49921         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
49922         <bits/wordsize.h>.
49923         (msgqnum_t): Use __syscall_ulong_t.
49924         (msglen_t): Likewise.
49925         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
49926         __syscall_ulong_t.
49928         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
49929         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49931         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
49933         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
49934         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
49936         * sysvipc/sys/msg.h (msgbuf): Replace long int with
49937         __syscall_slong_t.
49939         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
49940         include <bits/wordsize.h>.  Check __x86_64__ instead of
49941         __WORDSIZE.
49943         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
49944         "unsigned long long int" if __x86_64__ is defined.
49945         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
49947         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
49948         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49949         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
49951         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
49952         <stdint.h>.
49953         (GET_PC): Cast to uintptr_t first.
49954         (GET_FRAME): Likewise.
49955         (GET_STACK): Likewise.
49957         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
49958         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
49959         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
49960         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
49961         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
49962         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
49963         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
49964         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
49965         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
49966         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
49967         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
49968         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
49969         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
49970         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
49971         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
49972         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
49973         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
49974         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
49975         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
49976         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
49977         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
49978         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
49979         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
49980         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
49981         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
49982         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
49983         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
49984         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
49985         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
49987 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
49989         * Makerules (+depfiles): Also collect depfiles from .oS in
49990         $(extra-objs).
49991         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
49992         .oS, $(libnldbl-routines)).
49994         * Makerules (native-compile-mkdep-flags): Define.
49995         * sunrpc/Makefile (extra-objs): Add $(addprefix
49996         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
49997         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
49998         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
49999         calling $(make-target-directory).
50001 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50003         * bits/types.h (__snseconds_t): Removed.
50004         * time/time.h (struct timespec): Replace __snseconds_t with
50005         __syscall_slong_t.
50006         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
50007         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
50008         Likewise.
50009         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50010         (__SNSECONDS_T_TYPE): Likewise.
50011         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50012         (__SNSECONDS_T_TYPE): Likewise.
50013         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50014         (__SNSECONDS_T_TYPE): Likewise.
50016 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50018         * sysdeps/mach/hurd/bits/typesizes.h
50019         (__SYSCALL_SLONG_TYPE): New macro.
50020         (__SYSCALL_ULONG_TYPE): Likewise.
50022 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50024         * bits/types.h (__syscall_slong_t): New type.
50025         (__syscall_ulong_t): Likewise.
50027         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
50028         (__SYSCALL_ULONG_TYPE): Likewise.
50029         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50030         (__SYSCALL_SLONG_TYPE): Likewise.
50031         (__SYSCALL_ULONG_TYPE): Likewise.
50032         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50033         (__SYSCALL_SLONG_TYPE): Likewise.
50034         (__SYSCALL_ULONG_TYPE): Likewise.
50035         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50036         (__SYSCALL_SLONG_TYPE): Likewise.
50037         (__SYSCALL_ULONG_TYPE): Likewise.
50039 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50041         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
50042         Add sigaltstack-offsets.sym.
50043         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
50044         <sigaltstack-offsets.h>.
50045         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
50046         longjmp_msg pointer.
50047         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
50048         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
50049         signal stack.
50050         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
50052 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
50054         * elf/stackguard-macros.h: Remove file.
50055         * sysdeps/generic/stackguard-macros.h: New file.
50056         * sysdeps/i386/stackguard-macros.h: Likewise.
50057         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
50058         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
50059         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
50060         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
50061         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
50062         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
50063         * sysdeps/x86_64/stackguard-macros.h: Likewise.
50064         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
50065         <elf/stackguard-macros.h>.
50067         [BZ #14109]
50068         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
50069         __aligned__ in attribute.
50070         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
50071         (gregset_t): Likewise.
50073 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50075         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
50076         * sysdeps/x86_64/64/Implies-after: Here.  New file.
50077         * sysdeps/x86_64/x32/Implies-after: New file.
50079 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50081         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
50082         and access return value for _dl_profile_fixup.  Use R10_LP to
50083         load frame size.
50085 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50087         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
50089 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50091         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
50092         * sysdeps/x86_64/x32/sysdep.h: New file.
50094 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50096         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
50097         * sysdeps/x86_64/setjmp.S: Likewise.
50099 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50101         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
50102         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
50103         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
50104         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
50105         remove unused global constant.
50107 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
50109         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
50110         include of <not-cancel.h>.
50112 2012-05-15  Roland McGrath  <roland@hack.frob.com>
50114         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
50116 2012-05-15  Jeff Law  <law@redhat.com>
50117             Andreas Jaeger  <aj@suse.de>
50119         [BZ #13594]
50120         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
50121         out from...
50122         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
50123         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
50124         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
50125         code changing __hst_map_handle.map.
50127 2012-05-15  Roland McGrath  <roland@hack.frob.com>
50129         * configure.in (sysnames): Look for Implies-before and Implies-after
50130         files.
50131         * configure: Regenerated.
50133 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50135         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
50136         8-byte data alignment with LP_SIZE alignment.
50138 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50140         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
50141         into R10_LP.
50143 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50145         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
50147 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50149         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
50150         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
50151         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
50152         Likewise.
50153         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
50155 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50157         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
50158         (stackinfo_sub_sp): Likewise.
50160 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50162         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
50163         RAX_LP.
50165 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50167         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
50168         into R*_LP.
50170 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50172         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
50173         sizes into R*_LP.
50175 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50177         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
50179 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50181         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
50182         into R11_LP and load __x86_64_shared_cache_size_half into
50183         R8_LP.
50185 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50187         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
50188         R8_LP.
50190 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50192         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
50193         logb for POWER7.
50194         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
50195         logbf for POWER7.
50196         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
50197         logbl for POWER7.
50198         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
50199         powerpc32/power7/fpu/s_logb.c via #include.
50200         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
50201         powerpc32/power7/fpu/s_logbf.c via #include.
50202         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
50203         powerpc32/power7/fpu/s_logbl.c via #include.
50205 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
50207         * README.libm: Remove file.
50209 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50211         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
50212         count for x32.  Use R*_LP and omit operand-size suffix.
50214 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50216         * shlib-versions: Move x86_64-.*-linux.* entries to ...
50217         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
50218         * sysdeps/x86_64/x32/shlib-versions: New file.
50220 2012-05-14  Roland McGrath  <roland@hack.frob.com>
50222         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
50223         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
50224         Use _dl_fatal_printf instead.
50226 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
50228         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
50229         set if not set by the user.  Do not allow for being unset.
50230         * sysdeps/unix/sysv/linux/configure: Regenerated.
50232 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50234         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
50235         the `q' suffix from lea and replace .quad with ASM_ADDR.
50237 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50239         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
50240         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
50241         instead of $17.
50242         (PTR_DEMANGLE): Likewise.
50244 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50246         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
50247         (LP_OP): Likewise.
50248         (ASM_ADDR): Likewise.
50249         (RAX_LP): Likewise.
50250         (RBP_LP): Likewise.
50251         (RBX_LP): Likewise.
50252         (RCX_LP): Likewise.
50253         (RDI_LP): Likewise.
50254         (RSI_LP): Likewise.
50255         (RSP_LP): Likewise.
50256         (R8_LP): Likewise.
50257         (R9_LP): Likewise.
50258         (R10_LP): Likewise.
50259         (R10_LP): Likewise.
50260         (R11_LP): Likewise.
50261         (R12_LP): Likewise.
50262         (R13_LP): Likewise.
50263         (R14_LP): Likewise.
50264         (R15_LP): Likewise.
50266 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50268         * sysdeps/x86_64/x32/dl-machine.h: New file.
50270 2012-05-14  Andreas Jaeger  <aj@suse.de>
50272         * manual/Makefile (subdir): Remove export of subdir.
50273         (all): Remove target.
50274         (.PHONY): Remove all from list.
50275         (mkinstalldirs): Remove.
50276         (.PHONY): Remove installdirs from list.
50277         ($(inst_infodir)/libc.info): Use make-target-directory.
50278         (installdirs): Remove.
50279         (subdir_%): Remove.
50280         (glibc-targets): Remove.
50281         (lib): Remove.
50282         (stubs): Remove.
50283         ($(objpfx)stubs ../po/manual.pot): Remove.
50284         ($(objpfx)stamp%): Remove.
50285         (make-target-directory): Remove.
50286         (subdir_install): Remove.
50287         (routines): Remove.
50288         (aux): Remove.
50289         (sources): Remove.
50290         (objects): Remove.
50291         (headers): Remove.
50293         [BZ #13750]
50294         * manual/.gitignore: Remove, it's not needed anymore.
50295         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
50296         all files in it.
50297         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
50298         directory.
50299         (texis): Renamed to $(objpfx)texis.
50300         (texis-path): New, contains path to generated files.
50301         (chapters.%): Use texis-path for complete path, add extra argument
50302         libc-texinfo.sh.
50303         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
50304         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
50305         (summary,texi, stamp-summary): Use complete path of
50306         files. Generate files in build dir.
50307         (dir-add.texi): Build in build dir.
50308         (libm-err.texi,stamp-libm-err): Likewise.
50309         (version.texi, stamp-version): Likewise.
50310         (.%c.texi): Likewise.
50311         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
50312         (mostlyclean): Remove target.
50313         (realclean): Remove target.
50314         (generated): Add new variable with contents from mostlyclean and
50315         realclean, remove entries duplicated in common-mostlyclean, add
50316         stamp-libm-err and stamp-version.
50317         (generated-dirs): Add libc directory.
50318         ($(inst_infodir)/libc.info): Install files from build dir.
50320         * manual/install.texi (Configuring and compiling): Adjust since
50321         the info files are not part of the tar ball anymore.
50323 2012-05-14  Andreas Jaeger  <aj@suse.de>
50325         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
50326         variable.
50328 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
50330         [BZ #13717]
50331         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
50332         to 2.2.0 where earlier.
50333         * sysdeps/unix/sysv/linux/configure: Regenerated.
50334         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
50335         Remove conditional code.
50336         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
50337         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
50338         Remove conditional code.
50339         [!__NR_lchown]: Likewise.
50340         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
50341         [__NR_lchown]: Likewise.
50342         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
50343         comment referencing __ASSUME_LCHOWN_SYSCALL.
50344         * sysdeps/unix/sysv/linux/i386/sigaction.c
50345         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50346         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50347         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
50348         Remove conditional code.
50349         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
50350         (__protocol_available): Remove #if 0 code.
50351         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
50352         conditional code.
50353         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
50354         * sysdeps/unix/sysv/linux/kernel-features.h
50355         (__ASSUME_GETCWD_SYSCALL): Don't define.
50356         (__ASSUME_REALTIME_SIGNALS): Likewise.
50357         (__ASSUME_PREAD_SYSCALL): Likewise.
50358         (__ASSUME_PWRITE_SYSCALL): Likewise.
50359         (__ASSUME_POLL_SYSCALL): Likewise.
50360         (__ASSUME_LCHOWN_SYSCALL): Likewise.
50361         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
50362         non-SPARC.
50363         (__ASSUME_SIOCGIFNAME): Don't define.
50364         (__ASSUME_MSG_NOSIGNAL): Likewise.
50365         (__ASSUME_SENDFILE): Define unconditionally.
50366         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
50367         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
50368         conditional code.
50369         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
50370         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
50371         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
50372         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
50373         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
50374         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
50375         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
50376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
50377         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50378         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
50380         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50381         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
50383         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50384         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
50386         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50387         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
50389         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50390         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
50392         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50393         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
50395         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50396         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
50398         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50399         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50400         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
50401         Remove conditional code.
50402         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50403         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
50404         Remove conditional code.
50405         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50406         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
50407         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
50408         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
50409         Remove conditional code.
50410         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50411         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
50412         Remove conditional code.
50413         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50414         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
50415         Remove conditional code.
50416         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50417         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
50418         Remove conditional code.
50419         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50420         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
50421         Remove conditional code.
50422         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50423         * sysdeps/unix/sysv/linux/sh/pwrite64.c
50424         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50425         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50426         * sysdeps/unix/sysv/linux/sigaction.c
50427         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50428         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50429         * sysdeps/unix/sysv/linux/sigpending.c
50430         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50431         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50432         * sysdeps/unix/sysv/linux/sigprocmask.c
50433         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50434         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50435         * sysdeps/unix/sysv/linux/sigsuspend.c
50436         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50437         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50438         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
50439         (__libc_missing_rt_sigs): Remove.
50440         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
50441         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
50442         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
50443         Remove conditional code.
50444         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
50445         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
50446         return 1.
50447         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
50448         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
50449         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
50450         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
50452 2012-05-14  Andreas Jaeger  <aj@suse.de>
50454         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
50455         it's not used in glibc.
50456         (__coshm1): Likewise.
50457         (__acosh1p): Likewise.
50458         (__sgn): Likewise.
50460         * manual/string.texi (Copying and Concatenation): Add missing
50461         variable in concat example.
50462         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
50464 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50466         [BZ #14103]
50467         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
50468         __builtin_clzl with __builtin_clzll.
50470 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50472         [BZ #14104]
50473         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
50474         libc_freeres_ptr.
50476 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50478         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
50479         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
50480         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
50481         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
50483 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
50485         * NEWS: Update ia64 info.
50487 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
50489         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
50490         used as bcopy.
50492 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
50494         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
50495         * sysdeps/unix/syscalls.list (dup3): Likewise.
50496         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
50497         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
50499 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
50501         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
50502         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
50504 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
50506         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
50507         thread pointer.
50508         (TLS_IE): Use mov/add instead of movq/addq to load thread
50509         pointer.
50510         (TLS_GD_PREFIX): New.
50511         (TLS_GD): Use it.
50513 2012-05-11  David S. Miller  <davem@davemloft.net>
50515         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
50516         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
50517         (_FPU_SETCW): Likewise.
50519 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50521         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
50522         is 32-byte aligned.
50524 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
50526         [BZ #11837]
50527         * iconvdata/gb18030.c: Update tables.
50528         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
50529         characters specially.
50530         (BODY for TO_LOOP): Add encoding of missing ranges.
50532 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
50534         [BZ #13673]
50535         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
50536         * sysdeps/mach/hurd/dup3.c: Likewise.
50537         * sysdeps/mach/hurd/readlinkat.c: Likewise.
50538         * sysdeps/powerpc/memmove.c:: Likewise.
50540 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50542         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
50543         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
50545 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50547         * elf/elf.h (R_X86_64_RELATIVE64): New.
50548         (R_X86_64_NUM): Updated.
50549         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
50550         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
50551         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
50552         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
50553         tst-quad1pie tst-quad2pie
50554         (modules-names): Add tst-quadmod1 tst-quadmod2.
50555         ($(objpfx)tst-quad1): New dependency.
50556         ($(objpfx)tst-quad2): Likewise.
50557         ($(objpfx)tst-quad1pie): Likewise.
50558         ($(objpfx)tst-quad2pie): Likewise.
50559         * sysdeps/x86_64/tst-quad1.c: New file.
50560         * sysdeps/x86_64/tst-quad1pie.c: New file.
50561         * sysdeps/x86_64/tst-quad2.c: Likewise.
50562         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
50563         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
50564         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
50565         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
50566         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
50568 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50570         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
50571         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
50572         * streams/stropts.h (t_scalar_t): Define type.
50574         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
50575         (_PATH_PRESERVE): Set to "/var/lib".
50576         (_PATH_RWHODIR): Set to "/var/spool/rwho".
50578         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
50579         instead of int.
50581         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
50582         if __dir_mkfile succeeded.
50584         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
50585         checking for _hurd_dtablesize.  Unlock it right after having
50586         finished _hurd_dtable allocation.
50588 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50590         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
50591         * sysdeps/mach/hurd/configure: Regenerated.
50592         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
50593         special-casing to...
50594         * sysdeps/gnu/configure.in: ... this new file.
50595         * sysdeps/unix/sysv/linux/configure: Regenerated.
50596         * sysdeps/gnu/configure: New generated file.
50598         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
50599         for Linux: use nsec instead of usec, as well as:
50600         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
50601         members of type struct timespec.
50602         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
50603         New macros.
50604         (struct stat64): Likewise.
50605         (_STATBUF_ST_NSEC): New macro.
50606         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
50608         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
50609         __strtoul_internal rather than strtoul.
50611 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50613         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
50614         and reject them.
50616 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50618         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
50619         which preserves existing values.
50620         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
50622 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50624         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
50625         TIMEOUT values.  Return EINVAL for NFDS values either negative or
50626         greater than FD_SETSIZE.
50628 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50630         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
50631         allocated, call __vm_protect to finish enabling the existing space, and
50632         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
50633         allocate the remainder.
50635 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50637         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
50638         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
50640 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50642         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
50643         sysdeps/mach/hurd/readlink.c.
50645         * posix/tst-sysconf.c (posix_options): Only use
50646         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
50647         _POSIX_SYNCHRONIZED_IO when they are defined
50648         * sysdeps/mach/hurd/bits/posix_opt.h:
50649         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
50650         (_XOPEN_REALTIME): Undefine macro.
50651         (_XOPEN_REALTIME_THREADS): Undefine macro.
50652         (_XOPEN_SHM): Undefine macro.
50653         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
50654         macro to -1.
50655         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
50656         macro to -1.
50657         (_POSIX_ASYNC_IO): Undefine macro.
50658         (_POSIX_PRIORITIZED_IO): Undefine macro.
50659         (_POSIX_SPIN_LOCKS): Define macro to -1.
50661         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
50662         SA_NODEFER, SA_RESETHAND.
50663         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
50664         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
50665         F_DUPFD_CLOEXEC.
50667 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50669         * elf/Makefile (pldd-modules): Define unconditionally.
50671 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50673         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
50675 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50677         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
50678         Return ENOENT when name is empty.
50679         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
50681 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50683         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
50685         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
50687 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50689         Fix mlock in all cases except non-readable pages.
50690         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
50691         instead of VM_PROT_ALL as parameter to __vm_wire function.
50693         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
50694         (__mkdir): When path is `/', just fail with EEXIST.
50695         * sysdeps/mach/hurd/mkdirat.c: Likewise.
50697 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50699         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
50700         <sys/uio.h> (for writev).
50701         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
50702         and <sys/param.h> (for MIN).
50704 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50706         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
50707         REQUESTED_TIME.  Properly set the remaining time and return EINTR
50708         if interrupted.
50710 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50712         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
50713         Depend on against $(link-rpcuserlibs).
50715 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50717         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
50718         (__libc_stack_end): Do not use attribute_relro.
50719         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
50720         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
50721         to libthread-provided value.
50722         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
50723         attribute_relro.
50725 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50727         [BZ #3748]
50728         * bits/libc-lock.h (__libc_once_get): New macro.
50729         * sysdeps/mach/bits/libc-lock.h: Likewise.
50730         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
50731         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
50732         instead of using implementation details.
50734         * libio/fileops.c: Unconditionally include <kernel-features.h>.
50735         * libio/freopen.c: Likewise.
50736         * libio/freopen64.c: Likewise.
50737         * misc/syslog.c: Likewise.
50738         * nscd/connections.c: Likewise.
50739         * nscd/netgroupcache.c: Likewise.
50740         * sysdeps/posix/getcwd.c: Likewise.
50742 2012-05-10  Roland McGrath  <roland@hack.frob.com>
50744         * math/w_ilogbf.c: Add #include <limits.h>.
50746 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50748         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
50749         path instead of returning without unlocking.
50751         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
50752         immediate-write ioctls.
50753         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
50755 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50757         * sysdeps/mach/hurd/i386/init-first.c (init): Use
50758         __builtin_frame_address instead of making assumptions about the
50759         location of the return address relative to DATA.  Force early load of
50760         the return address.
50761         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
50762         __builtin_frame_address.
50764         dup3 for GNU Hurd.
50765         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
50766         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
50767         implement dup3 and do some further code clean-ups.
50768         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
50769         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
50771 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50773         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
50775         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
50776         HURD_CRITICAL_END around holding _hurd_dtable_lock.
50777         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
50778         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
50779         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
50780         d->port.lock.
50782         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
50783         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
50784         when handler == SIG_ERR, not when handler != SIG_ERR.
50786 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50788         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
50789         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
50790         definitions.
50792         accept4 for GNU Hurd.
50793         * include/sys/socket.h (__libc_accept4): New prototype.
50794         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
50795         to implement __libc_accept4.
50796         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
50797         __libc_accept4.
50798         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
50800         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
50801         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
50802         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
50803         signal-defines.sym.
50805 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50807         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
50809 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50811         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
50812         assertion on O_CLOEXEC flag.
50813         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
50814         * hurd/intern-fd.c: Likewise.
50815         * hurd/port2fd.c: Likewise.
50817 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50819         [BZ #3906]
50820         * bits/in.h (IPV6_PKTINFO): Define new macro.
50821         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
50823 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50825         [BZ #13954]
50826         [BZ #13955]
50827         [BZ #13956]
50828         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
50829         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
50830         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
50831         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
50832         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50833         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
50834         * math/libm-test.inc (logb_test) : Additional logb tests.
50836 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
50837             Andreas Jaeger  <aj@suse.de>
50839         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
50840         * configure: Regenerated.
50841         * config.h.in (LINK_OBSOLETE_RPC): New macro.
50842         * config.make.in (link-obsolete-rpc): New substituted variable.
50843         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
50844         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
50845         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
50846         (shared-only-routines): Don't set it under [link-obsolete-rpc],
50847         so that libc.a contains the symbols.
50848         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
50849         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
50850         * sunrpc/auth_none.c: Likewise.
50851         * sunrpc/auth_unix.c: Likewise.
50852         * sunrpc/authdes_prot.c: Likewise.
50853         * sunrpc/authuxprot.c: Likewise.
50854         * sunrpc/clnt_gen.c: Likewise.
50855         * sunrpc/clnt_perr.c: Likewise.
50856         * sunrpc/clnt_raw.c: Likewise.
50857         * sunrpc/clnt_simp.c: Likewise.
50858         * sunrpc/clnt_tcp.c: Likewise.
50859         * sunrpc/clnt_udp.c: Likewise.
50860         * sunrpc/clnt_unix.c: Likewise.
50861         * sunrpc/des_crypt.c: Likewise.
50862         * sunrpc/des_soft.c: Likewise.
50863         * sunrpc/get_myaddr.c: Likewise.
50864         * sunrpc/key_call.c: Likewise.
50865         * sunrpc/key_prot.c: Likewise.
50866         * sunrpc/netname.c: Likewise.
50867         * sunrpc/pm_getmaps.c: Likewise.
50868         * sunrpc/pm_getport.c: Likewise.
50869         * sunrpc/pmap_clnt.c: Likewise.
50870         * sunrpc/pmap_prot.c: Likewise.
50871         * sunrpc/pmap_prot2.c: Likewise.
50872         * sunrpc/pmap_rmt.c: Likewise.
50873         * sunrpc/publickey.c: Likewise.
50874         * sunrpc/rpc_cmsg.c: Likewise.
50875         * sunrpc/rpc_common.c: Likewise.
50876         * sunrpc/rpc_dtable.c: Likewise.
50877         * sunrpc/rpc_prot.c: Likewise.
50878         * sunrpc/rpc_thread.c: Likewise.
50879         * sunrpc/rtime.c: Likewise.
50880         * sunrpc/svc.c: Likewise.
50881         * sunrpc/svc_auth.c: Likewise.
50882         * sunrpc/svc_raw.c: Likewise.
50883         * sunrpc/svc_run.c: Likewise.
50884         * sunrpc/svc_tcp.c: Likewise.
50885         * sunrpc/svc_udp.c: Likewise.
50886         * sunrpc/svc_unix.c: Likewise.
50887         * sunrpc/svcauth_des.c: Likewise.
50888         * sunrpc/xcrypt.c: Likewise.
50889         * sunrpc/xdr.c: Likewise.
50890         * sunrpc/xdr_array.c: Likewise.
50891         * sunrpc/xdr_float.c: Likewise.
50892         * sunrpc/xdr_intXX_t.c: Likewise.
50893         * sunrpc/xdr_mem.c: Likewise.
50894         * sunrpc/xdr_rec.c: Likewise.
50895         * sunrpc/xdr_ref.c: Likewise.
50896         * sunrpc/xdr_sizeof.c: Likewise.
50897         * sunrpc/xdr_stdio.c: Likewise.
50899 2012-05-10  Roland McGrath  <roland@hack.frob.com>
50901         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
50902         change.  Update copyright years.
50904 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
50906         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
50908 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
50909             Joseph Myers  <joseph@codesourcery.com>
50910             Paul Pluzhnikov  <ppluzhnikov@google.com>
50912         [BZ #14012]
50913         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
50914         requiring rpcgen.
50915         [cross-compiling] (extra-libs): Likewise.
50916         [cross-compiling] (extra-libs-others): Likewise.
50917         [cross-compiling] (librpcsvc-routines): Likewise.
50918         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
50919         [cross-compiling] (omit-deps): Likewise.
50920         (sunrpc-CPPFLAGS): New variable.
50921         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
50922         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
50923         (cross-rpcgen-objs): New variable.
50924         (extra-objs): Append $(cross-rpcgen-objs).
50925         ($(cross-rpcgen-objs)): New rule.
50926         ($(objpfx)cross-rpcgen): Likewise.
50927         (rpcgen-cmd): Define to use $(built-program-file).  Expand
50928         comment.
50929         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
50930         ($(objpfx)x%.stmp): Likewise.
50931         * sunrpc/proto.h [IS_IN_build] (_): Define.
50932         [IS_IN_build] (_libc_intl_domainname): Likewise.
50934 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50936         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
50937         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
50938         and R_X86_64_TPOFF64.
50940 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
50942         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
50943         sysdeps/unix/sysv/syscalls.list.
50944         (stime): Likewise.
50945         (utime): Likewise.
50946         * sysdeps/unix/sysv/syscalls.list: Remove file.
50948 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
50950         [BZ #3440]
50951         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
50952         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
50953         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
50954         (__LC_IDENTIFICATION): Make these macros useful in #if
50955         expressions, as required by C99.
50957 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
50959         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
50960         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
50961         after this.
50963 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
50965         * stdlib/longlong.h: Updated from GCC.
50967 2012-05-09  Andreas Jaeger  <aj@suse.de>
50969         * nscd/nscd.c (run_modes): Make named enum, reorder so that
50970         default is first entry.
50971         (run_mode): Set type.
50972         (main): Remove informal message about syslog.
50973         (options): Fix typo.
50975         [BZ #14053]
50976         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
50977         to asm.
50978         (lrint): Likewise.
50979         (llrintf): Likewise.
50980         (llrint): Likewise.
50981         (rint): Likewise.
50982         (rintf): Likewise.
50983         (nearbyint): Likewise.
50984         (nearbyintf): Likewise.
50986 2012-05-09  Andreas Jaeger  <aj@suse.de>
50987             Pedro Alves  <palves@redhat.com>
50989         * nscd/nscd.c (run_mode): Use enum.
50990         (main): Cleanup coding style issue.
50992 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
50993             Andreas Jaeger  <aj@suse.de>
50995         * nscd/nscd.c (go_background): Replaced with...
50996         (run_mode): ... this.
50997         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
50998         (options): Add -F --foreground.
50999         (main): Implement it.
51000         (parse_opt): Parse it.
51002 2012-05-09  Andreas Jaeger  <aj@suse.de>
51004         [BZ #14083]
51005         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
51006         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
51007         -Wconversion warning.
51008         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
51009         Likewise.
51011 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
51013         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
51014         == 0.
51015         (LC_ALL): Use macro-int-constant.
51016         (LC_COLLATE): Likewise.
51017         (LC_CTYPE): Likewise.
51018         (LC_MESSAGES): Likewise.
51019         (LC_MONETARY): Likewise.
51020         (LC_NUMERIC): Likewise.
51021         (LC_TIME): Likewise.
51022         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
51023         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
51024         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51025         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
51026         Specify type.
51027         [C99-based standards] (float_t): Expect type.
51028         [C99-based standards] (double_t): Expect type.
51029         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
51030         type.
51031         [C99-based standards] (HUGE_VALL): Likewise.
51032         [C99-based standards] (INFINITY): Likewise.
51033         [C99-based standards] (NAN): Likewise.
51034         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
51035         [C99-based standards] (FP_NAN): Likewise.
51036         [C99-based standards] (FP_NORMAL): Likewise.
51037         [C99-based standards] (FP_SUBNORMAL): Likewise.
51038         [C99-based standards] (FP_ZERO): Likewise.
51039         [C99-based standards] (FP_FAST_FMA): Use
51040         optional-macro-int-constant.  Specify type.  Require == 1.
51041         [C99-based standards] (FP_FAST_FMAF): Likewise.
51042         [C99-based standards] (FP_FAST_FMAL): Likewise.
51043         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
51044         [C99-based standards] (FP_ILOGBNAN): Likewise.
51045         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
51046         Specify type.
51047         [C99-based standards] (MATH_ERREXCEPT): Likewise.
51048         [C99-based standards] (math_errhandling): Specify type.
51049         [ISO99 || ISO11] (signgam): Do not allow.
51050         [non-C99-based standards] (copysignf): Do not allow.
51051         [non-C99-based standards] (exp2f): Likewise.
51052         [non-C99-based standards] (log2f): Likewise.
51053         [non-C99-based standards] (modff): Allow.
51054         [non-C99-based standards] (erff): Do not allow.
51055         [non-C99-based standards] (erfcf): Likewise.
51056         [non-C99-based standards] (gammaf): Likewise.
51057         [non-C99-based standards] (hypotf): Likewise.
51058         [non-C99-based standards] (j0f): Likewise.
51059         [non-C99-based standards] (j1f): Likewise.
51060         [non-C99-based standards] (jnf): Likewise.
51061         [non-C99-based standards] (lgammaf): Likewise.
51062         [non-C99-based standards] (tgammaf): Likewise.
51063         [non-C99-based standards] (y0f): Likewise.
51064         [non-C99-based standards] (y1f): Likewise.
51065         [non-C99-based standards] (ynf): Likewise.
51066         [non-C99-based standards] (isnanf): Likewise.
51067         [non-C99-based standards] (acoshf): Likewise.
51068         [non-C99-based standards] (asinhf): Likewise.
51069         [non-C99-based standards] (atanhf): Likewise.
51070         [non-C99-based standards] (cbrtf): Likewise.
51071         [non-C99-based standards] (expm1f): Likewise.
51072         [non-C99-based standards] (ilogbf): Likewise.
51073         [non-C99-based standards] (log1pf): Likewise.
51074         [non-C99-based standards] (logbf): Likewise.
51075         [non-C99-based standards] (nextafterf): Likewise.
51076         [non-C99-based standards] (remainderf): Likewise.
51077         [non-C99-based standards] (rintf): Likewise.
51078         [non-C99-based standards] (scalbf): Likewise.
51079         [non-C99-based standards] (copysignl): Likewise.
51080         [non-C99-based standards] (exp2l): Likewise.
51081         [non-C99-based standards] (log2l): Likewise.
51082         [non-C99-based standards] (modfl): Allow.
51083         [non-C99-based standards] (erfl): Do not allow.
51084         [non-C99-based standards] (erfcl): Likewise.
51085         [non-C99-based standards] (gammal): Likewise.
51086         [non-C99-based standards] (hypotl): Likewise.
51087         [non-C99-based standards] (j0l): Likewise.
51088         [non-C99-based standards] (j1l): Likewise.
51089         [non-C99-based standards] (jnl): Likewise.
51090         [non-C99-based standards] (lgammal): Likewise.
51091         [non-C99-based standards] (tgammal): Likewise.
51092         [non-C99-based standards] (y0l): Likewise.
51093         [non-C99-based standards] (y1l): Likewise.
51094         [non-C99-based standards] (ynl): Likewise.
51095         [non-C99-based standards] (isnanl): Likewise.
51096         [non-C99-based standards] (acoshl): Likewise.
51097         [non-C99-based standards] (asinhl): Likewise.
51098         [non-C99-based standards] (atanhl): Likewise.
51099         [non-C99-based standards] (cbrtl): Likewise.
51100         [non-C99-based standards] (expm1l): Likewise.
51101         [non-C99-based standards] (ilogbl): Likewise.
51102         [non-C99-based standards] (log1pl): Likewise.
51103         [non-C99-based standards] (logbl): Likewise.
51104         [non-C99-based standards] (nextafterl): Likewise.
51105         [non-C99-based standards] (remainderl): Likewise.
51106         [non-C99-based standards] (rintl): Likewise.
51107         [non-C99-based standards] (scalbl): Likewise.
51108         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51109         [non-C99-based standards] (FP_*): Do not allow.
51110         [C99-based standards] (FP_*): Change to
51111         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
51112         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51113         allow.
51114         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
51115         (SIG_ERR): Likewise.
51116         [X/Open-based standards] (SIG_HOLD): Likewise.
51117         (SIG_IGN): Likewise.
51118         (SIGABRT): Use macro-int-constant.  Specify type.  Require
51119         positive value.
51120         (SIGFPE): Likewise.
51121         (SIGILL): Likewise.
51122         (SIGINT): Likewise.
51123         (SIGSEGV): Likewise.
51124         (SIGTER): Likewise.
51125         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
51126         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
51127         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
51128         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
51129         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
51130         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
51131         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
51132         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
51133         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
51134         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
51135         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
51136         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
51137         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
51138         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
51139         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
51140         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
51141         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
51142         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
51143         [X/Open-based standards] (SIGTRAP): Likewise.
51144         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
51145         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
51146         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
51147         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
51148         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51149         allow.
51151 2012-05-08  Ian Wienand  <ianw@vmware.com>
51153         [BZ #14080]
51154         * time/tzset.c (__tzset_parse_tz): Update default rules for
51155         daylight time changes in the Energy Policy Act of 2005.
51157 2012-05-09  Andreas Jaeger  <aj@suse.de>
51159         [BZ #13983]
51160         * elf/ldconfig.c (parse_conf): Change string to make clear that
51161         ldconfig only issued a warning if ld.so.conf does not exist.
51163 2012-05-08  David S. Miller  <davem@davemloft.net>
51165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
51166         movxtod instead of popping the value on the stack.
51168         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51170 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
51172         * config.h.in: Add HAVE_ARM_PCS_VFP.
51174 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
51176         [BZ #13979]
51177         * include/features.h: Warn if user requests __FORTIFY_SOURCE
51178         checking but the checks are disabled for any reason.
51180 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
51182         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
51183         and ELF64_R_TYPE with ELFW(R_TYPE).
51185 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
51187         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
51188         (ulimit): Likewise.
51190         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
51191         (settimeofday): Likewise.
51193 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
51195         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
51196         a struct th_u2 inside the union, and move tu_block/tu_code into
51197         a new th_u3 union of tu_block/tu_code inside of that.  Move
51198         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
51199         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
51200         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
51201         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
51202         (th_stuff): Change to th_u1.tu_stuff.
51203         (th_data): Define.
51204         (th_msg): Change to th_u1.th_u2.tu_data.
51206 2012-05-07  David S. Miller  <davem@davemloft.net>
51208         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51210         [BZ #14074]
51211         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
51212         (SETUP_PIC_REG): Use it.
51213         (SETUP_PIC_REG_LEAF): Use it.
51215 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
51217         [BZ #13885]
51218         [BZ #13923]
51219         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51220         USE_AS_EXPM1L.
51221         (EXPL_FINITE): Likewise.
51222         (FLDLOG): Likewise.
51223         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
51224         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
51225         e_expl.S.
51226         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51227         USE_AS_EXPM1L.
51228         (EXPL_FINITE): Likewise.
51229         (FLDLOG): Likewise.
51230         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
51231         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
51232         e_expl.S.
51233         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
51234         test of -max_value argument for long double.
51235         * sysdeps/i386/fpu/libm-test-ulps: Update.
51236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51238 2012-05-06  David S. Miller  <davem@davemloft.net>
51240         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
51241         quad soft-float symbols whose references which are compiler
51242         generated.
51243         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
51245 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
51247         [BZ #13884]
51248         [BZ #13914]
51249         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51250         USE_AS_EXP10L.
51251         (EXPL_FINITE): Likewise.
51252         (FLDLOG): Likewise.
51253         (c0): Likewise.
51254         (c1): Likewise.
51255         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
51256         Adjust comments for base varying.
51257         (__expl_finite): Change alias to EXPL_FINITE.
51258         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
51259         e_expl.S.
51260         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
51261         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
51262         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
51263         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
51264         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51265         USE_AS_EXP10L.
51266         (EXPL_FINITE): Likewise.
51267         (FLDLOG): Likewise.
51268         (c0): Likewise.
51269         (c1): Likewise.
51270         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
51271         Adjust comments for base varying.
51272         (__expl_finite): Change alias to EXPL_FINITE.
51273         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
51274         tests for bugs.
51275         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51277         [BZ #14064]
51278         * math/libm-test.inc (check_float_internal): Correct ulp
51279         calculation for subnormal expected results.
51281 2012-05-06  Andreas Jaeger  <aj@suse.de>
51283         * Makeconfig (+math-flags): New, set to -frounding-math.
51284         (+cflags): Add +math-flags so that all of glibc gets compiled with
51285         it.
51287         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
51289 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
51291         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
51292         Disable one test.
51294         [BZ #13787]
51295         [BZ #13922]
51296         [BZ #14036]
51297         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
51298         (__ieee754_expl): Allow for and saturate large arguments.
51299         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
51300         (u_threshold): Likewise.
51301         (__exp): Call __ieee754_exp before checking for overflow and
51302         underflow.
51303         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
51304         (u_threshold): Likewise.
51305         (__expf): Call __ieee754_expf before checking for overflow and
51306         underflow.
51307         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
51308         (u_threshold): Likewise.
51309         (__expl): Call __ieee754_expl before checking for overflow and
51310         underflow.
51311         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
51312         (__ieee754_expl): Allow for and saturate large arguments.
51313         * math/libm-test.inc (exp_test): Add another test.  Do not allow
51314         missing overflow exception on overflow.
51315         (expm1_test): Do not allow missing overflow exception on overflow.
51317         * sysdeps/i386/fpu/e_expl.c: Move to ...
51318         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
51319         rather than using inline asm.
51320         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
51321         * sysdeps/x86_64/fpu/e_expl.S: Copy from
51322         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
51324         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
51325         (nice): Likewise.
51326         (poll): Likewise.
51327         (signal): Likewise.
51328         (time): Likewise.
51329         (times): Likewise.
51331 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
51333         * sysdeps/unix/syscalls.list (adjtime): Add entry from
51334         sysdeps/unix/common/syscalls.list.
51335         (fchmod): Likewise.
51336         (fchown): Likewise.
51337         (ftruncate): Likewise.
51338         (getrusage): Likewise.
51339         (gettimeofday): Likewise.
51340         (setpgid): Likewise.
51341         (setregid): Likewise.
51342         (setreuid): Likewise.
51343         (sigaction): Likewise.
51344         (truncate): Likewise.
51345         (vhangup): Likewise.
51346         * sysdeps/unix/common/syscalls.list: Remove file.
51347         * sysdeps/unix/bsd/Implies: Don't include unix/common.
51348         * sysdeps/unix/sysv/linux/Implies: Likewise.
51350 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
51352         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
51353         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
51354         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
51355         Moved to ...
51356         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
51357         Here.
51358         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
51359         to ...
51360         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
51361         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
51362         to ...
51363         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
51364         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
51365         to ...
51366         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
51367         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
51368         to ...
51369         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
51370         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
51371         to ...
51372         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
51373         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
51374         to ...
51375         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
51376         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
51377         to ...
51378         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
51379         Here.
51380         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
51381         to ...
51382         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
51383         Here.
51384         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
51385         to ...
51386         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
51387         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
51388         Moved to ...
51389         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
51390         Here.
51391         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
51392         to ...
51393         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
51395 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
51397         * sysdeps/unix/common/bits/dirent.h: Remove file.
51398         * sysdeps/unix/common/bits/fcntl.h: Likewise.
51400         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
51401         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
51402         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
51403         * sysdeps/unix/bsd/isatty.c: Likewise.
51404         * sysdeps/unix/bsd/tcdrain.c: Likewise.
51405         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
51406         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
51408 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51410         [BZ #13563]
51411         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
51412         long double comparison inaccuracies.
51413         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
51414         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51416 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
51418         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
51419         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
51421 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
51423         [BZ #14049]
51424         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
51425         nonzero digits before rounding a hex value.
51426         * stdlib/tst-strtod.c (tests): Add another test.
51428 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51430         * sysdeps/s390/fpu/libm-test-ulps: Update.
51432 2012-05-03  Andreas Jaeger  <aj@suse.de>
51434         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
51435         does not get optimized out.
51436         (malloc_opt_barrier): New.
51438 2012-05-03  Andreas Jaeger  <aj@suse.de>
51439             Roland McGrath  <roland@hack.frob.com>
51441         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
51442         intermediate file deletion.
51443         (generated): Add .symlist files.
51445 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
51447         [BZ #13775]
51448         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
51449         Redirect under this condition.
51450         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
51451         [__USE_GNU] (__dprintf_chk): Not under this condition.
51452         [__USE_GNU] (__vdprintf_chk): Likewise.
51453         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
51454         under this condition.
51455         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
51456         [__USE_XOPEN2K8] (dprintf): Define under this condition.
51457         [__USE_XOPEN2K8] (vdprintf): Likewise.
51458         [__USE_GNU] (__dprintf_chk): Not under this condition.
51459         [__USE_GNU] (__vdprintf_chk): Likewise.
51460         [__USE_GNU] (dprintf): Likewise.
51461         [__USE_GNU] (vdprintf): Likewise.
51463 2012-05-03  Roland McGrath  <roland@hack.frob.com>
51465         * elf/Makefile (common-generated): Set this instead of generated for
51466         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
51467         $(all-built-dso)-derived lists.
51469 2012-05-03  Andreas Jaeger  <aj@suse.de>
51471         * sysdeps/i386/fpu/libm-test-ulps: Update.
51473         * FAQ: Removed.
51474         * FAQ.in: Likewise.
51475         * scripts/gen-FAQ.pl: Likewise.
51476         * manual/install.texi (Installation): Point to online location of
51477         FAQ.
51478         * Makefile (files-for-dist): Remove FAQ.
51479         (FAQ): Remove.
51481 2012-05-02  Allan McRae  <allan@archlinux.org>
51483         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
51484         (LDFLAGS-reldepmod5.so): Likewise.
51485         (LDFLAGS-reldep6mod1.so): Likewise.
51486         (LDFLAGS-reldep6mod4.so): Likewise.
51487         (LDFLAGS-reldep8mod3.so): Likewise.
51488         (LDFLAGS-unload4mod1.so): Likewise.
51489         (LDFLAGS-unload4mod2.so): Likewise.
51490         (LDFLAGS-tst-initorder): Likewise.
51491         (LDFLAGS-tst-initordera2.so): Likewise.
51492         (LDFLAGS-tst-initordera3.so): Likewise.
51493         (LDFLAGS-tst-initordera4.so): Likewise.
51494         (LDFLAGS-tst-initorderb2.so): Likewise.
51495         (LDFLAGS-noload): Likewise.
51496         (LDFLAGS-next): Likewise.
51497         (LDFLAGS-order2mod1.so): Likewise.
51498         (LDFLAGS-order2mod2.so): Likewise.
51499         (LDFLAGS-tst-initorder2): Likewise.
51500         (LDFLAGS-tst-initorder2a.so): Likewise.
51501         (LDFLAGS-tst-initorder2b.so): Likewise.
51502         (LDFLAGS-tst-initorder2c.so): Likewise.
51503         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
51505 2012-05-02  David S. Miller  <davem@davemloft.net>
51507         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51509 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
51511         [BZ #14055]
51512         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
51514 2012-05-02  Andreas Jaeger  <aj@suse.de>
51516         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
51517         since we manipulate rounding mode.
51518         (CPPFLAGS-test-idouble.c): Likewise.
51519         (CPPFLAGS-test-ifloat.c): Likewise.
51520         (CFLAGS-test-ldouble.c): Likewise.
51521         (CFLAGS-test-double.c): Likewise.
51522         (CFLAGS-test-float.c): Likewise.
51523         (CFLAGS-test-misc.c): Likewise.
51524         (CFLAGS-test-test-fenv.c): Likewise.
51526 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51528         [BZ #2550]
51529         [BZ #2570]
51530         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
51531         comparisons to determine direction to adjust input.
51533 2012-05-01  Roland McGrath  <roland@hack.frob.com>
51535         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
51536         output to the target.
51538         * scripts/localplt.awk: New file.
51539         * elf/Makefile ($(objpfx)check-localplt): Target removed.
51540         (check-localplt-CFLAGS): Variable removed.
51541         ($(all-built-dso:=.jmprel)): New static pattern rule.
51542         (generated): Add those targets.
51543         (localplt-built-dso): New variable.
51544         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
51546         * elf/check-localplt.c: File removed.
51548         * scripts/check-execstack.awk: New file.
51549         * elf/Makefile ($(objpfx)check-execstack): Target removed.
51550         (check-execstack-CFLAGS): Variable removed.
51551         ($(objpfx)check-execstack.h): Target removed.
51552         ($(objpfx)execstack-default): New target.
51553         (generated): Add that instead of check-execstack.h.
51554         ($(all-built-dso:=.phdr)): New static pattern rule.
51555         (generated): Add those targets.
51556         * elf/check-execstack.c: File removed.
51558         * scripts/check-textrel.awk: New file.
51559         * elf/Makefile ($(objpfx)check-textrel): Target removed.
51560         (check-textrel-CFLAGS): Variable removed.
51561         (all-built-dso): Use := to define.o
51562         ($(all-built-dso:=.dyn)): New static pattern rule.
51563         (generated): Add those targets.
51564         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
51565         * config.make.in (READELF): New substituted variable.
51566         * elf/check-textrel.c: File removed.
51568 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
51570         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51571         allow.
51572         * conform/data/ctype.h-data [C99-based standards] (isblank):
51573         Expect function.
51574         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
51575         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
51576         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51577         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
51578         Specify type.  Require positive value.
51579         (EILSEQ): Likewise.
51580         (ERANGE): Likewise.
51581         [ISO || POSIX] (EILSEQ): Do not expect.
51582         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
51583         Specify type.  Require positive value.
51584         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
51585         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
51586         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
51587         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
51588         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
51589         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
51590         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
51591         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
51592         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
51593         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
51594         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
51595         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
51596         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
51597         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
51598         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
51599         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
51600         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
51601         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
51602         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
51603         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
51604         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
51605         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
51606         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
51607         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
51608         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
51609         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
51610         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
51611         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
51612         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
51613         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
51614         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
51615         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
51616         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
51617         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
51618         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
51619         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
51620         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
51621         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
51622         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
51623         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
51624         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
51625         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
51626         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
51627         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
51628         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
51629         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
51630         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
51631         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
51632         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
51633         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
51634         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
51635         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
51636         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
51637         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
51638         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
51639         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
51640         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
51641         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
51642         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
51643         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
51644         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
51645         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
51646         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
51647         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
51648         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
51649         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
51650         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
51651         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
51652         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
51653         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
51654         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
51655         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
51656         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
51657         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
51658         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
51659         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
51660         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
51661         Require >= 2.
51662         (FLT_ROUNDS): Expect as macro, not constant.
51663         (FLT_MANT_DIG): Use macro-int-constant.
51664         (DBL_MANT_DIG): Likewise.
51665         (LDBL_MANT_DIG): Likewise.
51666         (FLT_DIG): Likewise.
51667         (DBL_DIG): Likewise.
51668         (LDBL_DIG): Likewise.
51669         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
51670         (DBL_MIN_EXP): Likewise.
51671         (LDBL_MIN_EXP): Likewise.
51672         (FLT_MAX_EXP): Use macro-int-constant.
51673         (DBL_MAX_EXP): Likewise.
51674         (LDBL_MAX_EXP): Likewise.
51675         (FLT_MAX_10_EXP): Likewise.
51676         (DBL_MAX_10_EXP): Likewise.
51677         (LDBL_MAX_10_EXP): Likewise.
51678         (FLT_MAX): Use macro-constant.
51679         (DBL_MAX): Likewise.
51680         (LDBL_MAX): Likewise.
51681         (FLT_EPSILON): Use macro-constant.  Give upper bound.
51682         (DBL_EPSILON): Likewise.
51683         (LDBL_EPSILON): Likewise.
51684         (FLT_MIN): Likewise.
51685         (DBL_MIN): Likewise.
51686         (LDBL_MIN): Likewise.
51687         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
51688         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
51689         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
51690         [ISO11] (FLT_HAS_SUBNORM): Likewise.
51691         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
51692         [ISO11] (DBL_DECIMAL_DIG): Likewise.
51693         [ISO11] (FLT_DECIMAL_DIG): Likewise.
51694         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
51695         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
51696         [ISO11] (FLT_TRUE_MIN): Likewise.
51697         [ISO11] (LDBL_TRUE_MIN): Likewise.
51698         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51699         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
51700         (SCHAR_MIN): Use macro-int-constant.  Specify type.
51701         (SCHAR_MAX): Likewise.
51702         (UCHAR_MAX): Likewise.
51703         (CHAR_MIN): Likewise.
51704         (CHAR_MAX): Likewise.
51705         (MB_LEN_MAX): Use macro-int-constant.
51706         (SHRT_MIN): Use macro-int-constant.  Specify type.
51707         (SHRT_MAX): Likewise.
51708         (USHRT_MAX): Likewise.
51709         (INT_MAX): Likewise.
51710         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
51711         bound negative.
51712         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51713         bound with "U".
51714         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51715         bound with "L".
51716         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
51717         bound negative.  Suffix upper bound with "L".
51718         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51719         bound with "UL".
51720         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
51721         Specify type.
51722         [C99-based standards] (LLONG_MAX): Likewise.
51723         [C99-based standards] (ULLONG_MAX): Likewise.
51724         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
51725         == 0.
51726         [ISO11] (max_align_t): Require type.
51727         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51729         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
51730         from $CFLAGS, without defining away __attribute__ calls.
51731         (checknamespace): Use $CFLAGS_namespace.
51733         * conform/conformtest.pl (@keywords): Only include C99 keywords
51734         for standards based on C99 or C11.
51736         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
51737         Disable tests.
51738         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
51739         UNIX98]: Likewise.
51741         * conform/conformtest.pl: Handle "macro-int-constant" and test for
51742         usability of symbols in #if.
51744         * conform/conformtest.pl: If macro or constant types start
51745         "promoted:", expect the symbol to be of the following type
51746         promoted by the integer promotions.
51748         * conform/conformtest.pl: Parse all "constant" and "macro" lines
51749         in one place.  Also handle "macro-constant".
51751         * conform/conformtest.pl: Only accept expected macro values with
51752         "==".  Parse all "macro" lines in one place.
51753         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
51755         * conform/conformtest.pl: Handle braced types on "constant" lines
51756         instead of handling "typed-constant".
51757         * conform/data/signal.h-data: Use "constant" instead of
51758         "typed-constant".
51760         * conform/conformtest.pl: Handle "optional-" at start of lines in
51761         one place rather than duplicating several cases.  Handle each
51762         format of "macro" line with initial "optional-".
51764         * conform/conformtest.pl: Only accept expected constant or
51765         optional-constant values with "==".  Parse all "constant" lines in
51766         one place.  Parse all "optional-constant" lines in one place.
51767         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
51768         * conform/data/fmtmsg.h-data: Likewise.
51769         * conform/data/netinet/in.h-data: Likewise.
51770         * conform/data/tar.h-data: Likewise.
51771         * conform/data/limits.h-data: Use "==" form on "constant" and
51772         "optional-constant" lines.
51774         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
51775         Use -std=c99 for XOPEN2K.
51776         (@knownproblems): Remove.
51777         (newtoken): Don't check %isknown.
51779         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
51780         Do not expect macro.
51781         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
51782         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
51783         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
51784         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
51785         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
51786         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
51787         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
51788         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
51789         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
51790         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
51791         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
51792         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
51793         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
51794         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
51795         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
51796         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
51797         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
51798         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
51799         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
51800         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
51801         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
51802         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
51803         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
51804         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
51805         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
51806         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
51807         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
51808         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
51809         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
51810         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
51811         [XPG3] (acosh): Likewise.
51812         [XPG3] (asinh): Likewise.
51813         [XPG3] (atanh): Likewise.
51814         [XPG3] (cbrt): Likewise.
51815         [XPG3] (expm1): Likewise.
51816         [XPG3] (ilogb): Likewise.
51817         [XPG3] (log1p): Likewise.
51818         [XPG3] (logb): Likewise.
51819         [XPG3] (nextafter): Likewise.
51820         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
51821         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
51822         [XPG3] (remainder): Likewise.
51823         [XPG3] (rint): Likewise.
51824         [XPG3 || XPG4 || UNIX98] (round): Likewise.
51825         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
51826         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
51827         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
51828         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
51829         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
51830         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
51831         [UNIX98 || XOPEN2K] (scalb): Expect.
51832         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
51833         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
51834         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
51835         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
51836         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
51837         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
51838         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
51839         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
51840         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
51841         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
51842         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
51843         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
51844         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
51845         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
51846         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
51847         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
51848         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
51849         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
51850         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
51851         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
51852         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
51853         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
51854         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
51855         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
51856         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
51857         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
51858         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
51859         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
51860         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
51861         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
51862         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
51863         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
51864         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
51865         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
51866         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
51867         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
51868         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
51869         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
51870         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
51871         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
51872         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
51873         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
51874         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
51875         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
51876         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
51877         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
51878         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
51879         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
51880         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
51881         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
51882         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
51883         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
51884         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
51885         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
51886         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
51887         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
51888         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
51889         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
51890         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
51891         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
51892         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
51893         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
51894         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
51895         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
51896         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
51897         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
51898         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
51899         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
51900         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
51901         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
51902         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
51903         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
51904         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
51905         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
51906         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
51907         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
51908         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
51909         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
51910         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
51911         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
51912         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
51913         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
51914         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
51915         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
51916         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
51917         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
51918         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
51919         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
51920         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
51921         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
51922         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
51923         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
51924         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
51925         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
51926         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
51927         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
51928         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
51929         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
51930         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
51931         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
51932         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
51933         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
51934         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
51935         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
51936         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
51937         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
51938         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
51939         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
51940         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
51941         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
51942         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
51943         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
51944         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
51945         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
51946         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
51947         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
51948         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
51949         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
51950         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
51951         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
51952         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
51953         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
51954         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
51955         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
51956         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
51957         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
51958         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
51959         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
51960         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
51961         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
51962         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
51963         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
51964         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
51965         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
51966         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
51967         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
51968         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
51970         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
51971         _XOPEN_SOURCE_EXTENDED for XPG4.
51973         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
51975         * Makeconfig (localtime): Remove variable.
51976         (inst_localtime-file): Likewise.
51978 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
51980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
51981         Update.
51982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51983         Update.
51984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
51985         Update.
51986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
51987         Update.
51988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
51989         Update.
51990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
51991         Update.
51992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51993         Update.
51994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
51995         Update.
51996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51997         Update.
51999 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
52001         [BZ #2550]
52002         [BZ #2570]
52003         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
52004         comparisons to determine direction to adjust input.
52005         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
52006         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
52007         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
52008         Likewise.
52009         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
52010         Likewise.
52011         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
52012         Likewise.
52013         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
52014         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
52015         Likewise.
52016         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
52017         Likewise.
52018         * math/libm-test.inc (nexttoward_test): Add more tests.
52020 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
52022         [BZ #14040]
52023         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
52024         in version GLIBC_2.1, not GLIBC_2.0.
52025         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
52026         Likewise.
52028 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
52030         [BZ #13942]
52031         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
52032         (1 - x) * (1 + x).
52033         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
52034         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
52035         * math/libm-test.inc (acos_test): Add more tests.
52036         (asin_test): Likewise.
52037         * sysdeps/i386/fpu/libm-test-ulps: Update.
52038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52040         [BZ #14034]
52041         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
52042         of square root.
52043         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
52044         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
52045         * math/libm-test.inc (acos_test_tonearest): New function.
52046         (acos_test_towardzero): Likewise.
52047         (acos_test_downward): Likewise.
52048         (acos_test_upward): Likewise.
52049         (asin_test_tonearest): Likewise.
52050         (asin_test_towardzero): Likewise.
52051         (asin_test_downward): Likewise.
52052         (asin_test_upward): Likewise.
52053         (main): Call the new functions.
52054         * sysdeps/i386/fpu/libm-test-ulps: Update.
52055         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52057         [BZ #13884]
52058         [BZ #13924]
52059         * math/e_exp10.c: Include <float.h>.
52060         (__ieee754_exp10): Handle underflow here rather than multiplying
52061         large negative argument by M_LN10.
52062         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
52063         of __ieee754_expf.
52064         * math/e_exp10l.c: Include <float.h>.
52065         (__ieee754_exp10l): Handle underflow here rather than multiplying
52066         large negative argument by M_LN10l.
52067         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
52068         spurious overflow exception on underflow.
52070 2012-04-29  Marek Polacek  <polacek@redhat.com>
52072         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
52073         (__fortify_function): New macro.
52074         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
52075         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
52076         __extern_always_inline.
52077         * libio/bits/stdio2.h: Likewise.
52078         * libio/bits/stdio.h: Likewise.
52079         * string/string.h: Likewise.
52080         * string/bits/string3.h: Likewise.
52081         * include/stdio.h: Likewise.
52082         * stdlib/bits/stdlib.h: Likewise.
52083         * stdlib/stdlib.h: Likewise.
52084         * rt/bits/mqueue2.h: Likewise.
52085         * rt/mqueue.h: Likewise.
52086         * posix/bits/unistd.h: Likewise.
52087         * posix/unistd.h: Likewise.
52088         * io/bits/poll2.h: Likewise.
52089         * io/bits/fcntl2.h: Likewise.
52090         * io/fcntl.h: Likewise.
52091         * io/sys/poll.h: Likewise.
52092         * misc/bits/syslog.h: Likewise.
52093         * misc/bits/syslog-ldbl.h: Likewise.
52094         * misc/sys/syslog.h: Likewise.
52095         * socket/bits/socket2.h: Likewise.
52096         * socket/sys/socket.h: Likewise.
52097         * debug/tst-chk1.c: Likewise.
52098         * wcsmbs/bits/wchar2.h: Likewise.
52099         * wcsmbs/bits/wchar-ldbl.h: Likewise.
52100         * wcsmbs/wchar.h: Likewise.
52102 2012-04-29  Andreas Jaeger  <aj@suse.de>
52104         * Makerules (tests): Remove enable-check-abi protection.
52105         (check-abi-warn): Remove.
52106         (check-abi-%): Remove check-abi-warn usage.
52108         * configure.in: Remove check-abi configure option.
52109         * configure: Regenerated.
52110         * config.make.in (enable-check-abi): Remove.
52112 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
52114         [BZ #14033]
52115         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
52116         double functions to double *_finite functions.
52118         [BZ #13941]
52119         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
52120         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
52121         LDBL_MIN_EXP.
52122         * stdio-common/Makefile (tests): Add tst-sprintf3.
52123         * stdio-common/tst-sprintf3.c: New file.
52125         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
52126         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
52128 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
52130         * conform/conformtest.pl: Remove duplicate typed-constant
52131         handling.
52133 2012-04-28  David S. Miller  <davem@davemloft.net>
52135         * Makerules (%.abilist): Add vpath on sysdep_dirs.
52136         (check-abi-%): Remove AWK script prerequisite and explicit
52137         abilist directory.
52138         (check-abi): Rewrite to just diff the symlist with the abilist.
52139         (config-tls, config-abi-config): Delete, no longer used.
52140         (update-abi-%): Remove AWK script and explicit abilist directory.
52141         (update-abi): Rewrite to simply compare and conditionally copy the
52142         symlist and the sysdep abilist file.  Remove update-abi-config
52143         checks.
52144         * abilist/ld.abilist: Remove.
52145         * abilist/libBrokenLocale.abilist: Remove.
52146         * abilist/libanl.abilist: Remove.
52147         * abilist/libcrypt.abilist: Remove.
52148         * abilist/libdl.abilist: Remove.
52149         * abilist/librt.abilist: Remove.
52150         * abilist/libthread_db.abilist: Remove.
52151         * abilist/libutil.abilist: Remove.
52152         * scripts/extract-abilist.awk: Remove.
52153         * scripts/merge-abilist.awk: Remove.
52154         * sysdeps/generic/libcidn.abilist: New file.
52155         * sysdeps/generic/libnss_compat.abilist: New file.
52156         * sysdeps/generic/libnss_db.abilist: New file.
52157         * sysdeps/generic/libnss_dns.abilist: New file.
52158         * sysdeps/generic/libnss_files.abilist: New file.
52159         * sysdeps/generic/libnss_hesiod.abilist: New file.
52160         * sysdeps/generic/libnss_nis.abilist: New file.
52161         * sysdeps/generic/libnss_nisplus.abilist: New file.
52162         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
52163         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
52164         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
52165         file.
52166         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
52167         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
52168         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
52169         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
52170         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
52171         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
52172         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
52173         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
52174         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
52175         file.
52176         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
52177         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
52178         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
52179         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
52180         file.
52181         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
52182         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
52183         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
52184         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
52185         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
52186         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
52187         file.
52188         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
52189         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
52190         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
52191         file.
52192         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
52193         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
52194         New file.
52195         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
52196         New file.
52197         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
52198         New file.
52199         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
52200         New file.
52201         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
52202         New file.
52203         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
52204         New file.
52205         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
52206         New file.
52207         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
52208         New file.
52209         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
52210         New file.
52211         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
52212         New file.
52213         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
52214         New file.
52215         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
52216         New file.
52217         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
52218         New file.
52219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
52220         file.
52221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
52222         New file.
52223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
52224         New file.
52225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
52226         file.
52227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
52228         New file.
52229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
52230         New file.
52231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
52232         file.
52233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
52234         New file.
52235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
52236         New file.
52237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
52238         New file.
52239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
52240         New file.
52241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
52242         New file.
52243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
52244         New file.
52245         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
52246         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
52247         file.
52248         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
52249         New file.
52250         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
52251         file.
52252         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
52253         file.
52254         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
52255         file.
52256         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
52257         file.
52258         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
52259         file.
52260         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
52261         New file.
52262         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
52263         file.
52264         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
52265         file.
52266         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
52267         New file.
52268         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
52269         file.
52270         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
52271         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
52272         file.
52273         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
52274         New file.
52275         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
52276         file.
52277         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
52278         file.
52279         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
52280         file.
52281         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
52282         file.
52283         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
52284         file.
52285         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
52286         New file.
52287         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
52288         file.
52289         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
52290         file.
52291         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
52292         New file.
52293         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
52294         file.
52295         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
52296         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
52297         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
52298         file.
52299         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
52300         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
52301         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
52302         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
52303         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
52304         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
52305         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
52306         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
52307         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
52308         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
52309         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
52310         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
52311         file.
52312         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
52313         New file.
52314         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
52315         file.
52316         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
52317         file.
52318         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
52319         file.
52320         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
52321         file.
52322         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
52323         file.
52324         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
52325         New file.
52326         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
52327         New file.
52328         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
52329         file.
52330         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
52331         New file.
52332         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
52333         file.
52334         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
52335         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
52336         file.
52337         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
52338         New file.
52339         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
52340         file.
52341         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
52342         file.
52343         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
52344         file.
52345         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
52346         file.
52347         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
52348         file.
52349         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
52350         New file.
52351         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
52352         New file.
52353         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
52354         file.
52355         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
52356         New file.
52357         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
52358         file.
52360 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
52362         * conform/conformtest.pl: Fix typo in handling typed-constant from
52363         allow-header.
52365 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
52367         * README: Cut down references to pre-2.6 Linux kernels and
52368         Linuxthreads.  Update lists of configurations in libc and ports
52369         and sort alphabetically.  Say "or newer" with Linux kernel version
52370         requirements.
52372         * config.h.in [IS_IN_build]: Allow compiling without optimization.
52374 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52376         [BZ #887]
52377         * math/libm-test.inc (logb_test_downward): New test to expose
52378         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
52379         rounding mode.
52381 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
52383         [BZ #14027]
52384         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
52385         to be done.
52386         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
52387         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
52389 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
52391         * sysdeps/unix/i386/brk.S: Remove file.
52392         * sysdeps/unix/i386/dl-brk.S: Likewise.
52393         * sysdeps/unix/i386/pipe.S: Likewise.
52394         * sysdeps/unix/i386/sigreturn.S: Likewise.
52395         * sysdeps/unix/i386/syscall.S: Likewise.
52396         * sysdeps/unix/i386/vfork.S: Likewise.
52397         * sysdeps/unix/i386/wait.S: Likewise.
52399         * sysdeps/unix/common/tcsendbrk.c: Move to ...
52400         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
52402         * configure.in (arm*-none*): Do not allow without
52403         --enable-hacker-mode.
52404         (netbsd*): Remove case setting base_os.
52405         (386bsd*): Likewise.
52406         (freebsd*): Likewise.
52407         (bsdi*): Likewise.
52408         (osf*): Likewise.
52409         (sunos*): Likewise.
52410         (ultrix*): Likewise.
52411         (newsos*): Likewise.
52412         (dynix*): Likewise.
52413         (*bsd*): Likewise.
52414         (sysv*): Likewise.
52415         (isc*): Likewise.
52416         (esix*): Likewise.
52417         (sco*): Likewise.
52418         (minix*): Likewise.
52419         (irix4*): Likewise.
52420         (irix6*): Likewise.
52421         (solaris[2-9]*): Likewise.
52422         (none): Likewise.
52423         * configure: Regenerated.
52425 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52427         [BZ #11521]
52428         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
52429         overflow or cancellation in calculating denominator.
52430         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
52431         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
52432         down expression to avoid unexpected rounding in newer GCCs.
52433         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
52435 2012-04-26  David S. Miller  <davem@davemloft.net>
52437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
52438         long-double compat symbols.
52439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
52440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
52441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
52442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
52443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
52444         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
52445         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
52446         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
52447         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
52448         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
52449         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
52450         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
52451         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
52453 2012-04-25  David S. Miller  <davem@davemloft.net>
52455         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
52456         HWCAP_* values only after the memory barriers have been defined.
52457         (atomic_full_barrier): Define.
52458         (atomic_read_barrier): Define.
52459         (atomic_write_barrier): Define.
52461 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52463         * shlib-versions: Add libgcc_s version information.
52464         * sysdeps/generic/libgcc_s.h: Remove.
52465         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
52466         libgcc_s.h.
52467         * sysdeps/gnu/unwind-resume.c: Likewise.
52468         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
52470 2012-04-25  David S. Miller  <davem@davemloft.net>
52472         * sysdeps/unix/sparc/brk.S: Delete.
52473         * sysdeps/unix/sparc/dl-brk.S: Delete.
52474         * sysdeps/unix/sparc/pipe.S: Delete.
52475         * sysdeps/unix/sparc/sysdep.S: Delete.
52476         * sysdeps/unix/sparc/sysdep.h: Delete.
52477         * sysdeps/unix/sparc/vfork.S: Delete.
52478         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
52479         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
52480         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
52481         (ret_ERRVAL, r0, r1, MOVE): Define.
52482         (JUMPTARGET): Remove.
52483         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
52484         sysdeps/unix/sparc/sysdep.h
52485         (ENTRY, END): Remove.
52486         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52488 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
52490         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
52491         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
52492         -DIS_IN_build.
52494         * timezone/README: Update upstream location and email address for
52495         tzcode and tzdata.
52496         * timezone/zdump.c: Update from tzcode 2012b.
52497         * timezone/zic.c: Likewise.
52499         * configure.in (libc_cv_as_needed): Remove test.
52500         * configure: Regenerated.
52501         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
52502         conditional definition.
52503         [$(have-as-needed) != yes] (no-as-needed): Likewise.
52504         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
52505         * config.make.in (have-as-needed): Remove variable.
52507 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
52508             Paul Pluzhnikov  <ppluzhnikov@google.com>
52510         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
52511         strings correctly.
52513 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
52515         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
52516         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
52517         * sysdeps/sh/strlen.S: Likewise.
52519 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
52521         * sysdeps/unix/fork.S: Remove file.
52522         * sysdeps/unix/i386/fork.S: Likewise.
52523         * sysdeps/unix/sparc/fork.S: Likewise.
52525         * sysdeps/unix/system.c: Remove file.
52526         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
52528         * sysdeps/unix/getegid.S: Remove file.
52529         * sysdeps/unix/geteuid.S: Likewise.
52531 2012-04-24  Roland McGrath  <roland@hack.frob.com>
52533         * scripts/check-localplt.awk: New file.
52534         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
52535         of diff.
52536         * scripts/data/localplt-generic.data: Add a comment.
52538         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
52539         NODE when __dir_mkfile failed.
52540         * sysdeps/mach/hurd/symlinkat.c: Likewise.
52541         Reported by Ludovic Courtès <ludo@gnu.org>.
52543 2012-04-24  Andreas Jaeger  <aj@suse.de>
52545         * Makerules (common-clean): Also remove gen-as-const-headers
52546         files.
52548 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
52550         * Makerules (native-compile): Do not change working directory for
52551         build.  Use $(OUTPUT_OPTION) in command.
52552         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
52554 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52556         [BZ #13886]
52557         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
52558         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
52559         * math/libm-test.inc (floor_test): Add more tests.
52560         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
52562 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
52564         * sysdeps/unix/getdents.c: Remove file.
52565         * sysdeps/unix/sysv/getdents.c: Likewise.
52566         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
52568         * sysdeps/unix/syscalls.list (madvise): Add syscall from
52569         sysdeps/unix/mman/syscalls.list.
52570         (mmap): Likewise.
52571         (mprotect): Likewise.
52572         (msync): Likewise.
52573         (munmap): Likewise.
52574         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
52575         * sysdeps/unix/mman/syscalls.list: Remove.
52576         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
52578         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
52579         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
52580         * configure: Regenerated.
52581         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
52582         $(libgcc_s_suffix).
52583         * config.make.in (libgcc_s_suffix): Remove variable.
52585 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
52587         * sysdeps/unix/sysv/gethostname.c: Move to ...
52588         * sysdeps/posix/gethostname.c: ... here.
52590         * sysdeps/unix/execve.S: Remove file.
52592         * sysdeps/unix/_exit.S: Remove file.
52594 2012-04-23  Andreas Jaeger  <aj@suse.de>
52596         [BZ #13739]
52597         * manual/Makefile: Remove make dist support, there's no
52598         need for a stand-alone documentation tar ball.
52599         (TEXI2DVI): Define always, it's not in Makeconfig.
52600         (dist): Removed.
52601         (tar-it): Removed.
52602         (edition): Removed.
52603         (glibc-doc-$(edition).tar): Removed
52604         (%.Z): Removed.
52605         (%.gz): Removed.
52606         (%.uu): Removed.
52607         (ETAGS): Remove, it's in Makeconfig.
52608         (move-if-change): Remove, it's in Makeconfig.
52610 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
52612         [BZ #13970]
52613         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
52614         (strtod, strtof, strtold, strtol, strtoul, strtoq)
52615         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
52616         (strtod_l, strtof_l, strtold_l): Remove __wur.
52617         It is not necessarily an error to ignore strtol's return value.
52618         One can reliably look at the stored endptr to decide whether
52619         the number had valid syntax.
52621 2012-04-21  Andreas Jaeger  <aj@suse.de>
52623         [BZ #13739]
52624         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
52626 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
52628         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
52629         * sysdeps/unix/sysv/Versions: Remove file.
52631 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
52633         [BZ #13927]
52634         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52636 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
52638         [BZ #7064]
52639         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
52640         version from __vm86.
52642 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
52644         * sysdeps/unix/common/lxstat.c: Remove file.
52645         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
52647         * sysdeps/unix/sysv/Makefile: Remove file.
52649         * sysdeps/unix/sysv/direct.h: Remove file.
52651         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
52652         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
52653         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
52654         * sysdeps/unix/sysv/bits/signum.h: Likewise.
52655         * sysdeps/unix/sysv/bits/stat.h: Likewise.
52656         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
52657         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
52659         * sysdeps/unix/sysv/setrlimit.c: Remove file.
52661         * sysdeps/unix/xmknod.c: Remove file.
52662         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
52664         * sysdeps/unix/sysv/settimeofday.c: Remove file.
52666         * sysdeps/unix/sysv/i386/time.S: Remove file.
52668         * sysdeps/unix/fxstat.c: Remove file.
52669         * sysdeps/unix/xstat.c: Likewise.
52670         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
52672         * sysdeps/unix/sysv/sigaction.c: Remove file.
52674         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
52675         (sysdep_headers): Remove variable.
52676         [termio.h not in sysdep_headers] (generated): Likewise.
52677         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
52678         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
52679         * sysdeps/unix/sysv/tcdrain.c: Likewise.
52680         * sysdeps/unix/sysv/tcflow.c: Likewise.
52681         * sysdeps/unix/sysv/tcflush.c: Likewise.
52682         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
52683         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
52684         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
52685         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
52686         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
52688         * sysdeps/unix/siglist.c: Remove file.
52690         * sysdeps/unix/getppid.S: Remove file.
52692         * sysdeps/unix/mkdir.c: Remove file.
52693         * sysdeps/unix/rmdir.c: Likewise.
52695 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
52697         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
52698         ERR_MAX value.
52699         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
52700         errlist-compat value.
52702 2012-04-18  David S. Miller  <davem@davemloft.net>
52704         * sysdeps/generic/memcopy.h (reg_char): Delete.
52705         * debug/strcat_chk.c: Use char, not reg_char.
52706         * debug/strcpy_chk.c: Likewise.
52707         * debug/strncat_chk.c: Likewise.
52708         * debug/strncpy_chk.c: Likewise.
52709         * string/memchr.c: Likewise.
52710         * string/memrchr.c: Likewise.
52711         * string/rawmemchr.c: Likewise.
52712         * string/strcat.c: Likewise.
52713         * string/strchr.c: Likewise.
52714         * string/strchrnul.c: Likewise.
52715         * string/strcmp.c: Likewise.
52716         * string/strcpy.c: Likewise.
52717         * string/strncat.c: Likewise.
52718         * string/strncmp.c: Likewise.
52719         * string/strncpy.c: Likewise.
52721 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52723         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
52724         __builtin_memcopy is called when src and dest ranges are known to not
52725         overlap.
52727 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52729         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
52730         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
52731         fwd_align_merge macro call.
52732         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
52733         bwd_align_merge macro call.
52734         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52736 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52738         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
52739         bwd_align_merge macros.
52740         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
52741         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
52742         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52744 2012-04-18  David S. Miller  <davem@davemloft.net>
52746         * sysdeps/sparc/sparc64/memcopy.h: Delete.
52748 2012-04-18  Andreas Jaeger  <aj@suse.de>
52750         [BZ# 6794]
52751         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
52752         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
52753         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52755         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
52756         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
52757         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52759         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
52760         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
52761         Adjust for changed ldbl-128 files.
52763         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
52764         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
52765         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52767 2012-04-17  David S. Miller  <davem@davemloft.net>
52769         * sysdeps/sparc/sparc32/memcopy.h: Delete.
52771 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
52773         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
52774         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
52775         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
52776         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
52777         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
52778         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
52780 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52782         [BZ #6794]
52783         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
52784         * math/libm-test.inc: Add ilogb errno and exception tests.
52785         * math/w_ilogb.c: New file: ilogb wrapper.
52786         * math/w_ilogbf.c: New file: ilogbf wrapper.
52787         * math/w_ilogbl.c: New file: ilogbl wrapper.
52788         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
52789         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
52790         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
52791         exception being thrown with 0.0 as argument.
52792         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
52793         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
52794         exception being thrown with 0.0 as argument.
52795         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
52796         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
52797         exception being thrown with 0.0 as argument.
52798         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
52799         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
52800         exception being thrown with 0.0 as argument.
52801         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
52802         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
52803         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
52804         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
52805         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
52806         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
52807         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
52808         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
52809         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
52811 2012-04-17  Petr Baudis  <pasky@ucw.cz>
52813         * include/sys/uio.h: Change __vector to __iovec to avoid clash
52814         with altivec.
52816 2012-04-16  Marek Polacek  <polacek@redhat.com>
52818         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
52820 2012-04-16  Marek Polacek  <polacek@redhat.com>
52822         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
52823         operands of fdivp instruction.
52825 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
52827         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
52828         * elf/tst-auditmod3b.c: Likewise.
52829         * elf/tst-auditmod4b.c: Likewise.
52830         * elf/tst-auditmod5b.c: Likewise.
52831         * elf/tst-auditmod6b.c: Likewise.
52832         * elf/tst-auditmod6c.c: Likewise.
52833         * elf/tst-auditmod7b.c: Likewise.
52834         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
52835         * sysdeps/x86_64/preconfigure.in: Likewise.
52836         * sysdeps/x86_64/preconfigure: Regenerated.
52838 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
52840         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
52841         __ILP32__.
52843 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
52845         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52846         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
52848 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
52850         [BZ #13973]
52851         * locale/iso-639.def: Fix gl language name. Spotted by
52852         Yaron Shahrabani.
52854 2012-04-12  Roland McGrath  <roland@hack.frob.com>
52856         [BZ #2074]
52857         * libio/libio.h (__io_write_fn): Update comment.
52859 2012-04-12  Petr Baudis  <pasky@ucw.cz>
52861         [BZ #2074]
52862         * stdio.texi (Hook Functions): The user provided writer function
52863         is not allowed to return -1.
52865 2012-04-11  David S. Miller  <davem@davemloft.net>
52867         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52869 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
52871         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
52872         Add a leading slash to rtkaio.
52874 2012-04-11  Jim Meyering  <meyering@redhat.com>
52876         [BZ #11959]
52877         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
52878         It is not necessarily an error to ignore fwrite's return
52879         value.  One can reliably use ferror to test for errors after
52880         the fact.
52882 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
52884         * bits/types.h (__snseconds_t): New type.
52885         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
52887         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
52888         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52889         (__SNSECONDS_T_TYPE): Likewise.
52890         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52891         (__SNSECONDS_T_TYPE): Likewise.
52892         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52893         (__SNSECONDS_T_TYPE): Likewise.
52895 2012-04-10  Andreas Jaeger  <aj@suse.de>
52897         [BZ #2636]
52898         * manual/time.texi (Processor Time): Return type of times is
52899         elapsed real time since an arbitrary point in the past.
52900         (CPU Time): Move CLK_TCK from here...
52901         (Processor Time): ...to here.  Correct description.
52902         * manual/conf.texi (Constants for Sysconf): Correct description of
52903         _SC_CLK_TCK.
52905 2012-04-10  David S. Miller  <davem@davemloft.net>
52907         [BZ #13967]
52908         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
52909         where the is a gap between DT_REL(A) and DT_JMPREL.
52911 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
52913         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
52914         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
52915         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
52917 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52919         * elf/dl-support.c (_dl_inhibit_cache): New variable.
52920         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
52921         (dl_main): Handle --inhibit-cache.
52922         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
52923         _dl_inhibit_cache.
52924         * elf/dl-load.c (_dl_map_object): Use it.
52925         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
52927 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
52929         [BZ #13872]
52930         * sysdeps/i386/fpu/e_powl.S (p78): New object.
52931         (__ieee754_powl): Saturate large exponents rather than testing for
52932         overflow of y*log2(x).
52933         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52934         * math/libm-test.inc (pow_test): Do not permit spurious overflow
52935         exceptions.
52937         [BZ #11521]
52938         * math/s_ctan.c: Include <float.h>.
52939         (__ctan): Avoid internal overflow or cancellation in calculating
52940         denominator.
52941         * math/s_ctanf.c: Likewise.
52942         * math/s_ctanl.c: Likewise.
52943         * math/s_ctanh.c: Likewise.
52944         * math/s_ctanhf.c: Likewise.
52945         * math/s_ctanhl.c: Likewise.
52946         * math/libm-test.inc (ctan_test): Add more tests.
52947         (ctanh_test): Likewise.
52948         * sysdeps/i386/fpu/libm-test-ulps: Update.
52949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52951 2012-04-09  Andreas Jaeger  <aj@suse.de>
52953         [BZ #6894]
52954         * manual/filesys.texi (Directory Entries): Mention that d_namlen
52955         is an optional BSD extension.
52957         [BZ #10254]
52958         * manual/stdio.texi (Opening Streams): Document additional fopen
52959         parameters.
52961 2012-04-09  Roland McGrath  <roland@hack.frob.com>
52963         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
52964         %eax without telling the compiler.
52966 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
52968         [BZ # 13963]
52969         * manual/install.texi: Use sourceware.org.
52971 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
52973         [BZ #13873]
52974         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
52975         (__ieee754_pow): Generate overflow and underflow using huge*huge
52976         and tiny*tiny rather than just returning constant infinity or zero
52977         for large exponents.
52978         * math/libm-test.inc (pow_test): Require overflow exceptions for
52979         applicable cases of large exponents.
52981         [BZ #706]
52982         * sysdeps/i386/fpu/e_pow.S (p10): New object.
52983         (__ieee754_pow): Use iterative multiplication algorithm only for
52984         integer exponents with absolute value below 1024.  Check for odd
52985         integer exponents when using algorithm for real exponents.
52986         * math/libm-test.inc (pow_test): Add more tests.
52987         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52989 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
52991         [BZ #13705]
52992         * math/libm-test.inc (exp_test): Do not allow overflow exception
52993         on underflow test.
52995 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
52997         [BZ #13705]
52998         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
52999         instead of __kernel_standard_f.
53001 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
53003         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
53004         * sysdeps/x86_64/memset_chk.S: Likewise.
53006 2012-04-08  Andreas Jaeger  <aj@suse.de>
53008         [BZ #10153]
53009         * manual/startup.texi (Environment Access): Describe return value
53010         for putenv and setenv.
53012         [BZ #6895]
53013         * manual/filesys.texi (Directory Entries): Add description for
53014         DT_LNK.
53016         [BZ #6890]
53017         * manual/filesys.texi (Directory Entries): Clarify that it's file
53018         system not operating system in the description of DT_UNKNOWN.
53020         [BZ #6578]
53021         * manual/syslog.texi (closelog): Fix reference, it's openlog.
53023 2012-04-08  Stephen Compall  <s11@member.fsf.org>
53025         [BZ #6649]
53026         * manual/llio.texi (Opening and Closing Files): Add cross
53027         reference to explain mode argument.
53029 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
53031         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
53032         * sysdeps/x86_64/memset_chk.S: Likewise.
53034 2012-04-07  David S. Miller  <davem@davemloft.net>
53036         * elf/elf.h (R_SPARC_WDISP10): Define.
53037         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
53038         R_SPARC_SIZE32.
53039         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
53040         R_SPARC_SIZE64 and R_SPARC_H34.
53042 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
53044         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
53045         conditions and remove no longer applicable assertion.
53047 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
53049         * bits/byteswap.h: Include <features.h>.
53050         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
53051         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
53053 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
53055         * bits/byteswap.h (__bswap_16): Removed.
53056         Include <bits/byteswap-16.h> to get __bswap_16.
53057         * sysdeps/i386/bits/byteswap.h: Likewise.
53058         * sysdeps/s390/bits/byteswap.h: Likewise.
53059         * sysdeps/x86_64/bits/byteswap.h: Likewise.
53060         * bits/byteswap-16.h: New file.
53061         * sysdeps/i386/bits/byteswap-16.h: Likewise.
53062         * sysdeps/s390/bits/byteswap-16.h: Likewise.
53063         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
53064         * string/Makefile (headers): Add bits/byteswap-16.h.
53066 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
53068         [BZ #13895]
53069         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
53070         extra indirection.
53071         * nss/Makefile (tests-static, tests): Add tst-nss-static.
53072         * nss/tst-nss-static.c: New.
53074 2012-04-06  Robert Millan  <rmh@gnu.org>
53076         [BZ #6486]
53077         * manual/llio.texi (File Position Primitive): lseek
53078         refers to WHENCE when it really means OFFSET.
53080 2012-04-06  Andreas Jaeger  <aj@suse.de>
53082         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
53083         strncmp declarations.
53085         * abilist/libc.abilist: Add __poll and __ppoll.
53087 2012-04-05  David S. Miller  <davem@davemloft.net>
53089         * scripts/check-local-headers.sh: Accept a host triplet in the
53090         path matched by the exclude regexp.
53092         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
53093         definition.
53094         * sysdeps/powerpc/powerpc32/dl-machine.h
53095         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
53096         * sysdeps/s390/s390-32/dl-machine.h
53097         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53098         * sysdeps/sparc/sparc32/dl-machine.h
53099         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53100         * sysdeps/sparc/sparc64/dl-machine.h
53101         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53103         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
53104         lazy binding.
53105         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
53106         undefined symbol errors.
53108         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
53109         DT_NEEDED entries.
53111 2012-04-05  Michael Matz  <matz@suse.de>
53113         [BZ #13592]
53114         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
53116 2012-04-05  Andreas Jaeger  <aj@suse.de>
53118         [BZ #13908]
53119         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
53120         comment.
53122 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53124         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
53125         which ROUND is no valid rounding mode.
53127 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53129         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
53130         read again.
53131         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
53133 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53135         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
53136         an exception using FPU order intentionally.
53138 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53140         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
53141         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
53142         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
53143         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
53145 2012-04-05  Simon Josefsson  <simon@josefsson.org>
53147         [BZ #12340]
53148         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
53149         EINVAL when BUFLEN is too smal.
53151 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
53153         [BZ #13553]
53154         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
53155         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
53157 2012-04-03  Andreas Jaeger  <aj@suse.de>
53159         [BZ #13938]
53160         * manual/setjmp.texi (System V contexts): Fix sentence.
53162         [BZ #13926]
53163         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
53164         New macro for this case.
53165         [!__GNUC__] (__bswap_64): New inline function for this case.
53166         * sysdeps/x86_64/bits/byteswap.h: Likewise.
53167         * bits/byteswap.h: Likewise.
53168         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
53169         ull, guard with __GLIBC_HAVE_LONG_LONG.
53171         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
53172         __GLIBC_HAVE_LONG_LONG.
53174         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
53175         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
53177 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
53179         [BZ #13691]
53180         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
53181         inptr and inend, rather than using last_ch.
53183 2012-04-02  David S. Miller  <davem@davemloft.net>
53185         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
53186         * stdio-common/printf-parse.h (read_int): Change return type to
53187         'int', return -1 on INT_MAX overflow.
53188         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
53189         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
53190         overflows INT_MAX.  Check for overflow of in-format-string precision
53191         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
53192         SIZE_MAX not INT_MAX for integer overflow test.
53193         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
53194         skip the construct in the format string but do not record anything.
53195         * stdio-common/bug22.c: Adjust to test both width/prevision
53196         INT_MAX overflow as well as total length INT_MAX overflow.  Check
53197         explicitly for proper errno values.
53199 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
53201         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
53202         CHAR_MAX.
53203         * string/test-strcmp.c [! WIDE]: Likewise.
53204         * time/tst-mktime2.c: Likewise for INT_MAX.
53205         * string/test-string.h: #include <sys/param.h> for MIN.
53207         * csu/init-first.c (__libc_init_first): Call __ctype_init.
53208         * sysdeps/i386/init-first.c (init): Likewise.
53209         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
53210         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
53211         * sysdeps/sh/init-first.c (init): Likewise.
53213 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
53215         * po/ru.po: Update from translation team.
53216         * po/vi.po: Likewise.
53218 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
53220         * resolv/nss_dns/dns-host.c: Merge copyright years.
53222 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53224         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
53225         Optimize memcpy with prefetch if
53226         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
53227         src, dst pointers have unequal 16 byte alignments.
53229 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
53231         [BZ #13928]
53232         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
53233         from a CNAME entry and return the minimum ttl for the query.
53234         (gaih_getanswer_slice): Likewise.
53236 2012-03-30  Jeff Law  <law@redhat.com>
53238         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
53239         due to long keys.
53240         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
53241         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
53243         * resolv/nss_dns/dns-host.c: Update copyright year.
53245 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
53247         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
53248         requests to save a system call.  Fix check that all bytes are sent.
53250         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
53251         comments for sendmmsg.
53253 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53255         [BZ #13691]
53256         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
53257         with only 1 character between 0x0041 and 0x01b0.
53258         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
53259         * wcsmbs/tst-mbsnrtowcs.c: New file.
53261 2012-03-29  David S. Miller  <davem@davemloft.net>
53263         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
53264         small copies by hand.
53266 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53268         [BZ #13761]
53269         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
53270         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
53271         group memberships.
53273 2012-03-28  David S. Miller  <davem@davemloft.net>
53275         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
53276         that branches into memcpy.
53277         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
53278         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
53279         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
53280         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
53281         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
53282         bits.
53283         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
53284         implementation too.
53285         * sysdeps/sparc/mempcpy.S: New file.
53287         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
53288         the IFUNC routine in the libc case.
53289         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
53291         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
53292         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
53293         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
53294         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
53295         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
53296         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
53297         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
53298         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
53300         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
53301         loop to 256 bytes instead of 64 bytes and fix test signedness.
53303         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
53304         * sysdeps/sparc/sparc32/Makefile: rather than here...
53305         * sysdeps/sparc/sparc64/Makefile: and here.
53307 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
53309         * malloc/mallocbug.c: Avoid warnings about unused variables.
53311 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
53313         [BZ #13760]
53314         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
53315         in the right place. Discard and retry query if response is
53316         larger than input buffer size.
53318 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
53320         [BZ #369]
53321         [BZ #2678]
53322         [BZ #3866]
53323         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
53324         x for large integer exponent.
53325         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
53326         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
53327         sign of result as needed afterwards.
53328         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
53329         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
53330         result for underflowing pow the same as for overflow.
53331         (__kernel_standard_l): Handle powl overflow and underflow here
53332         rather than calling __kernel_standard.
53333         * math/libm-test.inc (pow_test): Add more tests.
53335         [BZ #3868]
53336         [BZ #13879]
53337         [BZ #13910]
53338         [BZ #13911]
53339         [BZ #13912]
53340         [BZ #13913]
53341         [BZ #13915]
53342         [BZ #13916]
53343         [BZ #13917]
53344         [BZ #13918]
53345         [BZ #13919]
53346         [BZ #13920]
53347         [BZ #13921]
53348         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
53349         * sysdeps/ieee754/k_standard.c: Include <float.h>.
53350         (__kernel_standard_l): New function.
53351         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
53352         __kernel_standard.
53353         * math/w_acosl.c (__acosl): Likewise.
53354         * math/w_asinl.c (__asinl): Likewise.
53355         * math/w_atan2l.c (__atan2l): Likewise.
53356         * math/w_atanhl.c (__atanhl): Likewise.
53357         * math/w_coshl.c (__coshl): Likewise.
53358         * math/w_exp10l.c (__exp10l): Likewise.
53359         * math/w_exp2l.c (__exp2l): Likewise.
53360         * math/w_fmodl.c (__fmodl): Likewise.
53361         * math/w_hypotl.c (__hypotl): Likewise.
53362         * math/w_j0l.c (__j0l, __y0l): Likewise.
53363         * math/w_j1l.c (__j1l, __y1l): Likewise.
53364         * math/w_jnl.c (__jnl, __ynl): Likewise.
53365         * math/w_lgammal.c (__lgammal): Likewise.
53366         * math/w_log10l.c (__log10l): Likewise.
53367         * math/w_log2l.c (__log2l): Likewise.
53368         * math/w_logl.c (__logl): Likewise.
53369         * math/w_powl.c (__powl): Likewise.
53370         * math/w_remainderl.c (__remainderl): Likewise.
53371         * math/w_scalbl.c (sysv_scalbl): Likewise.
53372         * math/w_sinhl.c (__sinhl): Likewise.
53373         * math/w_sqrtl.c (__sqrtl): Likewise.
53374         * math/w_tgammal.c (__tgammal): Likewise.
53375         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
53376         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
53377         * math/libm-test.inc (acos_test): Add more tests.
53378         (acosh_test): Likewise.
53379         (asin_test): Likewise.
53380         (atanh_test): Likewise.
53381         (exp_test): Likewise.
53382         (exp10_test): Likewise.
53383         (exp2_test): Likewise.
53384         (expm1_test): Likewise.
53385         (lgamma_test): Likewise.
53386         (log_test): Likewise.
53387         (log10_test): Likewise.
53388         (log1p_test): Likewise.
53389         (log2_test): Likewise.
53390         (pow_test): Do not allow some spurious overflow exceptions.
53391         (sqrt_test): Add more tests.
53392         (tgamma_test): Likewise.
53393         (y0_test): Likewise.
53394         (y1_test): Likewise.
53395         (yn_test): Likewise.
53397 2012-03-27  Anton Blanchard  <anton@samba.org>
53399         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
53400         MAP_HUGETLB.
53401         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53402         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
53403         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53405 2012-03-27  David S. Miller  <davem@davemloft.net>
53407         * conform/Makefile: Run run-conformtest.sh using $(BASH).
53409         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
53410         have-as-vis3 check.
53412 2012-03-27  Andreas Jaeger  <aj@suse.de>
53414         * sysdeps/x86_64/elf/configure.in: Moved to ...
53415         * sysdeps/x86_64/configure.in: ... here.
53416         * sysdeps/x86_64/elf/start.S: Moved to ...
53417         * sysdeps/x86_64/start.S: ... here.
53418         * sysdeps/x86_64/elf/configure: Delete.
53420         * sysdeps/x86_64/configure.in: Merge contents from
53421         sysdeps/i386/configure.in (without i686 check).
53423         * sysdeps/i386/elf/Versions: Merge into ...
53424         * sysdeps/i386/Versions: ... this.
53425         * sysdeps/i386/elf/Versions: Delete file.
53426         * sysdeps/i386/elf/start.S: Moved to ...
53427         * sysdeps/i386/start.S: ...here.
53428         * sysdeps/i386/elf/configure.in: Merge into...
53429         * sysdeps/i386/configure.in: ...here.
53430         * sysdeps/i386/elf/configure.in: Delete file.
53431         * sysdeps/i386/elf/configure: Delete file.
53433         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
53434         * debug/backtracesyms.c: ... here.
53435         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
53436         * debug/backtracesymsfd.c: ... here.
53437         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
53438         * sysdeps/generic/ifunc-sel.h: ... here.
53440         * sysdeps/unix/i386/start.c: Delete file.
53441         * sysdeps/unix/sparc/start.c: Delete file.
53442         * sysdeps/unix/start.c: Delete file.
53444         * sysdeps/sh/elf/configure.in: Moved to ...
53445         * sysdeps/sh/configure.in: ... here.
53446         * sysdeps/sh/elf/start.S: Moved to ...
53447         * sysdeps/sh/start.S: ... here.
53448         * sysdeps/sh/elf/configure: Delete file.
53450         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
53451         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
53452         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
53453         * sysdeps/powerpc/powerpc64/entry.h: ... here.
53454         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
53455         * sysdeps/powerpc/powerpc64/start.S: here.
53456         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
53457         * sysdeps/powerpc/powerpc64/Makefile: ... this.
53458         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
53459         * sysdeps/powerpc/powerpc64/configure.in: ... this.
53460         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
53462         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
53463         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
53464         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
53465         * sysdeps/powerpc/powerpc32/start.S: ... here.
53466         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
53467         * sysdeps/powerpc/powerpc32/configure.in: ... this.
53468         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
53470         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
53471         * sysdeps/powerpc/ifunc-sel.h: ... here.
53472         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
53473         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
53475         * sysdeps/sparc/elf/configure.in: Moved to ...
53476         * sysdeps/sparc/configure.in: ... here.
53477         * sysdeps/sparc/elf/configure: Delete file.
53478         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
53479         * sysdeps/sparc/sparc32/start.S: ... here.
53480         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
53481         * sysdeps/sparc/sparc64/start.S: ... here.
53482         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
53483         * sysdeps/sparc/sparc32/Makefile: ... this.
53484         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
53485         * sysdeps/sparc/sparc64/Makefile: ... this.
53487         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
53488         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
53489         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
53490         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
53491         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
53492         * sysdeps/s390/s390-32/setjmp.S: ... here.
53493         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
53494         * sysdeps/s390/s390-32/configure.in: ... here.
53495         * sysdeps/s390/s390-32/elf/configure: Delete file.
53496         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
53497         * sysdeps/s390/s390-32/start.S: ... here.
53499         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
53500         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
53501         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
53502         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
53503         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
53504         * sysdeps/s390/s390-64/setjmp.S: ... here.
53505         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
53506         * sysdeps/s390/s390-64/configure.in: ... here
53507         * sysdeps/s390/s390-64/elf/configure: Delete file.
53508         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
53509         * sysdeps/s390/s390-64/start.S: ... here.
53510         * sysdeps/s390/s390-64/elf/configure: Delete.
53512         * configure.in: Remove support for elf directories in sysdeps.
53514         * configure: Regenerated.
53515         * sysdeps/i386/configure: Regenerated.
53516         * sysdeps/powerpc/powerpc32/configure: Regenerated.
53517         * sysdeps/powerpc/powerpc64/configure: Regenerated.
53518         * sysdeps/s390/s390-32/configure: Regenerated.
53519         * sysdeps/s390/s390-64/configure: Regenerated.
53520         * sysdeps/sh/configure: Regenerated.
53521         * sysdeps/sparc/configure: Regenerated.
53522         * sysdeps/x86_64/configure: Regenerated.
53524 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
53526         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53528         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
53529         denormal result into account.
53531 2012-03-25  Roland McGrath  <roland@hack.frob.com>
53533         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
53534         Reported by Allan McRae <allan@archlinux.org>.
53536 2012-03-23  Jeff Law  <law@redhat.com>
53538         * nss/getnssent.c (__nss_getent): Fix typo.
53540 2012-03-23  David S. Miller  <davem@davemloft.net>
53542         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53544 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
53546         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
53547         to pad to uint64_t for each field.
53548         (dl_tls_index): Replace unsigned long with uint64_t.
53550 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
53551         Paul Pluzhnikov  <ppluzhnikov@google.com>
53553         [BZ #6528]
53554         * grp/Makefile (otherlibs): Don't set it.
53555         * inet/Makefile (otherlibs): Likewise.
53556         * login/Makefile (otherlibs): Likewise.
53557         * nscd/Makefile (otherlibs): Likewise.
53558         * posix/Makefile (otherlibs): Likewise.
53559         * pwd/Makefile (otherlibs): Likewise.
53560         * rt/Makefile (otherlibs): Likewise.
53561         * sunrpc/Makefile (otherlibs): Likewise.
53562         * nss/Makefile (otherlibs): Likewise.
53563         Add libnss_files to routines and static-only-routines.
53564         ($(objpfx)getent): Remove rule.
53565         * resolv/Makefile: Add libnss_dns and libresolv to routines and
53566         static-only-routines.
53568 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
53570         [BZ #13892]
53571         * math/s_cexp.c: Include <float.h>.
53572         (__cexp): Handle exp result overflowing not necessarily
53573         overflowing both real and imaginary parts of result.
53574         * math/s_cexpf.c: Likewise.
53575         * math/s_cexpl.c: Likewise.
53576         * math/libm-test.inc (cexp_test): Add more tests.
53577         * sysdeps/i386/fpu/libm-test-ulps: Update.
53578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53580 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53582         * include/link.h (ELFW): New macro.
53583         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
53584         Replace ELF64_R_TYPE with ELFW(R_TYPE).
53586 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53588         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
53589         with uint64_t.
53591 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53593         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
53594         declaration.
53595         (struct La_x32_retval): Likewise.
53597 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53599         * sysdeps/x86_64/preconfigure.in: New file.
53600         * sysdeps/x86_64/preconfigure: New generated file.
53602 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
53604         [BZ #13824]
53605         * math/e_exp2l.c: Include <float.h>.
53606         (__ieee754_exp2l): Handle overflow and underflow cases
53607         separately.  Only pass fractional part of argument to
53608         __ieee754_expl.
53609         * math/libm-test.inc (exp2_test): Add more tests.
53611         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
53612         negating x to take absolute value.
53613         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
53614         Likewise.
53615         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
53616         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
53617         Likewise.
53618         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
53619         computing low part if x was negated.
53620         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
53622 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53624         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
53625         la_x32_gnu_pltexit.
53626         (pltexit): Cast int_retval to ptrdiff_t.
53627         * elf/tst-auditmod3b.c: Likewise.
53628         * elf/tst-auditmod4b.c: Likewise.
53629         * elf/tst-auditmod5b.c: Likewise.
53630         * elf/tst-auditmod6b.c: Likewise.
53631         * elf/tst-auditmod6c.c: Likewise.
53632         * elf/tst-auditmod7b.c: Likewise.
53634         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
53635         and x32_gnu_pltexit.
53637         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
53638         __ELF_NATIVE_CLASS.
53639         (La_x32_regs): New macro.
53640         (La_x32_retval): Likewise.
53641         (la_x32_gnu_pltenter): New function prototype.
53642         (la_x32_gnu_pltexit): Likewise.
53644 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
53646         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
53647         exponent.
53649         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53651         * configure.in (libc_cv_cc_nofma): Check for option to disable
53652         generation of FMA instructions.
53653         * configure: Regenerate.
53654         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
53655         * sysdeps/ieee754/dbl-64/Makefile: New file.
53656         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
53657         Remove brandred-fma4.
53658         (CFLAGS-brandred-fma4.c): Remove.
53659         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
53660         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
53661         define.
53662         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
53663         define.
53665 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53667         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
53668         LLONG_MAX != LONG_MAX.
53669         (_itoa_word): Use _ITOA_WORD_TYPE on value.
53670         (_fitoa_word): Likewise.
53671         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
53672         LLONG_MAX != LONG_MAX.
53673         * stdio-common/_itowa.h: Include <_itoa.h>.
53674         (_itowa_word): Use _ITOA_WORD_TYPE on value.
53675         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
53676         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
53677         only if not defined.
53678         (_ITOA_WORD_TYPE): Likewise.
53679         (_itoa_word): Use _ITOA_WORD_TYPE on value.
53680         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
53682 2012-03-21  David S. Miller  <davem@davemloft.net>
53684         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53686 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53688         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
53689         of x86_64 when setting libc_cv_slibdir, libdir and
53690         libc_cv_localedir.
53691         * sysdeps/unix/sysv/linux/configure: Regenerated.
53693 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53695         * manual/lang.texi (Old Varargs): Remove section.
53696         (How Variadic): Update menu.
53697         (va_start): Do not mention varargs.h.
53699 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53700             Joseph Myers  <joseph@codesourcery.com>
53702         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
53703         link test.
53704         * configure: Regenerated.
53706 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53708         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
53709         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
53710         conformtest.pl
53712 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53714         * NOTES: Remove.
53715         * Makefile (files-for-dist): Remove NOTES.
53716         (NOTES): Remove rule.
53717         * README: Don't refer to NOTES.
53718         * manual/creature.texi: Don't include macros.texi.
53719         * manual/intro.texi (creature.texi): Remove comment referring to
53720         NOTES.
53722         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
53723         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
53724         * configure: Regenerated.
53725         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
53726         LIBC_TRY_CC_OPTION.
53727         (libc_cv_as_i686): Likewise.
53728         (libc_cv_cc_avx): Likewise.
53729         (libc_cv_cc_sse2avx): Likewise.
53730         (libc_cv_cc_fma4): Likewise.
53731         (libc_cv_cc_novzeroupper): Likewise.
53732         * sysdeps/i386/configure: Regenerated.
53734         [BZ #13883]
53735         * sysdeps/i386/fpu/s_cexp.S: Remove.
53736         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
53737         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
53738         * math/libm-test.inc (cexp_test): Add more tests.
53739         * sysdeps/i386/fpu/libm-test-ulps: Update.
53740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53742 2012-03-21  Allan McRae  <allan@archlinux.org>
53744         * timezone/Makefile: Do not install iso3166.tab and zone.tab
53746 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53748         [BZ #13871]
53749         * math/w_exp2.c: Do not include <float.h>.
53750         (o_threshold, u_threshold): Remove.
53751         (__exp2): Calculate result before checking finiteness and calling
53752         __kernel_standard.
53753         * math/w_exp2f.c: Likewise.
53754         * math/w_exp2l.c: Likewise.
53755         * math/libm-test.inc (exp2_test): Require overflow exception for
53756         1e6 input.
53758         [BZ #3866]
53759         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
53760         range of signed 64-bit integers before using fistpll.  Remove
53761         checks for whether integers fit in mantissa bits.
53762         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
53763         the range of signed 32-bit integers before using fistpl.  Remove
53764         checks for whether integers fit in mantissa bits.
53765         * sysdeps/i386/fpu/e_powl.S (p64): New object.
53766         (__ieee754_powl): Test for y outside the range of signed 64-bit
53767         integers before using fistpll.  Reduce 64-bit values to 63-bit
53768         ones as needed.
53769         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
53770         divide-by-zero is raised for zero to large negative powers.
53771         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
53772         (__ieee754_powl): Test for y outside the range of signed 64-bit
53773         integers before using fistpll.  Reduce 64-bit values to 63-bit
53774         ones as needed.
53775         * math/libm-test.inc (pow_test): Add more tests.
53777 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53779         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
53780         <stdio-common/_itoa.h>.
53781         * debug/segfault.c: Likewise.
53782         * elf/dl-cache.c: Likewise.
53783         * elf/dl-minimal.c: Likewise.
53784         * elf/dl-misc.c: Likewise.
53785         * elf/dl-sysdep.c: Likewise.
53786         * elf/dl-version.c: Likewise.
53787         * elf/rtld.c: Likewise.
53788         * hurd/hurdsock.c: Likewise.
53789         * hurd/lookup-retry.c: Likewise.
53790         * malloc/malloc.c: Likewise.
53791         * malloc/mtrace.c: Likewise.
53792         * nscd/nscd_getgr_r.c: Likewise.
53793         * nscd/nscd_getpw_r.c: Likewise.
53794         * nscd/nscd_getserv_r.c: Likewise.
53795         * posix/getopt_init.c: Likewise.
53796         * posix/wordexp.c: Likewise.
53797         * stdio-common/_itoa.c: Likewise.
53798         * stdio-common/printf_fphex.c: Likewise.
53799         * stdio-common/vfprintf.c: Likewise.
53800         * string/_strerror.c: Likewise.
53801         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
53802         * sysdeps/i386/i686/hp-timing.h: Likewise.
53803         * sysdeps/mach/_strerror.c: Likewise.
53804         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
53805         * sysdeps/mach/hurd/sethostid.c: Likewise.
53806         * sysdeps/mach/hurd/xmknodat.c: Likewise.
53807         * sysdeps/mach/xpg-strerror.c: Likewise.
53808         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
53809         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
53810         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
53811         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
53812         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
53813         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
53814         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
53815         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
53816         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
53817         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
53818         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
53819         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
53820         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
53821         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
53822         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
53823         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
53824         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
53825         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
53826         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
53827         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
53828         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
53830         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
53832         * stdio-common/_itoa.h: Moved to ...
53833         * sysdeps/generic/_itoa.h: Here.
53835         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
53837         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
53838         instead of "_itoa.h" and "_itowa.h".
53839         * stdio-common/vfprintf.: Likewise.
53841 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53843         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
53844         <bits/wordsize.h>.
53845         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
53846         (__signbit): Likwise.
53847         (llrintf): Likwise.
53848         (llrint): Likwise.
53850 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53852         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
53853         __WORDSIZE != 64.
53855 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
53857         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
53858         OVERFLOW_EXCEPTION_OK.
53859         * math/libm-test.inc ("Philosophy"): Update comment about
53860         exception testing.
53861         (OVERFLOW_EXCEPTION): Define.
53862         (OVERFLOW_EXCEPTION_OK): Likewise.
53863         (INVALID_EXCEPTION_OK): Renumber.
53864         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
53865         (IGNORE_ZERO_INF_SIGN): Likewise.
53866         (test_exceptions): Handle FE_OVERFLOW.
53867         (exp10_test): Expect overflow exceptions.
53868         (exp2_test): Likewise.
53869         (expm1_test): Likewise.
53870         (nextafter_test): Likewise.
53871         (pow_test): Likewise.
53872         (scalbn_test): Likewise.
53873         (scalbln_test): Likewise.
53875 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53877         * sysdeps/x86_64/bits/atomic.h
53878         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
53879         64bit integer.
53880         (atomic_exchange_acq): Likewise.
53881         (__arch_exchange_and_add_body): Likewise.
53882         (__arch_add_body): Likewise.
53883         (atomic_add_negative): Likewise.
53884         (atomic_add_zero): Likewise.
53886 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53888         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
53889         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
53891 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53893         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
53894         Check __x86_64__ instead of __WORDSIZE.
53896 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53898         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
53900 2012-03-19  David S. Miller  <davem@davemloft.net>
53902         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53904         * sysdeps/sparc/fpu/fenv_private.h: New file.
53905         * sysdeps/sparc/fpu/math_private.h: Use it.
53906         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
53907         Remove.
53908         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
53909         (libc_feholdexcept_setroundl): Remove.
53910         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
53911         Remove.
53912         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
53913         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
53915 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53917         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
53918         int64_t instead of long int.
53919         (INSERT_WORDS64): Likwise.
53921 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53923         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
53924         _Unwind_GetCFA return to _Unwind_Ptr first.
53926 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
53928         [BZ #13629]
53929         * math/s_clog.c: Include <float.h>.
53930         (__clog): Scale large or subnormal inputs.
53931         * math/s_clogf.c: Likewise.
53932         * math/s_clogl.c: Likewise.
53933         * math/s_clog10.c: Include <float.h>.
53934         (M_LOG10_2): Define.
53935         (__clog10): Scale large or subnormal inputs.
53936         * math/s_clog10f.c: Likewise.
53937         * math/s_clog10l.c: Likewise.
53938         * math/libm-test.inc (clog_test): Add more tests.
53939         (clog10_test): Likewise.
53940         * sysdeps/i386/fpu/libm-test-ulps: Update.
53941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53943         [BZ #11451]
53944         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
53945         x and y.
53946         * math/libm-test.inc (atan2_test): Add another test.
53948         * Makerules (common-objdir-compile): Remove.
53949         * sysdeps/unix/Makefile (config-generated): Do not add
53950         $(unix-generated) to variable.
53951         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
53952         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
53953         Remove rule.
53954         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
53955         Likewise.
53956         [generic bits/local_lim.h] (before-compile): Do not append to
53957         variable.
53958         [generic bits/local_lim.h] (common-generated): Likewise.
53959         [generic sys/param.h] (before-compile): Do not append to variable.
53960         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
53961         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
53962         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
53963         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
53964         include.
53965         [generic sys/param.h] (sys/param.h-includes): Remove variable.
53966         [generic sys/param.h] (sys/param.h-includes): Remove rule.
53967         [generic sys/param.h] ($(addprefix
53968         $(common-objpfx),$(sys/param.h-includes))): Likewise.
53969         [generic sys/param.h] (common-generated): Do not append to
53970         variable.
53971         [generic sys/param.h] (sysdep_headers): Likewise.
53972         [generic bits/errno.h] (before-compile): Do not append to
53973         variable.
53974         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
53975         rule.
53976         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
53977         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
53978         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
53979         [generic bits/errno.h] (common-generated): Do not append to
53980         variable.
53981         [generic bits/ioctls.h] (before-compile): Do not append to
53982         variable.
53983         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
53984         rule.
53985         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
53986         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
53987         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
53988         rule.
53989         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
53990         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
53991         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
53992         [generic bits/ioctls.h] (common-generated): Do not append to
53993         variable.
53994         [generic sys/syscall.h] (syscall.h): Remove variable.
53995         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
53996         rule.
53997         [generic sys/syscall.h] (before-compile): Do not append to
53998         variable.
53999         [generic sys/syscall.h] (common-generated): Likewise.
54000         * sysdeps/unix/errnos-tmpl.c: Remove file.
54001         * sysdeps/unix/errnos.awk: Likewise.
54002         * sysdeps/unix/ioctls-tmpl.c: Likewise.
54003         * sysdeps/unix/ioctls.awk: Likewise.
54004         * sysdeps/unix/mk-local_lim.c: Likewise.
54005         * sysdeps/unix/snarf-ioctls: Likewise.
54007 2012-03-19  Richard Henderson  <rth@twiddle.net>
54009         * sysdeps/i386/fpu/fenv_private.h: New file.
54010         * sysdeps/i386/fpu/math_private.h: Use it.
54011         (math_opt_barrier, math_force_eval): Remove.
54012         (libc_feholdexcept_setround_53bit): Remove.
54013         (libc_feupdateenv_53bit): Remove.
54014         * sysdeps/x86_64/fpu/math_private.h: Likewise.
54015         (math_opt_barrier, math_force_eval): Remove.
54016         (libc_feholdexcept): Remove.
54017         (libc_feholdexcept_setround): Remove.
54018         (libc_fetestexcept, libc_fesetenv): Remove.
54019         (libc_feupdateenv_test): Remove.
54020         (libc_feupdateenv, libc_feholdsetround): Remove.
54021         (libc_feresetround): Remove.
54023         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
54024         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
54026         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
54027         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
54028         (libc_feupdateenv_testl): New.
54029         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
54030         (libc_feupdateenv_testf): New.
54031         (libc_feupdateenv): Use libc_feupdateenv_test.
54032         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
54033         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
54035         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
54036         (libc_feholdsetroundf, libc_feholdsetroundl): New.
54037         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
54038         (libc_feresetround_noex): New.
54039         (libc_feresetround_noexf): New.
54040         (libc_feresetround_noexl): New.
54041         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
54042         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
54043         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
54044         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
54045         SET_RESTORE_ROUND.
54046         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
54047         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
54048         (__cos): Likewise.
54049         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
54050         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
54051         SET_RESTORE_ROUND_NOEX.
54052         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
54053         SET_RESTORE_ROUND_NOEXF.
54054         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
54055         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
54056         (libc_feholdsetroundf): New.
54057         (libc_feresetround, libc_feresetroundf): New.
54059         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
54060         (libc_feholdexcept_setround_53bit): Convert from macro to function.
54061         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
54063         * sysdeps/generic/math_private.h: Include <fenv.h>.
54064         (default_libc_feholdexcept): New.
54065         (default_libc_feholdexcept_setround): New.
54066         (default_libc_fesetenv, default_libc_feupdateenv): New.
54067         (libc_feholdexcept): Only define if undefined.
54068         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
54069         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
54070         (libc_feholdexcept_setroundl): Likewise.
54071         (libc_feholdexcept_setround_53bit): Likewise.
54072         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
54073         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
54074         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
54075         (libc_feupdateenv_53bit): Likewise.
54076         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
54077         (libc_feholdexcept): Convert from macro to inline function.
54078         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
54079         (libc_fesetenv, libc_feupdateenv): Likewise.
54081         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
54082         not previously defined.
54083         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
54084         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
54085         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
54086         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
54087         * sysdeps/ieee754/flt-32/math_private.h: New file.
54088         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
54089         math_private.h below SET_FLOAT_WORD.
54090         (__isnan, __isinf_ns, __finite): Remove.
54091         (__isnanf, __isinf_nsf, __finitef): Remove.
54093 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
54095         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54097 2012-03-17  David S. Miller  <davem@davemloft.net>
54099         [BZ #6471]
54100         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
54101         for 2.16.
54103 2012-03-16  David S. Miller  <davem@davemloft.net>
54105         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
54106         warnings.
54108         [BZ #6471]
54109         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
54110         properly.
54111         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
54112         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
54113         sysdep_routines when subdir is sysvipc.
54114         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
54115         __getshmlba helper.
54117         * sysdeps/sparc/fpu/libm-test/ulps: Update.
54119 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54121         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
54122         [__LP64__].
54124 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54126         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
54127         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
54128         (__lround): Renamed to ...
54129         (__llround): This.  Replace long int with long long int.
54130         Define lround functions as aliases of llround functions.
54131         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
54133 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54135         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
54136         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
54137         adresses to uintptr_t.  Replace "long int" and "unsigned long
54138         int" with "greg_t" on va_arg.
54140 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54142         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
54143         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
54145         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
54146         Move e_machine check before EI_CLASS check.  Handle x32
54147         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
54148         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
54149         SKIP_EM_IA_64 and include
54150         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
54152         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
54153         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
54154         (add_system_dir): New macro.
54156         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
54157         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
54159 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
54161         [BZ #2551]
54162         [BZ #2552]
54163         [BZ #2553]
54164         [BZ #2554]
54165         [BZ #2562]
54166         [BZ #2563]
54167         [BZ #2565]
54168         [BZ #2566]
54169         [BZ #2576]
54170         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
54171         (y0): Likewise.
54172         * math/w_j0f.c (j0f): Likewise.
54173         (y0f): Likewise.
54174         * math/w_j0l.c (__j0l): Likewise.
54175         (__y0l): Likewise.
54176         * math/w_j1.c (j1): Likewise.
54177         (y1): Likewise.
54178         * math/w_j1f.c (j1f): Likewise.
54179         (y1f): Likewise.
54180         * math/w_j1l.c (__j1l): Likewise.
54181         (__y1l): Likewise.
54182         * math/w_jn.c (jn): Likewise.
54183         (yn): Likewise.
54184         * math/w_jnf.c (jnf): Likewise.
54185         (ynf): Likewise.
54186         * math/w_jnl.c (__jnl): Likewise.
54187         (__ynl): Likewise.
54188         * math/libm-test.inc (j0_test): Add more tests.
54189         (j1_test): Likewise.
54190         (jn_test): Likewise.  Add trailing semicolon to existing test.
54191         (y0_test): Likewise.
54192         (y1_test): Likewise.
54193         * sysdeps/i386/fpu/libm-test-ulps: Update.
54194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54196         [BZ #13851]
54197         [BZ #13854]
54198         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
54199         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
54200         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
54201         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
54202         (__tanl): Set errno for infinite argument.
54203         * sysdeps/i386/fpu/mptan.c: Remove.
54204         * sysdeps/i386/fpu/s_tan.S: Likewise.
54205         * sysdeps/i386/fpu/s_tanl.S: Likewise.
54206         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
54207         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
54208         * math/libm-test.inc (tan_test): Add more tests and enable more
54209         tests for double and long double.
54210         * sysdeps/i386/fpu/libm-test-ulps: Update.
54211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54213 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
54215         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
54216         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
54218 2012-03-16  Roland McGrath  <roland@hack.frob.com>
54220         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
54221         * configure.in: Use it for both main tree and add-ons.
54222         * configure: Regenerated.
54224 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54226         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
54228 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
54230         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
54231         in comment.
54233         [BZ #13851]
54234         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
54235         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
54236         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
54237         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
54238         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
54239         infinite argument.
54240         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
54241         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
54242         != 0 for prec == 2.
54243         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
54244         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
54245         * sysdeps/i386/fpu/s_cosl.S: Likewise.
54246         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
54247         * sysdeps/i386/fpu/s_sinl.S: Likewise.
54248         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
54249         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
54250         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
54251         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
54252         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
54253         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
54254         * math/libm-test.inc (cos_test): Add more tests and enable more
54255         tests for long double.
54256         (sin_test): Likewise.
54257         (sincos_test): Likewise.
54258         * sysdeps/i386/fpu/libm-test-ulps: Update.
54259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54261 2012-03-16  David S. Miller  <davem@davemloft.net>
54263         * sysdeps/sparc/fpu/math_private.h: New file.
54265 2012-03-15  David S. Miller  <davem@davemloft.net>
54267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
54268         file.
54269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
54270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
54271         file.
54272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
54273         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
54274         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
54275         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
54276         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
54277         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
54278         sysdep routines.
54279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
54281         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
54282         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
54284         * sysdeps/sparc/sparc-ifunc.h: New file.
54285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
54286         sparc-ifunc.h
54287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
54288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
54289         Likewise.
54290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
54291         Likewise.
54292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
54293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
54294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
54295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
54296         Likewise.
54297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
54298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
54299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
54300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
54301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
54302         Likewise.
54303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
54304         Likewise.
54305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
54306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
54307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
54308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
54309         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
54310         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
54311         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
54312         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
54313         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
54314         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
54315         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
54316         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
54317         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
54318         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
54319         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
54320         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
54321         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
54322         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
54323         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
54324         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
54325         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
54326         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
54327         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
54328         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
54330 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
54332         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
54333         scaling.
54334         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54336 2012-03-15  Andreas Jaeger  <aj@suse.de>
54338         [BZ #13852]
54339         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
54340         ieee754/flt-32 implementation for sin, cos and sincos.
54341         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
54342         * sysdeps/i386/fpu/s_cosf.S: Likewise.
54343         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
54344         * sysdeps/i386/fpu/s_sinf.S: Likewise.
54345         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
54346         ieee754/flt-32 implementation for tan.
54348         * math/libm-test.inc (cos_test): Enable some large input tests for
54349         float as well
54350         (sin_test): Likewise.
54351         (sincos_test): Likewise.
54352         (tan_test): Add tests for large input.
54354         * sysdeps/i386/fpu/libm-test-ulps: Update.
54356 2012-03-15  Andreas Jaeger  <aj@suse.de>
54358         [BZ #13658]
54359         * math/libm-test.inc (cos_test): Add more test cases.
54360         (sin_test): Likewise.
54361         (sincos_test): Likewise.
54363 2012-03-15  Andreas Jaeger  <aj@suse.de>
54365         [BZ #13837]
54366         * math/libm-test.inc (cos_test): Add a test case for large input
54367         value.
54368         (sin_test): Likewise.
54369         (sincos_test): Likewise.
54371 2012-03-15  Andreas Jaeger  <aj@suse.de>
54372             Joseph Myers  <joseph@codesourcery.com>
54374         [BZ #13658]
54375         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
54376         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
54377         * sysdeps/i386/fpu/branred.c: Likewise.
54378         * sysdeps/i386/fpu/dosincos.c: Likewise.
54379         * sysdeps/i386/fpu/mpa.c: Likewise.
54380         * sysdeps/i386/fpu/s_cos.S: Likewise.
54381         * sysdeps/i386/fpu/s_sin.S: Likewise.
54382         * sysdeps/i386/fpu/s_sincos.S: Likewise.
54383         * sysdeps/i386/fpu/sincos32.c: Likewise.
54385         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
54386         Define.
54387         (libc_feupdateenv_53bit): Define.
54388         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
54389         Define.
54390         (libc_feupdateenv_53bit): Define.
54392         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
54393         53 bit (without extend i386 double precision).
54395         * math/libm-test.inc (sincos_test): Add tests for large input.
54396         (sin): Likewise.
54397         (cos): Likewise.
54399         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
54401 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
54403         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54405 2012-03-15  David S. Miller  <davem@davemloft.net>
54407         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
54408         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
54409         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
54410         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
54411         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
54412         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
54413         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
54414         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
54415         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
54416         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
54417         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
54418         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
54419         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
54420         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
54421         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
54422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
54423         file.
54424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
54425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
54426         file.
54427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
54428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
54429         file.
54430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
54431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
54432         file.
54433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
54434         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
54435         fmin/fmax sysdep routines.
54436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
54438 2012-03-14  David S. Miller  <davem@davemloft.net>
54440         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
54441         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
54442         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
54443         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
54444         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
54445         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
54446         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
54447         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
54448         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
54449         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
54450         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
54451         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
54452         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
54453         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
54454         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
54455         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
54456         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
54457         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
54458         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
54459         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
54460         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
54461         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
54462         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
54463         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
54464         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
54465         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
54466         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
54467         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
54468         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
54469         routines.
54470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
54471         file.
54472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
54473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
54474         file.
54475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
54476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
54477         file.
54478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
54479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
54480         file.
54481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
54482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
54483         file.
54484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
54485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
54486         file.
54487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
54488         file.
54489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
54490         file.
54491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
54492         file.
54493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
54494         New file.
54495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
54496         file.
54497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
54498         file.
54499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
54500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
54501         file.
54502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
54503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
54504         file.
54505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
54506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
54507         file.
54508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
54509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
54510         VIS3 routines.
54512         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
54513         New file.
54515         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54517         * sysdeps/sparc/configure.in: New file.
54518         * sysdeps/sparc/configure: Generate.
54519         * configure.in (libc_cv_sparc_as_vis3): Substitute.
54520         * configure: Regenerate.
54521         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
54522         * config.make.in (have-as-vis3): New.
54523         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
54524         available use -Av9d instead of -Av9a.
54525         * sysdeps/sparc/sparc64/Makefile: Likewise.
54526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
54527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
54528         New file.
54529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
54530         file.
54531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
54532         New file.
54533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
54534         file.
54535         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
54536         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
54537         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
54538         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
54539         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
54541         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
54542         fzeros/fnegs to load 0x80000000 into a float register instead of
54543         using the stack.
54544         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
54546 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
54548         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54549         bits/syscall.h.
54550         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
54551         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
54552         ($(inst_includedir)/bits/syscall.h): Remove rule.
54553         ($(objpfx)bits/syscall.d): Include instead of
54554         $(objpfx)syscall-list.d.
54555         (generated): Change syscall-list.h and syscall-list.d to
54556         bits/syscall.h and bits/syscall.d.
54558 2012-03-14  Roland McGrath  <roland@hack.frob.com>
54560         [BZ #13846]
54561         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
54563 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
54565         [BZ #13841]
54566         * math/s_csqrt.c: Include <float.h>.
54567         (__csqrt): Scale large or subnormal inputs.
54568         * math/s_csqrtf.c: Likewise.
54569         * math/s_csqrtl.c: Likewise.
54570         * math/libm-test.inc (csqrt_test): Add more tests.
54571         * sysdeps/i386/fpu/libm-test-ulps: Update.
54572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54574         [BZ #13840]
54575         * math/libm-test.inc (hypot_test): Add more tests.
54577 2012-03-13  David S. Miller  <davem@davemloft.net>
54579         [BZ #13840]
54580         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
54581         double-precision for the calculation instead of scaling.
54583 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
54585         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
54586         manipulate bits before adding and subtracting TWO52[sx].
54587         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
54588         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
54589         Likewise.
54590         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
54592 2012-03-13  David S. Miller  <davem@davemloft.net>
54594         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
54595         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
54596         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
54597         rtld-global-offsets.h
54598         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54600         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
54601         large parameters.
54603         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
54605         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
54606         'err' in the ifdef scope in which it is actually used.
54608         * nss/nss_db/db-init.c: Include string.h
54610 2012-03-12  David S. Miller  <davem@davemloft.net>
54612         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
54613         masking out of the most significant byte of random value used.
54614         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54615         Fix coding style in previous change.
54617         * sysdeps/unix/sysv/linux/kernel-features.h
54618         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
54619         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
54620         expression.
54621         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
54622         later.
54624 2012-03-11  David S. Miller  <davem@davemloft.net>
54626         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
54627         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
54628         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
54629         for 'resultvar' otherwise things get truncated on 64-bit.
54631         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54632         Fix masking out of the most significant byte of random value used.
54634         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54636 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
54638         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54640 2012-03-09  David S. Miller  <davem@davemloft.net>
54642         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
54643         variables with appropriate CPP guards.
54644         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
54645         from the frame pointer, not the stack pointer.  Correct layout
54646         comments.  Fix test on resulting framesize and the management of
54647         the outregs buffer for pltexit.  Preserve floating point return
54648         values across _dl_call_pltexit call.
54649         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
54650         framesize and the management of the outregs buffer for pltexit.
54651         Preserve floating point return values across _dl_call_pltexit
54652         call.
54653         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
54654         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
54655         (la_sparc64_gnu_pltexit): New functions.
54656         (print_exit): Fix format string for return register value.
54658 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
54660         * sunrpc/Makefile (others): Add rpcgen.
54661         ($(objpfx)rpcgen): Remove special build rule and dependency on
54662         libc.
54663         * sunrpc/rpcgen.c: New file.
54665 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
54667         [BZ #13673]
54668         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
54669         * stdio-common/bug-vfprintf-nargs.c: Likewise.
54670         * sysdeps/i386/crti.S: Likewise.
54671         * sysdeps/i386/crtn.S: Likewise.
54672         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
54673         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
54674         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
54675         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
54676         * sysdeps/sh/crti.S: Likewise.
54677         * sysdeps/sh/crtn.S: Likewise.
54678         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
54680         [BZ #13673]
54681         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
54682         with URL.
54683         * locale/programs/locfile-kw.gperf: Likewise.
54684         * locale/programs/charmap-kw.h: Regenerated.
54685         * locale/programs/locfile-kw.h: Likewise.
54687         [BZ #13673]
54688         * intl/plural.y: Replace FSF snail mail address with URL.
54689         * intl/plural.c: Regenerated.
54691 2012-03-09  Richard Henderson  <rth@twiddle.net>
54693         * include/math_private.h: Remove file.
54694         * math/math_private.h: Move file ...
54695         * sysdeps/generic/math_private.h: ... here.
54697         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
54698         * sysdeps/powerpc/fpu/math_private.h: Likewise.
54699         * sysdeps/x86_64/fpu/math_private.h: Likewise.
54701         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
54702         and <math_private.h>.
54703         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
54704         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
54705         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
54706         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
54707         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
54708         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
54709         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54710         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54711         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
54712         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54713         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54714         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54715         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
54716         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54717         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
54718         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
54719         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54720         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54721         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
54722         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
54723         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54724         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
54725         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
54726         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54727         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
54728         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54729         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
54730         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54731         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54732         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54733         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
54734         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54735         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
54736         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
54737         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54738         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54739         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54740         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54741         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54742         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54743         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
54744         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54745         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
54746         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
54747         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
54748         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54749         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
54750         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
54751         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54752         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54753         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
54754         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
54755         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
54756         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54757         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
54758         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
54759         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54760         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
54761         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
54762         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
54763         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54764         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
54765         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54766         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54767         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
54768         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54769         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54770         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54771         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
54772         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
54773         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
54774         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54775         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
54776         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54777         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
54778         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
54779         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
54780         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54781         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
54782         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
54783         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
54784         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
54785         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
54786         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
54787         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
54788         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
54789         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
54790         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
54791         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
54792         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54793         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54794         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
54795         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54796         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
54797         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
54798         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
54799         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54800         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
54801         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
54802         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
54803         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
54804         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
54805         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
54806         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
54807         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54808         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
54809         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
54810         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
54811         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54812         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54813         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54814         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54815         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
54816         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54817         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
54818         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54819         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54820         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
54821         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54822         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
54823         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54824         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
54825         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54826         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
54827         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54828         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
54829         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
54830         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
54831         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
54832         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
54833         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
54834         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
54835         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54836         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
54837         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
54838         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
54839         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
54840         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
54841         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
54842         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
54843         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54844         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
54845         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
54846         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
54847         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
54848         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
54849         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
54850         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
54851         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
54852         * sysdeps/ieee754/k_standard.c: Likewise.
54853         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
54854         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
54855         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54856         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
54857         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
54858         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
54859         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
54860         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
54861         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
54862         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
54863         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
54864         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
54865         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
54866         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
54867         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
54868         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
54869         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
54870         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
54871         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
54872         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
54873         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
54874         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
54875         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54876         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
54877         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
54878         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
54879         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
54880         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
54881         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
54882         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54883         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
54884         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
54885         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
54886         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
54887         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
54888         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
54889         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
54890         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
54891         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
54892         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
54893         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
54894         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
54895         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
54896         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
54897         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
54898         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
54899         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
54900         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
54901         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
54902         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54903         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54904         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
54905         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
54906         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
54907         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54908         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54909         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
54910         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
54911         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
54912         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
54913         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54914         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
54915         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
54916         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
54917         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54918         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54919         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
54920         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
54921         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
54922         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
54923         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
54924         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54925         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
54926         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
54927         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
54928         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
54929         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
54930         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
54931         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54932         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
54933         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
54934         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
54935         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
54936         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
54937         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
54938         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
54939         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
54940         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
54941         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
54942         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
54943         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
54944         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
54945         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
54946         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
54947         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
54948         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
54949         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
54950         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
54951         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
54952         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
54953         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
54954         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
54955         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54956         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
54957         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
54958         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54959         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54960         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
54961         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
54962         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
54963         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
54964         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
54965         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
54966         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54967         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
54968         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
54969         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
54970         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54971         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
54972         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
54973         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
54974         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
54975         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
54976         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
54977         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54978         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
54979         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54980         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
54981         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
54982         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54983         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54984         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54985         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54986         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
54987         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
54988         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
54989         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
54990         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
54991         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54992         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
54993         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
54994         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54995         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
54996         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
54997         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
54998         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54999         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
55000         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
55001         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
55002         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
55003         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
55004         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
55005         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
55006         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
55007         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
55008         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
55009         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
55010         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
55011         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
55012         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
55013         * sysdeps/ieee754/s_lib_version.c: Likewise.
55014         * sysdeps/ieee754/s_matherr.c: Likewise.
55015         * sysdeps/ieee754/s_signgam.c: Likewise.
55016         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
55017         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55018         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
55019         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
55020         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
55021         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
55022         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
55023         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
55024         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
55025         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
55026         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
55027         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
55028         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
55029         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
55030         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
55031         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
55032         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
55033         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
55034         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
55035         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55036         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55038 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
55040         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
55041         * sunrpc/rpc_main.c: Likewise.
55042         * sunrpc/rpc_svcout.c: Likewise.
55044 2012-03-09  David S. Miller  <davem@davemloft.net>
55046         * include/math_private.h: New file.
55048 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
55050         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
55051         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
55052         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
55053         from <bits/socket_type.h>.
55054         (enum __socket_type): Don't define here.
55055         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
55056         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55057         bits/socket_type.h.
55059         [BZ #13566]
55060         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
55061         checking __USE_GNU.
55063         * Makerules ($(inst_includedir)/%.h): New rule.
55064         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
55065         (install-others): Remove variable setting.
55066         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
55068 2012-03-08  Richard Henderson  <rth@twiddle.net>
55070         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
55071         from macro to inline function; merge with the
55072         !__LIBC_INTERNAL_MATH_INLINES version.
55073         (__ieee754_sqrtf): Likewise.
55075         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
55076         to inline function.
55077         (__rintf, __floor, __floorf): Likewise.
55079         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
55080         macro to inline function.
55081         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
55083         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
55084         not <math/math_private.h>.
55086 2012-03-08  David S. Miller  <davem@davemloft.net>
55088         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
55089         copyright year.
55090         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
55092 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
55094         * resolv/gai_misc.c (handle_requests): Fix struct timespec
55095         normalization.
55096         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
55097         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
55099 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
55101         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
55102         be defined individually, they must be defined as a block.  Define
55103         S for printing a string instead of hidint the different by using a
55104         macro for adding the 'l'.
55105         * stdio-common/tst-fphex-wide.c: Adjust.
55107 2012-03-07  Marek Polacek  <polacek@redhat.com>
55109         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
55111 2012-03-08  Marek Polacek  <polacek@redhat.com>
55113         [BZ #13806]
55114         * stdio-common/Makefile (tests): Add tst-fphex-wide.
55115         * stdio-common/tst-fphex.c: Define a few macros to make the
55116         test reusable.  Use them.
55117         * stdio-common/tst-fphex-wide.c: New file.
55119 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
55121         [BZ #6911]
55122         * manual/macros.texi (gnusystems): New macro.
55123         (nongnusystems): Likewise.
55124         (gnulinuxhurdsystems): Likewise.
55125         (gnuhurdsystems): Likewise..
55126         (gnulinuxsystems): Likewise.
55127         * manual/charset.texi: Use new macros or @theglibc{} to refer to
55128         variants of the GNU system, not "GNU system".
55129         * manual/conf.texi: Likewise.
55130         * manual/errno.texi: Likewise.  Update example of errno macro
55131         expansion.
55132         * manual/filesys.texi: Likewise.
55133         (getumask): Document as specific to GNU/Hurd.
55134         * manual/install.texi: Likewise.  Reword some references to
55135         GNU/Linux.
55136         * manual/intro.texi: Likewise.
55137         * manual/io.texi: Likewise.
55138         (File Name Portability): Detail which constraints are inapplicable
55139         to all GNU systems and which are only inapplicable to GNU/Hurd.
55140         * manual/job.texi: Likewise.
55141         * manual/llio.texi: Likewise.
55142         (O_NOCTTY): Document as present on GNU/Linux.
55143         * manual/maint.texi: Likewise.
55144         * manual/memory.texi: Likewise.
55145         * manual/pattern.texi: Likewise.
55146         * manual/pipe.texi: Likewise.
55147         * manual/process.texi: Likewise.
55148         * manual/resource.texi: Likewise.
55149         (RUSAGE_CHILDREN): Remove statement about specifying a particular
55150         child on GNU/Hurd.
55151         * manual/setjmp.texi: Likewise.
55152         * manual/signal.texi: Likewise.
55153         * manual/startup.texi: Likewise.
55154         * manual/stdio.texi: Likewise.
55155         * manual/terminal.texi: Likewise.
55156         (ONLCR): Document as POSIX.
55157         (OXTABS): Document availability on GNU/Linux as XTABS.
55158         (ONOEOT): Document availability separately from other bits.
55159         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
55160         * manual/time.texi: Likewise.
55161         * manual/users.texi: Likewise.
55162         * INSTALL: Regenerated.
55163         * sysdeps/gnu/errlist.c: Regenerated.
55165         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
55166         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
55167         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
55168         puts.
55169         * configure: Regenerated.
55171 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
55173         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
55174         default includes instead of AC_HEADER_CHECK.
55175         * sysdeps/i386/configure: Regenerated.
55177         [BZ #10716]
55178         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
55179         * math/s_cacoshf.c (__cacoshf): Likewise.
55180         * math/s_cacoshl.c (__cacoshl): Likewise.
55181         * math/s_casinh.c (__casinh): Set signs of result from argument.
55182         * math/s_casinhf.c (__casinhf): Likewise.
55183         * math/s_casinhl.c (__casinhl): Likewise.
55184         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
55185         (casinh_test): Add more tests.
55186         * sysdeps/i386/fpu/libm-test-ulps: Update.
55187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55189 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
55191         * po/zh_TW.po: Update from translation team.
55193         * login/Makefile (distribute): Remove variable.
55194         * catgets/Makefile: Likewise.
55195         * mach/Makefile: Likewise.
55196         * malloc/Makefile: Likewise.
55197         * misc/Makefile: Likewise.
55198         * iconv/Makefile: Likewise.
55199         * nscd/Makefile: Likewise.
55200         * hurd/Makefile: Likewise.
55201         * manual/Makefile: Likewise.
55202         * locale/Makefile: Likewise.
55203         * intl/Makefile: Likewise.
55204         * conform/Makefile: Likewise.
55205         * nss/Makefile: Likewise.
55206         * time/Makefile: Likewise.
55207         * soft-fp/Makefile: Likewise.
55208         * dirent/Makefile: Likewise.
55209         * gmon/Makefile: Likewise.
55210         * po/Makefile: Likewise.
55211         * rt/Makefile: Likewise.
55212         * socket/Makefile: Likewise.
55213         * math/Makefile: Likewise.
55214         * signal/Makefile: Likewise.
55215         * debug/Makefile: Likewise.
55216         * elf/Makefile: Likewise.
55217         * timezone/Makefile: Likewise.
55218         * stdlib/Makefile: Likewise.
55219         * iconvdata/Makefile: Likewise.
55220         * sunrpc/Makefile: Likewise.
55221         * io/Makefile: Likewise.
55222         * argp/Makefile: Likewise.
55223         * inet/Makefile: Likewise.
55224         * hesiod/Makefile: Likewise.
55225         * grp/Makefile: Likewise.
55226         * csu/Makefile: Likewise.
55227         * wctype/Makefile: Likewise.
55228         * crypt/Makefile: Likewise.
55229         * libio/Makefile: Likewise.
55230         * string/Makefile: Likewise.
55231         * nis/Makefile: Likewise.
55232         * resolv/Makefile: Likewise.
55233         * stdio-common/Makefile: Likewise.
55234         * wcsmbs/Makefile: Likewise.
55235         * dlfcn/Makefile: Likewise.
55236         * posix/Makefile: Likewise.
55238         [BZ #6959]
55239         * timezone/Makefile: Don't install timezone files, just the programs
55240         and scripts.
55242 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
55244         * nss/databases.def: Add missing gshadow entry.
55246         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
55248 2012-03-06  Marek Polacek  <polacek@redhat.com>
55250         [BZ #13726]
55251         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
55252         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
55253         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
55254         * stdio-common/tst-long-dbl-fphex.c: New file.
55256 2012-03-06  David S. Miller  <davem@davemloft.net>
55258         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55259         (set_obp_int): New function.
55260         (get_obp_int): New function.
55261         (__get_clockfreq_via_dev_openprom): Likewise.
55262         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
55263         Avoid unused variable warnings on 'val' and use builtin_expect.
55264         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
55265         __builtin_expect.
55266         (INLINE_CLONE_SYSCALL): Likewise.
55268 2012-03-05  David S. Miller  <davem@davemloft.net>
55270         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55272 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
55274         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55276         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
55277         only for |x| >= 40.
55278         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
55280 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
55282         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
55283         Replace gettimeofday with __vdso_gettimeofday.
55285         * sysdeps/unix/sysv/linux/x86_64/init-first.c
55286         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
55287         __vdso_clock_gettime and __vdso_getcpu.
55289         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
55290         time with __vdso_time.
55292 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
55294         * manual/lang.texi (size_t): Note types to which size_t may be
55295         equivalent with the GNU C Library, but do not describe when
55296         differences between them are significant.
55298 2012-03-05  Andreas Jaeger  <aj@suse.de>
55300         * sysdeps/i386/fpu/libm-test-ulps: Update.
55302 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
55304         [BZ #3976]
55305         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
55306         (__ieee754_pow): Save and restore rounding mode and use
55307         round-to-nearest for main computations.
55308         * math/libm-test.inc (pow_test_tonearest): New function.
55309         (pow_test_towardzero): Likewise.
55310         (pow_test_downward): Likewise.
55311         (pow_test_upward): Likewise.
55312         (main): Call the new functions.
55313         * sysdeps/i386/fpu/libm-test-ulps: Update.
55314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55316         [BZ #3976]
55317         * math/libm-test.inc (cosh_test_tonearest): New function.
55318         (cosh_test_towardzero): Likewise.
55319         (cosh_test_downward): Likewise.
55320         (cosh_test_upward): Likewise.
55321         (sinh_test_tonearest): Likewise.
55322         (sinh_test_towardzero): Likewise.
55323         (sinh_test_downward): Likewise.
55324         (sinh_test_upward): Likewise.
55325         (main): Call the new functions.
55326         * sysdeps/i386/fpu/libm-test-ulps: Update.
55327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55329 2012-03-05  Tom de Vries  <tom@codesourcery.com>
55331         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
55332         default stack guard is set in last bytes.
55333         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
55335 2012-03-05  Kees Cook  <keescook@chromium.org>
55337         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
55339         [BZ #13656]
55340         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
55341         possibly allocate from heap instead of stack.
55342         * stdio-common/bug-vfprintf-nargs.c: New file.
55343         * stdio-common/Makefile (tests): Add nargs overflow test.
55345 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
55347         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55349 2012-03-03  Marek Polacek  <polacek@redhat.com>
55351         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
55352         * math/math_private.h: Likewise.
55353         * stdlib/tst-strtod.c: Likewise.
55354         * sysdeps/i386/i486/bits/atomic.h: Likewise.
55355         * sysdeps/x86_64/bits/atomic.h: Likewise.
55357 2012-03-02  David S. Miller  <davem@davemloft.net>
55359         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
55360         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
55361         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
55362         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
55363         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
55364         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
55365         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
55366         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
55368 2012-03-02  Roland McGrath  <roland@hack.frob.com>
55370         [BZ #13792]
55371         * manual/examples/README: New file, says the example source files
55372         can be used under GPL>=2.
55373         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
55374         line containing just "*/".
55375         * manual/examples/add.c: Add copyright header (GPL>=2).
55376         * manual/examples/argp-ex1.c: Likewise.
55377         * manual/examples/argp-ex2.c: Likewise.
55378         * manual/examples/argp-ex3.c: Likewise.
55379         * manual/examples/argp-ex4.c: Likewise.
55380         * manual/examples/atexit.c: Likewise.
55381         * manual/examples/db.c: Likewise.
55382         * manual/examples/dir.c: Likewise.
55383         * manual/examples/dir2.c: Likewise.
55384         * manual/examples/execinfo.c: Likewise.
55385         * manual/examples/filecli.c: Likewise.
55386         * manual/examples/filesrv.c: Likewise.
55387         * manual/examples/fmtmsgexpl.c: Likewise.
55388         * manual/examples/genpass.c: Likewise.
55389         * manual/examples/inetcli.c: Likewise.
55390         * manual/examples/inetsrv.c: Likewise.
55391         * manual/examples/isockad.c: Likewise.
55392         * manual/examples/longopt.c: Likewise.
55393         * manual/examples/memopen.c: Likewise.
55394         * manual/examples/memstrm.c: Likewise.
55395         * manual/examples/mkfsock.c: Likewise.
55396         * manual/examples/mkisock.c: Likewise.
55397         * manual/examples/mygetpass.c: Likewise.
55398         * manual/examples/pipe.c: Likewise.
55399         * manual/examples/popen.c: Likewise.
55400         * manual/examples/rprintf.c: Likewise.
55401         * manual/examples/search.c: Likewise.
55402         * manual/examples/select.c: Likewise.
55403         * manual/examples/setjmp.c: Likewise.
55404         * manual/examples/sigh1.c: Likewise.
55405         * manual/examples/sigusr.c: Likewise.
55406         * manual/examples/stpcpy.c: Likewise.
55407         * manual/examples/strdupa.c: Likewise.
55408         * manual/examples/strftim.c: Likewise.
55409         * manual/examples/strncat.c: Likewise.
55410         * manual/examples/subopt.c: Likewise.
55411         * manual/examples/swapcontext.c: Likewise.
55412         * manual/examples/termios.c: Likewise.
55413         * manual/examples/testopt.c: Likewise.
55414         * manual/examples/testpass.c: Likewise.
55415         * manual/examples/timeval_subtract.c: Likewise.
55417         [BZ #13792]
55418         * manual/time.texi (Elapsed Time): Move timeval_subtract example
55419         function to ...
55420         * manual/timeval_subtract.c.texi: ... here, new file.
55422 2012-03-02  David S. Miller  <davem@davemloft.net>
55424         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
55426 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
55428         [BZ #3976]
55429         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
55430         (__sin): Save and restore rounding mode and use round-to-nearest
55431         for all computations.
55432         (__cos): Save and restore rounding mode and use round-to-nearest
55433         for all computations.
55434         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
55435         <fenv.h>.
55436         (tan): Save and restore rounding mode and use round-to-nearest for
55437         all computations.
55438         * math/libm-test.inc (cos_test_tonearest): New function.
55439         (cos_test_towardzero): Likewise.
55440         (cos_test_downward): Likewise.
55441         (cos_test_upward): Likewise.
55442         (sin_test_tonearest): Likewise.
55443         (sin_test_towardzero): Likewise.
55444         (sin_test_downward): Likewise.
55445         (sin_test_upward): Likewise.
55446         (tan_test_tonearest): Likewise.
55447         (tan_test_towardzero): Likewise.
55448         (tan_test_downward): Likewise.
55449         (tan_test_upward): Likewise.
55450         (main): Call the new functions.
55451         * sysdeps/i386/fpu/libm-test-ulps: Update.
55452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55454         [BZ #10135]
55455         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
55456         small n, then large n, before computing and testing k+n.
55457         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
55458         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
55459         Likewise.
55460         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
55461         Likewise.
55462         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
55463         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
55464         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
55465         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
55466         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
55467         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
55468         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
55469         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
55470         * math/libm-test.inc (scalbn_test): Add more tests.
55471         (scalbln_test): Likewise.
55473         * manual/filesys.texi (mode_t): Describe constraints on size and
55474         signedness, not exact equivalence to a particular type.
55475         (ino_t): Likewise.
55476         (ino64_t): Likewise.
55477         (dev_t): Likewise.
55478         (nlink_t): Likewise.
55479         (blkcnt_t): Likewise.
55480         (blkcnt64_t): Likewise.
55481         * manual/llio.texi (off_t): Likewise.
55483         [BZ #3976]
55484         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
55485         (__ieee754_exp): Save and restore rounding mode and use
55486         round-to-nearest for all computations.
55487         * math/libm-test.inc (exp_test_tonearest): New function.
55488         (exp_test_towardzero): Likewise.
55489         (exp_test_downward): Likewise.
55490         (exp_test_upward): Likewise.
55491         (main): Call the new functions.
55492         * sysdeps/i386/fpu/libm-test-ulps: Update.
55493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55495 2012-03-01  Chris Demetriou  <cgd@google.com>
55497         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
55498         have predictable order.
55500 2012-03-01  David S. Miller  <davem@davemloft.net>
55502         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
55504         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
55505         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
55506         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
55507         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
55509         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
55510         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
55511         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
55512         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
55513         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
55514         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
55515         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
55516         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
55517         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
55519         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55521         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
55522         * sysdeps/sparc/fpu/libm-test-ulps: to here.
55523         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
55525         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
55526         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
55527         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
55528         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
55529         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
55530         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
55531         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
55532         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
55533         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
55534         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
55535         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
55536         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55537         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
55538         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
55539         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
55540         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55541         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
55542         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
55543         * sysdeps/sparc/elf/configure: Regenerated.
55545 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
55547         * configure.in (AS, LD): Require binutils 2.20 or later.
55548         * configure: Regenerated.
55549         * manual/install.texi (Tools for Compilation): Give binutils 2.20
55550         as required minimum version.
55551         * INSTALL: Regenerated.
55553         [BZ #2541]
55554         [BZ #4108]
55555         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
55556         before squaring exponent.
55557         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
55558         bottom long double and 27 bits of top long double before squaring
55559         exponent.
55560         * math/libm-test.inc (erfc_test): Add more tests.
55561         * sysdeps/i386/fpu/libm-test-ulps: Update.
55562         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55565 2012-03-01  Kai Tietz  <ktietz@redhat.com>
55567         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
55568         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
55569         containing bit-fields.
55570         * soft-fp/extended.h (_FP_UNION_E): Likewise.
55571         * soft-fp/single.h (_FP_UNION_S): Likewise.
55572         * soft-fp/double.h (_FP_UNION_D): Likewise.
55574 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
55576         [BZ #13786]
55577         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
55578         not include ../strcmp.S.
55579         [USE_AS_STRNCASECMP_L]: Likewise.
55580         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
55581         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
55582         * sysdeps/i386/i686/multiarch/strncase_l-c.c
55583         (__strncasecmp_l_ia32): Define as alias to
55584         __strncasecmp_l_nonascii.
55586         [BZ #5794]
55587         * math/libm-test.inc (expm1_test): Add test for bug 5794.
55588         * sysdeps/i386/fpu/libm-test-ulps: Update.
55589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55591         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
55592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55594 2012-02-29  Jeff Law  <law@redhat.com>
55596         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
55597         out of bounds read.
55599 2012-02-29  Marek Polacek  <polacek@redhat.com>
55601         [BZ #13706]
55602         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
55603         * elf/Makefile: Add rules to run tst-unused-dep.out.
55605 2012-02-28  David S. Miller  <davem@davemloft.net>
55607         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
55608         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
55609         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
55610         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
55611         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
55612         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
55614 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
55616         * math/libm-test.inc (llround_test): Move one test from
55617         lround_test.  Use TEST_f_L in moved test.
55618         (lround_test): Move misplaced test to llround_test.  Add testcase
55619         from bug 2561.
55621 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
55623         * sysdeps/x86_64/fpu/e_expf.S: New file.
55624         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
55626 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
55628         [BZ #13637]
55629         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
55630         of remain_len that may cause incomplete multi-byte character and
55631         false match.
55632         * posix/bug-regex33.c: New file.
55633         * posix/Makefile (tests): Add bug-regex33.
55635 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
55637         * manual/macros.texi: New file.
55638         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
55639         * manual/libc.texinfo: Include macros.texi.
55640         * manual/creatute.texi: Likewise.
55641         * manual/install.texi: Likewise.
55642         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
55643         @glibcadj{} in references to the GNU C Library.
55644         * manual/charset.texi: Likewise.
55645         * manual/conf.texi: Likewise.
55646         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
55647         when not using those macros.
55648         * manual/creature.texi: Likewise.
55649         * manual/crypt.texi: Likewise.
55650         * manual/errno.texi: Likewise.
55651         * manual/filesys.texi: Likewise.
55652         * manual/header.texi: Likewise.
55653         * manual/install.texi: Likewise.
55654         * manual/intro.texi: Likewise.
55655         * manual/io.texi: Likewise.
55656         * manual/job.texi: Likewise.
55657         * manual/lang.texi: Likewise.
55658         * manual/libc.texiinfo: Likewise.
55659         * manual/llio.texi: Likewise.
55660         * manual/locale.texi: Likewise.
55661         * manual/maint.texi: Likewise.
55662         * manual/math.texi: Likewise.
55663         * manual/memory.texi: Likewise.
55664         * manual/message.texi: Likewise.
55665         * manual/nss.texi: Likewise.
55666         * manual/pattern.texi: Likewise.
55667         * manual/process.texi: Likewise.
55668         * manual/resource.texi: Likewise.
55669         * manual/search.texi: Likewise.
55670         * manual/setjmp.texi: Likewise.
55671         * manual/signal.texi: Likewise.
55672         * manual/socket.texi: Likewise.
55673         * manual/startup.texi: Likewise.
55674         * manual/stdio.texi: Likewise.
55675         * manual/string.texi: Likewise.
55676         * manual/sysinfo.texi: Likewise.
55677         * manual/syslog.texi: Likewise.
55678         * manual/terminal.texi: Likewise.
55679         * manual/time.texi: Likewise.
55680         * manual/users.texi: Likewise.
55681         * INSTALL: Regenerated.
55682         * NOTES: Regenerated.
55683         * sysdeps/gnu/errlist.c: Regenerated.
55685 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
55687         * include/dirent.h: Include <dirstream.h> before
55688         <dirent/dirent.h>.
55690 2012-02-28  David S. Miller  <davem@davemloft.net>
55692         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
55693         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
55694         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
55695         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
55697 2012-02-27  David S. Miller  <davem@davemloft.net>
55699         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
55700         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
55701         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
55702         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
55704         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
55705         frame pointer instead of stack pointer relative arg slot.
55706         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
55707         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
55708         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
55710 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
55712         [BZ #3992]
55713         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
55715 2012-02-27  David S. Miller  <davem@davemloft.net>
55717         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
55718         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
55719         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
55720         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
55721         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
55722         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
55723         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
55724         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
55726 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
55728         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
55729         later.  Allow versions 5-9.
55730         * configure: Regenerated.
55731         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
55732         required minimum version and 4.6 as recommended version.  Do not
55733         mention bugs in GCC 2.7 and 2.8.
55734         * INSTALL: Regenerated.
55736 2012-02-27  David S. Miller  <davem@davemloft.net>
55738         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
55739         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
55740         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
55741         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
55742         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
55743         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
55744         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
55745         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
55747         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
55748         manipulate bits before adding and subtracting TWO112[sx].
55749         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
55751 2012-02-27  Roland McGrath  <roland@hack.frob.com>
55753         [BZ #13775]
55754         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
55755         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
55756         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
55757         being in POSIX, because they are in 1003.1-2008.
55759         * rt/tst-aio.c: Include <fcntl.h>.
55760         * rt/tst-aio7.c: Likewise.
55761         * rt/tst-aio64.c: Likewise.
55763         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
55765 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
55767         * manual/install.texi (--with-headers): Describe headers as
55768         interface headers, not private headers.
55769         (Specific advice for GNU/Linux systems): Describe use of headers
55770         from "make headers_install", not private headers from older
55771         kernels.
55772         * INSTALL: Regenerated.
55773         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
55774         Change to 2.6.19.
55775         * sysdeps/unix/sysv/linux/configure: Regenerated.
55777         * manual/llio.texi (fclean): Remove documentation.
55779         * manual/Makefile (libc-texi-generated): New variable.  Include
55780         version.texi.
55781         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
55782         $(libc-texi-generated), not duplicated list of files.
55783         (version.texi, stamp-version): New rules.
55784         (realclean): Remove $(libc-texi-generated), not individual files
55785         from that list.  Do not remove dir-add.texinfo.
55786         * manual/libc.texinfo: Comment out uses of edition numbers and
55787         references to printed manual.  Remove last-updated dates.
55788         (EDITION): Comment out.
55789         (ISBN): Likewise.
55790         (VERSION, UPDATED): Remove.
55791         (version.texi): Include.
55793 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
55795         * sysdeps/posix/spawni.c: Include <signal.h>.
55796         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
55797         * sysdeps/pthread/aio_fsync.c: Likewise.
55799 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
55801         * conform/Makefile (tests): Run only when not cross-compiling and
55802         when fast-check is not defined.
55804         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
55805         * conform/data/limits.h-data: Fixes for POSIX2008.
55806         * conform/run-conformtest.sh: Run all tests.
55807         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
55808         headers.
55809         * include/bits/dlfcn.h: Likewise.
55810         * include/langinfo.h: Likewise.
55811         * include/monetary.h: Likewise.
55812         * include/sys/poll.h: Likewise.
55814         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
55815         for __USE_GNU.
55816         * posix/spawn.h: Define __need_sigset_t.
55817         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
55818         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
55819         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
55820         to get sigevent_t only.
55821         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
55822         only for __USE_GNU.
55823         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55824         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
55825         process_vm_writev only for __USE_GNU.
55826         * termios/termios.h: Declare tcgetsid also for POSIX2008.
55828         * conform/Makefile: For now ignore errors from run-conformtest.
55829         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
55830         POSIX to avoid namespace pollution.  Don't prepend headers.
55831         * conform/data/aio.h-data: Fixes for POSIX testing.
55832         * conform/data/fcntl.h-data: Likewise.
55833         * conform/data/glob.h-data: Likewise.
55834         * conform/data/grp.h-data: Likewise.
55835         * conform/data/pthread.h-data: Likewise.
55836         * conform/data/pwd.h-data: Likewise.
55837         * conform/data/signal.h-data: Likewise.
55838         * conform/data/spawn.h-data: Likewise.
55839         * conform/data/stdio.h-data: Likewise.
55840         * conform/data/stdlib.h-data: Likewise.
55841         * conform/data/stropts.h-data: Likewise.
55842         * conform/data/sys/mman.h-data: Likewise.
55843         * conform/data/sys/stat.h-data: Likewise.
55844         * conform/data/sys/types.h-data: Likewise.
55845         * conform/data/sys/wait.h-data: Likewise.
55846         * conform/data/time.h-data: Likewise.
55847         * conform/data/unistd.h-data: Likewise.
55848         * conform/data/utime.h-data: Likewise.
55850         * io/sys/stat.h: fchmod was always in POSIX.
55851         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
55852         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
55853         * rt/aio.h: Define __need_timespec before including <time.h>.
55854         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
55855         struct.  Add forward declaration of pthread_attr_t and use it in
55856         sigevent.
55857         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55858         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55859         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
55860         always remove CLK_TCK definition.
55862 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
55864         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
55866 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
55868         * conform/run-conformtest.sh: New file.
55869         * conform/Makefile: Run run-conformtest for tests.
55870         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
55871         support.
55873         * conform/data/uchar.h-data: New file.
55874         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
55875         * conform/data/arpa/inet.h-data: Likewise.
55876         * conform/data/assert.h-data: Likewise.
55877         * conform/data/complex.h-data: Likewise.
55878         * conform/data/cpio.h-data: Likewise.
55879         * conform/data/ctype.h-data: Likewise.
55880         * conform/data/dirent.h-data: Likewise.
55881         * conform/data/dlfcn.h-data: Likewise.
55882         * conform/data/errno.h-data: Likewise.
55883         * conform/data/fcntl.h-data: Likewise.
55884         * conform/data/float.h-data: Likewise.
55885         * conform/data/fmtmsg.h-data: Likewise.
55886         * conform/data/fnmatch.h-data: Likewise.
55887         * conform/data/ftw.h-data: Likewise.
55888         * conform/data/glob.h-data: Likewise.
55889         * conform/data/grp.h-data: Likewise.
55890         * conform/data/iconv.h-data: Likewise.
55891         * conform/data/inttypes.h-data: Likewise.
55892         * conform/data/langinfo.h-data: Likewise.
55893         * conform/data/libgen.h-data: Likewise.
55894         * conform/data/limits.h-data: Likewise.
55895         * conform/data/locale.h-data: Likewise.
55896         * conform/data/math.h-data: Likewise.
55897         * conform/data/monetary.h-data: Likewise.
55898         * conform/data/mqueue.h-data: Likewise.
55899         * conform/data/ndbm.h-data: Likewise.
55900         * conform/data/net/if.h-data: Likewise.
55901         * conform/data/netdb.h-data: Likewise.
55902         * conform/data/netinet/in.h-data: Likewise.
55903         * conform/data/nl_types.h-data: Likewise.
55904         * conform/data/poll.h-data: Likewise.
55905         * conform/data/pthread.h-data: Likewise.
55906         * conform/data/pwd.h-data: Likewise.
55907         * conform/data/regex.h-data: Likewise.
55908         * conform/data/sched.h-data: Likewise.
55909         * conform/data/search.h-data: Likewise.
55910         * conform/data/semaphore.h-data: Likewise.
55911         * conform/data/setjmp.h-data: Likewise.
55912         * conform/data/signal.h-data: Likewise.
55913         * conform/data/spawn.h-data: Likewise.
55914         * conform/data/stdarg.h-data: Likewise.
55915         * conform/data/stdio.h-data: Likewise.
55916         * conform/data/stdlib.h-data: Likewise.
55917         * conform/data/string.h-data: Likewise.
55918         * conform/data/strings.h-data: Likewise.
55919         * conform/data/stropts.h-data: Likewise.
55920         * conform/data/sys/ipc.h-data: Likewise.
55921         * conform/data/sys/mman.h-data: Likewise.
55922         * conform/data/sys/msg.h-data: Likewise.
55923         * conform/data/sys/resource.h-data: Likewise.
55924         * conform/data/sys/select.h-data: Likewise.
55925         * conform/data/sys/sem.h-data: Likewise.
55926         * conform/data/sys/shm.h-data: Likewise.
55927         * conform/data/sys/socket.h-data: Likewise.
55928         * conform/data/sys/stat.h-data: Likewise.
55929         * conform/data/sys/statvfs.h-data: Likewise.
55930         * conform/data/sys/time.h-data: Likewise.
55931         * conform/data/sys/timeb.h-data: Likewise.
55932         * conform/data/sys/times.h-data: Likewise.
55933         * conform/data/sys/types.h-data: Likewise.
55934         * conform/data/sys/uio.h-data: Likewise.
55935         * conform/data/sys/un.h-data: Likewise.
55936         * conform/data/sys/utsname.h-data: Likewise.
55937         * conform/data/sys/wait.h-data: Likewise.
55938         * conform/data/syslog.h-data: Likewise.
55939         * conform/data/tar.h-data: Likewise.
55940         * conform/data/termios.h-data: Likewise.
55941         * conform/data/utime.h-data: Likewise.
55942         * conform/data/utmpx.h-data: Likewise.
55943         * conform/data/varargs.h-data: Likewise.
55944         * conform/data/wchar.h-data: Likewise.
55945         * conform/data/wctype.h-data: Likewise.
55946         * conform/data/wordexp.h-data: Likewise.
55948         * include/stropts.h: New file.
55949         * include/uchar.h: New file.
55950         * include/aio.h: Changes to allow conformtest.pl to use the headers.
55951         * include/assert.h: Likewise.
55952         * include/ctype.h: Likewise.
55953         * include/dirent.h: Likewise.
55954         * include/dlfcn.h: Likewise.
55955         * include/fcntl.h: Likewise.
55956         * include/fnmatch.h: Likewise.
55957         * include/glob.h: Likewise.
55958         * include/grp.h: Likewise.
55959         * include/libio.h: Likewise.
55960         * include/locale.h: Likewise.
55961         * include/math.h: Likewise.
55962         * include/net/if.h: Likewise.
55963         * include/netdb.h: Likewise.
55964         * include/netinet/in.h: Likewise.
55965         * include/pthread.h: Likewise.
55966         * include/pwd.h: Likewise.
55967         * include/regex.h: Likewise.
55968         * include/sched.h: Likewise.
55969         * include/search.h: Likewise.
55970         * include/setjmp.h: Likewise.
55971         * include/signal.h: Likewise.
55972         * include/stdio.h: Likewise.
55973         * include/stdlib.h: Likewise.
55974         * include/string.h: Likewise.
55975         * include/sys/cdefs.h: Likewise.
55976         * include/sys/mman.h: Likewise.
55977         * include/sys/msg.h: Likewise.
55978         * include/sys/resource.h: Likewise.
55979         * include/sys/select.h: Likewise.
55980         * include/sys/socket.h: Likewise.
55981         * include/sys/stat.h: Likewise.
55982         * include/sys/statvfs.h: Likewise.
55983         * include/sys/time.h: Likewise.
55984         * include/sys/times.h: Likewise.
55985         * include/sys/uio.h: Likewise.
55986         * include/sys/utsname.h: Likewise.
55987         * include/sys/wait.h: Likewise.
55988         * include/termios.h: Likewise.
55989         * include/time.h: Likewise.
55990         * include/ulimit.h: Likewise.
55991         * include/unistd.h: Likewise.
55992         * include/utime.h: Likewise.
55993         * include/wchar.h: Likewise.
55994         * include/wctype.h: Likewise.
55995         * include/wordexp.h: Likewise.
55997         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
55999         * time/time.h: TIME_UTC must be a macro.
56000         Make timespec_get available for ISO C11 only as well.
56002 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
56004         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
56005         Reported by Peng Haitao <penght@cn.fujitsu.com>.
56007 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
56009         * configure.in: Use -o not -a in test for unsupported multi-arch.
56011 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
56013         * manual/texinfo.tex: Update to version 2012-01-19.16.
56015 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
56017         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
56019 2012-02-24  Roland McGrath  <roland@hack.frob.com>
56021         [BZ #13738]
56022         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
56023         * manual/fdl-1.3.texi: New file.
56024         * manual/fdl-1.1.texi: File removed.
56026         [BZ #13738]
56027         * manual/libc.texinfo (FDL_VERSION): New @set.
56028         Use it for mention of FDL in cover text.
56029         (Documentation License): Use it in @include file name.
56031 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56032             Roland McGrath  <roland@hack.frob.com>
56034         [BZ #5461]
56035         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
56036         (not LONG_LONG_MAX and LONG_LONG_MIN.
56037         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
56038         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
56039         name.
56040         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
56042 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56044         [BZ #2547]
56045         [BZ #11365]
56046         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
56047         manipulate bits before adding and subtracting TWO23[sx].
56048         * math/libm-test.inc (nearbyint_test): Add more tests.
56050 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56052         [BZ #2548]
56053         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
56054         bits before adding and subtracting TWO23[sx].
56055         * math/libm-test.inc (rint_test): Add more tests.
56056         (rint_test_tonearest): Likewise.
56057         (rint_test_towardzero): Likewise.
56058         (rint_test_downward): Likewise.
56059         (rint_test_upward: Likewise.
56061 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56063         [BZ #10110]
56064         * include/stdc-predef.h: New file.  Extracted from features.h.
56065         * include/features.h: Include stdc-predef.h.
56066         * Makefile (headers): Add stdc-predef.h.
56067         * CONFORMANCE (Compiler limitations): Update.
56069 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56071         * manual/libc.texinfo (VERSION, UPDATED): Revert.
56073 2012-02-21  David S. Miller  <davem@davemloft.net>
56075         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
56076         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
56078 2012-02-20  David S. Miller  <davem@davemloft.net>
56080         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
56081         using a normal save/restore sequence, rather than allocating a
56082         dummy stack frame just to store a frame pointer and restore.
56083         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
56085 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
56087         * manual/install.texi: Fix stray word in line-wrapped comment.
56089 2012-02-20  David S. Miller  <davem@davemloft.net>
56091         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
56092         both binutils and gcc support GOTDATA.
56094         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
56095         "rd %pc" in the PIC register setup sequences.
56097         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
56098         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
56099         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
56100         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
56101         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
56102         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
56103         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56104         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
56105         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
56106         (SYSCALL_ERROR_HANDLER): Likewise.
56107         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
56108         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
56109         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
56110         (SYSCALL_ERROR_HANDLER): Likewise.
56112         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
56113         (HAVE_GCC_GOTDATA): New.
56114         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
56115         relocation support in both binutils and gcc.
56116         * sysdeps/sparc/elf/configure: Regenerate.
56118         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
56119         * sysdeps/sparc/sparc32/elf/configure: Delete.
56120         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
56121         * sysdeps/sparc/sparc64/elf/configure: Delete.
56122         * sysdeps/sparc/elf/configure.in: New file.
56123         * sysdeps/sparc/elf/configure: Generate.
56125         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
56126         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
56127         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
56128         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
56129         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
56131 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
56133         * manual/install.texi: Do not mention specific glibc version
56134         numbers.
56135         * manual/libc.texinfo (VERSION, UPDATED): Update.
56136         (@copying): Use @copyright{} and range of years.
56138 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
56140         [BZ #13695]
56141         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
56142         [crti.S not in sysdirs] (generated): Do not append.
56143         [crti.S not in sysdirs] (omit-deps): Likewise.
56144         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
56145         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
56146         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
56147         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
56148         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
56149         Likewise.
56150         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
56151         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
56152         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
56153         * csu/defs.awk: Remove file.
56154         * sysdeps/generic/initfini.c: Likewise.
56155         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
56156         variable.
56157         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
56158         Likewise.
56160 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
56162         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
56163         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
56164         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
56165         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
56166         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56167         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
56168         <bits/epoll.h>.
56169         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
56170         (__EPOLL_PACKED): Define to empty if not defined by
56171         <bits/epoll.h>.
56172         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
56173         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56174         bits/epoll.h.
56176 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
56178         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
56179         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
56180         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
56181         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
56182         <bits/timerfd.h>.
56183         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
56184         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56185         bits/timerfd.h.
56187 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
56189         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
56190         in C locale.
56191         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56192         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
56193         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
56194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56196 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
56198         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56199         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
56201 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
56203         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
56204         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
56205         defined.
56206         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
56207         Likewise.
56208         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
56209         entry for 2.16.
56211 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
56213         * math/w_acos.c: Use non-signaling floating-point comparisons.
56214         * math/w_acosf.c: Likewise.
56215         * math/w_acosh.c: Likewise.
56216         * math/w_acoshf.c: Likewise.
56217         * math/w_acoshl.c: Likewise.
56218         * math/w_acosl.c: Likewise.
56219         * math/w_asin.c: Likewise.
56220         * math/w_asinf.c: Likewise.
56221         * math/w_asinl.c: Likewise.
56222         * math/w_atanh.c: Likewise.
56223         * math/w_atanhf.c: Likewise.
56224         * math/w_atanhl.c: Likewise.
56225         * math/w_exp2.c: Likewise.
56226         * math/w_exp2f.c: Likewise.
56227         * math/w_exp2l.c: Likewise.
56228         * math/w_j0.c: Likewise.
56229         * math/w_j0f.c: Likewise.
56230         * math/w_j0l.c: Likewise.
56231         * math/w_j1.c: Likewise.
56232         * math/w_j1f.c: Likewise.
56233         * math/w_j1l.c: Likewise.
56234         * math/w_jn.c: Likewise.
56235         * math/w_jnf.c: Likewise.
56236         * math/w_log.c: Likewise.
56237         * math/w_log10.c: Likewise.
56238         * math/w_log10f.c: Likewise.
56239         * math/w_log10l.c: Likewise.
56240         * math/w_log2.c: Likewise.
56241         * math/w_log2f.c: Likewise.
56242         * math/w_log2l.c: Likewise.
56243         * math/w_logf.c: Likewise.
56244         * math/w_logl.c: Likewise.
56245         * math/w_sqrt.c: Likewise.
56246         * math/w_sqrtf.c: Likewise.
56247         * math/w_sqrtl.c: Likewise.
56248         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
56249         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
56250         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56251         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
56252         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
56254 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
56256         [BZ #9739]
56257         * manual/string.texi (strnlen): Use correct parameter name in
56258         equivalent expression.
56260 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
56262         [BZ #11174]
56263         * manual/users.texi (seteuid): Consistently use neweuid for
56264         argument name.
56266 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
56268         [BZ #13704]
56269         * manual/nss.texi (Services in the NSS configuration): Correct
56270         list of services in example configuration file.
56272 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
56274         [BZ #11322]
56275         * manual/arith.texi: Remove statements about negative zero
56276         behaving identically to zero.
56278 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
56280         [BZ #5993]
56281         * manual/install.texi: Do not document upgrading from libc5.
56283 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
56285         [BZ #4596]
56286         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
56288 2012-02-18  David S. Miller  <davem@davemloft.net>
56290         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
56291         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
56292         %o7 across the call.
56293         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
56294         instead.
56295         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
56296         SETUP_PIC_REG_LEAF.
56297         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
56298         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
56299         * sysdeps/sparc/crtn.S: Likewise.
56301 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
56303         * aout/Makefile: Remove.
56305 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
56307         [BZ #13058]
56308         * manual/examples/argp-ex1.c (main): Format definition in GNU
56309         style.
56310         * manual/examples/argp-ex2.c (main): Likewise.
56311         * manual/examples/argp-ex3.c (main): Likewise.
56312         * manual/examples/argp-ex4.c (main): Likewise.
56313         * manual/examples/longopt.c (main): Use new-style prototype
56314         definition.
56315         * manual/examples/strncat.c (main): Specify return type and use
56316         (void) for arguments.
56317         * manual/examples/subopt.c (main): Use char **argv argument.
56319 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56321         [BZ #5077]
56322         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
56323         rounding modes.
56325 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
56327         [BZ #6907]
56328         * manual/string.texi (strchr): Change when strchrnul is
56329         recommended.
56331 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
56333         [BZ #174]
56334         * manual/locale.texi (setlocale): Document LOCPATH.
56336 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56338         [BZ #10210]
56339         * manual/process.texi (execle): Move @dots{} before last argument.
56341 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
56343         [BZ #12047]
56344         * manual/charset.texi (Generic Charset Conversion): Fix typo
56345         (LC_TYPE -> LC_CTYPE).
56347 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
56349         [BZ #5805]
56350         * manual/arith.texi (scalbn): Use @var{} on parameter names.
56351         (scalbnf): Likewise.
56352         (scalbnl): Likewise.
56353         (scalbln): Likewise.
56354         (scalblnf): Likewise.
56355         (scalblnl): Likewise.
56356         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
56357         (vwarnx): Likewise.
56358         (verr): Likewise.
56359         (verrx): Likewise.
56360         * manual/filesys.texi (telldir): Use braces around return type.
56361         * manual/llio.texi (mmap): Add space after comma.
56362         (mmap64): Likewise.
56363         * manual/math.texi (jn): Use @var{} on parameter names.
56364         (jnf): Likewise.
56365         (jnl): Likewise.
56366         (yn): Likewise.
56367         (ynf): Likewise.
56368         (ynl): Likewise.
56369         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
56370         line.
56371         * manual/resource.texi (ulimit): Use @dots{} instead of literal
56372         "...".
56373         (sched_get_priority_min): Remove semicolon on @deftypefun line.
56374         (sched_get_priority_max): Likewise.
56375         * manual/signal.texi (sigvec): Add space after comma.
56376         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
56377         names.
56378         (if_indextoname): Likewise.
56379         (if_freenameindex): Likewise.
56380         (sendto): Use ',' instead of '.' in prototype.
56381         * manual/startup.texi (syscall): Use @dots{} instead of literal
56382         "...".
56383         * manual/stdio.texi (__fpending): Separate initial words of
56384         paragraph from @deftypefun line.
56385         * manual/syslog.texi (syslog): Use @dots{} instead of literal
56386         "...".
56387         (vsyslog): Use @var{} on parameter names.
56388         * manual/terminal.texi (stty): Use @var{} on parameter names.
56389         * manual/users.texi (getutmp): Use @var{} on parameter names.
56390         (getutmpx): Likewise.
56392 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56394         [BZ #6884]
56395         * manual/stdio.texi (fopen): Fix typos in description of
56396         ",ccs=STRING".
56398 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
56400         [BZ #4026]
56401         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
56402         get clock_id definition.
56404 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
56406         [BZ #4822]
56407         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
56408         (madvise): Cast every argument to void on its own.
56410 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56412         [BZ #9902]
56413         * manual/startup.texi (Exit Status): Fix typo.
56415 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56417         [BZ #10140]
56418         * manual/examples/argp-ex1.c: Include <stdlib.h>.
56419         * manual/examples/argp-ex2.c: Likewise.
56420         * manual/examples/argp-ex3.c: Likewise.
56422 2012-02-16  Richard Henderson  <rth@redhat.com>
56424         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
56425         * sysdeps/s390/s390-32/initfini.c: Remove.
56426         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
56427         * sysdeps/s390/s390-64/initfini.c: Remove.
56429 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56431         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
56432         compiler output for sysdeps/generic/initfini.c.
56433         * sysdeps/sh/elf/initfini.c: Remove file.
56435 2012-02-16  David S. Miller  <davem@davemloft.net>
56437         [BZ #11494]
56438         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
56440         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
56441         * sysdeps/sparc/crti.S: New file.
56442         * sysdeps/sparc/crtn.S: New file.
56443         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
56444         * sysdeps/sparc/sparc64/Makefile: Likewise.
56446 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
56448         [BZ #3335]
56449         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
56451 2012-02-15  Roland McGrath  <roland@hack.frob.com>
56453         [BZ #4822]
56454         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
56456         * mach/devstream.c (cookie_io_functions_t): Macro removed.
56457         (write, read, close): Likewise.
56458         Patch by Aurelien Jarno <aurelien@aurel32.net>.
56460 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
56462         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
56463         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
56464         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
56465         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
56466         <bits/signalfd.h>.
56467         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
56468         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56469         bits/signalfd.h.
56471 2012-02-14  Marek Polacek  <polacek@redhat.com>
56473         * sysdeps/x86_64/crti.S: New file.
56474         * sysdeps/x86_64/crtn.S: New file.
56475         * sysdeps/x86_64/elf/initfini.c: Remove file.
56477 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
56479         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
56480         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
56481         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
56482         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
56483         <bits/inotify.h>.
56484         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
56485         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56486         bits/inotify.h.
56488 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
56490         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
56491         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
56492         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
56493         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
56494         <bits/eventfd.h>.
56495         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
56496         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56497         bits/eventfd.h.
56499 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
56501         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
56502         __feraiseexcept instead of feraiseexcept.
56504         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
56505         nanosleep invocations.
56506         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
56507         strings, and add error checking for a nanosleep invocations.
56509 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
56511         Replace FSF snail mail address with URLs, as per GNU coding standards.
56512         Most of the snail mail addresses were wrong anyway, and omitting
56513         them makes the source code easier to maintain.  Almost all of the
56514         changes are to license notices and to locale LC_IDENTIFICATION
56515         addresses, except for this one:
56516         * manual/libc.texinfo: In "Published by", give the FSF's URL,
56517         not its snail mail address.
56519 2012-02-09  Richard Henderson  <rth@twiddle.net>
56521         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
56522         of kernel-features.h.
56524         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
56526 2012-02-08  Marek Polacek  <polacek@redhat.com>
56528         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
56529         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
56530         * sysdeps/gnu/_G_config.h: Likewise.
56531         * sysdeps/generic/_G_config.h: Likewise.
56533 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
56535         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
56536         tests.
56537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56539         * sysdeps/powerpc/powerpc32/crti.S: New file.
56540         * sysdeps/powerpc/powerpc32/crtn.S: New file.
56541         * sysdeps/powerpc/powerpc64/crti.S: New file.
56542         * sysdeps/powerpc/powerpc64/crtn.S: New file.
56544         * Makeconfig (have-initfini): Don't set.
56545         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
56546         * configure.in (nopic_initfini): Don't substitute.
56547         * config.h.in (HAVE_INITFINI): Don't #undef.
56548         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
56549         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
56551 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
56553         Support crti.S and crtn.S provided directly by architectures.
56554         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
56555         [crti.S in sysdirs] (omit-deps): Likewise.
56556         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
56557         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
56558         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
56559         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
56560         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
56561         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
56562         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
56563         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
56564         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
56565         compiler output for sysdeps/generic/initfini.c.
56566         * sysdeps/i386/elf/Makefile: Remove file.
56567         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
56569 2012-02-07  Marek Polacek  <polacek@redhat.com>
56571         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
56572         * sysdeps/gnu/_G_config.h: Likewise.
56573         * sysdeps/mach/hurd/_G_config.h: Likewise.
56575 2012-02-07  Marek Polacek  <polacek@redhat.com>
56577         * math/Makefile (tests): Add tst-CMPLX2.
56578         * math/tst-CMPLX2.c: New file.
56580 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
56582         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56584         * math/libm-test.inc (jn_test): Add missing L suffix.
56586 2012-02-06  Marek Polacek  <polacek@redhat.com>
56588         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
56589         * sysdeps/i386/fpu/e_powf.S: Likewise.
56590         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
56591         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
56592         * sysdeps/i386/fpu/e_acosh.S: Likewise.
56593         * sysdeps/i386/fpu/e_pow.S: Likewise.
56594         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
56595         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
56596         * sysdeps/i386/fpu/s_expm1.S: Likewise.
56597         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
56598         * sysdeps/i386/fpu/e_log2.S: Likewise.
56599         * sysdeps/i386/fpu/e_log2l.S: Likewise.
56600         * sysdeps/i386/fpu/e_scalb.S: Likewise.
56601         * sysdeps/i386/fpu/e_powl.S: Likewise.
56602         * sysdeps/i386/fpu/s_log1p.S: Likewise.
56603         * sysdeps/i386/fpu/e_log10f.S: Likewise.
56604         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
56605         * sysdeps/i386/fpu/e_logl.S: Likewise.
56606         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
56607         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
56608         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
56609         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
56610         * sysdeps/i386/fpu/e_log2f.S: Likewise.
56611         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
56612         * sysdeps/i386/fpu/e_log.S: Likewise.
56613         * sysdeps/i386/fpu/s_cexp.S: Likewise.
56614         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
56615         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
56616         * sysdeps/i386/fpu/e_logf.S: Likewise.
56617         * sysdeps/i386/fpu/e_log10l.S: Likewise.
56618         * sysdeps/i386/fpu/e_atanh.S: Likewise.
56619         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
56620         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
56621         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
56622         * sysdeps/i386/fpu/e_log10.S: Likewise.
56623         * sysdeps/i386/fpu/s_frexp.S: Likewise.
56624         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
56625         * sysdeps/i386/fpu/s_asinh.S: Likewise.
56626         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
56627         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
56628         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
56629         * sysdeps/i386/asm-syntax.h: Likewise.
56630         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
56631         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
56632         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
56633         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
56634         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
56635         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
56636         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
56637         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
56638         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
56639         * sysdeps/powerpc/sysdep.h: Likewise.
56640         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
56641         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
56643 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
56645         [BZ #411]
56646         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
56648 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
56650         * sysdeps/i386/sysdep.h: Include <features.h>.
56651         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
56652         version.
56654 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
56656         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
56657         Define.
56658         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
56659         LOAD_PIC_REG_STR.
56661 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56663         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
56664         (SETUP_PIC_REG): Use GET_PC_THUNK.
56665         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
56666         macro.
56668 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56670         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
56671         for non-PIC compilation.
56672         (SETUP_PIC_REG): Add .p2align directive.
56673         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
56674         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
56675         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
56676         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
56677         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
56678         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
56679         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
56680         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
56681         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
56682         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
56683         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
56684         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
56685         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
56686         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
56687         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
56688         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
56689         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
56690         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
56691         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
56692         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
56693         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
56694         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
56695         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
56696         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
56697         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
56698         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
56699         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56700         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
56701         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
56702         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
56703         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
56704         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56705         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
56706         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
56707         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
56708         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
56709         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
56710         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
56711         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
56712         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
56713         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
56715 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56717         * math/tst-CMPLX.c: Include <stdio.h>.
56719 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
56721         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
56722         float.
56723         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
56724         * sysdeps/sparc/bits/mathdef.h: Likewise.
56726 2012-01-31  Marek Polacek  <polacek@redhat.com>
56728         * libio/libio.h: Don't define _PARAMS.
56729         * locale/programs/config.h: Don't define PARAMS.
56730         * stdlib/strtol_l.c: Likewise.
56731         (__strtol_l): Remove PARAMS from the prototype.
56733 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
56735         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
56736         names.  Just use the correct names.  Remove unnecessary wrapper
56737         functions.
56738         * malloc/arena.c: Likewise.
56739         * malloc/hooks.c: Likewise.
56741         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
56742         ARENA_TEST says not to.  Simplify test for creation of a new arena.
56743         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
56745 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
56747         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
56748         into tail calls.
56749         (update_get_addr): New function.
56750         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
56751         GET_ADDR_MODULE parameter.
56753 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
56755         * crypt/cert.c: Remove __STDC__ conditionals.
56756         * crypt/crypt-entry.c: Likewise.
56757         * crypt/crypt_util.c: Likewise.
56758         * libio/filedoalloc.c: Likewise.
56759         * libio/fileops.c: Likewise.
56760         * libio/genops.c: Likewise.
56761         * libio/iofclose.c: Likewise.
56762         * libio/iofdopen.c: Likewise.
56763         * libio/iofopen.c: Likewise.
56764         * libio/iofopen64.c: Likewise.
56765         * libio/iogetdelim.c: Likewise.
56766         * libio/iopopen.c: Likewise.
56767         * libio/obprintf.c: Likewise.
56768         * libio/oldfileops.c: Likewise.
56769         * libio/oldiofclose.c: Likewise.
56770         * libio/oldiofdopen.c: Likewise.
56771         * libio/oldiofopen.c: Likewise.
56772         * libio/oldiopopen.c: Likewise.
56773         * libio/wfiledoalloc.c: Likewise.
56774         * libio/wgenops.c: Likewise.
56775         * locale/programs/xmalloc.c: Likewise.
56776         * misc/syslog.c: Likewise.
56777         * stdio-common/xbug.c: Likewise.
56778         * string/memchr.c: Likewise.
56779         * string/memcmp.c: Likewise.
56780         * string/memrchr.c: Likewise.
56781         * string/rawmemchr.c: Likewise.
56782         * sysdeps/posix/getcwd.c: Likewise.
56783         * time/strftime_l.c: Likewise.
56785 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
56787         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
56788         * config.make.in (config-cflags-sse2avx): Define.
56789         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
56790         Fix typo.
56792 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
56794         * scripts/config.guess: Update from upstream config git repository.
56795         * scripts/config.sub: Likewise.
56797 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
56799         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
56800         (EM_NUM): Update.
56801         (R_TILEPRO_*, R_TILEGX_*): New macros.
56803         * scripts/firstversions.awk: Fix bug in version range handling.
56805         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
56807         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
56809         * include/sys/epoll.h: New file.
56810         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
56811         libc_hidden_def.
56813 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
56815         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
56816         Avoid unnecessary __WORDSIZE == 64 test.
56817         (fmaxf): Use VEX format if possible.
56818         (fmax): Likewise.
56819         (fminf): Likewise.
56820         (fmin): Likewise.
56822         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
56823         * math/math_private.h: Remove libc_fegetround* and
56824         libc_fesetround*.
56825         * sysdeps/i386/configure.in: Check for -msse2avx.
56826         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
56827         also if SSE2AVX is defined.
56828         Remove libc_fegetround* and libc_fesetround*.
56829         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
56830         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
56831         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
56832         of HAS_YMM_USABLE.
56833         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56834         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56835         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56836         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56837         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56839         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
56841 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56843         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
56844         size is not set.
56845         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56847 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
56849         [BZ #13618]
56850         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
56851         relocation.
56852         * Makeconfig (libm): Define.
56853         * elf/Makefile: Add rules to build and run tst-relsort1.
56854         * elf/tst-relsort1.c: New file.
56855         * elf/tst-relsort1mod1.c: New file.
56856         * elf/tst-relsort1mod2.c: New file.
56858 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
56860         * math/s_ldexp.c: Remove __STDC__ conditionals.
56861         * math/s_ldexpf.c: Likewise.
56862         * math/s_ldexpl.c: Likewise.
56863         * math/s_nextafter.c: Likewise.
56864         * math/s_nexttowardf.c: Likewise.
56865         * math/s_significand.c: Likewise.
56866         * math/s_significandf.c: Likewise.
56867         * math/s_significandl.c: Likewise.
56868         * math/w_jnl.c: Likewise.
56869         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
56870         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
56871         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
56872         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
56873         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
56874         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
56875         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
56876         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
56877         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
56878         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
56879         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
56880         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56881         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
56882         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
56883         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
56884         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
56885         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
56886         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
56887         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
56888         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56889         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56890         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
56891         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
56892         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
56893         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
56894         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
56895         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
56896         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
56897         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
56898         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
56899         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
56900         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
56901         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
56902         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
56903         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
56904         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
56905         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
56906         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
56907         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
56908         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
56909         * sysdeps/ieee754/k_standard.c: Likewise.
56910         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56911         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
56912         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
56913         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
56914         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
56915         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
56916         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
56917         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
56918         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
56919         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
56920         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
56921         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
56922         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
56923         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
56924         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
56925         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
56926         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
56927         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
56928         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
56929         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
56930         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
56931         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
56932         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
56933         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
56934         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
56935         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
56936         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56937         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56938         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56939         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
56940         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
56941         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
56942         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
56943         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
56944         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
56945         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
56946         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
56947         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
56948         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
56949         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
56950         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
56951         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
56952         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
56953         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
56954         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
56955         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
56956         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
56957         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
56958         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
56959         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
56960         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
56961         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
56962         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
56963         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
56964         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
56965         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
56966         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
56967         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56968         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56969         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56970         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
56971         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
56972         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
56973         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
56974         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
56975         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
56976         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
56977         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
56978         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
56979         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
56980         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
56981         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
56982         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
56983         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
56984         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
56985         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
56986         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
56987         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
56988         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
56989         * sysdeps/ieee754/s_matherr.c: Likewise.
56990         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
56991         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
56992         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
56993         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
56995 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
56997         * crypt/md5.h: Remove __STDC__ conditionals.
56998         * libio/libioP.h: Likewise.
56999         * locale/programs/config.h: Likewise.
57000         * sysdeps/generic/sysdep.h: Likewise.
57001         * sysdeps/i386/asm-syntax.h: Likewise.
57002         * sysdeps/s390/asm-syntax.h: Likewise.
57003         * sysdeps/unix/sysdep.h: Likewise.
57004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
57005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
57007 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
57009         * libio/libio.h: Remove __STDC__ conditionals.
57010         * malloc/obstack.h: Likewise.
57011         * math/complex.h: Likewise.
57012         * math/math.h: Likewise.
57013         * sysdeps/generic/_G_config.h: Likewise.
57014         * sysdeps/gnu/_G_config.h: Likewise.
57015         * sysdeps/mach/hurd/_G_config.h: Likewise.
57016         * sysdeps/powerpc/bits/mathdef.h: Likewise.
57017         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
57018         * sysdeps/sparc/bits/mathdef.h: Likewise.
57020 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
57022         [BZ #13583]
57023         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
57024         Clean up HAS_* macros.
57025         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
57026         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
57027         possible.
57028         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
57029         HAS_AVX.
57030         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
57031         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57032         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57033         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57034         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57036 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
57038         * elf/tst-unique3.cc (gets): Remove declaration.
57039         * elf/tst-unique3lib.cc (gets): Likewise.
57040         * elf/tst-unique3lib2.cc (gets): Likewise.
57041         * elf/tst-unique4.cc (gets): Likewise.
57043 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
57045         * include/stdio.h: Add C++ protection.  Add gets declarations and
57046         definitions.
57047         * debug/tst-chk1.c: Don't declare gets here.
57048         * stdio-common/tst-gets.c: Likewise.
57050 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
57052         * posix/glob: Remove directory.
57054 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
57056         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
57058 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
57060         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
57061         of the non-standard EPFNOSUPPORT.
57063 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57065         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
57066         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
57067         ANYWHERE set to 1 only on KERN_NO_SPACE error.
57069 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
57071         * wcsmbs/uchar.h: Test __STDC_VERSION__.
57073 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
57075         * nscd/aicache.c (addhstaiX): Do not cache negative results of
57076         transient errors.
57077         * nscd/grpcache.c (cache_addgr): Likewise.
57078         * nscd/hstcache.c (cache_addhst): Likewise.
57079         * nscd/initgrcache.c (addinitgroupsX): Likewise.
57080         * nscd/pwdcache.c (cache_addpw): Likewise.
57081         * nscd/servicescache.c (cache_addserv): Likewise.
57083 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
57085         * malloc/malloc.c: Various cleanups.
57086         * malloc/hooks.c: Likewise.
57088         * stdlib/Makefile (tests): Add bug-fmtmsg1.
57089         * stdlib/bug-fmtmsg1.c: New file.
57091         * stdlib/fmtmsg.c (init): Add missing unlock.
57092         Patch by Peng Haitao <penght@cn.fujitsu.com>.
57094 2012-01-12  Marek Polacek  <polacek@redhat.com>
57096         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
57097         and _GNU_SOURCE.
57099 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
57101         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
57102         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
57103         macro to ensure uniqueness of label name.
57104         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
57105         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
57107 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
57109         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
57111         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
57112         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
57113         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
57114         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
57116 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
57118         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
57120         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
57121         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
57122         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
57124         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
57126         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
57127         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
57128         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
57129         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
57131         * math/bits/math-finite.h: Add ldexp support.
57133 2012-01-10  Marek Polacek  <polacek@redhat.com>
57135         * locale/programs/localedef.h (show_archive_content): Add noreturn
57136         attribute.
57138 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
57140         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
57142 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
57144         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
57146         * io/Makefile (headers): Add bits/poll2.h.
57148 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
57150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
57151         typo #include statement.
57153 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
57155         * include/sys/cdefs.h: Define __attribute_alloc_size.
57156         * catgets/gencat.c: Add alloc_size attribute and apply consistently
57157         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
57158         * elf/pldd.c: Likewise.
57159         * iconv/iconv_charmap.c: Likewise.
57160         * iconv/iconvconfig.c: Likewise.
57161         * iconv/strtab.c: Likewise.
57162         * locale/programs/locale.c: Likewise.
57163         * locale/programs/localedef.h: Likewise.
57164         * locale/programs/simple-hash.c: Likewise.
57165         * nscd/nscd.h: Likewise.
57166         * nss/makedb.c: Likewise.
57167         * sysdeps/generic/ldconfig.h: Likewise.
57168         * locale/programs/localedef.c: Remove xmalloc prototype.
57169         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
57171 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
57173         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
57174         appropriate.
57176 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
57178         * math/Makefile (tests): Add tst-CMPLX.
57179         * math/tst-CMPLX.c: New file.
57181         * math/complex.h (CMPLXL): Fix typo.
57183         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
57184         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
57185         GLIBC_2.16.
57186         * debug/tst-chk1.c: Add poll and ppoll tests.
57187         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
57188         * include/sys/poll.h: Add hidden proto for ppoll.
57189         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
57190         * sysdeps/mach/hurd/ppoll.c: Likewise.
57191         * io/ppoll.c: Likewise.
57192         * debug/poll_chk.c: New file.
57193         * debug/ppoll_chk.c: New file.
57194         * include/bits/poll2.h: New file.
57195         * io/bits/poll2.h: New file.
57197         [BZ #1350]
57198         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
57200         * configure.in: static is always set to yes.  Remove.
57201         * config.make.in: Don't set build-static.
57202         * Makeconfig: Remove use of build-static.
57203         * dlfcn/Makefile: Likewise.
57204         * elf/Makefile: Likewise.
57205         * math/Makefile: Likewise.
57206         * misc/Makefile: Likewise.
57207         * nptl/Makefile: Likewise.
57208         * sysdeps/mach/hurd/Makefile: Likewise.
57210         * configure.in: PWD_P is not used anymore.
57211         * config.make.in: Remove PWD_P entry.
57213         * configure.in: Remove last remnants of RANLIB.
57214         No need to check for signed size_t anymore.
57215         Don't set libc_commonpagesize and libc_relro_required here for Alpha
57216         and IA-64.
57217         Remove __builtin_expect test because we require at least gcc 3.4.
57218         * aclocal.m4: Likewise.
57220         * wcsmbs/mbrtoc16.c: Implement using towc function.
57221         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
57222         * wcsmbs/wcsmbsload.c: Likewise.
57223         * iconv/gconv_simple.c: Likewise.
57224         * iconv/gconv_int.h: Likewise.
57225         * iconv/gconv_builtin.h: Likewise.
57226         * iconv/iconv_prog.c: Remove CHAR16 handling.
57228         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
57230         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
57232         * configure.in: Remove --with-elf and --enable-bounded options.
57233         Dont set base_machine for ia64.  More non-ELF conditions removed.
57234         Remove testing and setting of leading underscore information.
57235         * config.make.in (build-bounded): Set to no.
57236         * config.h.in: Remove NO_UNDERSCORES entry.
57237         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
57238         them.
57239         * csu/start.c: Remove !NO_UNDERSCORE code.
57240         * locale/localeinfo.h: Likewise.
57241         * sysdeps/generic/machine-gmon.h: Likewise.
57242         * sysdeps/generic/sysdep.h: Likewise.
57243         * sysdeps/i386/sysdep.h: Likewise.
57244         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
57245         * sysdeps/mach/sysdep.h: Likewise.
57246         * sysdeps/s390/s390-32/sysdep.h: Likewise.
57247         * sysdeps/s390/s390-64/sysdep.h: Likewise.
57248         * sysdeps/sh/sysdep.h: Likewise.
57249         * sysdeps/sparc/sparc32/alloca.S: Likewise.
57250         * sysdeps/unix/i386/sysdep.S: Likewise.
57251         * sysdeps/unix/sparc/start.c: Likewise.
57252         * sysdeps/unix/sparc/sysdep.S: Likewise.
57253         * sysdeps/unix/sparc/sysdep.h: Likewise.
57254         * sysdeps/unix/start.c: Likewise.
57255         * sysdeps/unix/x86_64/sysdep.S: Likewise.
57256         * sysdeps/x86_64/sysdep.h: Likewise.
57258 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
57260         [BZ #13553]
57261         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
57262         for non-gcc.
57263         * argp/argp-fmtstream.h: Use const instead __const.
57264         * argp/argp.h: Likewise.
57265         * assert/assert.h: Likewise.
57266         * bits/fenv.h: Likewise.
57267         * bits/sched.h: Likewise.
57268         * bits/sigset.h: Likewise.
57269         * bits/sigthread.h: Likewise.
57270         * catgets/nl_types.h: Likewise.
57271         * conform/data/pthread.h-data: Likewise.
57272         * crypt/crypt-private.h: Likewise.
57273         * crypt/crypt.h: Likewise.
57274         * crypt/crypt_util.c: Likewise.
57275         * ctype/ctype.h: Likewise.
57276         * debug/execinfo.h: Likewise.
57277         * debug/mbsnrtowcs_chk.c: Likewise.
57278         * debug/mbsrtowcs_chk.c: Likewise.
57279         * debug/wcsnrtombs_chk.c: Likewise.
57280         * debug/wcsrtombs_chk.c: Likewise.
57281         * debug/wcstombs_chk.c: Likewise.
57282         * dirent/dirent.h: Likewise.
57283         * dlfcn/dlfcn.h: Likewise.
57284         * elf/neededtest4.c: Likewise.
57285         * grp/grp.h: Likewise.
57286         * gshadow/gshadow.h: Likewise.
57287         * iconv/gconv.h: Likewise.
57288         * iconv/gconv_int.h: Likewise.
57289         * iconv/gconv_simple.c: Likewise.
57290         * iconv/iconv.h: Likewise.
57291         * iconv/loop.c: Likewise.
57292         * iconv/skeleton.c: Likewise.
57293         * include/aio.h: Likewise.
57294         * include/aliases.h: Likewise.
57295         * include/argz.h: Likewise.
57296         * include/arpa/inet.h: Likewise.
57297         * include/assert.h: Likewise.
57298         * include/dirent.h: Likewise.
57299         * include/dlfcn.h: Likewise.
57300         * include/execinfo.h: Likewise.
57301         * include/fcntl.h: Likewise.
57302         * include/fenv.h: Likewise.
57303         * include/glob.h: Likewise.
57304         * include/grp.h: Likewise.
57305         * include/libintl.h: Likewise.
57306         * include/mntent.h: Likewise.
57307         * include/netdb.h: Likewise.
57308         * include/pwd.h: Likewise.
57309         * include/rpc/netdb.h: Likewise.
57310         * include/sched.h: Likewise.
57311         * include/search.h: Likewise.
57312         * include/shadow.h: Likewise.
57313         * include/signal.h: Likewise.
57314         * include/stdio.h: Likewise.
57315         * include/stdlib.h: Likewise.
57316         * include/string.h: Likewise.
57317         * include/sys/socket.h: Likewise.
57318         * include/sys/stat.h: Likewise.
57319         * include/sys/statfs.h: Likewise.
57320         * include/sys/statvfs.h: Likewise.
57321         * include/sys/syslog.h: Likewise.
57322         * include/sys/time.h: Likewise.
57323         * include/sys/uio.h: Likewise.
57324         * include/time.h: Likewise.
57325         * include/unistd.h: Likewise.
57326         * include/utmp.h: Likewise.
57327         * include/wchar.h: Likewise.
57328         * include/wctype.h: Likewise.
57329         * inet/aliases.h: Likewise.
57330         * inet/arpa/inet.h: Likewise.
57331         * inet/netinet/ether.h: Likewise.
57332         * inet/netinet/in.h: Likewise.
57333         * intl/libintl.h: Likewise.
57334         * io/bits/fcntl2.h: Likewise.
57335         * io/fcntl.h: Likewise.
57336         * io/ftw.h: Likewise.
57337         * io/sys/poll.h: Likewise.
57338         * io/sys/stat.h: Likewise.
57339         * io/sys/statfs.h: Likewise.
57340         * io/sys/statvfs.h: Likewise.
57341         * io/utime.h: Likewise.
57342         * libio/bits/stdio.h: Likewise.
57343         * libio/bits/stdio2.h: Likewise.
57344         * libio/libio.h: Likewise.
57345         * libio/libioP.h: Likewise.
57346         * libio/stdio.h: Likewise.
57347         * locale/lc-ctype.c: Likewise.
57348         * locale/locale.h: Likewise.
57349         * login/utmp.h: Likewise.
57350         * malloc/arena.c: Likewise.
57351         * malloc/malloc.c: Likewise.
57352         * malloc/malloc.h: Likewise.
57353         * malloc/mcheck.c: Likewise.
57354         * malloc/mtrace.c: Likewise.
57355         * math/bits/mathcalls.h: Likewise.
57356         * math/fenv.h: Likewise.
57357         * math/math_private.h: Likewise.
57358         * misc/bits/error.h: Likewise.
57359         * misc/bits/syslog.h: Likewise.
57360         * misc/err.h: Likewise.
57361         * misc/error.h: Likewise.
57362         * misc/fstab.h: Likewise.
57363         * misc/mntent.h: Likewise.
57364         * misc/regexp.h: Likewise.
57365         * misc/search.h: Likewise.
57366         * misc/sgtty.h: Likewise.
57367         * misc/sys/mman.h: Likewise.
57368         * misc/sys/syslog.h: Likewise.
57369         * misc/sys/uio.h: Likewise.
57370         * misc/sys/xattr.h: Likewise.
57371         * misc/ttyent.h: Likewise.
57372         * nis/rpcsvc/ypclnt.h: Likewise.
57373         * nss/nss.h: Likewise.
57374         * posix/bits/unistd.h: Likewise.
57375         * posix/fnmatch.h: Likewise.
57376         * posix/glob.h: Likewise.
57377         * posix/sched.h: Likewise.
57378         * posix/spawn.h: Likewise.
57379         * posix/sys/wait.h: Likewise.
57380         * posix/unistd.h: Likewise.
57381         * posix/wordexp.h: Likewise.
57382         * pwd/pwd.h: Likewise.
57383         * resolv/netdb.h: Likewise.
57384         * resource/sys/resource.h: Likewise.
57385         * rt/aio.h: Likewise.
57386         * rt/bits/mqueue2.h: Likewise.
57387         * rt/mqueue.h: Likewise.
57388         * shadow/shadow.h: Likewise.
57389         * signal/signal.h: Likewise.
57390         * socket/send.c: Likewise.
57391         * socket/sendto.c: Likewise.
57392         * socket/sys/socket.h: Likewise.
57393         * stdio-common/printf.h: Likewise.
57394         * stdlib/bits/stdlib.h: Likewise.
57395         * stdlib/fmtmsg.h: Likewise.
57396         * stdlib/monetary.h: Likewise.
57397         * stdlib/stdlib.h: Likewise.
57398         * stdlib/ucontext.h: Likewise.
57399         * streams/stropts.h: Likewise.
57400         * string/argz.h: Likewise.
57401         * string/bits/string2.h: Likewise.
57402         * string/string.h: Likewise.
57403         * string/strings.h: Likewise.
57404         * sunrpc/rpc/auth.h: Likewise.
57405         * sunrpc/rpc/auth_des.h: Likewise.
57406         * sunrpc/rpc/clnt.h: Likewise.
57407         * sunrpc/rpc/netdb.h: Likewise.
57408         * sunrpc/rpc/pmap_clnt.h: Likewise.
57409         * sunrpc/rpc/xdr.h: Likewise.
57410         * sysdeps/generic/inttypes.h: Likewise.
57411         * sysdeps/generic/net/if.h: Likewise.
57412         * sysdeps/generic/sys/swap.h: Likewise.
57413         * sysdeps/gnu/net/if.h: Likewise.
57414         * sysdeps/gnu/utmpx.h: Likewise.
57415         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
57416         * sysdeps/i386/i486/bits/string.h: Likewise.
57417         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
57418         * sysdeps/s390/bits/string.h: Likewise.
57419         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
57420         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
57421         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
57422         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
57423         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
57424         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
57425         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
57426         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
57427         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
57428         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
57429         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
57430         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
57431         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
57432         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
57433         * sysdeps/unix/sysv/linux/readv.c: Likewise.
57434         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
57435         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
57436         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57437         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
57438         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
57439         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
57440         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
57441         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
57442         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
57443         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
57444         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
57445         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
57446         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57447         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
57448         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
57449         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
57450         * sysvipc/sys/ipc.h: Likewise.
57451         * sysvipc/sys/msg.h: Likewise.
57452         * sysvipc/sys/sem.h: Likewise.
57453         * sysvipc/sys/shm.h: Likewise.
57454         * termios/termios.h: Likewise.
57455         * time/sys/time.h: Likewise.
57456         * time/time.h: Likewise.
57457         * wcsmbs/bits/wchar2.h: Likewise.
57458         * wcsmbs/uchar.h: Likewise.
57459         * wcsmbs/wchar.h: Likewise.
57460         * wctype/wctype.h: Likewise.
57462         [BZ #13551]
57463         * Makeconfig: Remove all but ELF support including AIX support.
57464         * Makerules: Likewise.
57465         * config.h.in: Likewise.
57466         * config.make.in: Likewise.
57467         * configure: Likewise.
57468         * configure.in: Likewise.
57469         * csu/Makefile: Likewise.
57470         * csu/version.c: Likewise.
57471         * debug/Makefile: Likewise.
57472         * dlfcn/Makefile: Likewise.
57473         * elf/Makefile: Likewise.
57474         * extra-lib.mk: Likewise.
57475         * iconv/Makefile: Likewise.
57476         * include/libc-symbols.h: Likewise.
57477         * include/shlib-compat.h: Likewise.
57478         * resolv/Makefile: Likewise.
57479         * resolv/res_libc.c: Likewise.
57480         * rt/Makefile: Likewise.
57481         * sysdeps/i386/asm-syntax.h: Likewise.
57482         * sysdeps/i386/sysdep.h: Likewise.
57483         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
57484         * sysdeps/mach/sysdep.h: Likewise.
57485         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
57486         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
57487         * sysdeps/s390/asm-syntax.h: Likewise.
57488         * sysdeps/s390/s390-32/sysdep.h: Likewise.
57489         * sysdeps/s390/s390-64/sysdep.h: Likewise.
57490         * sysdeps/sh/sysdep.h: Likewise.
57491         * sysdeps/unix/sparc/sysdep.h: Likewise.
57492         * sysdeps/wordsize-32/divdi3.c: Likewise.
57493         * sysdeps/x86_64/sysdep.h: Likewise.
57495         * argp/Versions: Remove _argp_unlock_xxx.
57497         [BZ #13559]
57498         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
57499         * abilist/libBrokenLocale.abilist: Likewise.
57500         * abilist/libanl.abilist: Likewise.
57501         * abilist/libc.abilist: Likewise.
57502         * abilist/libcrypt.abilist: Likewise.
57503         * abilist/libdl.abilist: Likewise.
57504         * abilist/libm.abilist: Likewise.
57505         * abilist/libnsl.abilist: Likewise.
57506         * abilist/libpthread.abilist: Likewise.
57507         * abilist/libresolv.abilist: Likewise.
57508         * abilist/librt.abilist: Likewise.
57509         * abilist/libthread_db.abilist: Likewise.
57510         * abilist/libutil.abilist: Likewise.
57511         * abilist/libnss_db.abilist: New file.
57513         * scripts/abilist.awk: Add support for indirect functions.
57515         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
57517         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
57519         * shlib-versions: Remove entries for ports architectures.
57521         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
57522         files in ports.
57523         * elf/stackguard-macros.h: Remove support for IA-64.
57524         * elf/tst-auditmod1.c: Likewise.
57525         * sysdeps/generic/ldsodefs.h: Likewise.
57527         * sysdeps/unix/sysv/linux/configure.in: Ports should define
57528         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
57529         configure files.
57531         [BZ #13552]
57532         * configure.in: Remove --enable-omitfp support.
57533         * FAQ.in: Adjust.
57534         * config.make.in: Likewise.
57535         * Makeconfig: Likewise.
57536         * manual/install.texi: Likewise.
57538         In case anyone cares, the IA-64 architecture could move to ports.
57539         * sysdeps/ia64/*: Removed.
57540         * sysdeps/unix/sysv/linux/ia64/*: Removed.
57541         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
57543         [BZ #13555]
57544         * configure.in: Remove entries for unsupported architectures.
57546         [BZ #13533]
57547         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
57548         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
57549         routines.
57550         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
57551         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
57552         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
57553         fall back to using wcrtomb.
57554         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
57555         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
57556         renaming.
57557         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
57558         * wcsmbs/tst-c16c32-1.c: New file.
57560         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
57561         local variable.
57563         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
57565         * elf/tst-unique3.cc: Add explicit declaration of gets.
57566         * elf/tst-unique3lib.cc: Likewise.
57567         * elf/tst-unique3lib2.cc: Likewise.
57568         * elf/tst-unique4.cc: Likewise.
57570         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
57572 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
57574         [BZ #13566]
57575         * assert/assert.h (static_assert): Don't define for C++.
57576         * libio/stdio.h (gets): Do declare for C++ <= C++11.
57577         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
57579 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
57581         * iconv/loop.c (single loop): Fix assertion in storing of
57582         remaining bytes.
57584         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
57586 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
57588         * posix/getconf.c: Update copyright year.
57589         * nss/getent.c: Likewise.
57590         * nss/makedb.c: Likewise.
57591         * iconv/iconvconfig.c: Likewise.
57592         * iconv/iconv_prog.c: Likewise.
57593         * elf/ldconfig.c: Likewise.
57594         * elf/pldd.c: Likewise.
57595         * elf/sotruss.ksh: Likewise.
57596         * catgets/gencat.c: Likewise.
57597         * csu/version.c: Likewise.
57598         * elf/ldd.bash.in: Likewise.
57599         * elf/sprof.c (print_version): Likewise.
57600         * locale/programs/locale.c: Likewise.
57601         * locale/programs/localedef.c: Likewise.
57602         * login/programs/pt_chown.c: Likewise.
57603         * nscd/nscd.c (print_version): Likewise.
57604         * debug/xtrace.sh: Likewise.
57605         * malloc/memusage.sh: Likewise.
57606         * malloc/mtrace.pl: Likewise.
57607         * debug/catchsegv.sh: Likewise.
57609 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
57611         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
57612         pure attribute.
57614 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
57616         [BZ #13533]
57617         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
57618         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
57619         transformations.
57620         * iconv/gconv_int.h: Likewise.
57621         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
57622         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
57623         from libc for GLIBC_2.16.
57624         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
57625         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
57626         * wcsmbs/uchar.h: Really define mbstate_t.
57627         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
57628         * wcsmbs/c16rtomb.c: New file.
57629         * wcsmbs/mbrtoc16.c: New file.
57630         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
57631         for C/POSIX locale.
57632         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
57633         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
57635         * wcsmbs/wchar.h: Add missing __restrict.
57637 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
57639         [BZ #13532]
57640         * time/Makefile (routines): Add timespec_get.
57641         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
57642         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
57643         timespec for ISO C11.
57644         * time/timespec_get.c: New file.
57645         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
57646         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
57648         [BZ #13531]
57649         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
57650         * stdlib/stdlib.h: Declare aligned_alloc.
57651         * Versions.def: Add GLIBC_2.16 for libc.
57652         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
57654         [BZ 13527]
57655         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
57656         ISO C11.
57658         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
57659         code.
57661         [BZ #13528]
57662         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
57664         [BZ #13529]
57665         * assert/assert.h (static_assert): Define.
57667         * version.h: Update for 2.16 development version.
57669         [BZ #13526]
57670         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
57671         _ISOC11_SOURCE.
57673         * version.h (RELEASE): Bump for 2.15 release.
57674         * include/features.h (__GLIBC_MINOR__): Bump to 15.
57676         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
57677         Patch by Marek Polacek <mpolacek@redhat.com>.
57679         * bits/byteswap.h: Protect long long constants with __extension__.
57680         * sysdeps/i386/bits/byteswap.h: Likewise.
57681         * sysdeps/ia64/bits/byteswap.h: Likewise.
57682         * sysdeps/s390/bits/byteswap.h: Likewise.
57683         * sysdeps/x86_64/bits/byteswap.h: Likewise.
57685 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57687         [BZ #13540]
57688         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
57689         destination buffer.
57690         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
57692 2011-12-23  Marek Polacek  <polacek@redhat.com>
57694         * elf/dl-addr.c (determine_info): Add inline keyword.
57695         * elf/tst-auditmod4b.c (check_avx): Likewise.
57696         * elf/tst-auditmod6b.c (check_avx): Likewise.
57697         * elf/tst-auditmod6c.c (check_avx): Likewise.
57698         * elf/tst-auditmod7b.c (check_avx): Likewise.
57700 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
57702         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
57703         !__SSE_MATH__.
57705 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57707         [BZ #13540]
57708         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
57709         processing for last bytes.
57711 2011-08-06  Bruno Haible  <bruno@clisp.org>
57713         [BZ #13061]
57714         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
57715         U+0385, not to U+1FEE.
57717         [BZ #13062]
57718         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
57719         entry for U+00A5 U+0301.
57721 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
57723         [BZ #13166]
57724         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
57725         buffer for the output is too small.
57727         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
57728         optimization.
57730         [BZ #13185]
57731         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
57732         SSE flags if possible.
57734 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57736         [BZ #13540]
57737         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
57738         processing for last bytes.
57740 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
57742         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
57743         (syscall-list-default-options, syscall-list-default-condition)
57744         (syscall-list-includes): Define.
57745         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
57746         list of ABIs and options and #if conditions for each ABI.  Do not
57747         handle common syscalls between ABIs specially.
57748         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
57749         Remove.
57750         (syscall-list-variants, syscall-list-32bit-options)
57751         (syscall-list-32bit-condition, syscall-list-64bit-options)
57752         (syscall-list-64bit-condition): Define.
57753         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
57754         (syscall-list-variants, syscall-list-32bit-options)
57755         (syscall-list-32bit-condition, syscall-list-64bit-options)
57756         (syscall-list-64bit-condition): Define.
57757         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
57758         Remove.
57759         (syscall-list-variants, syscall-list-32bit-options)
57760         (syscall-list-32bit-condition, syscall-list-64bit-options)
57761         (syscall-list-64bit-condition): Define.
57762         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
57763         Remove.
57764         (syscall-list-variants, syscall-list-32bit-options)
57765         (syscall-list-32bit-condition, syscall-list-64bit-options)
57766         (syscall-list-64bit-condition): Define.
57768 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
57770         * locale/iso-639.def: Add brx entry.
57772         [BZ #13328]
57773         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
57774         Proposed by Mariusz_Cukr <marcukr@op.pl>.
57776         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
57777         __feraiseexcept_renamed.
57779 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
57781         [BZ #13538]
57782         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
57783         EPOLLET with unsigned values.
57784         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57785         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
57787         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
57788         to large cancellation.
57789         * math/s_cacoshf.c: Likewise.
57790         * math/s_cacoshl.c: Likewise.
57792 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
57794         [BZ #13305]
57795         [BZ #12786]
57796         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
57797         * math/s_cacoshf.c: Likewise.
57798         * math/s_cacoshl.c: Likewise.
57800 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
57802         [BZ #13439]
57803         * iconv/gconv.h: Define __GCONV_SWAP.
57804         * iconvdata/unicode.c: The swap bit must be stored in __flags.
57805         * iconvdata/utf-16.c: Likewise.
57806         * iconvdata/utf-32.c: Likewise.
57808 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
57810         [BZ #13524]
57811         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
57812         numerator after shifting it by one limb.
57814 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
57816         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
57817         under [__USE_EXTERN_INLINES].
57819 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
57821         [BZ #13446]
57822         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
57824 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57826         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
57827         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
57828         optimized code.
57829         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
57830         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
57831         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
57832         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
57833         for strncasecmp/strncasecmp_l compilation.
57834         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
57835         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
57837 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
57839         [BZ #13484]
57840         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
57841         of __asm__.
57843 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
57845         [BZ #13506]
57846         * time/tzfile.c (__tzfile_read): Check values from file header.
57848 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
57850         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
57851         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
57852         * powerpc/powerpc32/dl-start.S: Likewise.
57853         * powerpc/powerpc32/elf/start.S: Likewise.
57854         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
57855         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
57856         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
57857         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
57858         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
57859         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
57860         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
57861         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
57862         * powerpc/powerpc32/fpu/s_round.S: Likewise.
57863         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
57864         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
57865         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
57866         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
57867         * powerpc/powerpc32/memset.S: Likewise.
57868         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
57869         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
57870         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
57871         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
57872         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
57873         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
57874         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
57875         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
57876         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
57877         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
57878         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
57879         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
57880         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
57882 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57884         * math/libm-test.inc: Added more nearbyint tests.
57885         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
57886         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
57887         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
57888         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
57890 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
57892         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
57893         FD_CLOEXEC.
57895 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57897         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
57898         Add wcscpy-ssse3 wcscpy-c.
57899         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
57900         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
57901         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
57902         * sysdeps/x86_64/wcschr.S: New file.
57903         * sysdeps/x86_64/wcsrchr.S: New file.
57904         * string/test-strcmp.c: Remove checking of wcscmp function for
57905         wrong alignments.
57906         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
57907         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
57908         wcsrchr-sse2 wcsrchr-c.
57909         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
57910         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
57911         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
57912         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
57913         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
57914         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
57915         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
57916         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
57917         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
57918         * wcsmbc/wcschr.c (WCSCHR): New macro.
57920 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57922         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
57923         * wcsmbs/test-wcsrchr.c: New file.
57924         * string/test-strrchr.c: Add wcsrchr support.
57925         (WIDE): New macro.
57926         * wcsmbs/test-wcscpy.c: New file.
57927         * string/test-strcpy.c: Add wcscpy support.
57928         (WIDE): New macro.
57930 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
57932         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
57933         the inner loop.
57935 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
57937         [BZ #13472]
57938         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
57940 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
57942         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
57943         Minor optimizations.
57945         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
57946         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
57947         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
57949 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
57951         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
57952         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
57953         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
57954         for gcc to avoid warnings.
57955         * inet/Makefile (tests): Add tst-checks.
57956         * inet/tst-checks.c: New file.
57958         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
57959         warning.
57961         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
57962         __wmemcmp_sse2.
57964         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
57965         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
57967         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
57969 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
57971         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
57972         problem.
57974         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
57976 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
57978         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
57979         conditional on GCC version.
57980         (__arch_compare_and_exchange_val_8_acq)
57981         (__arch_compare_and_exchange_val_16_acq)
57982         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
57983         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
57984         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
57986 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
57988         * sysdeps/sh/backtrace.c: New file.
57990 2011-12-02  Andreas Schwab  <schwab@redhat.com>
57992         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
57993         parenthesis.
57995 2011-12-01  Andreas Schwab  <schwab@redhat.com>
57997         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
57998         falling back to utime.
58000 2011-11-30  Andreas Schwab  <schwab@redhat.com>
58002         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
58003         expectations for float.
58005 2011-11-29  Andreas Schwab  <schwab@redhat.com>
58007         * locale/weight.h (findidx): Add parameter len.
58008         * locale/weightwc.h (findidx): Likewise.
58009         * posix/fnmatch_loop.c (FCT): Adjust caller.
58010         * posix/regcomp.c (build_equiv_class): Likewise.
58011         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
58012         * posix/regexec.c (check_node_accept_bytes): Likewise.
58013         * string/strcoll_l.c (STRCOLL): Likewise.
58014         * string/strxfrm_l.c (STRXFRM): Likewise.
58016 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
58018         * Makefile.in: Remove CVSOPT handling.
58019         * configure.in: Remove use of AC_REVISION.
58020         * iconvdata/Makefile (distribute): No need to filter out CVS.
58021         * scripts/list-sources.sh: Remove CVS, subversion and monotone
58022         handling.
58024 2011-11-16  Andreas Schwab  <schwab@redhat.com>
58026         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
58027         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
58028         [USE_AS_STRNCASECMP_L]: Likewise.
58029         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
58030         NO_TLS_DIRECT_SEG_REFS.
58031         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
58032         Fix argument offsets for non-PIC.
58033         [USE_AS_STRNCASECMP_L]: Likewise.
58034         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
58035         NO_TLS_DIRECT_SEG_REFS.
58037 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
58039         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
58040         O_CLOEXEC.
58041         * locale/loadlocale.c (_nl_load_locale): Likewise.
58043 2011-11-15  Andreas Schwab  <schwab@redhat.com>
58045         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
58046         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
58047         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
58048         (SYSCALL_GETTIME): Set errno on error.
58050         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
58051         count references to noai6ai_cached.
58053 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
58055         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
58057         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
58058         FD_CLOEXEC for /proc/self/maps.
58060         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
58061         FD_CLOEXEC for /proc/meminfo.
58063         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
58064         gai.conf.
58066         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
58067         FD_CLOEXEC for given file.
58069         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
58071         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
58072         FD_CLOEXEC for /etc/hosts.
58073         (_gethtent): Likewise.
58075         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
58077         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
58078         cancellation and set FD_CLOEXEC for /etc/netgroup.
58080         * nss/nss_files/files-key.c (search): Don't allow cancellation when
58081         reading /etc/publickey.
58083         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
58084         allow cancellation when reading /etc/group.
58086         * nss/nss_files/files-alias.c (internal_setent): Don't allow
58087         cancellation.
58088         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
58090         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
58091         when using data file.
58093         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
58095         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
58096         (write_nis_obj): Use "c" and "e" in fopen.
58098         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
58100         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
58102         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
58104         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
58106         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
58107         locale.alias.
58109         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
58111         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
58113         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
58115         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
58116         file parsing and set FD_CLOEXEC.
58118 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
58120         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
58122 2011-11-14  Andreas Schwab  <schwab@redhat.com>
58124         * malloc/arena.c (arena_get2): Don't call reused_arena when
58125         _int_new_arena failed.
58127 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
58129         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
58130         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
58131         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
58132         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
58133         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
58134         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
58135         to compile strcasecmp and strncasecmp.
58136         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
58137         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
58139         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
58141 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
58143         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
58144         locale-defines.sym to gen-as-const-headers.
58145         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
58146         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
58147         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
58148         to compile strcasecmp and strncasecmp.
58149         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
58150         strcasecmp_l and strncasecmp_l.
58151         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
58152         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
58153         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
58154         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
58155         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
58156         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
58157         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
58158         * sysdeps/i386/i686/multiarch/strncase.S: New file.
58159         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
58160         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
58161         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
58163 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
58165         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
58166         result of SYSDEP_GETTIME_CPU to retval.
58167         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
58168         parameter list to macro.  Remove trailing semicolon.  Adjust users.
58170         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
58171         variable.
58173         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
58174         mantissa words.
58175         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
58177         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
58178         from unused variable.
58180         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
58181         DWARF definitions.
58182         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
58183         for assembling.
58185         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
58186         over namespaces.
58188         * sunrpc/rpc_prot.c (rejected): Fix case value.
58190         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
58191         unsigned long long int to avoid warnings in shift.
58193         * posix/regex_internal.c (re_string_reconstruct): Actually use result
58194         of use of trans.
58195         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
58196         variable tmp.
58198         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
58199         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
58200         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
58202         * nis/nis_table.c (nis_list): Use variable of correct type for
58203         result of __follow_path call.
58205 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58207         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
58208         of math functions ceil, trunc, floor, round, and sqrt, when
58209         avaliable on the platform.
58210         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
58211         name clash.
58212         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
58213         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
58214         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
58216 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
58218         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
58219         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
58221 2011-11-11  Roland McGrath  <roland@hack.frob.com>
58223         * include/unistd.h: Fix __readlink return type.
58224         Reported by Chris Metcalf <cmetcalf@tilera.com>.
58226 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
58228         * stdlib/ucontext.h: Undo last change for makecontext.
58230 2011-11-11  Andreas Schwab  <schwab@redhat.com>
58232         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
58234         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
58235         * setjmp/setjmp.h: Mark functions as non-leaf.
58236         * setjmp/bits/setjmp2.h: Likewise.
58237         * stdlib/ucontext.h: Likewise.
58239 2011-11-10  Andreas Schwab  <schwab@redhat.com>
58241         * malloc/arena.c (_int_new_arena): Don't increment narenas.
58242         (reused_arena): Don't check arena limit.
58243         (arena_get2): Atomically check arena limit.
58245 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
58247         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
58248         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
58250         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
58251         instructions.
58253 2011-11-07  Andreas Schwab  <schwab@redhat.com>
58255         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
58256         handler when locking.
58258         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
58259         Fix size of allocated buffer.
58261 2011-11-04  Andreas Schwab  <schwab@redhat.com>
58263         [BZ #10103]
58264         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
58265         declarations for long double functions.
58266         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
58268         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
58270 2011-11-03  Andreas Schwab  <schwab@redhat.com>
58272         * nscd/nscd.c (main): Don't start AVC thread until credentials are
58273         installed.
58275         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
58276         is disabled.
58278 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58280         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
58282 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
58284         * include/alloca.h (stackinfo_alloca_round): Define.
58285         (extend_alloca): Use it.
58286         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
58287         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
58288         here.
58290         * scripts/check-local-headers.sh: Ignore libaudit.h.
58292         * nscd/Makefile (extra-objs): Make recursively expanded.
58294 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
58296         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
58297         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
58299         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
58300         * posix/tst-rfc3484-2.c: Likewise.
58301         * posix/tst-rfc3484-3.c: Likewise.
58303         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
58304         process_vm_writev.
58305         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
58306         process_vm_writev.
58307         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
58308         process_vm_writev from libc using GLIBC_2.15 version.
58310         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
58312 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
58314         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
58315         stack usage.
58317 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
58319         [BZ #13367]
58320         * nss/getent.c (initgroups_keys): Show error message in case no group
58321         names are given.
58323         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
58324         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
58325         __bump_nl_timestamp.
58326         * nscd/connections (nscd_init): When host database is served open
58327         netlink socket and request notification about configuration changes.
58328         (main_loop_poll): Track netlink file descriptor and bump timestamp
58329         in case data becomes available.
58330         (main_loop_epoll): Likewise.
58331         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
58332         (database_pers_head): Add extra_data fileds.
58333         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
58334         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
58335         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
58336         Adjust caller.
58337         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
58338         in6ai data, call __free_in6ai.
58339         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
58340         Add -DHAVE_NETLINK.
58341         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
58342         interface information.  Reuse previous data if netlink timestamp
58343         is not changed.
58344         (__bump_nl_timestamp): New function.
58345         (__free_in6ai): New function.
58347 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
58349         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
58350         close_not_cancel_no_status here.
58351         (__check_pf): Reorganize code a bit to not call close twice if OOM.
58353 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
58355         [BZ #13276]
58356         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
58357         return value.
58359         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
58360         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
58361         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
58363 2011-07-03  Andreas Jaeger  <aj@suse.de>
58365         [BZ #10709]
58366         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
58367         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
58368         * math/libm-test.inc (sin_test): Add test case.
58370 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
58372         [BZ #13337]
58373         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
58374         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
58376         * elf/chroot_canon.c (chroot_canon): Cleanups.
58378         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
58380         [BZ #13335]
58381         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
58382         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
58384         * string/test-strchr.c: Make usable for strchrnul testing.
58385         * string/test-strchrnul.c: New file.
58386         * string/Makefile (strop-tests): Add strchrnul.
58388         * po/it.po: Update from translation team.
58389         * po/es.po: Likewise.
58391 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
58393         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
58394         the three constants needed as parameters.  Drop the others.
58395         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
58396         __m128i_strloadu_tolower.
58397         Create and initialize variable zero and use it in all the places
58398         where _mm_setzero_si128 was used.
58400         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
58401         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
58402         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
58403         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
58404         anymore.
58405         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
58406         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
58407         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
58408         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
58409         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
58410         __mpranred, __mptan.
58411         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
58412         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
58413         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
58414         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
58415         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
58416         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
58417         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
58418         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
58419         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
58421 2011-10-28  Andreas Schwab  <schwab@redhat.com>
58423         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
58424         redefine if SHARED.
58425         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
58427         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
58428         wide char related routines to wcsmbs subdir.
58430 2011-10-27  Andreas Schwab  <schwab@redhat.com>
58432         [BZ #13344]
58433         * misc/sys/cdefs.h (__THROWNL): Define.
58434         * posix/unistd.h: Use __THREADNL instead of __THREAD
58435         for memory synchronization functions.
58437 2011-10-26  Roland McGrath  <roland@hack.frob.com>
58439         [BZ #13349]
58440         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
58441         doesn't exist.
58442         * manual/stdio.texi (Obstack Streams): Node removed.
58444 2011-10-26  Andreas Schwab  <schwab@redhat.com>
58446         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
58447         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
58448         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
58450         * math/math_private.h (math_force_eval): Allow non-addressable
58451         arguments.
58452         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
58454 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
58456         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
58457         file is not needed.
58459         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
58460         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
58461         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
58462         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
58463         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
58464         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
58465         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
58466         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
58467         Add AVX variants.
58468         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
58469         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
58470         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
58471         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
58472         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
58473         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
58474         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
58475         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
58476         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
58477         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
58478         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
58479         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
58480         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
58481         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
58482         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
58483         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
58484         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
58485         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
58486         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
58488         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
58489         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
58491         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
58492         place.  Use VEX encoding when compiling for AVX.
58494 2011-10-25  Andreas Schwab  <schwab@redhat.com>
58496         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
58497         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
58499         * string/test-strchr.c (do_test): Don't generate NUL bytes.
58501 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
58503         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
58504         useless if() expression.
58505         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
58506         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
58507         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
58508         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58509         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
58510         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
58511         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
58512         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
58513         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
58514         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
58515         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
58516         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
58517         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
58518         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
58519         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
58520         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
58521         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
58522         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
58523         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
58525         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
58527 2011-10-25  Andreas Schwab  <schwab@redhat.com>
58529         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
58530         condition.
58531         * elf/dl-fini.c (_dl_sort_fini): Likewise.
58533 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
58535         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
58536         .text section.  Avoid duplicate constants.
58537         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
58538         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58539         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
58540         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58541         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58542         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58543         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58544         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58545         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
58546         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
58547         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
58548         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
58549         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
58550         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
58551         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
58552         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
58553         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
58554         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
58555         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
58556         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58557         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
58558         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
58559         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
58560         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
58561         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
58562         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
58563         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
58564         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
58565         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
58566         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
58567         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
58568         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
58569         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
58570         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
58571         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
58572         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
58573         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
58574         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
58575         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
58576         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
58577         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
58578         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
58579         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
58580         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
58581         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
58583 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
58585         * sysdeps/x86_64/dla.h: Move to ...
58586         * sysdeps/x86_64/fpu/dla.h: ...here.
58587         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
58588         situations.  Use __builtin_fma only for gcc 4.6 and up.
58590         * config.make.in: Add have-mfma4 entry.
58591         * configure.in: Substitute libc_cv_cc_fma4.
58592         * math/Makefile (dbl-only-routines): Add sincostab.
58593         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
58594         Use __sincostab not sincos.
58595         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
58596         name is a macro.
58597         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58598         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58599         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58600         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
58601         using __copysign.
58602         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
58603         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
58604         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
58605         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
58606         and __inv.
58607         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
58608         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
58609         __copysign.
58610         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
58611         define aliases when function name is a macro.
58612         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
58613         sysdeps/ieee754/dbl-64/sincos.tbl.
58614         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
58615         fma4-enabled routines.
58616         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
58617         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
58618         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
58619         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
58620         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
58621         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
58622         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
58623         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
58624         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
58625         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
58626         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
58627         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
58628         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
58629         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
58630         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
58631         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
58632         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
58633         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
58634         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
58635         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
58636         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
58637         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
58638         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
58639         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
58640         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
58641         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
58642         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
58643         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
58644         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
58645         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
58647         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
58648         rename.
58649         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58650         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58651         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58652         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58653         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58654         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58655         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58656         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58658 2011-10-24  Andreas Schwab  <schwab@redhat.com>
58660         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
58662 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58664         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
58666         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
58667         prediction.
58668         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
58670         * string/strnlen.c: Don't define STRNLEN, reverse logic.
58671         Remove unused variable magic_bits.
58672         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
58674         * string/strnlen.c: Define and use STRNLEN macro.
58675         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
58676         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
58677         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
58678         * wcsmbs/wcslen.c: Define and use WCSLEN.
58679         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
58680         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
58681         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
58682         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
58683         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
58684         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
58685         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
58687 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58689         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58690         strnlen-sse2-no-bsf.
58691         Rename strlen-no-bsf to strlen-sse2-no-bsf.
58692         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
58693         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
58694         Add strnlen support.
58695         (USE_AS_STRNLEN): New macro.
58696         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
58697         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
58698         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
58699         * sysdeps/x86_64/wcslen.S: New file.
58701 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
58703         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
58704         XMM-moves are used for copying on small sizes.
58706 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58708         * wcsmbs/Makefile (strop-tests): Add wcschr.
58709         * wcsmbs/test-wcschr.c: New file.
58710         * string/test-strchr.c: Update.
58711         Add wcschr support.
58712         (WIDE): New macro.
58714 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58716         * wcsmbs/Makefile (strop-tests): Add wcslen.
58717         * wcsmbs/test-wcslen.c: New file.
58718         * string/test-strlen.c: Update.
58719         Add wcslen support.
58720         (WIDE): New macro.
58722 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58724         * po/it.po: Update from translation team.
58726 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58728         * sysdeps/x86_64/wcscmp.S: Update.
58729         Fix wrong comparison semantics.
58730         wcscmp shall use signed comparison not unsigned.
58731         Don't use substraction to avoid overflow bug.
58732         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
58733         * wcsmbc/wcscmp.c: Likewise.
58734         * string/test-strcmp.c: Likewise.
58735         Add new tests to check cases with negative values.
58737 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58739         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
58740         * sysdeps/x86_64/dla.h: ...here.  New file.
58741         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
58742         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58743         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58744         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58745         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58746         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58747         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58748         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58749         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58751 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
58753         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
58754         __ynl_finite aliases.
58756 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
58758         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58760         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
58761         define DLA_FMA.
58762         [DLA_FMA] (EMULV): Use DLA_FMA.
58763         [DLA_FMA] (MUL12): Use EMULV.
58764         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
58765         that are not needed.
58766         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58767         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58768         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58769         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58770         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58771         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58772         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58774 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
58776         * math/s_nan.c: Undef __nan.
58777         * math/s_nanf.c: Undef __nanf.
58778         * math/s_nanl.c: Undef __nanl.
58779         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
58780         "math_private.h".
58782 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
58784         * math/s_catan.c: Add branch predictions.
58785         * math/s_catanf.c: Likewise.
58786         * math/s_catanh.c: Likewise.
58787         * math/s_catanhf.c: Likewise.
58788         * math/s_catanhl.c: Likewise.
58789         * math/s_catanl.c: Likewise.
58790         * math/s_cexp.c: Likewise.
58791         * math/s_cexpf.c: Likewise.
58792         * math/s_cexpl.c: Likewise.
58793         * math/s_clog.c: Likewise.
58794         * math/s_clog10.c: Likewise.
58795         * math/s_clog10f.c: Likewise.
58796         * math/s_clog10l.c: Likewise.
58797         * math/s_clogf.c: Likewise.
58798         * math/s_clogl.c: Likewise.
58799         * math/s_csqrt.c: Likewise.
58800         * math/s_csqrtf.c: Likewise.
58801         * math/s_csqrtl.c: Likewise.
58802         * math/s_ctanf.c: Likewise.
58803         * math/s_ctanh.c: Likewise.
58804         * math/s_ctanhf.c: Likewise.
58805         * math/s_ctanhl.c: Likewise.
58806         * math/s_ctanl.c: Likewise.
58808         * math/math_private.h: Define __nan, __nanf, __nanl.
58809         * math/s_cacosh.c: Include <math_private.h>.
58810         * math/s_cacoshl.c: Likewise.
58811         * math/s_casinh.c: Likewise.
58812         * math/s_casinhf.c: Likewise.
58813         * math/s_casinhl.c: Likewise.
58814         * math/s_ccos.c: Rely entire on ccosh.
58815         * math/s_ccosf.c: Rely entire on ccoshf.
58816         * math/s_ccosl.c: Rely entirely on ccoshl.
58817         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
58818         Remove tests for FE_INVALID.
58819         * math/s_ccoshf.c: Likewise.
58820         * math/s_ccoshl.c: Likewise.
58821         * math/s_csin.c: Likewise.
58822         * math/s_csinf.c: Likewise.
58823         * math/s_csinh.c Likewise.
58824         * math/s_csinhf.c: Likewise.
58825         * math/s_csinhl.c: Likewise.
58826         * math/s_csinl.c: Likewise.
58827         * math/s_ctan.c: Likewise.
58828         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
58829         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
58830         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
58832 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
58834         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
58835         compilation problems.
58837         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
58838         __builtin_expect.
58840 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
58842         * sysdeps/i386/configure.in: Test for -mfma4 option.
58843         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
58844         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
58845         COMMON_CPUID_INDEX_80000001.
58846         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
58847         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
58848         use it if FMA3 is not supported.
58849         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
58851         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
58852         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
58854 2011-10-20  Andreas Schwab  <schwab@redhat.com>
58856         [BZ #12892]
58857         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
58858         it would create a cycle with a link time dependency.
58860 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
58862         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
58863         instruction.
58864         * string/Makefile (strop-tests): Add rawmemchr.
58865         * string/test-rawmemchr.c: New file.
58867         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
58868         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
58869         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
58870         when compiling str{,n}casecmp and when AVX is available.  Hook up
58871         new optimized code in initializers.
58873 2011-10-19  Andreas Schwab  <schwab@redhat.com>
58875         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
58876         __feraiseexcept instead of feraiseexcept.
58878 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
58880         * math/math_private.h: Define defaults for libc_fetestexcept and
58881         libc_feupdateenv.
58882         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
58883         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
58884         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
58885         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
58886         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
58887         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
58888         libc_fetestexcept and libc_feupdateenv.
58890         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
58891         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
58892         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
58893         * sysdeps/x86_64/fpu/math_private.h: Define special version of
58894         libc_feholdexcept_setround.
58896         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
58897         Add s_nearbyint-c and s_nearbyintf-c.
58898         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
58899         nearbyintf inlines.
58900         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
58901         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
58902         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
58903         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
58905         * math/math_private.h: Define defaults for libc_fegetround,
58906         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
58907         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
58908         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
58909         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
58910         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
58911         standard functions.
58912         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
58913         Remove comments and hacks for old compiler versions.
58914         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
58915         libc_fegetround, libc_fesetround, libc_feholdexcept, and
58916         libc_feholdexceptl.
58918 2011-10-18  Andreas Schwab  <schwab@redhat.com>
58920         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
58921         (__feraiseexcept_renamed): Add __NTH.
58922         (feraiseexcept): Add __NTH.  Rename local variables to fix
58923         namespace violations.
58925 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
58927         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
58929         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
58931         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
58932         recently added interfaces.
58933         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
58935         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
58936         about macro parameter expansion.
58938         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
58939         __NO_MATH_INLINES is defined.  Cleanups.
58941         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
58942         and __floorf is target has SSE4.1.
58943         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
58944         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
58945         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
58946         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
58948         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
58949         name.
58950         (floorf): Likewise.
58952         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
58954 2011-10-17  Andreas Schwab  <schwab@redhat.com>
58956         * misc/sys/cdefs.h: Fix last change.
58958         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
58959         database lookup.
58961 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
58963         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
58965         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
58966         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58967         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
58968         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
58969         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
58970         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
58971         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
58972         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
58973         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
58974         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
58975         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
58976         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
58977         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
58978         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
58979         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
58980         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
58981         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
58982         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
58983         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
58984         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
58985         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
58986         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
58988         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
58989         ceil, ceilf, floor, floorf.
58991         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
58992         Perform IRELATIVE relocations last.
58994         * elf/do-rel.h: Add another parameter nrelative, replacing the
58995         local variable with the same name.  Change name of the function
58996         to end in Rel or Rela (uppercase).
58997         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
58998         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
58999         elf_dynamic_do_##reloc function.
59001 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
59003         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
59004         is sufficient, at least on modern CPUs.
59006         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
59008         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
59009         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
59011         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
59012         __expl_finite.
59013         * math/bits/math-finite.h: Add entries for exp.
59014         * math/e_expl.c: Add __*_finite alias.
59015         * sysdeps/i386/fpu/e_exp.S: Likewise.
59016         * sysdeps/i386/fpu/e_expf.S: Likewise.
59017         * sysdeps/i386/fpu/e_expl.c: Likewise.
59018         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59019         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
59020         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
59021         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
59022         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
59023         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
59024         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
59026         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
59027         is sufficient, at least on modern CPUs.
59029         * ctype/ctype-info.c (__ctype_init): Define.
59030         * include/ctype.h (__ctype_init): Declare.
59031         (__ctype_b_loc): The variable is always initialized.
59032         (__ctype_toupper_loc): Likewise.
59033         (__ctype_tolower_loc): Likewise.
59034         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
59035         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
59037 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
59039         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
59041         * configure.in: Also look in $cxxmachine/include for C++ system
59042         headers.
59044 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59046         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
59047         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
59048         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
59049         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
59050         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
59051         (USE_AS_WMEMCMP): New macro.
59052         Fixing indents.
59053         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
59054         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
59055         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
59056         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
59057         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59058         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
59059         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
59060         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
59061         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
59062         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
59063         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
59064         (USE_AS_WMEMCMP): New macro.
59065         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
59066         * sysdeps/string/test-memcmp.c: Update.
59067         Fix simple_wmemcmp.
59068         Add new tests.
59069         * wcsmbs/wmemcmp.c: Update.
59070         (WMEMCMP): New macro.
59071         Fix overflow bug.
59073 2011-10-12  Andreas Jaeger  <aj@suse.de>
59075         [BZ #13268]
59076         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
59078 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
59080         * libio/iofwide.c (do_length): Avoid warning.
59082         * ctype/ctype.h (__isctype_f): Add missing __THROW.
59084 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
59086         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
59088         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
59089         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
59090         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
59091         * sysdeps/i386/i686/fpu/e_log.S: New file.
59092         * sysdeps/i386/i686/fpu/e_logf.S: New file.
59093         * sysdeps/i386/i686/fpu/e_logl.S: New file.
59095         * ctype/ctype.h: Add support for inlined isXXX functions when
59096         compiling C++ code.
59098 2011-10-14  Andreas Schwab  <schwab@redhat.com>
59100         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59102         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
59104 2011-10-13  Roland McGrath  <roland@hack.frob.com>
59106         [BZ #13291]
59107         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
59109 2011-10-13  Andreas Schwab  <schwab@redhat.com>
59111         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
59112         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
59113         feraiseexcept.
59115         * sysdeps/x86_64/memrchr.S: Check for zero size.
59117         * string/stratcliff.c: Add memrchr tests.
59119 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59121         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59122         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
59123         rawmemchr-sse2 rawmemchr-sse2-bsf.
59124         * sysdeps/i386/i686/multiarch/memchr.S: New file.
59125         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
59126         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
59127         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
59128         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
59129         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
59130         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
59131         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
59132         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
59133         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
59134         * string/memrchr.c (MEMRCHR): New macro.
59136 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
59138         Add integration with gcc's -ffinite-math-only and optimize wrapper
59139         functions in libm.
59140         * Versions.def: Define GLIBC_2.15 version for libm.
59141         * math/Makefile (headers): Add bits/math-finite.h.
59142         * math/bits/math-finite.h: New file.
59143         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
59144         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
59145         * math/e_acoshl.c: Add __*_finite alias.
59146         * math/e_acosl.c: Likewise.
59147         * math/e_asinl.c: Likewise.
59148         * math/e_atan2l.c: Likewise.
59149         * math/e_atanhl.c: Likewise.
59150         * math/e_coshl.c: Likewise.
59151         * math/e_exp10.c: Likewise.
59152         * math/e_exp10f.c: Likewise.
59153         * math/e_exp10l.c: Likewise.
59154         * math/e_exp2l.c: Likewise.
59155         * math/e_fmodl.c: Likewise.
59156         * math/e_gammal_r.c: Likewise.
59157         * math/e_hypotl.c: Likewise.
59158         * math/e_j0l.c: Likewise.
59159         * math/e_j1l.c: Likewise.
59160         * math/e_jnl.c: Likewise.
59161         * math/e_lgammal_r.c: Likewise.
59162         * math/e_log10l.c: Likewise.
59163         * math/e_log2l.c: Likewise.
59164         * math/e_logl.c: Likewise.
59165         * math/e_powl.c: Likewise.
59166         * math/e_sinhl.c: Likewise.
59167         * math/e_sqrtl.c: Likewise.
59168         * math/e_scalb.c: Completely rewritten and optimized.
59169         * math/e_scalbf.c: Likewise.
59170         * math/e_scalbl.c: Likewise.
59171         * math/w_acos.c: Likewise.
59172         * math/w_acosf.c: Likewise.
59173         * math/w_acosl.c: Likewise.
59174         * math/w_acosh.c: Likewise.
59175         * math/w_acoshf.c: Likewise.
59176         * math/w_acoshl.c: Likewise.
59177         * math/w_asin.c: Likewise.
59178         * math/w_asinf.c: Likewise.
59179         * math/w_asinl.c: Likewise.
59180         * math/w_atan2.c: Likewise.
59181         * math/w_atan2f.c: Likewise.
59182         * math/w_atan2l.c: Likewise.
59183         * math/w_atanh.c: Likewise.
59184         * math/w_atanhf.c: Likewise.
59185         * math/w_atanhl.c: Likewise.
59186         * math/w_exp10.c: Likewise.
59187         * math/w_exp10f.c: Likewise.
59188         * math/w_exp10l.c: Likewise.
59189         * math/w_fmod.c: Likewise.
59190         * math/w_fmodf.c: Likewise.
59191         * math/w_fmodl.c: Likewise.
59192         * math/w_j0.c: Likewise.
59193         * math/w_j0f.c: Likewise.
59194         * math/w_j0l.c: Likewise.
59195         * math/w_j1.c: Likewise.
59196         * math/w_j1f.c: Likewise.
59197         * math/w_j1l.c: Likewise.
59198         * math/w_jn.c: Likewise.
59199         * math/w_jnf.c: Likewise.
59200         * math/w_log.c: Likewise.
59201         * math/w_logf.c: Likewise.
59202         * math/w_logl.c: Likewise.
59203         * math/w_log10.c: Likewise.
59204         * math/w_log10f.c: Likewise.
59205         * math/w_log10l.c: Likewise.
59206         * math/w_log2.c: Likewise.
59207         * math/w_log2f.c: Likewise.
59208         * math/w_log2l.c: Likewise.
59209         * math/w_pow.c: Likewise.
59210         * math/w_powf.c: Likewise.
59211         * math/w_powl.c: Likewise.
59212         * math/w_remainder.c: Likewise.
59213         * math/w_remainderf.c: Likewise.
59214         * math/w_remainderl.c: Likewise.
59215         * math/w_scalb.c: Likewise.
59216         * math/w_scalbf.c: Likewise.
59217         * math/w_scalbl.c: Likewise.
59218         * math/w_sqrt.c: Likewise.
59219         * math/w_sqrtf.c: Likewise.
59220         * math/w_sqrtl.c: Likewise.
59221         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
59222         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
59223         used.
59224         * math/math_private.h: Declare __kernel_standard_f.
59225         * math/w_cosh.c: Remove cruft and optimize a bit.
59226         * math/w_coshf.c: Likewise.
59227         * math/w_coshl.c: Likewise.
59228         * math/w_exp2.c: Likewise.
59229         * math/w_exp2f.c: Likewise.
59230         * math/w_exp2l.c: Likewise.
59231         * math/w_hypot.c: Likewise.
59232         * math/w_hypotf.c: Likewise.
59233         * math/w_hypotl.c: Likewise.
59234         * math/w_lgamma.c: Likewise.
59235         * math/w_lgamma_r.c: Likewise.
59236         * math/w_lgammaf.c: Likewise.
59237         * math/w_lgammaf_r.c: Likewise.
59238         * math/w_lgammal.c: Likewise.
59239         * math/w_lgammal_r.c: Likewise.
59240         * math/w_sinh.c: Likewise.
59241         * math/w_sinhf.c: Likewise.
59242         * math/w_sinhl.c: Likewise.
59243         * math/w_tgamma.c: Likewise.
59244         * math/w_tgammaf.c: Likewise.
59245         * math/w_tgammal.c: Likewise.
59246         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
59247         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
59248         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
59249         Minor optimizations.  Pretty printing.  Remove cruft.
59250         * sysdeps/i386/fpu/e_acosf.S: Likewise.
59251         * sysdeps/i386/fpu/e_acosh.S: Likewise.
59252         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
59253         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
59254         * sysdeps/i386/fpu/e_acosl.c: Likewise.
59255         * sysdeps/i386/fpu/e_asin.S: Likewise.
59256         * sysdeps/i386/fpu/e_asinf.S: Likewise.
59257         * sysdeps/i386/fpu/e_atan2.S: Likewise.
59258         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
59259         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
59260         * sysdeps/i386/fpu/e_atanh.S: Likewise.
59261         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
59262         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
59263         * sysdeps/i386/fpu/e_exp10.S: Likewise.
59264         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
59265         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
59266         * sysdeps/i386/fpu/e_exp2.S: Likewise.
59267         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
59268         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
59269         * sysdeps/i386/fpu/e_fmod.S: Likewise.
59270         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
59271         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
59272         * sysdeps/i386/fpu/e_hypot.S: Likewise.
59273         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
59274         * sysdeps/i386/fpu/e_log.S: Likewise.
59275         * sysdeps/i386/fpu/e_log10.S: Likewise.
59276         * sysdeps/i386/fpu/e_log10f.S: Likewise.
59277         * sysdeps/i386/fpu/e_log10l.S: Likewise.
59278         * sysdeps/i386/fpu/e_log2.S: Likewise.
59279         * sysdeps/i386/fpu/e_log2f.S: Likewise.
59280         * sysdeps/i386/fpu/e_log2l.S: Likewise.
59281         * sysdeps/i386/fpu/e_logf.S: Likewise.
59282         * sysdeps/i386/fpu/e_logl.S: Likewise.
59283         * sysdeps/i386/fpu/e_pow.S: Likewise.
59284         * sysdeps/i386/fpu/e_powf.S: Likewise.
59285         * sysdeps/i386/fpu/e_powl.S: Likewise.
59286         * sysdeps/i386/fpu/e_remainder.S: Likewise.
59287         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
59288         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
59289         * sysdeps/i386/fpu/e_scalb.S: Likewise.
59290         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
59291         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
59292         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
59293         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
59294         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
59295         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
59296         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
59297         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59298         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
59299         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
59300         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
59301         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
59302         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
59303         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
59304         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
59305         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
59306         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
59307         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59308         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
59309         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
59310         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59311         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
59312         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
59313         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
59314         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59315         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
59316         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
59317         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
59318         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
59319         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
59320         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
59321         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
59322         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
59323         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
59324         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
59325         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
59326         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
59327         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
59328         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
59329         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
59330         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
59331         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
59332         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
59333         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
59334         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
59335         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
59336         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
59337         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
59338         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
59339         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
59340         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
59341         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
59342         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
59343         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
59344         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
59345         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
59346         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
59347         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
59348         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
59349         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
59350         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
59351         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
59352         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
59353         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
59354         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
59355         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
59356         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
59357         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
59358         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
59359         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
59360         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
59361         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
59362         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
59363         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
59364         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
59365         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
59366         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
59367         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
59368         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
59369         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
59370         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
59371         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
59372         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
59373         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
59374         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
59375         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
59376         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
59377         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
59378         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
59379         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
59380         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
59381         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
59382         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
59383         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
59384         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
59385         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
59386         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
59387         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
59388         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
59389         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
59390         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
59391         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
59392         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
59393         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
59394         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
59395         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
59396         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
59397         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
59398         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
59399         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
59400         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
59401         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
59402         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
59403         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
59404         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
59405         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
59406         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
59407         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
59408         (__isnanf): Likewise.
59409         (__isinf_ns): Likewise.
59410         (__isinf_nsf): Likewise.
59411         (__finite): Likewise.
59412         (__finitef): Likewise.
59413         (__ieee754_sqrt): Define as macro.
59414         (__ieee754_sqrtf): Define as macro.
59415         (__ieee754_sqrtl): Define as macro.
59416         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
59417         inlined copy.
59418         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
59419         __FINITE_MATH_ONLY__ consistent.
59420         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
59422 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
59424         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
59425         of rawmemchr.
59427         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
59429 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
59431         * po/ja.po: Update from translation team.
59433 2011-10-08  Roland McGrath  <roland@hack.frob.com>
59435         * locale/programs/locarchive.c (prepare_address_space): New function.
59436         (create_archive, enlarge_archive, open_archive): Use it.
59438         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
59439         inside [SHARED], where it is used.
59441         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
59443         * nss/getent.c (netgroup_keys): Remove unused variable.
59444         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
59446 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
59448         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
59449         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
59450         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
59451         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
59452         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
59453         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
59454         * math/Makefile (libm-calls): Add s_isinf_ns.
59455         * math/divtc3.c: Use __isinf_nsl instead of isinf.
59456         * math/multc3.c: Likewise.
59457         * math/s_casin.c: Likewise.
59458         * math/s_casinf.c: Likewise.
59459         * math/s_casinl.c: Likewise.
59460         * math/s_ccos.c: Likewise.
59461         * math/s_ccosf.c: Likewise.
59462         * math/s_ccosl.c: Likewise.
59463         * math/s_ctan.c: Likewise.
59464         * math/s_ctanf.c: Likewise.
59465         * math/s_ctanh.c: Likewise.
59466         * math/s_ctanhf.c: Likewise.
59467         * math/s_ctanhl.c: Likewise.
59468         * math/s_ctanl.c: Likewise.
59469         * math/w_fmod.c: Likewise.
59470         * math/w_fmodf.c: Likewise.
59471         * math/w_fmodl.c: Likewise.
59472         * math/w_remainder.c: Likewise.
59473         * math/w_remainderf.c: Likewise.
59474         * math/w_remainderl.c: Likewise.
59475         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
59476         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
59477         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
59478         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
59479         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
59480         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
59481         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
59482         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
59484         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
59485         of the number.
59486         * stdio-common/printf_fphex.c: Likewise.
59487         * stdio-common/printf_size.c: Likewise.
59489         * math/e_exp10.c: Include math_private.h using <...> not "...".
59490         * math/e_exp10f.c: Likewise.
59491         * math/e_exp10l.c: Likewise.
59492         * math/e_exp2l.c: Likewise.
59493         * math/e_j0l.c: Likewise.
59494         * math/e_j1l.c: Likewise.
59495         * math/e_jnl.c: Likewise.
59496         * math/e_lgammal_r.c: Likewise.
59497         * math/e_rem_pio2l.c: Likewise.
59498         * math/e_scalb.c: Likewise.
59499         * math/e_scalbf.c: Likewise.
59500         * math/e_scalbl.c: Likewise.
59501         * math/k_cosl.c: Likewise.
59502         * math/k_sinl.c: Likewise.
59503         * math/k_tanl.c: Likewise.
59504         * math/s_cacoshf.c: Likewise.
59505         * math/s_catan.c: Likewise.
59506         * math/s_catanf.c: Likewise.
59507         * math/s_catanh.c: Likewise.
59508         * math/s_catanhf.c: Likewise.
59509         * math/s_catanhl.c: Likewise.
59510         * math/s_catanl.c: Likewise.
59511         * math/s_ccosh.c: Likewise.
59512         * math/s_ccoshf.c: Likewise.
59513         * math/s_ccoshl.c: Likewise.
59514         * math/s_cexp.c: Likewise.
59515         * math/s_cexpf.c: Likewise.
59516         * math/s_cexpl.c: Likewise.
59517         * math/s_clog.c: Likewise.
59518         * math/s_clog10.c: Likewise.
59519         * math/s_clog10f.c: Likewise.
59520         * math/s_clog10l.c: Likewise.
59521         * math/s_clogf.c: Likewise.
59522         * math/s_clogl.c: Likewise.
59523         * math/s_csin.c: Likewise.
59524         * math/s_csinf.c: Likewise.
59525         * math/s_csinh.c: Likewise.
59526         * math/s_csinhf.c: Likewise.
59527         * math/s_csinhl.c: Likewise.
59528         * math/s_csinl.c: Likewise.
59529         * math/s_csqrt.c: Likewise.
59530         * math/s_csqrtf.c: Likewise.
59531         * math/s_csqrtl.c: Likewise.
59532         * math/s_ctan.c: Likewise.
59533         * math/s_ctanf.c: Likewise.
59534         * math/s_ctanh.c: Likewise.
59535         * math/s_ctanhf.c: Likewise.
59536         * math/s_ctanhl.c: Likewise.
59537         * math/s_ctanl.c: Likewise.
59538         * math/s_ldexp.c: Likewise.
59539         * math/s_ldexpf.c: Likewise.
59540         * math/s_ldexpl.c: Likewise.
59541         * math/s_significand.c: Likewise.
59542         * math/s_significandf.c: Likewise.
59543         * math/s_significandl.c: Likewise.
59544         * math/w_acos.c: Likewise.
59545         * math/w_acosf.c: Likewise.
59546         * math/w_acosh.c: Likewise.
59547         * math/w_acoshf.c: Likewise.
59548         * math/w_acoshl.c: Likewise.
59549         * math/w_acosl.c: Likewise.
59550         * math/w_asin.c: Likewise.
59551         * math/w_asinf.c: Likewise.
59552         * math/w_asinl.c: Likewise.
59553         * math/w_atan2.c: Likewise.
59554         * math/w_atan2f.c: Likewise.
59555         * math/w_atan2l.c: Likewise.
59556         * math/w_atanh.c: Likewise.
59557         * math/w_atanhf.c: Likewise.
59558         * math/w_atanhl.c: Likewise.
59559         * math/w_cosh.c: Likewise.
59560         * math/w_coshf.c: Likewise.
59561         * math/w_coshl.c: Likewise.
59562         * math/w_dremf.c: Likewise.
59563         * math/w_exp10.c: Likewise.
59564         * math/w_exp10f.c: Likewise.
59565         * math/w_exp10l.c: Likewise.
59566         * math/w_exp2.c: Likewise.
59567         * math/w_exp2f.c: Likewise.
59568         * math/w_fmod.c: Likewise.
59569         * math/w_fmodf.c: Likewise.
59570         * math/w_fmodl.c: Likewise.
59571         * math/w_hypot.c: Likewise.
59572         * math/w_hypotf.c: Likewise.
59573         * math/w_hypotl.c: Likewise.
59574         * math/w_j0.c: Likewise.
59575         * math/w_j0f.c: Likewise.
59576         * math/w_j0l.c: Likewise.
59577         * math/w_j1.c: Likewise.
59578         * math/w_j1f.c: Likewise.
59579         * math/w_j1l.c: Likewise.
59580         * math/w_jn.c: Likewise.
59581         * math/w_jnf.c: Likewise.
59582         * math/w_jnl.c: Likewise.
59583         * math/w_lgamma.c: Likewise.
59584         * math/w_lgamma_r.c: Likewise.
59585         * math/w_lgammaf.c: Likewise.
59586         * math/w_lgammaf_r.c: Likewise.
59587         * math/w_lgammal.c: Likewise.
59588         * math/w_lgammal_r.c: Likewise.
59589         * math/w_log.c: Likewise.
59590         * math/w_log10.c: Likewise.
59591         * math/w_log10f.c: Likewise.
59592         * math/w_log10l.c: Likewise.
59593         * math/w_log2.c: Likewise.
59594         * math/w_log2f.c: Likewise.
59595         * math/w_log2l.c: Likewise.
59596         * math/w_logf.c: Likewise.
59597         * math/w_logl.c: Likewise.
59598         * math/w_pow.c: Likewise.
59599         * math/w_powf.c: Likewise.
59600         * math/w_powl.c: Likewise.
59601         * math/w_remainder.c: Likewise.
59602         * math/w_remainderf.c: Likewise.
59603         * math/w_remainderl.c: Likewise.
59604         * math/w_scalb.c: Likewise.
59605         * math/w_scalbf.c: Likewise.
59606         * math/w_scalbl.c: Likewise.
59607         * math/w_sinh.c: Likewise.
59608         * math/w_sinhf.c: Likewise.
59609         * math/w_sinhl.c: Likewise.
59610         * math/w_sqrt.c: Likewise.
59611         * math/w_sqrtf.c: Likewise.
59612         * math/w_sqrtl.c: Likewise.
59613         * math/w_tgamma.c: Likewise.
59614         * math/w_tgammaf.c: Likewise.
59615         * math/w_tgammal.c: Likewise.
59617         * po/ja.po: Update from translation team.
59619 2011-09-29  Andreas Jaeger  <aj@suse.de>
59621         [BZ #13179]
59622         * sunrpc/netname.c (netname2host): Fix logic.
59624         [BZ #6779]
59625         [BZ #6783]
59626         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
59627         correctly.
59628         * math/w_remainder.c (__remainder): Likewise.
59629         * math/w_remainderf.c (__remainderf): Likewise.
59630         * math/libm-test.inc (remainder_test): Add test cases.
59632 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59634         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
59635         sdiv_qrnnd.
59637 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
59639         * string/test-memcmp.c: Avoid unncessary #defines.
59640         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
59642 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59644         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
59645         Use new sse2 version for core i3 - i7 as it's faster
59646         than sse42 version.
59647         (bit_Prefer_PMINUB_for_stringop): New.
59648         * sysdeps/x86_64/rawmemchr.S: Update.
59649         Replace with faster SSE2 version.
59650         * sysdeps/x86_64/memrchr.S: New file.
59651         * sysdeps/x86_64/memchr.S: Update.
59652         Replace with faster SSE2 version.
59654 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
59656         * elf/dl-load.c (lose): Add cast to avoid warning.
59658 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
59660         * po/ca.po: Update from translation team.
59662         * inet/getnetgrent_r.c: Hook up nscd.
59663         * nscd/Makefile (routines): Add nscd_netgroup.
59664         (nscd-modules): Add netgroupcache.
59665         (CFLAGS-netgroupcache.c): Define.
59666         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
59667         (cache_search): Add const to second parameter.
59668         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
59669         INNETGR.
59670         (dbs): Add netgrdb entry.
59671         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
59672         (verify_persistent_db): Handle netgrdb.
59673         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
59674         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
59675         GETFDNETGR.
59676         (netgroup_response_header): Define.
59677         (innetgroup_response_header): Define.
59678         (datahead): Add netgroup_response_header and innetgroup_response_header
59679         elements.
59680         * nscd/nscd.conf: Add entries for netgroup cache.
59681         * nscd/nscd.h (dbtype): Add netgrdb.
59682         (_PATH_NSCD_NETGROUP_DB): Define.
59683         (netgroup_iov_disabled): Declare.
59684         (xmalloc, xcalloc, xrealloc): Move declarations here.
59685         (cache_search): Adjust prototype.
59686         Add netgroup-related prototypes.
59687         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
59688         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
59689         (__nscd_innetgr): Declare.
59690         * nscd/selinux.c (perms): Use access_vector_t as element type and
59691         add netgroup-related initializers.
59692         * nscd/netgroupcache.c: New file.
59693         * nscd/nscd_netgroup.c: New file.
59694         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
59695         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
59696         For four parameters use innetgr.
59697         * nss/nss_files/files-init.c: Add definition and callback for netgr.
59698         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
59699         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
59700         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
59702         * nscd/connections.c (register_traced_file): Don't register file
59703         for disabled databases.
59705 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
59707         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
59709         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
59710         from tree and freeing node.
59712 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
59714         * nss/nsswitch.c (__nss_database_lookup): Handle
59715         nss_parse_service_list out of memory case.
59717 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
59719         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
59720         out of memory case.
59722 2011-10-04  Andreas Schwab  <schwab@redhat.com>
59724         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
59725         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
59726         pass it down.
59727         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
59728         elf_machine_rela, elf_machine_lazy_rel.
59729         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
59730         (ELF_DYNAMIC_DO_REL): Likewise.
59731         (ELF_DYNAMIC_DO_RELA): Likewise.
59732         (ELF_DYNAMIC_RELOCATE): Likewise.
59733         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
59734         to ELF_DYNAMIC_DO_REL.
59735         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
59736         (dl_main): In trace mode always set __RTLD_NOIFUNC.
59737         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
59738         elf_machine_rela.
59739         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
59740         skip_ifunc, don't call ifunc function if non-zero.
59741         (elf_machine_rela): Likewise.
59742         (elf_machine_lazy_rel): Likewise.
59743         (elf_machine_lazy_rela): Likewise.
59744         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
59745         (elf_machine_lazy_rel): Likewise.
59746         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
59747         Likewise.
59748         (elf_machine_lazy_rel): Likewise.
59749         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59750         Likewise.
59751         (elf_machine_lazy_rel): Likewise.
59752         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
59753         (elf_machine_lazy_rel): Likewise.
59754         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
59755         (elf_machine_lazy_rel): Likewise.
59756         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
59757         (elf_machine_lazy_rel): Likewise.
59758         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
59759         (elf_machine_lazy_rel): Likewise.
59760         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
59761         (elf_machine_lazy_rel): Likewise.
59762         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
59763         (elf_machine_lazy_rel): Likewise.
59765 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
59767         * nss/nss_files/files-init.c (_nss_files_init): Use static
59768         initialization for all the *_traced_file variables.
59770 2011-09-28  Andreas Schwab  <schwab@redhat.com>
59772         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59774 2011-09-27  Roland McGrath  <roland@hack.frob.com>
59776         [BZ #13226]
59777         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
59779 2011-09-27  Andreas Schwab  <schwab@redhat.com>
59781         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
59782         Reread the line before reparsing it.
59784 2011-09-26  Andreas Schwab  <schwab@redhat.com>
59786         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
59788 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
59789             Maxim Kuvyrkov  <maxim@codesourcery.com>
59790             Joseph Myers  <joseph@codesourcery.com>
59792         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
59793         if needed for __stack_chk_guard.
59795 2011-09-19  Roland McGrath  <roland@hack.frob.com>
59797         * sysdeps/posix/spawni.c (script_execute): Always define it.
59798         It will be optimized away if unused.
59799         (maybe_script_execute): New function.
59800         (__spawni): Call it.
59802         * Makerules: Don't include tls.make.
59803         (config-tls): Always set to thread.
59804         * tls.make.c: File removed.
59806 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
59808         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
59809         * config.make.in (CPPFLAGS-config): New substituted variable.
59811 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
59813         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
59815         [BZ #13192]
59816         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
59817         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
59819 2011-09-15  Roland McGrath  <roland@hack.frob.com>
59821         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
59822         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
59823         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
59824         (CALL_FAIL): Likewise.
59825         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
59826         (CALL_FAIL): Macro removed.
59827         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
59829 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
59831         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
59832         for __FINITE_MATH_ONLY__ == 1.
59834 2011-09-15  Andreas Schwab  <schwab@redhat.com>
59836         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
59837         __ieee754_sqrt instead of sqrt.
59838         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
59839         __ieee754_sqrtf instead of sqrtf.
59840         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
59841         __floorf instead of floorf.
59842         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
59843         __floorf, __truncf instead of floorf, truncf.
59845 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
59847         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
59849         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
59850         __extern_always_inline.
59851         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
59852         32-bit.
59854 2011-09-14  Andreas Schwab  <schwab@redhat.com>
59856         * elf/rtld.c (dl_main): Also relocate in dependency order when
59857         doing symbol dependency testing.
59859 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
59861         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59862         Always define `refsym'.
59864 2011-09-13  Andreas Schwab  <schwab@redhat.com>
59866         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
59867         (__FD_ELT): Renamed from __FDELT.
59868         * misc/bits/select2.h (__FD_ELT): Likewise.
59869         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
59870         __FD_MASK instead of __FDELT, __FDMASK.
59871         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
59872         Likewise.
59873         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
59874         Likewise.
59876         * elf/Makefile (gen-ldd): Fix pattern.
59878         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
59879         (init_tls): Likewise.
59881 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
59883         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
59885 2011-09-12  Andreas Schwab  <schwab@redhat.com>
59887         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
59888         `struct cmsghdr *' instead of `void *'.
59889         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
59890         Likewise.
59892 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
59894         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
59895         if non-absolute.
59896         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
59897         ldd_rewrite_script.
59899 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
59901         * configure.in: Remove --with-tls option.
59902         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
59903         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
59904         out in case it is missing.
59905         * sysdeps/ia64/elf/configure.in: Likewise.
59906         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
59907         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
59908         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
59909         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
59910         * sysdeps/sh/elf/configure.in: Likewise.
59911         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
59912         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
59913         * sysdeps/x86_64/elf/configure.in: Likewise.
59914         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
59915         * sysdeps/mach/hurd/tls.h: Likewise.
59917         [BZ #13067]
59918         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
59920         [BZ #13090]
59921         * configure.in: Fix use of AC_INIT.
59923         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
59925 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
59927         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
59928         __set_errno.
59929         * malloc/hooks.c: Likewise.
59931         [BZ #11929]
59932         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
59933         variables statically.
59934         (narenas): Initialize.
59935         (list_lock): Initialize.
59936         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
59937         initializtion of main_arena and list_lock.  Small cleanups.
59938         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
59939         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
59940         Add initializers to main_arena and mp_.
59941         (malloc_state): Remove pagesize member.  Change all users to use
59942         GLRO(dl_pagesize).
59944         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
59945         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
59946         is always initialized.
59948         * malloc/malloc.c: Removed unused configurations and dead code.
59949         * malloc/arena.c: Likewise.
59950         * malloc/hooks.c: Likewise.
59951         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
59953         * include/tls.h: Removed.  USE___THREAD must always be defined.
59954         * bits/libc-tsd.h: Don't handle !USE___THREAD.
59955         * elf/dl-libc.c: Likewise.
59956         * elf/dl-tsd.c: Likewise.
59957         * include/errno.h: Likewise.
59958         * include/netdb.h: Likewise.
59959         * include/resolv.h: Likewise.
59960         * inet/herrno-loc.c: Likewise.
59961         * inet/herrno.c: Likewise.
59962         * malloc/arena.c: Likewise.
59963         * malloc/hooks.c: Likewise.
59964         * malloc/malloc.c: Likewise.
59965         * resolv/res-state.c: Likewise.
59966         * resolv/res_libc.c: Likewise.
59967         * sysdeps/i386/dl-machine.h: Likewise.
59968         * sysdeps/ia64/dl-machine.h: Likewise.
59969         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
59970         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
59971         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
59972         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
59973         * sysdeps/sh/dl-machine.h: Likewise.
59974         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
59975         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
59976         * sysdeps/unix/i386/sysdep.S: Likewise.
59977         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
59978         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
59979         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
59980         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
59981         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
59982         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
59983         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
59984         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
59985         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
59986         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
59987         * sysdeps/unix/x86_64/sysdep.S: Likewise.
59988         * sysdeps/x86_64/dl-machine.h: Likewise.
59989         * tls.make.c: Likewise.
59991         * configure.in: Remove --with-__thread option.  Make tests for
59992         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
59993         tls_model attribute fail if no support is available.  Remove
59994         USE_IN_LIBIO.
59995         * Makeconfig: Adjust for dropped configure option.  All features are
59996         now mandatory.
59997         * Makerules: Likewise.
59998         * Versions.def: Likewise.
59999         * argp/argp-fmtstream.c: Likewise.
60000         * argp/argp-fmtstream.h: Likewise.
60001         * argp/argp-help.c: Likewise.
60002         * assert/assert.c: Likewise.
60003         * config.h.in: Likewise.
60004         * config.make.in: Likewise.
60005         * configure: Likewise.
60006         * configure.in: Likewise.
60007         * csu/Versions: Likewise.
60008         * csu/init.c: Likewise.
60009         * elf/tst-audit2.c: Likewise.
60010         * elf/tst-tls10.c: Likewise.
60011         * elf/tst-tls10.h: Likewise.
60012         * elf/tst-tls11.c: Likewise.
60013         * elf/tst-tls12.c: Likewise.
60014         * elf/tst-tls14.c: Likewise.
60015         * elf/tst-tlsmod11.c: Likewise.
60016         * elf/tst-tlsmod12.c: Likewise.
60017         * elf/tst-tlsmod13.c: Likewise.
60018         * elf/tst-tlsmod13a.c: Likewise.
60019         * elf/tst-tlsmod14a.c: Likewise.
60020         * elf/tst-tlsmod15b.c: Likewise.
60021         * elf/tst-tlsmod16a.c: Likewise.
60022         * elf/tst-tlsmod16b.c: Likewise.
60023         * elf/tst-tlsmod7.c: Likewise.
60024         * elf/tst-tlsmod8.c: Likewise.
60025         * elf/tst-tlsmod9.c: Likewise.
60026         * gmon/gmon.c: Likewise.
60027         * grp/fgetgrent_r.c: Likewise.
60028         * grp/putgrent.c: Likewise.
60029         * hurd/fopenport.c: Likewise.
60030         * include/libc-symbols.h: Likewise.
60031         * include/tls.h: Likewise.
60032         * intl/gettextP.h: Likewise.
60033         * intl/loadinfo.h: Likewise.
60034         * locale/global-locale.c: Likewise.
60035         * locale/localeinfo.h: Likewise.
60036         * mach/devstream.c: Likewise.
60037         * malloc/arena.c: Likewise.
60038         * malloc/set-freeres.c: Likewise.
60039         * misc/err.c: Likewise.
60040         * misc/getttyent.c: Likewise.
60041         * misc/mntent_r.c: Likewise.
60042         * posix/getopt.c: Likewise.
60043         * posix/wordexp.c: Likewise.
60044         * pwd/fgetpwent_r.c: Likewise.
60045         * resolv/Versions: Likewise.
60046         * resolv/res_hconf.c: Likewise.
60047         * shadow/fgetspent_r.c: Likewise.
60048         * shadow/putspent.c: Likewise.
60049         * stdio-common/printf_fphex.c: Likewise.
60050         * stdio-common/tmpfile.c: Likewise.
60051         * stdlib/abort.c: Likewise.
60052         * stdlib/fmtmsg.c: Likewise.
60053         * sunrpc/auth_unix.c: Likewise.
60054         * sunrpc/clnt_perr.c: Likewise.
60055         * sunrpc/clnt_tcp.c: Likewise.
60056         * sunrpc/clnt_udp.c: Likewise.
60057         * sunrpc/clnt_unix.c: Likewise.
60058         * sunrpc/openchild.c: Likewise.
60059         * sunrpc/svc_simple.c: Likewise.
60060         * sunrpc/svc_tcp.c: Likewise.
60061         * sunrpc/svc_udp.c: Likewise.
60062         * sunrpc/svc_unix.c: Likewise.
60063         * sunrpc/xdr.c: Likewise.
60064         * sunrpc/xdr_array.c: Likewise.
60065         * sunrpc/xdr_rec.c: Likewise.
60066         * sunrpc/xdr_ref.c: Likewise.
60067         * sunrpc/xdr_stdio.c: Likewise.
60069 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
60071         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60073 2011-07-03  Andreas Jaeger  <aj@suse.de>
60075         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
60076         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
60077         regenerate with gen-libm-tests.pl.
60079 2010-05-12  Petr Baudis  <pasky@suse.cz>
60081         [BZ #11589]
60082         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
60083         around j0() zero points by switching to j1().
60084         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
60085         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
60086         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
60087         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
60089 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
60091         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
60092         instead of 0.
60093         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
60094         instead of 0.
60095         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60096         Patch in part by Pavel Roskin <proski@gnu.org>.
60098         [BZ #13138]
60099         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
60100         realloc.
60101         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
60102         Free memory block if necessary.
60104         [BZ #12847]
60105         * libio/genops.c (INTDEF): For string streams the _lock pointer can
60106         be NULL.  Don't lock in this case.
60108 2011-09-09  Roland McGrath  <roland@hack.frob.com>
60110         * elf/elf.h (ELFOSABI_GNU): New macro.
60111         (ELFOSABI_LINUX): Define to that.
60113 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
60115         * string/strncat.c (strncat): Undef the symbol in case it has been
60116         defined in bits/string.h.
60118 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
60120         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
60122         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
60123         link map.
60125 2011-08-17  Andreas Jaeger  <aj@suse.de>
60127         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
60129 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
60130             Ian Lance Taylor  <iant@google.com>
60132         * math/libm-test.inc (lround_test): New testcase.
60133         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
60135 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
60137         * Makefile: Remove support for automatic cvs check-ins.
60138         * Makerules: Likewise.
60139         * config.make.in: Likewise.
60140         * configure.in: Likewise.
60141         * intl/Makefile: Likewise.
60142         * locale/Makefile: Likewise.
60143         * po/Makefile: Likewise.
60144         * posix/Makefile: Likewise.
60145         * sysdeps/gnu/Makefile: Likewise.
60146         * sysdeps/mach/hurd/Makefile: Likewise.
60147         * sysdeps/sparc/sparc32/Makefile: Likewise.
60149         [BZ #13118]
60150         * posix/Makefile (bug-regex32-ENV): Define.
60151         Patch by John Stanley <jpsinthemix@verizon.net>.
60153         * misc/Makefile (headers): Add bits/select2.h.
60154         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
60155         * misc/bits/select2.h: New file.
60156         * include/bits/select2.h: New file.
60157         * debug/Makefile (routines): Add fdelt_chk.
60158         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
60159         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
60160         FD_ISSET.
60161         * debug/fdelt_chk.c: New file.
60163         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
60164         * wcsmbs/test-wmemcmp.c: Likewise.
60165         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
60166         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
60168 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60170         * string/Makefile (strop-tests): Add memcmp.
60171         * string/test-wmemcmp.c: New file.
60172         * string/test-memcmp.c: Add wmemcmp support.
60174 2011-09-08  Roland McGrath  <roland@hack.frob.com>
60176         [BZ #13153]
60177         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
60178         2011-07-19 change.
60180         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
60181         garbage value in a __mach_port_mod_refs call in the cases of the
60182         task-self and thread-self ports.
60184 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60186         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
60188 2011-09-08  Andreas Schwab  <schwab@redhat.com>
60190         * elf/dl-load.c (lose): Check for non-null L.
60192 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
60194         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
60196         * elf/dl-libc.c (dlerror_run): Pass back error code from
60197         dl_catch_error.
60199         [BZ #13123]
60200         * elf/dl-load.c (lose): Free l_origin if it is valid.
60202         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
60203         names.
60204         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
60205         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
60206         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
60207         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
60208         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
60209         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
60211 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60213         * sysdeps/powerpc/fpu/e_hypot.c: New file.
60214         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
60215         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
60216         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
60217         * sysdeps/powerpc/fpu/k_cosf.c: New file.
60218         * sysdeps/powerpc/fpu/k_sinf.c: New file.
60219         * sysdeps/powerpc/fpu/s_cosf.c: New file.
60220         * sysdeps/powerpc/fpu/s_sinf.c: New file.
60221         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
60222         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
60224 2011-08-15  Alan Modra  <amodra@gmail.com>
60226         [BZ #13092]
60227         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
60228         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
60229         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
60230         ppc_mcount to static-only-routines.
60231         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
60232         __mcount_internal.
60233         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
60234         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
60236 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
60238         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
60239         for finite and infinity parameters.
60241 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
60243         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
60244         and add nop instructions for throughput optimization.
60245         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
60247 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
60249         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
60250         aligned copy for power7 with vector-scalar instructions.
60251         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
60253 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
60255         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
60256         AVX check.
60258 2011-09-07  Andreas Schwab  <schwab@redhat.com>
60260         [BZ #13144]
60261         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
60262         last change.
60264 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
60266         * sysdeps/unix/sysv/linux/x86_64/init-first.c
60267         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
60268         syscall wrapper around clock_gettime in __vdso_clock_gettime.
60269         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
60270         clock_gettime.
60272 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
60274         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
60275         Forgot to demangle the pointer.
60277         * sysdeps/i386/sysdep.h: Define atom_text_section.
60278         * sysdeps/x86_64/sysdep.h: Likewise.
60279         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
60280         section with atom_text_section.
60281         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
60282         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
60283         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
60284         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
60285         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
60287         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
60288         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
60289         already be defined.  Change to take two parameters and don't assign
60290         result to variable.  Adjust all users.
60291         Define INTERNAL_GETTIME if not already defined.
60292         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
60293         call.
60294         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
60295         HAVE_CLOCK_GETTIME_VSYSCALL.
60296         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
60298         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
60299         gettimeofday vsyscall, just use time.
60301 2011-09-06  Andreas Schwab  <schwab@redhat.com>
60303         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
60304         <errno.h>.
60306 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
60308         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
60309         syscall on x86-64.
60310         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
60311         syscall.
60312         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
60313         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
60314         syscall if possible.
60316 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
60318         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
60319         e_ident.  Don't pass to find_mapsXX.
60320         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
60322 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60324         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60325         strchr-sse2-no-bsf strrchr-sse2-no-bsf
60326         * sysdeps/x86_64/multiarch/strchr.S: Update.
60327         Check bit_slow_BSF bit.
60328         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
60329         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
60330         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
60332 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
60334         [BZ #13134]
60335         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
60336         before glibc 2.15.
60337         (tryshell): Define.
60338         (__spawni): Change last parameter to be flag.  Test
60339         SPAWN_XFLAGS_USE_PATH flag to use path or not.
60340         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
60341         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
60342         * posix/spawni.c: Likewise.
60343         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
60344         * posix/spawnp.c: Likewise.  Change normal version to use
60345         SPAWN_XFLAGS_USE_PATH.
60346         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
60347         SPAWN_XFLAGS_TRY_SHELL.
60349         [BZ #13150]
60350         * posix/glob.h: Remove gcc 1.x support.
60352         [BZ #13068]
60353         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
60355 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60357         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60358         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
60359         strrchr-sse2-bsf
60360         * sysdeps/i386/i686/multiarch/strchr.S: New file.
60361         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
60362         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
60363         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
60364         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
60365         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
60367 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60369         * sysdeps/x86_64/wcscmp.S: New file.
60371         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
60372         wcscmp-c wcscmp-sse2
60373         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
60374         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
60375         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
60376         * wcsmbs/wcscmp.c: Allow renaming.
60378 2011-09-05  David S. Miller  <davem@davemloft.net>
60380         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
60381         stack slot, rather than the struct return pointer slot.
60382         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
60383         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
60384         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
60385         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
60387 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
60389         * po/ja.po: Update from translation team.
60391         [BZ #13144]
60392         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
60393         kernel in 64-bit binaries.
60395 2011-09-01  David S. Miller  <davem@davemloft.net>
60397         * elf/elf.h (HWCAP_SPARC_*): Move to..
60398         * sysdeps/sparc/sysdep.h: this new file and add new values.
60399         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
60400         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
60401         _DL_HWCAP_COUNT to 24.
60402         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
60403         entries.
60404         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
60405         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
60406         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
60407         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
60408         instead of magic constants.
60409         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
60411 2011-08-31  David S. Miller  <davem@davemloft.net>
60413         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
60414         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
60415         Reimplement to do errno handling inline.
60416         (SYSCALL_ERROR_HANDLER): New macro.
60417         (__SYSCALL_STRING): Do not do errno handling in asm.
60418         (__CLONE_SYSCALL_STRING): Delete.
60419         (__INTERNAL_SYSCALL_STRING): Delete.
60420         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
60421         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
60422         (PSEUDO): Reimplement to do errno handling inline.
60423         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
60424         (SYSCALL_ERROR_HANDLER): New macro.
60425         (__SYSCALL_STRING): Do not do errno handling in asm.
60426         (__CLONE_SYSCALL_STRING): Delete.
60427         (__INTERNAL_SYSCALL_STRING): Delete.
60428         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
60429         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
60430         i386.
60431         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
60432         (inline_syscall*): Add 'err' argument.
60433         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
60434         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
60435         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
60436         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
60438         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
60439         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
60441 2011-08-30  Andreas Schwab  <schwab@redhat.com>
60443         * elf/rtld.c (dl_main): Relocate objects in dependency order.
60445 2011-08-29  Jiri Olsa <jolsa@redhat.com>
60447         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
60448         directive.
60450 2011-08-24  David S. Miller  <davem@davemloft.net>
60452         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
60454 2011-08-24  Andreas Schwab  <schwab@redhat.com>
60456         * elf/Makefile: Add rules to build and run unload8 test.
60457         * elf/unload8.c: New file.
60458         * elf/unload8mod1.c: New file.
60459         * elf/unload8mod1x.c: New file.
60460         * elf/unload8mod2.c: New file.
60461         * elf/unload8mod3.c: New file.
60463         * elf/dl-close.c (_dl_close_worker): Reset private search list if
60464         it wasn't used.
60466 2011-08-23  David S. Miller  <davem@davemloft.net>
60468         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
60469         subtract stack bias.
60470         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
60471         %sp not %fp in calculations.
60472         (_JMPBUF_UNWINDS_ADJ): Likewise.
60474         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
60475         (aio_suspend): Call it to force an exception region around the
60476         AIO_MISC_WAIT() invocation.
60478 2011-08-23  Andreas Schwab  <schwab@redhat.com>
60480         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
60481         backslash.
60483 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
60485         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
60486         protection macro.
60487         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
60488         and <dl-machine.h>.
60489         (Elf64_FuncDesc): Remove.
60491 2011-08-22  David S. Miller  <davem@davemloft.net>
60493         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
60494         sigaltstack check, add missing cfi directives.
60495         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
60496         missing cfi directives, and sigaltstack handling.
60498 2011-08-16  Andreas Schwab  <schwab@redhat.com>
60500         [BZ #11724]
60501         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
60502         object is seen twice.
60503         * elf/dl-fini.c (_dl_sort_fini): Likewise.
60505         * elf/Makefile (distribute): Add tst-initorder2.c.
60506         (tests): Add tst-initorder2.
60507         (modules-names): Add tst-initorder2a tst-initorder2b
60508         tst-initorder2c tst-initorder2d.  Add rules to build them.
60509         ($(objpfx)tst-initorder2.out): New rule.
60510         * elf/tst-initorder2.c: New file.
60511         * elf/tst-initorder2.exp: New file.
60513 2011-08-22  Andreas Schwab  <schwab@redhat.com>
60515         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
60517         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
60518         dependencies back to end of function.
60520         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
60521         $(elfobjdir)/ld.so.
60523 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
60525         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
60526         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
60527         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
60528         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
60529         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
60530         of __vdso_gettimeofday.
60531         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
60532         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
60533         attribute_hidden.
60534         (_libc_vdso_platform_setup): Remove initialization of
60535         __vdso_gettimeofday and __vdso_time.
60537 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
60539         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
60540         and fgetc_unlocked.
60541         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
60542         getc_unlocked.
60544         * elf/dl-open.c (add_to_global): Report additions to the global scope
60545         for LD_DEBUG=scopes.
60546         (dl_open_worker): Also print scope of newly loaded dependencies.
60547         (_dl_show_scope): Indicate if there is no scope.
60549         [BZ #13114]
60550         * stdio-common/Makefile (tests): Add bug24.
60551         * stdio-common/bug24.c: New file.
60553 2011-08-19  Andreas Jaeger  <aj@suse.de>
60555         [BZ #13114]
60556         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
60557         non-existant file when using close-on-exec mode.
60559 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
60561         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
60562         the very first instruction.
60564         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
60565         the CFI state in the end.
60566         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
60567         inclusion of dl-trampoline.h.
60568         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
60570 2011-08-19  Andreas Schwab  <schwab@redhat.com>
60572         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
60573         expectations for long double.
60575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
60576         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
60578 2011-08-14  David S. Miller  <davem@davemloft.net>
60580         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
60581         artificual limit depends upon the system page size.
60583 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
60585         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
60586         * resolv/Makefile: Define CFLAGS-libresolv.
60588 2011-08-17  Andreas Schwab  <schwab@redhat.com>
60590         * nss/makedb.c (compute_tables): Make variables used in nested
60591         function static.
60593 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
60595         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
60596         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
60597         if buffer was too small.
60599         * elf/pldd.c (main): Attach to all threads in the process.
60600         Rewrite /proc handling to use *at functions.
60602 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
60604         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
60605         specifies first scope to show.
60606         (dl_open_worker): Update callers.  Move printing scope of new
60607         object to before the relocation.
60608         * elf/rtld.c (dl_main): Update _dl_show_scope call.
60609         * sysdeps/generic/ldsodefs.h: Update declaration.
60611         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
60612         string for the scope number.
60614 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
60616         * nscd/servicescache.c (cache_addserv): Make sure written is always
60617         initialized.
60619 2011-08-14  Roland McGrath  <roland@hack.frob.com>
60621         * sysdeps/i386/i486/bits/atomic.h
60622         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
60623         statement expression, so as to suppress "set but not used" warning.
60624         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
60626         * string/strncat.c (STRNCAT): Use prototype definition.
60628         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
60629         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
60630         -Iprograms here.
60631         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
60632         (localedef-modules): Add localedef.
60633         (locale-modules): Add locale.
60635         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
60636         * elf/rtld.c (dl_main): Invert order of assignment in last change,
60637         to avoid a warning.
60639 2011-08-14  David S. Miller  <davem@davemloft.net>
60641         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
60642         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
60644 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
60646         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
60647         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
60648         * elf/rtld.c (dl_main): Set l_name of vDSO.
60649         Call _dl_show_scope when DL_DEBUG_SCOPES.
60650         (process_dl_debug): Recognize scopes flag and also set it for all.
60651         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
60652         Declare _dl_show_scope.
60654         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
60655         (do_dlopen): Pass caller_dlopen to dl_open.
60656         (__libc_dlopen_mode): Initialize caller_dlopen.
60658         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
60659         of libc.  Make tolower call locale-independent.  Optimize a bit by
60660         using isdigit instead of isalnum.
60661         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
60663 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
60665         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
60666         was a dependency or dynamically loaded.
60668 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
60670         * intl/l10nflist.c: Allow architecture-specific pop function.
60671         * sysdeps/x86_64/l10nflist.c: New file.
60673         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
60674         classification.
60676 2011-08-10  Andreas Schwab  <schwab@redhat.com>
60678         * include/dirent.h: Add libc_hidden_proto for scandirat and
60679         scandirat64.  Don't declare __scandirat64.
60680         * dirent/scandirat.c: Add libc_hidden_def.
60681         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
60682         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
60684 2011-08-10  David S. Miller  <davem@davemloft.net>
60686         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
60687         enum.
60688         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60689         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60690         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60692 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
60694         * Versions.def [libc]: Add GLIBC_2.15.
60695         * dirent/Makefile (routines): Add scandirat and scandirat64.
60696         * dirent/Versions [libc]: Export scandirat and scandirat64 for
60697         GLIBC_2.15.
60698         * dirent/dirent.h: Declare scandirat and scandirat64.
60699         * dirent/scandirat.c: New file.
60700         * dirent/scandirat64.c: New file.
60701         * sysdeps/wordsize-64/scandirat.c: New file.
60702         * sysdeps/wordsize-64/scandirat64.c: New file.
60703         * dirent/opendir.c: Define opendirat.
60704         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
60705         using scandirat.
60706         * dirent/scandir64.c: Adjust for scandir.c change.
60707         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
60708         __scandirat64, and __scandir_cancel_handler.
60709         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
60710         additional parameter and use openat instead of open (outside of ld.so).
60711         Add new __opendir as wrapper around __opendirat.
60712         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
60713         here without requiring old scandirat implementation.
60715 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
60717         * dirent/scandir.c (cancel_handler): Renamed to
60718         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
60719         defined.  Adjust users.
60720         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
60721         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
60723 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
60725         * string/test-string.h (IMPL): Use __STRING to expand name and then
60726         stringify it.
60728         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
60729         of cleanups.
60731 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60733         * string/Makefile: Update.
60734         (strop-tests): Append strncat.
60735         * string/test-wcscmp.c: New file.
60736         New comprehensive test for wcscmp.
60737         * string/test-strcmp.c: Update.
60738         (WIDE): New define.
60740 2011-07-22  Andreas Schwab  <schwab@redhat.com>
60742         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
60743         line.
60745 2011-07-26  Andreas Schwab  <schwab@redhat.com>
60747         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
60748         encoding to ACE if AI_IDN.
60750 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
60752         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
60753         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
60755 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60757         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
60758         Fix overflow bug in strncat.
60759         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
60761         * string/test-strncat.c: Update.
60762         Add new tests for checking overflow bugs.
60764 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60766         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60767         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
60768         * sysdeps/i386/i686/multiarch/strcat.S: New file.
60769         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
60770         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
60771         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
60772         * sysdeps/i386/i686/multiarch/strncat.S: New file.
60773         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
60774         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
60776         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
60777         (USE_AS_STRCAT): Define.
60778         Add strcat and strncat support.
60779         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
60781 2011-07-25  Andreas Schwab  <schwab@redhat.com>
60783         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
60784         __n bigger than INT_MAX+1.
60785         (__strncmp_g): Likewise.
60787 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
60789         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
60790         * libio/stido.h: Likewise.
60792         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
60793         (AF_NFC): Define.
60794         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
60795         (AF_NFC): Define.
60797         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
60798         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60799         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60800         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
60801         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60803         [BZ #13021]
60804         * scripts/test-installation.pl: Don't expect libnss_test1 to be
60805         installed.
60807         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
60808         typo.
60809         (_dl_x86_64_save_sse): Likewise.
60811 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
60813         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
60814         OSXSAVE.
60815         (_dl_x86_64_save_sse): Likewise.
60817         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
60819         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
60821 2011-07-21  Andreas Schwab  <schwab@redhat.com>
60823         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
60824         change.
60825         (_dl_x86_64_save_sse): Use correct AVX check.
60827 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60829         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
60830         bug in strncpy/strncat.
60831         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
60833 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
60835         * string/tester.c (test_strcat): Add tests for different alignments
60836         of source and destination.
60837         (test_strncat): Likewise.
60839 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
60841         [BZ #12852]
60842         * posix/glob.c (glob): Check passed in values before using them in
60843         expressions to avoid some overflows.
60844         (glob_in_dir): Likewise.
60846         [BZ #13007]
60847         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
60848         check for AVX enablement so that we don't crash with old kernels and
60849         new hardware.
60850         * elf/tst-audit4.c: Add same checks here.
60851         * elf/tst-audit6.c: Likewise.
60853         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
60855 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
60857         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
60859 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
60861         * po/cs.po: Update from translation team.
60862         * po/bg.po: Likewise.
60864 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
60866         * misc/sys/cdefs.h: Add support for const attribute.
60867         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
60868         to gnu_dev_{major,minor,makedev} functions.
60870 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
60872         * intl/dcigettext.c (get_output_charset): Add missing bracket.
60874 2011-07-20  Andreas Schwab  <schwab@redhat.com>
60876         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
60877         strlen results.
60879 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60881         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
60882         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
60883         register in order to avoid conflicts with the soft frame pointer
60884         being held in r11 when necessary.
60885         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
60886         (INTERNAL_VSYSCALL_NCS): Likewise.
60888 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
60890         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
60891         * elf/dl-fini.c (_dl_fini): Adjust caller.
60892         * elf/dl-close.c (_dl_close_worker): Likewise.
60893         * sysdeps/generic/ldsodefs.h: Adjust declaration.
60895 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
60897         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
60898         "aux_cache->nlibs < 0".
60900         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
60901         in the reload-count case.
60903 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60905         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60906         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
60907         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
60908         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
60909         * sysdeps/x86_64/multiarch/strcat.S: New file.
60910         * sysdeps/x86_64/multiarch/strncat.S: New file.
60911         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
60912         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
60913         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
60914         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
60915         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
60916         (USE_AS_STRCAT): Define.
60917         Add strcat and strncat support.
60918         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
60919         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
60920         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
60921         * string/strncat.c: Update.
60922         (USE_AS_STRNCAT): Define.
60923         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60924         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
60925         and i7.
60926         * sysdeps/x86_64/multiarch/init-arch.h
60927         (bit_Prefer_PMINUB_for_stringop): New.
60928         (index_Prefer_PMINUB_for_stringop): Likewise.
60929         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
60930         bit_Prefer_PMINUB_for_stringop.
60932 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
60934         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
60935         buffer64.
60936         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
60937         of casting of buffer.
60938         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
60939         buffer32 and buffer64.
60940         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
60941         writes instead of casting of buffer.
60942         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
60943         buffer32.
60944         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
60945         casting of buffer.
60947 2011-07-19  Andreas Schwab  <schwab@redhat.com>
60949         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
60951 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
60953         * nscd/nscd.c (termination_handler): Don't do anything for a database
60954         if it has not yet been initialized.
60956 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
60958         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
60960 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
60962         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
60964 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
60966         * po/nl.po: Update from translation team.
60967         * po/sv.po: Likewise.
60969 2011-07-16  Roland McGrath  <roland@hack.frob.com>
60971         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
60972         now disallowed by GCC.
60974         * configure.in (use-default-link): Default to yes if a test -shared
60975         link meets our qualifications.
60976         * configure: Regenerated.
60978         * config.make.in (output-format): New variable.
60979         * configure.in: Check for ld --print-output-format support.
60980         * configure: Regenerated.
60981         * Makerules ($(common-objpfx)format.lds)
60982         [$(output-format) != unknown]: Just use $(output-format),
60983         instead of the linker-script munging.
60985 2011-07-14  Roland McGrath  <roland@hack.frob.com>
60987         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
60988         of $(common-objpfx)shlib.lds.
60989         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
60991         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
60992         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
60994         * configure.in (-z relro check): Adjust test code to add a large
60995         writable data section after it.
60996         * configure: Regenerated.
60998 2011-07-11  Roland McGrath  <roland@hack.frob.com>
61000         * configure.in (-z relro check): Fix test code to make the variable
61001         truly const.
61002         * configure: Regenerated.
61004 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
61006         * nscd/nscd.h (struct traced_file): Define.
61007         (struct database_dyn): Remove inotify_descr, reset_res, and filename
61008         elements.  Add traced_files.
61009         (inotify_fd): Declare.
61010         (register_traced_file): Declare.
61011         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
61012         (inotify_fd): Export.
61013         (resolv_conf_descr): Remove.
61014         (nscd_init): Move inotify descriptor creation to main.
61015         Don't register files for notification here.
61016         (register_traced_file): New function.
61017         (invalidate_cache): Don't use reset_res to determine whether to call
61018         res_init, go through the list of registered files.
61019         (main_loop_poll): The inotify descriptors are now stored in the
61020         structures for the traced files.
61021         (main_loop_epoll): Likewise
61022         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
61023         to __nss_disable_nscd.
61024         * nscd/cache.c (prune_cache): There is no single inotify descriptor
61025         for a database anymore.  Check the records for all the registered
61026         files instead.
61027         * nss/Makefile (libnss_files-routines): Add files-init.
61028         (libnss_db-routines): Add db-init.
61029         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
61030         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
61031         * nss/nss_db/db-init.c: New file.
61032         * nss/nss_files/files-init.c: New file.
61033         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
61034         __nss_lookup_function.
61035         (__nss_lookup_function): Call nss_load_library.
61036         (nss_load_all_libraries): New function.
61037         (__nss_disable_nscd): Take parameter with callback function for files
61038         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
61039         used for the cached services.
61040         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
61041         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
61042         options for features to all the files in nscd.
61044         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
61046 2011-07-10  Roland McGrath  <roland@hack.frob.com>
61048         * csu/elf-init.c (__libc_csu_init): Comment typo.
61050 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
61052         * po/pl.po: Update from translation team.
61053         * po/ja.po: Likewise.
61054         * po/ru.po: Likewise.
61055         * po/ko.po: Likewise.
61056         * po/fr.po: Likewise.
61058 2011-07-09  Roland McGrath  <roland@hack.frob.com>
61060         * configure.in (.ctors/.dtors header and trailer check):
61061         Use an empirical test on a built program.
61062         * configure: Regenerated.
61064         * configure.in (-z relro check): Use an empirical test on a built DSO.
61065         Detect, but do not require, on ia64.
61066         * configure: Regenerated.
61068         * configure.in (READELF): Find it with AC_CHECK_TOOL.
61069         Update tests that use readelf to use $READELF instead.
61070         * configure: Regenerated.
61072 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
61074         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
61075         if the result is not used.
61077 2011-07-05  Andreas Jaeger  <aj@suse.de>
61079         [BZ#9696]
61080         * stdlib/tst-strtod.c: Add testcase.
61082 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
61084         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
61085         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
61086         The latter has a higher limit.  Take additional parameter to pass to
61087         the new function.
61088         (__pathconf): Pass file to __statfs_link_max.
61089         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
61090         __statfs_link_max.
61091         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
61092         __statfs_link_max.
61094         [BZ #12868]
61095         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
61096         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61097         Handle Lustre.
61098         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
61099         (__statfs_filesize_max): Likewise.
61100         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
61102 2011-07-05  Andreas Jaeger  <aj@suse.de>
61104         * resolv/res_comp.c (dn_skipname): Remove unused variable.
61106 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
61108         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
61109         `status' variable.
61110         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
61111         Likewise.
61113 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
61115         * Makefile (strop-tests): Add strncat.
61116         * string/test-strncat.c: New file.
61118 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
61120         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
61122 2011-06-21  Andreas Jaeger  <aj@suse.de>
61124         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
61125         Copy rule from iconvdata/Makefile.
61127 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
61129         [BZ #12922]
61130         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
61131         but no long options are defined, just return 'W'.
61133 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
61135         [BZ #9696]
61136         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
61138 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
61140         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
61141         netgroups to read.
61142         (innetgr): Likewise.
61144 2011-07-05  Roland McGrath  <roland@hack.frob.com>
61146         * config.make.in (install_root): Default to $(DESTDIR).
61148 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
61150         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
61152 2011-07-02  Roland McGrath  <roland@hack.frob.com>
61154         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
61156         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
61157         containing directory rather than embedding absolute directory names.
61159         * scripts/check-local-headers.sh: Rewritten using awk.
61160         Match by word, not by line.  Print error messages for matches.
61161         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
61163         * Makerules [shlib-lds-flags empty]:
61164         ($(common-objpfx)libc_pic.opts): New target.
61165         ($(common-objpfx)libc_pic.os.clean): New target.
61166         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
61168         * config.make.in (OBJCOPY): New variable.
61169         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
61170         * configure: Regenerated.
61172         * config.make.in (use-default-link): New variable.
61173         * configure.in (use_default_link): Grok --with-default-link to set it.
61174         * configure: Regenerated.
61175         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
61176         (shlib-lds, shlib-lds-flags): Define to empty.
61178         * Makerules (shlib-lds): New variable.
61179         (shlib-lds-flags): New variable.
61180         (build-shlib, build-moduile, build-module-asneeded): Use it.
61181         ($(common-objpfx)libc.so): Use $(shlib-lds).
61182         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
61183         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
61185         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
61186         DT_FLAGS/DT_FLAGS_1 with zero flags.
61188         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
61189         linker script munging.
61191 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
61193         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
61194         as 128-bit value.
61195         * crypt/sha512.c (sha512_process_block): Perform total addition using
61196         128-bit if possible.
61197         (__sha512_finish_ctx): Likewise.
61198         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
61199         as 64-bit value.
61200         * crypt/sha256.c (SWAP64): Define.
61201         (sha256_process_block): Perform total addition using 64-bit if
61202         possible.
61203         (__sha256_finish_ctx): Likewise.
61205 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
61207         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
61208         * nscd/initgrcache.c (addinitgroupsX): Likewise.
61209         * nscd/hstcache.c (cache_addhst): Likewise.
61210         * nscd/grpcache.c (cache_addgr): Likewise.
61211         * nscd/aicache.c (addhstaiX): Likewise
61212         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
61214 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
61216         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
61217         * nscd/initgrcache.c (addinitgroupsX): Likewise.
61218         * nscd/hstcache.c (cache_addhst): Likewise.
61219         * nscd/grpcache.c (cache_addgr): Likewise.
61220         * nscd/aicache.c (addhstaiX): Likewise
61222 2011-07-01  Andreas Schwab  <schwab@redhat.com>
61224         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
61225         domain only when needed.
61227 2011-06-30  Andreas Schwab  <schwab@redhat.com>
61229         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
61230         is always restored.
61232 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
61234         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
61235         are re-adding the entry.
61236         * nscd/servicescache.c (cache_addserv): Likewise.
61238 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
61240         * sysdeps/generic/dl-irel.h: fix protection against multiple
61241         inclusions.
61242         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
61244 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
61246         [BZ #12935]
61247         * malloc/memusage.sh: Fix quoting in message.
61248         * debug/xtrace.sh: Likewise.
61250         * configure.in: Remove support for --experimental-malloc option, make
61251         it the default.
61252         * config.make.in: Likewise.
61253         * malloc/Makefile: Likewise.
61255 2011-06-27  Andreas Schwab  <schwab@redhat.com>
61257         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
61258         two-byte characters.
61260 2011-06-27  Roland McGrath  <roland@hack.frob.com>
61262         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
61263         AC_CACHE_CHECK invocation.
61264         * configure: Regenerated.
61266         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
61268 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
61270         [BZ #12350]
61271         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
61272         bit from old_res_options.
61274         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
61276         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
61277         value type for setfct.
61279 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
61281         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
61282         __gettimeofday instead of gettimeofday.
61284 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
61286         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
61288 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
61290         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
61292         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
61293         info.
61295 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
61297         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61298         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
61299         strcpy-sse2-unaligned strncpy-sse2-unaligned
61300         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
61301         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
61302         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
61303         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
61304         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
61305         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
61306         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
61307         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
61308         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
61309         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
61310         (STRCPY): Support SSE2 and SSSE3 versions.
61312 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
61314         [BZ #12874]
61315         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
61316         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
61317         kernels which artificially limit size of requests.
61319 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
61321         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61322         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
61323         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
61324         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
61325         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
61326         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
61327         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
61328         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
61329         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
61330         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
61331         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
61332         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
61333         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
61334         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
61335         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
61336         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61337         Enable unaligned load optimization for Intel Core i3, i5 and i7
61338         processors.
61339         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
61340         Define.
61341         (index_Fast_Unaligned_Load): Define.
61342         (HAS_FAST_UNALIGNED_LOAD): Define.
61344 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
61346         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
61348 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
61350         [BZ #12907]
61351         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
61352         until it is clear that the information is realy needed.
61353         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
61355 2011-06-22  Andreas Schwab  <schwab@redhat.com>
61357         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
61359 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
61361         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
61362         /sys/devices/system/cpu/online if it is usable.
61364         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
61365         reading the information from the /proc filesystem to once a second.
61367 2011-06-21  Andreas Jaeger  <aj@suse.de>
61369         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
61370         NULL after inclusion of kernel headers.
61372 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
61374         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
61375         calls to internal_setent.
61377         [BZ #12885]
61378         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
61379         addresses using gethostbyname4_r ignore IPv4 addresses.
61381         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
61382         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
61384         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
61386 2011-06-20  David S. Miller  <davem@davemloft.net>
61388         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
61389         inclusions.
61390         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
61392         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
61393         (elf_irel): Use it.
61394         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
61395         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
61396         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
61397         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
61398         * sysdeps/x86_64/dl-irel.h: Likewise.
61400         * elf/dl-runtime.c: Use elf_ifunc_invoke.
61401         * elf/dl-sym.c: Likewise.
61403 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
61405         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
61406         need to dereference resplen2.
61408 2011-06-14  Andreas Schwab  <schwab@redhat.com>
61410         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
61412 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
61414         * Makeconfig: Define vardbdir and inst_vardbdir.
61415         * nss/Makefile: Add rules to install db-Makefile.
61417         * nss/nss_db/db-XXX.c: Cleanup.
61419         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
61420         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
61421         GLIBC_PRIVATE.
61422         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
61423         * nss/makedb.c: Implement -g option to specify that value strings
61424         are generated and should not be added to table iterated over for
61425         get*ent calls.
61426         * nss/nss_db/db-initgroups.c: New file.
61428         * nss/getent.c: Add support for initgroups lookups through getgrouplist
61429         interface.
61431         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
61432         (internal_getgrouplist): Adjust to name change.
61433         Update use_initgroups_entry if this is not the first call.
61434         * nss/databases.def: Add initgroups entry.
61436         * nss/makedb.c (compute_tables): Check result of multiple hash table
61437         sizes to minimize maximum chain length.
61439 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
61441         * Versions.def: Add entry for libnss_db.
61442         * shlib-versions: Likewise.
61443         * nss/Makefile: Add rules to build libnss_db.
61444         * nss/Versions: Add libnss_db information.  Organize libnss_files
61445         entries better.
61446         * nss/db-Makefile: Add gshadow support.  Change rules for the new
61447         makedb progra.  Some minor improvements to generate smaller files.
61448         * nss/nss_db/nss_db.h: Move NSS database header data structures to
61449         here from...
61450         * nss/makedb.c: ...here.
61451         Improve database format to be smaller and require less memory at
61452         runtime.
61453         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
61454         db anymore.
61455         * nss/nss_db/db-netgrp.c: Likewise.
61456         * nss/nss_db/db-open.c: Likewise.
61457         * nss/nss_files/flies-XXX.x: Adjust comments.
61458         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
61459         * nss/nss_files/files-grp.c: Likewise.
61460         * nss/nss_files/files-hosts.c: Likewise.
61461         * nss/nss_files/files-network.c: Likewise.
61462         * nss/nss_files/files-proto.c: Likewise.
61463         * nss/nss_files/files-pwd.c: Likewise.
61464         * nss/nss_files/files-rpc.c: Likewise.
61465         * nss/nss_files/files-service.c: Likewise.
61466         * nss/nss_files/files-sgrp.c: Likewise.
61467         * nss/nss_files/files-spwd.c: Likewise.
61468         * nss/nss_db/db-alias.c: Removed.
61469         * nss/nss_db/dummy-db.h: Removed.
61471 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
61473         * nss/makedb.c: Rewritten to not use database library.
61474         * nss/Makefile: Update to build new makedb program.
61476 2011-06-14  Andreas Jaeger  <aj@suse.de>
61478         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
61479         memset declaration.
61481 2011-06-10  Andreas Schwab  <schwab@redhat.com>
61483         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
61484         tmpbuf.
61486 2011-06-10  Roland McGrath  <roland@hack.frob.com>
61488         * Makerules (shlib.lds): Fail if the linker script comes out empty.
61489         * elf/Makefile ($(objpfx)ld.so): Likewise.
61491         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
61492         Don't list ld.so twice in dependencies.
61494         * posix/bug-regex31.c: Include <stdlib.h>.
61496         * nscd/hstcache.c (cache_addhst): Remove unused variable.
61498         * nis/nss_compat/compat-spwd.c
61499         (getspent_next_nss_netgr): Remove unused variable.
61500         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
61502         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
61503         nonmembers" output to use the right array.
61505         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
61507         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
61509         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
61510         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
61511         * catgets/gencat.c (read_input_file): Likewise.
61512         * locale/programs/locarchive.c (enlarge_archive): Likewise.
61514         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
61515         variable definition inside #if's controlling its use.
61517         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
61519         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
61521         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
61523         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
61524         unreachable code.
61526         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
61528         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
61529         * configure: Regenerated.
61531         * Makerules: Revert last change.
61532         * elf/Makefile: Likewise.
61534 2011-06-09  Roland McGrath  <roland@hack.frob.com>
61536         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
61537         * elf/Makefile ($(objpfx)librtld.os): Likewise.
61538         (reloc-link): Likewise.
61540 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
61542         * elf/Makefile: Add rules to build pldd.
61543         * elf/pldd.c: New file.
61544         * elf/pldd-xx.c: New file.
61546 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
61548         * version.h: Update for 2.15 development version.
61550 2011-06-07  David S. Miller  <davem@davemloft.net>
61552         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
61553         ifuncs.
61554         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
61555         elf_machine_lazy_rel): Likewise.
61556         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
61557         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
61558         elf_machine_lazy_rel): Likewise.
61559         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
61560         dl_hwcap via passed in argument.
61561         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
61562         Likewise.
61564 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61566         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
61568 2011-06-06  Roland McGrath  <roland@hack.frob.com>
61570         [BZ #12849]
61571         * manual/fdl-1.1.texi: New file, verbatim from:
61572         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
61573         * manual/lgpl-2.1.texi: New file, verbatim from:
61574         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
61575         * manual/Makefile (licenses): New variable, list those new file names.
61576         (texis): Use it.
61577         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
61579         * manual/fdl.texi: File removed.
61580         * manual/lesser.texi: File removed.
61581         * manual/libc.texinfo (Copying, Documentation License):
61582         Use new @include file names, put @appendix directive before @include.
61584 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
61586         [BZ #12841]
61587         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
61588         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
61589         (mq_open): Add __NTH.
61591 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
61593         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61594         Assume Intel Core i3/i5/i7 processor if AVX is available.
61596 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
61598         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
61599         typo.
61601 2011-05-31  Andreas Schwab  <schwab@redhat.com>
61603         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
61604         memory.  Use alloca_account.  Fix memory leak when retrying.
61606 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
61608         * version.h (RELEASE): Bump for 2.14 release.
61609         * include/features.h (__GLIBC_MINOR__): Bump to 14.
61611         * config.make.in (RANLIB): Remove entry.
61613 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
61615         * po/Makefile (po-sed-cmd): Add ksh to extensions.
61616         (libc.pot): Work around missing support for .ksh extension in xgettext.
61618         [BZ #12684]
61619         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
61620         if both request failed.
61621         (send_dg): In case of server errors clear resplen or *resplen2.
61623         [BZ #12454]
61624         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
61625         when there are multiple maps.
61626         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
61627         (_dl_fini): Remove test here.
61629         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
61631 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
61633         [BZ #12350]
61634         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
61635         bit from old_res_options.
61636         (gaih_inet): Likewise.
61638         [BZ #11099]
61639         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
61640         as signed.
61642         * resolv/res_init.c (res_setoptions): Make the code more compact.
61644         [BZ #11558]
61645         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
61646         set RES_USEVC.
61648         [BZ #11634]
61649         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
61651         * malloc/malloc.h: Mark malloc hook variables as deprecated.
61653         [BZ #11781]
61654         * malloc/malloc.h: Declare malloc hook variables as volatile.
61656         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
61657         in last patch.
61659         [BZ #11799]
61660         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
61661         raise in the comment.
61662         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
61663         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
61664         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
61666 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
61668         [BZ #12811]
61669         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
61670         grow the buffers more if it already has to be sufficient.
61671         (build_wcs_upper_buffer): Likewise.
61672         * posix/regexec.c (check_matching): Likewise.
61673         (clean_state_log_if_needed): Likewise.
61674         (extend_buffers): Don't enlarge buffers beyond size of the input
61675         buffer.
61676         Patches mostly by Emil Wojak <emil@wojak.eu>.
61677         * posix/bug-regex32.c: New file.
61678         * posix/Makefile (tests): Add bug-regex32.
61680         * locale/findlocale.c (_nl_find_locale): Return right away if
61681         _nl_explode_name failed.
61682         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
61684         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
61686         * debug/xtrace.sh: Unify messages.
61687         * malloc/memusage.sh: Likewise.
61689         [BZ #12813]
61690         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
61691         time symbol from vDSO.  Substitute with vsyscall if not available.
61692         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
61693         __vdso_time.
61695         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
61696         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
61697         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
61698         Add sendmmsg and internal_sendmmsg.
61699         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
61700         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
61701         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
61703         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
61704         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
61705         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
61707 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
61709         [BZ #12813]
61710         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
61711         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
61712         available.
61713         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
61714         __vdso_getcpu.
61716         [BZ #12814]
61717         * iconvdata/Makefile (tests): Add bug-iconv9.
61718         * iconvdata/bug-iconv9.c: New file.
61720 2011-05-27  Andreas Schwab  <schwab@redhat.com>
61722         [BZ #12814]
61723         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
61725 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
61727         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
61728         (struct user_regs_struct): Change intcs field back to cs.
61730 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
61732         * po/ja.po: Update from translation team.
61734 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
61736         [BZ #12795]
61737         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
61738         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
61740 2011-05-20  Andreas Schwab  <schwab@redhat.com>
61742         * stdlib/longlong.h: Update from GCC.
61744 2011-05-23  Andreas Schwab  <schwab@redhat.com>
61746         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
61747         parameter name.
61748         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
61749         Add parameter name.
61750         (__sysconf): Pass it down.
61752 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
61754         [BZ #12671]
61755         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
61756         some situations.
61757         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
61758         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
61759         add in in __libc_use_alloca calls.  Adjust callers.
61760         (glob): Use malloc in some situations.
61762         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
61763         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
61764         pltexit.
61766 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
61768         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
61769         and CLOCK_BOOTTIME_ALARM.
61771         [BZ #12782]
61772         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
61773         is returned.
61775         * string/_strerror.c (__strerror_r): Print negative errors as signed
61776         numbers.
61778         [BZ #12777]
61779         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
61780         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
61781         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
61783         * configure.in: Fix typo in redirection and correct removal of test
61784         files in two cases.
61786         [BZ #12788]
61787         * locale/setlocale.c (new_composite_name): Fix test to check for
61788         identical name of all categories.
61790         [BZ #12792]
61791         * libio/filedoalloc.c (local_isatty): New function.
61792         (_IO_file_doallocate): Use local_isatty.
61793         * stdio-common/perror.c (perror): In case a new stream is used
61794         forward the stream error.
61795         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
61796         error flag.
61798 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
61800         [BZ #11869]
61801         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
61802         alloca.
61803         * include/alloca.h (extend_alloca_account): Define.
61805         [BZ #11857]
61806         * posix/regex.h: Fix comments with documentation of user-accessible
61807         fields after compilation and describe correct free'ing of pattern
61808         after re_compile_pattern.
61809         Patch by Reuben Thomas <rrt@sc3d.org>.
61811 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
61813         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
61814         and -mno-altivec to prevent the compiler from using Altivec and/or
61815         VSX instructions when the corresponding registers are not available.
61817 2011-05-19  Andreas Schwab  <schwab@redhat.com>
61819         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
61821 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
61823         * libio/freopen.c (freopen): Use __dup2, not dup2.
61824         * libio/freopen64.c (freopen64): Likewise.
61826 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61828         [BZ #12775]
61829         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
61830         * math/Makefile (tests): Add test-powl.
61831         (CFLAGS-test-powl.c): Define.
61832         * math/test-powl.c: New file.
61834 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61836         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
61838 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
61840         [BZ #11837]
61841         * iconvdata/gb18030.c: Update to GB18020-2005.
61843 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
61845         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
61846         RE_SYNTAX_POSIX_AWK): Update to match recent development.
61847         Patch by Aharon Robbins <arnold@skeeve.com>.
61849         [BZ #11892]
61850         * stdlib/putenv.c (putenv): Don't always create copy of the variable
61851         on the stack.
61853         [BZ #11895]
61854         * misc/pselect.c (__pselect): Handle timeout value errors hidden
61855         through underflows.
61857         [BZ #12766]
61858         * misc/error.c (error_at_line): Ensure file_name and old_file_name
61859         point to strings before performing equality test for error_one_per_line
61860         mode.
61862         [BZ #11697]
61863         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
61865         [BZ #11820]
61866         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
61867         (struct user_fpregs_struct): Avoid __uint*_t types.
61869         [BZ #6420]
61870         * malloc/mtrace.c (tr_where): Add additional parameter to point to
61871         symbol info.  Use it instead of calling _dl_addr locally.
61872         (lock_and_info): New function.
61873         (tr_freehook): Call lock_and_info and pass symbol info as additional
61874         parameter to tr_where.
61875         (tr_mallochook): Likewise.
61876         (tr_reallochook): Likewise.
61877         (tr_memalignhook): Likewise.
61879         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
61880         used and couldn't be at all thread-safe.
61882 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
61884         * libio/freopen.c (freopen): Don't close old file descriptor
61885         before the new one is opened.  Instead dup the new file descriptor
61886         to the old one after the new stream is created.
61887         * libio/freopen64.c (freopen64): Likewise.
61888         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
61889         * libio/fileops.c (_IO_new_file_close_it): Handle new
61890         _IO_FLAGS2_NOCLOSE flag.
61891         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
61892         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
61893         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
61894         _IO_FLAGS2_NOCLOSE flag.
61895         * include/unistd.h: Add hidden_proto for dup3.
61896         Define __have_dup3.
61897         * io/dup3.c: Define hidden symbol.
61898         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
61900         [BZ #7101]
61901         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
61902         when an incomplete long option is used.
61903         * posix/tst-getopt_long1.c: New file.
61904         * posix/Makefile (tests): Add tst-getopt_long1.
61906         [BZ #10138]
61907         * scripts/config.guess: Update from autoconf-2.68.
61908         * scripts/config.sub: Likewise.
61910         [BZ #10157]
61911         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
61912         tests into ...
61913         (has_cpuclock): ...this.  New function.
61914         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
61915         macro here based on has_cpuclock code.
61917         [BZ #10149]
61918         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61919         First byte (not low byte) is now always NUL.
61920         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
61922         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61923         Use non-cancelable interfaces.
61925         [BZ #9809]
61926         * locale/iso-639.def: Add entry for Sorani.
61928         [BZ #11901]
61929         * include/stdlib.h: Move include protection to the right place.
61930         Define abort_msg_s.  Declare __abort_msg with it.
61931         * stdlib/abort.c (__abort_msg): Adjust type.
61932         * assert/assert.c (__assert_fail_base): New function.  Majority
61933         of code from __assert_fail.  Allocate memory for __abort_msg with
61934         mmap.
61935         (__assert_fail): Now call __assert_fail_base.
61936         * assert/assert-perr.c: Remove bulk of implementation.  Use
61937         __assert_fail_base.
61938         * include/assert.hL Declare __assert_fail_base.
61939         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
61940         mmap.
61941         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
61943 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
61945         [BZ #11952]
61946         [BZ #12453]
61947         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
61948         until all modules are registered in the DTV.
61949         * elf/Makefile: Add rules to build and run tst-tls19.
61950         * elf/tst-tls19.c: New file.
61951         * elf/tst-tls19mod1.c: New file.
61952         * elf/tst-tls19mod2.c: New file.
61953         * elf/tst-tls19mod3.c: New file.
61954         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
61956         [BZ #12083]
61957         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
61958         correctly.
61960         [BZ #12601]
61961         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
61962         two-byte sequence errors.
61963         * iconvdata/Makefile (tests): Add bug-iconv8.
61964         * iconvdata/bug-iconv8.c: New file.
61966         [BZ #12626]
61967         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
61968         buf2 definition.
61970         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
61972         [BZ #12432]
61973         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
61974         (dummy_getcfa): New function.
61975         (init): Get _Unwind_GetCFA address, use dummy if not found.
61976         (backtrace_helper): In recursion check, also check whether CFA changes.
61977         (__backtrace): Completely initialize arg.
61979         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
61980         storing incomplete byte sequence in state object.  Avoid testing for
61981         guaranteed too small input if we know there is enough data available.
61983 2011-05-11  Andreas Schwab  <schwab@redhat.com>
61985         * Makeconfig (+link-pie): Indent.
61986         * Rules (binaries-pie): Define if $(have-fpie) and
61987         $(build-shared).
61988         (binaries-shared): Also filter out $(binaries-pie).
61989         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
61990         * nscd/Makefile (others-pie): Add nscd.
61991         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
61992         ($(objpfx)nscd): Remove command override.
61993         * login/Makefile (others-pie): Add pt_chown.
61994         ($(objpfx)pt_chown): Remove command override.
61995         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
61996         remove command overrides.
61998 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
62000         * libio/tst_putwc.c: Fix error messages.
62002         [BZ #12724]
62003         * libio/fileops.c (_IO_new_file_close_it): Always flush when
62004         currently writing and seek to current position when not.
62005         * libio/Makefile (tests): Add bug-fclose1.
62006         * libio/bug-fclose1.c: New file.
62008 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
62010         [BZ #12511]
62011         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
62012         don't set DF_1_NODELETE here.
62013         (do_lookup_x): When entering new entry test for copy relocation
62014         and if necessary set DF_1_NODELETE flag.
62015         * elf/tst-unique4.cc: New file.
62016         * elf/tst-unique4.h: New file.
62017         * elf/tst-unique4lib.cc: New file.
62018         * elf/Makefile: Add rules to build and run tst-unique4.
62019         Patch by Piotr Bury <pbury@goahead.com>.
62021 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
62023         [BZ #12052]
62024         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
62026         [BZ #12625]
62027         * misc/mntent_r.c (addmntent): Flush the stream after the output
62029         [BZ #12393]
62030         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
62031         (is_trusted_path_normalize): Skip initial colon.  Append slash
62032         to empty buffer.  Duplicate is_trusted_path code but allow
62033         constructed patch to be prefix.
62034         (is_dst): Allow $ORIGIN followed by /.
62035         (_dl_dst_substitute): Correct clearing of check_for_trusted.
62036         Correct testing of result of is_trusted_path_normalize
62037         (decompose_rpath): Fix warning.
62039 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
62041         [BZ #11257]
62042         * grp/initgroups.c (internal_getgrouplist): When we found the service
62043         list through the initgroups entry in nsswitch.conf do not always
62044         continue on a successful lookup.  Don't always use the
62045         __nss_group_database value if it is set.
62046         * nss/nsswitch.conf (initgroups): Change action for successful db
62047         lookup to continue for compatibility.
62049 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
62051         [BZ #11532]
62052         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
62053         and CP774 modules.
62054         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
62055         and CP774 modules.
62056         * iconvdata/tst-tables.sh: Likewise.
62057         * iconvdata/cp770.c: New file.
62058         * iconvdata/cp771.c: New file.
62059         * iconvdata/cp772.c: New file.
62060         * iconvdata/cp773.c: New file.
62061         * iconvdata/cp774.c: New file.
62062         * iconvdata/testdata/CP770: New file.
62063         * iconvdata/testdata/CP770..UTF8: New file.
62064         * iconvdata/testdata/CP771: New file.
62065         * iconvdata/testdata/CP771..UTF8: New file.
62066         * iconvdata/testdata/CP772: New file.
62067         * iconvdata/testdata/CP772..UTF8: New file.
62068         * iconvdata/testdata/CP773: New file.
62069         * iconvdata/testdata/CP773..UTF8: New file.
62070         * iconvdata/testdata/CP774: New file.
62071         * iconvdata/testdata/CP774..UTF8: New file.
62073         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
62074         END CHARMAP line.
62075         * iconvdata/gen-8bit-gap.sh: Likewise.
62076         * iconvdata/gen-8bit.sh: Likewise.
62078         * locale/iso-639.def: Add ary entry.
62080         [BZ #11258]
62081         * locale/C-translit.h.in: Add U20A1 transliteration.
62083         [BZ #12178]
62084         * locale/iso-639.def: Add wae entry.
62085         Patch by Kevin Bortis <bortis@translate-wae.ch>.
62087         [BZ #12545]
62088         * locale/programs/localedef.c (construct_output_path): Use ssize_t
62089         for n.
62091         [BZ #12711]
62092         * locale/C-translit.h.in: Add entry for U20B9.
62093         Patch by pravin.d.s@gmail.com.
62095 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
62097         [BZ #12713]
62098         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
62099         ENAMETOOLONG use generic getcwd.
62100         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
62101         in rtld.  Use *stat64.
62102         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
62103         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
62104         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
62105         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
62106         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
62107         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
62108         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
62109         __fstatat64 macros.
62110         * include/dirent.h: Add libc_hidden_proto for rewinddir.
62111         * dirent/rewinddir.c: Add libc_hidden_def.
62112         * sysdeps/mach/hurd/rewinddir.c: Likewise.
62113         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
62115         * include/dirent.h (__alloc_dir): Add flags parameter.
62116         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
62117         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
62118         __alloc_dir.
62119         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
62120         from fdopendir if O_CLOEXEC is already set.
62122 2011-03-15  Alan Modra  <amodra@gmail.com>
62124         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
62125         l_tls_firstbyte_offset non-zero.  Save padding offset in
62126         l_tls_firstbyte_offset for later use.
62127         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
62128         freeing static tls block.
62130 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
62132         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
62133         where #ifdef was intended.  The intent is to prevent ARG_MAX from
62134         being defined by the kernel headers.
62136 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
62138         [BZ #12734]
62139         * resolv/resolv.h: Define RES_NOTLDQUERY.
62140         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
62141         no-tld-query and set RES_NOTLDQUERY.
62142         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
62143         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
62144         modern BIND to search name as TLD unless forbidden.
62146 2011-05-07  Petr Baudis  <pasky@suse.cz>
62147             Ulrich Drepper  <drepper@gmail.com>
62149         [BZ #12393]
62150         * elf/dl-load.c (fillin_rpath): Move trusted path check...
62151         (is_trusted_path): ...to here.
62152         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
62153         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
62154         using is_trusted_path_normalize() in setuid scripts.
62156 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
62158         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
62159         __BEGIN/__END_DECLS.
62161 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
62163         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
62164         NSS_STATUS_NOTFOUND if no record was found.
62166 2011-05-05  Andreas Schwab  <schwab@redhat.com>
62168         * sunrpc/Makefile (headers): Add rpc/netdb.h.
62169         (headers-not-in-tirpc): Remove rpc/netdb.h
62170         * resolv/netdb.h: Revert last change.
62172 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
62174         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
62175         circular dependency between libgcc.a and libc.a.
62177 2011-05-05  Andreas Schwab  <schwab@redhat.com>
62179         * resolv/netdb.h: Don't include <rpc/netdb.h>.
62180         * nis/Makefile: Don't install rpcsvc/*.
62181         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
62182         instead of <rpc/types.h>.
62183         (MAXHOSTNAMELEN): Define.
62185 2011-05-03  Andreas Schwab  <schwab@redhat.com>
62187         * elf/ldconfig.c (add_dir): Don't crash on empty path.
62189 2011-04-28  Maciej Babinski  <mbabinski@google.com>
62191         [BZ #12714]
62192         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
62193         gethostbyname4_r when IPv6 results are possible.
62195 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
62197         [BZ #12723]
62198         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
62199         _PC_PIPE_BUF handling.
62201 2011-04-30  Bruno Haible  <bruno@clisp.org>
62203         [BZ #12717]
62204         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
62205         * resolv/netdb.h (getnameinfo): Change type of flags parameter
62206         to 'int'.
62207         * inet/getnameinfo.c (getnameinfo): Likewise.
62209 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
62211         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
62212         to groups setting in database lookup.
62213         * nss/nsswitch.conf: Add initgroups entry.
62215 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
62217         [BZ #12685]
62218         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
62219         mode string.
62220         Patch by Eric Blake <eblake@redhat.com>.
62222 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
62224         * sunrpc/Makefile (need-export-routines): Add svc_run.
62225         (routines): Remove svc_run.
62226         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
62227         * sunrpc/clnt_perr.c (clnt_perrno): Export.
62228         * sunrpc/svc_run.c (svc_run): Likewise.
62229         * sunrpc/svc_udp.c (svcudp_create): Likewise.
62231 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
62233         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
62234         problem in reallocation in last patch.
62236 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
62238         * sunrpc/Makefile: Move inclusion of Rules.
62240 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
62242         * nss/nss_files/files-initgroups.c: New file.
62243         * nss/Makefile (libnss_files-routines): Add files-initgroups.
62244         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
62245         _nss_files_initgroups_dyn.
62247 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
62249         * elf/elf.h (R_ARM_IRELATIVE): Define.
62251 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
62253         * po/ru.po: Update from translation team.
62255 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
62257         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
62258         dependencies.
62260 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
62262         [BZ #12653]
62263         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
62264         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
62265         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
62266         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
62267         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
62269 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
62271         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
62272         differing bytes.
62273         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
62274         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
62275         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62277 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
62279         [BZ #12420]
62280         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
62281         storing it.
62282         * stdlib/bug-getcontext.c: New file.
62283         * stdlib/Makefile: Add rules to build and run bug-getcontext.
62285 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62287         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
62288         instructions into .machine "z9-109".
62289         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
62290         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
62292 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62294         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
62295         between environment variables and auxiliary vector.
62297 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
62299         * Makefile: Add rules to build linkobj/libc.so.
62300         * include/libc-symbols.h: Define libc_hidden_nolink.
62301         * include/rpc/auth.h: Mark functions which are to be hidden.
62302         * include/rpc/auth_des.h: Likewise.
62303         * include/rpc/auth_unix.h: Likewise.
62304         * include/rpc/clnt.h: Likewise.
62305         * include/rpc/des_crypt.h: Likewise.
62306         * include/rpc/key_prot.h: Likewise.
62307         * include/rpc/pmap_clnt.h: Likewise.
62308         * include/rpc/pmap_prot.h: Likewise.
62309         * include/rpc/pmap_rmt.h: Likewise.
62310         * include/rpc/rpc_msg.h: Likewise.
62311         * include/rpc/svc.h: Likewise.
62312         * include/rpc/svc_auth.h: Likewise.
62313         * include/rpc/xdr.h: Likewise.
62314         * nis/Makefile: Link all DSOs against linkobj/libc.so.
62315         * nss/Makefile: Likewise.
62316         * sunrpc/Makefile: Don't install headers.  Build library with normal
62317         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
62318         * sunrpc/auth_des.c: Hide exported symbols by default, export some
62319         for the compat linking library.  Remove use of INTDEF/INTUSE.
62320         * sunrpc/auth_none.c: Likewise.
62321         * sunrpc/auth_unix.c: Likewise.
62322         * sunrpc/authdes_prot.c: Likewise.
62323         * sunrpc/authuxprot.c: Likewise.
62324         * sunrpc/clnt_gen.c: Likewise.
62325         * sunrpc/clnt_perr.c: Likewise.
62326         * sunrpc/clnt_raw.c: Likewise.
62327         * sunrpc/clnt_simp.c: Likewise.
62328         * sunrpc/clnt_tcp.c: Likewise.
62329         * sunrpc/clnt_udp.c: Likewise.
62330         * sunrpc/clnt_unix.c: Likewise.
62331         * sunrpc/des_crypt.c: Likewise.
62332         * sunrpc/des_soft.c: Likewise.
62333         * sunrpc/get_myaddr.c: Likewise.
62334         * sunrpc/key_call.c: Likewise.
62335         * sunrpc/key_prot.c: Likewise.
62336         * sunrpc/netname.c: Likewise.
62337         * sunrpc/pm_getmaps.c: Likewise.
62338         * sunrpc/pm_getport.c: Likewise.
62339         * sunrpc/pmap_clnt.c: Likewise.
62340         * sunrpc/pmap_prot.c: Likewise.
62341         * sunrpc/pmap_prot2.c: Likewise.
62342         * sunrpc/pmap_rmt.c: Likewise.
62343         * sunrpc/publickey.c: Likewise.
62344         * sunrpc/rpc_cmsg.c: Likewise.
62345         * sunrpc/rpc_common.c: Likewise.
62346         * sunrpc/rpc_dtable.c: Likewise.
62347         * sunrpc/rpc_prot.c: Likewise.
62348         * sunrpc/rpc_thread.c: Likewise.
62349         * sunrpc/rtime.c: Likewise.
62350         * sunrpc/svc.c: Likewise.
62351         * sunrpc/svc_auth.c: Likewise.
62352         * sunrpc/svc_authux.c: Likewise.
62353         * sunrpc/svc_raw.c: Likewise.
62354         * sunrpc/svc_run.c: Likewise.
62355         * sunrpc/svc_simple.c: Likewise.
62356         * sunrpc/svc_tcp.c: Likewise.
62357         * sunrpc/svc_udp.c: Likewise.
62358         * sunrpc/svc_unix.c: Likewise.
62359         * sunrpc/svcauth_des.c: Likewise.
62360         * sunrpc/xcrypt.c: Likewise.
62361         * sunrpc/xdr.c: Likewise.
62362         * sunrpc/xdr_array.c: Likewise.
62363         * sunrpc/xdr_float.c: Likewise.
62364         * sunrpc/xdr_intXX_t.c: Likewise.
62365         * sunrpc/xdr_mem.c: Likewise.
62366         * sunrpc/xdr_rec.c: Likewise.
62367         * sunrpc/xdr_ref.c: Likewise.
62368         * sunrpc/xdr_sizeof.c: Likewise.
62369         * sunrpc/xdr_stdio.c: Likewise.
62371 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
62373         [BZ #12650]
62374         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
62375         * sysdeps/ia64/dl-tls.h: Likewise.
62376         * sysdeps/powerpc/dl-tls.h: Likewise.
62377         * sysdeps/s390/dl-tls.h: Likewise.
62378         * sysdeps/sh/dl-tls.h: Likewise.
62379         * sysdeps/sparc/dl-tls.h: Likewise.
62380         * sysdeps/x86_64/dl-tls.h: Likewise.
62381         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
62383 2011-03-14  Andreas Schwab  <schwab@redhat.com>
62385         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
62386         rpath element also skip the following colon.
62387         (expand_dynamic_string_token): Add is_path parameter and pass
62388         down to DL_DST_REQUIRED and _dl_dst_substitute.
62389         (decompose_rpath): Call expand_dynamic_string_token with
62390         non-zero is_path.  Ignore empty rpaths.
62391         (_dl_map_object_from_fd): Call expand_dynamic_string_token
62392         with zero is_path.
62394 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
62396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
62397         Make cancelable.
62399 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
62401         [BZ #12655]
62402         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
62403         Patch by Filipe David Manana <fdmanana@apache.org>.
62405 2011-04-07  Andreas Schwab  <schwab@redhat.com>
62407         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
62408         Maintain aligned stack.
62409         (CHECK_RSP): Remove unused macro.
62411 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
62413         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
62414         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
62416 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
62418         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
62420         * include/features.h: Mention __USE_XOPEN2K8 in comment.
62422 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
62424         [BZ #12518]
62425         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
62426         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
62427         * sysdeps/x86_64/memmove.c: New file.
62428         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
62429         (memcpy): Renamed to ...
62430         (__new_memcpy): This.
62431         (memcpy): Provide GLIBC_2_14 memcpy.
62432         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
62433         (memcpy): Provide GLIBC_2_2_5 memcpy.
62435 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
62437         [BZ #12631]
62438         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
62440 2011-03-30  Andreas Schwab  <schwab@redhat.com>
62442         * misc/syncfs.c: New file.
62443         * misc/Makefile (routines): Add syncfs.
62444         * posix/unistd.h: Declare syncfs.
62445         * sysdeps/unix/syscalls.list: Add syncfs.
62447 2011-04-01  Andreas Schwab  <schwab@redhat.com>
62449         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
62450         open_by_handle_at.
62451         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
62452         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
62453         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62454         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62455         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62456         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
62457         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62459 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
62461         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
62462         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
62463         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
62464         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62465         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62466         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62467         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62469         * io/Makefile: Compile fallocate.c, fallocate64.c, and
62470         sync_file_range.c with -fexceptions.
62471         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
62472         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
62473         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
62474         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
62475         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
62476         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
62477         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
62478         sync_file_range as cancellation point
62479         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
62480         now a wrapper around __call_sync_file_range with cancellation handling.
62481         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
62482         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
62483         function name to __call_sync_file_range.
62484         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
62485         Add call_sync_file_range.
62487 2011-04-01  Andreas Schwab  <schwab@redhat.com>
62489         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62490         bits/timex.h.
62492 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
62494         * iconv/iconv.h: Fix typo in comment.
62495         * io/fcntl.h: Likewise.
62496         * libio/stdio.h: Likewise.
62497         * posix/spawn.h: Likewise.
62498         * posix/unistd.h: Likewise.
62499         * stdlib/stdlib.h: Likewise.
62500         * time/time.h: Likewise.
62501         * wcsmbs/wchar.h: Likewise.
62503         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
62504         open_by_handle): Add.
62505         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
62506         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
62507         Augment a few comments.
62508         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
62509         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62510         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62511         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62512         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62513         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
62514         open_by_handle.
62516         * io/fcntl.h (AT_EMPTY_PATH): Define.
62518 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
62520         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
62521         * sysdeps/unix/sysv/linux/bits/time.h: New file.
62522         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
62523         to...
62524         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
62525         * Versions.def: Add GLIBC_2.14.
62526         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
62527         Export.
62529 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
62531         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
62532         round counter.
62533         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
62535 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
62537         [BZ #12597]
62538         * string/test-strncmp.c (do_page_test): New function.
62539         (check2): Likewise.
62540         (test_main): Call check2.
62541         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
62543 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
62545         [BZ #12587]
62546         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
62547         Handle cache information in CPU leaf 4.
62548         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
62550 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
62552         [BZ #12583]
62553         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
62554         character representation.
62555         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
62557 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
62559         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
62560         END(__isnan) to END(__isnanf) to match function entry point/label
62561         EALIGN(__isnanf,...).
62563 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
62565         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
62567 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
62569         [BZ #12510]
62570         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
62571         copy from the symbol referenced in the relocation to initialize the
62572         used variable.
62573         Patch by Piotr Bury <pbury@goahead.com>.
62574         * elf/Makefile: Add rules to build and tst-unique3.
62575         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
62576         * elf/tst-unique3.cc: New file.
62577         * elf/tst-unique3.h: New file.
62578         * elf/tst-unique3lib.cc: New file.
62579         * elf/tst-unique3lib2.cc: New file.
62581         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
62583 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
62585         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
62586         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
62587         to _start.
62589 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
62591         * elf/dl-load.c (_dl_map_object): If we are looking for the first
62592         to-be-loaded object along a path to loader is ld.so.
62594 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
62595             Ulrich Drepper  <drepper@gmail.com>
62597         * sysdeps/x86_64/memset.S: After aligning destination, code
62598         branches to different locations depending on the value of
62599         misalignment, when multiarch is enabled. Fix this.
62601 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
62603         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
62604         Set _x86_64_preferred_memory_instruction for AMD processsors.
62605         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62606         Set bit_Prefer_SSE_for_memop for AMD processors.
62608 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
62610         * libio/fmemopen.c (fmemopen): Optimize a bit.
62612 2011-03-03  Andreas Schwab  <schwab@redhat.com>
62614         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
62616 2011-03-03  Roland McGrath  <roland@redhat.com>
62618         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
62620 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
62622         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
62623         __bzero_ultra1 instead of __memset_ultra1.
62625 2011-02-23  Andreas Schwab  <schwab@redhat.com>
62626             Ulrich Drepper  <drepper@gmail.com>
62628         [BZ #12509]
62629         * include/link.h (struct link_map): Add l_orig_initfini.
62630         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
62631         returning unsuccessfully.
62632         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
62633         close of a file loaded at startup, restore the original l_initfini
62634         list.
62635         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
62636         list, store the pointer.
62637         * elf/Makefile ($(objpfx)noload-mem): New rule.
62638         (noload-ENV): Define.
62639         (tests): Add $(objpfx)noload-mem.
62640         * elf/noload.c: Include <memcheck.h>.
62641         (main): Call mtrace.  Close all opened handles.
62643 2011-02-17  Andreas Schwab  <schwab@redhat.com>
62645         [BZ #12454]
62646         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
62647         dependencies are missing.
62649 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62651         Fix __if_freereq crash: Unlike the generic version which uses free,
62652         Hurd needs munmap.
62653         * sysdeps/mach/hurd/ifreq.h: New file.
62655 2011-01-27  Petr Baudis  <pasky@suse.cz>
62656             Ulrich Drepper  <drepper@gmail.com>
62658         [BZ 12445]#
62659         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
62660         to extend_alloca().
62661         * stdio-common/bug23.c: New file.
62662         * stdio-common/Makefile (tests): Add bug23.
62664 2010-09-28  Andreas Schwab  <schwab@redhat.com>
62665             Ulrich Drepper  <drepper@gmail.com>
62667         [BZ #12489]
62668         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
62669         before performing relro protection.  At old place add assertion
62670         to make sure nothing changed.
62672 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
62673             Glauber de Oliveira Costa  <glommer@gmail.com>
62675         * elf/elf.h: Add new ARM TLS relocs.
62677 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
62679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
62680         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
62681         cast from r3.
62682         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
62683         'tests' variable.
62684         * sysdeps/wordsize-64/tst-writev.c: New file.
62686 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
62688         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
62689         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
62690         insns in _dl_start to prevent a TOC reference before relocs are
62691         resolved.
62693 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
62695         [BZ #12469]
62696         * Makeconfig: Remove RANLIB definition.
62697         * Makerules: Don't use RANLIB.
62698         * aclocal.m4: Remove ranlib test.
62699         * configure.in: No need to check for ranlib.
62700         * elf/rtld-Rules: Don't use RANLIB.
62702 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62704         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
62705         protection macro.
62706         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
62707         inclusion protection macro.
62709         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
62710         SIGRTMIN and SIGRTMAX and print information in that case only when
62711         SIGRTMIN is defined.
62713 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
62715         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
62716         arginfo fn returning -1.
62718         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
62719         and thousands string is zero terminated.
62721 2011-02-03  Andreas Schwab  <schwab@redhat.com>
62723         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
62724         sysdeps/unix/sysv/linux/bits/socket.h.
62726 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62728         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
62729         (__CPU_COUNT): Remove old macros.
62730         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
62731         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
62732         (__CPU_ALLOC, __CPU_FREE): Add macros.
62733         (__sched_cpualloc, __sched_cpufree): Add declarations.
62735 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
62737         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
62738         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
62739         * nscd/aicache.c (addhstaiX): Return timeout of added value.
62740         (readdhstai): Return value of addhstaiX call.
62741         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
62742         (addgrbyX): Return value returned by cache_addgr.
62743         (readdgrbyname): Return value returned by addgrbyX.
62744         (readdgrbygid): Likewise.
62745         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
62746         (addpwbyX): Return value returned by cache_addpw.
62747         (readdpwbyname): Return value returned by addhstbyX.
62748         (readdpwbyuid): Likewise.
62749         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
62750         (addservbyX): Return value returned by cache_addserv.
62751         (readdservbyname): Return value returned by addservbyX:
62752         (readdservbyport): Likewise.
62753         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
62754         (addhstbyX): Return value returned by cache_addhst.
62755         (readdhstbyname): Return value returned by addhstbyX.
62756         (readdhstbyaddr): Likewise.
62757         (readdhstbynamev6): Likewise.
62758         (readdhstbyaddrv6): Likewise.
62759         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
62760         (readdinitgroups): Return value returned by addinitgroupsX.
62761         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
62762         (prune_cache): Keep track of timeout value of re-added entries.
62763         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
62764         * nscd/nscd.h: Adjust prototypes of readd* functions.
62766 2011-02-04  Roland McGrath  <roland@redhat.com>
62768         * nis/nis_server.c (nis_servstate): Use the right name for 0.
62769         (nis_stats): Likewise.
62770         * nis/nis_modify.c (nis_modify): Likewise.
62771         * nis/nis_remove.c (nis_remove): Likewise.
62772         * nis/nis_add.c (nis_add): Likewise.
62774         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
62776         * posix/fnmatch_loop.c: Add some consts.
62778         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
62780 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
62782         [BZ #12460]
62783         * config.make.in (config-cflags-novzeroupper): Define.
62784         * configure.in: Substitute libc_cv_cc_novzeroupper.
62785         * elf/Makefile (AVX-CFLAGS): Define.
62786         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
62787         (CFLAGS-tst-auditmod4a.c): Likewise.
62788         (CFLAGS-tst-auditmod4b.c): Likewise.
62789         (CFLAGS-tst-auditmod6b.c): Likewise.
62790         (CFLAGS-tst-auditmod6c.c): Likewise.
62791         (CFLAGS-tst-auditmod7b.c): Likewise.
62792         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
62794 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
62796         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
62797         function to the callback.
62798         Patch partly by Jiri Olsa <jolsa@redhat.com>.
62800 2011-02-02  Andreas Schwab  <schwab@redhat.com>
62802         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
62803         of errno.
62805 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
62807         [BZ #11724]
62808         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
62809         of constructors.
62810         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
62811         of destructors.
62812         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
62814         [BZ #11724]
62815         * elf/Makefile: Add rules to build and run new test.
62816         * elf/tst-initorder.c: New file.
62817         * elf/tst-initorder.exp: New file.
62818         * elf/tst-initordera1.c: New file.
62819         * elf/tst-initordera2.c: New file.
62820         * elf/tst-initordera3.c: New file.
62821         * elf/tst-initordera4.c: New file.
62822         * elf/tst-initorderb1.c: New file.
62823         * elf/tst-initorderb2.c: New file.
62824         * elf/tst-order-a1.c: New file.
62825         * elf/tst-order-a2.c: New file.
62826         * elf/tst-order-a3.c: New file.
62827         * elf/tst-order-a4.c: New file.
62828         * elf/tst-order-b1.c: New file.
62829         * elf/tst-order-b2.c: New file.
62830         * elf/tst-order-main.c: New file.
62831         New test case by George Gensure <werkt0@gmail.com>.
62833 2010-10-01  Andreas Schwab  <schwab@redhat.com>
62835         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
62836         decoding ACE if AI_CANONIDN.
62838 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
62840         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
62842 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
62844         * version.h (RELEASE): Bump for 2.13 release.
62845         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
62847         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
62849         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
62850         MADV_NOHUGEPAGE.
62851         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
62852         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
62853         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
62854         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
62855         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
62856         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
62858         * posix/getconf.c: Update copyright year.
62859         * catgets/gencat.c: Likewise.
62860         * csu/version.c: Likewise.
62861         * debug/catchsegv.sh: Likewise.
62862         * debug/xtrace.sh: Likewise.
62863         * elf/ldconfig.c: Likewise.
62864         * elf/ldd.bash.in: Likewise.
62865         * elf/sprof.c (print_version): Likewise.
62866         * iconv/iconv_prog.c: Likewise.
62867         * iconv/iconvconfig.c: Likewise.
62868         * locale/programs/locale.c: Likewise.
62869         * locale/programs/localedef.c: Likewise.
62870         * malloc/memusage.sh: Likewise.
62871         * malloc/mtrace.pl: Likewise.
62872         * nscd/nscd.c (print_version): Likewise.
62873         * nss/getent.c: Likewise.
62875         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
62876         PF_CAIF, and PF_ALG.
62877         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
62879 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
62881         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
62882         (modules-names): Use them.
62883         (ifunc-test-modules, ifunc-pie-tests): Define.
62884         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
62885         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
62886         (test-extras): Likewise.
62887         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
62888         $(compile-command.c).
62889         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
62890         (all-built-dso): Define.
62891         (check-textrel.out, check-execstack.out): Depend on it.
62893         * configure.in: Don't override --enable-multi-arch.
62895 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
62897         [BZ #6812]
62898         * nscd/hstcache.c (tryagain): Define.
62899         (cache_addhst): Return tryagain not notfound for temporary errors.
62900         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
62901         failed.
62903 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
62905         [BZ #10563]
62906         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
62907         to make the syscall.
62908         * sysdeps/unix/sysv/linux/setgroups.c: New file.
62910         [BZ #12378]
62911         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
62912         and fall back to matching as normal character if the string ends before
62913         the matching ']' is found.  This is what POSIX requires.
62914         * posix/testfnm.c: Adjust test result.
62915         * posix/globtest.sh: Adjust test result.  Add new test.
62916         * posix/tst-fnmatch.input: Likewise.
62917         * posix/tst-fnmatch2.c: Add new test.
62919 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
62921         * elf/Makefile (check-execstack): Revert last change.  Depend on
62922         check-execstack.h.
62923         (check-execstack.h): New target.
62924         (generated): Add check-execstack.h.
62925         * elf/check-execstack.c: Include "check-execstack.h".
62926         (main): Revert last change.
62927         (handle_file): Return zero if GNU_STACK is absent and
62928         DEFAULT_STACK_PERMS doesn't include PF_X.
62930 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
62932         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
62933         in child fails because the descriptor is already closed.
62934         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
62935         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
62936         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
62938         [BZ #12397]
62939         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
62940         syscall.
62942         [BZ #10484]
62943         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
62944         temporary buffer used to handle multi lookups locally.
62945         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
62947 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
62949         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
62950         loader is ld.so.
62952 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
62954         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
62955         alignment for SSE2.
62957 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
62959         [BZ #12394]
62960         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
62961         characters.  When rounding increased number of integer digits recompute
62962         number of groups.
62963         * stdio-common/tst-grouping.c: New file.
62964         * stdio-common/Makefile: Add rules to build and run tst-grouping.
62966 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
62968         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
62969         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
62971         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
62972         void.
62973         * bits/select.h: Likewise.
62975 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
62977         * po/ja.po: Update from translation team.
62979 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
62981         [BZ #11155]
62982         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
62983         implementation just like for lxstat, fxstatat, et al.
62985 2010-12-27  Jim Meyering  <meyering@redhat.com>
62987         [BZ #12348]
62988         * posix/regexec.c (build_trtable): Return failure indication upon
62989         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
62991 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
62993         [BZ #12201]
62994         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
62995         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
62996         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
62997         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
62999         [BZ #12207]
63000         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
63002         [BZ #12204]
63003         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
63004         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
63006 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
63008         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
63009         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
63010         script has SORT_BY_INIT_PRIORITY.
63011         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
63012         NO_CTORS_DTORS_SECTIONS is defined.
63013         * elf/soinit.c: Likewise.
63014         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
63015         NO_CTORS_DTORS_SECTIONS is defined.
63016         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
63017         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
63018         * sysdeps/sh/init-first.c: Likewise.
63019         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
63021 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
63023         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
63024         always use the slow path.
63026 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
63028         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
63029         similar rule which adds the sysdep directories to the header search in
63030         order to pick up the correct platform stackinfo.h.
63031         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
63032         perform test if it is, otherwise return successfully without testing.
63033         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
63034         DEFAULT_STACK_PERMS define in stackinfo.h.
63035         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
63036         defined in stackinfo.h.
63037         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
63038         DEFAULT_STACK_PERMS defined in stackinfo.h.
63039         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
63040         * sysdeps/ia64/stackinfo.h: Likewise.
63041         * sysdeps/s390/stackinfo.h: Likewise.
63042         * sysdeps/sh/stackinfo.h: Likewise.
63043         * sysdeps/sparc/stackinfo.h: Likewise.
63044         * sysdeps/x86_64/stackinfo.h: Likewise.
63045         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
63046         PF_X for powerpc64.  Retain PF_X for powerpc32.
63048 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
63050         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
63051         accurately.
63052         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
63053         GETDENTS_64BIT_ALIGNED.
63055 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
63057         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
63059 2010-12-10  Andreas Schwab  <schwab@redhat.com>
63061         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
63062         _GNU_SOURCE.
63064         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
63065         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
63066         Remove __restrict.
63067         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
63068         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
63070 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
63072         [BZ #11655]
63073         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
63074         are initialized.
63076 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
63078         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
63080 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
63082         * po/it.po: Update from translation team.
63084 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
63086         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
63087         unused codes.
63089 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
63091         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
63093 2010-11-24  Andreas Schwab  <schwab@redhat.com>
63095         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
63096         specially.
63097         (gaih_getanswer_slice): Likewise.
63099 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
63101         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
63103 2010-05-31  Petr Baudis  <pasky@suse.cz>
63105         [BZ #11149]
63106         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
63107         silently even in the chroot mode.
63109 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
63111         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
63112         last patch a bit.  Pretty printing
63114 2010-05-31  Petr Baudis <pasky@suse.cz>
63116         [BZ #10085]
63117         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
63118         initialization of skip_initgroups_dyn.
63120 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
63122         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
63123         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
63125 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
63127         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
63129 2010-11-11  Andreas Schwab  <schwab@redhat.com>
63131         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
63132         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
63133         (tst-fnmatch-ENV): Set MALLOC_TRACE.
63134         ($(objpfx)tst-fnmatch-mem): New rule.
63135         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
63136         * posix/tst-fnmatch.c (main): Call mtrace.
63138 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
63140         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63141         Support Intel processor model 6 and model 0x2c.
63143 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
63145         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
63146           signed comparison.
63148 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
63150         [BZ #12205]
63151         * string/test-strncasecmp.c (check_result): New function.
63152         (do_one_test): Use it.
63153         (check1): New function.
63154         (test_main): Use it.
63155         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
63156         Support strcasecmp and strncasecmp.
63158 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
63160         [BZ #12194]
63161         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
63162         * sysdeps/x86_64/bits/byteswap.h: Likewise.
63164 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
63166         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
63167         IFUNC support.
63168         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63169         memset-x86-64.
63170         * sysdeps/x86_64/multiarch/bzero.S: New file.
63171         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
63172         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
63173         * sysdeps/x86_64/multiarch/memset.S: New file.
63174         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
63175         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63176         Set bit_Prefer_SSE_for_memop for Intel processors.
63177         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
63178         Define.
63179         (index_Prefer_SSE_for_memop): Define.
63180         (HAS_PREFER_SSE_FOR_MEMOP): Define.
63182 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
63184         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
63185         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
63187 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
63189         [BZ #12191]
63190         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
63191         (__x86_64_raw_data_cache_size_half): Likewise.
63192         (__x86_64_raw_shared_cache_size): Likewise.
63193         (__x86_64_raw_shared_cache_size_half): Likewise.
63195         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
63196         (__x86_64_raw_data_cache_size_half): Likewise.
63197         (__x86_64_raw_shared_cache_size): Likewise.
63198         (__x86_64_raw_shared_cache_size_half): Likewise.
63199         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
63200         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
63201         and __x86_64_raw_shared_cache_size_half.  Round
63202         __x86_64_data_cache_size_half, __x86_64_data_cache_size
63203         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
63204         to multiple of 256 bytes.
63206 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
63208         [BZ #12167]
63209         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
63210         of inacessible symlinks.  Verify result of symlink before returning it.
63211         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
63212         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
63214 2010-10-28  Erich Ritz  <erichritz@gmail.com>
63216         * math/math.h (isinf): Fix typo in comment.
63218 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
63220         * po/da.po: Update from translation team.
63222 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
63224         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
63225         is added to the list.
63227 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63228             Ulrich Drepper  <drepper@gmail.com>
63230         * elf/dl-object.c (_dl_new_object): Don't append the new object to
63231         the global list here.  Move code to...
63232         (_dl_add_to_namespace_list): ...here.  New function.
63233         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
63234         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
63235         * elf/dl-load.c (lose): Don't remove the element from the list.
63236         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
63237         (_dl_map_object): Likewise.
63239 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
63241         [BZ #12159]
63242         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
63243         into all bytes of SSE register.
63244         Patch by Richard Li <richardpku@gmail.com>.
63246 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
63248         [BZ #12140]
63249         * malloc/malloc.c (_int_free): Fill correct number of bytes when
63250         perturbing.
63252 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
63254         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
63255         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
63256         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
63257         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
63258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
63259         submachine.
63260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
63262 2010-10-22  Andreas Schwab  <schwab@redhat.com>
63264         * include/dlfcn.h (__RTLD_SECURE): Define.
63265         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
63266         mode & __RTLD_SECURE instead.
63267         (open_path): Rename preloaded parameter to secure.
63268         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
63269         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
63270         * elf/dl-deps.c (openaux): Likewise.
63271         * elf/rtld.c (struct map_args): Remove is_preloaded.
63272         (map_doit): Don't use it.
63273         (dl_main): Likewise.
63274         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
63275         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
63277 2010-09-09  Andreas Schwab  <schwab@redhat.com>
63279         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
63280         (sysd-rules-targets): Remove duplicates.
63281         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
63282         rtld-%.$o dependency.
63284 2010-10-18  Andreas Schwab  <schwab@redhat.com>
63286         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
63287         _dl_map_object do it.
63289 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
63291         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
63292         fast fma builtins, define the macros in the C99 standard.
63293         (FP_FAST_FMAF): Likewise.
63294         (FP_FAST_FMAL): Likewise.
63295         * sysdeps/x86_64/bits/mathdef.h: Likewise.
63297         * bits/mathdef.h: Update copyright year.
63298         * sysdeps/powerpc/bits/mathdef.h: Likewise.
63300 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
63302         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
63303         builtins, define the macros in the C99 standard.
63304         (FP_FAST_FMAF): Likewise.
63305         (FP_FAST_FMAL): Likewise.
63306         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
63307         multiply/add.
63308         (FP_FAST_FMAF): Likewise.
63310 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
63312         [BZ #3268]
63313         * math/libm-test.inc (fma_test): Some new testcases.
63314         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
63315         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
63316         y and infinite z.  Do multiplication by C already in long double.
63317         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
63318         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
63319         y and infinite z.  Do bitwise or of inexact bit into u.d.
63320         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
63321         * sysdeps/i386/fpu/s_fmaf.S: Removed.
63322         * sysdeps/i386/fpu/s_fma.S: Removed.
63323         * sysdeps/i386/fpu/s_fmal.S: Removed.
63325 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
63327         [BZ #3268]
63328         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
63329         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
63330         computation is not scheduled after fetestexcept.  Fix value
63331         of minimum denormal long double.
63333 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
63335         [BZ #3268]
63336         * math/libm-test.inc (fma_test): Add some more tests.
63337         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
63338         correctly.
63340 2010-10-15  Andreas Schwab  <schwab@redhat.com>
63342         * scripts/data/localplt-s390-linux-gnu.data: New file.
63343         * scripts/data/localplt-s390x-linux-gnu.data: New file.
63345 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
63347         [BZ #3268]
63348         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
63349         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
63350         instead of dbl-64.
63351         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
63352         inlines.
63353         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
63354         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
63355         if one of x and y is very large and the other is subnormal.
63356         * sysdeps/s390/fpu/s_fmaf.c: New file.
63357         * sysdeps/s390/fpu/s_fma.c: New file.
63358         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
63359         * sysdeps/powerpc/fpu/s_fma.S: New file.
63360         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
63361         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
63362         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
63364 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
63366         [BZ #3268]
63367         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
63368         fma tests.
63369         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
63370         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
63371         * sysdeps/i386/i686/multiarch/s_fma.c: Include
63372         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
63373         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
63374         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
63375         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
63377 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
63379         [BZ #12078]
63380         * posix/regcomp.c (parse_branch): One more memory leak plugged.
63381         * posix/bug-regex31.input: Add test case.
63383 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
63385         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
63386         * posix/bug-regex31.input: New file.
63388         [BZ #12078]
63389         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
63390         (parse_sub_exp): Fix last change, use postorder.
63392         * posix/bug-regex31.c: New file.
63393         * posix/Makefile: Add rules to build and run bug-regex31.
63395         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
63397         [BZ #12078]
63398         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
63400         [BZ #12108]
63401         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
63402         to have entries in sys_siglist.
63404         [BZ #12093]
63405         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
63406         be NULL.
63408 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
63410         [BZ #3268]
63411         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
63412         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
63413         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
63414         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
63415         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
63416         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
63417         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
63418         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
63419         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
63420         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
63421         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
63422         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
63423         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
63424         * math/ftestexcept.c (fetestexcept): Likewise.
63425         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
63426         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
63427         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
63428         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
63429         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
63430         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
63431         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
63433 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
63435         [BZ #12107]
63436         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
63437         newline.
63439 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
63441         * string/bug-strstr1.c: New file.
63442         * string/Makefile: Add rules to build and run bug-strstr1.
63444 2010-10-05  Eric Blake  <eblake@redhat.com>
63446         [BZ #12092]
63447         * string/str-two-way.h (two_way_long_needle): Always clear memory
63448         when skipping input due to the shift table.
63450 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
63452         [BZ #12005]
63453         * malloc/mcheck.c: Handle large requests.
63455         [BZ #12077]
63456         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
63457         for strncmp and strncasecmp.
63458         * string/stratcliff.c: Add tests for strcmp and strncmp.
63459         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
63461 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63463         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
63464         __set_fpscr.
63466 2010-09-30  Andreas Jaeger  <aj@suse.de>
63468         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
63469         (CGROUP_SUPER_MAGIC): Define.
63470         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63471         Handle btrfs and cgroup file systems.
63472         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
63473         Likewise.
63475 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
63477         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
63478         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
63480 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63482         [BZ #12067]
63483         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
63484         trying to locate the ELF header.
63486 2010-09-27  Andreas Schwab  <schwab@redhat.com>
63488         [BZ #11611]
63489         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
63490         Mask out sign-bit copies when constructing f_fsid.
63492 2010-09-24  Petr Baudis <pasky@suse.cz>
63494         * debug/stack_chk_fail_local.c: Add missing licence exception.
63495         * debug/warning-nop.c: Likewise.
63497 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
63499         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
63500         implementing getdents64 using getdents syscall, set d_type if
63501         __ASSUME_GETDENTS32_D_TYPE.
63503 2010-09-16  Andreas Schwab  <schwab@redhat.com>
63505         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
63506         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
63508 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
63510         [BZ #12037]
63511         * posix/unistd.h: Undo change of feature selection for ftruncate from
63512         2010-01-11.
63514 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
63516         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
63517         detection.
63519 2010-09-20  Andreas Schwab  <schwab@redhat.com>
63521         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
63522         fanotify_mark.
63523         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
63525 2010-09-14  Andreas Schwab  <schwab@redhat.com>
63527         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
63528         variables after CHECK_SP call.
63529         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
63531 2010-09-13  Andreas Schwab  <schwab@redhat.com>
63532             Ulrich Drepper  <drepper@redhat.com>
63534         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
63535         re-relocationg ld.so.
63536         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
63537         _dl_init_paths call.
63538         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
63539         here anymore.
63541 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
63543         * resolv/res_init.c (__res_vinit): Count the default server we added.
63545 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
63546             Ulrich Drepper  <drepper@redhat.com>
63548         [BZ #11968]
63549         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
63550         (____longjmp_chk): Use %ebx for saving value across system call.
63551         Add unwind info.
63553 2010-09-06  Andreas Schwab  <schwab@redhat.com>
63555         * manual/Makefile: Don't mix pattern rules with normal rules.
63557 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
63559         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
63560         operation.
63561         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
63562         * libio/iofopncook.c (_IO_cookie_init): Likewise.
63563         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
63564         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
63565         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
63566         Likewise.
63568 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
63570         [BZ #11979]
63571         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
63572         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
63574 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
63576         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
63577         * sysdeps/x86_64/addmul_1.S: Likewise.
63578         * sysdeps/x86_64/lshift.S: Likewise.
63579         * sysdeps/x86_64/mul_1.S: Likewise.
63580         * sysdeps/x86_64/rshift.S: Likewise.
63581         * sysdeps/x86_64/sub_n.S: Likewise.
63582         * sysdeps/x86_64/submul_1.S: Likewise.
63584 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63586         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
63587         Define __sched_param instead of SCHED_* and sched_param when
63588         <bits/sched.h> is included with __need_schedparam defined.
63589         * bits/sched.h [__need_schedparam]
63590         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
63591         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
63592         (__defined_schedparam): Define to 1.
63593         (__sched_param): New structure, identical to sched_param.
63594         (__need_schedparam): Undefine.
63596 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
63598         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
63599         (epoll_create1): Declare.
63601         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
63603 2010-08-31  Andreas Schwab  <schwab@redhat.com>
63605         [BZ #7066]
63606         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
63607         shifting retval into place.
63609 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
63611         * nis/rpcsvc/nis.h: Update copyright notice.
63612         * nis/rpcsvc/nis.x: Likewise.
63613         * nis/rpcsvc/nis_callback.h: Likewise.
63614         * nis/rpcsvc/nis_callback.x: Likewise.
63615         * nis/rpcsvc/nis_object.x: Likewise.
63616         * nis/rpcsvc/nis_tags.h: Likewise.
63617         * nis/rpcsvc/yp.h: Likewise.
63618         * nis/rpcsvc/yp.x: Likewise.
63619         * nis/rpcsvc/ypupd.h: Likewise.
63620         * nis/yp_xdr.c: Likewise.
63621         * nis/ypupdate_xdr.c: Likewise.
63623         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
63624         mainly the body of pmap_getport.  Add parameters to specify timeouts.
63625         (pmap_getport): Use __libc_rpc_getport.
63626         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
63627         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
63628         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
63630 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
63632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
63633         fanotify_mark.
63635 2010-08-27  Roland McGrath  <roland@redhat.com>
63637         * sysdeps/i386/i686/multiarch/Makefile
63638         (CFLAGS-varshift.c): New variable.
63640 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
63642         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
63643         * sysdeps/i386/i686/multiarch/varshift.c: New file.
63645         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
63647         * sysdeps/x86_64/strlen.S: Minimal code improvement.
63649 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
63651         * sysdeps/x86_64/strlen.S: Unroll the loop.
63652         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63653         strlen-sse2 strlen-sse2-bsf.
63654         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
63655         __strlen_no_bsf if bit_Slow_BSF is set.
63656         (__strlen_sse42): Removed.
63657         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
63658         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
63660 2010-08-25  Roland McGrath  <roland@redhat.com>
63662         * sysdeps/x86_64/multiarch/varshift.S: File removed.
63663         * sysdeps/x86_64/multiarch/varshift.c: New file.
63664         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
63665         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
63666         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
63667         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
63669 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
63671         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63672         strlen-sse2 strlen-sse2-bsf.
63673         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
63674         __strlen_sse2_bsf if bit_Slow_BSF is unset.
63675         (__strlen_sse2): Removed.
63676         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
63677         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
63678         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
63679         bit_Slow_BSF for Atom.
63680         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
63681         (index_Slow_BSF): Define.
63682         (HAS_SLOW_BSF): Define.
63684 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
63686         [BZ #10851]
63687         * resolv/res_init.c (__res_vinit): When no server address at all
63688         is given default to loopback.
63690 2010-08-24  Roland McGrath  <roland@redhat.com>
63692         * configure.in: Remove config-name.h generation.
63693         * configure: Regenerated.
63694         * config-name.in: File removed.
63695         * scripts/config-uname.sh: New file.
63696         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
63697         ($(objdir)config-name.h): New target.
63699         * sunrpc/rpc_parse.h: Avoid nested comment.
63701 2010-08-24  Richard Henderson  <rth@redhat.com>
63702             Ulrich Drepper  <drepper@redhat.com>
63703             H.J. Lu  <hongjiu.lu@intel.com>
63705         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
63706         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
63707         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
63708         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
63709         _mm_alignr_epi8 with _mm_loadu_si128.
63710         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
63711         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
63712         (__m128i_shift_right): Removed.
63713         * sysdeps/i386/i686/multiarch/varshift.h: New file.
63714         * sysdeps/i386/i686/multiarch/varshift.S: New file.
63715         * sysdeps/x86_64/multiarch/varshift.h: New file.
63716         * sysdeps/x86_64/multiarch/varshift.S: New file.
63718 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
63720         * configure.in: Move assembler checks to before sysdep dir checking.
63722 2010-08-20  Petr Baudis  <pasky@suse.cz>
63724         * LICENSES: Sync the sunrpc license.
63726 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
63728         * sunrpc/auth_des.c: Update copyright notice once again.
63729         * sunrpc/auth_none.c: Likewise.
63730         * sunrpc/auth_unix.c: Likewise.
63731         * sunrpc/authdes_prot.c: Likewise.
63732         * sunrpc/authuxprot.c: Likewise.
63733         * sunrpc/bindrsvprt.c: Likewise.
63734         * sunrpc/clnt_gen.c: Likewise.
63735         * sunrpc/clnt_perr.c: Likewise.
63736         * sunrpc/clnt_raw.c: Likewise.
63737         * sunrpc/clnt_simp.c: Likewise.
63738         * sunrpc/clnt_tcp.c: Likewise.
63739         * sunrpc/clnt_udp.c: Likewise.
63740         * sunrpc/clnt_unix.c: Likewise.
63741         * sunrpc/des_crypt.c: Likewise.
63742         * sunrpc/des_soft.c: Likewise.
63743         * sunrpc/get_myaddr.c: Likewise.
63744         * sunrpc/getrpcport.c: Likewise.
63745         * sunrpc/key_call.c: Likewise.
63746         * sunrpc/key_prot.c: Likewise.
63747         * sunrpc/openchild.c: Likewise.
63748         * sunrpc/pm_getmaps.c: Likewise.
63749         * sunrpc/pm_getport.c: Likewise.
63750         * sunrpc/pmap_clnt.c: Likewise.
63751         * sunrpc/pmap_prot.c: Likewise.
63752         * sunrpc/pmap_prot2.c: Likewise.
63753         * sunrpc/pmap_rmt.c: Likewise.
63754         * sunrpc/rpc/auth.h: Likewise.
63755         * sunrpc/rpc/auth_unix.h: Likewise.
63756         * sunrpc/rpc/clnt.h: Likewise.
63757         * sunrpc/rpc/des_crypt.h: Likewise.
63758         * sunrpc/rpc/key_prot.h: Likewise.
63759         * sunrpc/rpc/netdb.h: Likewise.
63760         * sunrpc/rpc/pmap_clnt.h: Likewise.
63761         * sunrpc/rpc/pmap_prot.h: Likewise.
63762         * sunrpc/rpc/pmap_rmt.h: Likewise.
63763         * sunrpc/rpc/rpc.h: Likewise.
63764         * sunrpc/rpc/rpc_des.h: Likewise.
63765         * sunrpc/rpc/rpc_msg.h: Likewise.
63766         * sunrpc/rpc/svc.h: Likewise.
63767         * sunrpc/rpc/svc_auth.h: Likewise.
63768         * sunrpc/rpc/types.h: Likewise.
63769         * sunrpc/rpc/xdr.h: Likewise.
63770         * sunrpc/rpc_clntout.c: Likewise.
63771         * sunrpc/rpc_cmsg.c: Likewise.
63772         * sunrpc/rpc_common.c: Likewise.
63773         * sunrpc/rpc_cout.c: Likewise.
63774         * sunrpc/rpc_dtable.c: Likewise.
63775         * sunrpc/rpc_hout.c: Likewise.
63776         * sunrpc/rpc_main.c: Likewise.
63777         * sunrpc/rpc_parse.c: Likewise.
63778         * sunrpc/rpc_parse.h: Likewise.
63779         * sunrpc/rpc_prot.c: Likewise.
63780         * sunrpc/rpc_sample.c: Likewise.
63781         * sunrpc/rpc_scan.c: Likewise.
63782         * sunrpc/rpc_scan.h: Likewise.
63783         * sunrpc/rpc_svcout.c: Likewise.
63784         * sunrpc/rpc_tblout.c: Likewise.
63785         * sunrpc/rpc_util.c: Likewise.
63786         * sunrpc/rpc_util.h: Likewise.
63787         * sunrpc/rpcinfo.c: Likewise.
63788         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
63789         * sunrpc/rpcsvc/key_prot.x: Likewise.
63790         * sunrpc/rpcsvc/klm_prot.x: Likewise.
63791         * sunrpc/rpcsvc/mount.x: Likewise.
63792         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
63793         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
63794         * sunrpc/rpcsvc/rex.x: Likewise.
63795         * sunrpc/rpcsvc/rstat.x: Likewise.
63796         * sunrpc/rpcsvc/rusers.x: Likewise.
63797         * sunrpc/rpcsvc/sm_inter.x: Likewise.
63798         * sunrpc/rpcsvc/spray.x: Likewise.
63799         * sunrpc/rpcsvc/yppasswd.x: Likewise.
63800         * sunrpc/rtime.c: Likewise.
63801         * sunrpc/svc.c: Likewise.
63802         * sunrpc/svc_auth.c: Likewise.
63803         * sunrpc/svc_authux.c: Likewise.
63804         * sunrpc/svc_raw.c: Likewise.
63805         * sunrpc/svc_run.c: Likewise.
63806         * sunrpc/svc_simple.c: Likewise.
63807         * sunrpc/svc_tcp.c: Likewise.
63808         * sunrpc/svc_udp.c: Likewise.
63809         * sunrpc/svc_unix.c: Likewise.
63810         * sunrpc/svcauth_des.c: Likewise.
63811         * sunrpc/xcrypt.c: Likewise.
63812         * sunrpc/xdr.c: Likewise.
63813         * sunrpc/xdr_array.c: Likewise.
63814         * sunrpc/xdr_float.c: Likewise.
63815         * sunrpc/xdr_mem.c: Likewise.
63816         * sunrpc/xdr_rec.c: Likewise.
63817         * sunrpc/xdr_ref.c: Likewise.
63818         * sunrpc/xdr_sizeof.c: Likewise.
63819         * sunrpc/xdr_stdio.c: Likewise.
63821         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
63822         handling.
63824 2010-08-19  Andreas Schwab  <schwab@redhat.com>
63826         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
63828 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
63830         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
63831         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
63832         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
63833         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
63834         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
63835         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
63836         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
63837         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
63838         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
63839         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
63840         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
63841         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
63842         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
63843         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
63845 2010-07-26  Anton Blanchard  <anton@samba.org>
63847         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
63848         * malloc/arena.c (heap_trim): Likewise.
63850 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
63852         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
63853         here.  Not...
63854         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
63855         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
63857 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
63859         * sysdeps/i386/elf/Makefile: New file.
63861 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
63863         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
63864         from fanotify_init.
63865         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
63866         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
63868 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
63870         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
63871         of strncasecmp_l.
63872         * sysdeps/multiarch/strcmp.S: Likewise.
63874 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
63876         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
63877         strncase_l-nonascii.
63878         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
63879         Add strncase_l-ssse3.
63880         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
63881         * sysdeps/x86_64/strcmp.S: Likewise.
63882         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
63883         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
63884         * sysdeps/x86_64/strncase.S: New file.
63885         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
63886         * sysdeps/x86_64/strncase_l.S: New file.
63887         * string/Makefile (strop-tests): Add strncasecmp.
63888         * string/test-strncasecmp.c: New file.
63890         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
63891         warning.
63893         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
63894         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
63896 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
63898         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
63900 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
63902         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
63903         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
63904         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
63906 2010-05-01  Alan Modra  <amodra@gmail.com>
63908         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
63909         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
63910         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
63911         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
63912         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
63913         tidying.  Don't tail-call __sigjmp_save for static lib.
63914         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
63915         save location.
63916         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
63917         (CALL_MCOUNT): Add eh info, and nop after bl.
63918         (TAIL_CALL_SYSCALL_ERROR): New macro.
63919         (PSEUDO_RET): Use it.
63920         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
63921         Correct save location of integer regs and cr.
63922         (_dl_profile_resolve): Correct cr save location.  Delete nops
63923         after bl when SHARED.  Reduce cfi size a little by better
63924         placement of cfi directives.
63925         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
63926         make a stack frame.  Instead use parm save area as a temp.
63927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
63928         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
63929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
63930         Don't make a stack frame for parent, use parm save area.
63931         Increase child stack frame to 112 bytes.  Don't save unused reg,
63932         and adjust reg usage.  Set up cfi on error recovery and
63933         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
63934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
63935         (__makecontext): Add dummy nop after jump to exit.
63936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
63937         Use correct parm save area and cr save, reduce stack frame.
63938         Correct cfi for possible PSEUDO_RET frame setup.
63939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
63940         Branch to local label emitted by PSEUDO_RET rather than
63941         __syscall_error.
63943 2010-08-12  Andreas Schwab  <schwab@redhat.com>
63945         [BZ #11904]
63946         * locale/programs/locale.c (print_assignment): New function.
63947         (show_locale_vars): Use it.
63949 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
63951         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
63952         field.
63953         (struct statfs64): Likewise.
63954         (_STATFS_F_FLAGS): Define.
63955         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
63956         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63957         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
63958         (ST_VALID): Define locally.
63959         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
63960         __statvfs_getflags, use the provided value.
63961         * sysdeps/unix/sysv/linux/kernel-features.h: Define
63962         __ASSUME_STATFS_F_FLAGS.
63964         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
63966         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
63967         Add sys/fanotify.h.
63968         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
63969         fanotify_mask for GLIBC_2.13.
63970         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
63971         fanotify_init and fanotify_mark.
63972         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
63973         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
63975         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
63976         Add prlimit.
63977         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
63978         prlimit64 for GLIBC_2.13.
63979         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
63980         prlimit64.
63981         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
63982         syscall.
63983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
63984         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
63985         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
63986         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
63987         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
63988         add prlimit alias.
63989         * sysdeps/unix/sysv/linux/prlimit.c: New file.
63991         [BZ #11903]
63992         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
63993         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
63995         * nss/Makefile: Add rules to build and run tst-nss-test1.
63996         * shlib-versions: Add entry for libnss_test1.
63997         * nss/nss_test1.c: New file.
63998         * nss/tst-nss-test1.c: New file.
64000         * nss/nsswitch.c (__nss_database_custom): Define new variable.
64001         (__nss_configure_lookup): Set appropriate entry in
64002         __nss_configure_lookup to true.
64003         * nss/nsswitch.h: Define enum with indeces of databases in
64004         databases and __nss_database_custom arrays.  Declare
64005         __nss_database_custom.
64006         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
64007         to avoid using nscd when custom rules are installed.
64008         * nss/getXXbyYY_r.c: Likewise.
64009         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
64011         * nss/nss_files/files-parse.c: Whitespace fixes.
64013 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
64015         [BZ #11883]
64016         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
64017         * posix/fnmatch_loop.c: Likewise.
64019 2010-07-17  Andi Kleen  <ak@linux.intel.com>
64021         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
64022         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
64023         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
64024         * Versions.def [GLIBC_2.13]: Add.
64026 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
64028         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
64029         Also fail if tpwd after pwuid call is NULL.
64031 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64033         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
64034         when converting to ms.
64036 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64038         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
64039         EOPNOTSUPP errors with ENOTTY.
64040         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
64041         EOPNOTSUPP errors with ENOTTY.
64043 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
64045         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
64046         Add strcasecmp_l-ssse3.
64047         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
64048         strcasecmp.
64049         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
64050         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
64051         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
64053 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
64055         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
64057         * string/Makefile (strop-tests): Add strcasecmp.
64058         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
64059         strcasecmp_l-nonascii.
64060         (gen-as-const-headers): Add locale-defines.sym.
64061         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
64062         * sysdeps/x86_64/strcasecmp.S: New file.
64063         * sysdeps/x86_64/strcasecmp_l.S: New file.
64064         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
64065         * sysdeps/x86_64/locale-defines.sym: New file.
64066         * string/test-strcasecmp.c: New file.
64068         * string/test-strcasestr.c: Test both ends of the range of characters.
64069         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
64071 2010-07-29  Roland McGrath  <roland@redhat.com>
64073         [BZ #11856]
64074         * manual/locale.texi (Yes-or-No Questions): Fix example code.
64076 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
64078         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
64079         for ld.so.
64081 2010-07-27  Andreas Schwab  <schwab@redhat.com>
64083         * manual/memory.texi (Malloc Tunable Parameters): Document
64084         M_PERTURB.
64086 2010-07-26  Roland McGrath  <roland@redhat.com>
64088         [BZ #11840]
64089         * configure.in (-fgnu89-inline check): Set and substitute
64090         gnu89_inline, not libc_cv_gnu89_inline.
64091         * configure: Regenerated.
64092         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
64094 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
64096         * string/test-strnlen.c: New file.
64097         * string/Makefile (strop-tests): Add strnlen.
64098         * string/tester.c (test_strnlen): Add a few more test cases.
64099         * string/tst-strlen.c: Better error reporting.
64101         * sysdeps/x86_64/strnlen.S: New file.
64103 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
64105         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
64106         lower-latency instructions.
64108 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
64110         * string/test-strcasestr.c: New file.
64111         * string/test-strstr.c: New file.
64112         * string/Makefile (strop-tests): Add strstr and strcasestr.
64113         * string/str-two-way.h: Don't undefine MAX.
64114         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
64116 2010-07-21  Andreas Schwab  <schwab@redhat.com>
64118         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
64119         strcasestr-nonascii.
64120         (CFLAGS-strcasestr-nonascii.c): Define.
64121         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
64122         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
64123         Remove unused attribute.
64125 2010-07-20  Roland McGrath  <roland@redhat.com>
64127         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
64128         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
64129         ld.so.cache was broken.  With it, there is no way to disable dsocaps
64130         like LD_HWCAP_MASK can disable hwcaps.
64132 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
64134         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
64136 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
64138         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
64139         call in strcasestr.
64140         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
64141         __strcasestr_sse42_nonascii.
64142         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
64143         strcasestr-nonascii.c.
64144         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
64146 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
64148         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
64149         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
64150         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
64151         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
64153 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
64155         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
64156         fcntl.
64158 2010-07-06  Andreas Schwab  <schwab@redhat.com>
64160         [BZ #11577]
64161         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
64162         dl_signal_cerror.
64164 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
64166         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
64167         _PC_PIPE_BUF using F_GETPIPE_SZ.
64169 2010-07-05  Roland McGrath  <roland@redhat.com>
64171         * manual/arith.texi (Rounding Functions): Fix rint description
64172         implicit in round description.
64174 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
64176         * elf/Makefile: Fix linking for a few tests to make recent linker
64177         happy.
64179 2010-06-30  Andreas Schwab  <schwab@redhat.com>
64181         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
64182         $(common-objpfx)libc_nonshared.a.
64184 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
64186         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
64187         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
64188         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
64189         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
64190         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
64191         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
64192         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
64193         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
64194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
64195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
64196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
64197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
64198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
64199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
64200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
64201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
64202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
64203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
64204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
64205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
64206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
64207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
64208         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
64209         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
64210         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
64211         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
64212         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
64213         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
64214         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
64215         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
64216         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
64217         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
64218         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
64219         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
64220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
64221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
64222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
64223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
64224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
64225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
64226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
64227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
64228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
64229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
64230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
64231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
64232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
64233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
64235 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
64237         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
64238         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
64239         * string/memmove.c (memmove): Renamed to ...
64240         (MEMMOVE): ...this.  Default to memmove.
64241         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
64242         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
64243         (END_CHK): Define.
64244         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64245         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
64246         mempcpy-ssse3-back memmove-ssse3-back.
64247         * sysdeps/x86_64/multiarch/bcopy.S: New file .
64248         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
64249         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
64250         * sysdeps/x86_64/multiarch/memcpy.S: New file.
64251         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
64252         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
64253         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
64254         * sysdeps/x86_64/multiarch/memmove.c: New file.
64255         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
64256         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
64257         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
64258         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
64259         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
64260         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
64261         Define.
64262         (index_Fast_Copy_Backward): Define.
64263         (HAS_ARCH_FEATURE): Define.
64264         (HAS_FAST_REP_STRING): Define.
64265         (HAS_FAST_COPY_BACKWARD): Define.
64267 2010-06-21  Andreas Schwab  <schwab@redhat.com>
64269         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
64270         Restore proper fallback handling.
64272 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
64274         [BZ #11701]
64275         * posix/group_member.c (__group_member): Correct checking loop.
64277         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
64278         OOM in getpwuid_r correctly.  Return error number when the caller
64279         should return, otherwise -1.
64280         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
64281         call returning > 0 value.
64282         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
64284 2010-06-07  Andreas Schwab  <schwab@redhat.com>
64286         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
64287         libc_nonshared.a from targets in modules-names.
64289 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
64291         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
64292         requires it.
64294 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
64296         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
64297         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
64298         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
64299         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
64301 2010-06-02  Andreas Schwab  <schwab@redhat.com>
64303         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
64305 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
64307         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
64308         and F_GETPIPE_SZ.
64309         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
64310         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64311         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64312         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64313         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64314         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
64316 2010-06-14  Roland McGrath  <roland@redhat.com>
64318         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
64320 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
64322         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
64323         __REDIRECT followed by __THROW.
64324         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
64325         * posix/getopt.h (getopt): Likewise.
64327 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
64329         * hurd/lookup-at.c (__file_name_lookup_at): Accept
64330         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
64331         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
64332         in AT_FLAGS.
64333         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
64334         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
64336 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
64338         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
64340 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
64342         [BZ #11640]
64343         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64344         Properly check family and model.
64346 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
64348         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
64350 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
64352         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
64354 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
64356         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
64357         symbol reference.
64359 2010-05-19  Andreas Schwab  <schwab@redhat.com>
64361         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
64362         symbol reference.
64364 2010-05-21  Andreas Schwab  <schwab@redhat.com>
64366         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
64367         and internal_recvmmsg.
64368         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
64369         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
64370         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
64371         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
64373         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
64374         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
64375         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
64377 2010-05-20  Andreas Schwab  <schwab@redhat.com>
64379         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
64381 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
64383         POWER7 optimizations.
64384         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
64385         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
64387 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
64389         * version.h: Update for 2.13 development version.
64391 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
64393         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
64394         exceptions.  Return 0.
64396 2010-05-07  Roland McGrath  <roland@redhat.com>
64398         * elf/ldconfig.c (main): Add a const.
64400 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
64402         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
64403         (args_options): Add no-idn option.
64404         (ahosts_keys_int): Add idn_flags to ai_flags.
64405         (parse_option): Handle 'i' option to clear idn_flags.
64407         * malloc/malloc.c (_int_free): Possible race in the most recently
64408         added check.  Only act on the data if no current modification
64409         happened.
64411 See ChangeLog.17 for earlier changes.