mips: siginfo.h: add SIGSYS details [BZ #18863]
[glibc.git] / ChangeLog
blob1ddb15380e0e98fe86d1a13cd4a7f63e23793354
1 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
3         [BZ #18863]
4         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
5         (si_call_addr): Define.
6         (si_syscall): Define.
7         (si_arch): Define.
9 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
11         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
12         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
13         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
14         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
15         (__memset_zero_constant_len_parameter): New.
16         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
17         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
18         (__memset_zero_constant_len_parameter): Don't define if
19         __memset_chk or USE_AS_BZERO are defined.
21 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
23         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
24         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
25         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
27 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
29         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
30         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
31         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
32         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
33         comments.
34         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
35         -mno-mmx for $(all-rtld-routines).
36         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
37         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
38         i386.
40 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
42         * sysdeps/generic/unwind.h
43         (_Unwind_Word): Use __mode__(__unwind_word__)
44         instead of __mode__(__word__).
45         (_Unwind_Sword): Likewise.
47 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
49         * sysdeps/s390/s390-64/utf8-utf16-z9.c
50         (MAX_NEEDED_INPUT): New define.
51         (MAX_NEEDED_OUTPUT): New define.
53 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
55         * NEWS: New item for IBM z13 string optimizations.
57 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
59         * sysdeps/s390/multiarch/memrchr-c.c: New File.
60         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
61         * sysdeps/s390/multiarch/memrchr.c: Likewise.
62         * sysdeps/s390/multiarch/Makefile
63         (sysdep_routines): Add memrchr functions.
64         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
65         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
67 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
69         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
70         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
71         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
72         * sysdeps/s390/multiarch/Makefile
73         (sysdep_routines): Add wmemcmp functions.
74         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
75         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
76         * benchtests/bench-wmemcmp.c: New File.
77         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
79 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
81         * sysdeps/s390/multiarch/wmemset-c.c: New File.
82         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
83         * sysdeps/s390/multiarch/wmemset.c: Likewise.
84         * sysdeps/s390/multiarch/Makefile
85         (sysdep_routines): Add wmemset functions.
86         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
87         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
88         * wcsmbs/wmemset.c: Use WMEMSET if defined.
89         * string/test-memset.c: Add wmemset support.
90         * wcsmbs/test-wmemset.c: New File.
91         * wcsmbs/Makefile (strop-tests): Add wmemset.
92         * benchtests/bench-memset.c: Add wmemset support.
93         * benchtests/bench-wmemset.c: New File.
94         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
96 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
98         * sysdeps/s390/multiarch/memccpy-c.c: New File.
99         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
100         * sysdeps/s390/multiarch/memccpy.c: Likewise.
101         * sysdeps/s390/multiarch/Makefile
102         (sysdep_routines): Add memccpy functions.
103         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
104         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
105         * string/memccpy.c: Use MEMCCPY if defined.
107 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
109         * sysdeps/s390/multiarch/memchr-vx.S: New File.
110         * sysdeps/s390/multiarch/memchr.c: Likewise.
111         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
112         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
113         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
114         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
115         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
116         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
117         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
118         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
119         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
120         and rawmemchr functions.
121         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
122         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
123         and wmemchr.
124         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
125         * string/test-memchr.c: Add wmemchr support.
126         * wcsmbs/test-wmemchr.c: New File.
127         * wcsmbs/Makefile (strop-tests): Add wmemchr.
128         * benchtests/bench-memchr.c: Add wmemchr support.
129         * benchtests/bench-wmemchr.c: New File.
130         * benchtests/Makefile (wcsmbs-bench): wmemchr.
132 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
134         * sysdeps/s390/multiarch/strcspn-c.c: New File.
135         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
136         * sysdeps/s390/multiarch/strcspn.c: Likewise.
137         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
138         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
139         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
140         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
141         wcscspn functions.
142         * sysdeps/s390/multiarch/ifunc-impl-list.c
143         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
144         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
145         * string/test-strcspn.c: Add wcscspn support.
146         * wcsmbs/test-wcscspn.c: New File.
147         * wcsmbs/Makefile (strop-tests): Add wcscspn.
148         * benchtests/bench-strcspn.c: Add wcscspn support.
149         * benchtests/bench-wcscspn.c: New File.
150         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
152 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
154         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
155         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
156         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
157         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
158         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
159         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
160         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
161         wcspbrk functions.
162         * sysdeps/s390/multiarch/ifunc-impl-list.c
163         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
164         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
165         * string/test-strpbrk.c: Add wcspbrk support.
166         * wcsmbs/test-wcspbrk.c: New File.
167         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
168         * benchtests/bench-strpbrk.c: Add wcspbrk support.
169         * benchtests/bench-wcspbrk.c: New File.
170         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
172 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
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 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
194         * sysdeps/s390/multiarch/strrchr-c.c: New File.
195         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
196         * sysdeps/s390/multiarch/strrchr.c: Likewise.
197         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
198         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
199         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
200         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
201         wcsrchr functions.
202         * sysdeps/s390/multiarch/ifunc-impl-list.c
203         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
204         * benchtests/bench-wcsrchr.c: New File.
205         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
207 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
209         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
210         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
211         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
212         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
213         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
214         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
215         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
216         wcschrnul functions.
217         * sysdeps/s390/multiarch/ifunc-impl-list.c
218         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
219         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
220         * string/test-strchr.c: Add wcschrnul support.
221         * wcsmbs/test-wcschrnul.c: New File.
222         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
223         * benchtests/bench-strchr.c: Add wcschrnul support.
224         * benchtests/bench-wcschrnul.c: New File.
225         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
227 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
229         * sysdeps/s390/multiarch/strchr-c.c: New File.
230         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
231         * sysdeps/s390/multiarch/strchr.c: Likewise.
232         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
233         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
234         * sysdeps/s390/multiarch/wcschr.c: Likewise.
235         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
236         wcschr functions.
237         * sysdeps/s390/multiarch/ifunc-impl-list.c
238         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
239         * string/strchr.c (STRCHR): Define and use macro.
240         * benchtests/bench-wcschr.c: New File.
241         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
243 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
245         * sysdeps/s390/multiarch/strncmp-c.c: New File.
246         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
247         * sysdeps/s390/multiarch/strncmp.c: Likewise.
248         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
249         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
250         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
251         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
252         wcsncmp functions.
253         * sysdeps/s390/multiarch/ifunc-impl-list.c
254         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
255         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
256         * benchtests/bench-strncmp.c: Add wcsncmp support.
257         * benchtests/bench-wcsncmp.c: New File.
258         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
260 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
262         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
263         * sysdeps/s390/multiarch/strcmp.c: Likewise.
264         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
265         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
266         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
267         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
268         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
269         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
270         wcscmp functions.
271         * sysdeps/s390/multiarch/ifunc-impl-list.c
272         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
273         * string/strcmp.c (STRCMP): Define and use macro.
274         * benchtests/bench-wcscmp.c: New File.
275         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
276         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
277         instead of _HAVE_STRING_ARCH_memchr.
279 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
281         * sysdeps/s390/multiarch/strncat-c.c: New File.
282         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
283         * sysdeps/s390/multiarch/strncat.c: Likewise.
284         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
285         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
286         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
287         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
288         wcsncat functions.
289         * sysdeps/s390/multiarch/ifunc-impl-list.c
290         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
291         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
292         * string/test-strncat.c: Add wcsncat support.
293         * wcsmbs/test-wcsncat.c: New File.
294         * wcsmbs/Makefile (strop-tests): Add wcsncat.
295         * benchtests/bench-strncat.c: Add wcsncat support.
296         * benchtests/bench-wcsncat.c: New File.
297         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
299 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
301         * sysdeps/s390/multiarch/strcat-c.c: New File.
302         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
303         * sysdeps/s390/multiarch/strcat.c: Likewise.
304         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
305         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
306         * sysdeps/s390/multiarch/wcscat.c: Likewise.
307         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
308         wcscat functions.
309         * sysdeps/s390/multiarch/ifunc-impl-list.c
310         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
311         * string/strcat.c (STRCAT): Define and use macro.
312         * wcsmbs/wcscat.c: Use WCSCAT if defined.
313         * string/test-strcat.c: Add wcscat support.
314         * wcsmbs/test-wcscat.c: New File.
315         * wcsmbs/Makefile (strop-tests): Add wcscat.
316         * benchtests/bench-strcat.c: Add wcscat support.
317         * benchtests/bench-wcscat.c: New File.
318         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
320 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
322         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
323         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
324         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
325         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
326         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
327         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
328         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
329         wcpncpy functions.
330         * sysdeps/s390/multiarch/ifunc-impl-list.c
331         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
332         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
333         * string/test-stpncpy.c: Add wcpncpy support.
334         * wcsmbs/test-wcpncpy.c: New File.
335         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
336         * benchtests/bench-stpncpy.c: Add wcpncpy support.
337         * benchtests/bench-wcpncpy.c: New File.
338         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
340 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
342         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
343         * sysdeps/s390/multiarch/strncpy.c: Likewise.
344         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
345         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
346         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
347         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
348         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
349         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
350         wcsncpy functions.
351         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
352         * sysdeps/s390/multiarch/ifunc-impl-list.c
353         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
354         * string/test-strncpy.c: Add wcsncpy support.
355         * wcsmbs/test-wcsncpy.c: New File.
356         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
357         * benchtests/bench-strncpy.c: Add wcsncpy support.
358         * benchtests/bench-wcsncpy.c: New File.
359         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
361 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
363         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
364         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
365         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
366         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
367         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
368         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
369         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
370         wcpcpy functions.
371         * string/stpcpy.c: Use STPCPY if defined.
372         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
373         * sysdeps/s390/multiarch/ifunc-impl-list.c
374         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
375         * string/test-stpcpy.c: Add wcpcpy support.
376         * wcsmbs/test-wcpcpy.c: New File.
377         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
378         * benchtests/bench-stpcpy.c: Add wcpcpy support.
379         * benchtests/bench-wcpcpy.c: New File.
380         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
382 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
384         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
385         * sysdeps/s390/multiarch/strcpy.c: Likewise.
386         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
387         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
388         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
389         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
390         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
391         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
392         wcscpy functions.
393         * sysdeps/s390/multiarch/ifunc-impl-list.c
394         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
395         * benchtests/bench-wcscpy.c: New File.
396         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
398 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
400         * sysdeps/s390/multiarch/strnlen-c.c: New File.
401         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
402         * sysdeps/s390/multiarch/strnlen.c: Likewise.
403         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
404         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
405         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
406         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
407         wcsnlen functions.
408         * sysdeps/s390/multiarch/ifunc-impl-list.c
409         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
410         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
411         * string/test-strnlen.c: Add wcsnlen support.
412         * wcsmbs/test-wcsnlen.c: New File.
413         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
414         * benchtests/bench-strnlen.c: Add wcsnlen support.
415         * benchtests/bench-wcsnlen.c: New File.
416         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
418 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
420         * sysdeps/s390/multiarch/Makefile: New File.
421         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
422         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
423         * sysdeps/s390/multiarch/strlen.c: Likewise.
424         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
425         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
426         * sysdeps/s390/multiarch/wcslen.c: Likewise.
427         * string/strlen.c (STRLEN): Define and use macro.
428         * sysdeps/s390/multiarch/ifunc-impl-list.c
429         (IFUNC_VX_IMPL): New macro function.
430         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
431         * benchtests/Makefile (wcsmbs-bench): New variable.
432         (string-bench-all): Added wcsmbs-bench.
433         * benchtests/bench-wcslen.c: New File.
435 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
437         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
438         s390_vx_libc_ifunc2): New macro function.
440 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
442         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
443         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
444         assembler support.
445         * sysdeps/s390/configure: Regenerated.
447 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
449         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
450         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
452 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
454         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
455         * sysdeps/s390/dl-procinfo.h: Add vector capability.
456         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
458 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
460         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
461         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
462         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
463         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
464         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
465         (memcmp, bcmp): Use __memcmp_default as alias source.
466         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
467         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
468         Rename to __memcmp_default.
469         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
470         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
471         (memcpy): Use __memcpy_default as alias source.
472         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
473         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
474         Rename to __memcpy_default.
475         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
476         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
477         (memset): Use __memset_default as alias source.
478         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
479         * sysdeps/s390/s390-32/memset.S (__memset_g5):
480         Rename to __memset_default.
481         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
482         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
483         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
484         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
485         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
486         (memcmp, bcmp): Use __memcmp_default as alias source.
487         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
488         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
489         Rename to __memcmp_default.
490         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
491         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
492         (memcpy): Use __memcpy_default as alias source.
493         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
494         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
495         Rename to __memcpy_default.
496         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
497         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
498         (memset): Use __memset_default as alias source.
499         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
500         * sysdeps/s390/s390-64/memset.S (__memset_z900):
501         Rename to __memset_default.
502         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
503         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
505 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
507         [BZ #18610]
508         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
509         __ieee_instruction_pointer to __unused.
510         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
511         __ieee_instruction_pointer.
512         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
513         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
514         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
515         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
516         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
517         Mark dxc-field as reserved.
519 2015-08-25  Roland McGrath  <roland@hack.frob.com>
521         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
522         if the weak reference is not null.
524 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
526         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
528 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
530         [BZ #11214]
531         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
533 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
535         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
536         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
537         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
538         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
539         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
540         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
541         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
542         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
543         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
544         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
545         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
546         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
547         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
548         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
549         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
550         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
551         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
552         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
554 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
556         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
557         register other than r0 for tabort, it has special meaning.
558         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
559         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
560         transaction before starting syscall.
562 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
564         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
566 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
568         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
570 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
572         * sysdeps/x86_64/rtld-memcmp.c: Removed.
573         * sysdeps/x86_64/rtld-memset.S: Likewise.
574         * sysdeps/x86_64/rtld-strchr.S: Likewise.
575         * sysdeps/x86_64/rtld-strlen.S: Likewise.
576         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
577         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
579 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
581         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
583 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
585         * debug/strcpy_chk.c: Improve performance.
586         * debug/stpcpy_chk.c: Likewise.
587         * sysdeps/x86_64/strcpy_chk.S: Remove.
588         * sysdeps/x86_64/stpcpy_chk.S: Remove.
590         [BZ #18240]
591         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
593 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
595         [BZ #15128]
596         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
597         ifuncmain8.
598         (modules-names): Add ifuncmod8.
599         ($(objpfx)ifuncmain8): New rule.
600         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
601         <cpuid.h>.
602         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
603         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
604         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
605         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
606         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
607         * sysdeps/x86_64/dl-trampoline.h: Likewise.
608         * sysdeps/x86_64/ifuncmain8.c: New file.
609         * sysdeps/x86_64/ifuncmod8.c: Likewise.
610         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
611         Removed.
612         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
613         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
614         Change rtld_savespace_sse to __glibc_unused2.
615         (RTLD_CHECK_FOREIGN_CALL): Removed.
616         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
617         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
618         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
620 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
622         * sysdeps/aarch64/bzero.S (__bzero): Remove.
624 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
626         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
627         Unconditionally set __fpcr to avoid uninialized warning.
628         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
630 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
632         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
633         is corrupt.
635         * malloc/arena.c (arena_get2): Drop unused argument.
636         (arena_lock): Adjust.
637         (arena_get_retry): Likewise.
639 2015-08-24  Andreas Schwab  <schwab@suse.de>
641         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
642         Don't define.
643         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
644         (__ASSUME_IPC64): Don't undef.
645         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
646         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
647         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
648         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
649         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
650         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
651         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
652         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
653         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
654         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
655         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
656         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
657         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
658         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
659         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
660         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
661         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
662         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
663         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
664         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
665         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
667 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
669         * manual/Makefile (install): Only build manual when perl is available.
671 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
673         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
674         '#undef memcpy' by '#undef memchr'.
676 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
678         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
679         memchr not point to the internal __GI_memchr implementation.
681 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
683         * timezone/Makefile (CFLAGS-zdump.c): Remove
684         -Wno-strict-prototypes.
685         (CFLAGS-zic.c): Likewise.
686         (CFLAGS-ialloc.c): Likewise.
687         (CFLAGS-scheck.c): Likewise.
689         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
690         -Wno-error=undef.
692 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
694         * i386/i686/multiarch/strcasestr-c.c: Removed.
695         * x86_64/multiarch/strcasestr.c: Likewise.
696         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
697         Remove strcasestr.
699 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
701         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
703         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
704         variables for high and low parts before possibly modifying them.
706 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
708         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
709         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
710         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
711         of "multiarch/init-arch.h".
712         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
713         * sysdeps/x86/init-arch.h: This.
715 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
717         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
718         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
720 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
722         [BZ #17787]
723         * manual/macros.texi: Add twoexp macro.
724         * manual/filesys.texi: Fix exponents.
725         * manual/llio.texi: Likewise.
726         * manual/stdio.texi: Likewise.
728 2015-08-20  Florian Weimer  <fweimer@redhat.com>
730         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
731         incorrect use.
733 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
735         [BZ #18370]
736         * math/s_csqrt.c (__csqrt): Force underflow exception for results
737         whose real or imaginary part has small absolute value.
738         * math/s_csqrtf.c (__csqrtf): Likewise.
739         * math/s_csqrtl.c (__csqrtl): Likewise.
740         * math/auto-libm-test-in: Add more tests of csqrt.
741         * math/auto-libm-test-out: Regenerated.
742         * sysdeps/i386/fpu/libm-test-ulps: Update.
744 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
746         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
747         __ppc_set_ppr_very_low): New functions.
748         * manual/platform.texi: Add documentation about
749         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
751 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
753         * string/stpncpy.c (stpncpy): Improve performance using
754         __strnlen/memcpy/memset.
756 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
758         [BZ #18796]
759         * scripts/test-installation.pl: Don't add -lmvec to build options if
760         libmvec wasn't built.
762 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
764         [BZ #14341]
765         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
766         case when there is a gap between DT_REL and DT_JMPREL sections.
767         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
768         (LDFLAGS-tst-split-dynreloc): New.
769         (tst-split-dynreloc-ENV): Likewise.
770         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
771         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
773 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
775         [BZ #18822]
776         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
777         attribute_hidden.
778         (__xstat64_conv): Likewise.
779         (__xstat32_conv): Likewise.
781 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
783         [BZ #18822]
784         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
785         Don't load %ebx when calling __setcontext.  Call __setcontext
786         with HIDDEN_JUMPTARGET.
787         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
788         libc_hidden_def.
790 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
792         * sysdeps/i386/i686/Makefile
793         [$(subdir) == string] (sysdep_routines): Moved to ...
794         * sysdeps/i386/Makefile: Here.
795         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
796         * sysdeps/i386/cacheinfo.c: Here.
797         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
798         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
799         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
800         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
802 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
804         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
805         __i586__ is defined.
806         (HAS_I686): Defined to 1 if __i686__ is defined.
808 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
810         * elf/Makefile [$(have-z-execstack) = yes]
811         (CPPFLAGS-tst-execstack.c): New variable.
813         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
814         conditional to [defined UTMPX || _HAVE_UT_TYPE].
815         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
816         UTMPX || _HAVE_UT_TV].
817         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
818         UTMPX || _HAVE_UT_TV - 0].
820 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
822         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
823         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
824         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
826 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
828         * sysdeps/powerpc/dl-procinfo.c:
829         (_dl_powerpc_cap_flags): Added missing strings for some
830         hwcap features.
831         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
833 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
835         Port the 0x7efe...feff pattern to GCC 6.
836         See Steve Ellcey's bug report in:
837         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
838         * string/memrchr.c (MEMRCHR):
839         * string/rawmemchr.c (RAWMEMCHR):
840         * string/strchr.c (strchr):
841         * string/strchrnul.c (STRCHRNUL):
842         Rewrite code to avoid issues with signed shift overflow.
844 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
846         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
847         whether cpuid is available only if HAS_CPUID is 0.
848         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
849         (HAS_I586): Likewise.
850         (HAS_I686): Likewise.
852 2015-08-18  Zack Weinberg  <zackw@panix.com>
854         * misc/Versions (libc): Add GLIBC_2.23.
856 2015-08-18  Alan Modra  <amodra@gmail.com>
858         [BZ #18421]
859         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
860         .Lp__global.
861         (_start): Load %dp via .Lp__global.
862         [!SHARED]: Use .section .rodata.
864 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
866         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
867         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
869 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
871         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
872         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
874 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
876         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
877         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
879 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
881         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
882         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
884 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
886         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
887         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
889 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
891         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
892         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
894 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
896         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
898 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
900         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
901         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
902         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
903         (__ASSUME_LWS_CAS): Delete.
905 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
907         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
908         * sysdeps/hppa/configure: Regenerated.
909         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
910         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
911         * sysdeps/hppa/nptl/tls.h: Likewise.
913 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
915         [BZ #18823]
916         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
917         for scaling up small arguments.
918         * math/s_csqrtf.c (__csqrtf): Likewise.
919         * math/s_csqrtl.c (__csqrtl): Likewise.
920         * math/auto-libm-test-in: Add more tests of csqrt.
921         * math/auto-libm-test-out: Regenerated.
923 2015-08-17  Andreas Schwab  <schwab@suse.de>
925         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
926         version set GLIBC_2.19.
928 2015-08-16  Zack Weinberg  <zackw@panix.com>
930         [BZ #18681]
931         * misc/regexp.h: This interface is no longer supported.
932         Remove all contents, leaving only an #error directive.
933         * misc/regexp.c (loc1, loc2, locs, step, advance):
934         Demote to compatibility symbols.
936 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
938         [BZ #18084]
939         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
940         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
941         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
942         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
943         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
944         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
945         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
946         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
947         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
949 2015-08-15  Zack Weinberg  <zackw@panix.com>
951         [BZ #18795]
952         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
953         buffer length is known to be too large, not if it's known to be
954         small enough.
955         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
956         overflow at runtime, involving a length parameter, twice: once
957         with a compile-time constant length parameter, once without.
959 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
961         [BZ #18824]
962         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
963         scaling x * y up instead of down.
964         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
965         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
966         * math/auto-libm-test-in: Add more tests of fma.
967         * math/auto-libm-test-out: Regenerated.
969 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
971         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
973 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
975         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
976         unnecessary movq.
977         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
978         Likewise.
980 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
982         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
983         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
984         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
985         and tgamma.
986         * math/auto-libm-test-out: Regenerated.
987         * sysdeps/i386/fpu/libm-test-ulps: Update.
988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
990         [BZ #16520]
991         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
992         (__tanh): Force underflow exception for arguments with small
993         absolute value.
994         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
995         (__tanhf): Force underflow exception for arguments with small
996         absolute value.
997         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
998         (__tanhl): Force underflow exception for arguments with small
999         absolute value.
1000         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
1001         (__tanhl): Force underflow exception for arguments with small
1002         absolute value.
1003         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
1004         (__tanhl): Force underflow exception for arguments with small
1005         absolute value.
1006         * math/auto-libm-test-in: Add more tests of tanh.
1007         * math/auto-libm-test-out: Regenerated.
1008         * sysdeps/i386/fpu/libm-test-ulps: Update.
1010 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1012         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
1013         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
1015 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1017         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
1018         <cpuid.h>.
1020 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1022         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
1023         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
1025 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1027         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
1028         Remove $(objpfx)init-arch.o.
1029         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
1030         init-arch.
1031         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
1032         (INIT_ARCH_EXT): Defined as empty.
1033         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
1034         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
1035         __init_cpu_features call.  Replace HAS_XXX with
1036         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1037         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
1038         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
1039         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
1040         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
1041         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
1042         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
1043         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
1044         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
1045         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
1046         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
1047         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
1048         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
1049         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
1050         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
1051         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
1052         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
1053         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
1054         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
1055         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
1056         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
1057         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
1058         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
1059         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
1060         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
1061         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
1062         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
1063         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
1064         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
1065         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
1066         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
1067         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
1068         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
1069         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
1070         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
1071         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
1073 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1075         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
1076         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1077         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
1078         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
1079         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
1080         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
1081         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
1082         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
1083         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
1084         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
1085         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
1086         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
1087         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1088         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1089         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1090         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1091         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1092         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1093         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1094         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1095         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1096         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1097         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1098         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1099         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1100         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1101         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1102         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1103         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1104         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1105         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1106         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1107         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1108         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1109         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1110         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1111         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1112         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1113         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1114         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1115         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1116         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1117         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1119 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1121         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
1122         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1123         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
1124         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1125         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1126         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
1127         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1128         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
1129         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
1130         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1131         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
1132         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
1133         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
1134         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
1135         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
1136         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
1137         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
1138         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
1139         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
1140         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
1141         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
1142         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
1143         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
1144         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1145         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1146         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
1147         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
1148         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
1149         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1150         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1151         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1152         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1153         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1154         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1155         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1156         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1157         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1158         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1159         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1160         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1161         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1162         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1163         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1165 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1167         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
1168         (dl_platform_init): Call init_cpu_features.
1169         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
1170         * sysdeps/i386/i686/cacheinfo.c
1171         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
1172         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
1173         * sysdeps/i386/i686/multiarch/Versions: Removed.
1174         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
1175         Removed.
1176         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
1177         * sysdeps/unix/sysv/linux/x86/Makefile
1178         (libpthread-sysdep_routines): Remove init-arch.
1179         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
1180         <sysdeps/x86_64/dl-procinfo.c> instead of
1181         sysdeps/generic/dl-procinfo.c>.
1182         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
1183         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
1184         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
1185         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
1186         [$(subdir) == elf] (tests-static): Add
1187         tst-get-cpu-features-static.
1188         * sysdeps/x86/Versions: New file.
1189         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
1190         * sysdeps/x86/cpu-features.c: Likewise.
1191         * sysdeps/x86/cpu-features.h: Likewise.
1192         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
1193         * sysdeps/x86/libc-start.c: Likewise.
1194         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
1195         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
1196         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
1197         * sysdeps/x86_64/dl-procinfo.c: Likewise.
1198         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
1199         Assume USE_MULTIARCH is defined and don't check it.
1200         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
1201         (is_amd): Likewise.
1202         (max_cpuid): Likewise.
1203         (intel_check_word): Likewise.
1204         (__cache_sysconf): Don't call __init_cpu_features.
1205         (__x86_preferred_memory_instruction): Removed.
1206         (init_cacheinfo): Don't call __init_cpu_features. Replace
1207         __cpu_features with GLRO(dl_x86_cpu_features).
1208         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
1209         (dl_platform_init): Call init_cpu_features.
1210         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
1211         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
1212         * sysdeps/x86_64/multiarch/Versions: Removed.
1213         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
1214         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
1215         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
1216         Removed.
1217         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
1219 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
1221         [BZ #18820]
1222         * libio/Makefile (test-fmemopen-mem): New test.
1223         * libio/test-fmemopen.c (do_bz18820): New test.
1224         * libio/fmemopen.c (__fmemopen): Fix memory leak.
1225         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
1227 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
1229         [BZ #16734]
1230         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
1231         (FREE_BUF): Delete.
1232         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
1233         * libio/genops.c (_IO_setb): Use malloc and free directly.
1234         (_IO_default_doallocate, _IO_default_finish): Likewise.
1235         ( _IO_unbuffer_all): Likewise.
1236         ( libc_freeres_fn): Likewise.
1237         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
1238         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
1239         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
1240         (_IO_wdefault_doallocate): Likewise.
1242 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
1244         [BZ #18086]
1245         * sysdeps/posix/nice.c (nice): Restore old errno.
1246         * posix/tst-nice.c (do_test): Add test for BZ #18086.
1248 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
1250         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
1252 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1254         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
1255         __bcopy and add a weak_alias to bcopy.
1256         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
1257         for static build.
1259         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
1260         cleanup macro usage.
1261         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
1262         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
1263         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
1264         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
1265         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
1266         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
1267         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
1268         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
1269         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
1270         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
1271         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1272         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
1273         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1274         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
1275         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1276         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
1277         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
1278         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
1279         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
1281         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
1282         libc_hidden_def.
1283         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
1285         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
1286         (sysdep_routines): Add strstr-ppc64.
1287         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
1289 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
1291         [BZ #18778]
1292         * elf/Makefile (tests): Add Add tst-nodelete2.
1293         (modules-names): Add tst-nodelete2mod.
1294         (tst-nodelete2mod.so-no-z-defs): New.
1295         ($(objpfx)tst-nodelete2): Likewise.
1296         ($(objpfx)tst-nodelete2.out): Likewise.
1297         (LDFLAGS-tst-nodelete2): Likewise.
1298         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
1299         out of loop through all loaded libraries.
1300         * elf/tst-nodelete2.c: New file.
1301         * elf/tst-nodelete2mod.c: Likewise.
1303 2015-08-11  Andreas Schwab  <schwab@suse.de>
1305         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
1306         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
1307         (__openat64_nocancel): Likewise.
1309 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
1311         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
1312         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
1313         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
1314         * math/auto-libm-test-out: Regenerated.
1315         * sysdeps/i386/fpu/libm-test-ulps: Update.
1316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1318 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
1320         [BZ #18790]
1321         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
1322         threshold for returning +/- 1.
1323         * math/auto-libm-test-in: Add more tests of tanh.
1324         * math/auto-libm-test-out: Regenerated.
1325         * sysdeps/i386/fpu/libm-test-ulps: Update.
1327 2015-08-10  Andreas Schwab  <schwab@suse.de>
1329         [BZ #18781]
1330         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
1331         MORE_OFLAGS to oflag.
1332         * io/test-lfs.c (do_test): Test openat64.
1334 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
1336         [BZ #18789]
1337         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
1338         smaller threshold for returning the argument.
1339         * math/auto-libm-test-in: Add more tests of sinh.
1340         * math/auto-libm-test-out: Regenerated.
1341         * sysdeps/i386/fpu/libm-test-ulps: Update.
1343 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
1345         [BZ #18674]
1346         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
1347         break.
1349 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
1351         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
1352         (generated): Don't add $(addprefix z.,$(tzfiles)).
1354 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
1356         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
1357         * scripts/sysd-rules.awk: Likewise.
1359 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
1361         * iconvdata/tst-tables.sh: Change echo -n to printf.
1362         * nss/db-Makefile: Likewise.
1363         * posix/tst-getconf.sh: Likewise.
1364         * stdio-common/tst-unbputc.sh: Likewise.
1366 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
1368         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
1369         MADV_*_PAGES defines behind this feature check.
1371 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
1373         [BZ #18480]
1374         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
1375         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
1376         Define.
1377         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
1378         LOAD_REGS_5, LOAD_REGS_6): Update.
1379         (INTERNAL_SYSCALL): Update using new LOAD defines.
1380         (INTERNAL_SYSCALL_NCS): Likewise.
1381         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
1383 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
1385         [BZ #16734]
1386         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
1388 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
1390         [BZ #17905]
1391         * catgets/Makefile (tst-catgets-mem): New test.
1392         * catgets/catgets.c (catopen): Don't use unbounded alloca.
1393         * catgets/open_catalog.c (__open_catalog): Likewise.
1394         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
1396 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
1398         [BZ #18787]
1399         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
1400         clobber registers.
1401         (atomic_compare_and_exchange_val_acq): Use register asms to assign
1402         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
1403         Cast return to __typeof (oldval).
1405 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
1407         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
1408         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
1409         and delete sys/syscall.h include.
1411 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
1413         [BZ #16517]
1414         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
1415         (tan): Force underflow exception for arguments with small absolute
1416         value.
1417         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
1418         (__kernel_tanf): Force underflow exception for arguments with
1419         small absolute value.
1420         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
1421         (__kernel_tanl): Force underflow exception for arguments with
1422         small absolute value.
1423         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
1424         (__kernel_tanl): Force underflow exception for arguments with
1425         small absolute value.
1426         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
1427         (__kernel_tanl): Force underflow exception for arguments with
1428         small absolute value.
1429         * math/auto-libm-test-in: Add more tests of tan.
1430         * math/auto-libm-test-out: Regenerated.
1432 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1434         Fix sysdeps/i386/fpu/s_scalbn.S build
1436         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
1438 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
1440         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
1442 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1444         Fix gcrt0.o compilation
1446         When static-start-installed-name is different from
1447         start-installed-name, we must not use the shared objects.
1449         * csu/Makefile
1450         (extra-objs): Add gmon-start.o when building shared library and
1451         $(static-start-installed-name) is different from
1452         $(start-installed-name).
1453         $(objpfx)g$(static-start-installed-name): When building shared
1454         library and $(static-start-installed-name) is different from
1455         $(static-start-installed-name), revert to non-shared rule,
1456         i.e. using $(objpfx)% and gmon-start.o.
1458 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
1460         [BZ #16519]
1461         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
1462         (__ieee754_sinh): Force underflow exception for arguments with
1463         small absolute value.
1464         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
1465         (__ieee754_sinhf): Force underflow exception for arguments with
1466         small absolute value.
1467         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
1468         (__ieee754_sinhl): Force underflow exception for arguments with
1469         small absolute value.
1470         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
1471         (__ieee754_sinhl): Force underflow exception for arguments with
1472         small absolute value.
1473         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
1474         (__ieee754_sinhl): Force underflow exception for arguments with
1475         small absolute value.
1476         * math/auto-libm-test-in: Add more tests of sinh.
1477         * math/auto-libm-test-out: Regenerated.
1478         * sysdeps/i386/fpu/libm-test-ulps: Update.
1480 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
1482         * libio/oldfileops.c: Include unistd.h.
1484 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
1486         * stdlib/isomac.c: Include ctype.h.
1488 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
1490         * dirent/tst-seekdir.c (main): Converted to ...
1491         (do_test): ... this.
1492         (TEST_FUNCTION): New macro.
1493         Include test-skeleton.c.
1494         * elf/tst-dlmodcount.c (main): Converted to ...
1495         (do_test): ... this.
1496         (TEST_FUNCTION): New macro.
1497         Include test-skeleton.c.
1498         * elf/tst-order-main.c (main): Converted to ...
1499         (do_test): ... this.
1500         (TEST_FUNCTION): New macro.
1501         Include test-skeleton.c.
1502         * elf/tst-pie2.c (main): Converted to ...
1503         (do_test): ... this.
1504         (TEST_FUNCTION): New macro.
1505         Include test-skeleton.c.
1506         * inet/tst-ether_aton.c (main): Converted to ...
1507         (do_test): ... this.
1508         (TEST_FUNCTION): New macro.
1509         Include test-skeleton.c.
1510         * misc/tst-mntent.c (main): Converted to ...
1511         (do_test): ... this.
1512         (TEST_FUNCTION): New macro.
1513         Include test-skeleton.c.
1514         * misc/tst-tsearch.c (main): Converted to ...
1515         (do_test): ... this.
1516         (TEST_FUNCTION): New macro.
1517         Include test-skeleton.c.
1518         * posix/tst-regexloc.c (main): Converted to ...
1519         (do_test): ... this.
1520         (TEST_FUNCTION): New macro.
1521         Include test-skeleton.c.
1522         * resolv/tst-aton.c (main): Converted to ...
1523         (do_test): ... this.
1524         (TEST_FUNCTION): New macro.
1525         Include test-skeleton.c.
1526         * stdio-common/test-fwrite.c (main): Converted to ...
1527         (do_test): ... this.
1528         (TEST_FUNCTION): New macro.
1529         Include test-skeleton.c.
1530         * stdio-common/tst-ferror.c (main): Converted to ...
1531         (do_test): ... this.
1532         (TEST_FUNCTION): New macro.
1533         Include test-skeleton.c.
1534         * stdio-common/tst-printf.c (main): Converted to ...
1535         (do_test): ... this.
1536         (TEST_FUNCTION): New macro.
1537         Include test-skeleton.c.
1538         * stdio-common/tst-printfsz.c (main): Converted to ...
1539         (do_test): ... this.
1540         (TEST_FUNCTION): New macro.
1541         Include test-skeleton.c.
1542         * stdlib/tst-strtod.c (main): Converted to ...
1543         (do_test): ... this.
1544         (TEST_FUNCTION): New macro.
1545         Include test-skeleton.c.
1546         * string/tst-strlen.c (main): Converted to ...
1547         (do_test): ... this.
1548         (TEST_FUNCTION): New macro.
1549         Include test-skeleton.c.
1550         * string/tst-svc.c (main): Converted to ...
1551         (do_test): ... this.
1552         (TEST_FUNCTION): New macro.
1553         Include test-skeleton.c.
1554         * time/tst-strptime.c (main): Converted to ...
1555         (do_test): ... this.
1556         (TEST_FUNCTION): New macro.
1557         Include test-skeleton.c.
1558         * timezone/tst-timezone.c (main): Converted to ...
1559         (do_test): ... this.
1560         (TEST_FUNCTION): New macro.
1561         Include test-skeleton.c.
1563 2015-08-05  Zack Weinberg  <zackw@panix.com>
1565         * misc/regexp.h: Update comments.
1567 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
1569         [BZ #18635]
1570         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
1571         before return label.
1573 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1575         [BZ #18661]
1576         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
1577         when calling __errno_location.
1578         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
1579         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
1581 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1583         [BZ #18661]
1584         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
1585         (__lll_timedwait_tid): Align stack to 16 bytes when calling
1586         __gettimeofday.
1588 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1590         [BZ #18661]
1591         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1592         (__start_context): Don't use pop to restore %rdi so that stack
1593         is aligned to 16 bytes when calling __setcontext.
1595 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1597         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
1598         only for libc.
1599         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
1601 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1603         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
1604         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
1605         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
1607 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1609         * string/memccpy.c (memccpy):
1610         Improve performance by using memchr/memcpy/__mempcpy.
1612 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1614         * string/strncpy.c (strncpy):
1615         Improve performance by using __strnlen/memcpy.
1617 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1619         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1620         Optimize to avoid an unnecessary FPCR read.
1622 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1624         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
1625         Optimize to reduce FPCR/FPSR accesses.
1627 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1629         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
1630         dead->data[category] != NULL.
1632 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
1634         [BZ #18647]
1635         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
1636         and |x| close to 1, use absolute value of x when computing log.
1637         * math/auto-libm-test-in: Add more tests of pow.
1638         * math/auto-libm-test-out: Regenerated.
1640 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1642         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
1643         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
1644         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
1646 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
1648         [BZ #18525]
1649         * locales/km_KH: Remove timezone definition.
1650         * locales/lo_LA: Likewise.
1651         * locales/my_MM: Likewise.
1652         * locales/nan_TW@latin: Likewise.
1653         * locales/th_TH: Likewise.
1654         * locales/uk_UA: Likewise.
1656 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
1658         [BZ #18265]
1659         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
1660         (wcsncat): Likewise.
1661         (wcscmp): Likewise.
1662         (wcsncmp): Likewise.
1664 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1666         * test-skeleton.c (usage): New function.
1667         (main): Call usage when opt is '?'.
1669 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1671         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
1672         before first use.
1674 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1676         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
1677         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
1678         in there too.
1680 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
1682         * version.h (RELEASE): Set to "development".
1683         (VERSION): Set to "2.22.90"
1685         * version.h (RELEASE): Set to "stable".
1686         (VERSION): Set to "2.22"
1687         * include/features.h (__GLIBC_MINOR__): Set to 22.
1689 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
1691         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
1692         Restructure macro to avoid "value computed is not used" warning.
1693         (atomic_compare_and_exchange_val_acq): Likewise.
1695 2015-08-04  Andreas Schwab  <schwab@suse.de>
1697         [BZ #18635]
1698         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
1699         ret.
1700         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
1702 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
1704         * po/pl.po: Updated translation.
1705         * po/uk.po: Likewise.
1706         * po/fi.po: Likewise.
1707         * po/ko.po: Likewise.
1708         * po/ru.po: Likewise.
1709         * po/vi.po: Likewise.
1711 2015-07-31  Zack Weinberg  <zackw@panix.com>
1713         [BZ #18681]
1714         * regexp.h: Add unconditional #warning stating that this header
1715         will be removed soon.  Revise banner comment to match.
1716         (compile): Consistently use ERROR instead of RETURN to report
1717         errors (partial fix for bz#18681).
1718         * regexp.c: Don't include regexp.h. Remove some unnecessary
1719         declarations.
1721 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
1723         * po/libc.pot: Regenerated.
1725 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
1727         [BZ #18740]
1728         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
1729         float-vlen4-arch-ext-cflags): Removed.
1730         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
1731         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
1733 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1735         [BZ #14113]
1736         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
1737         aligned to __aligned__.
1738         (pthread_cond_t, pthread_rwlock_t): Likewise.
1740 2015-07-30  Torvald Riegel  <triegel@redhat.com>
1742         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
1744 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1746         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
1747         (struct sigaction): Change sa_flags from a long to an int, and add
1748         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
1750 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1752         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
1753         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
1754         sysdeps/generic/sysdep.h include.
1755         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
1756         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
1757         sysdeps/hppa/sysdep.h.
1758         (ENTRY, PSEUDO): Undefine before defining.
1760 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1762         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
1763         from scratch to use INTERNAL_SYSCALL.
1765 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
1767         [BZ #18078]
1768         * scripts/check-localplt.awk: Support alternate relocations.
1769         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
1770         sections.
1771         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
1772         malloc entries with + REL R_386_GLOB_DAT.
1773         * sysdeps/x86_64/localplt.data: New file.
1775 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
1777         [BZ #18731]
1778         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
1779         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1780         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1782 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1784         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
1786 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1788         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
1789         directly in terms of __sync_fetch_and_add and delete (int) cast.
1791 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1793         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
1794         the -D_ASM_IA64_CURRENT_H flag.
1796 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1798         [BZ #18641]
1799         * pwd/pwd.h (putpwent): Delete __nonnull markings.
1801 2015-07-27  Andreas Schwab  <schwab@suse.de>
1803         * conform/conformtest.pl (checknamespace): Filter out string
1804         literals while tokenizing.
1806 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
1808         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1809         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
1810         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1812 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
1814         * nptl/tst-join7mod.c: Add #include <string.h>.
1816 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
1818         * sysdeps/nios2/libm-test-ulps: Update.
1820 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
1822         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
1823         Fix order of arguments to the rt_sigprocmask syscall.
1824         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
1825         Likewise.
1827 2015-07-24  Roland McGrath  <roland@hack.frob.com>
1829         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
1831 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1833         [BZ #18457]
1834         * nptl/Makefile (tests): New test case tst-join7.
1835         (modules-names): New test case module tst-join7mod.
1836         * nptl/tst-join7.c: New file.
1837         * nptl/tst-join7mod.c: New file.
1838         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
1839         all translation units in libc.so, libpthread.so and rtld.
1841 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1843         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1845 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
1847         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
1848         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
1849         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
1850         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
1851         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
1852         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
1853         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
1854         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
1855         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
1856         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
1857         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
1858         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
1859         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
1860         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
1861         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
1862         implementation.
1864 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1866         [BZ #17711]
1867         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1868         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
1869         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1870         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1871         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
1872         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1874 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1876         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
1877         instead of just saying load lock in the comments.
1879 2015-07-23  Roland McGrath  <roland@hack.frob.com>
1881         * sysdeps/unix/Subdirs: Moved ...
1882         * sysdeps/posix/Subdirs: ... here.
1883         * login/pty.h (struct termios, struct winsize): Add forward decls.
1884         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
1885         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
1886         * sysdeps/arm/nacl/libc.abilist: Updated.
1887         * sysdeps/nacl/libutil.abilist: New file.
1889         * bits/signum.h: Update comments to mention 1003.1-2013 too.
1890         (SIGWINCH): New macro.
1892         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
1893         * sysdeps/arm/nacl/libc.abilist: Add it.
1895 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
1897         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
1899 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
1901         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
1902         Swap __glibc_reserved0 and sa_flags order.
1904 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
1906         [BZ #18657]
1907         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
1908         are pending TLS destructor calls.
1909         * include/link.h (struct link_map): Add concurrency note for
1910         L_TLS_DTOR_COUNT.
1911         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
1912         Don't touch the link map flag.  Atomically increment
1913         l_tls_dtor_count.
1914         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
1915         Avoid taking the load lock and don't touch the link map flag.
1916         * stdlib/tst-tls-atexit-nodelete.c: New test case.
1917         * stdlib/Makefile (tests): Use it.
1918         * stdlib/tst-tls-atexit.c (do_test): dlopen
1919         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
1920         to allow tst-tls-atexit-nodelete test case to use it.
1922 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1924         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
1925         to bits/types.h.
1926         (msgqnum_t): New typedef.
1927         (msglen_t): Likewise.
1928         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
1929         and msg_qbytes type to msglen_t.
1931 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1933         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
1934         pad0 to __glibc_reserved0.
1935         (struct stat64): Likewise.
1937 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1939         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
1940         Change sa_flags from a long to an int and add __glibc_reserved0 before
1941         it for padding.
1943 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1945         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
1946         anonymous by deleting "siginfo" name.
1948 2015-07-21  Roland McGrath  <roland@hack.frob.com>
1950         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
1951         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
1952         rather than __nacl_irt_filename.
1953         * sysdeps/nacl/xstat.c (__xstat): Likewise.
1955         * NEWS: New item for arm-nacl port.
1956         * sysdeps/arm/nacl/libc.abilist: New file.
1957         * sysdeps/nacl/ld.abilist: New file.
1958         * sysdeps/nacl/libBrokenLocale.abilist: New file.
1959         * sysdeps/nacl/libanl.abilist: New file.
1960         * sysdeps/nacl/libcrypt.abilist: New file.
1961         * sysdeps/nacl/libdl.abilist: New file.
1962         * sysdeps/nacl/libm.abilist: New file.
1963         * sysdeps/nacl/libpthread.abilist: New file.
1964         * sysdeps/nacl/libresolv.abilist: New file.
1965         * sysdeps/nacl/librt.abilist: New file.
1967 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
1969         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
1970         __startcontext to initialize the new context.
1971         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
1972         up CFI directive to forbid further backtracing.
1974 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
1976         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
1977         reference.
1978         * charmaps/ANSI_X3.4-1968: Likewise.
1979         * charmaps/BS_4730: Likewise.
1980         * charmaps/BS_VIEWDATA: Likewise.
1981         * charmaps/CP1250: Likewise.
1982         * charmaps/CP1251: Likewise.
1983         * charmaps/CP1252: Likewise.
1984         * charmaps/CP1253: Likewise.
1985         * charmaps/CP1254: Likewise.
1986         * charmaps/CP1255: Likewise.
1987         * charmaps/CP1256: Likewise.
1988         * charmaps/CSN_369103: Likewise.
1989         * charmaps/EBCDIC-DK-NO: Likewise.
1990         * charmaps/GB_1988-80: Likewise.
1991         * charmaps/GREEK-CCITT: Likewise.
1992         * charmaps/GREEK7: Likewise.
1993         * charmaps/INIS-8: Likewise.
1994         * charmaps/ISIRI-3342: Likewise.
1995         * charmaps/ISO_2033-1983: Likewise.
1996         * charmaps/ISO_5427-EXT: Likewise.
1997         * locales/POSIX: Likewise.
1998         * locales/ar_SA: Likewise.
1999         * locales/be_BY: Likewise.
2000         * locales/be_BY@latin: Likewise.
2001         * locales/ca_ES: Likewise.
2002         * locales/cs_CZ: Likewise.
2003         * locales/da_DK: Likewise.
2004         * locales/de_BE: Likewise.
2005         * locales/de_CH: Likewise.
2006         * locales/de_LU: Likewise.
2007         * locales/en_AU: Likewise.
2008         * locales/en_BW: Likewise.
2009         * locales/en_CA: Likewise.
2010         * locales/en_DK: Likewise.
2011         * locales/en_GB: Likewise.
2012         * locales/en_IE: Likewise.
2013         * locales/en_NZ: Likewise.
2014         * locales/en_ZA: Likewise.
2015         * locales/en_ZW: Likewise.
2016         * locales/es_AR: Likewise.
2017         * locales/es_BO: Likewise.
2018         * locales/es_CL: Likewise.
2019         * locales/es_CO: Likewise.
2020         * locales/es_DO: Likewise.
2021         * locales/es_EC: Likewise.
2022         * locales/es_ES: Likewise.
2023         * locales/es_HN: Likewise.
2024         * locales/es_MX: Likewise.
2025         * locales/es_PA: Likewise.
2026         * locales/es_PE: Likewise.
2027         * locales/es_PY: Likewise.
2028         * locales/es_SV: Likewise.
2029         * locales/es_US: Likewise.
2030         * locales/es_UY: Likewise.
2031         * locales/es_VE: Likewise.
2032         * locales/et_EE: Likewise.
2033         * locales/fa_IR: Likewise.
2034         * locales/fo_FO: Likewise.
2035         * locales/fr_CA: Likewise.
2036         * locales/fr_CH: Likewise.
2037         * locales/gv_GB: Likewise.
2038         * locales/he_IL: Likewise.
2039         * locales/hr_HR: Likewise.
2040         * locales/id_ID: Likewise.
2041         * locales/is_IS: Likewise.
2042         * locales/it_CH: Likewise.
2043         * locales/iw_IL: Likewise.
2044         * locales/kl_GL: Likewise.
2045         * locales/ko_KR: Likewise.
2046         * locales/kw_GB: Likewise.
2047         * locales/lg_UG: Likewise.
2048         * locales/lt_LT: Likewise.
2049         * locales/lv_LV: Likewise.
2050         * locales/mi_NZ: Likewise.
2051         * locales/nhn_MX: Likewise.
2052         * locales/nl_BE: Likewise.
2053         * locales/pl_PL: Likewise.
2054         * locales/sk_SK: Likewise.
2055         * locales/sl_SI: Likewise.
2056         * locales/sv_FI: Likewise.
2057         * locales/tl_PH: Likewise.
2058         * locales/tr_TR: Likewise.
2059         * locales/vi_VN: Likewise.
2061 2015-07-21  Khem Raj  <raj.khem@gmail.com>
2063         [BZ #17475]
2064         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
2065         of tu_IN and bh_IN.
2067 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
2069         [BZ #18694]
2070         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
2071         bits/wordsize.h.
2072         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
2074 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2076         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
2077         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
2078         (spawn_thread): New function.
2079         (load): Rename to reg_dtor_and_close.  Move dlopen to...
2080         (do_test): ... here.  Use IS_LOADED to test for its
2081         availability.
2083 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
2085         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2087 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
2089         [BZ #18696]
2090         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
2091         si_addr_bnd.
2092         (si_lower): New.
2093         (si_upper): Likewise.
2095 2015-07-16  David S. Miller  <davem@davemloft.net>
2097         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
2099 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2101         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
2102         buffer.
2103         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
2104         fail output information.
2106 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2108         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
2109         and strstr-ppc64..
2110         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2111         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
2112         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
2113         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
2114         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
2116 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
2118         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
2119         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
2120         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
2121         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
2123 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
2125         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
2126         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
2127         rtld_hidden_proto.
2128         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
2130 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2132         * tst-nodelete-opened.c (do_test): Add comment to clarify how
2133         the test can fail.
2135         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
2137         [BZ #18676]
2138         * elf/tst-nodelete-opened.c: New test case.
2139         * elf/tst-nodelete-opened-lib.c: New test case module.
2140         * elf/Makefile (tests, modules-names): Use them.
2141         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
2142         early.
2144 2015-07-15  David S. Miller  <davem@davemloft.net>
2146         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
2147         futex-intenal.h
2148         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
2149         * sysdeps/sparc/sparc64/Makefile: Likewise.
2150         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
2151         Remove space from macro define.
2152         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
2154 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
2156         [BZ #17475]
2157         * locale/iso-639.def: Update Bhili and Tulu language codes as
2158         per iso639-3.
2160 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
2162         * elf/tst-leaks1.c (main): Converted to ...
2163         (do_test): ... this.
2164         (TEST_FUNCTION): New macro.
2165         Include test-skeleton.c.
2166         * localedata/tst-langinfo.c (main): Converted to ...
2167         (do_test): ... this.
2168         (TEST_FUNCTION): New macro.
2169         Include test-skeleton.c.
2170         * math/test-fpucw.c (main): Converted to ...
2171         (do_test): ... this.
2172         (TEST_FUNCTION): New macro.
2173         Include test-skeleton.c.
2174         * math/test-tgmath.c (main): Converted to ...
2175         (do_test): ... this.
2176         (TEST_FUNCTION): New macro.
2177         Include test-skeleton.c.
2178         * math/test-tgmath2.c (main): Converted to ...
2179         (do_test): ... this.
2180         (TEST_FUNCTION): New macro.
2181         Include test-skeleton.c.
2182         * setjmp/tst-setjmp.c (main): Converted to ...
2183         (do_test): ... this.
2184         (TEST_FUNCTION): New macro.
2185         Include test-skeleton.c.
2186         * stdio-common/tst-sscanf.c (main): Converted to ...
2187         (do_test): ... this.
2188         (TEST_FUNCTION): New macro.
2189         Include test-skeleton.c.
2190         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
2191         (do_test): ... this.
2192         (TEST_FUNCTION): New macro.
2193         Include test-skeleton.c.
2195         * elf/tst-audit9.c (main): Converted to ...
2196         (do_test): ... this.
2197         (TEST_FUNCTION): New macro.
2198         Include test-skeleton.c.
2200 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
2202         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
2204 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
2206         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
2207         New variable.
2209 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
2211         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2213 2015-07-14  Roland McGrath  <roland@hack.frob.com>
2215         * sysdeps/generic/dl-fileid.h: New file.
2216         * sysdeps/posix/dl-fileid.h: New file.
2217         * sysdeps/nacl/dl-fileid.h: New file.
2218         * include/link.h: Include <dl-fileid.h>.
2219         (struct link_map): Replace l_dev and l_ino with l_file_id.
2220         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
2221         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
2222         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
2224 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2226         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
2228 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2230         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
2231         Add iff $CXX is set.
2232         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
2233         Likewise.
2234         (tst-nodelete-zmodiff): Likewise.
2235         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
2237 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2239         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
2241 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
2243         * sysdeps/aarch64/fpu/math_private.h
2244         (define math_opt_barrier): Add AArch64 version.
2245         (math_force_eval): Likewise.
2247 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
2249         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
2251 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
2253         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
2254         %ld with %jd and cast to intmax_t.
2255         (do_test_length_zero): Likewise.
2257 2015-07-10  Roland McGrath  <roland@hack.frob.com>
2259         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
2261 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
2263         * sysdeps/tile/libm-test-ulps: Regenerated.
2265         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
2266         Comment out the whole function, not just its body.
2268 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2270         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
2271         locks.
2273         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
2275 2015-07-10  Torvald Riegel  <triegel@redhat.com>
2277         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
2278         (sem_assume_only_signals_cause_futex_EINTR): Remove.
2280 2015-07-10  Torvald Riegel  <triegel@redhat.com>
2282         * sysdeps/nptl/futex-internal.h: New file.
2283         * sysdeps/nacl/futex-internal.h: New file.
2284         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
2285         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
2286         error checking.
2287         (setxid_unmark_thread): Likewise.
2288         (__nptl_setxid): Likewise.
2289         (__wait_lookup_done): Likewise.
2290         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
2291         * nptl/nptl-init.c (sighandler_setxid): Likewise.
2292         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
2293         * nptl/pthread_once.c (clear_once_control): Likewise.
2294         (__pthread_once_slow): Likewise.
2295         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
2296         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
2297         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
2298         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
2299         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
2300         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
2301         Likewise.
2302         (__pthread_rwlock_rdlock): Likewise.
2303         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2304         Likewise.
2305         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2306         Likewise.
2307         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2308         Likewise.
2309         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
2310         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
2311         Likewise.
2312         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
2313         __ASSUME_PRIVATE_FUTEX check.
2314         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
2315         Check that shared futexes are supported.
2316         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
2317         wrappers with error checking.
2318         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
2319         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
2320         * nptl/pthread_barrierattr_setpshared.c
2321         (pthread_barrierattr_setpshared): Check that shared futexes are
2322         supported.
2323         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
2324         Likewise.
2325         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
2326         Likewise.
2327         * nptl/sem_init.c (futex_private_if_supported): Remove.
2328         (__new_sem_init): Adapt and check that shared futexes are supported.
2329         * nptl/sem_open.c (sem_open): Likewise.
2330         * nptl/sem_post.c (futex_wake): Remove.
2331         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
2332         (do_futex_wait): Use futex wrappers with error checking.
2333         * nptl/sem_wait.c: Include lowlevellock.h.
2334         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
2335         Use futex_supports_pshared.
2336         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
2337         Use futex wrappers with error checking.
2338         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
2339         Likewise.
2340         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
2341         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
2342         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
2343         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
2344         (futex_wake): Likewise.
2345         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
2346         (do_futex_wait): Use futex wrappers with error checking.
2347         (__new_sem_wait_slow): Update EINTR handling.
2348         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
2350 2015-07-09  Martin Sebor  <msebor@redhat.com>
2352         [BZ #18435]
2353         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
2354         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
2355         * nptl/Makefile (test-xfail-tst-once5): Define.
2357 2015-07-09  Roland McGrath  <roland@hack.frob.com>
2359         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
2360         * elf/dl-minimal.c: For readability, reorder some definitions and
2361         introduce more page breaks.  Include <stdio.h>.
2362         (__libc_fatal): New function.
2364         * include/unistd.h: Add rtld_hidden_proto for _exit.
2365         * posix/_exit.c: Add rtld_hidden_def.
2366         * sysdeps/mach/hurd/_exit.c: Likewise.
2367         * sysdeps/nacl/_exit.c: Likewise.
2368         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
2369         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
2371 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
2373         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
2374         bndmov encoding with zero displacement.
2376 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
2377             H.J. Lu  <hongjiu.lu@intel.com>
2379         [BZ #18134]
2380         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
2381         * sysdeps/i386/configure: Regenerated.
2382         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
2383         (_dl_runtime_profile): Save and restore Intel MPX return bound
2384         registers when calling _dl_call_pltexit.  Add
2385         PRESERVE_BND_REGS_PREFIX before return.
2386         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
2387         (LRV_BND1_OFFSET): Likewise.
2388         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
2389         lrv_bnd1.
2390         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
2391         typo in bndmov encoding.
2392         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
2393         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
2394         branch instructions to preserve bounds.
2396 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2399         [GLIBC_2.22]: Add fmemopen.
2401 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2403         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
2404         returns an error, also try to use host port from __mach_host_self for
2405         the __vm_wire call.
2406         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
2408 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2410         [BZ #18400]
2411         [BZ #18648]
2412         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
2413         Fix pr_uid and pr_gid members.
2414         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
2415         definition to elf_greg_t.
2417 2015-07-08  Roland McGrath  <roland@hack.frob.com>
2419         [BZ #18383]
2420         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
2421         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
2422         * sysdeps/arm/configure: Regenerated.
2423         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
2424         (test-xfail-tst-tlsalign-static): Variable removed.
2426         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
2427         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
2428         rather than explicit 'ln -s'.
2430         * resolv/rpc/netdb.h: New file.
2431         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
2433 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2435         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
2436         length buffers.
2437         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
2438         test-skeleton.c.
2440         [BZ #6544]
2441         [BZ #11216]
2442         [BZ #12836]
2443         [BZ #13151]
2444         [BZ #13152]
2445         [BZ #14292]
2446         * include/stdio.h (fmemopen): Remove hidden prototype.
2447         (__fmemopen): Add new hidden prototype.
2448         * libio/Makefile: Add oldfmemopen object.
2449         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
2450         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
2451         compliance.
2452         * libio/oldfmemopen.c: New file: old fmemopen implementation for
2453         symbol compatibility.
2454         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
2455         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
2456         fmemopen.
2457         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
2458         on append and read mode.
2459         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
2460         fmemopen.
2461         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
2462         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
2463         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
2464         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
2465         Likewise.
2466         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
2467         [GLIBC_2.22]: Likewise.
2468         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
2469         Likewise.
2470         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
2471         Likewise.
2472         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2473         [GLIBC_2.22]: Likewise.
2474         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2475         [GLIBC_2.22]: Likewise.
2476         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2477         [GLIBC_2.22]: Likewise.
2478         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2479         [GLIBC_2.22]: Likewise.
2480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2481         [GLIBC_2.22]: Likewise.
2482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2483         [GLIBC_2.22]: Likewise.
2484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2485         [GLIBC_2.22]: Likewise.
2486         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
2487         Likewise.
2488         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
2489         Likewise.
2490         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
2491         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
2492         [GLIBC_2.22]: Likewise.
2493         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
2494         [GLIBC_2.22]: Likewise.
2495         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
2496         [GLIBC_2.22]: Likewise.
2497         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
2498         [GLIBC_2.22]: Likewise.
2499         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
2500         Likewise.
2501         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
2502         Likewise.
2503         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
2504         Likewise.
2505         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
2506         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
2508 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
2510         [BZ #18643]
2511         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
2512         IPV6_PATHMTU, and IPV6_DONTFRAG.
2514 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
2516         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
2517         and _IO_UNBUFFERED.
2518         * libio/oldfileops.c: Likewise.
2519         * libio/wfileops.c: Likewise.
2521 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
2523         * nscd/selinux.c: Delete selinux/flask.h include.
2525 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
2527         [BZ #18641]
2528         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
2529         (putpwent): Likewise.
2530         (getpwnam): Likewise.
2531         (getpwent_r): Likewise.
2532         (getpwuid_r): Likewise.
2533         (getpwnam_r): Likewise.
2534         (fgetpwent_r): Likewise.
2536 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
2538         [BZ #18557]
2539         * inet/rcmd.c (__validuser2_sa): Check user first to
2540         short-circuit host check.
2542 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
2543             Mikhail Ilin  <m.ilin@samsung.com>
2545         [BZ #17833]
2546         * elf/Makefile (tests): Add tst-nodelete.
2547         (modules-names): Add tst-nodelete-uniquemod.
2548         (tst-nodelete-uniquemod.so-no-z-defs): New.
2549         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
2550         (tst-nodelete-zmod.so-no-z-defs): Likewise.
2551         ($(objpfx)tst-nodelete): Likewise.
2552         ($(objpfx)tst-nodelete.out): Likewise.
2553         (LDFLAGS-tst-nodelete): Likewise.
2554         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
2555         * elf/dl-close.c (_dl_close_worker): Add a parameter to
2556         implement forced object deletion.
2557         (_dl_close): Pass false to _dl_close_worker.
2558         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
2559         * elf/tst-nodelete.cc: New file.
2560         * elf/tst-nodeletelib.cc: Likewise.
2561         * elf/tst-znodeletelib.cc: Likewise.
2562         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
2564 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2566         [BZ #18508]
2567         * stdlib/Makefile ($(objpfx)tst-makecontext3):
2568         Depend on $(libdl).
2569         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
2570         is not called infinitely times.
2571         (backtrace_helper): New function.
2572         (trace_arg): New struct.
2573         (st1): Enlarge stack size.
2574         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2575         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
2576         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2577         Likewise.
2579 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2581         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2583 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2585         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
2586         Include sys/types.h instead of bits/types.h.
2587         Remove inclusion of bits/wordsize.h.
2589 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2591         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
2592         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
2593         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
2594         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
2595         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
2596         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
2598 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2600         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
2601         link-defines.sym.
2602         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
2603         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
2604         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
2605         and LR_SIZE.
2606         * sysdeps/i386/link-defines.sym: New file.
2608 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2610         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
2611         (modules-names): Add tst-auditmod3a tst-auditmod3b.
2612         ($(objpfx)tst-audit3): New rule.
2613         ($(objpfx)tst-audit3.out): Likewise.
2614         * sysdeps/i386/tst-audit3.c: New file.
2615         * sysdeps/i386/tst-audit3.h: Likewise.
2616         * sysdeps/i386/tst-auditmod3a.c: Likewise.
2617         * sysdeps/i386/tst-auditmod3b.c: Likewise.
2619 2015-07-07  Torvald Riegel  <triegel@redhat.com>
2621         [BZ #18633]
2622         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
2623         pointer in C code.
2624         (__strcat_c): Likewise.
2625         (__strcat_g): Likewise.
2627 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
2629         [BZ #18592]
2630         * misc/sbrk.c: Set errno to ENOMEM on overflow.
2632 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
2634         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
2635         New function.  (__ieee754_sqrtf): New function.
2636         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
2637         New function.
2638         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
2639         New function.
2641 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
2643         * sysdeps/ieee754/support.c: Remove unused file.
2645 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2647         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
2648         registers instead of d ones so the layout is kernel abi compatible.
2649         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
2650         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
2651         Likewise.
2653 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2655         * sysdeps/aarch64/libm-test-ulps: Regenerated.
2657 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
2659         [BZ #18619]
2660         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
2661         and return argument in case of subnormal argument.
2663 2015-07-01  Martin Sebor  <msebor@redhat.com>
2665         [BZ #18435]
2666         * nptl/Makefile: Add tst-once5.cc.
2667         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
2668         Remove macro redefinitions.
2669         * nptl/tst-once5.cc: New test.
2671 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
2673         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2675         * sysdeps/arm/libm-test-ulps: Regenerated.
2677         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2678         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2680 2015-06-30  Torvald Riegel  <triegel@redhat.com>
2682         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
2683         lll_lock_wait_private and lll_futex_wake probes.
2685         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
2686         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
2687         Likewise.
2688         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
2689         atomic_spin_nop.
2690         * sysdeps/x86_64/bits/atomic.h: Likewise.
2691         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
2692         to atomic_spin_nop and move ...
2693         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
2694         ... here and ...
2695         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
2696         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
2697         atomic_spin_nop instead of BUSY_WAIT_NOP.
2698         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
2699         Likewise.
2700         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
2701         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
2702         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
2703         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
2704         instead of atomic_delay.
2706 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
2708         [BZ #18613]
2709         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
2710         X_ADJ not X when adjusting exponent.
2711         (__ieee754_gamma_r): Do intermediate computations in
2712         round-to-nearest then adjust overflowing and underflowing results
2713         as needed.
2714         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
2715         of X_ADJ not X when adjusting exponent.
2716         (__ieee754_gammaf_r): Do intermediate computations in
2717         round-to-nearest then adjust overflowing and underflowing results
2718         as needed.
2719         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
2720         log of X_ADJ not X when adjusting exponent.
2721         (__ieee754_gammal_r): Do intermediate computations in
2722         round-to-nearest then adjust overflowing and underflowing results
2723         as needed.  Use 1.0L not 1.0f as numerator of division.
2724         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
2725         log of X_ADJ not X when adjusting exponent.
2726         (__ieee754_gammal_r): Do intermediate computations in
2727         round-to-nearest then adjust overflowing and underflowing results
2728         as needed.  Use 1.0L not 1.0f as numerator of division.
2729         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
2730         of X_ADJ not X when adjusting exponent.
2731         (__ieee754_gammal_r): Do intermediate computations in
2732         round-to-nearest then adjust overflowing and underflowing results
2733         as needed.  Use 1.0L not 1.0f as numerator of division.
2734         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
2735         to auto-libm-test-in.
2736         (tgamma_test): Use ALL_RM_TEST.
2737         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
2738         tests of tgamma with spurious-overflow.
2739         * math/auto-libm-test-out: Regenerated.
2740         * math/gen-libm-have-vector-test.sh: Do not check for START.
2741         * sysdeps/i386/fpu/libm-test-ulps: Update.
2742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2744         [BZ #18612]
2745         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
2746         arguments, just return 0.5 times the argument, with underflow
2747         forced as needed.
2748         * math/auto-libm-test-in: Add more tests of j1.
2749         * math/auto-libm-test-out: Regenerated.
2751         [BZ #16559]
2752         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
2753         (__ieee754_j1): Force underflow exception for small results.
2754         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
2755         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
2756         (__ieee754_j1f): Force underflow exception for small results.
2757         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2758         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2759         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2760         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
2761         (__ieee754_j1l): Force underflow exception for small results.
2762         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2763         * math/auto-libm-test-in: Add more tests of j1 and jn.
2764         * math/auto-libm-test-out: Regenerated.
2766         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
2767         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
2768         (PF_MPLS): Likewise.
2769         (AF_IB): Likewise.
2770         (AF_MPLS): Likewise.
2771         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
2772         value and macro.
2773         (MS_RMT_MASK): Include MS_LAZYTIME.
2775 2015-06-26  Mel Gorman  <mgorman@suse.de>
2777         [BZ #18502]
2778         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
2779         already minimal.
2781 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
2783         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
2784         (DT_MIPS_NUM): Update.
2785         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
2786         DT_MIPS_RLD_MAP_REL.
2788 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
2790         [BZ #16559]
2791         [BZ #18602]
2792         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
2793         round-to-nearest internally then recompute results that
2794         underflowed to zero in the original rounding mode.
2795         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2796         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2797         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2798         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
2799         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
2800         * sysdeps/i386/fpu/libm-test-ulps: Update.
2801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2803 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
2805         * NEWS: Fixed description of link with vector math library.
2807 2015-06-25  Andreas Schwab  <schwab@suse.de>
2809         [BZ #18549]
2810         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
2811         * libio/test-fmemopen.c (do_test): Add test for it.
2813 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
2815         [BZ #17841]
2816         * Makeconfig (no-pie-ldflag): New.
2817         (+link): Set to $(+link-pie) if default to PIE.
2818         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
2819         * config.make.in (build-pie-default): New.
2820         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
2821         is default.  AC_SUBST.
2822         * configure: Regenerated.
2823         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
2825 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2827         * nptl/descr.h (struct pthread): Change type of field setxid_futex
2828         to 'unsigned int'.
2830         * resolv/gai_misc.h (struct waitlist): Change type of field
2831         counterp to 'volatile unsigned int *'.
2832         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
2833         FUTEXADDR and OLDVAL.
2834         * resolv/getaddrinfo_a.c (getaddrinfo_a):
2835         Give local variable TOTAL type 'volatile unsigned int'.
2836         (struct async_waitlist): Change type of field counter to 'unsigned int'.
2837         * resolv/gai_suspend.c (gai_suspend):
2838         Give local variable CNTR type 'unsigned int'.
2840         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
2841         counterp to 'volatile unsigned int *'.
2842         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
2843         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
2844         (aio_suspend): Give local variable CNTR type 'unsigned int'.
2845         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
2846         Give local variable TOTAL type 'volatile unsigned int'.
2847         (struct async_waitlist): Change type of field counter to 'unsigned int'.
2849 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
2851         [BZ #18383]
2852         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
2853         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
2854         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
2855         comment for i386/x86-64.
2856         (test-xfail-tst-tlsalign-extern-static): Removed.
2858 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2860         * math/test-double.h: New file.
2861         * math/test-float.h: Likewise.
2862         * math/test-ldouble.h: Likewise.
2863         * math/test-math-inline.h: Likewise.
2864         * math/test-math-no-inline.h: Likewise.
2865         * math/test-math-scalar.h: Likewise.
2866         * math/test-math-vector.h: Likewise.
2867         * math/test-vec-loop.h: Remove file.  Contents moved into
2868         test-math-vector.h.
2869         * math/libm-test.inc (MATHCONST): Do not document macro.
2870         * math/test-double.c: Include test-double.h, test-math-no-inline.h
2871         and test-math-scalar.h.
2872         (FUNC): Remove macro.
2873         (FUNC_TEST): Likewise.
2874         (FLOAT): Likewise.
2875         (MATHCONST): Likewise.
2876         (PRINTF_EXPR): Likewise.
2877         (PRINTF_XEXPR): Likewise.
2878         (PRINTF_NEXPR): Likewise.
2879         (TEST_DOUBLE): Likewise.
2880         (TEST_MATHVEC): Likewise.
2881         (__NO_MATH_INLINES): Likewise.
2882         * math/test-float.c: Include test-float.h, test-math-no-inline.h
2883         and test-math-scalar.h.
2884         (FUNC): Remove macro.
2885         (FUNC_TEST): Likewise.
2886         (FLOAT): Likewise.
2887         (MATHCONST): Likewise.
2888         (PRINTF_EXPR): Likewise.
2889         (PRINTF_XEXPR): Likewise.
2890         (PRINTF_NEXPR): Likewise.
2891         (TEST_FLOAT): Likewise.
2892         (TEST_MATHVEC): Likewise.
2893         (__NO_MATH_INLINES): Likewise.
2894         * math/test-idouble.c: Include test-double.h, test-math-inline.h
2895         and test-math-scalar.h.
2896         (FUNC): Remove macro.
2897         (FUNC_TEST): Likewise.
2898         (FLOAT): Likewise.
2899         (MATHCONST): Likewise.
2900         (PRINTF_EXPR): Likewise.
2901         (PRINTF_XEXPR): Likewise.
2902         (PRINTF_NEXPR): Likewise.
2903         (TEST_DOUBLE): Likewise.
2904         (TEST_MATHVEC): Likewise.
2905         (TEST_INLINE): Likewise.
2906         (__NO_MATH_INLINES): Likewise.
2907         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
2908         test-math-scalar.h.
2909         (FUNC): Remove macro.
2910         (FUNC_TEST): Likewise.
2911         (FLOAT): Likewise.
2912         (MATHCONST): Likewise.
2913         (PRINTF_EXPR): Likewise.
2914         (PRINTF_XEXPR): Likewise.
2915         (PRINTF_NEXPR): Likewise.
2916         (TEST_FLOAT): Likewise.
2917         (TEST_MATHVEC): Likewise.
2918         (TEST_INLINE): Likewise.
2919         (__NO_MATH_INLINES): Likewise.
2920         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
2921         and test-math-scalar.h.
2922         (FUNC): Remove macro.
2923         (FUNC_TEST): Likewise.
2924         (FLOAT): Likewise.
2925         (MATHCONST): Likewise.
2926         (PRINTF_EXPR): Likewise.
2927         (PRINTF_XEXPR): Likewise.
2928         (PRINTF_NEXPR): Likewise.
2929         (TEST_LDOUBLE): Likewise.
2930         (TEST_MATHVEC): Likewise.
2931         (TEST_INLINE): Likewise.
2932         (__NO_MATH_INLINES): Likewise.
2933         * math/test-ldouble.c: Include test-ldouble.h,
2934         test-math-no-inline.h and test-math-scalar.h.
2935         (FUNC): Remove macro.
2936         (FUNC_TEST): Likewise.
2937         (FLOAT): Likewise.
2938         (MATHCONST): Likewise.
2939         (PRINTF_EXPR): Likewise.
2940         (PRINTF_XEXPR): Likewise.
2941         (PRINTF_NEXPR): Likewise.
2942         (TEST_LDOUBLE): Likewise.
2943         (TEST_MATHVEC): Likewise.
2944         (__NO_MATH_INLINES): Likewise.
2945         * math/test-double-vlen2.h: Include test-double.h,
2946         test-math-no-inline.h and test-math-vector.h.
2947         (FLOAT): Remove macro.
2948         (FUNC): Likewise.
2949         (MATHCONST): Likewise.
2950         (PRINTF_EXPR): Likewise.
2951         (PRINTF_XEXPR): Likewise.
2952         (PRINTF_NEXPR): Likewise.
2953         (TEST_DOUBLE): Likewise.
2954         (TEST_MATHVEC): Likewise.
2955         (__NO_MATH_INLINES): Likewise.
2956         (CNCT): Likewise.
2957         (CONCAT): Likewise.
2958         (WRAPPER_NAME): Likewise.
2959         (WRAPPER_DECL): Likewise.
2960         (WRAPPER_DECL_ff): Likewise.
2961         (WRAPPER_DECL_fFF): Likewise.
2962         (VECTOR_WRAPPER): Likewise.
2963         (VECTOR_WRAPPER_ff): Likewise.
2964         (VECTOR_WRAPPER_fFF): Likewise.
2965         (VEC_LEN): New macro.
2966         * math/test-double-vlen4.h: Include test-double.h,
2967         test-math-no-inline.h and test-math-vector.h.
2968         (FLOAT): Remove macro.
2969         (FUNC): Likewise.
2970         (MATHCONST): Likewise.
2971         (PRINTF_EXPR): Likewise.
2972         (PRINTF_XEXPR): Likewise.
2973         (PRINTF_NEXPR): Likewise.
2974         (TEST_DOUBLE): Likewise.
2975         (TEST_MATHVEC): Likewise.
2976         (__NO_MATH_INLINES): Likewise.
2977         (CNCT): Likewise.
2978         (CONCAT): Likewise.
2979         (WRAPPER_NAME): Likewise.
2980         (WRAPPER_DECL): Likewise.
2981         (WRAPPER_DECL_ff): Likewise.
2982         (WRAPPER_DECL_fFF): Likewise.
2983         (VECTOR_WRAPPER): Likewise.
2984         (VECTOR_WRAPPER_ff): Likewise.
2985         (VECTOR_WRAPPER_fFF): Likewise.
2986         (VEC_LEN): New macro.
2987         * math/test-double-vlen8.h: Include test-double.h,
2988         test-math-no-inline.h and test-math-vector.h.
2989         (FLOAT): Remove macro.
2990         (FUNC): Likewise.
2991         (MATHCONST): Likewise.
2992         (PRINTF_EXPR): Likewise.
2993         (PRINTF_XEXPR): Likewise.
2994         (PRINTF_NEXPR): Likewise.
2995         (TEST_DOUBLE): Likewise.
2996         (TEST_MATHVEC): Likewise.
2997         (__NO_MATH_INLINES): Likewise.
2998         (CNCT): Likewise.
2999         (CONCAT): Likewise.
3000         (WRAPPER_NAME): Likewise.
3001         (WRAPPER_DECL): Likewise.
3002         (WRAPPER_DECL_ff): Likewise.
3003         (WRAPPER_DECL_fFF): Likewise.
3004         (VECTOR_WRAPPER): Likewise.
3005         (VECTOR_WRAPPER_ff): Likewise.
3006         (VECTOR_WRAPPER_fFF): Likewise.
3007         (VEC_LEN): New macro.
3008         * math/test-float-vlen4.h: Include test-float.h,
3009         test-math-no-inline.h and test-math-vector.h.
3010         (FLOAT): Remove macro.
3011         (FUNC): Likewise.
3012         (MATHCONST): Likewise.
3013         (PRINTF_EXPR): Likewise.
3014         (PRINTF_XEXPR): Likewise.
3015         (PRINTF_NEXPR): Likewise.
3016         (TEST_FLOAT): Likewise.
3017         (TEST_MATHVEC): Likewise.
3018         (__NO_MATH_INLINES): Likewise.
3019         (CNCT): Likewise.
3020         (CONCAT): Likewise.
3021         (WRAPPER_NAME): Likewise.
3022         (WRAPPER_DECL): Likewise.
3023         (WRAPPER_DECL_ff): Likewise.
3024         (WRAPPER_DECL_fFF): Likewise.
3025         (VECTOR_WRAPPER): Likewise.
3026         (VECTOR_WRAPPER_ff): Likewise.
3027         (VECTOR_WRAPPER_fFF): Likewise.
3028         (VEC_LEN): New macro.
3029         * math/test-float-vlen8.h: Include test-float.h,
3030         test-math-no-inline.h and test-math-vector.h.
3031         (FLOAT): Remove macro.
3032         (FUNC): Likewise.
3033         (MATHCONST): Likewise.
3034         (PRINTF_EXPR): Likewise.
3035         (PRINTF_XEXPR): Likewise.
3036         (PRINTF_NEXPR): Likewise.
3037         (TEST_FLOAT): Likewise.
3038         (TEST_MATHVEC): Likewise.
3039         (__NO_MATH_INLINES): Likewise.
3040         (CNCT): Likewise.
3041         (CONCAT): Likewise.
3042         (WRAPPER_NAME): Likewise.
3043         (WRAPPER_DECL): Likewise.
3044         (WRAPPER_DECL_ff): Likewise.
3045         (WRAPPER_DECL_fFF): Likewise.
3046         (VECTOR_WRAPPER): Likewise.
3047         (VECTOR_WRAPPER_ff): Likewise.
3048         (VECTOR_WRAPPER_fFF): Likewise.
3049         (VEC_LEN): New macro.
3050         * math/test-float-vlen16.h: Include test-float.h,
3051         test-math-no-inline.h and test-math-vector.h.
3052         (FLOAT): Remove macro.
3053         (FUNC): Likewise.
3054         (MATHCONST): Likewise.
3055         (PRINTF_EXPR): Likewise.
3056         (PRINTF_XEXPR): Likewise.
3057         (PRINTF_NEXPR): Likewise.
3058         (TEST_FLOAT): Likewise.
3059         (TEST_MATHVEC): Likewise.
3060         (__NO_MATH_INLINES): Likewise.
3061         (CNCT): Likewise.
3062         (CONCAT): Likewise.
3063         (WRAPPER_NAME): Likewise.
3064         (WRAPPER_DECL): Likewise.
3065         (WRAPPER_DECL_ff): Likewise.
3066         (WRAPPER_DECL_fFF): Likewise.
3067         (VECTOR_WRAPPER): Likewise.
3068         (VECTOR_WRAPPER_ff): Likewise.
3069         (VECTOR_WRAPPER_fFF): Likewise.
3070         (VEC_LEN): New macro.
3071         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
3072         test-vec-loop.h.
3073         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3074         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3075         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3076         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3077         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3078         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3079         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
3081 2015-06-24  Roland McGrath  <roland@hack.frob.com>
3083         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
3084         (__getlogin_r): ... this.
3086 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
3088         [BZ #18594]
3089         * math/s_ccosh.c (__ccosh): Compare with least normal value
3090         instead of comparing class with FP_SUBNORMAL.
3091         * math/s_ccoshf.c (__ccoshf): Likewise.
3092         * math/s_ccoshl.c (__ccoshl): Likewise.
3093         * math/s_cexp.c (__cexp): Likewise.
3094         * math/s_cexpf.c (__cexpf): Likewise.
3095         * math/s_cexpl.c (__cexpl): Likewise.
3096         * math/s_csin.c (__csin): Likewise.
3097         * math/s_csinf.c (__csinf): Likewise.
3098         * math/s_csinh.c (__csinh): Likewise.
3099         * math/s_csinhf.c (__csinhf): Likewise.
3100         * math/s_csinhl.c (__csinhl): Likewise.
3101         * math/s_csinl.c (__csinl): Likewise.
3102         * math/s_ctan.c (__ctan): Likewise.
3103         * math/s_ctanf.c (__ctanf): Likewise.
3104         * math/s_ctanh.c (__ctanh): Likewise.
3105         * math/s_ctanhf.c (__ctanhf): Likewise.
3106         * math/s_ctanhl.c (__ctanhl): Likewise.
3107         * math/s_ctanl.c (__ctanl): Likewise.
3108         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
3109         csin, csinh, ctan and ctanh.
3110         * math/auto-libm-test-out: Regenerated.
3111         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
3112         * sysdeps/i386/fpu/libm-test-ulps: Update.
3113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3115 2015-06-24  Roland McGrath  <roland@hack.frob.com>
3117         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
3118         return value is wrong, print the expected value too.
3120 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
3122         [BZ #18585]
3123         * elf/readlib.c (is_gdb_python_file): New.
3124         (process_file): Don't issue errors on filenames with -gdb.py
3125         suffix.
3127 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
3129         * math/auto-libm-test-in: Add more tests of csin and csinh.
3130         * math/auto-libm-test-out: Regenerated.
3131         * math/libm-test.inc (csin_test_data): Remove tests moved to
3132         auto-libm-test-in.
3133         (csinh_test_data): Likewise.
3135         [BZ #18593]
3136         * math/s_csin.c (__csin): Negate before rather than after possibly
3137         overflowing multiplication.
3138         * math/s_csinf.c (__csinf): Likewise.
3139         * math/s_csinh.c (__csinh): Likewise.
3140         * math/s_csinhf.c (__csinhf): Likewise.
3141         * math/s_csinhl.c (__csinhl): Likewise.
3142         * math/s_csinl.c (__csinl): Likewise.
3143         * math/auto-libm-test-in: Add some tests of csin and csinh.
3144         * math/auto-libm-test-out: Regenerated.
3145         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
3146         (csinh_test_data): Likewise.
3147         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3149         [BZ #18586]
3150         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
3151         underflow exception for small results.
3153 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
3155         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
3156         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
3157         variable and included header.
3158         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
3159         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
3160         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
3161         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
3162         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
3163         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
3164         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
3165         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
3166         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
3167         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
3168         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
3169         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
3170         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
3171         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
3172         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
3173         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
3175 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
3177         [BZ #16526]
3178         [BZ #16538]
3179         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
3180         (__sin): Force underflow exception for arguments with small
3181         absolute value.
3182         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
3183         (__kernel_sinf): Force underflow exception for arguments with
3184         small absolute value.
3185         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
3186         (__kernel_sincosl): Force underflow exception for arguments with
3187         small absolute value.
3188         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
3189         (__kernel_sinl): Force underflow exception for arguments with
3190         small absolute value.
3191         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
3192         (__kernel_sincosl): Force underflow exception for arguments with
3193         small absolute value.
3194         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
3195         (__kernel_sinl): Force underflow exception for arguments with
3196         small absolute value.
3197         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
3198         (__kernel_sinl): Force underflow exception for arguments with
3199         small absolute value.
3200         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
3201         (__kernel_sinf): Force underflow exception for arguments with
3202         small absolute value.
3203         * math/auto-libm-test-in: Add more tests of sin and sincos.
3204         * math/auto-libm-test-out: Regenerated.
3206         [BZ #18245]
3207         [BZ #18583]
3208         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
3209         (__kernel_standard_l): Use feholdexcept and fesetenv around
3210         conversion to double instead of special-casing overflow and
3211         underflow.
3212         * math/libm-test.inc (fmod_test_data): Add more tests.
3213         (remainder_test_data): Likewise.
3214         (sqrt_test_data): Likewise.
3216 2015-06-23  Torvald Riegel  <triegel@redhat.com>
3218         [BZ #17403]
3219         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
3220         atomic_read_barrier, atomic_write_barrier): Define.
3221         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
3222         atomic_read_barrier, atomic_write_barrier): Define.
3224 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
3226         * math/Makefile [$(PERL) != no]
3227         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
3228         dependency on libm-test.stmp below the inclusion of Rules.
3230 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
3232         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
3233         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
3234         and included header.
3235         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
3236         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
3237         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
3238         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
3239         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
3240         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
3241         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
3242         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
3243         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
3244         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
3245         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
3246         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
3247         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
3248         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
3249         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
3250         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
3251         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
3252         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
3253         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
3255 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
3257         [BZ #18371]
3258         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
3259         intermediate but not final result might underflow.
3260         * math/s_csqrtf.c (__csqrtf): Likewise.
3261         * math/s_csqrtl.c (__csqrtl): Likewise.
3262         * math/auto-libm-test-in: Add more tests of csqrt.
3263         * math/auto-libm-test-out: Regenerated.
3264         * sysdeps/i386/fpu/libm-test-ulps: Update.
3266         [BZ #18219]
3267         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
3268         threshold on absolute value of exponent for which scaling is used.
3269         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
3270         * math/auto-libm-test-in: Add more tests of exp2.
3271         * math/auto-libm-test-out: Regenerated.
3273 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
3275         [BZ #17977]
3276         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
3277         when initializing interface list, based on the bug analysis
3278         and the patch proposed by Eric Newton.
3279         * resolv/tst-res_hconf_reorder.c: New test.
3280         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
3281         tst-res_hconf_reorder.
3282         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
3283         and $(shared-thread-library).
3284         (tst-res_hconf_reorder-ENV): New variable.
3286         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
3287         in comment.
3289 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
3291         [BZ #16353]
3292         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
3293         (__expm1): Force underflow exception for arguments with small
3294         absolute value.
3295         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
3296         (__expm1f): Force underflow exception for arguments with small
3297         absolute value.
3298         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
3299         (__expm1): Force underflow exception for arguments with small
3300         absolute value.
3301         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
3302         (__expm1f): Force underflow exception for arguments with small
3303         absolute value.
3304         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
3305         Check for small arguments before calling __expm1.
3306         * math/auto-libm-test-in: Do not mark underflow exceptions as
3307         possibly missing for bug 16353.
3308         * math/auto-libm-test-out: Regenerated.
3310 2015-06-22  Andreas Schwab  <schwab@suse.de>
3312         [BZ #18513]
3313         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
3314         PTR queries.
3316 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
3318         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
3320         * string/strcoll_l.c: Remove unused struct element idxnow.
3322 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
3324         [BZ #18569]
3325         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
3326         underflow and return argument in case of subnormal argument.
3327         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
3328         Likewise.
3329         * math/auto-libm-test-in: Add more tests of expm1.
3330         * math/auto-libm-test-out: Regenerated.
3332         [BZ #16361]
3333         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
3334         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
3335         tiny results.
3336         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
3337         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
3338         tiny results.
3339         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
3340         mark underflow exceptions as possibly missing for bug 16361.
3341         * math/auto-libm-test-out: Regenerated.
3343 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
3345         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
3346         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
3347         Remove variable.
3348         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
3349         (test-xfail-XOPEN2K8/utmpx.h/conform).
3351         * conform/conformtest.pl ($xerrors): New variable.
3352         (note_error): New function.
3353         (compiletest): New argument $xfail.  Use not_error.
3354         (runtest): Likewise.
3355         (top level): Handle xfail- lines.  Update calls to compiletest and
3356         runtest.  Handle xfail- and optional- in headers listed with
3357         allow-header.
3358         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
3359         (O_EXEC): Likewise.
3360         (O_SEARCH): Likewise.
3361         * conform/data/stropts.h-data (ioctl): Likewise.
3362         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
3363         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
3364         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
3365         (msghdr.msg_controllen): Likewise.
3366         (cmsghdr.cmsg_len): Likewise.
3367         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
3368         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
3369         variable.
3370         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
3371         (test-xfail-XPG4/stropts.h/conform): Likewise.
3372         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
3373         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
3374         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
3375         (test-xfail-UNIX98/stropts.h/conform): Likewise.
3376         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
3377         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
3378         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
3379         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
3380         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
3381         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
3382         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
3383         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
3384         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
3385         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
3386         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
3387         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
3388         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
3389         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
3390         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
3392 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
3394         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
3395         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
3396         definitions for proper unfolding of __MATHDECL_VEC.
3398 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
3400         * benchtests/bench-strcoll.c:
3401         Include string.h.
3402         (main): Remove unused variable res.
3404 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
3406         * timezone/Makefile (%/UTC %/Universal):
3407         Generate test-result files for UTC and Universal.
3409 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
3411         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3413 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
3415         [BZ #16350]
3416         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
3417         for arguments with small absolute value.
3418         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
3419         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
3420         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
3421         (__asinh): Force underflow exception for arguments with small
3422         absolute value.
3423         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
3424         (__asinhf): Force underflow exception for arguments with small
3425         absolute value.
3426         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
3427         (__asinhl): Force underflow exception for arguments with small
3428         absolute value.
3429         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
3430         (__asinhl): Force underflow exception for arguments with small
3431         absolute value.
3432         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
3433         (__asinhl): Force underflow exception for arguments with small
3434         absolute value.
3435         * math/auto-libm-test-in: Do not mark underflow exceptions as
3436         possibly missing for bug 16350.
3437         * math/auto-libm-test-out: Regenerated.
3439         * include/bits/ipc.h: Remove file.
3440         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
3441         variable.
3442         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
3443         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
3444         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
3445         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
3446         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
3447         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
3448         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
3449         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
3450         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
3452         * math/auto-libm-test-in: Remove spurious underflow allowance for
3453         tests of cexp.
3454         * math/auto-libm-test-out: Regenerated.
3456         [BZ #18558]
3457         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
3458         unconditional definition.
3459         (MCAST_BLOCK_SOURCE): Likewise.
3460         (MCAST_UNBLOCK_SOURCE): Likewise.
3461         (MCAST_LEAVE_GROUP): Likewise.
3462         (MCAST_JOIN_SOURCE_GROUP): Likewise.
3463         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
3464         (MCAST_MSFILTER): Likewise.
3465         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
3466         Remove variable.
3467         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
3468         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
3469         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
3470         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
3471         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
3473 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
3475         * NEWS: Mention addition of x86_64 vector sincosf.
3476         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
3477         * math/test-float-vlen4.h: Likewise.
3478         * math/test-float-vlen8.h: Likewise.
3479         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3480         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
3481         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3482         * sysdeps/x86_64/fpu/Versions: New versions added.
3483         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3484         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3485         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3486         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
3487         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
3488         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
3489         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
3490         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
3491         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
3492         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
3493         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
3494         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
3495         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
3496         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
3497         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
3498         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
3499         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
3500         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
3501         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3502         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3503         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3504         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3505         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3506         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3508         * NEWS: Mention addition of x86_64 vector sincos.
3509         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
3510         * math/math.h (__MATHDECL_VEC): New macro.
3511         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
3512         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
3513         declaration under condition.
3514         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
3515         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
3516         TEST_VEC_LOOP change.
3517         * math/test-double-vlen4.h: Likewise.
3518         * math/test-double-vlen8.h: Likewise.
3519         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
3520         * math/test-float-vlen4.h: Likewise.
3521         * math/test-float-vlen8.h: Likewise.
3522         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3523         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
3524         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3525         * sysdeps/x86_64/fpu/Versions: New versions added.
3526         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3527         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3528         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3529         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
3530         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
3531         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
3532         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
3533         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
3534         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
3535         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
3536         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
3537         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
3538         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
3539         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
3540         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
3541         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
3542         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
3543         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3544         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3545         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3546         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3547         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3548         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3549         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3551         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3552         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3553         redirections for powf.
3554         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3555         * sysdeps/x86_64/fpu/Versions: New versions added.
3556         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3557         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3558         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3559         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
3560         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
3561         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
3562         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
3563         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
3564         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
3565         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
3566         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
3567         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
3568         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
3569         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
3570         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
3571         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
3572         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
3573         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3574         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3575         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3576         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3577         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3578         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3579         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3580         * math/test-float-vlen16.h: Fixed 2 argument macro.
3581         * math/test-float-vlen4.h: Likewise.
3582         * math/test-float-vlen8.h: Likewise.
3583         * NEWS: Mention addition of x86_64 vector powf.
3585 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
3587         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3588         and redefine.
3589         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3590         and redefine.
3591         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
3592         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3593         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3595         [BZ #18553]
3596         * resource/getpriority.c (getpriority): Rename to __getpriority
3597         and define as weak alias of __getpriority.
3598         * resource/setpriority.c (setpriority): Rename to __setpriority
3599         and define as weak alias of __setpriority.
3600         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
3601         __getpriority and define as weak alias of __getpriority.
3602         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
3603         __setpriority and define as weak alias of __setpriority.
3604         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
3605         strong name.
3606         (setpriority): Use __setpriority as strong name.
3607         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
3608         __getpriority and define as weak alias of __getpriority.
3609         * include/sys/resource.h (__getpriority): Declare.  Use
3610         libc_hidden_proto.
3611         (__setpriority): Likewise.
3612         (getpriority): Don't use libc_hidden_proto.
3613         (setpriority): Likewise.
3614         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
3615         getpriority.  Call __setpriority instead of setpriority.
3616         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
3617         Remove variable.
3619         [BZ #18547]
3620         * misc/getttyent.c (getttynam): Rename to __getttynam and define
3621         as weak alias of __getttynam.  Use prototype function definition.
3622         Call __setttyent, __getttyent and __endttyent instead of
3623         setttyent, getttyent and endttyent.
3624         (getttyent): Rename to __getttyent and define as weak alias of
3625         __getttyent.  Call __setttyent instead of setttyent.  Call
3626         __fgets_unlocked instead of fgets_unlocked.
3627         (setttyent): Rename to __setttyent and define as weak alias of
3628         __setttyent.
3629         (endttyent): Rename to __endttyent and define as weak alias of
3630         __endttyent.
3631         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
3632         (__setttyent): Likewise.
3633         (__endttyent): Likewise.
3634         (getttyent): Don't use libc_hidden_proto.
3635         (setttyent): Likewise.
3636         (endttyent): Likewise.
3637         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
3638         __endttyent instead of setttyent, getttyent and endttyent.
3639         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
3640         Remove variable.
3642         [BZ #18546]
3643         * socket/recv.c (__recv): Use libc_hidden_def.
3644         * socket/socket.c (__socket): Likewise.
3645         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
3646         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
3647         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
3648         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
3649         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
3650         libc_hidden_def.
3651         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
3652         libc_hidden_weak.
3653         * include/sys/socket.h (__socket): Do not use attribute_hidden.
3654         Use libc_hidden_proto.
3655         (__recv): Likewise.
3656         * socket/Versions (libc): Export __recv and __socket at version
3657         GLIBC_PRIVATE.
3658         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
3659         instead of recv.
3660         (init_mq_netlink): Call __socket instead of socket.
3661         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
3662         Remove variable.
3664         [BZ #18545]
3665         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
3666         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
3667         hidden_weak.
3668         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
3669         define as alias of __mq_timedsend.  Use hidden_weak.
3670         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
3671         __mq_timedsend as strong name.
3672         (mq_timedreceive): Use __mq_timedreceive as strong name.
3673         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
3674         (__mq_timedreceive): Likewise.
3675         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
3676         __mq_timedreceive instead of mq_timedreceive.
3677         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
3678         instead of mq_timedsend.
3679         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
3680         Remove variable.
3682         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
3683         hidden_def and hidden_weak instead of libc_hidden_def and
3684         libc_hidden_weak.
3685         (top level): Refer to hidden_def in comment.
3686         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
3687         macro.  Use it instead of libc_hidden_def.
3688         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
3689         specify __GI_* name explicitly.
3690         (mq_timedreceive): Likewise.
3691         (mq_setattr): Likewise.
3693         [BZ #18544]
3694         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
3695         __pthread_barrier_init and define as weak alias of
3696         __pthread_barrier_init.
3697         * sysdeps/sparc/nptl/pthread_barrier_init.c
3698         (pthread_barrier_init): Likewise.
3699         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
3700         __pthread_barrier_wait and define as weak alias of
3701         __pthread_barrier_wait.
3702         * sysdeps/sparc/nptl/pthread_barrier_wait.c
3703         (pthread_barrier_wait): Likewise.
3704         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
3705         (pthread_barrier_wait): Likewise.
3706         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
3707         (pthread_barrier_wait): Likewise.
3708         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
3709         (pthread_barrier_wait): Likewise.
3710         * nptl/Versions (libpthread): Export __pthread_barrier_init and
3711         __pthread_barrier_wait at version GLIBC_PRIVATE.
3712         * include/pthread.h (__pthread_barrier_init): Declare.
3713         (__pthread_barrier_wait): Likewise.
3714         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
3715         Call __pthread_barrier_wait instead of pthread_barrier_wait.
3716         (helper_thread): Likewise.
3717         (init_mq_netlink): Call __pthread_barrier_init instead of
3718         pthread_barrier_init.
3720         [BZ #18542]
3721         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
3722         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
3723         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
3724         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
3725         vswscanf.
3726         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
3727         Remove variable.
3729         [BZ #18540]
3730         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
3731         strong alias of _IO_fflush.  Use libc_hidden_def.
3732         * libio/iofflush_u.c (fflush_unlocked): Rename to
3733         __fflush_unlocked and define as weak alias of __fflush_unlocked.
3734         Use libc_hidden_weak.
3735         * include/stdio.h (__fflush_unlocked): Declare.  Use
3736         libc_hidden_proto.
3737         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
3738         fflush_unlocked.
3739         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
3740         Remove variable.
3742         [BZ #18539]
3743         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
3744         define as weak alias of __addseverity.
3745         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
3746         Remove variable.
3747         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3748         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3749         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3751         [BZ #18536]
3752         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
3753         (__tfind): Likewise.
3754         (__tdelete): Likewise.
3755         (__twalk): Likewise.
3756         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
3757         __twalk to GLIBC_PRIVATE.
3758         * include/search.h (__tsearch): Use libc_hidden_proto.
3759         (__tfind): Likewise.
3760         (__tdelete): Likewise.
3761         (__twalk): Likewise.
3762         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
3763         Call __tdelete instead of tdelete.
3764         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
3765         tfind.  Call __tsearch instead of tsearch.
3766         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
3767         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
3768         Remove variable.
3769         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3771         [BZ #18534]
3772         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
3773         (dprintf): Define as a weak alias of __dprintf, not a strong
3774         alias.
3775         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
3776         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
3777         dprintf.
3778         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
3779         Remove variable.
3780         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3781         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3783         [BZ #18533]
3784         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
3785         not a strong alias.
3786         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
3787         Remove variable.
3789         [BZ #18532]
3790         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
3791         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
3792         (in6addr_loopback): Rename to __in6addr_loopback and define as
3793         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
3794         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
3795         libc_hidden_proto.
3796         (__in6addr_any): Likewise.
3797         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
3798         in6addr_any.
3799         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
3800         variable.
3801         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3803 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
3805         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
3806         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
3807         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3808         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3809         redirections for pow.
3810         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3811         * sysdeps/x86_64/fpu/Versions: New versions added.
3812         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3813         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3814         build of SSE, AVX2 and AVX512 IFUNC versions.
3815         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
3816         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
3817         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
3818         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
3819         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
3820         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
3821         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
3822         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
3823         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
3824         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
3825         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
3826         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
3827         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
3828         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
3829         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3830         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3831         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3832         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3833         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3834         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3835         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3836         * NEWS: Mention addition of x86_64 vector pow.
3838         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3839         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3840         redirections for expf.
3841         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3842         * sysdeps/x86_64/fpu/Versions: New versions added.
3843         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3844         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3845         build of SSE, AVX2 and AVX512 IFUNC versions.
3846         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
3847         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
3848         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
3849         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
3850         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
3851         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
3852         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
3853         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
3854         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
3855         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
3856         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
3857         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
3858         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
3859         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3860         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3861         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3862         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3863         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3864         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3865         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3866         * NEWS: Mention addition of x86_64 vector expf.
3868         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
3869         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
3870         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3871         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3872         redirections for exp.
3873         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3874         * sysdeps/x86_64/fpu/Versions: New versions added.
3875         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3876         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3877         build of SSE, AVX2 and AVX512 IFUNC versions.
3878         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
3879         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
3880         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
3881         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
3882         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
3883         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
3884         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
3885         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
3886         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
3887         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
3888         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
3889         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
3890         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
3891         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3892         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3893         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3894         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3895         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3896         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3897         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3898         * NEWS: Mention addition of x86_64 vector exp.
3900         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3901         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3902         redirections for logf.
3903         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3904         * sysdeps/x86_64/fpu/Versions: New versions added.
3905         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3906         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3907         build of SSE, AVX2 and AVX512 IFUNC versions.
3908         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
3909         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
3910         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
3911         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
3912         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
3913         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
3914         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
3915         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
3916         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
3917         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
3918         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
3919         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
3920         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
3921         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3922         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3923         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3924         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3925         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3926         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3927         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3928         * NEWS: Mention addition of x86_64 vector logf.
3930         * bits/libm-simd-decl-stubs.h: Added stubs for log.
3931         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
3932         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3933         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3934         redirections for log.
3935         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3936         * sysdeps/x86_64/fpu/Versions: New versions added.
3937         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3938         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3939         build of SSE, AVX2 and AVX512 IFUNC versions.
3940         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
3941         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
3942         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
3943         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
3944         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
3945         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
3946         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
3947         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
3948         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
3949         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
3950         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
3951         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
3952         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
3953         test.
3954         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3955         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3956         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3957         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3958         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3959         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3960         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3961         * NEWS: Mention addition of x86_64 vector log.
3963 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3965         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
3966         cfi_adjust_cfa_offset argument.
3967         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
3968         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
3970         [BZ #18034]
3971         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
3972         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
3973         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
3974         ordering using ldar.
3975         (_dl_tlsdesc_dynamic): Likewise.
3976         (_dl_tlsdesc_return_lazy): Likewise.
3977         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
3978         relaxed atomics instead of volatile and synchronize with release store.
3979         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
3980         volatile.
3981         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3983 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
3985         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3986         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
3987         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3988         * sysdeps/x86_64/fpu/Versions: New versions added.
3989         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3990         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3991         build of SSE, AVX2 and AVX512 IFUNC versions.
3992         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
3993         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
3994         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
3995         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
3996         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
3997         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
3998         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
3999         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
4000         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
4001         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
4002         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
4003         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
4004         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
4005         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4006         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4007         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4008         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4009         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4010         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4011         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4012         * NEWS: Mention addition of x86_64 vector sinf.
4014 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
4016         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
4017         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
4018         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
4019         Remove variable.
4020         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
4021         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
4023 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
4025         [BZ #18530]
4026         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
4027         strong alias of _IO_fputs.  Use libc_hidden_def.
4028         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
4029         and define as weak alias of __fputs_unlocked.  Use
4030         libc_hidden_weak.
4031         * include/stdio.h (__fputs_unlocked): Declare.  Use
4032         libc_hidden_proto.
4033         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
4034         fputs_unlocked.
4036         [BZ #18529]
4037         * resolv/netdb.h [__USE_POSIX]: Change condition to
4038         [__USE_XOPEN2K].
4039         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
4040         not expect.
4041         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
4042         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
4043         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
4044         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
4045         [XPG4 || UNIX98] (AI_ALL): Likewise.
4046         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
4047         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
4048         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
4049         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
4050         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
4051         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
4052         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
4053         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
4054         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
4055         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
4056         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
4057         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
4058         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
4059         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
4060         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
4061         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
4062         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
4063         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
4064         [XPG4 || UNIX98] (gai_strerror): Likewise.
4065         [XPG4 || UNIX98] (getaddrinfo): Likewise.
4066         [XPG4 || UNIX98] (getnameinfo): Likewise.
4068         [BZ #18528]
4069         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
4070         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
4071         __USE_XOPEN2K8].
4072         (getgrent): Likewise.
4073         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
4074         expect.
4075         [XPG3 || POSIX2008] (endgrent): Likewise.
4076         [XPG3] (setgrent): Likewise.
4077         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
4078         variable.
4079         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
4081         [BZ #18527]
4082         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
4083         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
4084         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
4085         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
4086         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
4087         * include/unistd.h (__getlogin_r): Declare.  Use
4088         libc_hidden_proto.
4089         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
4090         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
4091         variable.
4092         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
4093         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
4094         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
4096 2015-06-12  Martin Sebor  <msebor@redhat.com>
4098         [BZ #18512]
4099         * Makerules (check-install-supported): New target.
4100         (install): Add check-install-supported as a dependency.
4101         * manual/install.texi (Installing the C Library): Document
4102         that overriding prefix and exec_prefix is not supported.
4103         Mention DESTDIR.
4104         * INSTALL: Regenerate from the above.
4106 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
4108         [BZ #18519]
4109         * posix/Versions (libc): Export __libc_pread at version
4110         GLIBC_PRIVATE.
4111         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
4112         instead of pread.
4113         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
4114         variable.
4116         [BZ #18522]
4117         * misc/efgcvt_r.c
4118         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
4119         (cvt_symbol): Use weak_alias instead of strong_alias.
4120         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
4121         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
4122         Remove variable.
4123         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
4124         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4126         [BZ #18520]
4127         * inet/herrno.c (h_errno): Rename to __h_errno.
4128         (__libc_h_errno): Define as alias of __h_errno not h_errno.
4129         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
4130         to __h_errno instead of h_errno.
4131         * nptl/herrno.c (h_errno): Rename to __h_errno.
4132         (__h_errno_location): Refer to __h_errno not h_errno.
4133         * resolv/Versions (h_errno): Rename to __h_errno.
4134         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
4135         Remove variable.
4136         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
4138 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
4140         * configure.ac: More strict check for AVX512 assembler support.
4141         * configure: Regenerated.
4143         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
4144         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
4145         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4146         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
4147         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4148         * sysdeps/x86_64/fpu/Versions: New versions added.
4149         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4150         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4151         Added build of SSE, AVX2 and AVX512 IFUNC versions.
4152         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
4153         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
4154         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
4155         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
4156         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
4157         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
4158         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
4159         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
4160         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
4161         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
4162         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
4163         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
4164         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
4165         test.
4166         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4167         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4168         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4169         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4170         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4171         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4172         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4173         * NEWS: Mention addition of x86_64 vector sin.
4175 2015-06-11  Florian Weimer  <fweimer@redhat.com>
4177         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
4178         comment.
4180 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
4182         [BZ #18479]
4183         * nptl/pt-interp.c: New file.
4184         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
4185         Add pt-interp.
4186         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
4187         $(common-objpfx)runtime-linker.h.
4189 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
4191         * Makeconfig (+interp): Remove unused variable.
4192         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
4193         only.  Depend on $(common-objpfx)runtime-linker.h instead of
4194         $(elf-objpfx)runtime-linker.h.
4195         ($(elf-objpfx)runtime-linker.h): Rename to
4196         $(common-objpfx)runtime-linker.h and move ...
4197         * Makerules [$(build-shared) = yes]: ... here.
4198         * elf/interp.c: Include <runtime-linker.h> instead of
4199         <elf/runtime-linker.h>.
4201 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4203         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
4204         (__gettimeofday_syscall): Remove vsyscall fallback.
4205         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
4206         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
4207         Add syscall fallback function.
4208         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
4209         if vDSO is not present.
4210         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
4211         fallback function.
4212         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
4213         present.
4214         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
4215         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
4217 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
4219         [BZ #18497]
4220         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
4221         of wcscmp.
4222         (wcscmp): Define as weak alias of WCSCMP.
4223         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
4224         wcscoll.
4225         (USE_HIDDEN_DEF): Define.
4226         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
4227         __wcscoll.  Don't use libc_hidden_weak.
4228         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
4229         wcscmp.
4230         * sysdeps/i386/i686/multiarch/wcscmp-c.c
4231         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
4232         __GI_wcscmp.
4233         (weak_alias): Undefine and redefine.
4234         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
4235         __wcscmp and define as weak alias of __wcscmp.
4236         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
4237         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
4238         (__wcscoll): Likewise.
4239         (wcscmp): Don't use libc_hidden_proto.
4240         (wcscoll): Likewise.
4241         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
4242         wcscoll.
4243         * posix/regexec.c (check_node_accept_bytes): Likewise.
4244         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
4245         variable.
4246         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
4247         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
4249         [BZ #18507]
4250         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
4251         __fstatvfs and define as weak alias of __fstatvfs.  Use
4252         libc_hidden_weak.
4253         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
4254         and define as weak alias of __statvfs.  Use libc_hidden_weak.
4255         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
4256         Define as alias of __fstatvfs, not fstatvfs.
4257         (fstatvfs64): Likewise.
4258         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
4259         Define as alias of __statvfs, not statvfs.
4260         (statvfs64): Likewise.
4261         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
4262         Remove variable.
4264 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4267         (HAVE_GETCPU_VSYSCALL): Define.
4268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4269         (HAVE_GETCPU_VSYSCALL): Likewise.
4270         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
4271         * sysdeps/unix/sysv/linux/sched_getcpu.c
4272         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
4273         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
4274         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
4275         prototype.
4276         * sysdeps/unix/sysv/linux/x86_64/init-first.c
4277         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
4278         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
4279         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
4280         Define.
4281         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
4282         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4283         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
4284         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4286 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
4288         * sysdeps/x86_64/fpu/Makefile: New file.
4289         * sysdeps/x86_64/fpu/Versions: New file.
4290         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
4291         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
4292         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
4293         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
4294         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
4295         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
4296         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
4297         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
4298         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
4299         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
4300         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
4301         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
4302         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
4303         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4304         Added build of SSE, AVX2 and AVX512 IFUNC versions.
4305         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
4306         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
4307         * sysdeps/x86_64/configure.ac: Options for libmvec build.
4308         * sysdeps/x86_64/configure: Regenerated.
4309         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
4310         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
4311         * manual/install.texi (Configuring and compiling): Document
4312         --disable-mathvec.
4313         * INSTALL: Regenerated.
4314         * NEWS: Mention addition of libmvec and x86_64 vector cos.
4316         * math/Makefile: Added rules for vector tests.
4317         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
4318         declaration under condition.
4319         * math/test-double-vlen2.h: New file.
4320         * math/test-double-vlen4.h: New file.
4321         * math/test-double-vlen8.h: New file.
4322         * math/test-vec-loop.h: Added initialization macro.
4323         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
4324         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
4325         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
4326         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
4327         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
4328         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
4329         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
4330         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
4331         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
4332         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
4333         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
4335         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4336         * sysdeps/x86_64/fpu/Versions: New versions added.
4337         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
4338         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
4339         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
4340         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
4341         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
4342         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
4343         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
4344         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
4345         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
4346         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
4347         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
4348         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
4349         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
4350         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4351         Added build of SSE, AVX2 and AVX512 IFUNC versions.
4352         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4353         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
4354         * NEWS: Mention addition of x86_64 vector cosf.
4356         * math/Makefile: Added CFLAGS for new tests.
4357         * math/test-float-vlen16.h: New file.
4358         * math/test-float-vlen4.h: New file.
4359         * math/test-float-vlen8.h: New file.
4360         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
4361         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
4362         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4363         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
4364         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
4365         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
4366         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
4367         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
4368         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
4369         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
4370         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
4372 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
4374         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
4375         * locale/programs/ld-ctype.c: Likewise.
4377 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
4379         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
4380         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
4381         bit_ZMM16_31_state): New macro.
4382         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4383         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
4385 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
4387         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
4389 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
4391         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
4393 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
4395         [BZ #18498]
4396         * libio/memstream.c (open_memstream): Rename to __open_memstream
4397         and define as weak alias of __open_memstream.
4398         * include/stdio.h (__open_memstream): Declare.  Use
4399         libc_hidden_proto.
4400         (open_memstream): Don't use libc_hidden_proto.
4401         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
4402         open_memstream.
4403         * posix/getopt.c (_getopt_internal_r): Likewise.
4404         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
4405         variable.
4406         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
4407         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
4408         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
4410         [BZ #18496]
4411         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
4412         instead of wcrtomb.
4414         [BZ #18483]
4415         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
4416         [__USE_XOPEN2K8].  Remove redundant #endif.
4417         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
4418         Remove redundant #if.
4419         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
4420         Remove variable.
4421         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
4422         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
4424         [BZ #18495]
4425         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
4426         (__iswlower): Likewise.
4427         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
4428         (__iswlower): Likewise.
4429         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
4430         instead of towlower.
4431         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
4432         instead of iswlower.  Call __towupper instead of towupper.
4433         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
4434         instead of iswalnum.
4436 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4438         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
4439         errors to stderr.
4441 2015-06-05  Florian Weimer  <fweimer@redhat.com>
4443         [BZ #15661]
4444         [BZ #17322]
4445         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
4446         Check for overflow properly.  Check for O_APPEND.  Ignore large
4447         file system block sizes.  Add comments about problems.
4448         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
4449         * manual/filesys.texi (Storage Allocation): New node.
4451 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4453         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
4454         cancellable syscalls.
4455         (SYS_ify): Add guard to no redefine it.
4456         (INLINE_SYSCALL): Likewise.
4457         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
4458         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
4459         SYSCALL_CANCEL instead.
4460         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
4461         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
4462         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
4463         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
4464         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
4465         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
4466         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
4467         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
4468         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
4469         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
4470         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
4471         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
4472         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
4473         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
4474         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
4475         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
4476         Likewise.
4477         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
4478         (__libc_pread64): Likewise.
4479         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
4480         (__libc_preadv): Likewise.
4481         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
4482         (__libc_readv64): Likewise.
4483         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
4484         (__libc_pwrite): Likewise.
4485         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
4486         (__libc_pwrite64): Likewise.
4487         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
4488         (__libc_pwritev): Likewise.
4489         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
4490         (__libc_pwritev64): Likewise.
4491         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
4492         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
4493         (sync_file_range): Likewise.
4494         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
4495         Likewise.
4496         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
4497         Likewise.
4498         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
4499         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
4500         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
4501         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
4502         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
4503         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
4504         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
4505         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
4506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
4507         Likewise.
4508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4509         (__libc_read64): Likewise.
4510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
4511         Likewise.
4512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
4513         Likewise.
4514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
4515         Likewise.
4516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
4517         Likewise.
4518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4519         (__libc_pread64): Likewise.
4520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
4521         Likewise.
4522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4523         (__libc_pwrite64): Likewise.
4524         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
4525         (sync_file_range): Likewise.
4526         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
4527         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
4528         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
4529         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
4530         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
4531         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
4532         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
4533         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
4534         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
4535         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4536         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4537         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
4538         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
4539         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
4540         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
4541         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
4542         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
4543         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
4544         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
4545         Likewise.
4546         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
4547         Likewise.
4548         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
4549         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
4550         Likewise.
4551         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
4552         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
4553         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
4554         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
4555         Likewise.
4556         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
4557         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
4558         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
4559         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
4560         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
4562 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
4564         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
4565         Include dl-vdso.
4566         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
4567         Use VDSO routines for gettimeofday, clock_gettime if
4568         available.
4569         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
4570         Declare VDSO symbols.
4571         * sysdeps/unix/sysv/linux/arm/sysdep.h:
4572         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
4573         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4574         * sysdeps/unix/sysv/linux/arm/Versions: Add
4575         __vdso_clock_gettime.
4577 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4579         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
4580         be an inline implementation regardless of library is built within.
4581         (open_not_cancel_2): Likewise.
4582         (__read_nocancel): Likewise.
4583         (__write_nocancel): Likewise.
4584         (openat_not_cancel): Likewise.
4585         (openat_not_cancel_3): Likewise.
4586         (openat64_not_cancel): Likewise.
4587         (openat64_not_cancel_3): Likewise.
4588         (__close_nocancel): Likewise.
4589         (pause_not_cancel): Likewise.
4590         (nanosleep_not_cancel): Likewise.
4591         (sigsuspend_not_cancel): Likewise.
4593 2015-06-04  Torvald Riegel  <triegel@redhat.com>
4595         [BZ #14958]
4596         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
4597         wake-up.
4598         (__pthread_rwlock_rdlock_slow): Likewise.
4599         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4600         Likewise.
4601         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
4602         Likewise.
4603         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
4604         * nptl/tst-rwlock16.c: New file.
4605         * nptl/Makefile (tests): Add new test.
4607 2015-06-04  Torvald Riegel  <triegel@redhat.com>
4609         [BZ #18324]
4610         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
4611         missing wake-up of readers.
4612         * nptl/tst-rwlock15.c: New file.
4613         * nptl/Makefile (tests): Add new test.
4615 2015-06-03  Roland McGrath  <roland@hack.frob.com>
4617         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
4618         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
4619         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
4620         and __nacl_supply_interface_rtld.
4621         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
4622         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
4623         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
4624         Add __nacl_supply_interface_rtld.
4625         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
4627 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
4629         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
4630         isfinite.
4631         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4632         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
4634 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
4636         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
4637         __signbit* with standard C99 macros.
4638         * math/e_exp10l.c: Likewise.
4639         * math/e_exp2l.c: Likewise.
4640         * math/e_scalb.c: Likewise.
4641         * math/e_scalbf.c: Likewise.
4642         * math/e_scalbl.c: Likewise.
4643         * math/s_ldexp.c: Likewise.
4644         * math/s_ldexpf.c: Likewise.
4645         * math/s_ldexpl.c: Likewise.
4646         * math/w_atan2.c: Likewise.
4647         * math/w_atan2f.c: Likewise.
4648         * math/w_atan2l.c: Likewise.
4649         * math/w_cosh.c: Likewise.
4650         * math/w_coshf.c: Likewise.
4651         * math/w_coshl.c: Likewise.
4652         * math/w_exp10.c: Likewise.
4653         * math/w_exp10f.c: Likewise.
4654         * math/w_exp10l.c: Likewise.
4655         * math/w_exp2.c: Likewise.
4656         * math/w_exp2f.c: Likewise.
4657         * math/w_exp2l.c: Likewise.
4658         * math/w_fmod.c: Likewise.
4659         * math/w_fmodf.c: Likewise.
4660         * math/w_fmodl.c: Likewise.
4661         * math/w_hypot.c: Likewise.
4662         * math/w_hypotf.c: Likewise.
4663         * math/w_hypotl.c: Likewise.
4664         * math/w_jnl.c: Likewise.
4665         * math/w_lgamma.c: Likewise.
4666         * math/w_lgamma_r.c: Likewise.
4667         * math/w_lgammaf.c: Likewise.
4668         * math/w_lgammaf_r.c: Likewise.
4669         * math/w_lgammal.c: Likewise.
4670         * math/w_lgammal_r.c: Likewise.
4671         * math/w_pow.c: Likewise.
4672         * math/w_powf.c: Likewise.
4673         * math/w_powl.c: Likewise.
4674         * math/w_remainder.c: Likewise.
4675         * math/w_remainderf.c: Likewise.
4676         * math/w_remainderl.c: Likewise.
4677         * math/w_scalb.c: Likewise.
4678         * math/w_scalbf.c: Likewise.
4679         * math/w_scalbl.c: Likewise.
4680         * math/w_scalbln.c: Likewise.
4681         * math/w_scalblnf.c: Likewise.
4682         * math/w_scalblnl.c: Likewise.
4683         * math/w_sinh.c: Likewise.
4684         * math/w_sinhf.c: Likewise.
4685         * math/w_sinhl.c: Likewise.
4686         * math/w_tgamma.c: Likewise.
4687         * math/w_tgammaf.c: Likewise.
4688         * math/w_tgammal.c: Likewise.
4689         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4690         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
4691         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4692         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4693         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4694         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4695         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4696         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4697         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4698         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4699         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4700         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4701         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4702         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4703         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4704         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4705         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4706         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4707         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4708         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4709         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4710         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4711         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4712         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4713         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4714         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4715         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
4716         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4717         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4718         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4719         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
4720         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
4721         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
4722         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
4723         * stdio-common/printf_fp.c: Likewise.
4724         * stdio-common/printf_fphex.c: Likewise.
4725         * stdio-common/printf_size.c: Likewise.
4727 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
4729         [BZ #18470]
4730         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
4731         strnlen.
4732         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
4733         Remove variable.
4734         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4735         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4736         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4737         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4738         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4739         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4740         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4741         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4742         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4743         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4745         [BZ #18468]
4746         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
4747         weak alias of __wmemchr.  Use libc_hidden_weak.
4748         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
4749         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
4750         instead of wmemchr.
4752 2015-06-02  Roland McGrath  <roland@hack.frob.com>
4754         [BZ #18383]
4755         * elf/tst-tlsalign-extern.c: New file.
4756         * elf/tst-tlsalign-extern-static.c: New file.
4757         * elf/tst-tlsalign-vars.c: New file.
4758         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
4759         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
4760         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
4761         ($(objpfx)tst-tlsalign-extern-static): Likewise.
4762         (test-xfail-tst-tlsalign-extern-static): New variable.
4764 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
4766         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
4767         Use variable name _sc_err instead of err.
4768         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
4769         instead of ret.
4770         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
4771         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
4772         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
4773         (INLINE_SYSCALL): Likewise.
4775         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
4776         * include/string.h (__strnlen): Use libc_hidden_proto.
4777         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
4778         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
4779         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
4780         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
4781         (libc_hidden_def): Undefine and redefine.
4782         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
4783         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
4784         __GI_strnlen.
4785         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
4786         libc_hidden_def.
4787         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
4789         [BZ #18469]
4790         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
4791         weak alias of __towlower.  Use libc_hidden_weak.
4792         (towupper): Rename to __towupper and define as weak alias of
4793         __towupper.  Use libc_hidden_weak.
4794         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
4795         (__towupper): Likewise.
4796         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
4797         __towlower instead of towlower.
4799 2015-06-02  Roland McGrath  <roland@hack.frob.com>
4801         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
4802         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
4804 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4806         * sysdeps/aarch64/libm-test-ulps: Update.
4808 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4810         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
4811         Define.
4812         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4813         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
4814         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
4815         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4816         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
4817         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
4818         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
4820 2015-06-01  Martin Sebor  <msebor@redhat.com>
4822         [BZ #18116]
4823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
4824         (__setcontext): Use extended four-operand version of mtsf whenever
4825         possible.
4826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
4827         (__novec_swapcontext): Likewise.
4829 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
4831         * benchtests/scripts/compare_bench.py: New file.
4832         * benchtests/scripts/import_bench.py (mean): New function.
4833         (split_list): Likewise.
4834         (do_for_all_timings): Likewise.
4835         (compress_timings): Likewise.
4837         * benchtests/scripts/import_bench.py: New file.
4838         * benchtests/scripts/validate_benchout.py: Import import_bench
4839         instead of jsonschema.
4840         (validate_bench): Remove function.
4841         (main): Use import_bench.
4843 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
4845         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
4846         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
4848 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4850         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4852 2015-05-28  Roland McGrath  <roland@hack.frob.com>
4854         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
4855         set THREAD_SELF->tid to a magic value and futex-wake it.
4856         Pass its address to the thread_exit system call.
4857         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
4858         bit is clear.
4859         * sysdeps/nacl/lowlevellock.h: New file.
4860         * sysdeps/nacl/lll_timedwait_tid.c: New file.
4862         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
4863         Add TIMEOUT to current time, don't subtract it.
4865 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
4867         [BZ #2981]
4868         [BZ #18422]
4869         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
4870         ($(objpfx)tst-audit2.out): Also depend on
4871         $(objpfx)tst-auditmod9b.so.
4872         * elf/tst-audit2.c: Include <dlfcn.h>.
4873         (calloc_called): New.
4874         (calloc): Allow to be called more than once.
4875         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
4877 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
4879         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
4880         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
4882 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
4884         * stdlib/monetary.h: Fix comment.
4886 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
4888         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
4889         Avoid using variables in #defines that might cause shadowing.
4890         (INTERNAL_VSYSCALL_CALL): Likewise.
4892 2015-05-26  Roland McGrath  <roland@hack.frob.com>
4894         * sysdeps/nacl/lll_timedlock_wait.c: New file.
4896         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
4897         * nptl/lll_timedlock_wait.c: ... to this new file.
4898         * nptl/Makefile (libpthread-routines): Add it.
4899         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
4900         * nptl/lll_timedwait_tid.c: ... to this new file.
4901         * nptl/Makefile (libpthread-routines): Add it.
4902         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
4903         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
4904         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
4905         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
4906         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
4907         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
4908         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
4909         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
4910         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
4911         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
4913 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4915         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
4916         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4917         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
4918         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
4919         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
4920         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
4921         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4922         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
4923         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4924         * sysdeps/unix/sysv/linux/tile/sysdep.h
4925         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4926         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
4927         using vDSO syscall macro.
4929 2015-05-26  Andriy Rysin  <arysin@gmail.com>
4931         [BZ #17293]
4932         * uk_UA: Fix sorting order for Ukrainian locale
4934 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
4936         * stdlib/monetary.h: Fix comment.
4938 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4940         [BZ #18234]
4941         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
4942         st_mtim and st_ctim members.
4943         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
4944         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
4945         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
4946         (struct stat64): Likewise.
4947         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
4948         (struct stat64): Likewise.
4949         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
4950         (struct stat64): Likewise.
4952 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4954         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
4955         Define and include sysdep-vdso.h.
4956         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
4957         Likewise.
4958         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
4959         Likewise.
4960         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
4961         Define with VDSO_SYMBOL and use PTR_MANGLE.
4962         (__vdso_clock_gettime): Likewise.
4963         (__vdso_clock_getres): Likewise.
4964         (_libc_vdso_platform_setup): Likewise.
4965         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
4966         Likewise.
4967         (_libc_vdso_platform_setup): Likewise.
4968         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
4969         Likewise.
4970         (__vdso_clock_gettime): Likewise.
4971         (__vdso_clock_getres): Likewise.
4972         (__vdso_get_tbfreq): Likewise.
4973         (__vdso_getcpu): Likewise.
4974         (__vdso_time): Likewise.
4975         (__vdso_sigtramp_rt64): Likewise.
4976         (__vdso_signtramp32): Likewise.
4977         (__vdso_sigtramp_rt32): Likewise.
4978         (_libc_vdso_platform_setup): Likewise.
4979         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
4980         Likewise.
4981         (__vdso_clock_gettime): Likewise.
4982         (__vdso_clock_getres): Likewise.
4983         (_libc_vdso_platform_setup): Likewise.
4984         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
4985         Likewise.
4986         (__vdso_clock_gettime): Likewise.
4987         (_libc_vdso_platform_setup): Likewise.
4988         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
4989         Likewise.
4990         (__vdso_getcpu): Likewise.
4991         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
4992         Use VDSO_SYMBOL macro to define.
4993         (__vdso_clock_gettime): Likewise.
4994         (__vdso_clock_getres): Likewise.
4995         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
4996         Likewise.
4997         (__vdso_clock_gettime): Likewise.
4998         (__vdso_clock_getres): Likewise.
4999         (__vdso_get_tbfreq): Likewise.
5000         (__vdso_getcpu): Likewise.
5001         (__vdso_time): Likewise.
5002         (__vdso_sigtramp_rt64): Likewise.
5003         (__vdso_signtramp32): Likewise.
5004         (__vdso_sigtramp_rt32): Likewise.
5005         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
5006         Likewise.
5007         (__vdso_clock_gettime): Likewise.
5008         (__vdso_clock_getres): Likewise.
5009         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
5010         Likewise.
5011         (__vdso_clock_gettime): Likewise.
5012         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
5013         Likewise.
5014         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
5015         macro.
5016         (INTERNAL_VSYSCALL): Likewise.
5017         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
5018         Remove macro.
5019         (INTERNAL_VSYSCALL): Likewise.
5020         (INTERNAL_VSYSCALL_NCS): Likewise.
5021         (INTERNAL_VSYSCALL_CALL): New macro.
5022         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
5023         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
5024         Likewise.
5025         (INTERNAL_VSYSCALL): Likewise.
5026         (INTERNAL_VSYSCALL_NCS): Likewise.
5027         (INTERNAL_VSYSCALL_CALL): New macro.
5028         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
5029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5030         (INLINE_VSYSCALL): Remove macro.
5031         (INTERNAL_VSYSCALL): Remove macro.
5032         (INTERNAL_VSYSCALL_NCS): Remove macro.
5033         (INTERNAL_VSYSCALL_CALL): New macro.
5034         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
5035         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
5036         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
5037         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
5038         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
5039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5040         (INLINE_VSYSCALL): Remove macro.
5041         (INTERNAL_VSYSCALL): Likewise.
5042         (INTERNAL_VSYSCALL_NCS): Likewise.
5043         (INTERNAL_VSYSCALL_CALL): New macro.
5044         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
5045         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
5046         PTR_DEMANGLE on vDSO pointer.
5047         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
5048         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
5049         macro.
5050         (INTERNAL_SYSCALL): Likewise.
5051         (INTERNAL_VSYSCALL_NCS): Remove macro.
5052         (INTERNAL_VSYSCALL_CALL): New macro.
5053         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
5054         Remove macro.
5055         (INTERNAL_VSYSCALL): Likewise.
5056         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
5057         sysdep-vdso.h instead of libc-vdso.h.
5058         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
5059         definition.
5060         (INLINE_VSYSCALL): Likewise.
5061         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
5062         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
5063         definition.
5064         (INLINE_VSYSCALL): Likewise.
5065         (INTERNAL_VSYSCALL): Likewise.
5066         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
5067         * sysdeps/unix/sysv/linux/timespec_get.c
5068         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
5069         (timespec_get): Use ANSI prototype.
5070         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
5071         and definition for Linux.
5073 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
5075         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
5076         * include/libc-symbols.h: libmvec_hidden_* macro series added.
5078 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
5080         [BZ #2981]
5081         [BZ #18410]
5082         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
5083         for missing DT_PLTRELSZ.
5085 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
5087         Remove obsolete aliases that broke 'locale -a'
5088         [BZ #18412]
5089         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
5090         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
5091         breaking some applications that use 'locale -a' output.
5092         Change the encoding of this file from Latin-1 to ASCII to avoid
5093         other potential problems with people grepping this file.
5095 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5097         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
5098         -fasynchronous-unwind-tables.
5099         (CFLAGS-sendto.c): Likewise.
5100         (CFLAGS-sendmsg.c): Likewise.
5101         (CFLAGS-connect.c): Likewise.
5102         (CFLAGS-recvmsg.c): Likewise.
5103         (CFLAGS-recvfrom.c): Likewise.
5104         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
5105         (SOCKETCALL): New macro: non-cancellable socketcall.
5106         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
5107         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
5108         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
5109         * sysdeps/unix/sysv/linux/accept.c: New file.
5110         * sysdeps/unix/sysv/linux/bind.c: Likewise.
5111         * sysdeps/unix/sysv/linux/connect.c: Likewise.
5112         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
5113         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
5114         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
5115         * sysdeps/unix/sysv/linux/listen.c: Likewise.
5116         * sysdeps/unix/sysv/linux/recv.c: Likewise.
5117         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
5118         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
5119         * sysdeps/unix/sysv/linux/send.c: Likewise.
5120         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
5121         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
5122         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
5123         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
5124         * sysdeps/unix/sysv/linux/socket.c: Likewise.
5125         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
5126         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
5127         prototype.
5128         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
5129         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5130         instead of __internal_xxx function.
5131         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
5132         prototype.
5133         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
5134         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5135         instead of __internal_xxx function.
5136         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
5137         prototype.
5138         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
5139         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5140         instead of __internal_xxx function.
5141         * sysdeps/unix/sysv/linux/accept.S: Remove file.
5142         * sysdeps/unix/sysv/linux/bind.S: Likewise.
5143         * sysdeps/unix/sysv/linux/connect.S: Likewise.
5144         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
5145         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
5146         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
5147         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
5148         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
5149         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
5150         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
5151         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
5152         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5153         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
5154         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
5155         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
5156         * sysdeps/unix/sysv/linux/listen.S: Likewise.
5157         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
5158         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
5159         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
5160         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
5161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
5162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
5163         * sysdeps/unix/sysv/linux/recv.S: Likewise.
5164         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
5165         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
5166         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
5167         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
5168         * sysdeps/unix/sysv/linux/send.S: Likewise.
5169         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
5170         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
5171         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
5172         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
5173         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
5174         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
5175         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
5176         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
5177         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
5178         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
5179         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
5180         socketcall is implemented in GLIBC.
5182 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
5184         * soft-fp/fmadf4.c: Include <libc-internal.h>.
5185         (__fma): Ignore uninitialized warnings around packing.
5186         * soft-fp/fmasf4.c: Include <libc-internal.h>.
5187         (__fmaf): Ignore uninitialized warnings around packing.
5188         * soft-fp/fmatf4.c: Include <libc-internal.h>.
5189         (__fmal): Ignore uninitialized warnings around packing.
5191         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
5192         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
5193         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
5194         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
5196         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
5197         switch statement into default case.
5198         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
5200         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
5201         a conditional in forcing "inexact".
5202         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
5203         Likewise.
5205 2015-05-22  Roland McGrath  <roland@hack.frob.com>
5207         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5208         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
5209         for each INTERNAL_SYSCALL use.
5211 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
5213         [BZ #438]
5214         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
5215         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
5216         variable.
5218         [BZ #18444]
5219         * string/basename.c (basename): Rename to __basename and define as
5220         weak alias of __basename.  Use libc_hidden_weak.
5221         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
5222         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
5223         __basename instead of basename.
5224         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
5225         Remove variable.
5226         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
5228 2015-05-18  Florian Weimer  <fweimer@redhat.com>
5230         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
5231         (_IO_JUMPS_FILE_plus): New.
5232         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
5233         _IO_CAST_FIELD_ACCESS.
5234         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
5235         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
5236         * libio/freopen.c (freopen): Likewise.
5237         * libio/freopen64.c (freopen64): Likewise.
5238         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
5239         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
5240         * libio/iofwide.c (_IO_fwide): Likewise.
5241         * libio/memstream.c (open_memstream): Likewise.
5242         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
5243         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
5244         * libio/oldiopopen.c (_IO_old_popen): Likewise.
5246 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
5248         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
5249         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
5250         NADJ.
5251         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
5252         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
5253         NADJ.
5254         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
5255         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
5256         NADJ.
5258         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
5259         (p == 4) case.
5261         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
5262         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
5263         Remove variable.
5264         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
5265         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
5266         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
5268 2015-05-21  Florian Weimer  <fweimer@redhat.com>
5270         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
5271         Adjust jump table label generation macros.
5273 2015-05-21  Florian Weimer  <fweimer@redhat.com>
5275         * stdio-common/vfprintf.c (vfprintf): Move local variables
5276         args_malloced, specs, specs_malloced, and the code after
5277         do_positional to the printf_positional function.
5278         (printf_positional): New function.
5280 2015-05-21  Florian Weimer  <fweimer@redhat.com>
5282         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
5283         function.
5284         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
5285         STEP4_TABLE, process_arg): Move macro definitions
5286         out of the vfprintf function.  (Cosmetic change only.)
5288 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
5290         * benchtests/Makefile (stdio-common-bench): Define.
5291         (benchset): Add stdio-common-bench.
5292         * sprintf-inputs: New file.
5293         * sprintf-source.c: New file.
5295 2015-05-21  Andreas Schwab  <schwab@suse.de>
5297         [BZ #13028]
5298         [BZ #17053]
5299         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
5300         of struct __res_state.
5301         * resolv/res_send.c (__libc_res_nsend): Likewise.
5302         (get_nsaddr): New function.
5303         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
5304         statp directly.
5306 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
5308         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
5309         -D_POSIX_C_SOURCE=199506L.
5311         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
5313         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
5314         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
5315         Do not mention otherwise.
5316         [POSIX] (_XOPEN_VERSION): Do not expect.
5317         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
5318         [POSIX] (_POSIX2_C_BIND): Likewise.
5319         [POSIX] (_POSIX2_VERSION): Likewise.
5320         [POSIX] (_XOPEN_XPG2): Likewise.
5321         [POSIX] (_XOPEN_XPG3): Likewise.
5322         [POSIX] (_XOPEN_XPG4): Likewise.
5323         [POSIX] (_XOPEN_UNIX): Likewise.
5324         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
5325         [POSIX] (_POSIX_BARRIERS): Likewise.
5326         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
5327         [POSIX] (_POSIX_CPUTIME): Likewise.
5328         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
5329         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
5330         [POSIX] (_POSIX_SHELL): Likewise.
5331         [POSIX] (_POSIX_SPAWN): Likewise.
5332         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
5333         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
5334         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
5335         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
5336         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
5337         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
5338         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
5339         [POSIX] (_XBS5_LP64_OFF64): Likewise.
5340         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
5341         [POSIX] (_POSIX_TIMEOUTS): Likewise.
5342         [POSIX] (_POSIX2_PBS): Likewise.
5343         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
5344         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
5345         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
5346         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
5347         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
5348         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
5349         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
5350         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
5351         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
5352         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
5353         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
5354         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
5355         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
5356         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
5357         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
5358         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
5359         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
5360         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
5361         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
5362         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
5363         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
5364         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
5365         [POSIX] (_SC_2_C_BIND): Likewise.
5366         [POSIX] (_SC_2_C_VERSION): Likewise.
5367         [POSIX] (_SC_2_PBS): Likewise.
5368         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
5369         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
5370         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
5371         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
5372         [POSIX] (_SC_2_PBS_TRACK): Likewise.
5373         [POSIX] (_SC_ATEXIT_MAX): Likewise.
5374         [POSIX] (_SC_BARRIERS): Likewise.
5375         [POSIX] (_SC_BASE): Likewise.
5376         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
5377         [POSIX] (_SC_DEVICE_IO): Likewise.
5378         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
5379         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
5380         [POSIX] (_SC_FD_MGMT): Likewise.
5381         [POSIX] (_SC_FIFO): Likewise.
5382         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
5383         [POSIX] (_SC_FILE_LOCKING): Likewise.
5384         [POSIX] (_SC_FILE_SYSTEM): Likewise.
5385         [POSIX] (_SC_IOV_MAX): Likewise.
5386         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
5387         [POSIX] (_SC_NETWORKING): Likewise.
5388         [POSIX] (_SC_PAGE_SIZE): Likewise.
5389         [POSIX] (_SC_PASS_MAX): Likewise.
5390         [POSIX] (_SC_PIPE): Likewise.
5391         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
5392         [POSIX] (_SC_REGEXP): Likewise.
5393         [POSIX] (_SC_SHELL): Likewise.
5394         [POSIX] (_SC_SIGNALS): Likewise.
5395         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
5396         [POSIX] (_SC_SPIN_LOCKS): Likewise.
5397         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
5398         [POSIX] (_SC_USER_GROUPS): Likewise.
5399         [POSIX] (_SC_USER_GROUPS_R): Likewise.
5400         [POSIX] (_SC_STREAMS): Likewise.
5401         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
5402         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
5403         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
5404         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
5405         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
5406         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
5407         [POSIX] (_PC_FILESIZEBITS): Likewise.
5408         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
5409         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
5410         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
5411         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
5412         [POSIX] (uid_t): Likewise.
5413         [POSIX] (gid_t): Likewise.
5414         [POSIX] (off_t): Likewise.
5415         [POSIX] (pid_t): Likewise.
5416         [POSIX] (cuserid): Allow.
5417         (_SC_2_CHAR_TERM): Require constant.
5418         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
5419         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
5420         variable.
5422 2015-05-20  Roland McGrath  <roland@hack.frob.com>
5424         * sysdeps/nacl/pthread-pids.h: New file.
5425         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
5426         (create_thread): Use __nacl_get_tid to initialize PD->tid.
5428         * nptl/pthread-pids.h: New file.
5429         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
5430         * nptl/nptl-init.c: Include <pthread-pids.h>.
5431         (__pthread_initialize_minimal_internal):
5432         Call __pthread_initialize_pids instead of set_tid_address syscall.
5434         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
5435         * sysdeps/posix/usleep.c: ... here.
5437 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5439         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
5440         call_pselect6 object.
5441         [$(subdir) = io]: Remove call_sync_file_range object.
5442         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
5443         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
5444         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
5445         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
5447 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
5449         * math/s_cproj.c: Add include "math_private.h".
5450         * math/s_cprojf.c: Likewise.
5451         * math/s_cprojl.c: Likewise.
5453 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
5455         [BZ #18244]
5456         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
5457         high mantissa bit when testing whether P is a NaN.
5458         * math/libm-test.inc (remainder_test_data): Add more tests.
5459         (remquo_test_data): Likewise.
5461         [BZ #18049]
5462         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
5463         below -32, return the argument, with underflow if subnormal.
5464         * math/auto-libm-test-in: Add more tests of atanh.
5465         * math/auto-libm-test-out: Regenerated.
5467 2015-05-19  Roland McGrath  <roland@hack.frob.com>
5469         [BZ #18434]
5470         * nptl/tst-sem15.c: New file.
5471         * nptl/Makefile (tests): Add it.
5472         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
5473         s/<</>>/ to fix typo in EOVERFLOW check.
5474         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
5476 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5478         * manual/strings.texi (envz_remove): Fix typo in safety
5479         annotations.
5481 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
5482             Steve Ellcey  <sellcey@imgtec.com>
5484         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
5485         in order to avoid strict alias warnings.
5486         (iruserok_af): Ditto for ra.
5488 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
5490         [BZ #17581]
5491         * malloc/hooks.c
5492         (magicbyte): Convert to a function and avoid returning 0x01.
5493         (mem2mem_check): Avoid using a length byte equal to the magic byte.
5494         (mem2chunk_check): Fix unsigned comparisons to zero.
5495         Hoist defs of sz and magic.
5497 2015-05-19  Richard Henderson  <rth@redhat.com>
5499         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
5501         * sysdeps/alpha/fpu/libm-test-ulps: Update.
5503 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5505         [BZ #16159]
5506         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
5507         * malloc/arena.c (arena_lock): Check if arena is corrupt.
5508         (reused_arena): Find a non-corrupt arena.
5509         (heap_trim): Pass arena to unlink.
5510         * malloc/hooks.c (malloc_check_get_size): Pass arena to
5511         malloc_printerr.
5512         (top_check): Likewise.
5513         (free_check): Likewise.
5514         (realloc_check): Likewise.
5515         * malloc/malloc.c (malloc_printerr): Add arena argument.
5516         (unlink): Likewise.
5517         (munmap_chunk): Adjust.
5518         (ARENA_CORRUPTION_BIT): New macro.
5519         (arena_is_corrupt): Likewise.
5520         (set_arena_corrupt): Likewise.
5521         (sysmalloc): Use mmap if there are no usable arenas.
5522         (_int_malloc): Likewise.
5523         (__libc_malloc): Don't fail if arena_get returns NULL.
5524         (_mid_memalign): Likewise.
5525         (__libc_calloc): Likewise.
5526         (__libc_realloc): Adjust for additional argument to
5527         malloc_printerr.
5528         (_int_free): Likewise.
5529         (malloc_consolidate): Likewise.
5530         (_int_realloc): Likewise.
5531         (_int_memalign): Don't touch corrupt arenas.
5532         * malloc/tst-malloc-backtrace.c: New test case.
5534         * Makefile (summarize-tests): Fix return value on success.
5536         * manual/string.texi (Envz Functions): Add envz_remove.
5538 2015-05-18  Roland McGrath  <roland@hack.frob.com>
5540         * sysdeps/posix/opendir.c: Include <stdbool.h>.
5541         (invalid_name): New function, broken out of ...
5542         (__opendirat): ... here.  Call it.
5543         (need_isdir_precheck): New function, broken out of ...
5544         (__opendirat): ... here.  Call it.
5545         Use __fxstatat64, not __xstatat64.
5546         (opendir_oflags): New function, broken out of ...
5547         (__opendirat): ... here.  Call it.
5548         (opendir_tail): New function, broken out of ...
5549         (__opendirat): ... here.  Call it.
5550         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
5551         opendir_tail, rather than punting to __opendirat.
5552         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
5554 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5556         * .gitignore: Ignore generated *.pyc.
5558 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
5560         * include/stdio.h: Define __need_wint_t.
5561         * test-skeleton.c: Avoid `for' loop initial declaration.
5562         * nptl/tst-initializers1.c: Use test-skeleton.c.
5564 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5566         [BZ #18418]
5567         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
5569 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
5571         [BZ #16352]
5572         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
5573         (__ieee754_atanh): Force underflow exception for results with
5574         small absolute value.
5575         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
5576         (__ieee754_atanhf): Force underflow exception for results with
5577         small absolute value.
5578         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
5579         (__ieee754_atanh): Force underflow exception for results with
5580         small absolute value.
5581         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
5582         (__ieee754_atanhf): Force underflow exception for results with
5583         small absolute value.
5584         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
5585         (__ieee754_atanhl): Force underflow exception for results with
5586         small absolute value.
5587         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
5588         (__ieee754_atanhl): Force underflow exception for results with
5589         small absolute value.
5590         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
5591         (__ieee754_atanhl): Force underflow exception for results with
5592         small absolute value.
5593         * math/auto-libm-test-in: Do not allow missing underflow
5594         exceptions from atanh.
5595         * math/auto-libm-test-out: Regenerated.
5597         [BZ #18221]
5598         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
5599         2**-28 as threshold for returning x or +/- 1/x.
5600         * math/auto-libm-test-in: Add more tests of tan.
5601         * math/auto-libm-test-out: Regenerated.
5603         [BZ #18220]
5604         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5605         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
5606         * math/auto-libm-test-in: Add another test of lgamma.
5607         * math/auto-libm-test-out: Regenerated.
5609 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
5611         * stdio-common/printf_fp.c (___printf_fp): Use abs.
5612         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
5613         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
5614         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
5615         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
5616         (ADD2A): Use fabs.  (SUB2A): Use fabs.
5617         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
5618         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
5619         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
5620         (log1): Use fabs.  (my_log2): Use fabs.
5621         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
5622         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
5623         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
5624         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
5625         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
5626         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
5627         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
5628         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
5629         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
5630         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
5631         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
5633 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
5635         [BZ #18217]
5636         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
5637         as threshold for returning 1 - x.
5638         * math/auto-libm-test-in: Add more tests of erfc.
5639         * math/auto-libm-test-out: Regenerated.
5641 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
5643         [BZ #18196]
5644         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
5645         threshold for large arguments.
5646         * math/auto-libm-test-in: Add another test of atan.
5647         * math/auto-libm-test-out: Regenerated.
5649         [BZ #16339]
5650         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
5651         (__log1p): Force underflow exception for results with small
5652         absolute value.
5653         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
5654         (__log1pf): Force underflow exception for results with small
5655         absolute value.
5656         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
5657         (__log1p): Force underflow exception for results with small
5658         absolute value.
5659         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
5660         (__log1pf): Force underflow exception for results with small
5661         absolute value.
5662         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
5663         (__log1pl): Force underflow exception for results with small
5664         absolute value.
5665         * math/auto-libm-test-in: Do not allow missing underflow
5666         exceptions from log1p.
5667         * math/auto-libm-test-out: Regenerated.
5669 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
5670             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5672         [BZ #16704]
5673         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
5675 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
5677         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
5678         (libmvec): New variable.
5679         * configure.ac: Added option for mathvec build.
5680         * configure: Regenerated.
5681         * mathvec/Depend: New file.
5682         * mathvec/Makefile: New file.
5683         * shlib-versions: Added libmvec.
5684         * math/Makefile: Added rule for libm.so installation.
5686         * bits/math-vector.h: New file.
5687         * bits/libm-simd-decl-stubs.h: New header.
5688         * math/Makefile (headers): Added new header
5689         libm-simd-decl-stubs.h.
5690         * math/math.h (__MATHCALL_VEC): New macro.
5692         * math/gen-libm-have-vector-test.sh: Script generates series of macros
5693         for conditions in testing functions.
5694         * math/Makefile: Added call of libm-have-vector-test.sh.
5695         * math/libm-test.inc (HAVE_VECTOR): New macros.
5697         * math/libm-test.inc: START refactored.
5698         * math/test-double.c (TEST_MATHVEC): Add define.
5699         * math/test-float.c: Likewise.
5700         * math/test-idouble.c: Likewise.
5701         * math/test-ifloat.c: Likewise.
5702         * math/test-ildoubl.c: Likewise.
5703         * math/test-ldouble.c: Likewise.
5704         * sysdeps/generic/math-tests-arch.h
5705         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
5706         architecture check.
5708         * math/test-double.c (FUNC_TEST): New macro.
5709         * math/test-float.c: Likewise.
5710         * math/test-idouble.c: Likewise.
5711         * math/test-ifloat.c: Likewise.
5712         * math/test-ildoubl.c: Likewise.
5713         * math/test-ldouble.c: Likewise.
5714         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
5716 2015-05-13  Roland McGrath  <roland@hack.frob.com>
5718         * sysdeps/nacl/fdopendir.c: New file.
5720         * dirent/scandir-tail.c: New file.
5721         * dirent/scandir64-tail.c: New file.
5722         * dirent/Makefile (routines): Add them.
5723         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
5724         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
5725         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
5726         [!SCANDIR] (SCANDIR_TAIL): New macro.
5727         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
5728         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
5729         (SCANDIRAT): Macro removed.
5730         (SCANDIR_TAIL): New macro.
5731         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
5732         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
5733         (SCANDIRAT): Just call __opendirat and __scandir_tail.
5734         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
5735         (READDIR): Macro removed.
5736         (SCANDIR_TAIL): New macro.
5737         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
5738         (SCANDIR_TAIL): New macro.
5740         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
5741         * dirent/scandir-cancel.c: ... to this new file.
5742         * dirent/Makefile (routines): Add it.
5743         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
5744         * sysdeps/unix/sysv/linux/i386/scandir64.c
5745         (SKIP_SCANDIR_CANCEL): Macro removed.
5746         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
5748         * dirent/tst-scandir.c: New file.
5749         * dirent/tst-scandir64.c: New file.
5750         * dirent/Makefile (tests): Add them.
5752 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
5754         [BZ #18409]
5755         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
5757 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5759         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
5760         list.
5762 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
5764         * benchtests/bench-strcoll.c: New benchmark.
5765         * benchtests/Makefile: Generate locales and run benchmark.
5766         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
5767         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
5768         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
5769         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
5770         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
5771         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
5772         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
5773         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
5774         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
5775         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
5776         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
5777         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
5778         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
5779         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
5780         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
5781         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
5782         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
5783         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
5784         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
5785         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
5786         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
5787         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
5788         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
5789         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
5791 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
5793         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
5794         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5796 2015-05-12  Roland McGrath  <roland@hack.frob.com>
5798         * posix/uname-values.h: New file.
5799         * posix/uname.c: Include that instead of <config-name.h>.
5800         * sysdeps/nacl/uname-values.h: New file.
5801         * sysdeps/arm/nacl/uname-values.h: New file.
5803 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
5805         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
5806         splitting into fields.
5808 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
5810         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
5811         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
5812         * locale/localeinfo.h: Add enum collation_encoding_type.
5813         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
5814         * programs/ld-collate.c (collate_output): Add encoding type info.
5815         * string/strcoll_l.c (STRDIFF): New function.
5816         * (STRCOLL): Use STRDIFF to skip over equal prefix.
5817         * wcsmbs/wcscoll_l.c: Define STRDIFF.
5819 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
5821         [BZ #18397]
5822         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
5823         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
5824         <fpu_control.h> instead of <math/fpu_control.c>.
5825         * sysdeps/mips/mips32/fpu/Makefile: New file.
5827 2015-05-11  Andreas Schwab  <schwab@suse.de>
5829         [BZ #18007]
5830         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
5831         nss_endgrent.
5832         (_nss_compat_endgrent): Call nss_endgrent.
5833         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
5834         nss_endpwent.
5835         (_nss_compat_endpwent): Call nss_endpwent.
5836         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
5837         needent, call nss_setspent only if non-zero.
5838         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
5839         (internal_endspent): Don't call nss_endspent.
5840         (_nss_compat_endspent): Call nss_endspent.
5841         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
5842         Remove.  All uses removed.
5843         (internal_setent): Remove parameter stayopen, add parameter
5844         stream.  Use it instead of global variable.
5845         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
5846         (internal_endent, internal_getent): Add parameter stream.  Use it
5847         instead of global variable.
5848         (CONCAT(_nss_files_end,ENTNAME))
5849         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
5850         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
5851         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
5852         uses removed.
5853         (internal_setent, internal_endent): Add parameter stream.  Use it
5854         instead of global variable.
5855         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
5856         stream.
5857         (get_next_alias): Add parameter stream.
5858         (_nss_files_getaliasent_r): Pass global stream.
5859         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
5860         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
5861         (_nss_files_gethostbyname4_r): Pass local stream to
5862         internal_setent, internal_getent and internal_endent.  Remove
5863         locking.
5865 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5867         * tst-strfmon1.c (tests): Update expected currency symbol.
5869 2015-05-08  Roland McGrath  <roland@hack.frob.com>
5871         * sysdeps/nacl/gethostname.c: New file.
5873 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
5875         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
5876         and sinh.
5877         * math/auto-libm-test-out: Regenerated.
5878         * sysdeps/i386/fpu/libm-test-ulps: Update.
5879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5881 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
5883         [BZ #18125]
5884         * stdlib/tst-setcontext3.c: New file.
5885         * stdlib/tst-setcontext3.sh: New file.
5886         * stdlib/Makefile (tests): Add tst-setcontext3.
5887         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
5888         to verify test program created output file.
5889         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
5890         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
5891         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
5892         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
5894 2015-05-06  Roland McGrath  <roland@hack.frob.com>
5896         [BZ #18383]
5897         * elf/tst-tlsalign.c: New file.
5898         * elf/tst-tlsalign-static.c: New file.
5899         * elf/tst-tlsalign-lib.c: New file.
5900         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
5901         (tests-static): Add tst-tlsalign-static.
5902         (modules-names): Add tst-tlsalign-lib.
5903         (test-xfail-tst-tlsalign): New variable.
5904         (test-xfail-tst-tlsalign-static): New variable.
5906         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
5907         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
5909 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
5911         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
5912         csqrt, erfc, sin and sincos.
5913         * math/auto-libm-test-out: Regenerated.
5914         * sysdeps/i386/fpu/libm-test-ulps: Update.
5915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5917 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5919         * sysdeps/aarch64/libm-test-ulps: Update.
5921 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
5923         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
5924         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
5925         * math/auto-libm-test-out: Regenerated.
5926         * sysdeps/i386/fpu/libm-test-ulps: Update.
5927         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5929 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
5931         [BZ #18265]
5932         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
5933         (wcsncpy): Likewise.
5935 2015-05-05  Florian Weimer  <fweimer@redhat.com>
5937         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
5938         Assume __ASSUME_FALLOCATE is always true.
5939         * sysdeps/unix/sysv/linux/posix_fallocate64.c
5940         (__posix_fallocate64_l64): Likweise.
5941         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
5942         (posix_fallocate): Likewise.
5943         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
5944         (__posix_fallocate64_l64): Likewise.
5945         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5946         [!__ASSUME_FALLOCATE]: Add comment.
5948 2015-05-05  Florian Weimer  <fweimer@redhat.com>
5950         * sysdeps/unix/sysv/linux/i386/Makefile
5951         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
5952         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
5953         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
5954         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
5955         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
5956         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
5957         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
5959 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
5961         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
5962         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
5963         tgamma.
5964         * math/auto-libm-test-out: Regenerated.
5965         * sysdeps/i386/fpu/libm-test-ulps: Update.
5966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5968 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
5970         * math/auto-libm-test-in: Add more tests of tgamma.
5971         * math/auto-libm-test-out: Regenerated.
5972         * sysdeps/i386/fpu/libm-test-ulps: Update.
5973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5975         * math/auto-libm-test-in: Add more tests of tanh.
5976         * math/auto-libm-test-out: Regenerated.
5977         * sysdeps/i386/fpu/libm-test-ulps: Update.
5978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5980         * math/auto-libm-test-in: Add more tests of tan.
5981         * math/auto-libm-test-out: Regenerated.
5982         * sysdeps/i386/fpu/libm-test-ulps: Update.
5983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5985         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
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 another test of pow.
5991         * math/auto-libm-test-out: Regenerated.
5992         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5994         * math/auto-libm-test-in: Add more tests of lgamma.
5995         * math/auto-libm-test-out: Regenerated.
5996         * sysdeps/i386/fpu/libm-test-ulps: Update.
5997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5999         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
6000         log1p.
6001         * math/auto-libm-test-out: Regenerated.
6002         * sysdeps/i386/fpu/libm-test-ulps: Update.
6003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6005 2015-05-01  Mark Wielaard  <mjw@redhat.com>
6007         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
6008         Elf64_Chdr structs and ELFCOMPRESS constants.
6010 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
6012         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
6013         expm1.
6014         * math/auto-libm-test-out: Regenerated.
6015         * sysdeps/i386/fpu/libm-test-ulps: Update.
6016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6018         * math/auto-libm-test-in: Add more tests of erf and erfc.
6019         * math/auto-libm-test-out: Regenerated.
6020         * sysdeps/i386/fpu/libm-test-ulps: Update.
6021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6023 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6025         * config.h.in (HAVE_AARCH64_BE): Add.
6027 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
6029         * math/auto-libm-test-in: Add more tests of csqrt.
6030         * math/auto-libm-test-out: Regenerated.
6031         * sysdeps/i386/fpu/libm-test-ulps: Update.
6032         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6034         * math/auto-libm-test-in: Add more tests of cosh and sinh.
6035         * math/auto-libm-test-out: Regenerated.
6036         * sysdeps/i386/fpu/libm-test-ulps: Update.
6037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6039         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
6041 2015-04-29  Roland McGrath  <roland@hack.frob.com>
6043         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
6044         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
6046         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
6047         (euidaccess, eaccess): Define as weak aliases.
6049         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
6050         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
6051         but __suseconds_t is often 'long int' so some sources assume that
6052         type is being used (e.g. they use %ld to print tv_usec).
6054 2015-04-29  Florian Weimer  <fweimer@redhat.com>
6056         [BZ #18007]
6057         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
6058         (CVE-2014-8121)
6059         * nss/tst-nss-getpwent.c: New file.
6060         * nss/Makefile (tests): Add new test.
6062 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
6064         [BZ #18346]
6065         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
6066         exponents less than 48 as cases where high part of mantissa needs
6067         examining to determine whether argument is integral.
6068         * math/libm-test.inc (round_test_data): Add more tests.
6070 2015-04-28  Mark Wielaard  <mjw@redhat.com>
6072         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
6074 2015-04-27  David S. Miller  <davem@davemloft.net>
6076         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
6077         __tls_get_addr.
6078         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
6080 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
6082         [BZ#18333]
6083         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
6085 2015-04-27  Florian Weimer  <fweimer@redhat.com>
6087         [BZ#18333]
6088         * time/tzset.c (parse_tzname): Return error on memory allocation
6089         failure.
6090         * test-skeleton.c (struct temp_name_list): Change type of name
6091         member to non-const.
6092         (add_temp_file): Create a copy of the file name.
6093         (delete_temp_files): Deallocate memory.
6094         (create_temp_file): Add comment.
6096 2015-04-24  Florian Weimer  <fweimer@redhat.com>
6098         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
6099         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
6101 2015-04-24  Roland McGrath  <roland@hack.frob.com>
6103         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
6104         * sysdeps/arm/configure: Regenerated.
6106 2015-04-24  Florian Weimer  <fweimer@redhat.com>
6108         [BZ #17715]
6109         * time/tzfile.c (__tzfile_read): Check for large values of
6110         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
6111         * time/tzset.c (__tzstring_len): New function, based on the old
6112         __tzstring function.
6113         (__tzstring): Call __tzstring_len.
6114         (parse_tzname): New helper function extracted from
6115         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
6116         the input string.
6117         (parse_offset): New helper function extracted from
6118         __tzset_parse_tz.  Replace switch with fallthrough with
6119         initialization before sscanf.
6120         (parse_rule): Likewise.
6121         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
6122         new-style function definition.
6123         * timezone/Makefile (tests): Add tst-tzset.
6124         (tst-tzset.out): Dependencies on time zone files.
6125         (tst-tzset-ENV): Set TZDIR.
6126         (testdata/XT%): Copy crafted time zone files.
6127         * timezone/README: Mention crafted time zone files.
6128         * timezone/testdata/XT1, timezone/testdata/XT2,
6129         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
6130         files.
6131         * timezone/tst-tzset.c: New test.
6133 2015-04-24  Florian Weimer  <fweimer@redhat.com>
6135         * Makeconfig (+gccwarn): Remove -Winline.
6137 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6139         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
6141 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6143         * NEWS: Mention sysconf() cache information support for s390.
6144         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
6146 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
6148         * math/k_casinh.c (__kernel_casinh): Use __copysign.
6149         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
6150         (__nearbyint): Likewise.
6151         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
6152         (copysignl): Likewise.
6154 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
6156         [BZ #18287]
6157         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
6158         based on padding.  (CVE-2015-1781)
6160 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6162         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
6163         libc-vdso.h.
6164         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
6165         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
6166         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
6167         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
6168         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
6169         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
6170         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
6171         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
6172         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
6173         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
6174         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
6175         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
6176         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
6177         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
6178         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
6179         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
6180         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
6181         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
6182         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
6183         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
6184         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
6185         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
6186         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
6188 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
6190         * stdlib/setenv.c (__add_to_environ):
6191         Dump core quickly if setenv (..., NULL, ...) is called.
6192         This time, do it the right way, and pacify GCC with a pragma.
6194 2015-04-17  Roland McGrath  <roland@hack.frob.com>
6196         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
6197         IMAP->l_prev cannot be null, and #if out the code for the contrary
6198         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
6199         believe that NS (&_dl_ns[NSID]) could point outside the array.
6201         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
6202         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
6203         before using NSID as an index.
6205 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
6207         [BZ #17825]
6208         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
6209         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
6210         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6212 2015-04-17  Roland McGrath  <roland@hack.frob.com>
6214         Add preliminary port to Google Native Client on ARM.
6215         * abi-tags (.*-.*-nacl.*): New entry.
6216         * sysdeps/arm/nacl: New directory.
6217         * sysdeps/nacl: New directory.
6219 2015-04-16  David S. Miller  <davem@davemloft.net>
6221         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
6222         lowlevellock-futex.h
6224 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
6226         * sysdeps/tile/configure.ac: New file.
6227         * sysdeps/tile/configure: Regenerated.
6229 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6231         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
6232         conditionals for weak_alias and libc_hidden_weak.
6233         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
6234         libc_hidden_weak and weak_alias.
6235         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
6236         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
6237         and weak_alias for static one.
6239 2015-04-15  David S. Miller  <davem@davemloft.net>
6241         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6243 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
6245         [BZ #18206]
6246         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
6247           Use signed comparision instead of substraction to avoid
6248           overflow bug.
6249         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
6250           Take the sign of ret.
6251         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
6252           Do not expect precise return values. Only the sign matters.
6253         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
6254         * wcsmbs/test-wcsncmp.c: New File.
6255         * string/test-strncmp.c: Add wcsncmp support.
6257 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
6259         [BZ #6792]
6260         * math/w_log1p.c: New file.
6261         * math/w_log1pf.c: Likewise.
6262         * math/w_log1pl.c: Likewise.
6263         * math/Makefile (libm-calls): Add w_log1p.
6264         * math/s_log1pl.c (log1pl): Remove weak_alias.
6265         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
6266         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
6267         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
6268         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
6269         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
6270         [NO_LONG_DOUBLE] (log1pl): Likewise.
6271         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
6272         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
6273         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
6274         (log1p): Remove long_double_symbol.
6275         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
6276         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
6277         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
6278         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
6279         remove weak_alias for corresponding log1p function.
6280         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
6281         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
6282         * sysdeps/ia64/fpu/w_log1p.c: New file.
6283         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
6284         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
6285         * math/libm-test.inc (log1p_test_data): Add errno expectations.
6287 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
6289         [BZ #18247]
6290         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
6291         decimal exponent by 1.
6292         * stdlib/tst-strtod-round-data: Add more tests.
6293         * stdlib/tst-strtod-round.c (tests): Regenerated.
6295 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
6297         * math/auto-libm-test-in: Add more tests of clog and clog10.
6298         * math/auto-libm-test-out: Regenerated.
6299         * sysdeps/i386/fpu/libm-test-ulps: Update.
6300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6302 2015-04-09  Roland McGrath  <roland@hack.frob.com>
6304         * Makeconfig (module-cppflags): Exclude all .v.i files.
6305         (skip-module-cppflags): Variable removed.
6307         * configure.ac (libc_config_ok): Initialize before reading
6308         preconfigure scripts, not after.
6309         * configure: Regenerated.
6311         * test-skeleton.c (TIMEOUT): Move #define to top level.
6312         (main): Grok environment variable TEST_DIRECT.  If set, print
6313         test expectation details into that file and then behave as if
6314         given --direct.
6316 2015-04-09  Florian Weimer  <fweimer@redhat.com>
6318         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
6319         warning on 32-bit.
6321 2015-04-08  David S. Miller  <davem@davemloft.net>
6323         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6325 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
6327         * math/auto-libm-test-in: Add more tests of atanh.
6328         * math/auto-libm-test-out: Regenerated.
6329         * sysdeps/i386/fpu/libm-test-ulps: Update.
6330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6332         * math/auto-libm-test-in: Add more tests of atan.
6333         * math/auto-libm-test-out: Regenerated.
6334         * sysdeps/i386/fpu/libm-test-ulps: Update.
6335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6337 2015-04-08  Florian Weimer  <fweimer@redhat.com>
6339         * elf/pldd.c (main): Rewrite to use struct
6340         scratch_buffer instead of extend_alloca.
6341         * elf/pldd-xx.c (find_maps): Likewise.
6342         * grp/initgroups.c: Include <scratch_buffer.h> instead of
6343         <alloca.h>.
6344         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
6345         scratch_buffer instead of extend_alloca.
6346         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
6347         grp/compat-initgroups.c.
6348         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
6349         Rewrite to use struct scratch_buffer instead of extend_alloca.
6350         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
6351         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6353 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
6355         * math/auto-libm-test-in: Add more tests of cbrt.
6356         * math/auto-libm-test-out: Regenerated.
6357         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6359         * math/auto-libm-test-in: Add more tests of cabs.
6360         * math/auto-libm-test-out: Regenerated.
6361         * sysdeps/i386/fpu/libm-test-ulps: Update.
6362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6364         [BZ #18210]
6365         [BZ #18211]
6366         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
6367         (__ieee754_atan2): Set FE_TONEAREST mode for internal
6368         computations.
6369         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
6370         clog10.
6371         * math/auto-libm-test-out: Regenerated.
6372         * sysdeps/i386/fpu/libm-test-ulps: Update.
6373         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6375         [BZ #18197]
6376         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
6377         (atan): Set FE_TONEAREST mode for internal computations.
6378         * math/auto-libm-test-in: Add more tests of atan.
6379         * math/auto-libm-test-out: Regenerated.
6381 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
6383         [BZ #17930]
6384         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
6386 2015-04-07  Florian Weimer  <fweimer@redhat.com>
6388         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
6390 2015-04-07  Florian Weimer  <fweimer@redhat.com>
6392         * include/scratch_buffer.h: New file.
6393         * malloc/scratch_buffer_grow.c: Likewise.
6394         * malloc/scratch_buffer_grow_preserve.c: Likewise.
6395         * malloc/scratch_buffer_set_array_size.c: Likewise.
6396         * malloc/tst-scratch_buffer.c: Likewise.
6397         * malloc/Makefile (routines): Add scratch_buffer_grow.
6398         (tests): Add test case.
6399         * malloc/Versions (GLIBC_PRIVATE): Export
6400         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
6401         __libc_scratch_buffer_set_array_size.
6403 2015-04-06  Richard Henderson  <rth@redhat.com>
6405         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
6406         * sysdeps/alpha/fpu/libm-test-ulps: Update.
6408         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
6409         unsigned int before printing.
6411 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6413         [BZ #17596]
6414         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
6415         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6417 2015-04-02  Florian Weimer  <fweimer@redhat.com>
6419         * include/libc-internal.h (libc_max_align_t): Define.
6421 2015-04-02  Andreas Schwab  <schwab@suse.de>
6423         [BZ #16850]
6424         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
6426 2015-04-02  Mel Gorman  <mgorman@suse.de>
6428         [BZ #17195]
6429         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
6430         as well as the main arena.
6432 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
6434         [BZ #18185]
6435         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
6436         sharing L2 cache to 2 for Silvermont/Knights Landing.
6438 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
6440         [BZ #17711]
6441         * config.make.in (have-protected-data): New.
6442         * configure.ac: Check linker support for protected data symbol.
6443         * configure: Regenerated.
6444         * elf/Makefile (modules-names): Add tst-protected1moda and
6445         tst-protected1modb if $(have-protected-data) is yes.
6446         (tests): Add tst-protected1a and tst-protected1b if
6447         $(have-protected-data) is yes.
6448         ($(objpfx)tst-protected1a): New.
6449         ($(objpfx)tst-protected1b): Likewise.
6450         (tst-protected1modb.so-no-z-defs): Likewise.
6451         * elf/tst-protected1a.c: New file.
6452         * elf/tst-protected1b.c: Likewise.
6453         * elf/tst-protected1mod.h: Likewise.
6454         * elf/tst-protected1moda.c: Likewise.
6455         * elf/tst-protected1modb.c: Likewise.
6457 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
6459         [BZ #17711]
6460         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
6461         indicates it is called from do_lookup_x on relocation against
6462         protected data, skip the data definion in the executable from
6463         copy reloc.
6464         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
6465         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
6466         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
6467         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
6468         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
6469         otherwise to 0.
6470         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
6471         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
6472         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
6473         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
6474         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
6475         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
6477 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
6479         * sysdeps/nptl/pthread.h: Remove duplicate definition of
6480         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
6482 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
6484         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
6485         THREAD_SETMEM_NC.
6486         * sysdeps/x86_64/nptl/tls.h: Ditto.
6488 2015-03-27  Roland McGrath  <roland@hack.frob.com>
6490         * dlfcn/tststatic.c (main): Converted to ...
6491         (do_test): ... this.
6492         (TEST_FUNCTION): New macro.
6493         Include test-skeleton.c.
6495 2015-03-26  Alan Modra  <amodra@gmail.com>
6497         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
6498         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
6499         zero for undefined weak.
6500         (elf_machine_plt_conflict): Similarly.
6502 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
6504         * math/auto-libm-test-in: Add more tests of acosh, asinh and
6505         atanh.
6506         * math/auto-libm-test-out: Regenerated.
6507         * sysdeps/i386/fpu/libm-test-ulps: Update.
6508         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6510         * math/auto-libm-test-in: Add another test of asin.
6511         * math/auto-libm-test-out: Regenerated.
6512         * sysdeps/i386/fpu/libm-test-ulps: Update.
6513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6515         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
6516         Remove macro.
6517         (LLL_EBX_REG): Likewise.
6518         (LLL_ENTER_KERNEL): Likewise.
6520         * math/auto-libm-test-in: Add more tests of asin.
6521         * math/auto-libm-test-out: Regenerated.
6522         * sysdeps/i386/fpu/libm-test-ulps: Update.
6523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6525         [BZ #18138]
6526         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
6527         libc_do_syscall_args): New structure.
6528         (INTERNAL_SYSCALL_MAIN_0): New macro.
6529         (INTERNAL_SYSCALL_MAIN_1): Likewise.
6530         (INTERNAL_SYSCALL_MAIN_2): Likewise.
6531         (INTERNAL_SYSCALL_MAIN_3): Likewise.
6532         (INTERNAL_SYSCALL_MAIN_4): Likewise.
6533         (INTERNAL_SYSCALL_MAIN_5): Likewise.
6534         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
6535         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
6536         Replace conditional definitions by conditional definitions of ....
6537         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
6538         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
6539         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
6540         (libpthread-sysdep_routines): Add libc-do-syscall.
6541         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
6542         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
6543         to __NR_futex not 240.
6545 2015-03-25  Alan Modra  <amodra@gmail.com>
6547         * NEWS: Advertise TLS optimization.
6548         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
6549         (DT_PPC_NUM): Increment.
6550         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
6551         (CHECK_STATIC_TLS): Use here.
6552         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
6553         TLS descriptors.
6554         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6555         * sysdeps/powerpc/dl-tls.c: New file.
6556         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
6557         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
6558         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
6559         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
6560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
6561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
6562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
6564 2015-03-25  Alan Modra  <amodra@gmail.com>
6566         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
6567         for overlapping .opd entries" to "support...".
6568         * sysdeps/powerpc/powerpc64/configure: Regenerate
6570 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
6572         * math/auto-libm-test-in: Add more tests of acos.
6573         * math/auto-libm-test-out: Regenerated.
6574         * sysdeps/i386/fpu/libm-test-ulps: Update.
6575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6577         * math/auto-libm-test-in: Add more tests of expm1.
6578         * math/auto-libm-test-out: Regenerated.
6579         * sysdeps/i386/fpu/libm-test-ulps: Update.
6580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6582 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
6584         * math/auto-libm-test-in: Add more tests of cosh and sinh.
6585         * math/auto-libm-test-out: Regenerated.
6586         * sysdeps/i386/fpu/libm-test-ulps: Update.
6587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6589         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6592         * math/auto-libm-test-in: Add more tests of log2.
6593         * math/auto-libm-test-out: Regenerated.
6594         * sysdeps/i386/fpu/libm-test-ulps: Update.
6595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6597 2015-03-23  Roland McGrath  <roland@hack.frob.com>
6599         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
6600         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
6601         _IO_IS_APPENDING bit in READ_WRITE instead.
6603 2015-03-23  Florian Weimer  <fweimer@redhat.com>
6605         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
6606         (__determine_cpumask_size): Replace extend_alloca with a
6607         variable-length array.  Do not treat res == 0 as an error.
6609 2015-03-23  Florian Weimer  <fweimer@redhat.com>
6611         [BZ #18100]
6612         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
6613         and integer overflow.
6614         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
6615         (main): Add integer overflow tests.
6616         * manual/pattern.texi (Calling Wordexp): Document additional use
6617         for WRDE_SYNTAX.
6619 2015-03-23  Alan Modra  <amodra@gmail.com>
6621         * config.h.in: Remove HAVE_ASM_PPC_REL16.
6622         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
6623         and false branch of conditional.
6624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6625         Likewise.
6627 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
6629         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
6630         libc-modules.h
6631         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
6632         unused declaration of _hurd_intr_rpc_msg_in_trap.
6633         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
6634         defined instead of whether it is non-zero.
6635         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
6636         input constraint instead of both input and output constraint.  Use ecx
6637         clobber instead of %ecx.
6638         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
6639         mutex_unlock): Use a statement expression instead of an expression list.
6640         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
6641         type to vm_size_t instead of vm_address_t.
6642         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
6643         defined instead of whether it is non-zero.
6644         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
6645         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
6646         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
6647         comparisons with mapaddr.
6648         * nscd/nscd-client.h: Include <time.h>.
6649         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
6650         9th parameter to __vm_region instead of int.
6651         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
6652         * scripts/check-local-headers.sh (exclude): Add device/,
6653         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
6654         cthreads.h.
6656 2015-03-19  Roland McGrath  <roland@hack.frob.com>
6658         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
6659         to account for alignment padding.
6660         * sysdeps/arm/memmove.S: Likewise.
6662 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
6664         * sysdeps/unix/sysv/linux/generic/README: New file.
6666 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
6668         [BZ #18138]
6669         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
6670         (futex_abstimed_wait)
6671         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
6672         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
6673         of lll_futex_timed_wait.
6675 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
6677         [BZ #17542]
6678         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
6680 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
6682         [BZ #17090]
6683         [BZ #17620]
6684         [BZ #17621]
6685         [BZ #17628]
6686         * NEWS: Update.
6687         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
6688         entries with Static TLS too.  Skip entries past the end of the
6689         allocated DTV, from Alan Modra.
6690         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
6691         Static TLS DTV entry set up from...
6692         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
6693         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
6694         * nptl/allocatestack.c (init_one_static_tls): ... and here...
6695         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
6696         for Static TLS.
6697         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
6698         that the slot we find is associated with the given map before
6699         using its generation count.
6700         * nptl_db/db_info.c: Include ldsodefs.h.
6701         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
6702         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
6703         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
6704         (link_map::l_tls_offset): New struct field.
6705         (dtv_t::counter): Likewise.
6706         (rtld_global): New struct.
6707         (_rtld_global): New rtld variable.
6708         (dl_tls_dtv_slotinfo_list): New rtld global field.
6709         (dtv_slotinfo_list): New struct.
6710         (dtv_slotinfo): Likewise.
6711         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
6712         (td_lookup): Rename to...
6713         (td_mod_lookup): ... this.  Use new mod parameter instead of
6714         LIBPTHREAD_SO.
6715         * nptl_db/td_thr_tlsbase.c: Include link.h.
6716         (dtv_slotinfo_list, dtv_slotinfo): New functions.
6717         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
6718         addresses even if the DTV is out of date or missing them.
6719         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
6720         index zero-length arrays.
6721         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
6722         (td_lookup): Make it a macro implemented in terms of...
6723         (td_mod_lookup): ... this declaration.
6724         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
6725         (DB_MAIN_VARIABLE): Likewise.
6727 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6729         [BZ #18134]
6730         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
6732 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
6734         * stdlib/setenv.c (__add_to_environ): Revert previous change.
6736 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
6738         [BZ #18128]
6739         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
6740         (atomic_add, atomic_increment_and_test)
6741         (atomic_decrement_and_test): Fix 64-bit arithmetic.
6743 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
6745         * stdlib/setenv.c (__add_to_environ):
6746         Dump core quickly if setenv (..., NULL, ...) is called.
6748 2015-03-13  Roland McGrath  <roland@hack.frob.com>
6750         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
6751         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
6752         all the necessary asm magic in one place.
6753         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
6754         using those.
6756 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
6758         [BZ #14906]
6759         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
6760         traced file mtime. Use consistent log message.
6761         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
6762         (register_traced_file): Call install_watches. Always set mtime.
6763         (invalidate_cache): Iterate over all trace files. Call install_watches.
6764         (inotify_check_files): Don't inline. Handle watching parent
6765         directories and configuration file movement in and out.
6766         (handle_inotify_events): New function.
6767         (main_loop_poll): Call handle_inotify_events.
6768         (main_loop_epoll): Likewise.
6769         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
6770         (struct traced_file): Use array of inotify fds. Add parent directory,
6771         and basename.
6772         (struct database_dyn): Remove unused file_mtime.
6773         (init_traced_file): New inline function.
6774         (define_traced_file): New macro.
6775         * nss/nss_db/db-init.c: Use define_traced_file.
6776         (_nss_db_init): Use init_traced_file.
6777         * nss/nss_files/files-init.c: Use define_traced_file.
6778         (_nss_files_init): Use init_traced_file.
6780 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
6782         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
6783         [_LIBC]: Do not include <stdlib.h>.
6784         [!_LIBC] (abort): Remove declaration.
6785         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
6786         _FP_STATIC_ASSERT instead of conditionally calling abort.
6787         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
6788         (_FP_EXTEND_CNAN): Likewise.
6789         (FP_TRUNC): Likewise.
6790         (__FP_CLZ): Likewise.
6791         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
6793 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
6795         * manual/string.texi (XPG basename): Fix prototype.
6797 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6799         [BZ #18080]
6800         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
6801         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
6802         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
6803         (__setcontext): Likewise.
6804         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
6805         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
6806         Call rt_sigprocmask syscall one time to set new signal mask
6807         and retrieve the current signal mask instead of two calls.
6808         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
6809         (__swapcontext): Likewise.
6810         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
6811         * stdlib/tst-setcontext2.c: New file.
6813 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6815         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6817 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
6819         [BZ #18093]
6820         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
6821         the wrong size.
6823 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
6825         [BZ #18043]
6826         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
6828 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6830         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
6831         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
6832         Remove define.
6833         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
6834         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
6835         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
6836         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
6837         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
6838         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
6839         define.
6840         * nptl_db/td_symbol_list.c (td_lookup): Remove
6841         HAVE_ASM_GLOBAL_DOT_NAME code.
6842         * sysdeps/powerpc/powerpc64/configure.ac: Remove
6843         HAVE_ASM_GLOBAL_DOT_NAME check.
6844         * sysdeps/powerpc/powerpc64/configure: Regenerate.
6845         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
6846         (DOT_LABEL): Remove define.
6847         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
6848         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
6849         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
6850         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
6851         (__TLS_GET_ADDR): Likewise.
6852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
6853         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
6855 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
6857         [BZ #18111]
6858         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
6859         (_FPU_SETCW): Initialize cw from fpsr before storing.
6860         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
6861         (fesetexceptflag): Rewrite using fpu_control.h.
6862         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
6864 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
6866         [BZ #18110]
6867         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
6868         asms.
6869         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
6871 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
6873         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
6874         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
6875         abort.
6876         (_FP_FMA): Likewise.
6877         (_FP_DIV): Likewise.
6879 2015-03-10  Roland McGrath  <roland@hack.frob.com>
6881         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
6882         with 0 in that case.
6883         * Makefile (summarize-tests): New canned sequence, factored out of
6884         commands for targets tests and xtests.  Display summary lines that
6885         don't start with PASS: or XFAIL: rather than ones that do start with
6886         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
6887         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
6888         do start with ERROR: or FAIL:.
6889         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
6890         (except for [$(build-shared) = yes]).
6891         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
6892         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
6893         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
6894         * nptl/Makefile: Revert 2015-03-04 changes.
6895         [$(CXX) empty] (tests-unsupported): New variable.
6896         * debug/Makefile: Likewise.
6898         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
6899         gnulib file.  Replace __attribute with __attribute__ throughout.
6901 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
6903         * sysdeps/hppa/fpu/libm-test-ulps: Update.
6905 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
6907         [BZ #18104]
6908         * math/auto-libm-test-in: Add another test of pow.
6909         * math/auto-libm-test-out: Regenerated.
6911 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6913         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
6914         $(config-cflags-nofma).
6916 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
6918         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
6919         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
6920         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
6921         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
6922         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
6923         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
6924         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
6925         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
6926         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
6927         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
6928         Add comment on closing #endif.
6930 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6932         * posix/wordexp.c (CHAR_IN_SET): New macro.
6933         (parse_param): Use it.
6935 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6937         * sysdeps/powerpc/fpu/libm-test-ulps: update.
6939 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6941         [BZ #18043]
6942         * posix/wordexp.c (parse_param): Fix buffer overflow.
6943         * posix/wordexp-test.c (test_case): Add test case.
6945 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6947         [BZ #18042]
6948         * posix/wordexp.c (parse_backtick): Fix off-by-one.
6949         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
6951 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6953         [BZ #18043]
6954         * posix/wordexp-test.c (test_case): Add test for BZ #18043
6955         (do_bz18043): Delete.
6956         (at_page_end): New.
6957         (testit): Refactor to have words at the edge of unreadable page.
6959 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
6961         [BZ #16734]
6962         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
6963         Cleanup read-only streams as well.
6964         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
6966 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6968         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
6969         <bits/libc-lockP.h>
6971 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
6973         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
6974         on [__KERNEL__].
6975         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
6976         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
6977         * soft-fp/op-common.h (_FP_DECL): Likewise.
6979 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
6981         * elf/ifuncdep2.c (global): Replace
6982         __attribute__((visibility("protected"))) with
6983         asm (".protected global").
6984         * elf/ifuncmod1.c (global): Likewise.
6985         * elf/ifuncmod5.c (global): Likewise.
6987 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
6989         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
6990         <asm/sfp-machine.h> instead of <sfp-machine.h>.
6992 2015-03-06  Roland McGrath  <roland@hack.frob.com>
6994         * manual/install.texi (Configuring and compiling):
6995         Document test-wrapper-env-only.
6996         * INSTALL: Regenerated.
6998 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
7000         [BZ #18043]
7001         * posix/wordexp.c (parse_param): Fix buffer overflow.
7002         * posix/wordexp-test.c (do_bz18043): Add test case.
7004 2015-03-06  Vincent Bernat  <vincent@bernat.im>
7006         * time/tst-strptime2.c (do_test): Ensure failing tests are
7007         reported correctly.
7008         * time/tst-strptime3.c (do_test): Likewise.
7010 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
7012         Fix aio_error thread-safety.
7013         * sysdeps/pthread/aio_error.c: New file
7014         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
7015         synchronization.
7017 2015-03-06  Florian Weimer  <fweimer@redhat.com>
7019         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
7020         (group_number, vfprintf): Use it.
7021         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
7022         (JUMP, REF): Use it.
7023         (WORK_BUFFER_SIZE): New enum constant.
7024         (process_arg, vfprintf): Use it.
7026 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
7028         * manual/errno.texi (Error Messages): Complete example function
7029         by adding missing #define.
7030         (program_invocation_name): Add statement indicating GNU
7031         extension and reference which header file declares the variable.
7032         (program_invocation_short_name): Likewise.
7034 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
7036         * manual/errno.texi (Error Messages): Delete strerror ISO C89
7037         compatibility note.
7039 2015-03-05  Roland McGrath  <roland@hack.frob.com>
7041         * Makeconfig (test-wrapper-env-only): New variable.
7042         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
7043         then use that with $(test-wrapper-env-only) rather than using
7044         $(test-wrapper-env) $(run-program-env) $($*-ENV).
7046 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
7048         [BZ #18082]
7049         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
7050         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
7051         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
7052         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
7053         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
7054         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
7055         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
7056         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
7057         Likewise.
7058         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
7059         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
7060         Likewise.
7061         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
7062         Likewise.
7063         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
7064         Likewise.
7065         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
7066         Likewise.
7067         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
7068         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
7069         Likewise.
7070         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
7071         Likewise.
7072         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
7073         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
7075 2015-03-04  Roland McGrath  <roland@hack.frob.com>
7077         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
7078         (ETH_ALEN): New macro.
7079         (struct ether_addr): Use it for length of ether_addr_octet.
7081         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
7082         (setdb): Don't call __nss_configure_lookup for "rpc".
7083         (do_test): Don't call test_rpc.
7084         (output_rpcent, test_rpc): Functions moved ...
7085         * sunrpc/test-rpcent.c: ... to this new file.
7086         * sunrpc/Makefile (tests): Add it.
7088         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
7089         __xpg_sigpause.
7090         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
7091         * nptl/tst-signal6.c: Likewise.
7092         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
7093         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
7095         * configure.ac (libc_cv_cxx_link_ok): New check.
7096         Reset CXX to empty if it fails to link.
7097         * configure: Regenerated.
7098         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
7099         bug-atexit3-lib only if $(CXX) is nonempty.
7100         * nptl/Makefile (tests): Likewise for tst-cancel24.
7101         (tests, tests-static): Likewise for tst-cancel24-static.
7102         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
7103         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
7104         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
7105         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
7107 2015-03-04  Andreas Schwab  <schwab@suse.de>
7109         [BZ #17631]
7110         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
7111         for non-GCC compilers.
7112         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
7113         Likewise.
7115 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7117         [BZ #17776]
7118         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
7119         integer before bitwise and assembly operations.
7120         (feclearexcept): Likewise.
7121         * math/test-fenvinline.c: New file.
7122         * math/Makefile: Add test-fenvinline test.
7124 2015-03-03  Alan Modra  <amodra@gmail.com>
7126         [BZ #16512]
7127         * scripts/localplt.awk: Strip off symbol version.
7128         * NEWS: Mention bug fix.
7130 2015-03-02  Roland McGrath  <roland@hack.frob.com>
7132         * sysdeps/pthread/timer_routines.c
7133         (timer_free_list, thread_free_list, thread_active_list): Make static.
7135 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
7137         [BZ #17779]
7138         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7139         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7140         Undefine.
7141         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7142         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7143         Likewise.
7144         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7145         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7146         Likewise.
7148 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
7150         [BZ #18036]
7151         * posix/fnmatch_loop.c (END): Detect invalid pattern.
7152         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
7154 2015-03-02  Andreas Schwab  <schwab@suse.de>
7156         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
7157         variable name.
7159 2015-03-02  Florian Weimer  <fweimer@redhat.com>
7161         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
7162         Return error status.
7164 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
7166         [BZ #15969]
7167         * locale/findlocale.c (_nl_find_locale): Introduce const
7168         version of loc_name and drop unsafe type casts.
7170 2015-02-27  Roland McGrath  <roland@hack.frob.com>
7172         * dlfcn/tststatic2.c (main): Converted to ...
7173         (do_test): ... this.
7174         (TEST_FUNCTION): New macro.
7175         Include test-skeleton.c.
7177 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
7179         [BZ #17711]
7180         * elf/Makefile (tests): Add vismain only if PIE is enabled.
7181         (tests-pie): Add vismain.
7182         (CFLAGS-vismain.c): New.
7183         * elf/vismain.c: Add comments for PIE requirement.
7185 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
7187         [BZ #18046]
7188         [BZ #18047]
7189         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
7190         0x1p-56L as threshold for just returning the argument.
7191         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
7192         0x1p-32L as threshold for just returning the argument.
7193         * math/auto-libm-test-in: Add more tests of atanh.
7194         * math/auto-libm-test-out: Regenerated.
7195         * sysdeps/i386/fpu/libm-test-ulps: Update.
7196         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
7198 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
7200         * string/bcopy.c (bcopy): Call memmove for performance.
7202 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
7204         * string/bzero.c (__bzero): Call memset for performance.
7206 2015-02-27  John David Anglin  <dave.anglin@bell.net>
7208         [BZ #18068]
7209         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
7210         to 00100000.
7212 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
7214         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
7216 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
7218         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
7219         (__kernel_standard): Use CSTR macro when setting exc.name.
7220         * sysdeps/ieee754/Makefile [$(subdir) = math]
7221         (CFLAGS-k_standard.c): Remove variable.
7223         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
7224         setting p and q from "else if" to "else".
7225         (qzero): Likewise.
7226         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
7227         (qone): Likewise.
7228         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
7229         (qzerof): Likewise.
7230         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
7231         (qonef): Likewise.
7232         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
7233         (qzero): Likewise.
7234         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
7235         (qone): Likewise.
7237         [BZ #18038]
7238         [BZ #18039]
7239         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
7240         return pi/2 for arguments below 0x1p-113L.
7241         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
7242         return pi/2 for arguments below 0x1p-106L.
7243         * math/auto-libm-test-in: Add more tests of acos.
7244         * math/auto-libm-test-out: Regenerated.
7246         [BZ #16351]
7247         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
7248         (MO): New macro.
7249         (__ieee754_asin): Force underflow exception for results with small
7250         absolute value.
7251         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
7252         (MO): New macro.
7253         (__ieee754_asinf): Force underflow exception for results with
7254         small absolute value.
7255         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
7256         (__ieee754_asin): Force underflow exception for results with small
7257         absolute value.
7258         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
7259         (__ieee754_asinf): Force underflow exception for results with
7260         small absolute value.
7261         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
7262         (__ieee754_asinl): Force underflow exception for results with
7263         small absolute value.
7264         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
7265         (__ieee754_asinl): Force underflow exception for results with
7266         small absolute value.
7267         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
7268         (__ieee754_asinl): Force underflow exception for results with
7269         small absolute value.
7270         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
7271         Include <math.h>.
7272         * math/auto-libm-test-in: Do not mark underflow exceptions as
7273         possibly missing for bug 16351.
7274         * math/auto-libm-test-out: Regenerated.
7276         [BZ #18030]
7277         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
7278         of power of 2 down when low part has opposite sign.
7279         * math/libm-test.inc (logb_test_data): Add more tests.
7281 2015-02-26  Andreas Schwab  <schwab@suse.de>
7283         [BZ #18032]
7284         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
7285         over collating symbol inside a bracket expression.  Minor cleanup.
7286         * posix/tst-fnmatch3.c (do_test): Add test case.
7288 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
7290         [BZ #18029]
7291         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
7292         Adjust exponent of power of 2 down when low part has opposite
7293         sign.
7294         * math/libm-test.inc (ilogb_test_data): Add more tests.
7296 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
7298         [BZ #15969]
7299         * locale/findlocale.c (_nl_find_locale): Fix constness error in
7300         the previous change.
7302         [BZ #15969]
7303         * locale/findlocale.c (_nl_find_locale): Retry archive search
7304         after alias expansion.
7306 2015-02-25  Roland McGrath  <roland@hack.frob.com>
7308         * iconv/tst-iconv3.c (main): Converted to ...
7309         (do_test): ... this.
7310         (TEST_FUNCTION): New macro.
7311         Include test-skeleton.c.
7313         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
7314         (convert): Make function static.
7315         (test_unalign): Likewise.  Add const to argument pointee types.
7316         (main): Replace with static function do_test.
7317         Print "Succeeded." only if RET is zero.
7318         (TEST_FUNCTION): New macro.
7319         Include test-skeleton.c.
7321         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
7322         returns a null pointer.
7324 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7326         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
7327         to __memcpy_ppc only for static builds.
7329 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
7331         [BZ #18020]
7332         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
7333         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
7334         * math/auto-libm-test-in: Add more tests of asinh.
7335         * math/auto-libm-test-out: Regenerated.
7336         * sysdeps/i386/fpu/libm-test-ulps: Update.
7337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7339 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
7341         [BZ #15850]
7342         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
7343         and ip6_mtuinfo definitions here.
7344         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
7345         in this define too.  Update comment.
7347 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
7349         * elf/sprof.c (load_shobj): Tweak error message to match others.
7351 2015-02-24  Kevin Easton  <kevin@guarana.org>
7353         [BZ #16145] (partial fix)
7354         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
7355         to reduce lock contention.
7357 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
7359         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
7360         (struct timex): Update time comment.
7361         (ADJ_SETOFFSET): Define.
7363 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
7365         [BZ #18019]
7366         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
7367         2**56 not 2**28 as threshold for log (2x) formula.
7368         * math/auto-libm-test-in: Add more tests of acosh.
7369         * math/auto-libm-test-out: Regenerated.
7370         * sysdeps/i386/fpu/libm-test-ulps: Update.
7371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7373 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
7375         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
7376         parenthesis around the buf assignment.
7377         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
7379 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
7381         [BZ #16783]
7382         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
7383         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
7384         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
7385         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
7386         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
7387         * math/libm-test.inc (scalb_test_data): Add more tests.
7389 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
7391         [BZ #17916]
7392         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
7393         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
7395 2015-02-24  Eric Rannaud  <e@nanocritical.com>
7397         [BZ #17523]
7398         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
7399         * io/bits/fcntl2.h (open): Use it.
7400         (openat): Likewise.
7401         * io/open.c (__libc_open): Likewise.
7402         * io/open64.c (__libc_open64): Likewise.
7403         * io/open64_2.c (__open64_2): Likewise.
7404         * io/open_2.c (__open_2): Likewise.
7405         * io/openat.c (__openat): Likewise.
7406         * io/openat64.c (__openat64): Likewise.
7407         * io/openat64_2.c (__openat64_2): Likewise.
7408         * io/openat_2.c (__openat_2): Likewise.
7409         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
7410         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
7411         * sysdeps/posix/open64.c (__libc_open64): Likewise.
7412         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
7413         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
7414         (__open_nocancel): Likewise.
7415         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
7416         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
7417         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
7419 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7421         [BZ #14841]
7422         * resolv/gethnamaddr.c (getanswer): Skip logging if
7423         RES_USE_DNSSEC is set.
7424         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7426 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
7428         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
7430 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
7432         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
7433         201304L, for Unicode 7.
7435 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
7437         [BZ #17836]
7438         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
7439         shared library.  Add gmon-start.os otherwise.
7440         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
7441         $(objpfx)gmon-start.os if builing shared library.
7442         ($(objpfx)g$(static-start-installed-name)): Likewise.
7444 2015-02-23  Andreas Schwab  <schwab@suse.de>
7446         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
7448 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
7450         [BZ #17269]
7451         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
7452         (enlarge_userbuf): Likewise.
7454 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
7456         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
7457         * math/atest-exp.c (TIMEOUT): Adjust to 200.
7458         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
7459         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
7461 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
7463         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
7464         expression inside statement expression.
7466 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7468         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
7469         <sysdeps/nptl/lowlevellock.h> and remove macros and
7470         functions that are now defined there.
7471         (SYS_futex): Remove.
7472         (lll_compare_and_swap): Remove.
7473         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
7475 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
7477         [BZ #17999]
7478         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
7479         instead of scandirat.
7480         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
7481         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
7482         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
7483         __scandirat.
7484         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
7485         (__scandirat): Declare.  Use libc_hidden_proto.
7486         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
7487         Remove variable.
7488         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
7490 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
7492         [BZ #15319]
7493         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
7494         (MO): New macro.
7495         (__ieee754_atan2): For results with small absolute value, force
7496         underflow exception and remove excess range and precision from
7497         return value.
7498         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
7499         (MO): New macro.
7500         (__ieee754_atan2f): For results with small absolute value, force
7501         underflow exception and remove excess range and precision from
7502         return value.
7503         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
7504         (MO): New macro.
7505         (__atan): For results with small absolute value, force underflow
7506         exception and remove excess range and precision from return value.
7507         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
7508         (MO): New macro.
7509         (__atanf): For results with small absolute value, force underflow
7510         exception and remove excess range and precision from return value.
7511         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
7512         <math.h>.
7513         (__ieee754_atan2): Force underflow exception for results with
7514         small absolute value.
7515         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
7516         <math_private.h>.
7517         (atan): Force underflow exception for results with small absolute
7518         value.
7519         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
7520         (__atanf): Force underflow exception for results with small
7521         absolute value.
7522         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
7523         <math.h>.
7524         (__atanl): Force underflow exception for results with small
7525         absolute value.
7526         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
7527         (__atanl): Force underflow exception for results with small
7528         absolute value.
7529         * sysdeps/x86/fpu/bits/mathinline.h
7530         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
7531         (__ieee754_atan2): Only define inline for long double.
7532         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
7533         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
7534         * math/auto-libm-test-in: Do not mark underflow exceptions as
7535         possibly missing for bug 15319.  Add more tests of atan2.
7536         * math/auto-libm-test-out: Regenerated.
7537         * math/libm-test.inc (casin_test_data): Do not mark underflow
7538         exceptions as possibly missing for bug 15319.
7539         (casinh_test_data): Likewise.
7540         * sysdeps/i386/fpu/libm-test-ulps: Update.
7542 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
7544         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
7545         * sysdeps/mips/bits/endian.h: Fix comments.
7547 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
7549         [BZ #17996]
7550         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
7551         (hdestroy_r): Likewise.
7552         (hsearch_r): Likewise.
7553         (__hcreate_r): Declare and use libc_hidden_proto.
7554         (__hdestroy_r): Likewise.
7555         (__hsearch_r): Likewise.
7556         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
7557         (hcreate): Call __hcreate_r instead of hcreate_r.
7558         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
7559         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
7560         as weak alias of __hcreate_r.
7561         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
7562         __hdestroy_r.
7563         (hsearch_r): Rename to __hsearch_r and define as weak alias of
7564         __hsearch_r.
7565         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
7566         Remove variable.
7567         (test-xfail-XPG4/search.h/linknamespace): Likewise.
7568         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
7569         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
7570         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
7572 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7574         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
7575         arena_lock into a single arena_get.
7577 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
7579         * dl-reloc.c: Inlucde libc-internal.h.
7580         (_dl_try_allocate_static_tls): Call ALIGN_UP.
7581         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
7582         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
7583         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
7584         (grow_heap): Likewise.
7585         * malloc/malloc.c: Include libc-internal.h.
7586         (do_check_malloc): Call powerof2.
7587         (sysmalloc): Use pagesize. Call ALIGN_UP.
7588         (systrim): Use pagesize.
7589         (mremap_chunk): Use pagesize. Call ALIGN_UP.
7590         (__libc_valloc): Use pagesize.
7591         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
7593 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
7595         [BZ #17991]
7596         * include/sys/resource.h (__getrlimit64): Declare.  Use
7597         libc_hidden_proto.
7598         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
7599         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
7600         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
7601         getrlimit64.
7602         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
7603         __getrlimit64.
7604         [!getrlimit64] (getrlimit64): Define as weak alias of
7605         __getrlimit64.  Use libc_hidden_weak.
7606         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
7607         using __getrlimit64 not __new_getrlimit64.
7608         (__GI_getrlimit64): Likewise.
7609         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
7610         Likewise.
7611         (__GI_getrlimit64): Likewise.
7612         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
7613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
7614         (getrlimit): Add __getrlimit64 alias.
7615         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
7616         Likewise.
7617         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
7618         Remove variable.
7619         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
7620         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
7622 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
7624         * libio/fileops.c: Add missing sys/mman.h
7625         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
7627 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
7629         * manual/math.texi (Errors in Math Functions): Clarify goals
7630         regarding inexact and underflow exceptions.
7632 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
7634         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
7635         * sysdeps/mips/memset.S: Ditto.
7637 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
7639         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
7641 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7643         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
7644         (__v1longjmp): Remove versioned symbol.
7645         (__v1siglongjmp): Remove alias and versioned symbol.
7646         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
7647         (__v2siglongjmp): Likewise.
7649 2015-02-16  Torvald Riegel  <triegel@redhat.com>
7651         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
7653 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
7655         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
7657 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
7659         [BZ #17987]
7660         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
7661         zero result does not depend on the sign resulting from
7662         subtraction.
7663         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7664         Likewise.
7665         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
7666         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
7667         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7668         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
7669         * math/libm-test.inc (remquo_test_data): Add more tests.
7671 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
7673         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
7674         Problem reported by J William Piggott.
7676 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
7678         [BZ #17978]
7679         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
7680         products 4 * y and 2 * y where those would overflow.
7681         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7682         Likewise.
7683         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
7684         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
7685         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7686         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
7687         * math/libm-test.inc (remquo_test_data): Add more tests.
7689         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
7691         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
7692         [defined _COMPILING_NEWLIB].
7693         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
7694         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
7696         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
7697         [!defined __mips_isa_rev || __mips_isa_rev < 6].
7699 2015-02-16  Torvald Riegel  <triegel@redhat.com>
7701         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
7702         acquired.
7704 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
7706         [BZ #17792]
7707         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
7708         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
7709         HOST_STACK_END_ADDR): Likewise.
7711 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
7713         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
7714         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
7715         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
7717 2015-02-13  Roland McGrath  <roland@hack.frob.com>
7719         * sysdeps/generic/c++-types.data: New file.
7720         * sysdeps/generic/ld.abilist: New file.
7721         * sysdeps/generic/libBrokenLocale.abilist: New file.
7722         * sysdeps/generic/libanl.abilist: New file.
7723         * sysdeps/generic/libc.abilist: New file.
7724         * sysdeps/generic/libcrypt.abilist: New file.
7725         * sysdeps/generic/libdl.abilist: New file.
7726         * sysdeps/generic/libm.abilist: New file.
7727         * sysdeps/generic/libpthread.abilist: New file.
7728         * sysdeps/generic/libresolv.abilist: New file.
7729         * sysdeps/generic/librt.abilist: New file.
7731 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
7733         [BZ #17569]
7734         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7735         Compute absolute value of x as modified by fmod, not original
7736         value of x.
7737         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
7738         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
7739         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
7740         RUN_TEST_ffI_f1_mod8.
7741         (remquo_test_data): Add more tests.
7743 2015-02-13  Roland McGrath  <roland@hack.frob.com>
7745         * sysdeps/init_array/pt-crti.S: New file.
7747 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
7749         [BZ #17967]
7750         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
7751         __builtin_fmaf instead of relying on contraction of a * b + c.
7753 2015-02-12  J William Piggott  <elseifthen@gmx.com>
7755         [BZ #17969]
7756         * manual/time.texi: correct the zoneinfo path in the TZ Variable
7757         node.
7759 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
7761         [BZ #17964]
7762         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
7763         __builtin_fma instead of relying on contraction of a * b + c.
7765 2015-02-12  Roland McGrath  <roland@hack.frob.com>
7767         * Makeconfig (ASFLAGS): Add -Werror=undef.
7768         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
7769         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
7770         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
7772         * Makeconfig (after-link): New variable.
7773         (+link-pie, +link-pie-tests): Use it.
7774         (+link-static, +link-static-tests): Likewise.
7775         (+link, +link-tests): Likewise.
7776         * Makerules (build-module, build-module-asneeded): Likewise.
7777         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
7778         Likewise.
7779         * elf/Makefile ($(objpfx)ld.so): Likewise.
7781 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
7783         [BZ #17965]
7784         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
7785         both struct timeval and struct timespec.
7787 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
7789         [BZ #16560]
7790         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7791         and redefine.
7792         (__ieee754_exp2l): Do not multiply small fractional parts by
7793         M_LN2l.
7794         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
7795         small argument.
7796         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7797         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
7798         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
7799         * math/auto-libm-test-in: Add more tests of exp2.
7800         * math/auto-libm-test-out: Regenerated.
7802 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7804         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
7805         unaligned path.
7807 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7809         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
7810         little endian.
7812 2015-02-12  Andreas Schwab  <schwab@suse.de>
7814         [BZ #15790]
7815         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
7816         Filter out elision flags from value returned in kind.
7817         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
7818         * nptl/tst-pthread-mutexattr.c: New file.
7820 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7822         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
7823         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
7824         into gnu-gnu, and update comment to refer to abi-tags.
7826 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
7828         [BZ #15467]
7829         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
7830         (__sincos): Set errno to EDOM for infinite argument.
7831         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
7832         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
7833         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
7834         (__sincosl): Set errno to EDOM for infinite argument.
7835         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
7836         (__sincosl): Set errno to EDOM for infinite argument.
7837         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
7838         (__sincosl): Set errno to EDOM for infinite argument.
7839         * math/libm-test.inc (sincos_test_data): Test errno setting.
7841 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
7843         * string/strxfrm_l.c: Remove #define STRCMP.
7844         * string/strcoll_l.c: Remove #define STRLEN.
7845         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
7846         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
7848 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
7850         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
7851         * sysdeps/mips/mips32/sfp-machine.h: ... here.
7852         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
7853         * sysdeps/mips/mips64/Makefile: ... here.
7854         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
7855         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
7856         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
7857         * sysdeps/mips/mips64/sfp-machine.h: ... here.
7858         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
7859         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
7860         * sysdeps/mips/mips64/n64/Implies: Likewise.
7862 2015-02-10  Roland McGrath  <roland@hack.frob.com>
7864         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
7865         <sys/time.h>, <string.h>, and <errno.h>.
7866         (dest_offset, dest_address, value, zero): Remove unused variables.
7867         (ldouble): Remove typedef.
7868         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
7869         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
7870         1).  Fix code style.
7871         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
7872         (check): Function removed.
7873         (CHECK): New macro.
7874         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
7875         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
7876         Don't call set_sigaction_FP and remove_sigaction_FP here.
7877         (ldouble_test): Just use 'long double' as macro argument, no need for
7878         the 'ldouble' typedef.
7879         (do_test): Set up SIGFPE handler at start, using plain signal rather
7880         than sigaction.  Fix code style.
7882 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
7884         [BZ #17949]
7885         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
7886         jump label.
7888 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7890         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
7891         * sysdeps/powerpc/powerpc32/configure: Regenerated.
7893         * sysdeps/powerpc/configure.ac: Remove file.
7894         * sysdeps/powerpc/configure: Likewise.
7896         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
7897         [sysdep_routines]: Remove wordcopy-power6 object.
7898         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7899         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
7900         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
7901         (__memmove_ppc32): Likewise.
7902         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
7903         file.
7904         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
7905         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
7906         Remove preprocessor.
7908         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
7909         [sysdep_routines]: Remove wide chars objects.
7910         [wcsmbs]: New rule for wide char objects.
7912         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7913         Remove wordcopy-power6 obejct.
7914         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
7915         Use local call for wordcopy and memcpy symbols.
7916         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
7917         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
7918         implementation for loader.
7919         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
7921         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7922         Remove wordcopy-power7 object.
7923         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
7924         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
7925         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
7926         (_wordcopy_fwd_dest_aligned): Likewise.
7927         (_wordcopy_bwd_aligned): Likewise.
7928         (_wordcopy_bwd_dest_aligned): Likewise.
7930         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
7931         Rewrite to call __memmove_ppc instead of include default
7932         implementation.
7934         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7935         Remove wide chars objects.
7936         [wcsmbs]: New rule for wide char objects.
7938 2015-02-09  Andreas Schwab  <schwab@suse.de>
7940         [BZ #17912]
7941         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
7942         in terms of __O_DIRECTORY.
7944 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7946         * time/getdate.c: Include <stdbool.h>.
7947         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
7948         call PTR_MANGLE.
7949         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
7950         PTR_DEMANGLE.
7952 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
7954         Add ersatz _Static_assert on older C hosts
7955         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
7956         pre-C11 C platform that is not known to support _Static_assert.
7958 2015-02-07  Richard Braun  <rbraun@sceen.net>
7960         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
7961         sigstate.
7962         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
7964 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7966         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
7967         priority against unexistent AIO_PRIO_DELTA_MAX.
7968         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
7969         instead of int.
7970         * misc/fchflags.c (fchflags): Likewise.
7971         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
7972         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
7973         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
7974         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
7975         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
7976         Declare macros.
7977         [__USE_MISC] (chflags, fchflags): Declare functions.
7978         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
7979         EINVAL when nfds is greater than FD_SETSIZE.
7980         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
7981         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
7982         45.
7983         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
7984         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
7985         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
7986         MACH_RCV_TIMED_OUT.
7987         * hurd/hurd/signal.h (_hurd_self_sigstate,
7988         _hurd_critical_section_lock, _hurd_critical_section_unlock):
7989         Explicit casts from void *.
7990         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
7991         * abi-tags: Rename gnu-gnu os into gnu.
7993         [BZ #4719]
7994         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
7995         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
7996         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
7997         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
7998         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
7999         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
8001         [BZ #17944]
8002         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
8003         duplicates ADDR->sun_path with sockaddr LEN limitation.
8004         * sysdeps/mach/hurd/connect.c: Include <string.h>
8005         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
8006         * sysdeps/mach/hurd/sendmsg.c: Likewise.
8007         * sysdeps/mach/hurd/sendto.c: Likewise.
8008         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
8009         implementing it by hand.
8011 2015-02-06  Roland McGrath  <roland@hack.frob.com>
8013         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
8014         Use sfi_breg on ldr.
8015         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
8016         Likewise.
8018         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
8019         it's defined.
8020         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
8021         Test SIGSETXID only if it's defined.
8023         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
8025         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
8026         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
8028         * nptl/tst-align2.c: Moved ...
8029         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
8030         * nptl/Makefile (tests): Remove tst-align2.
8031         * sysdeps/unix/sysv/linux/Makefile
8032         [$(subdir) = nptl] (tests): Add tst-align-clone.
8033         * nptl/tst-getpid1.c: Moved ...
8034         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
8035         * nptl/tst-getpid2.c: Moved ...
8036         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
8037         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
8038         * sysdeps/unix/sysv/linux/Makefile
8039         [$(subdir) = nptl] (tests): ... here.
8040         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
8041         * sysdeps/unix/sysv/linux/Makefile
8042         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
8044         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
8045         Drop trailing \n from perror argument.  Use return rather than exit.
8047         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
8048         on [SA_SIGINFO].
8049         * nptl/tst-cancel21.c (do_test): Likewise.
8050         * debug/tst-backtrace6.c: Include <signal.h> first thing.
8051         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
8052         [!SA_SIGINFO]: Make it a stub test.
8054         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
8055         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
8057         * posix/tst-getlogin.c: Move to ...
8058         * login/tst-getlogin.c: ... here.
8059         * posix/Makefile (tests): Move tst-getlogin to ...
8060         * login/Makefile (tests): ... here.
8062         * libio/tst-atime.c (do_test): Move local variables SV and E
8063         inside [ST_NOATIME] conditional.
8065         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
8067         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
8069         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
8070         (wait_code): New function replaces macro.
8071         Call nanosleep rather than syscall.
8073         * nptl/pt-system.c: Rewritten.  Put everything under
8074         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
8075         Use IFUNC to redirect when possible.
8077         * nptl/pt-longjmp.c: Rewritten.  Put everything under
8078         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
8079         Use IFUNC to redirect when possible.
8081         * nptl/pt-fork.c: Rewritten.  Put everything under
8082         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
8083         Use IFUNC to redirect when possible.
8084         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
8086         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
8087         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
8088         unconditionally nowadays.  This included the only reference to
8089         __vdso_clock_gettime that appears outside libc proper.
8090         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
8091         Remove version set (containing only __vdso_clock_gettime).
8092         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
8093         Add attribute_hidden.
8094         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
8095         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
8096         libc_hidden_data_def.
8097         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8098         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8100         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
8101         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
8102         setrpcent, and getrpcport to ...
8103         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
8104         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
8105         getrpcbynumber_r, and getrpcent_r to ...
8106         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
8107         * inet/getrpcbyname.c: Moved ...
8108         * sunrpc/getrpcbyname.c: ... here.
8109         * inet/getrpcbyname_r.c: Moved ...
8110         * sunrpc/getrpcbyname_r.c: ... here.
8111         * inet/getrpcbynumber.c: Moved ...
8112         * sunrpc/getrpcbynumber.c: ... here.
8113         * inet/getrpcbynumber_r.c: Moved ...
8114         * sunrpc/getrpcbynumber_r.c: ... here.
8115         * inet/getrpcent.c: Moved ...
8116         * sunrpc/getrpcent.c: ... here.
8117         * inet/getrpcent_r.c: Moved ...
8118         * sunrpc/getrpcent_r.c: ... here.
8119         * inet/Makefile (routines): Move those to ...
8120         * sunrpc/Makefile (routines): ... here.
8121         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
8122         the $(subdirs) list.
8123         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
8124         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
8125         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
8126         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
8128         * elf/Makefile (routines): Include $(all-dl-routines), not just
8129         $(dl-routines).
8130         (rtld-routines): Likewise.  Use = rather than :=.
8131         * sysdeps/aarch64/Makefile [$(subdir) = elf]
8132         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
8133         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
8134         * sysdeps/arm/Makefile: Likewise.
8135         * sysdeps/i386/Makefile: Likewise.
8136         * sysdeps/x86_64/Makefile: Likewise.
8137         * sysdeps/hppa/Makefile [$(subdir) = elf]
8138         (sysdep_routines, sysdep-rtld-routines): Don't add
8139         $(sysdep-dl-routines) to these.
8140         * sysdeps/ia64/Makefile: Likewise.
8141         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
8142         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
8143         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
8144         Don't add dl-static to these; sysdep-dl-routines alone is enough.
8145         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
8146         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
8147         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
8148         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
8149         * sysdeps/powerpc/Makefile [$(subdir) = elf]
8150         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
8151         these; sysdep-dl-routines alone is enough.
8153 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
8155         [BZ #17932]
8156         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
8157         where multiplication results in zero and third argument is finite
8158         and nonzero.
8159         * math/auto-libm-test-in: Add more tests of fma.
8160         * math/auto-libm-test-out: Regenerated.
8162         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
8163         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
8164         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
8165         (_FP_CMP_EQ): Likewise.
8166         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
8168         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
8169         extra argument CHECK_NAN.  Redefine as wrapper around
8170         _FP_EXTEND_CNAN.
8172 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
8174         * version.h (RELEASE): Set to "stable".
8175         (VERSION): Set to "2.21"
8176         * include/features.h (__GLIBC_MINOR__): Set to 21.
8178         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
8180 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
8181             Paul Eggert  <eggert@cs.ucla.edu>
8183         [BZ #16618]
8184         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
8185         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
8186         size in bytes. Store needed elements in wpmax. Use needed size
8187         in bytes for extend_alloca.
8189 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
8191         * manual/install.texi: Latest tested versions are GCC 4.9.2,
8192         binutls 2.25, and texinfo 5.2.
8193         * INSTALL: Regenerate.
8194         * sysdeps/nios2/configure: Regenerate.
8195         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
8196         * manual/contrib.texi: Update.
8197         * po/be.po: Update.
8198         * po/bg.po: Update.
8199         * po/ca.po: Update.
8200         * po/cs.po: Update.
8201         * po/da.po: Update.
8202         * po/de.po: Update.
8203         * po/el.po: Update.
8204         * po/eo.po: Update.
8205         * po/es.po: Update.
8206         * po/fi.po: Update.
8207         * po/fr.po: Update.
8208         * po/gl.po: Update.
8209         * po/hr.po: Update.
8210         * po/hu.po: Update.
8211         * po/ia.po: Update.
8212         * po/id.po: Update.
8213         * po/it.po: Update.
8214         * po/ja.po: Update.
8215         * po/ko.po: Update.
8216         * po/lt.po: Update.
8217         * po/nb.po: Update.
8218         * po/nl.po: Update.
8219         * po/pl.po: Update.
8220         * po/pt_BR.po: Update.
8221         * po/ru.po: Update.
8222         * po/rw.po: Update.
8223         * po/sk.po: Update.
8224         * po/sl.po: Update.
8225         * po/sv.po: Update.
8226         * po/tr.po: Update.
8227         * po/uk.po: Update.
8228         * po/vi.po: Update.
8229         * po/zh_CN.po: Update.
8230         * po/zh_TW.po: Update.
8232         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
8233         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
8234         * sysdeps/hppa/dl-irel.h: Remove #warning.
8235         * sysdeps/hppa/entry.h: Provide prototype for
8236         __canonicalize_funcptr_for_compare and cast argument.
8237         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
8238         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
8239         * sysdeps/hppa/sotruss-lib.c: New file.
8240         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
8241         (atomic_compare_and_exchange_val_acq): Use __typeof__.
8242         (atomic_compare_and_exchange_bool_acq): Likewise.
8243         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
8244         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
8246         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
8247         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
8248         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
8250 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
8252         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
8253         called function in non-PIC case.
8255 2015-01-31  David S. Miller  <davem@davemloft.net>
8257         * sysdeps/sparc/sparc32/bits/atomic.h
8258         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
8259         unlock not after it.
8260         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
8261         volatile register usage warnings from the compiler.
8263         * sysdeps/sparc/nptl/sem_init.c: Delete.
8264         * sysdeps/sparc/nptl/sem_post.c: Delete.
8265         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
8266         * sysdeps/sparc/nptl/sem_wait.c: Delete.
8267         * sysdeps/sparc/sparc32/sem_init.c: New file.
8268         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
8269         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
8270         padding explicitly initialized.
8271         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
8272         padding for in-semaphore spinlock.
8273         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
8274         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
8275         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
8276         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
8277         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
8278         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
8279         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
8280         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
8281         version.
8282         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
8283         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
8285 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
8287         [BZ #17801]
8288         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8289         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
8290         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
8291         New.
8292         (index_AVX_Fast_Unaligned_Load): Likewise.
8293         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
8294         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
8295         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
8296         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
8297         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
8298         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
8299         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
8300         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
8301         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
8303 2015-01-29  Andreas Schwab  <schwab@suse.de>
8305         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
8307 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
8309         [BZ #17892]
8310         * nscd/nscd_stat.c (send_stats): Initialize DATA.
8312 2015-01-28  Martin Sebor  <msebor@redhat.com>
8314         * math/README.libm-test: Clarify. Add "How to read the test output."
8316 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
8318         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
8319         Define to 0.
8321 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
8323         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
8324         (__HAVE_64B_ATOMICS): Define to 0.
8326 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
8328         [BZ #17885]
8329         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
8330         value to set as new flag.
8332         [BZ #16576]
8333         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
8334         and use _ARCH_PPCSQ instead.
8335         (__ieee754_sqrt): Likewise.
8336         (__ieee754_sqrtf): Likewise.
8337         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
8338         _ARCH_PPCSQ is defined.
8339         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
8340         fsqrt instruction.
8341         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
8342         _ARCH_PPCSQ is defined.
8343         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
8344         fsqrts instruction.
8345         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
8347 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8349         * iconv/loop.c: Suppress array out of bound warning caused by GCC
8350         bug (GCC BZ #64739).
8352 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
8354         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
8355         Mark _retval as used.
8356         (lll_futex_wake_unlock): Likewise.
8357         (lll_futex_timed_wait_requeue_pi): Likewise.
8359         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
8360         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
8361         register variables.
8363         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
8364         libm_hidden_def.
8366         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
8367         (__bswap_64): Mark as __always_inline.
8369 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
8371         [BZ #15378]
8372         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
8373         when none of the search directories exist.
8375 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
8377         [BZ #17869]
8378         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
8379         power8 in .machine directive.
8381         [BZ #17868]
8382         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
8383         set dependency from opd value.
8385 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
8387         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8388         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
8389         architecture.
8391 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
8393         [BZ #17870]
8394         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
8395         with uint64_t.
8396         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
8397         (uint64_t) 1.
8398         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
8399         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
8400         Replace 1UL with (uint64_t) 1.
8401         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
8402         int with uint64_t.
8404 2015-01-23  Roland McGrath  <roland@hack.frob.com>
8406         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
8407         (if_freenameindex): Likewise.
8409         * resource/getrlimit64.c: Add missing libc_hidden_def.
8411 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
8413         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
8414         __label__.
8415         (_FP_FMA): Likewise.
8416         (_FP_TO_INT_ROUND): Likewise.
8417         (_FP_FROM_INT): Likewise.
8419 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8421         [BZ #16418]
8422         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
8423         Make code racy and cancel safe.
8425 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
8427         * sysdeps/arm/unwind-resume.h: Fix copyright year.
8428         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
8429         attribution.
8431         * pwd/tst-getpw.c: Rewrite.
8433         [BZ #17702]
8434         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
8435         (modules-names): Add moddummy1 and moddummy2.
8436         ($(objpfx)tst-rec-dlopen): Define.
8437         * dlfcn/moddummy1.c: New file.
8438         * dlfcn/moddummy2.c: New file.
8439         * dlfcn/tst-rec-dlopen.c: New file.
8440         * elf/dl-cache.c (_dl_load_cache_lookup):
8441         Return char*. Copy result with alloca/strcpy/strdup.
8442         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
8443         returns char*. Free cached. If not saving realname
8444         free cached.
8445         * elf/dl-open.c (dl_open_worker): Do not assert that
8446         _r_debug->r_state is RT_CONSISTENT.
8447         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
8448         returns char*.
8450 2015-01-21  Torvald Riegel  <triegel@redhat.com>
8451             Carlos O'Donell  <carlos@redhat.com>
8453         [BZ #12674]
8454         * nptl/sem_waitcommon.c: New file.
8455         * nptl/sem_wait.c: Include sem_waitcommon.c.
8456         (__sem_wait_cleanup, do_futex_wait): Remove.
8457         (__new_sem_wait): Adapt.
8458         (__new_sem_trywait): New function.
8459         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
8460         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
8461         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
8462         (sem_timedwait): Adapt.
8463         * nptl/sem_post.c (__new_sem_post): Adapt.
8464         (futex_wake): New function.
8465         (__old_sem_post): Add release MO fence.
8466         * nptl/sem_open.c (sem_open): Adapt.
8467         * nptl/sem_init.c (__new_sem_init): Adapt.
8468         (futex_private_if_supported): New function.
8469         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
8470         (__old_sem_getvalue): Add using previous code.
8471         * sysdeps/nptl/internaltypes.h: Adapt.
8472         * nptl/tst-sem13.c (do_test): Adapt.
8473         * nptl/tst-sem11.c (main): Adapt.
8474         * nptl/sem_trywait.c: Remove.
8475         * nptl/DESIGN-sem.txt: Remove.
8476         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
8477         (gen-as-const-headers): Remove structsem.sym.
8478         * nptl/structsem.sym: Remove.
8479         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
8480         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
8481         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
8482         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
8483         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
8484         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
8485         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
8486         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
8487         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
8488         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
8489         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
8490         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
8491         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
8492         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
8493         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
8494         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
8495         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
8496         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
8497         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
8498         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
8499         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
8500         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
8502 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
8504         * INSTALL: Regenerated.
8506         * po/libc.pot: Regenerated.
8508 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
8509             Sandra Loosemore  <sandra@codesourcery.com>
8510             Andrew Jenner  <andrew@codesourcery.com>
8511             Joseph Myers  <joseph@codesourcery.com>
8512             Nathan Sidwell  <nathan@codesourcery.com>
8514         * NEWS: Mention new Nios II port.
8515         * sysdeps/nios2/Implies: New file.
8516         * sysdeps/nios2/Makefile: New file.
8517         * sysdeps/nios2/Subdirs: New file.
8518         * sysdeps/nios2/Versions: New file.
8519         * sysdeps/nios2/__longjmp.S: New file.
8520         * sysdeps/nios2/abort-instr.h: New file.
8521         * sysdeps/nios2/backtrace.c: New file.
8522         * sysdeps/nios2/bits/endian.h: New file.
8523         * sysdeps/nios2/bits/fenv.h: New file.
8524         * sysdeps/nios2/bits/link.h: New file.
8525         * sysdeps/nios2/bits/setjmp.h: New file.
8526         * sysdeps/nios2/bsd-_setjmp.S: New file.
8527         * sysdeps/nios2/bsd-setjmp.S: New file.
8528         * sysdeps/nios2/configure: New generated file.
8529         * sysdeps/nios2/configure.ac: New file.
8530         * sysdeps/nios2/crti.S: New file.
8531         * sysdeps/nios2/crtn.S: New file.
8532         * sysdeps/nios2/dl-init.c: New file.
8533         * sysdeps/nios2/dl-machine.h: New file.
8534         * sysdeps/nios2/dl-sysdep.h: New file.
8535         * sysdeps/nios2/dl-tls.h: New file.
8536         * sysdeps/nios2/dl-trampoline.S: New file.
8537         * sysdeps/nios2/gccframe.h: New file.
8538         * sysdeps/nios2/gmp-mparam.h: New file.
8539         * sysdeps/nios2/jmpbuf-offsets.h: New file.
8540         * sysdeps/nios2/jmpbuf-unwind.h: New file.
8541         * sysdeps/nios2/ldsodefs.h: New file.
8542         * sysdeps/nios2/libc-tls.c: New file.
8543         * sysdeps/nios2/libm-test-ulps: New file.
8544         * sysdeps/nios2/machine-gmon.h: New file.
8545         * sysdeps/nios2/math-tests.h: New file.
8546         * sysdeps/nios2/math_private.h: New file.
8547         * sysdeps/nios2/memusage.h: New file.
8548         * sysdeps/nios2/nptl/Makefile: New file.
8549         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
8550         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
8551         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
8552         * sysdeps/nios2/nptl/pthreaddef.h: New file.
8553         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
8554         * sysdeps/nios2/nptl/tls.h: New file.
8555         * sysdeps/nios2/preconfigure: New file.
8556         * sysdeps/nios2/s_fma.c: New file.
8557         * sysdeps/nios2/s_fmaf.c: New file.
8558         * sysdeps/nios2/setjmp.S: New file.
8559         * sysdeps/nios2/sfp-machine.h: New file.
8560         * sysdeps/nios2/sotruss-lib.c: New file.
8561         * sysdeps/nios2/stackguard-macros.h: New file.
8562         * sysdeps/nios2/stackinfo.h: New file.
8563         * sysdeps/nios2/start.S: New file.
8564         * sysdeps/nios2/sysdep.h: New file.
8565         * sysdeps/nios2/tls-macros.h: New file.
8566         * sysdeps/nios2/tst-audit.h: New file.
8567         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
8568         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
8569         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
8570         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
8571         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
8572         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
8573         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
8574         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
8575         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
8576         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
8577         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
8578         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
8579         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
8580         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
8581         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
8582         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
8583         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
8584         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
8585         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
8586         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
8587         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
8588         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
8589         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
8590         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
8591         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
8592         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
8593         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
8594         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
8595         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
8596         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
8597         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
8598         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
8599         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
8600         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
8601         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
8602         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
8603         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
8604         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
8605         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
8606         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
8607         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
8608         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
8609         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
8610         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
8612 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8614         [BZ #17844]
8615         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
8616         (getutent): Use weak_alias in non SHARED case
8617         and default_symbol_version in SHARED case.
8618         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
8619         (getutent_r, pututline): Likewise.
8620         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
8621         (getutid): Likewise.
8622         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
8623         (getutid_r): Likewise.
8624         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
8625         (getutline): Likewise.
8626         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
8627         (getutline_r): Likewise.
8628         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
8629         (updwtmp): Likewise.
8631 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8633         [BZ #17848]
8634         * sysdeps/s390/s390-32/memcmp.S
8635         (memcmp_g5): Rename to __memcmp_g5.
8636         * sysdeps/s390/s390-32/memcpy.S
8637         (memcpy_g5): Rename to __memcpy_g5.
8638         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8639         (memcpy_mvcle) Rename to __memcpy_mvcle.
8640         * sysdeps/s390/s390-32/memset.S
8641         (memset_g5): Rename to __memset_g5.
8642         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8643         (IFUNC_RESOLVE): Prefix ifunc-resolve function
8644         and use prefixed functions.
8645         * sysdeps/s390/s390-32/multiarch/memcmp.S
8646         (memcmp_z196): Rename to __memcmp_z196.
8647         (memcmp_z10): Rename to __memcmp_z10.
8648         (memcmp): Set alias to __memcmp_g5.
8649         (bcmp): Set alias to __memcmp_g5.
8650         * sysdeps/s390/s390-32/multiarch/memcpy.S
8651         (memcpy_z196): Rename to __memcpy_z196.
8652         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8653         (memcpy_z10): Rename to __memcpy_z10.
8654         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8655         (memcpy): Set alias to __memcpy_g5.
8656         * sysdeps/s390/s390-32/multiarch/memset.S
8657         (memset_z196): Rename to __memset_z196.
8658         Jump to __memset_mvcle instead of memset_mvcle.
8659         (memset_z10): Rename to __memset_z10.
8660         Jump to __memset_mvcle instead of memset_mvcle.
8661         (memset_mvcle) Rename to __memset_mvcle.
8662         (memset): Set alias to __memset_g5.
8663         * sysdeps/s390/s390-64/memcmp.S
8664         (memcmp_z900): Rename to __memcmp_z900.
8665         * sysdeps/s390/s390-64/memcpy.S
8666         (memcpy_z900): Rename to __memcpy_z900.
8667         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8668         (memcpy_mvcle) Rename to __memcpy_mvcle.
8669         * sysdeps/s390/s390-64/memset.S
8670         (memset_z900): Rename to __memset_z900.
8671         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
8672         (IFUNC_RESOLVE): Prefix ifunc-resolve function
8673         and use prefixed functions.
8674         * sysdeps/s390/s390-64/multiarch/memcmp.S
8675         (memcmp_z196): Rename to __memcmp_z196.
8676         (memcmp_z10): Rename to __memcmp_z10.
8677         (memcmp): Set alias to __memcmp_z900.
8678         (bcmp): Set alias to __memcmp_z900.
8679         * sysdeps/s390/s390-64/multiarch/memcpy.S
8680         (memcpy_z196): Rename to __memcpy_z196.
8681         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8682         (memcpy_z10): Rename to __memcpy_z10.
8683         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8684         (memcpy): Set alias to __memcpy_z900.
8685         * sysdeps/s390/s390-64/multiarch/memset.S
8686         (memset_z196): Rename to __memset_z196.
8687         Jump to __memset_mvcle instead of memset_mvcle.
8688         (memset_z10): Rename to __memset_z10.
8689         Jump to __memset_mvcle instead of memset_mvcle.
8690         (memset_mvcle) Rename to __memset_mvcle.
8691         (memset): Set alias to __memset_z900.
8693 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
8695         [BZ #17748]
8696         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
8697         __fesetenv instead of fesetenv.
8699 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8701         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
8702         macro.
8704 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8706         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
8707         regression on LE.
8709         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
8710         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
8711         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8712         strncmp-power8 object.
8713         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8714         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
8715         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
8716         * NEWS: Update.
8718 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8719             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8721         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
8722         trailing byte check.
8724 2015-01-13  David S. Miller  <davem@davemloft.net>
8726         * include/signal.h (__sigreturn): Guard with __USE_MISC.
8728 2015-01-13  Roland McGrath  <roland@hack.frob.com>
8730         * login/logout.c (logout): Use memset rather than bzero.
8731         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
8732         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
8733         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
8734         (_gethtbyaddr): Likewise.
8735         * locale/programs/simple-hash.c (bcopy): Macro removed.
8737 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8739         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8740         Add strcmp-power8 object.
8741         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8742         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
8743         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
8744         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
8745         __strcmp_power8 implementation.
8746         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
8747         * NEWS: Update.
8749         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8750         Add strncpy-power8 and stpncpy-power8 objects.
8751         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8752         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
8753         implementations.
8754         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
8755         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
8756         __stpncpy_power8 implementation.
8757         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
8758         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
8759         __strncpy_power8 implementation.
8760         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
8761         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
8762         * NEWS: Update.
8764         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
8765         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
8766         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
8768         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8769         strncat-power8 object.
8770         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
8771         __strcat_power8 implementation.
8772         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8773         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
8774         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
8775         optimized strcat for power8.
8777         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8778         strcpy-power8 and stpcpy-power8 objects.
8779         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8780         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
8781         implementations.
8782         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
8783         multiarch stpcpy implementation for POWER8.
8784         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
8785         multiarch strcpy implementation for POWER8.
8786         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
8787         __strcpy_power8 function.
8788         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
8789         stpcpy for POWER8.
8790         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
8791         strcpy for POWER8.
8792         * NEWS: Update.
8794 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
8796         [BZ #16009]
8797         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
8798         weights and rules. Use do_xfrm_cached if data fits in cache,
8799         do_xfrm otherwise.  Moved former main loop to...
8800         * (do_xfrm_cached): New function.
8801         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
8802         find_idx, find_position and stack_push.
8803         * (find_idx): New function.
8804         * (find_position): Likewise.
8805         * localedata/sort-test.sh: Added test run for do_xfrm.
8806         * localedata/xfrm-test.c (main): Added command line option
8807         -nocache to run the test with strings that are too large for
8808         the STRXFRM cache.
8810 2015-01-13  Torvald Riegel  <triegel@redhat.com>
8812         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
8813         variable to lll_futex_wake call, not the value itself.
8815 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
8817         [BZ #17803]
8818         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
8819         twom64.  Adjust value to 0x1p-64L.
8820         (__scalblnl): Only return standard underflowing result for K <=
8821         -64 not K <= -63; adjust exponent for underflowing result by 64
8822         not 63.
8823         * math/libm-test.inc (scalbn_test_data): Add more tests.
8824         (scalbln_test_data): Likewise.
8826         [BZ #17834]
8827         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
8828         0x1p63L.
8829         (__scalblnl): Get new exponent of adjusted subnormal value from ES
8830         not HX.
8831         * math/libm-test.inc (scalbn_test_data): Add more tests.
8832         (scalbln_test_data): Likewise.
8834 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8835             Stefani Seibold  <stefani@seibold.net>
8837         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
8838         (sysdep_routines): Add dl-vdso here, ...
8839         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
8840         (sysdep_routines): ... not here.
8841         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
8842         fallback when vDSO is not presented.
8843         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
8844         Define with libc_hidden_proto/libc_hidden_data_def definitions.
8845         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
8846         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
8847         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
8848         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
8849         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
8850         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
8851         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
8852         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
8853         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
8854         fallback configurable symbol when vDSO is not available.
8855         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
8856         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
8857         be able to redefine fallback symbol when vDSO is not available.
8858         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
8859         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
8861 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8863         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
8864         (TLS_INIT_TP): Add tm_capable initialization.
8865         (TLS_DEFINE_INIT_TP): Likewise.
8866         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
8867         TCB.
8868         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
8869         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
8870         calculation.
8871         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
8872         transactoion is lock elision is built and TCB tm_capable is set.
8873         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
8874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8875         (INTERNAL_SYSCALL_NCS): Likewise.
8876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8877         (INTERNAL_SYSCALL_NCS): Likewise.
8878         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
8880         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
8881         for powerpc.
8882         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8883         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
8884         and remove it for 32 bits case.
8885         [pthread_rwlock_t] (__rwelision): New field for lock elision.
8886         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
8887         initialization.
8888         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
8889         Disable lock elision with rdlocks if elision is not available.
8891         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
8892         (sysdep_routines): Add lock elision objects.
8893         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8894         [pthread_mutex_t] (__spins): Rework to add lock elision field.
8895         [pthread_mutex_t] (__elision): Add field.
8896         [__PTHREAD_SPINS]: Adjust to init lock elision field.
8897         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
8898         elision definitions for powerpc.
8899         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
8900         implementation of lock elision for powerpc.
8901         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
8902         implementation of timed lock elision for powerpc.
8903         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
8904         implementation of trylock with lock elision for powerpc.
8905         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
8906         implementaion of unlock for lock elision for powerpc.
8907         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
8908         automatic enable lock elision for mutexes.
8909         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
8910         transaction execution definitions for powerpc.
8911         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
8912         definitions.
8913         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
8914         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
8915         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
8916         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
8917         * NEWS: Update.
8919 2015-01-09  Roland McGrath  <roland@hack.frob.com>
8921         * sysdeps/posix/shm-directory.c: Use <> rather than ""
8922         for #include of <shm-directory.h>.
8924 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
8926         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
8927         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
8929 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
8931         [BZ #17791]
8932         * NEWS: Mention bug fix.
8933         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
8934         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
8935         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
8937 2015-01-09  Torvald Riegel <triegel@redhat.com>
8939         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
8941 2015-01-09  Torvald Riegel <triegel@redhat.com>
8943         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
8945 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8947         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
8948         pointer and cast to uintptr_t.
8950 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8952         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
8953         removed.
8954         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
8956 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8958         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
8959         of 0.
8961 2015-01-08  Roland McGrath  <roland@hack.frob.com>
8963         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
8964         <nptl/pthreadP.h> instead.
8965         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
8967         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
8968         already defined.
8969         [__SIGRTMIN] (init): Function removed.
8970         [__SIGRTMIN] (initialized): Variable removed.
8971         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
8972         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
8973         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
8974         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
8975         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
8976         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
8977         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
8978         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
8979         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
8980         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
8981         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
8982         * sysdeps/nptl/allocrtsig.c: New file.
8983         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
8984         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
8985         * sysdeps/generic/testrtsig.h: File removed.
8987         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
8988         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
8990         * nptl/nptl-init.c (pthread_functions): Conditionalize
8991         .ptr__nptl_setxid initialization on [SIGSETXID].
8993         * sysdeps/nptl/sys/procfs.h: New file.
8994         * nptl_db/Makefile (headers): Add it.
8995         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
8997         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
8998         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
8999         * nptl/pthread_attr_setaffinity.c: Include it.
9000         * nptl/pthread_setattr_default_np.c: Likewise.
9001         * nptl/check-cpuset.h: New file.
9003 2015-01-08  Richard Henderson  <rth@redhat.com>
9005         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
9006         (CFLAGS-tst-execstack-prog.c): Likewise.
9007         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
9009 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
9010             Sandra Loosemore  <sandra@codesourcery.com>
9011             Andrew Jenner  <andrew@codesourcery.com>
9012             Joseph Myers  <joseph@codesourcery.com>
9013             Nathan Sidwell  <nathan@codesourcery.com>
9015         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
9016         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
9017         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
9018         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
9019         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
9020         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
9021         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
9022         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
9023         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
9024         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
9025         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
9026         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
9027         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
9028         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
9029         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
9030         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
9031         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
9033 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9035         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
9036         timespec struct member in syscall macro.
9037         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
9038         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
9039         first timeval struct member in syscall macro.
9040         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
9042 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
9044         [BZ #17748]
9045         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
9046         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
9047         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
9048         __feupdateenv and define as weak alias of __feupdateenv.  Use
9049         libm_hidden_weak.
9050         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
9051         libm_hidden_def.
9052         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
9053         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
9054         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
9055         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
9056         libm_hidden_def.
9057         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
9058         __feupdateenv and define as weak alias of __feupdateenv.  Use
9059         libm_hidden_weak.
9060         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
9061         libm_hidden_def.
9062         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
9063         __feupdateenv and define as weak alias of __feupdateenv.  Use
9064         libm_hidden_weak.
9065         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
9066         libm_hidden_def.
9067         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9068         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
9069         (__feupdateenv): Likewise.
9070         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
9071         __feupdateenv and define as weak alias of __feupdateenv.  Use
9072         libm_hidden_weak.
9073         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9074         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
9075         libm_hidden_def.
9076         * sysdeps/tile/math_private.h (__feupdateenv): New inline
9077         function.
9078         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
9079         libm_hidden_def.
9080         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
9081         __feupdateenv instead of feupdateenv.
9082         (default_libc_feupdateenv_test): Likewise.
9083         (libc_feresetround_ctx): Likewise.
9085 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9087         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
9088         prototype.
9090 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
9092         * posix/regcomp.c (parse_bracket_exp): Initialize type to
9093         COLL_SYM in a couple of places to avoid uninitialized variable
9094         wanings on tilegx gcc 4.8.2.
9096 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
9098         * sysdeps/aarch64/strcpy.S: New file.
9099         * sysdeps/aarch64/stpcpy.S: New file.
9100         * NEWS: Updated.
9102 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
9104         * sysdeps/aarch64/strrchr.S: New file.
9105         * NEWS: Updated.
9107 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
9109         [BZ #17658]
9110         * stdlib/setenv.c: Fix memory leak when setting large,
9111         duplicate string.
9113 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
9115         [BZ #17273]
9116         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
9117         and tabs from buffer before parsing fstab entry.
9118         * misc/tst-mntent.c (main): Add test for mount entry with
9119         trailing spaces and tabs.
9121 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
9123         [BZ #17748]
9124         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
9125         * math/fesetround.c (fesetround): Rename to __fesetround and
9126         define as weak alias of __fesetround.  Use libm_hidden_weak.
9127         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
9128         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
9129         * sysdeps/arm/fesetround.c (fesetround): Likewise.
9130         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
9131         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
9132         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
9133         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
9134         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
9135         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
9136         __fesetround_inline.
9137         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
9138         __fesetround_inline instead of __fesetround.
9139         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
9140         __fesetround and define as weak alias of __fesetround.  Use
9141         libm_hidden_weak.  Call __fesetround_inline instead of
9142         __fesetround.
9143         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
9144         __fesetround and define as weak alias of __fesetround.  Use
9145         libm_hidden_weak.
9146         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
9147         Likewise.
9148         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
9149         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9150         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
9151         * sysdeps/tile/math_private.h (__fesetround): New inline function.
9152         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
9153         __fesetround and define as weak alias of __fesetround.  Use
9154         libm_hidden_weak.
9155         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
9156         __fesetround instead of fesetround.
9157         (default_libc_feholdexcept_setround): Likewise.
9158         (libc_feholdsetround_ctx): Likewise.
9159         (libc_feholdsetround_noex_ctx): Likewise.
9161         [BZ #17748]
9162         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
9163         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
9164         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
9165         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
9166         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9167         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
9168         define as weak alias of __fesetenv.  Use libm_hidden_weak.
9169         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
9170         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9171         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
9172         define as weak alias of __fesetenv.  Use libm_hidden_weak.
9173         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9174         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
9175         define as weak alias of __fesetenv.  Use libm_hidden_weak.
9176         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
9177         libm_hidden_def.
9178         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
9179         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
9180         Likewise.
9181         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
9182         define as weak alias of __fesetenv.  Use libm_hidden_weak.
9183         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
9184         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9185         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
9186         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
9187         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
9188         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
9189         __fesetenv instead of fesetenv.
9190         (libc_feresetround_noex_ctx): Likewise.
9191         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
9192         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
9193         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
9194         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
9195         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
9196         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
9197         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9198         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
9199         (__feupdateenv): Likewise.
9200         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9201         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9202         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9203         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
9205 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
9207         [BZ #17806]
9208         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
9209         addresses have been freed.
9211 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
9213         * resolv/res_init.c (__res_vinit): Improve comments about nserv
9214         and nservall.
9216 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
9218         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
9219         Clean up check_pf allocation pattern. addresses
9221 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9223         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
9224         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
9225         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
9226         * nptl/pthread_exit.c (__pthread_exit): Likewise.
9227         * nptl/pthread_join.c (pthread_join): Likewise.
9228         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
9229         * sysdeps/posix/waitid.c (__waitid): Likewise.
9230         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
9231         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
9232         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
9233         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
9234         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
9235         Likewise.
9236         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
9237         (__libc_pread64): Likewise.
9238         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
9239         (__libc_pwrite): Likewise.
9240         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
9241         (__libc_pwrite64): Likewsie.
9242         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
9243         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
9244         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
9245         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
9246         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
9247         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
9248         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
9250         Likewise.
9251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9252         (__libc_pread64): Likewise.
9253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
9254         Likewise.
9255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9256         (__libc_pwrite64): Likewise.
9257         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
9258         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
9259         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
9260         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
9261         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
9262         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
9263         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
9264         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
9265         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
9266         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
9267         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
9268         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
9269         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
9270         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
9271         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
9272         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
9273         Likewise.
9275 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
9277         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
9278         (CFLAGS-test-double.c): Likewise.
9279         (CFLAGS-test-ldouble.c): Likewise.
9280         (CPPFLAGS-test-ifloat.c): Likewise.
9281         (CPPFLAGS-test-idouble.c): Likewise.
9282         (CPPFLAGS-test-ildoubl.c): Likewise.
9283         (CFLAGS-test-test-fenv.c): Remove variable.
9284         (CFLAGS-test-misc.c): Likewise.
9286 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
9288         [BZ #17797]
9289         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
9290         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
9291         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
9292         CLOCKS_PER_SEC == 1000000.
9293         * time/clocktest.c (main): Replace %ld with %jd and cast to
9294         intmax_t.
9296 2015-01-05  Roland McGrath  <roland@hack.frob.com>
9298         * sysdeps/generic/unwind-resume.h: New file.
9299         * sysdeps/gnu/unwind-resume.c: Include it.
9300         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
9301         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
9302         argument list.
9303         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
9304         global rather than static.
9305         (_Unwind_Resume): Update user.
9306         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
9307         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
9308         rather than static.  Add __attribute__ ((cold)).
9309         (_Unwind_Resume, __gcc_personality_v0): Update callers.
9310         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
9311         * sysdeps/arm/arm-unwind-resume.S: New file.
9312         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
9313         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
9314         * sysdeps/arm/Makefile [$(subdir) = csu]
9315         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
9316         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
9317         Add rt-arm-unwind-resume.
9318         [$(subdir) = nptl]
9319         (libpthread-sysdep_routines, libpthread-shared-only-routines):
9320         Add pt-arm-unwind-resume.
9321         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
9322         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
9324 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
9326         [BZ #17748]
9327         * include/fenv.h (__feholdexcept): Declare.  Use
9328         libm_hidden_proto.
9329         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
9330         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
9331         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9332         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
9333         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
9334         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
9335         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
9336         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9337         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
9338         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
9339         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9340         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
9341         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
9342         (feholdexcept): Likewise.
9343         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
9344         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
9345         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9346         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9347         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
9348         __feholdexcept instead of feholdexcept.
9349         (default_libc_feholdexcept_setround): Likewise.
9351 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
9353         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
9354         to avoid using stl/str to align destination.
9356 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
9358         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
9360 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
9362         [BZ #17796]
9363         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
9364         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
9365         Define as weak alias not strong alias.
9367 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
9369         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
9370         bltzal with addiupc.
9371         (RTLD_START): Ditto.
9373 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
9375         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
9376         for __vdso_* functions in declarations.
9377         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
9378         definitions.
9379         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
9380         INTERNAL_VSYSCALL): Use struct return types to check for error.
9382         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
9383         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
9384         function with cast from llround().
9385         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
9386         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
9387         Define.
9389 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
9391         [BZ #17793]
9392         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
9393         Define as weak alias not strong alias.
9395         [BZ #17635]
9396         * ctype/ctype-c99.c: New file.  isblank implementation moved from
9397         ...
9398         * ctype/ctype-extn.c: ... here.
9399         (__isblank_l): Move to ...
9400         * ctype/ctype-c99_l.c: ... here.  New file.
9401         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
9402         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
9403         Remove variable.
9404         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
9405         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
9406         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
9407         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
9408         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
9410         [BZ #17777]
9411         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
9412         (posix_fadvise64): Define as weak alias not strong alias.
9413         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9414         (posix_fallocate64): Likewise.
9415         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
9416         Remove variable.
9417         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
9418         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
9419         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
9420         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
9421         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
9423 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
9425         [BZ #16191]
9426         * NEWS: Mention bug fix.
9427         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
9428         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
9429         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
9430         (HOST_STACK_END_ADDR): Likewise.
9432 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
9434         [BZ #17748]
9435         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
9436         * math/fegetround.c (fegetround): Rename to __fegetround and
9437         define as weak alias of __fegetround.  Use libm_hidden_weak.
9438         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
9439         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
9440         * sysdeps/arm/fegetround.c (fegetround): Likewise.
9441         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
9442         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9443         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
9444         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
9445         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
9446         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9447         Undefine after rather than before function definition; use
9448         parentheses around function name in definition.
9449         (__fegetround): Also undefine macro after function definition.
9450         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
9451         __fegetround and define as weak alias of __fegetround.  Use
9452         libm_hidden_weak.  Do not undefine as macro.
9453         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9454         Likewise.
9455         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
9456         __fegetround and define as weak alias of __fegetround.  Use
9457         libm_hidden_weak.
9458         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9459         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9460         * sysdeps/tile/math_private.h (__fegetround): New inline function.
9461         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
9462         __fegetround and define as weak alias of __fegetround.  Use
9463         libm_hidden_weak.
9464         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
9465         __fegetround instead of fegetround.
9467         [BZ #17782]
9468         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
9469         Condition macro definition on [__USE_MISC].
9471         [BZ #17781]
9472         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
9473         (struct sigaction): Change type of sa_flags field to int.
9475         [BZ #17780]
9476         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
9477         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
9478         __glibc_reserved0.
9480         * nptl/version.c (banner): Use single year in copyright notice.
9482         * NEWS: Update copyright dates.
9483         * catgets/gencat.c (print_version): Likewise.
9484         * csu/version.c (banner): Likewise.
9485         * debug/catchsegv.sh: Likewise.
9486         * debug/pcprofiledump.c (print_version): Likewise.
9487         * debug/xtrace.sh (do_version): Likewise.
9488         * elf/ldconfig.c (print_version): Likewise.
9489         * elf/ldd.bash.in: Likewise.
9490         * elf/pldd.c (print_version): Likewise.
9491         * elf/sotruss.sh: Likewise.
9492         * elf/sprof.c (print_version): Likewise.
9493         * iconv/iconv_prog.c (print_version): Likewise.
9494         * iconv/iconvconfig.c (print_version): Likewise.
9495         * locale/programs/locale.c (print_version): Likewise.
9496         * locale/programs/localedef.c (print_version): Likewise.
9497         * login/programs/pt_chown.c (print_version): Likewise.
9498         * malloc/memusage.sh (do_version): Likewise.
9499         * malloc/memusagestat.c (print_version): Likewise.
9500         * malloc/mtrace.pl: Likewise.
9501         * manual/libc.texinfo: Likewise.
9502         * nptl/version.c (banner): Likewise.
9503         * nscd/nscd.c (print_version): Likewise.
9504         * nss/getent.c (print_version): Likewise.
9505         * nss/makedb.c (print_version): Likewise.
9506         * posix/getconf.c (main): Likewise.
9507         * scripts/test-installation.pl: Likewise.
9508         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
9510 2015-01-02  Will Newton  <will.newton@linaro.org>
9512         * sysdeps/arm/armv7/configure: Removed.
9513         * sysdeps/arm/armv7/configure.ac: Likewise.
9515 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
9517         * All files with FSF copyright notices: Update copyright dates
9518         using scripts/update-copyrights.
9519         * intl/plural.c: Regenerated.
9520         * locale/programs/charmap-kw.h: Likewise.
9521         * locale/programs/locfile-kw.h: Likewise.
9523 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9525         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
9527 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
9529         [BZ #17748]
9530         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
9531         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
9532         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
9533         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
9534         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9535         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
9536         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9537         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
9538         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9539         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
9540         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9541         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9542         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
9543         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9544         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
9545         libm_hidden_def.
9546         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
9547         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
9548         Likewise.
9549         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
9550         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9551         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
9552         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9553         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
9554         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
9555         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
9556         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
9557         __fegetenv instead of fegetenv.
9558         (libc_feholdsetround_noex_ctx): Likewise.
9560 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
9562         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
9563         (Elf_MIPS_ABIFlags_v0): New structure.
9564         (EF_MIPS_FP64): Define.
9565         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
9566         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
9567         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
9568         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
9569         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
9570         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
9571         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
9572         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
9573         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
9574         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
9575         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
9576         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
9577         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
9578         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
9579         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
9580         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
9581         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
9582         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
9583         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
9584         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
9585         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
9586         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
9587         field.
9588         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
9589         EF_MIPS_FP64.
9590         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
9591         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
9592         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
9593         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
9594         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
9595         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
9596         * sysdeps/mips/tst-abi-interlink.c: Likewise.
9597         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
9598         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
9599         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
9600         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
9601         record the current FP ABI extension.
9602         (mips-mode-switch): Define to show if kernel headers support mode
9603         switching.
9604         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9605         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
9606         supported SYSV ABI version to 3.
9607         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
9608         feature.
9610 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9611             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9613         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
9614         path.
9615         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
9617 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
9619         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
9620         __fegetround and redefine to call __fegetround.  Remove condition
9621         on [!__NO_MATH_INLINES].
9622         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
9623         function.
9624         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
9625         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9626         Remove macro.
9627         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
9628         instead of <fenv_libc.h>.
9629         (__llrintl): Call fegetround instead of __fegetround.
9630         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
9631         instead of <fenv_libc.h>.
9632         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9633         (__lrintl): Call fegetround instead of __fegetround.
9634         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
9635         instead of <fenv_libc.h>.
9636         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9637         (__rintl): Call fegetround instead of __fegetround.
9639 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
9641         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
9642         arrays.
9644 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
9646         [BZ #17775]
9647         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
9648         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
9649         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
9651 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9653         * sysdeps/i386/tls-macros.h: Include <features.h>.
9654         (TLS_LE): Use non-PIC version for GCC >= 5.0.
9655         (TLS_IE): Likewise.
9656         (TLS_LD): Likewise.
9657         (TLS_GD): Likewise.
9658         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
9659         define for GCC >= 5.0.
9661 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
9663         * math/test-fenv.c (test_single_exception, set_single_exc,
9664         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
9665         feexcp_mask_test, feenable_test, fe_single_test): Add
9666         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
9667         case where they are not used.
9668         * math/libm-test.inc: Likewise.
9669         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
9670         unused in the absence of FP rounding/exception support.
9671         * stdio-common/tst-printf-round.c: Likewise.
9672         * stdlib/tst-strtod-round.c: Likewise.
9673         * stdlib/tst-strtod-underflow.c: Likewise.
9675 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
9677         [BZ #17723]
9678         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
9679         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
9680         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9681         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9682         libm_hidden_weak.
9683         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
9684         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
9685         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
9686         libm_hidden_def.
9687         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9688         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9689         libm_hidden_weak.
9690         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
9691         Likewise.
9692         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
9693         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9694         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9695         libm_hidden_weak.
9696         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
9697         libm_hidden_def.
9698         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9699         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
9700         (__feraiseexcept): Likewise.
9701         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9702         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9703         libm_hidden_weak.
9704         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
9705         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
9706         libm_hidden_def.
9707         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
9708         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
9709         Use libm_hidden_def.
9710         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
9711         libm_hidden_def.
9712         (feraiseexcept): Define as weak not strong alias.  Use
9713         libm_hidden_weak.
9714         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
9715         New inline function.  Factored out of ...
9716         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
9717         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
9718         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
9719         feraiseexcept.
9720         * math/w_acos.c (__acos): Likewise.
9721         * math/w_asin.c (__asin): Likewise.
9722         * math/w_ilogb.c (__ilogb): Likewise.
9723         * math/w_j0.c (y0): Likewise.
9724         * math/w_j1.c (y1): Likewise.
9725         * math/w_jn.c (yn): Likewise.
9726         * math/w_log.c (__log): Likewise.
9727         * math/w_log10.c (__log10): Likewise.
9728         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
9729         * sysdeps/aarch64/fpu/math_private.h
9730         (libc_feupdateenv_test_aarch64): Likewise.
9731         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
9732         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
9733         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
9734         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
9735         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
9736         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
9737         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
9738         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9739         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9740         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9742 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
9744         [BZ #17732]
9745         * io/test-utime.c (main): Replace %ld with %jd and cast to
9746         intmax_t.
9747         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
9748         * nptl/tst-mutex5.c: Include <stdint.h>.
9749         (do_test): Replace %ld with %jd and cast to intmax_t.
9750         * posix/tst-regex.c (run_test): Likewise.
9751         (run_test_backwards): Likewise.
9752         * rt/tst-clock.c: Include <stdint.h>.
9753         (clock_test): Replace %ld with %jd and cast to intmax_t.
9754         * rt/tst-cpuclock1.c: Include <stdint.h>.
9755         (do_test): Replace %lu with %ju and cast to uintmax_t.
9756         * rt/tst-cpuclock2.c: Include <stdint.h>.
9757         (do_test): Replace %lu with %ju and cast to uintmax_t.
9758         * rt/tst-mqueue1.c: Include <stdint.h>.
9759         (check_attrs): Replace %ld with %jd and cast to intmax_t.
9760         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
9761         intmax_t.
9762         * rt/tst-mqueue4.c (do_test): Likewise.
9763         * rt/tst-timer4.c: Include <stdint.h>.
9764         (check_ts): Replace %ld with %jd and cast to intmax_t.
9765         (do_test): Likewise.
9766         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
9767         and cast to intmax_t.
9768         * sysdeps/pthread/tst-timer.c (main): Likewise.
9769         * time/clocktest.c (main): Likewise.
9770         * time/tst-posixtz.c (do_test): Likewise.
9771         * timezone/tst-timezone.c (main): Likewise.
9773 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9774             H.J. Lu  <hongjiu.lu@intel.com>
9776         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
9777         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
9778         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
9779         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
9780         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
9781         version if bit_Fast_Unaligned_Load is set.
9782         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9783         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9784         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9785         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9786         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9787         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9788         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9789         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
9790         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
9791         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
9792         to 4.
9793         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
9794         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
9795         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
9796         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
9798 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
9800         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
9801         instead of #if to avoid a Wundef warning.
9802         * stdlib/tst-limits.c (do_test): Likewise.
9804         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
9805         parallel other exception macros.
9806         (fegetenv): Convert from macro to extern inline so that it applies
9807         retroactively to inline functions already seen by the compiler.
9808         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
9810         * posix/Makefile (before-compile): Use $(objpfx) for
9811         posix-conf-vars-def.h.
9813 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9815         * posix/getconf.c (main): Use size_t for type of I.
9816         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
9817         NSPEC.
9819         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
9820         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
9821         * posix/posix-envs.def: Likewise.
9822         * sysdeps/posix/sysconf.c: Likewise.
9823         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
9824         (specs): Remove array.
9825         * scripts/gen-posix-conf-vars.awk: Support generation of specs
9826         array.
9828         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
9829         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
9830         (__sysconf): Use CONF_IS_* macros.
9832         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
9833         ($(objpfx)posix-conf-vars-def.h): New target.
9834         * posix/posix-conf-vars.list: New file.
9835         * posix/posix-conf-vars.h: New file.
9836         * posix/confstr.c: Include posix-conf-vars.h.
9837         (confstr): Use CONF_IS_* macros.
9838         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
9839         CONF_IS_* macros.
9840         * scripts/gen-posix-conf-vars.awk: New file.
9842 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
9844         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
9845         fegetround): Add no-op macros to avoid linknamespace issues.
9847         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
9848         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
9850         * sysdeps/unix/sysv/linux/tile/sysdep.h
9851         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
9852         assembly-specific section to avoid a redefinition warning.
9854         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
9855         long before casting to pointer to avoid a cast warning.
9857 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
9859         * sysdeps/tile/tilegx/Implies: New file.
9861 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
9863         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
9865 2014-12-23  Florian Weimer  <fweimer@redhat.com>
9867         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
9869 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9871         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
9872         not define.
9873         * sysdeps/unix/sysv/linux/utimes.c: Do not include
9874         <kernel-features.h>.
9875         (__utimes) [__NR_utimes]: Make code unconditional.
9876         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
9877         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9878         (__ASSUME_UTIMES): Do not undefine.
9879         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9880         (__ASSUME_UTIMES): Likewise.
9881         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9882         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
9883         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
9884         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
9886 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
9888         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
9890 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
9892         [BZ #17747]
9893         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
9894         alias to weak alias for j0l, y0l.
9895         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
9896         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
9898         [BZ #17746]
9899         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
9900         conversion.
9902 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
9904         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
9905         to zero if not already defined.
9907 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9909         [BZ #17724]
9910         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
9911         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
9912         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
9913         (char *) casts added.
9914         * sysdeps/ieee754/k_standardf.c: New file.
9915         * sysdeps/ieee754/k_standardl.c: Likewise.
9916         * math/Makefile (libm-support): Remove k_standard.
9917         (libm-calls): Add k_standard.
9919 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9921         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9922         Optimize to avoid an unnecessary FPCR read.
9924 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9926         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
9927         Optimize to reduce FPCR/FPSR accesses.
9929 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9931         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
9932         Call libc_fetestexcept_aarch64.
9934 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9936         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
9937         Call libc_fesetround_aarch64.
9939 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9941         [BZ #17733]
9942         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
9943         (__bind): Do not define as weak alias.
9944         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
9945         define.
9946         (__getsockname): Do not define as weak alias.
9948 2014-12-22  Will Newton  <will.newton@linaro.org>
9950         * manual/install.texi: Document that we require bison 2.7
9951         or above.
9952         * INSTALL: Regenerate.
9953         * configure.ac: Use AC_CHECK_PROG_VER instead of
9954         AC_PATH_PROG when checking for bison and check for
9955         version 2.7 or above.
9956         * configure: Regenerate.
9958 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
9960         [BZ #17745]
9961         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
9962         * sysdeps/tile/ffsll.c (ffsll): To here.
9964         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
9966 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
9968         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
9969         if not defined.
9970         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
9971         definition.
9972         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
9973         hidden ___tls_get_addr.
9974         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
9975         hidden __tls_get_addr.
9976         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
9977         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
9978         Likewise.
9980 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
9982         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
9983         _dl_init call.
9985 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
9987         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
9988         from "call _dl_init@PLT".
9989         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
9991 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
9993         * manual/search.texi: (Array Sort Function): Clarify stable sorting
9994         guarantees.
9996 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
9998         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
10000 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
10002         [BZ #17744]
10003         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
10004         strnlen.
10006 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
10008         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
10009         of multu on MIPSr6.
10010         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
10011         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
10012         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
10013         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
10014         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
10016 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
10018         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
10019         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
10020         (PTR_SUBU): Use subu for mips32r6/mips64r6.
10021         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
10022         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
10023         mips32r6/mips64r6.
10024         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
10026 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
10028         * string/strncat.c (STRNCAT): Simplify implementation.
10030 2014-12-19  David S. Miller  <davem@davemloft.net>
10032         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
10033         access the quad as both a long double and as a series of 4 words.
10035         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
10036         link_map->l_info array access.
10038 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
10040         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
10042         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
10043         * math/atest-exp2.c (TIMEOUT): Likewise.
10044         * math/atest-sincos.c (TIMEOUT): Likewise.
10046 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
10048         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
10049         -Wno-error with -fno-builtin-lround.
10051 2014-12-19  Torvald Riegel  <triegel@redhat.com>
10053         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
10054         Contains futex constants and functions moved over from ...
10055         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
10056         <lowlevellock-futex.h>.
10057         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
10058         (lll_timedwait_tid): Add comments and parentheses around macro
10059         arguments.
10061 2014-12-19  Torvald Riegel  <triegel@redhat.com>
10063         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
10064         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
10065         (__lll_private_flag): Remove.
10066         (lll_futex_wait): Likewise.
10067         (lll_futex_timed_wait): Likewise.
10068         (lll_futex_wake): Likewise.
10069         (lll_futex_requeue): Likewise.
10070         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
10071         (__lll_timedwait_tid): Spell out argument names.
10072         (lll_timedwait_tid): Add comments and parentheses around macro
10073         arguments.
10074         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
10075         LLL_SHARED and LLL_PRIVATE usable from assembly code.
10077 2014-12-19  Torvald Riegel  <triegel@redhat.com>
10079         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
10080         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
10081         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10082         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
10083         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
10084         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
10085         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
10086         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
10087         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
10088         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
10089         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
10090         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
10091         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
10092         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
10093         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
10094         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
10095         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
10096         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
10097         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
10099 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
10101         * sysdeps/x86_64/x32/Makefile: New file.
10103 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
10105         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
10106         1L with (mp_limb_t) 1.
10108 2014-12-17  Roland McGrath  <roland@hack.frob.com>
10110         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
10111         * nptl/libc_pthread_init.c: ... here.
10112         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
10113         * nptl/register-atfork.c: ... here.
10115         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
10116         Use pthread_sigmask rather than INTERNAL_SYSCALL.
10117         Use assert_perror to check its return value.
10118         (__gai_create_helper_thread): Likewise.
10120         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
10122         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
10124 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
10126         [BZ #17725]
10127         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
10128         __profil_counter.
10129         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
10130         Likewise.
10131         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
10132         Likewise.
10133         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
10134         Likewise.
10135         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
10136         (profil_counter): Likewise.
10137         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
10138         (profil_counter): Likewise.
10139         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
10140         Likewise.
10141         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
10142         Likewise.
10143         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
10144         (profil_counter): Likewise.
10145         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
10146         Likewise.
10147         [!__profil_counter] (profil_counter): Define as weak alias of
10148         __profil_counter.
10149         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
10150         (profil_counter): Rename to __profil_counter.
10151         [!__profil_counter] (profil_counter): Define as weak alias of
10152         __profil_counter.
10153         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
10154         (profil_counter): Rename to __profil_counter.
10155         [!__profil_counter] (profil_counter): Define as weak alias of
10156         __profil_counter.
10157         * sysdeps/posix/profil.c: Update comment referring to
10158         profil_counter.
10159         (__profil): Use __profil_counter instead of profil_counter.
10160         * sysdeps/posix/sprofil.c (profil_counter): Rename to
10161         __profil_counter.  Use __profil_counter_ushort and
10162         __profil_counter_uint in definitions.
10163         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
10164         instead of profil_counter_uint and profil_counter_ushort.
10166         [BZ #17722]
10167         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
10168         define as weak alias of __inet_makeaddr.
10169         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
10170         as weak alias of __inet_addr.
10171         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
10172         as weak alias of __inet_pton.  Use libc_hidden_weak.
10173         * include/arpa/inet.h (__inet_pton): Declare.  Use
10174         libc_hidden_proto.
10175         (inet_makeaddr): Don't use libc_hidden_proto.
10176         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
10177         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
10178         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
10179         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
10180         Remove variable.
10181         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
10182         (test-xfail-POSIX/time.h/linknamespace): Likewise.
10184 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
10186         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
10188 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
10190         * stdio-common/bug-vfprintf-nargs.c (do_test):
10191         Cast value to intptr_t to avoid format warning
10192         for usage with PRIdPTR printing macro.
10194 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
10196         * libio/tst-widetext.c (do_test):
10197         Use format type %td instead of %Zd for ptrdiff_t
10198         in order to avoid format warning.
10200 2014-12-17  Andreas Schwab  <schwab@suse.de>
10202         * nscd/mem.c (gc): Add size_t cast to match printf format.
10204 2014-12-16  Roland McGrath  <roland@hack.frob.com>
10206         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
10207         (init): Apply PTR_MANGLE to pointers before storing them.
10208         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
10209         before using them.
10211 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
10213         [BZ #17719]
10214         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
10215         define as weak alias of __memrchr.
10216         (__memrchr): Do not define as strong alias of memrchr.
10217         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
10218         Remove variable.
10219         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
10220         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
10221         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
10223         [BZ #17717]
10224         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
10225         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
10226         (if_indextoname): Rename to __if_indextoname and define as weak
10227         alias of __if_indextoname.  Use libc_hidden_weak.
10228         (if_freenameindex): Rename to __if_freenameindex and define as
10229         weak alias of __if_freenameindex.
10230         (if_nameindex): Rename to __if_nameindex and define as weak alias
10231         of __if_nameindex.
10232         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
10233         __if_nametoindex and define as weak alias of __if_nametoindex.
10234         Use libc_hidden_weak.
10235         (if_freenameindex): Rename to __if_freenameindex and define as
10236         weak alias of __if_freenameindex.
10237         (if_nameindex): Rename to __if_nameindex and define as weak alias
10238         of __if_nameindex.
10239         (if_indextoname): Rename to __if_indextoname and define as weak
10240         alias of __if_indextoname.  Use libc_hidden_weak.
10241         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
10242         __if_nametoindex and define as weak alias of __if_nametoindex.
10243         Use libc_hidden_weak.
10244         (if_freenameindex): Rename to __if_freenameindex and define as
10245         weak alias of __if_freenameindex.  Use libc_hidden_weak.
10246         (if_nameindex_netlink): Use __if_freenameindex instead of
10247         if_freenameindex.
10248         (if_nameindex): Rename to __if_nameindex and define as weak alias
10249         of __if_nameindex.  Use libc_hidden_weak.
10250         (if_indextoname): Rename to __if_indextoname and define as weak
10251         alias of __if_indextoname.  Use libc_hidden_weak.
10252         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
10253         libc_hidden_proto.
10254         [!_ISOMAC] (__if_freenameindex): Likewise.
10255         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
10256         if_nametoindex.
10257         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
10258         variable.
10259         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
10260         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
10261         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
10262         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
10263         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
10264         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
10265         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
10267         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
10268         Remove variable.
10269         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
10270         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
10272 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10274         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
10275         subscript above bounds'
10277         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
10278         bounds.
10280 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
10282         * libio/tst-fopenloc.c: Use test-skeleton.c.
10284         * stdlib/tst-bsearch.c: Use test-skeleton.c.
10285         (entry): Rename to ITEM.
10286         (do_test, comp): Adjust.
10288         * stdio-common/tst-fseek.c: Use test-skeleton.c.
10290 2014-12-16  Torvald Riegel  <triegel@redhat.com>
10292         * string/tester.c: Include <libc-internal.h>.
10293         (test_memset): Ignore -Wmemset-transposed-args.
10295 2014-12-16  Torvald Riegel  <triegel@redhat.com>
10297         * misc/tst-mntent2.c (do_test): Fix warning.
10299 2014-12-16  Torvald Riegel  <triegel@redhat.com>
10301         * elf/tst-unique4lib.cc(a): Mark as used.
10303 2014-12-16  Florian Weimer  <fweimer@redhat.com>
10305         [BZ #17630]
10306         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
10307         names.
10309 2014-12-16  Allan McRae  <allan@archlinux.org>
10311         * stdio-common/Makefile (tests): Re-add bug26.
10313 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
10315         [BZ #17657]
10316         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
10317         static array.
10319 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
10321         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
10322         (__lll_lock_wait): Likewise.
10323         (__lll_timedlock_wait): Likewise.
10324         (__lll_timedwait_tid): Likewise.
10325         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
10326         (__lll_robust_timedlock_wait): Likewise.
10327         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
10328         (lll_cond_trylock): Likewise.
10329         (__lll_lock): Likewise.
10330         (__lll_robust_lock): Likewise.
10331         (__lll_cond_lock): Likewise.
10332         (lll_robust_cond_lock): Likewise.
10333         (__lll_timedlock): Likewise.
10334         (__lll_robust_timedlock): Likewise.
10335         (__lll_unlock): Likewise.
10336         (__lll_robust_unlock): Likewise.
10337         (lll_wait_tid): Likewise.
10338         (lll_timedwait_tid): Likewise.
10340 2014-12-15  Torvald Riegel  <triegel@redhat.com>
10342         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
10344 2014-12-15  Torvald Riegel  <triegel@redhat.com>
10346         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
10348 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
10350         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
10351         * stdio-common/tst-sprintf.c: Likewise.
10353 2014-12-15  Torvald Riegel  <triegel@redhat.com>
10355         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
10357 2014-12-15  Jeff Law  <law@redhat.com>
10359         [BZ #16617]
10360         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
10361         on the heap.  (CVE-2012-3406)
10362         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
10363         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
10364         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
10366 2014-12-15  Will Newton  <will.newton@linaro.org>
10368         * manual/install.texi: Bump required version of texinfo
10369         to 4.7 from 4.5.
10370         * INSTALL: Regenerated.
10371         * configure.ac: Check for makeinfo version 4.7 and above.
10372         * configure: Regenerated.
10374 2014-12-12  Roland McGrath  <roland@hack.frob.com>
10376         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
10377         PREFIX, string constant to insert between directory and name.
10378         * sysdeps/posix/shm_open.c: Update caller.
10379         * sysdeps/posix/shm_unlink.c: Likewise.
10380         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
10381         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
10382         (SEM_SHM_PREFIX): New macro.
10383         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
10384         [$(have-thread-library) = no].
10385         * nptl/Makefile (libpthread-routines): Add shm-directory.
10386         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
10387         * sysdeps/nptl/shm-directory.h: New file.
10388         * sysdeps/posix/shm-directory.c
10389         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
10390         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
10391         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
10392         INTERNAL_SYSCALL.
10393         (__where_is_shmfs): Function removed.
10394         (mountpoint, defaultmount, defaultdir, __namedsem_once):
10395         Variables removed.
10396         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
10397         Use SHM_GET_NAME.
10398         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
10400         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
10401         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
10402         unconditional for use inside libpthread.
10403         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
10405 2014-12-12  Roland McGrath  <roland@hack.frob.com>
10407         * nptl/pthread_getaffinity.c: New file.
10408         * nptl/pthread_setaffinity.c: New file.
10409         * nptl/pthread_getname.c: New file.
10410         * nptl/pthread_setname.c: New file.
10412         * nptl/pthread_create.c (START_THREAD_DEFN)
10413         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
10415 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
10416             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10418         * resolv/res_send.c (send_vc): Disable warning resplen may
10419         be used uninitialized.
10421 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
10423         * nptl/tst-mutex6.c
10424         (ATTR_NULL): New define checks ATTR against NULL.
10425         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
10426         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
10428 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
10430         [BZ #17581]
10431         * malloc/hooks.c
10432         (mem2mem_check): Revert my previous change.
10433         (malloc_check_get_size): Revert my previous change.
10434         (mem2chunk_check): Revert my previous change.
10436 2014-12-11  Roland McGrath  <roland@hack.frob.com>
10438         * sysdeps/posix/shm-directory.c: New file.
10439         * sysdeps/posix/shm-directory.h: New file.
10440         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
10441         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
10442         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
10443         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
10444         Transmute EPERM to EACCES.
10445         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
10446         from ...
10447         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
10448         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
10450 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10452         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
10453         pointer and cast to uintptr_t.
10454         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
10455         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
10456         Add cast to avoid warning.
10457         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
10459 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
10461         * nptl/semaphore.h: Move to ...
10462         * sysdeps/pthread/semaphore.h: ... here.
10463         * Makefile (installed-headers): Change nptl/semaphore.h to
10464         sysdeps/pthread/semaphore.h.
10466 2014-12-11  Roland McGrath  <roland@hack.frob.com>
10468         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
10469         generated error format strings.
10471         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
10472         -Wformat-extra-args warnings for scanf formats.
10473         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
10474         test of zero-length format (duh).
10475         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
10476         corner-case scanf format test.
10477         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
10478         generated fprintf format string.
10479         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
10480         corner-case sprintf format tests.
10481         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
10482         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
10483         -Wformat-extra-args warnings throughout.
10484         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
10485         (CFLAGS-scanf4.c): Likewise.
10486         (CFLAGS-scanf7.c): Likewise.
10487         (CFLAGS-tst-sprintf.c): Likewise.
10488         (CFLAGS-tst-printf.c): Likewise.
10489         (CFLAGS-tst-printfsz.c): Likewise.
10491 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
10493         * include/cpio.h: New file.
10494         * include/fmtmsg.h: Likewise.
10496         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
10497         corresponding format argument to size_t.
10498         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
10499         arguments.
10500         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
10501         corresponding format argument to size_t.
10502         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
10503         arguments.
10504         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
10505         corresponding format argument to size_t.
10506         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
10507         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
10508         (CFLAGS-tst-mbswcs2.c): Likewise.
10509         (CFLAGS-tst-mbswcs3.c): Likewise.
10510         (CFLAGS-tst-mbswcs4.c): Likewise.
10511         (CFLAGS-tst-mbswcs5.c): Likewise.
10512         (CFLAGS-tst-trans.c): Likewise
10514 2014-12-11  Roland McGrath  <roland@hack.frob.com>
10516         * posix/regexbug1.c (main): Use "%s" format with regerror results,
10517         rather than assuming they won't contain any '%'s.
10519 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
10521         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
10522         inhibit_loop_to_libcall to avoid recursive calls.
10523         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
10524         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
10526 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
10528         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
10529         prototype.
10531 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
10533         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
10534         integer value instead of boolean.
10536 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
10538         * malloc/malloc.c: Fix powerof2 check.
10540 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10542         * locale/programs/locfile.h (maybe_swap_uint32):
10543         Remove inline and add unused attribute.
10545 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10547         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
10548         Truncating assembler expression to a .long expression.
10550 2014-12-11  Andreas Schwab  <schwab@suse.de>
10552         * elf/rtld.c (struct map_args): Constify str member.
10553         (do_preload): Constify fname argument.
10555 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10557         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
10558         constants definition.
10560 2014-12-11  Andreas Schwab  <schwab@suse.de>
10562         [BZ #16657]
10563         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
10564         FORCE_ELISION instead of DO_ELISION.
10565         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
10566         Remove.
10567         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
10568         Likewise.
10570         * iconvdata/gconv-modules: Remove duplicate entry.
10572 2014-12-11  Will Newton  <will.newton@linaro.org>
10574         Merge gettext 0.19.3 into intl/.
10576         This involves a number of cosmetic changes to comments
10577         and ANSI function definitions and prototypes throughout
10578         all the files. The gettext copyright header is used but
10579         with the date ranges taken from the glibc copy.
10581         * NEWS: Add gettext merge to 2.21.
10582         * intl/bindtextdom.c: Switch to gettext copyright.
10583         Use ANSI definitions and prototypes.
10584         Use gl_* locking primitives rather than __libc_* ones.
10585         Use __builtin_expect rather than __glibc_likely/unlikely.
10586         * intl/dcgettext.c: Switch to gettext copyright.
10587         Use ANSI definitions and prototypes.
10588         * intl/dcigettext.c: Switch to gettext copyright.
10589         Use ANSI definitions and prototypes.
10590         (INTDIV0_RAISES_SIGFPE): New define.
10591         Use gl_* locking primitives rather than __libc_* ones.
10592         Include eval-plural.h instead of plural-eval.c.
10593         Use __builtin_expect rather than __glibc_likely/unlikely.
10594         * intl/dcngettext.c: Switch to gettext copyright.
10595         Use ANSI definitions and prototypes.
10596         * intl/dgettext.c: Likewise.
10597         * intl/dngettext.c: Likewise.
10598         * intl/plural-eval.c: Renamed to...
10599         * intl/eval-plural.h: ...this.
10600         * intl/explodename.c: Switch to gettext copyright.
10601         Use ANSI definitions and prototypes.
10602         (_nl_explode_name): Use strchr instead of __rawmemchr.
10603         * intl/finddomain.c: Switch to gettext copyright.
10604         Use ANSI definitions and prototypes.
10605         Use gl_* locking primitives rather than __libc_* ones.
10606         (_nl_find_domain): Use malloc rather than alloca for
10607         allocation of temporary locale name.
10608         * intl/gettext.c: Switch to gettext copyright.
10609         Use ANSI definitions and prototypes.
10610         * intl/gettextP.h: Switch to gettext copyright.
10611         Use ANSI definitions and prototypes.
10612         Use gl_* locking primitives rather than __libc_* ones.
10613         * intl/gmo.h: Switch to gettext copyright.
10614         (struct sysdep_string): Move struct segment_pair outside of
10615         struct definition.
10616         * intl/hash-string.c: Use ANSI definitions and prototypes.
10617         * intl/hash-string.h: Switch to gettext copyright.
10618         Use ANSI definitions and prototypes.
10619         * intl/l10nflist.c: Switch to gettext copyright.
10620         Use ANSI definitions and prototypes.
10621         (_nl_normalize_codeset): Avoid integer overflow.
10622         * intl/loadinfo.h: Switch to gettext copyright.
10623         Use ANSI definitions and prototypes.
10624         (LIBINTL_DLL_EXPORTED): New define.
10625         (PATH_SEPARATOR): New define.
10626         * intl/loadmsgcat.c: Switch to gettext copyright.
10627         * intl/localealias.c: Switch to gettext copyright.
10628         Use ANSI definitions and prototypes.
10629         (_nl_expand_alias): Use PATH_SEPARATOR.
10630         * intl/ngettext.c: Switch to gettext copyright.
10631         Use ANSI definitions and prototypes.
10632         * intl/plural-exp.c: Likewise.
10633         * intl/plural-exp.h: Switch to gettext copyright.
10634         Use ANSI definitions and prototypes.
10635         (struct expression): Move definition of enum operator outside
10636         of struct definition.
10637         * intl/plural.c: Regenerate.
10638         * intl/plural.y: Switch to gettext copyright.
10639         Use ANSI definitions and prototypes.
10640         Port to bison 3.0.
10641         * intl/textdomain.c: Switch to gettext copyright.
10642         Use ANSI definitions and prototypes.
10643         Use gl_* locking primitives rather than __libc_* ones.
10645 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
10647         * debug/warning-nop.c: Add used atrribute.
10649 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10651         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
10653         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
10654         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
10655         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
10657 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10658             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10660         [BZ #17634]
10661         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
10662         Undefine after defining function.  Define as weak alias of
10663         __wcschr.  Use libc_hidden_weak.
10664         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
10665         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
10666         (libc_hidden_def): Also define __GI___wcschr alias.
10667         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
10668         __wcschr and define as weak alias of __wcschr.
10669         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
10670         __wcschr.
10671         [!WCSCHR] (DEFAULT_WCSCHR): Define.
10672         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
10673         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
10674         libc_hidden_weak.  Do not use libc_hidden_def.
10675         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
10676         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
10677         __GI___wcschr alias.
10678         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
10679         [IS_IN (libc)] (wcschr): Define as macro expanding to
10680         __redirect_wcschr.
10681         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
10682         [IS_IN (libc)] (__wcschr_power6): Likewise.
10683         [IS_IN (libc)] (__wcschr_power7): Likewise.
10684         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
10685         instead of wcschr.
10686         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
10687         __libc_wcschr.
10688         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
10689         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
10690         __wcschr and define as weak alias of __wcschr.  Use
10691         libc_hidden_builtin_def.
10692         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
10693         as weak alias of __wcschr.  Use libc_hidden_weak.
10694         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
10695         wcschr.
10696         * time/era.c (_nl_init_era_entries): Likewise.
10697         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
10698         variable.
10699         (test-xfail-XPG3/time.h/linknamespace): Likewise.
10700         (test-xfail-XPG4/time.h/linknamespace): Likewise.
10702 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10704         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
10705         format for long int variable.
10707 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
10709         [BZ #10672]
10710         * manual/search.texi: (Array Sort Function): Remove claim how to make
10711         qsort stable.
10713 2014-12-10  Andreas Schwab  <schwab@suse.de>
10715         [BZ #12847]
10716         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
10717         user-controlled locks.
10719 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
10721         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
10722         register.
10724 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10726         * configure.ac (--disable-werror): New configure option.
10727         (enable_werror): New AC_SUBST.
10728         * configure: Regenerated.
10729         * config.make.in (enable-werror): New variable.
10730         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
10731         -Wno-error=undef.
10732         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
10733         * manual/install.texi (Configuring and compiling): Document
10734         --disable-werror.
10735         * INSTALL: Regenerated.
10736         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
10737         (CFLAGS-tst-chk2.c): Likewise.
10738         (CFLAGS-tst-chk3.c): Likewise.
10739         (CFLAGS-tst-chk4.cc): Likewise.
10740         (CFLAGS-tst-chk5.cc): Likewise.
10741         (CFLAGS-tst-chk6.cc): Likewise.
10742         (CFLAGS-tst-lfschk1.c): Likewise.
10743         (CFLAGS-tst-lfschk2.c): Likewise.
10744         (CFLAGS-tst-lfschk3.c): Likewise.
10745         (CFLAGS-tst-lfschk4.cc): Likewise.
10746         (CFLAGS-tst-lfschk5.cc): Likewise.
10747         (CFLAGS-tst-lfschk6.cc): Likewise.
10749         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
10750         (main): Disable -Wdeprecated-declarations around calls to
10751         register_printf_function.
10753         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
10754         (do_test): Disable -Wdiv-by-zero around some calls to
10755         fwrite_unlocked and fread_unlocked.
10757         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
10758         (DIAG_POP_NEEDS_COMMENT): Likewise.
10759         (_DIAG_STR1): Likewise.
10760         (_DIAG_STR): Likewise.
10761         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
10762         * stdio-common/bug21.c: Include <libc-internal.h>.
10763         (do_test): Disable -Wformat around call to sscanf.
10764         * stdio-common/scanf14.c: Include <libc-internal.h>.
10765         (main): Disable -Wformat around some calls to scanf functions.
10767 2014-12-09  Torvald Riegel  <triegel@redhat.com>
10769         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
10771 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10773         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
10774         stack variable alignment.
10776 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
10778         [BZ #17682]
10779         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
10780         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
10781         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
10782         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
10783         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
10784         __getrlimit instead of getrlimit.
10785         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
10786         __gettimeofday instead of gettimeofday.
10787         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10788         Likewise.
10789         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
10790         Likewise.
10791         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10792         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
10793         Remove variable.
10794         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
10795         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
10797 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10799         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
10800         for wide-character tests.
10802 2014-12-04  Roland McGrath  <roland@hack.frob.com>
10804         * io/openat64.c: #include <libc-internal.h>
10805         (__openat64): Prototypify.  Use ignore_value on MODE.
10806         * io/openat.c: Likewise.
10807         * misc/reboot.c: #include <libc-internal.h>
10808         (reboot): Prototypify.  Use ignore_value on HOWTO.
10809         * misc/ptrace.c: #include <libc-internal.h>
10810         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
10812 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
10814         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
10815         XPG4, UNIX98 and XOPEN2K.
10816         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
10817         Remove variable.
10818         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
10820 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10822         * libio/fileops.c: Use ISO C style for function definitions.
10823         * libio/iofopen.c: Likewise.
10824         * libio/wfileops.c: Likewise.
10826         [BZ #17653]
10827         * libio/fileops.c (_IO_new_file_underflow): Unset cached
10828         offset on EOF.
10829         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
10830         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
10831         (fgets_func): Function pointer to fgets and fgetws.
10832         (do_ftell_test): Add test to verify ftell value after read
10833         EOF.
10834         (do_test): Set fgets_func.
10836         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
10837         O_TRUNC flag for w and w+ modes.
10838         (do_rewind_test): Likewise.
10839         (do_ftell_test): Likewise.
10840         (do_write_test): Likewise.
10842         [BZ #17647]
10843         * libio/fileops.c (do_ftell): Seek only when there are
10844         unflushed writes.
10845         * libio/wfileops.c (do_ftell_wide): Likewise.
10846         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
10847         test case.
10848         (do_one_test): Call it.
10850 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
10852         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
10853         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
10854         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
10855         Remove variable.
10856         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
10857         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
10858         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
10860 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
10862         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
10863         Remove variable.
10864         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
10866         [BZ #17668]
10867         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
10868         as weak alias of __getifaddrs.  Use libc_hidden_weak.
10869         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10870         __freeifaddrs.  Use libc_hidden_weak.
10871         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
10872         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
10873         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10874         __freeifaddrs.  Use libc_hidden_weak.
10875         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
10876         __getifaddrs and define as weak alias of __getifaddrs.  Use
10877         libc_hidden_weak.
10878         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10879         __freeifaddrs.  Use libc_hidden_weak.
10880         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
10881         Remove variable.
10882         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
10883         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
10885 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
10887         [BZ #17601]
10888         * sysdeps/mips/start.S (__start): Use indirect jump to call
10889         __libc_start_main.
10891 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
10893         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
10895         * nptl/tst-mutex1.c: Include <stdbool.h>.
10896         [!ATTR] (ATTR_NULL): New macro.
10897         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
10898         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
10899         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
10901         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
10902         to char *.
10904         [BZ #17665]
10905         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
10906         Change conditional to [__USE_MISC].
10908         [BZ #17664]
10909         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
10910         fgets_unlocked.
10911         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
10912         __fgets_unlocked.
10913         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
10914         fgets_unlocked.
10915         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
10916         Remove variable.
10917         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
10918         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
10919         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
10920         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
10921         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
10922         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
10923         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
10924         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
10925         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
10927         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
10929 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10931         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10932         Remove strpbrk objects.
10933         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10934         (__libc_ifunc_impl_list): Remove strpbrk implementation.
10935         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
10936         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
10937         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
10938         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
10940         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10941         Remove strcspn objects.
10942         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10943         (__libc_ifunc_impl_list): Remove strcspn implementation.
10944         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
10945         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
10946         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
10947         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
10949         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10950         Remove strspn objetcs.
10951         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10952         (__libc_ifunc_impl_list): Remove strspn implementation.
10953         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
10954         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
10955         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
10956         * sysdeps/powerpc/powerpc64/strspn.S: New file.
10958 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
10960         [BZ #17581]
10961         * malloc/hooks.c
10962         (mem2mem_check): Add a terminator to the chain of checking blocks.
10963         (malloc_check_get_size): Use it here.
10964         (mem2chunk_check): Ditto.
10966 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10968         * sysdeps/powerpc/powerpc64/strtok.S: New file.
10969         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
10971 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
10973         * bits/ioctl-types.h: Indent preprocessor directives correctly.
10975         * nptl/nptl-init.c: Include libc-internal.h.
10976         (__pthread_initialize_minimal_internal): Use ROUND_UP.
10978         * elf/ldconfig.c (search_dir): Expand comment.
10980 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
10982         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
10983         variable.
10984         (linknamespace-symlist-stdlibs-tests): Likewise.
10985         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
10986         instead of $(objpfx)symlist-stdlibs.
10987         (linknamespace-libs-isoc): New variable.
10988         (linknamespace-libs): Use $(linknamespace-libs-isoc).
10989         (linknamespace-libs-ISO): New variable.
10990         (linknamespace-libs-ISO99): Likewise.
10991         (linknamespace-libs-ISO11): Likewise.
10992         (linknamespace-libs-XPG3): Likewise.
10993         (linknamespace-libs-XPG4): Likewise.
10994         (linknamespace-libs-POSIX): Likewise.
10995         (linknamespace-libs-UNIX98): Likewise.
10996         (linknamespace-libs-XOPEN2K): Likewise.
10997         (linknamespace-libs-POSIX2008): Likewise.
10998         (linknamespace-libs-XOPEN2K8): Likewise.
10999         ($(objpfx)symlist-stdlibs): Replace by
11000         $(linknamespace-symlist-stdlibs-tests).  Use
11001         $(linknamespace-libs-$*) as set of libraries.
11002         ($(linknamespace-header-tests)): Update dependencies.  Use
11003         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
11004         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
11005         * conform/linknamespace.pl: Remove comment about considering
11006         definitions of symbols from irrelevant libraries.
11008 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
11010         [BZ #13862]
11011         * elf/dl-tls.c: Include <atomic.h>.
11012         (oom): Remove #ifdef SHARED/#endif.
11013         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
11014         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
11015         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
11016         big enough.
11017         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
11018         * nptl/Makefile (tests): Add tst-stack4.
11019         (modules-names): Add tst-stack4mod.
11020         ($(objpfx)tst-stack4): New.
11021         (tst-stack4mod.sos): Likewise.
11022         ($(objpfx)tst-stack4.out): Likewise.
11023         ($(tst-stack4mod.sos)): Likewise.
11024         (clean): Likewise.
11025         * nptl/tst-stack4.c: New file.
11026         * nptl/tst-stack4mod.c: Likewise.
11028 2014-11-27  J. Brown  <jb999@gmx.de>
11030         * sysdeps/x86/bits/string.h: Add recent CPUs.
11032 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
11034         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
11035         sigblock.
11037         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
11038         feof.
11040         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
11041         variable.
11043 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
11045         * nscd/connections.c: Include libc-internal.h because of macro
11046         usage ignore_value.
11048 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11050         * string/bits/string3.h (__warn_memset_zero_len): Don't
11051         declare for gcc newer than 5.0.
11052         (memset): Don't test for zero-length __LEN for gcc newer than
11053         5.0.
11055 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
11057         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
11058         size_t for %zu format.
11060         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
11061         difference, not %ju.
11063 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
11065         * include/libc-internal.h (ignore_value): New macro.
11066         * nscd/connections.c (restart): Wrap calls to setuid and setgid
11067         with ignore_value.
11069         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
11070         definition.
11072         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
11073         pthread_cleanup_push to void *.
11075         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
11076         Undefine.
11078         [BZ #16619]
11079         [BZ #16740]
11080         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
11081         instead of 1L << 52.
11083         * libio/bug-rewind.c (do_test): Check fwscanf return values.
11084         * libio/bug-rewind2.c (do_test): Likewise.
11086         * debug/test-stpcpy_chk-ifunc.c: Remove file.
11087         * debug/test-strcpy_chk-ifunc.c: Likewise.
11088         * wcsmbs/test-wcschr-ifunc.c: Likewise.
11089         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11090         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11091         * wcsmbs/test-wcslen-ifunc.c: Likewise.
11092         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11093         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11094         * Rules [$(multi-arch) = no] (tests): Do not filter out
11095         $(tests-ifunc).
11096         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
11097         * debug/Makefile (tests-ifunc): Remove variable.
11098         (tests): Do not add $(tests-ifunc).
11099         * wcsmbs/Makefile (tests-ifunc): Remove variable.
11100         (tests): Do not add $(tests-ifunc).
11101         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
11102         [TEST_IFUNC]: Remove conditionals.
11103         * string/test-string.h (TEST_IFUNC): Remove macro.
11104         [TEST_IFUNC]: Remove conditionals.
11106         * string/test-strchr.c [!WIDE] (L): New macro.
11107         [WIDE] (L): Likewise.
11108         (check1): Use CHAR instead of char.  Use L on string and character
11109         constants.
11111 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
11113         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
11114         tests.
11115         * sysdeps/powerpc/bits/atomic.h
11116         (__arch_atomic_exchange_and_add_32_acq): Add definition.
11117         (__arch_atomic_exchange_and_add_32_rel): Likewise.
11118         (atomic_exchange_and_add_acq): Likewise.
11119         (atomic_exchange_and_add_rel): Likewise.
11120         * sysdeps/powerpc/powerpc32/bits/atomic.h
11121         (__arch_atomic_exchange_and_add_64_acq): Add definition.
11122         (__arch_atomic_exchange_and_add_64_rel): Likewise.
11123         * sysdeps/powerpc/powerpc64/bits/atomic.h
11124         (__arch_atomic_exchange_and_add_64_acq): Add definition.
11125         (__arch_atomic_exchange_and_add_64_rel): Likewise.
11127 2014-11-26  Torvald Riegel  <triegel@redhat.com>
11129         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
11130         Change synchronization of __sched_fifo_min_prio and
11131         __sched_fifo_max_prio.
11132         * nptl/pthread_mutexattr_getprioceiling.c
11133         (pthread_mutexattr_getprioceiling): Likewise.
11134         * nptl/pthread_mutexattr_setprioceiling.c
11135         (pthread_mutexattr_setprioceiling): Likewise.
11136         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
11137         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
11138         Likewise.
11140 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
11142         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
11143         void.
11145 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
11147         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
11148         third argument const.
11150 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
11152         fnmatch: work around GCC compiler warning bug with uninit var
11153         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
11154         This works around a bug with x86-64 GCC 4.9.2 and earlier
11155         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
11156         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
11157         used uninitialized in this function [-Wmaybe-uninitialized]".
11159 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
11161         * posix/bug-regex31.c (main): Return RES not 0.
11163 2014-11-25  Anton Blanchard <anton@samba.org>
11165         * sysdeps/powerpc/bits/atomic.h
11166         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
11168 2014-11-24  Sterling Augustine  <saugustine@google.com>
11170         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
11172 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
11174         [BZ #17608]
11175         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
11177 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
11179         [BZ #17633]
11180         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
11181         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
11182         variable.
11183         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
11184         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
11186 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
11188         * string/strncpy.c (strncpy): Improve performance by using memset.
11190 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
11192         * string/strcpy.c (strcpy):
11193         Improve performance by using strlen and memcpy.
11195 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
11197         * string/strcoll_l.c (get_next_seq): __always_inline.
11198         * string/strcoll_l.c (do_compare): __always_inline.
11200 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11202         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
11203         defined.
11204         * include/mqueue.h: Likewise.
11205         * include/stdlib.h: Likewise.
11207         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
11208         (get_null_defines): Adjust.
11209         * sunrpc/Makefile: Adjust comment.
11210         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
11211         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
11212         (CFLAGS-interp.c): Likewise.
11213         (CFLAGS-ldconfig.c): Likewise.
11214         (CPPFLAGS-.os): Likewise.
11215         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11216         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
11217         * extra-modules.mk (extra-modules.mk): Likewise.
11218         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
11219         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
11220         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
11221         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
11222         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
11223         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
11224         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
11225         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
11226         * iconvdata/Makefile (CPPFLAGS): Likewise.
11227         (cpp-srcs-left): Add libof for all iconvdata routines.
11228         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
11229         * include/assert.h: Likewise.
11230         * include/ctype.h: Likewise.
11231         * include/errno.h: Likewise.
11232         * include/libc-symbols.h: Likewise.
11233         * include/math.h: Likewise.
11234         * include/netdb.h: Likewise.
11235         * include/resolv.h: Likewise.
11236         * include/stdio.h: Likewise.
11237         * include/stdlib.h: Likewise.
11238         * include/string.h: Likewise.
11239         * include/sys/stat.h: Likewise.
11240         * include/wctype.h: Likewise.
11241         * intl/l10nflist.c: Likewise.
11242         * libidn/idn-stub.c: Likewise.
11243         * libio/libioP.h: Likewise.
11244         * nptl/libc_multiple_threads.c: Likewise.
11245         * nptl/pthreadP.h: Likewise.
11246         * posix/regex_internal.h: Likewise.
11247         * resolv/res_hconf.c: Likewise.
11248         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
11249         * sysdeps/arm/memmove.S: Likewise.
11250         * sysdeps/arm/sysdep.h: Likewise.
11251         * sysdeps/generic/_itoa.h: Likewise.
11252         * sysdeps/generic/symbol-hacks.h: Likewise.
11253         * sysdeps/gnu/errlist.awk: Likewise.
11254         * sysdeps/gnu/errlist.c: Likewise.
11255         * sysdeps/i386/i586/memcpy.S: Likewise.
11256         * sysdeps/i386/i586/memset.S: Likewise.
11257         * sysdeps/i386/i686/memcpy.S: Likewise.
11258         * sysdeps/i386/i686/memmove.S: Likewise.
11259         * sysdeps/i386/i686/mempcpy.S: Likewise.
11260         * sysdeps/i386/i686/memset.S: Likewise.
11261         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11262         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11263         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
11264         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
11265         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11266         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11267         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
11268         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11269         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11270         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11271         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11272         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11273         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11274         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11275         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11276         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11277         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
11278         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
11279         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
11280         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11281         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11282         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11283         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11284         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11285         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11286         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11287         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
11288         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11289         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
11290         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
11291         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11292         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11293         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11294         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11295         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11296         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
11297         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11298         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11299         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11300         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11301         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11302         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11303         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11304         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
11305         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11306         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11307         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
11308         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
11309         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11310         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
11311         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11312         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
11313         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
11314         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11315         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
11316         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
11317         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11318         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
11319         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
11320         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11321         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
11322         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11323         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
11324         * sysdeps/nptl/bits/libc-lock.h: Likewise.
11325         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
11326         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
11327         * sysdeps/posix/closedir.c: Likewise.
11328         * sysdeps/posix/opendir.c: Likewise.
11329         * sysdeps/posix/readdir.c: Likewise.
11330         * sysdeps/posix/rewinddir.c: Likewise.
11331         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
11332         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
11333         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
11334         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11335         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11336         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
11337         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
11338         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
11339         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
11340         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
11341         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
11342         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
11343         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
11344         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
11345         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
11346         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
11347         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
11348         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
11349         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
11350         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
11351         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
11352         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
11353         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
11354         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
11355         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
11356         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
11357         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
11358         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
11359         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
11360         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
11361         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
11362         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
11363         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
11364         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
11365         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
11366         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
11367         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11368         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11369         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
11370         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
11371         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
11372         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
11373         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
11374         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
11375         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
11376         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
11377         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
11378         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
11379         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
11380         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
11381         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
11382         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
11383         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
11384         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
11385         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
11386         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
11387         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
11388         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
11389         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
11390         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
11391         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
11392         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
11393         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
11394         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
11395         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
11396         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
11397         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
11398         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
11399         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
11400         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
11401         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
11402         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
11403         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
11404         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
11405         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
11406         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
11407         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
11408         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
11409         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
11410         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
11411         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
11412         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11413         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
11414         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
11415         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
11416         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
11417         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
11418         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
11419         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
11420         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11421         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
11422         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
11423         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
11424         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
11425         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11426         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
11427         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
11428         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11429         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
11430         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
11431         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11432         * sysdeps/unix/alpha/sysdep.S: Likewise.
11433         * sysdeps/unix/alpha/sysdep.h: Likewise.
11434         * sysdeps/unix/make-syscalls.sh: Likewise.
11435         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11436         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11437         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11438         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
11439         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11440         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
11441         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
11442         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11443         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11444         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
11445         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11446         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11447         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11448         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
11449         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11450         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11451         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11452         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11453         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
11454         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11455         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
11456         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11457         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11458         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11459         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11460         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11461         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
11463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
11464         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
11465         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11466         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11467         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11468         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11469         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
11470         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11471         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11472         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11473         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
11474         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
11475         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11476         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11477         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11478         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
11479         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11480         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11481         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11482         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11483         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11484         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11485         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11486         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11487         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11488         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11489         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
11490         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11491         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11492         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11493         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
11494         * sysdeps/x86_64/memcpy.S: Likewise.
11495         * sysdeps/x86_64/memmove.c: Likewise.
11496         * sysdeps/x86_64/memset.S: Likewise.
11497         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
11498         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11499         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
11500         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
11501         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
11502         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11503         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11504         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11505         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11506         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11507         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11508         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11509         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
11510         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11511         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11512         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
11513         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11514         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11515         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
11516         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11517         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
11518         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11519         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11520         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
11521         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11522         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11523         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11524         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
11525         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11526         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11527         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
11528         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11529         * sysdeps/x86_64/strcmp.S: Likewise.
11531         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
11533         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
11534         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
11535         * elf/rtld-Rules: Likewise.
11536         * elf/setup-vdso.h: Likewise.
11537         * include/assert.h: Likewise.
11538         * include/bits/stdlib-float.h: Likewise.
11539         * include/errno.h: Likewise.
11540         * include/sys/stat.h: Likewise.
11541         * include/unistd.h: Likewise.
11542         * sysdeps/aarch64/setjmp.S: Likewise.
11543         * sysdeps/alpha/setjmp.S: Likewise.
11544         * sysdeps/arm/__longjmp.S: Likewise.
11545         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
11546         * sysdeps/arm/setjmp.S: Likewise.
11547         * sysdeps/arm/sysdep.h: Likewise.
11548         * sysdeps/generic/_itoa.h: Likewise.
11549         * sysdeps/generic/dl-sysdep.h: Likewise.
11550         * sysdeps/generic/ldsodefs.h: Likewise.
11551         * sysdeps/i386/dl-tls.h: Likewise.
11552         * sysdeps/i386/setjmp.S: Likewise.
11553         * sysdeps/m68k/setjmp.c: Likewise.
11554         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
11555         * sysdeps/mach/hurd/opendir.c: Likewise.
11556         * sysdeps/posix/getcwd.c: Likewise.
11557         * sysdeps/posix/opendir.c: Likewise.
11558         * sysdeps/posix/profil.c: Likewise.
11559         * sysdeps/powerpc/dl-procinfo.h: Likewise.
11560         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11561         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11562         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11563         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11564         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
11565         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
11566         * sysdeps/s390/dl-tls.h: Likewise.
11567         * sysdeps/s390/s390-32/setjmp.S: Likewise.
11568         * sysdeps/s390/s390-64/setjmp.S: Likewise.
11569         * sysdeps/sh/sh3/setjmp.S: Likewise.
11570         * sysdeps/sh/sh4/setjmp.S: Likewise.
11571         * sysdeps/unix/alpha/sysdep.h: Likewise.
11572         * sysdeps/unix/arm/sysdep.S: Likewise.
11573         * sysdeps/unix/i386/sysdep.S: Likewise.
11574         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11575         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
11576         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11577         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11578         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11579         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
11580         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
11581         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11582         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11583         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
11584         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
11585         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11586         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11589         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11590         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11591         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11592         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11593         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11594         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11595         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11596         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11597         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11598         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11599         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11600         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11601         * sysdeps/unix/x86_64/sysdep.S: Likewise.
11602         * sysdeps/x86_64/setjmp.S: Likewise.
11604         * include/math.h: Use IS_IN instead of IS_IN_libm.
11605         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
11606         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11607         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
11608         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11609         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11610         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
11611         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
11612         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11613         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11614         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
11615         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
11616         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
11617         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
11618         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
11619         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
11620         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
11621         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
11622         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
11623         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
11624         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
11625         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
11626         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
11627         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
11628         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
11629         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
11630         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
11631         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
11632         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
11633         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
11634         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
11635         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
11636         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11637         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
11639         Likewise.
11640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
11641         Likewise.
11642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
11643         Likewise.
11644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
11645         Likewise.
11646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
11647         Likewise.
11648         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11649         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
11650         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11651         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11652         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11653         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11654         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
11655         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
11656         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
11657         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
11658         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
11659         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
11660         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
11661         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
11662         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
11663         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11664         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
11665         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
11666         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11667         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11668         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
11669         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
11670         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
11671         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
11672         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
11673         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11674         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
11676         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
11677         * nptl/pthreadP.h: Likewise.
11678         * nptl_db/structs.def: Likewise.
11679         * sysdeps/arm/sysdep.h: Likewise.
11680         * sysdeps/nptl/bits/libc-lock.h: Likewise.
11681         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
11682         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
11683         * sysdeps/unix/alpha/sysdep.h: Likewise.
11684         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11685         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11686         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11687         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11688         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11689         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11690         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11691         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11692         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11693         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11694         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11695         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11696         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11697         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
11699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
11700         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11701         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11702         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11703         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11704         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11705         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11706         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11707         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11708         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
11709         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11711         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
11712         * nptl/pthreadP.h: Likewise.
11713         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11714         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11715         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11716         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11717         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11718         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11719         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11720         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11721         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11722         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11723         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11724         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11726         Likewise.
11727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11728         Likewise.
11729         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11730         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11731         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11732         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11733         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11734         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11735         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11736         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11738         * dlfcn/dladdr.c: Use IS_IN.
11739         * dlfcn/dladdr1.c: Likewise.
11740         * dlfcn/dlclose.c: Likewise.
11741         * dlfcn/dlerror.c: Likewise.
11742         * dlfcn/dlinfo.c: Likewise.
11743         * dlfcn/dlmopen.c: Likewise.
11744         * dlfcn/dlopen.c: Likewise.
11745         * dlfcn/dlsym.c: Likewise.
11746         * dlfcn/dlvsym.c: Likewise.
11748         * include/ifaddrs.h: Use IS_IN.
11749         * inet/check_pf.c: Likewise.
11750         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11751         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
11753         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
11754         IS_IN_ldconfig.
11755         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
11756         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
11758         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
11759         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
11760         IS_IN (libc).
11762         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
11764         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
11765         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11766         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
11767         * include/libc-symbols.h (IS_IN_LIB): New macro.
11768         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
11769         * include/netdb.h: Likewise.
11770         * include/stap-probe.h: Remove all uses of IN_LIB.
11772         * Makeconfig (module-cppflags-real): Define MODULE_NAME
11773         instead of IN_MODULE.
11774         * include/libc-symbols.h (IN_MODULE): Define using
11775         MODULE_NAME.
11776         (PASTE_NAME, PASTE_NAME1): New macros.
11777         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
11778         of IN_LIB.
11779         (STAP_PROBE_ASM): Likewise.
11781 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11783         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
11784         __mach_init in dlopened libc.
11786 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
11788         * sysdeps/arm/preconfigure.ac: Delete EABI check.
11789         * sysdeps/arm/preconfigure: Regenerate.
11791 2014-11-21  Roland McGrath  <roland@hack.frob.com>
11793         * nptl/pthread_create.c (__pthread_create_2_1): Set
11794         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
11795         when copying values from IATTR into PD.
11797 2014-11-21  Will Newton  <will.newton@linaro.org>
11798             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
11800         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
11801         Refactor inline-asm.  Also add comment.
11803         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
11804         ElfW macro instead of hardcoded Elf64 types.
11805         (la_aarch64_gnu_pltenter): Likewise.
11806         * sysdeps/aarch64/dl-machine.h
11807         (elf_machine_runtime_setup): Use ElfW(Addr).
11809         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
11810         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
11811         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
11812         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
11813         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
11814         (R_AARCH64_TLS_DTPMOD64): Rename to ..
11815         (R_AARCH64_TLS_DTPMOD): This.
11816         (R_AARCH64_TLS_DTPREL64): Rename to ...
11817         (R_AARCH64_TLS_DTPREL): This.
11818         (R_AARCH64_TLS_TPREL64): Rename to ...
11819         (R_AARCH64_TLS_TPREL): This.
11820         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
11821         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
11822         R_AARCH64_TLS_TPREL64.
11823         (elf_machine_rela): Likewise.
11825 2014-11-21  Torvald Riegel  <triegel@redhat.com>
11827         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
11828         by setting it to 0.  64b atomics are not supported currently.
11830 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11832         [BZ #16469]
11833         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
11834         search domain names.
11836 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11838         [BZ #16469]
11839         * NEWS: Update.
11840         * resolv/res_query.c (__libc_res_nquerydomain): Retain
11841         trailing dot.
11842         * posix/tst-getaddrinfo5.c: New.
11843         * posix/Makefile (tests): Add it.
11845 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11847         [BZ #14498]
11848         * NEWS: Fixed.
11849         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
11850         after parsing line but before break_if_match.
11851         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
11852         if there is a protocol mismatch.
11854 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
11856         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
11857         because the potential race is on the user-supplied stream.
11859 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11861         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
11862         string literal if not passed a buffer.
11863         * manual/job.texi (ctermid): Update reasoning, note deviation
11864         from posix, suggest mtasurace when not passed a buffer, for
11865         future non-preliminary safety notes.
11867 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11869         * manual/users.texi (cuserid): Fix MT-Safety note for the case
11870         of not passing it a buffer.
11871         Reported by Peng Haitao.
11873 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11875         * manual/Makefile ($(objpfx)stamp-summary): Require
11876         check-safety.sh to pass.
11877         * manual/check-safety.sh: Wish for verification that every
11878         @deftypefn and @deftypefun is followed by a @safety remark.
11880 2014-11-20  Roland McGrath  <roland@hack.frob.com>
11882         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
11884         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
11885         PTHREAD_CANCEL_ASYNCHRONOUS.
11886         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
11887         send SIGCANCEL.
11889         * nptl/default-sched.h: New file.
11890         * sysdeps/unix/sysv/linux/default-sched.h: New file.
11891         * nptl/pthread_create.c: Include it.
11892         (__pthread_create_2_1): Use collect_default_sched instead of making
11893         Linux syscalls here directly.
11895 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11897         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
11898         __pthread_once): Use C11 atomics.
11900 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11902         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
11904 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11906         * include/atomic.h (__atomic_link_error, __atomic_check_size,
11907         atomic_thread_fence_acquire, atomic_thread_fence_release,
11908         atomic_thread_fence_seq_cst, atomic_load_relaxed,
11909         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
11910         atomic_compare_exchange_weak_relaxed,
11911         atomic_compare_exchange_weak_acquire,
11912         atomic_compare_exchange_weak_release,
11913         atomic_exchange_acquire, atomic_exchange_release,
11914         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
11915         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
11916         atomic_fetch_and_acquire,
11917         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
11919 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11921         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
11922         USE_ATOMIC_COMPILER_BUILTINS): Define.
11923         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
11924         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11925         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
11926         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11927         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
11928         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11929         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
11930         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11931         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
11932         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11933         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
11934         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11935         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
11936         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11937         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
11938         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11939         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
11940         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11941         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
11942         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11943         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
11944         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11945         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
11946         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11947         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
11948         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11949         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
11950         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11951         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
11952         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11953         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
11954         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11955         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
11956         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11957         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
11958         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11959         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
11960         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11961         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
11962         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11964 2014-11-19  Roland McGrath  <roland@hack.frob.com>
11966         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
11967         the sched_priority value here.  It was already checked when the user
11968         called pthread_attr_setschedparam.
11970         * nptl/tst-bad-schedattr.c: New file.
11971         * nptl/Makefile (tests): Add it.
11973 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
11974             Florian Weimer  <fweimer@redhat.com>
11975             Joseph Myers  <joseph@codesourcery.com>
11976             Adam Conrad  <adconrad@0c3.net>
11977             Andreas Schwab  <schwab@suse.de>
11978             Brooks  <bmoses@google.com>
11980         [BZ #17625]
11981         * wordexp-test.c (__dso_handle): Add prototype.
11982         (__register_atfork): Likewise.
11983         (__app_register_atfork): New function.
11984         (registered_forks): New global.
11985         (register_fork): New function.
11986         (test_case): Add 3 new tests for WRDE_CMDSUB.
11987         (main): Call __app_register_atfork.
11988         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
11989         fork count is non-zero fail the test.
11990         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
11991         is set.
11992         (parse_dollars): Remove check for WRDE_NOCMD.
11993         (parse_dquote): Likewise.
11995 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11997         * Makeconfig (built-modules): List non-library modules to be
11998         built.
11999         (module-cppflags): Include libc-modules.h for
12000         everything except shlib-versions.v.i.
12001         (CPPFLAGS): Use it.
12002         (before-compile): Add libc-modules.h.
12003         ($(common-objpfx)libc-modules.h,
12004         $(common-objpfx)libc-modules.stmp): New targets.
12005         (common-generated): Add libc-modules.h and libc-modules.stmp.
12006         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
12007         * include/libc-symbols.h: Don't include libc-modules.h.
12008         * include/libc-modules.h: Remove file.
12009         * scripts/gen-libc-modules.awk: New script to generate
12010         libc-modules.h.
12011         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
12012         Depend on libc-modules.stmp.
12014         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
12016         * Makeconfig (in-module): Get value of libof set for the
12017         translation unit.
12018         (CPPFLAGS): Use $(in-module).
12019         * Makerules: Don't suffix routine names for nonlib.
12020         * include/libc-modules.h: New file.
12021         * include/libc-symbols.h: Include libc-modules.h
12022         (IS_IN): New macro to replace IS_IN_* macros.
12023         * elf/Makefile: Set libof-* for each routine.
12024         * elf/rtld-Rules: Likewise.
12025         * extra-modules.mk: Likewise.
12026         * iconv/Makefile: Likewise.
12027         * iconvdata/Makefile: Likewise.
12028         * locale/Makefile: Likewise.
12029         * malloc/Makefile: Likewise.
12030         * nss/Makefile: Likewise.
12031         * sysdeps/gnu/Makefile: Likewise.
12032         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
12033         * sysdeps/unix/sysv/linux/Makefile: Likewise.
12034         * sysdeps/s390/s390-64/Makefile: Likewise.
12035         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
12036         CPPFLAGS for nscd instead of nonlib.
12038 2014-11-18  Roland McGrath  <roland@hack.frob.com>
12040         * nptl/createthread.c: New file.
12042         * nptl/createthread.c: Moved ...
12043         * sysdeps/unix/sysv/linux/createthread.c: ... here.
12045         * nptl/createthread.c: Add proper top-line comment.
12046         (do_clone): Folded into ...
12047         (create_thread): ... here.  Take new arguments STOPPED_START and
12048         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
12049         increment __nptl_threads, do event-reporting logic, do
12050         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
12051         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
12052         resource cleanup if sched_setaffinity or sched_setscheduler fails,
12053         just send SIGCANCEL.
12054         * nptl/pthread_create.c: Forward-declare create_thread before
12055         including createthread.c.
12056         (start_thread): Use new macro START_THREAD_DEFN to replace defining
12057         declaration, and new macro START_THREAD_SELF to replace argument.
12058         Remove return statement.
12059         (report_thread_creation): New function.
12060         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
12061         synchronization logic, and __nptl_nthreads increment here, around
12062         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
12063         PD->parent_cancelhandling here, before create_thread.  When
12064         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
12065         __deallocate_stack, and ENOMEM translation here.
12067 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
12069         [BZ #17616]
12070         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
12071         (mptwo): Rename to __mptwo.
12072         (__inv): Use __mptwo instead of mptwo.
12073         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
12074         (mptwo): Rename to __mptwo.
12075         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
12076         of mpone and __mptwo instead of mptwo.
12077         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
12078         instead of mpone.
12079         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12080         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
12081         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
12082         of mpone and __mptwo instead of mptwo.
12083         (__mpranred): Use __mpone instead of mpone.
12084         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
12085         variable.
12086         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
12087         (test-xfail-ISO99/math.h/linknamespace): Likewise.
12088         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
12089         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
12090         (test-xfail-ISO11/math.h/linknamespace): Likewise.
12091         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
12092         (test-xfail-XPG3/math.h/linknamespace): Likewise.
12093         (test-xfail-XPG4/math.h/linknamespace): Likewise.
12094         (test-xfail-POSIX/math.h/linknamespace): Likewise.
12095         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
12096         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
12097         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
12098         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
12099         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
12100         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
12101         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
12102         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
12103         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
12104         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
12106 2014-11-18  Tom de Vries  <tom@codesoucery.com>
12108         * manual/signal.texi (Primitives Interrupted by Signals): In section,
12109         replace BSD Handler xref with BSD Signal Handling.
12111 2014-11-17  Richard Henderson  <rth@redhat.com>
12113         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
12114         (_FP_PACK_RAW_2): Remove.
12115         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
12116         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
12117         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
12118         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
12119         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
12120         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
12121         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
12122         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
12123         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
12124         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
12125         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
12126         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
12127         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
12128         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
12129         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
12130         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
12132 2014-11-14  Roland McGrath  <roland@hack.frob.com>
12134         * signal/signal.h [__USE_MISC]
12135         (struct sigvec): Remove type.
12136         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
12137         (sigvec): Remove declaration.
12138         * sysdeps/posix/sigvec.c: Moved ...
12139         * signal/sigvec.c: ... here, replacing old file.
12140         (struct sigvec): New type, copied from old signal.h definition.
12141         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
12142         (__sigvec): Convert definition to prototype.
12143         (sigvec): Replace weak_alias with compat_symbol.
12144         * signal/Versions (libc: GLIBC_2.21): New version set.
12145         * include/signal.h: Remove __sigvec declaration.
12146         * sysdeps/unix/bsd/sigvec.c: Remove file.
12147         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
12148         * manual/signal.texi (BSD Handler): Remove subsection.
12149         Move siginterrupt up to ...
12150         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
12151         (Blocking in BSD): Fold subsection into its parent.
12152         * NEWS: Mention sigvec removal.
12154 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
12156         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
12157         (DLA_FMS): Make definition conditional only on [__FMA4__].
12158         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
12159         definition.
12161         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
12162         Make definition conditional only on [PROF].
12163         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
12164         definition.
12165         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
12166         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
12168         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
12169         !__GNUC__].
12170         * include/signal.h (__sigpause): Move declaration above call to
12171         libc_hidden_proto.
12172         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
12173         variable.
12174         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
12175         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
12177 2014-11-14  David S. Miller  <davem@davemloft.net>
12179         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
12180         Define before including <string/memcpy.c> and <string/mempcpy.c>.
12182 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
12184         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
12185         * configure: Regenerated.
12186         * manual/install.texi (Tools for Compilation): Document a
12187         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
12188         compiler verified to work.
12189         * INSTALL: Regenerated.
12191         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
12192         redeclare with asm name.
12193         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
12194         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
12195         including <string.h>.
12196         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12197         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
12198         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12199         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
12200         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12201         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
12202         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12204 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
12206         * stdlib/strtol.c (__strtol): Use prototype definition.
12208         [BZ #17594]
12209         * stdlib/strtol.c (SYM__): New macro.
12210         (SYM__1): Likewise.
12211         (__strtol): Likewise.
12212         (strtol): Rename to __strtol and define as weak alias of
12213         __strtol.  Use libc_hidden_weak.
12215 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12217         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
12218         Use numbered labels in inline assembly.
12220 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12222         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
12223         Add setjmp LIBC_PROBE.
12224         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
12225         Likewise.
12226         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
12227         Add longjmp, longjmp_target LIBC_PROBE.
12228         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
12229         Likewise.
12231 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12233         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12234         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
12235         to get rid of unused variable warning.
12237 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12239         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
12240         Check for unwind_backtrace ==  NULL only in SHARED case.
12241         (__backchain_backtrace): Compile only in SHARED case.
12242         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
12243         Likewise.
12244         (__backchain_backtrace): Declare as static.
12246 2014-11-12  Roland McGrath  <roland@hack.frob.com>
12248         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
12249         (__libc_multiple_threads_ptr): Variable moved ...
12250         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
12252 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
12254         * conform/GlibcConform.pm: New file.
12255         * conform/conformtest.pl: Use GlibcConform module.
12256         * conform/linknamespace.pl: New file.
12257         * conform/list-header-symbols.pl: Likewise.
12258         * conform/Makefile (linknamespace-symlists-base): New variable.
12259         (linknamespace-symlists-tests): Likewise.
12260         (linknamespace-header-base): Likewise.
12261         (linknamespace-header-tests): Likewise.
12262         (tests-special): Add new tests.
12263         ($(linknamespace-symlists-tests)): New rule.
12264         (linknamespace-libs): New variable.
12265         ($(objpfx)symlist-stdlibs): New rule.
12266         ($(linknamespace-header-tests)): Likewise.
12267         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
12268         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
12269         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
12270         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
12271         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
12272         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
12273         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
12274         (test-xfail-ISO/math.h/linknamespace): Likewise.
12275         (test-xfail-ISO/signal.h/linknamespace): Likewise.
12276         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
12277         (test-xfail-ISO/time.h/linknamespace): Likewise.
12278         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
12279         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
12280         (test-xfail-ISO99/math.h/linknamespace): Likewise.
12281         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
12282         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
12283         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
12284         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
12285         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
12286         (test-xfail-ISO11/math.h/linknamespace): Likewise.
12287         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
12288         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
12289         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
12290         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
12291         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
12292         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
12293         (test-xfail-XPG3/math.h/linknamespace): Likewise.
12294         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
12295         (test-xfail-XPG3/search.h/linknamespace): Likewise.
12296         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
12297         (test-xfail-XPG3/time.h/linknamespace): Likewise.
12298         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
12299         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
12300         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
12301         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
12302         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
12303         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
12304         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
12305         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
12306         (test-xfail-XPG4/math.h/linknamespace): Likewise.
12307         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
12308         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
12309         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
12310         (test-xfail-XPG4/search.h/linknamespace): Likewise.
12311         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
12312         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
12313         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
12314         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
12315         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
12316         (test-xfail-XPG4/time.h/linknamespace): Likewise.
12317         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
12318         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
12319         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
12320         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
12321         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
12322         (test-xfail-POSIX/math.h/linknamespace): Likewise.
12323         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
12324         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
12325         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
12326         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
12327         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
12328         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
12329         (test-xfail-POSIX/time.h/linknamespace): Likewise.
12330         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
12331         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
12332         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
12333         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
12334         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
12335         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
12336         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
12337         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
12338         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
12339         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
12340         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
12341         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
12342         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
12343         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
12344         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
12345         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
12346         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
12347         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
12348         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
12349         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
12350         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
12351         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
12352         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
12353         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
12354         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
12355         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
12356         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
12357         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
12358         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
12359         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
12360         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
12361         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
12362         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
12363         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
12364         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
12365         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
12366         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
12367         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
12368         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
12369         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
12370         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
12371         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
12372         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
12373         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
12374         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
12375         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
12376         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
12377         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
12378         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
12379         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
12380         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
12381         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
12382         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
12383         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
12384         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
12385         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
12386         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
12387         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
12388         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
12389         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
12390         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
12391         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
12392         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
12393         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
12394         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
12395         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
12396         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
12397         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
12398         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
12399         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
12400         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
12401         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
12402         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
12403         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
12404         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
12405         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
12406         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
12407         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
12408         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
12409         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
12410         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
12411         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
12412         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
12413         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
12414         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
12415         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
12416         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
12417         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
12418         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
12419         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
12420         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
12421         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
12422         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
12423         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
12424         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
12425         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
12426         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
12427         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
12429         [BZ #17589]
12430         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
12431         of fgets_unlocked.
12433         [BZ #17585]
12434         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
12435         (memmem): Rename to __memmem and define as weak alias of
12436         __memmem.  Use libc_hidden_weak.
12437         (__memmem): Use libc_hidden_def.
12438         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
12439         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
12440         memmem.
12442         [BZ #17582]
12443         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
12444         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
12445         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
12446         and define as weak alias of __fgets_unlocked.  Use
12447         libc_hidden_weak.
12448         (__fgets_unlocked): Use libc_hidden_def.
12449         * include/stdio.h (__fgets_unlocked): Declare.  Use
12450         libc_hidden_proto.
12451         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
12452         __fgets_unlocked instead of fgets_unlocked.
12453         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
12454         (GET_NPROCS_CONF_PARSER): Likewise.
12455         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
12456         (GET_NPROCS_CONF_PARSER): Likewise.
12458         [BZ #17574]
12459         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
12460         weak alias of __wmemset.  Use libc_hidden_weak.
12461         (__wmemset): Use libc_hidden_def.
12462         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
12463         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
12464         of wmemset.
12466         [BZ #17573]
12467         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
12468         with asm name __mempcpy.
12469         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
12471         [BZ #17572]
12472         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
12473         and define as weak alias of __rawmemchr.
12474         (__rawmemchr): Do not define as strong alias of rawmemchr.
12476         [BZ #17571]
12477         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
12478         alias of __qsort_r.
12479         (qsort): Call __qsort_r instead of qsort_r.
12480         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
12481         (__qsort_r): Declare.  Call libc_hidden_proto.
12482         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
12483         instead of qsort_r.
12484         * nscd/gai.c (__qsort_r): Define to qsort_r.
12485         * posix/tst-rfc3484.c (__qsort_r): Likewise.
12486         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
12487         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
12489         [BZ #17570]
12490         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
12491         define as weak alias of __malloc_info.
12493         [BZ #17584]
12494         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
12495         as weak alias of __rewinddir.  Don't use libc_hidden_def.
12496         (__rewinddir): Use libc_hidden_def.
12497         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
12498         as weak alias of __rewinddir.  Don't use libc_hidden_def.
12499         (__rewinddir): Use libc_hidden_def.
12500         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
12501         weak alias of __rewinddir.  Don't use libc_hidden_def.
12502         (__rewinddir): Use libc_hidden_def.
12503         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
12504         (__rewinddir): Use libc_hidden_proto.
12505         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
12506         rewinddir.
12507         (__getcwd): Use __rewinddir instead of rewinddir.
12509         [BZ #17583]
12510         * libio/fileno.c (fileno): Rename to __fileno and define as weak
12511         alias of __fileno.  Use libc_hidden_weak.
12512         (__fileno): Use libc_hidden_def.
12513         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
12514         * libio/ftello.c (ftello): Rename to __ftello and define as weak
12515         alias of __ftello.
12516         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
12517         __ftello.
12518         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
12519         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
12520         libc_hidden_def.
12521         (fread_unlocked): Don't use libc_hidden_ver.
12522         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
12523         and define as weak alias of __fread_unlocked.  Don't use
12524         libc_hidden_def.
12525         (__fread_unlocked): Use libc_hidden_def.
12526         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
12527         (ftello): Don't use libc_hidden_proto.
12528         (__ftello): Declare.  Use libc_hidden_proto.
12529         (fread_unlocked): Don't use libc_hidden_proto.
12530         (__fread_unlocked): Declare.  Use libc_hidden_proto.
12531         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
12532         and __ftello instead of fileno, fread_unlocked and ftello.
12534 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12536         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
12537         GOT12.
12538         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
12539         Likewise.
12540         (_dl_start_user): Likewise.
12541         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
12543 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
12544             Siddhesh Poyarekar  <siddhesh@redhat.com>
12546         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
12547         Move argv and envp down instead of moving argc up.
12548         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
12550 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
12552         [BZ #17506]
12553         * test-skeleton.c (main): Return successful if one of
12554         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
12555         * string/tst-strcoll-overflow.c: Define expected status.
12557 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
12559         [BZ #17475]
12560         * locale/iso-639.def: Define Bhili and Tulu language codes.
12562 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
12564         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
12566 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
12568         [BZ #17555]
12569         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
12571 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
12573         * configure.ac: Updated check of minimal required version to
12574         2.22.
12575         * manual/install.texi (Tools for Compilation): Updated version
12576         number.
12577         * configure: Regenerated.
12578         * INSTALL: Likewise.
12580 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
12582         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
12583         __tls_get_addr.
12585 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
12587         * include/sys/wait.h (__libc_waitpid): Remove declaration.
12588         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
12589         (__waitpid): Don't define as alias.  Use libc_hidden_def not
12590         libc_hidden_weak.
12591         (waitpid): Define as alias of __waitpid.
12592         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
12593         __waitpid.
12594         (__waitpid): Don't define as alias.  Use libc_hidden_def not
12595         libc_hidden_weak.
12596         (waitpid): Define as alias of __waitpid.
12597         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
12598         __libc_waitpid alias.
12599         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
12600         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
12601         Likewise.
12602         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
12603         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
12604         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
12605         alias.
12606         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
12607         __waitpid.
12608         (__waitpid): Don't define as alias.  Use libc_hidden_def not
12609         libc_hidden_weak.
12610         (waitpid): Define as alias of __waitpid.
12612 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
12614         * manual/llio.texi: Add comment that write safety has been
12615         fixed in Linux.
12617         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
12618         (localplt-build-dso): Add elf/ld.so.
12619         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
12620         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
12621         and free for ld.so.
12622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
12623         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
12624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
12625         Likewise.
12626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
12627         Likewise.
12628         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
12629         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
12630         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
12631         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
12632         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
12633         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
12634         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
12635         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
12636         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
12637         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
12638         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
12640 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
12642         [BZ #14132]
12643         * include/libc-symbols.h (INTUSE): Remove macro.
12644         (INTDEF): Likewise.
12645         (INTVARDEF): Likewise.
12646         (_INTVARDEF): Likewise.
12647         (INTDEF2): Likewise.
12648         (INTVARDEF2): Likewise.
12649         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
12650         rtld_hidden_def instead of INTVARDEF.
12651         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
12652         (_dl_starting_up_internal): Remove declaration.
12653         (_dl_starting_up): Use rtld_hidden_proto.
12654         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
12655         declaration.
12656         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
12657         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
12658         _dl_starting_up.
12659         * elf/dl-writev.h (_dl_writev): Likewise.
12660         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
12661         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
12662         _dl_starting_up_internal.
12664 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12666         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
12667         test-skeleton.c.
12669 2014-11-05  Will Newton  <will.newton@linaro.org>
12671         * benchtests/Makefile: (bench-malloc): Add malloc thread
12672         scalability benchmark.
12673         * benchtests/bench-malloc-threads.c: New file.
12675 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
12677         * sysdeps/aarch64/strchrnul.S: New file.
12679 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12681         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
12682         definition.
12683         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
12684         Likwise.
12685         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
12686         Likewise.
12687         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
12688         Likewise.
12689         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
12690         Likewise.
12691         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
12692         Likewise.
12694 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
12696         * catgets/test-gencat.c: Use test-skeleton.c.
12697         * catgets/tst-catgets.c: Likewise.
12698         * csu/tst-empty.c: Likewise.
12699         * elf/tst-audit2.c: Likewise.
12700         * elf/tst-global1.c: Likewise.
12701         * elf/tst-pathopt.c: Likewise.
12702         * elf/tst-piemod1.c: Likewise.
12703         * elf/tst-tls10.c: Likewise.
12704         * elf/tst-tls11.c: Likewise.
12705         * elf/tst-tls12.c: Likewise.
12706         * gnulib/tst-gcc.c: Likewise.
12707         * iconvdata/tst-e2big.c: Likewise.
12708         * iconvdata/tst-loading.c: Likewise.
12709         * iconv/tst-iconv1.c: Likewise.
12710         * iconv/tst-iconv2.c: Likewise.
12711         * inet/test-inet6_opt.c: Likewise.
12712         * inet/tst-gethnm.c: Likewise.
12713         * inet/tst-network.c: Likewise.
12714         * inet/tst-ntoa.c: Likewise.
12715         * intl/tst-codeset.c: Likewise.
12716         * intl/tst-gettext2.c: Likewise.
12717         * intl/tst-gettext3.c: Likewise.
12718         * intl/tst-ngettext.c: Likewise.
12719         * intl/tst-translit.c: Likewise.
12720         * io/test-stat.c: Likewise.
12721         * libio/test-fmemopen.c: Likewise.
12722         * libio/tst-freopen.c: Likewise.
12723         * libio/tst-sscanf.c: Likewise.
12724         * libio/tst-ungetwc1.c: Likewise.
12725         * libio/tst-ungetwc2.c: Likewise.
12726         * libio/tst-widetext.c: Likewise.
12727         * localedata/tst-ctype.c: Likewise.
12728         * localedata/tst-digits.c: Likewise.
12729         * localedata/tst-leaks.c: Likewise.
12730         * localedata/tst-mbswcs1.c: Likewise.
12731         * localedata/tst-mbswcs2.c: Likewise.
12732         * localedata/tst-mbswcs3.c: Likewise.
12733         * localedata/tst-mbswcs4.c: Likewise.
12734         * localedata/tst-mbswcs5.c: Likewise.
12735         * localedata/tst-setlocale.c: Likewise.
12736         * localedata/tst-trans.c: Likewise.
12737         * localedata/tst-wctype.c: Likewise.
12738         * localedata/tst-xlocale1.c: Likewise.
12739         * login/tst-grantpt.c: Likewise.
12740         * malloc/tst-calloc.c: Likewise.
12741         * malloc/tst-malloc.c: Likewise.
12742         * malloc/tst-mallocstate.c: Likewise.
12743         * malloc/tst-mcheck.c: Likewise.
12744         * malloc/tst-mtrace.c: Likewise.
12745         * malloc/tst-obstack.c: Likewise.
12746         * math/atest-exp2.c: Likewise.
12747         * math/atest-exp.c: Likewise.
12748         * math/atest-sincos.c: Likewise.
12749         * math/test-matherr.c: Likewise.
12750         * math/test-misc.c: Likewise.
12751         * math/test-powl.c: Likewise.
12752         * math/tst-definitions.c: Likewise.
12753         * misc/tst-dirname.c: Likewise.
12754         * misc/tst-efgcvt.c: Likewise.
12755         * misc/tst-fdset.c: Likewise.
12756         * misc/tst-hsearch.c: Likewise.
12757         * misc/tst-mntent2.c: Likewise.
12758         * nptl/tst-sem7.c: Likewise.
12759         * nptl/tst-sem8.c: Likewise.
12760         * nptl/tst-sem9.c: Likewise.
12761         * nss/test-netdb.c: Likewise.
12762         * posix/tst-fnmatch.c: Likewise.
12763         * posix/tst-getlogin.c: Likewise.
12764         * posix/tst-gnuglob.c: Likewise.
12765         * posix/tst-mmap.c: Likewise.
12766         * pwd/tst-getpw.c: Likewise.
12767         * resolv/tst-inet_ntop.c: Likewise.
12768         * rt/tst-timer.c: Likewise.
12769         * stdio-common/test-fseek.c: Likewise.
12770         * stdio-common/test-popen.c: Likewise.
12771         * stdio-common/test-vfprintf.c: Likewise.
12772         * stdio-common/tst-cookie.c: Likewise.
12773         * stdio-common/tst-fileno.c: Likewise.
12774         * stdio-common/tst-gets.c: Likewise.
12775         * stdio-common/tst-obprintf.c: Likewise.
12776         * stdio-common/tst-perror.c: Likewise.
12777         * stdio-common/tst-sprintf2.c: Likewise.
12778         * stdio-common/tst-sprintf3.c: Likewise.
12779         * stdio-common/tst-sprintf.c: Likewise.
12780         * stdio-common/tst-swprintf.c: Likewise.
12781         * stdio-common/tst-tmpnam.c: Likewise.
12782         * stdio-common/tst-unbputc.c: Likewise.
12783         * stdio-common/tst-wc-printf.c: Likewise.
12784         * stdlib/tst-environ.c: Likewise.
12785         * stdlib/tst-fmtmsg.c: Likewise.
12786         * stdlib/tst-limits.c: Likewise.
12787         * stdlib/tst-rand48-2.c: Likewise.
12788         * stdlib/tst-rand48.c: Likewise.
12789         * stdlib/tst-random2.c: Likewise.
12790         * stdlib/tst-random.c: Likewise.
12791         * stdlib/tst-strtol.c: Likewise.
12792         * stdlib/tst-strtoll.c: Likewise.
12793         * stdlib/tst-tls-atexit.c: Likewise.
12794         * stdlib/tst-xpg-basename.c: Likewise.
12795         * string/test-ffs.c: Likewise.
12796         * string/tst-bswap.c: Likewise.
12797         * string/tst-inlcall.c: Likewise.
12798         * string/tst-strtok.c: Likewise.
12799         * string/tst-strxfrm.c: Likewise.
12800         * sysdeps/x86_64/tst-audit10.c: Likewise.
12801         * sysdeps/x86_64/tst-audit3.c: Likewise.
12802         * sysdeps/x86_64/tst-audit4.c: Likewise.
12803         * sysdeps/x86_64/tst-audit5.c: Likewise.
12804         * time/tst-ftime_l.c: Likewise.
12805         * time/tst-getdate.c: Likewise.
12806         * time/tst-mktime3.c: Likewise.
12807         * time/tst-mktime.c: Likewise.
12808         * time/tst-posixtz.c: Likewise.
12809         * time/tst-strptime2.c: Likewise.
12810         * time/tst-strptime3.c: Likewise.
12811         * wcsmbs/tst-btowc.c: Likewise.
12812         * wcsmbs/tst-mbrtowc.c: Likewise.
12813         * wcsmbs/tst-mbsrtowcs.c: Likewise.
12814         * wcsmbs/tst-wchar-h.c: Likewise.
12815         * wcsmbs/tst-wcpncpy.c: Likewise.
12816         * wcsmbs/tst-wcrtomb.c: Likewise.
12817         * wcsmbs/tst-wcsnlen.c: Likewise.
12818         * wcsmbs/tst-wcstof.c: Likewise.
12820 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
12822         [BZ #14132]
12823         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
12824         INTDEF.
12825         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
12826         declaration.
12827         (_dl_mcount): Use rtld_hidden_proto.
12828         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
12829         _dl_mcount.
12830         * elf/rtld.c (_rtld_global_ro): Likewise.
12832         [BZ #14132]
12833         * elf/dl-init.c (_dl_init): Don't use INTDEF.
12834         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
12835         of _dl_init_internal.
12836         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
12837         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
12838         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
12839         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
12840         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
12841         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
12842         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
12843         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
12844         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
12845         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
12846         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
12847         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
12848         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12849         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12850         * sysdeps/tile/dl-start.S (_start): Likewise.
12851         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
12852         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
12854         [BZ #14132]
12855         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
12856         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
12857         (rtld_progname): Make macro definition unconditional.
12858         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
12859         INTDEF.
12860         (dlmopen_doit): Do not use INTUSE with _dl_argv.
12861         (dl_main): Likewise.
12862         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12863         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
12864         instead of _dl_argv_internal.
12865         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12866         __GI__dl_argv instead of INTUSE(_dl_argv).
12867         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
12868         __GI__dl_argv instead of _dl_argv_internal.
12870         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
12871         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
12872         macro.
12873         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
12874         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
12875         New macro.
12876         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
12877         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
12878         macro.
12879         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
12880         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
12882 2014-11-04  Andreas Schwab  <schwab@suse.de>
12884         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
12886 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12888         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
12889         mtvsrd instruction in binary form.
12891 2014-11-03  Andreas Schwab  <schwab@suse.de>
12893         [BZ #17522]
12894         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
12895         for less than MB_LEN_MAX use a local buffer of that size.
12896         * libio/tst-fputws.c: New file.
12897         * libio/Makefile (tests): Add tst-fputws.
12899 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
12901         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
12902         the size of the fpu_fr.fpu_dregs[] array.
12904 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
12906         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
12907         (__nanosleep): Do not define as alias.
12908         (nanosleep): Define as alias of __nanosleep.
12909         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
12910         __libc_nanosleep name.
12912 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
12914         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
12915         install.texi in comment.
12917 2014-10-31  Torvald Riegel  <triegel@redhat.com>
12919         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
12920         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
12921         ... add here and use lwsync or sync ...
12922         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
12923         ... and add here using lwsync.
12925 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
12927         * elf/dl-machine-reject-phdr.h: New file.
12928         * elf/dl-load.c: #include that.
12929         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
12930         if that returned true.
12932 2014-10-31  Roland McGrath  <roland@hack.frob.com>
12934         [BZ #17496]
12935         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
12936         gen-as-const-headers chunk.  Add a big scare comment after the last
12937         safe place to touch before-compile.
12939 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
12941         * manual/install.texi (Tools for Compilation): Update autoconf
12942         version requirements.
12943         * INSTALL: Regenerated.
12945         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
12946         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
12947         (__libc_pselect): Likewise.
12949         [BZ #14138]
12950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
12951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12955 2014-10-31  Torvald Riegel  <triegel@redhat.com>
12957         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
12958         correct barrier instruction.
12959         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
12960         Likewise.
12961         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
12962         Likewise.
12964 2014-10-30  Roland McGrath  <roland@hack.frob.com>
12966         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
12967         after defining inlines.  Instead, just use parens to defeat macro
12968         expansion of __isctype in its declaration.
12970 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
12972         * include/sys/uio.h (__libc_readv): Remove declaration.
12973         (__libc_writev): Likewise.
12974         * misc/readv.c (__libc_readv): Rename to __readv.
12975         (__readv): Do not define as alias.
12976         (readv): Define as alias of __readv.
12977         * misc/writev.c (__libc_writev): Rename to __writev.
12978         (__writev): Do not define as alias.
12979         (writev): Define as alias of __writev.
12980         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
12981         (__readv): Do not define as alias.
12982         (readv): Define unconditionally as alias of __readv.
12983         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
12984         (__writev): Do not define as alias.
12985         (writev): Define unconditionally as alias of __writev.
12986         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
12987         name.
12988         (writev): Do not define __libc_writev name.
12990 2014-10-30  Roland McGrath  <roland@hack.frob.com>
12992         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
12993         (convert_charseq): New function, broken out of ...
12994         (use_from_charmap): ... here.  Call it.
12995         (use_to_charmap): Use convert_charseq and free instead of duplicating
12996         its code with a variable-length stack struct.
12998 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
13000         * include/fcntl.h (__libc_creat): Remove declaration.
13001         * io/creat.c (__libc_creat): Rename to creat.
13002         (creat): Do not define as alias.
13003         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
13004         of creat instead of __libc_creat.
13005         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
13006         to creat.
13007         (creat): Do not define as alias.
13008         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
13009         __libc_creat.
13010         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
13011         __libc_creat name.
13012         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
13013         Likewise.
13015 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
13017         * manual/llio.texi: Add comments discussing why write() may be
13018         considered MT-unsafe on Linux.
13020 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
13022         * dl-load.c (local_strdup): Remove.
13023         (expand_dynamic_string_token): Use __strdup.
13024         (decompose_rpath): Likewise.
13025         (_dl_map_object): Likewise.
13027 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
13029         [BZ #14132]
13030         * sysdeps/generic/unwind-dw2-fde.c
13031         (__register_frame_info_bases_internal): Do not declare.
13032         (__register_frame_info_table_bases_internal): Likewise.
13033         (__deregister_frame_info_bases_internal): Likewise.
13034         (__register_frame_info_bases): Declare and use hidden_proto before
13035         definition.  Use hidden_def instead of INTDEF.
13036         (__register_frame_info_table_bases): Likewise.
13037         (__deregister_frame_info_bases): Likewise.
13038         (__register_frame_info): Do not use INTUSE.
13039         (__register_frame): Likewise.
13040         (__register_frame_info_table): Likewise.
13041         (__register_frame_table): Likewise.
13042         (__deregister_frame_info): Likewise.
13043         (__deregister_frame): Likewise.
13045 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
13047         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13048         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
13049         not undefine.
13050         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
13051         Likewise.
13052         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
13053         Likewise.
13055 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
13057         [BZ #14138]
13058         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
13059         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
13060         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
13061         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
13062         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
13063         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
13064         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
13065         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
13066         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
13067         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
13068         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
13069         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
13070         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
13071         syscall.
13072         (setfsuid): Likewise.
13073         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
13074         (setfsuid): Likewise.
13075         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
13076         (setfsuid): Likewise.
13077         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
13078         Likewise.
13079         (setfsuid): Likewise.
13080         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
13081         (setfsuid): Likewise.
13082         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
13083         Likewise.
13084         (setfsuid): Likewise.
13086 2014-10-27  Andreas Schwab  <schwab@suse.de>
13088         [BZ #17501]
13089         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
13090         check for Slow_SSE4_2 feature bit.
13091         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
13092         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
13093         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
13094         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
13096 2014-10-24  Roland McGrath  <roland@hack.frob.com>
13098         * configure.ac: Validate compiler version with a empirical test of
13099         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
13100         $CC -v output.
13101         * configure: Regenerated.
13103         * inet/htons.c (htons): Prototypify.
13104         * inet/htonl.c (htonl): Likewise.
13106 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13108         * string/strncat.c (strncat): Improve performance by using strlen.
13110 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13112         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
13114 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13116         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
13117         Call libc_fetestexcept_aarch64.
13119 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13121         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
13122         Call libc_feholdexcept_aarch64.
13124 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13126         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
13127         Call get_rounding_mode.
13129 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13131         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
13132         Simplify logic.
13134 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13136         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
13137         Simplify logic.
13139 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
13141         [BZ #14138]
13142         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
13143         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
13144         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
13145         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
13146         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
13147         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
13148         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
13149         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
13150         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
13151         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
13152         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13153         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
13154         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
13155         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
13156         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
13157         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
13158         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
13159         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
13160         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
13161         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
13162         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
13163         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
13164         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
13165         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
13166         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
13167         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
13168         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
13169         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
13170         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
13171         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
13172         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
13173         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
13174         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
13175         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
13176         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
13177         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
13178         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
13179         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
13180         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
13181         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
13182         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
13183         syscall.
13184         (geteuid): Likewise.
13185         (getgid): Likewise.
13186         (getuid): Likewise.
13187         (getresgid): Likewise.
13188         (getresuid): Likewise.
13189         (getgroups): Likewise.
13190         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
13191         (geteuid): Likewise.
13192         (getgid): Likewise.
13193         (getuid): Likewise.
13194         (getresgid): Likewise.
13195         (getresuid): Likewise.
13196         (getgroups): Likewise.
13197         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
13198         (geteuid): Likewise.
13199         (getgid): Likewise.
13200         (getuid): Likewise.
13201         (getresgid): Likewise.
13202         (getresuid): Likewise.
13203         (getgroups): Likewise.
13204         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
13205         Likewise.
13206         (geteuid): Likewise.
13207         (getgid): Likewise.
13208         (getuid): Likewise.
13209         (getresgid): Likewise.
13210         (getresuid): Likewise.
13211         (getgroups): Likewise.
13212         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
13213         (geteuid): Likewise.
13214         (getgid): Likewise.
13215         (getuid): Likewise.
13216         (getresgid): Likewise.
13217         (getresuid): Likewise.
13218         (getgroups): Likewise.
13219         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
13220         Likewise.
13221         (geteuid): Likewise.
13222         (getgid): Likewise.
13223         (getuid): Likewise.
13224         (getgroups): Likewise.
13226         [BZ #14138]
13227         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
13228         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
13229         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
13230         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
13231         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
13232         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
13233         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
13234         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
13235         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
13236         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
13237         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
13238         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
13239         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
13240         __chown.
13241         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
13242         (lchown): Likewise.
13243         (fchown): Likewise.
13244         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
13245         Likewise.
13246         (lchown): Likewise.
13247         (fchown): Likewise.
13248         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
13249         (lchown): Likewise.
13250         (fchown): Likewise.
13251         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
13252         Likewise.
13253         (lchown): Likewise.
13254         (fchown): Likewise.
13256 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
13258         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
13259         Simplify logic.
13261 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
13263         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
13264         Cleanup logic.
13266 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
13268         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
13269         Remove unused include.
13271 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
13273         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
13274         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
13275         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
13276         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
13278 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
13279             Helge Deller <deller@gmx.de>
13281         [BZ #17508]
13282         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
13283         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
13284         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
13286 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
13288         [BZ #14132]
13289         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
13290         Remove macro definition.
13291         (__ashrdi3_v_glibc20): Likewise.
13292         (__lshrdi3_v_glibc20): Likewise.
13293         (__cmpdi2_v_glibc20): Likewise.
13294         (__ucmpdi2_v_glibc20): Likewise.
13295         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
13296         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
13297         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
13298         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
13299         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
13300         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
13302 2014-10-22  Roland McGrath  <roland@hack.frob.com>
13304         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
13305         old GNU extension [0] syntax.
13306         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
13307         alloca rather than an array member with variable length.
13308         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
13309         * nscd/nscd.c (invalidate_db): New function, broken out of ...
13310         (parse_opt): ... here.  Likewise use alloca there.
13311         Validate the -i argument before checking for rootness.
13312         (send_shutdown): New function, broken out of ...
13313         (parse_opt): ... here.
13315 2014-10-22  Roland McGrath  <roland@hack.frob.com>
13317         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
13318         macro to get at the _rt_local_ro field.
13319         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
13320         ([PIC] case) or _dl_hwcap ([!PIC] case).
13321         * sysdeps/arm/setjmp.S: Likewise.
13323         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
13324         * sysdeps/arm/configure.ac: New check to define it.
13325         * sysdeps/arm/configure: Regenerated.
13326         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
13327         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
13328         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
13329         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
13330         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
13331         Use move/movt pair instead of a load.
13332         (LDST_GLOBAL): Macro removed.
13333         (LDR_GLOBAL): New macro replaces it.
13334         (LDR_HIDDEN): New macro.
13335         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
13336         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
13338         * setjmp/tst-setjmp-static.c: New file.
13339         * setjmp/Makefile (tests): Add it.
13340         (tests-static): New variable.
13342 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
13344         [BZ #17485]
13345         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
13347 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
13349         [BZ #14132]
13350         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
13352 2014-10-21  Roland McGrath  <roland@hack.frob.com>
13354         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
13356 2014-10-20  Roland McGrath  <roland@hack.frob.com>
13358         * io/fts.c (dirent_not_directory): New function.
13359         (fts_build): Call it.
13361 2014-10-20  Roland McGrath  <roland@hack.frob.com>
13363         * nptl/version.c (__nptl_main): Use normal __write rather than
13364         INTERNAL_SYSCALL.
13365         (banner): Update copyright years.
13367         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
13368         gettimeofday.
13369         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
13370         * nptl/pthread_cond_timedwait.c: Likewise.
13371         * nptl/pthread_mutex_timedlock.c: Likewise.
13372         * nptl/sem_timedwait.c: Likewise.
13374         * sysdeps/nptl/bits/libc-lock.h
13375         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
13376         (__libc_lock_init_recursive): Return void, not 0.
13377         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
13378         (__libc_rwlock_init): Likewise.
13379         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
13381 2014-10-20  Torvald Riegel  <triegel@redhat.com>
13383         [BZ #15215]
13384         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
13385         (__pthread_once_slow): ... here.
13386         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
13387         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
13389 2014-10-20  Torvald Riegel  <triegel@redhat.com>
13391         [BZ #15215]
13392         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
13393         __PTHREAD_ONCE_FORK_GEN_INCR): New.
13394         * sysdeps/nptl/fork.c (__libc_fork): Use them.
13395         * nptl/pthread_once.c (__pthread_once): Likewise.
13396         Update comments.
13398 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
13400         [BZ #14138]
13401         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
13402         name.
13403         (writev): Use __libc_writev as strong name.
13404         * sysdeps/unix/sysv/linux/readv.c: Remove file.
13405         * sysdeps/unix/sysv/linux/writev.c: Likewise.
13407 2014-10-17  Roland McGrath  <roland@hack.frob.com>
13409         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
13411         * sysdeps/i386/nptl/tls.h
13412         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
13413         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
13414         New macros.
13415         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
13416         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
13417         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
13418         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
13419         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
13420         Call CHECK_THREAD_SYSINFO instead of doing an assert.
13422         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
13423         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
13424         on [__NR_futex].
13425         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
13426         broken out of ...
13427         (__pthread_mutex_init): ... here.  Call it.
13428         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
13429         Conditionalize PI cases on [__NR_futex].
13430         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
13431         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
13432         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
13434         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
13435         conditional on [SIGSETXID].
13436         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
13437         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
13438         is defined.  Likewise for SIGSETXID.
13439         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
13440         Conditionalize definitions on [SIGSETXID].
13441         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
13442         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
13443         unblocking on [SIGCANCEL].
13445         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
13446         [__NR_set_robust_list].
13448 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
13450         * string/strcoll_l.c (get_next_seq): Fix up formatting.
13451         (do_compare): Likewise.
13453 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
13455         [BZ #15884]
13456         * string/strcoll_l.c: Don't include stdio.h.
13457         (coll_seq): Remove members idxarr and rulearr.
13458         (get_next_seq_cached): Remove function.
13459         (get_next_seq): Likewise.
13460         (get_next_seq_nocache): Rename to get_next_seq.
13461         (do_compare): Remove function.
13462         (do_compare_nocache): Rename to do_compare.
13463         (STRCOLL): Remove weight and rules cache.
13465 2014-10-16  Roland McGrath  <roland@hack.frob.com>
13467         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
13468         * sysdeps/arm/sfp-machine.h: ... to here.
13469         * sysdeps/arm/Implies: Remove arm/soft-fp.
13471 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
13473         * conform/data/sys/utsname.h-data (*_t): Allow.
13474         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
13475         [POSIX] (WEXITED): Do not expect constant.
13476         [POSIX] (WSTOPPED): Likewise.
13477         [POSIX] (WNOHANG): Likewise.
13478         [POSIX] (WNOWAIT): Likewise.
13479         [POSIX] (siginfo_t): Do not expect type or elements.
13480         [POSIX] (pid_t): Do not expect type.
13481         [POSIX] (signal.h): Do not allow header.
13482         [POSIX] (sys/resource.h): Likewise.
13483         [POSIX] (si_*): Do not allow pattern.
13484         [POSIX] (W*): Likewise.
13485         [POSIX] (P_*): Likewise.
13486         [POSIX] (BUS_*): Likewise.
13487         [POSIX] (CLD_*): Likewise.
13488         [POSIX] (FPE_*): Likewise.
13489         [POSIX] (ILL_*): Likewise.
13490         [POSIX] (POLL_*): Likewise.
13491         [POSIX] (SEGV_*): Likewise.
13492         [POSIX] (SI_*): Likewise.
13493         [POSIX] (TRAP_*): Likewise.
13494         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
13495         variable.
13497 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
13499         [BZ #12926]
13500         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
13501         infinite loop when __recvmsg returns 0.
13503 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
13505         * CANCEL-FCT-WAIVE: Remove file.
13506         * CANCEL-FILE-WAIVE: Likewise.
13508         [BZ #14132]
13509         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
13510         instead of INTVARDEF.
13511         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
13512         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
13513         rtld_hidden_data_def instead of INTVARDEF.
13514         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
13515         * elf/dl-deps.c (expand_dst): Likewise.
13516         * elf/dl-load.c (_dl_dst_count): Likewise.
13517         (_dl_dst_substitute): Likewise.
13518         (decompose_rpath): Likewise.
13519         (_dl_init_paths): Likewise.
13520         (open_path): Likewise.
13521         (_dl_map_object): Likewise.
13522         * elf/rtld.c (dl_main): Likewise.
13523         (process_dl_audit): Likewise.
13524         (process_envvars): Likewise.
13525         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
13526         Remove declaration.
13527         (__libc_enable_secure): Use rtld_hidden_proto.
13529 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13531         * elf/dl-load.c
13532         (add_path): New function broken out of _dl_rtld_di_serinfo.
13533         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
13535 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
13537         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
13538         parentheses around macro arguments.
13539         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
13540         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
13541         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
13542         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
13543         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
13544         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
13545         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
13546         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
13547         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
13548         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
13549         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
13550         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
13551         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
13552         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
13553         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
13554         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
13555         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
13556         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
13557         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
13558         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
13559         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
13560         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
13561         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
13562         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
13563         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
13564         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
13565         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
13566         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
13567         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
13568         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
13569         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
13570         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
13571         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
13572         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
13573         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
13574         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
13575         Likewise.
13576         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
13577         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
13578         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
13579         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
13580         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
13581         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
13582         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
13583         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
13584         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
13585         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
13586         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
13587         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
13588         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
13589         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
13590         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
13591         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
13592         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
13593         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
13594         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
13595         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
13596         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
13597         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
13598         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
13599         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
13600         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
13601         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
13602         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
13603         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
13604         (_FP_FRAC_SRS_1): Likewise.
13605         (_FP_FRAC_CLZ_1): Likewise.
13606         (_FP_MUL_MEAT_1_imm): Likewise.
13607         (_FP_MUL_MEAT_1_wide): Likewise.
13608         (_FP_MUL_MEAT_1_hard): Likewise.
13609         (_FP_SQRT_MEAT_1): Likewise.
13610         (_FP_FRAC_ASSEMBLE_1): Likewise.
13611         (_FP_FRAC_DISASSEMBLE_1): Likewise.
13612         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
13613         (__FP_CLZ_2): Likewise.
13614         (_FP_MUL_MEAT_2_wide): Likewise.
13615         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
13616         (_FP_MUL_MEAT_2_gmp): Likewise.
13617         (_FP_MUL_MEAT_2_120_240_double): Likewise.
13618         (_FP_SQRT_MEAT_2): Likewise.
13619         (_FP_FRAC_ASSEMBLE_2): Likewise.
13620         (_FP_FRAC_DISASSEMBLE_2): Likewise.
13621         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
13622         (_FP_FRAC_CLZ_4): Likewise.
13623         (_FP_MUL_MEAT_4_wide): Likewise.
13624         (_FP_MUL_MEAT_4_gmp): Likewise.
13625         (_FP_SQRT_MEAT_4): Likewise.
13626         (_FP_FRAC_ASSEMBLE_4): Likewise.
13627         (_FP_FRAC_DISASSEMBLE_4): Likewise.
13628         * soft-fp/op-common.h (_FP_CMP): Likewise.
13629         (_FP_CMP_EQ): Likewise.
13630         (_FP_CMP_UNORD): Likewise.
13631         (_FP_TO_INT): Likewise.
13632         (_FP_FROM_INT): Likewise.
13633         [!__FP_CLZ] (__FP_CLZ): Likewise.
13634         (_FP_DIV_HELP_imm): Likewise.
13635         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
13636         Likewise.
13637         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
13638         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
13639         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
13640         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
13641         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
13642         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
13643         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
13644         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
13645         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
13646         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
13647         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
13648         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
13649         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
13650         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
13651         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
13652         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
13653         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
13654         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
13655         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
13656         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
13657         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
13658         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
13659         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
13660         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
13661         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
13662         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
13663         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
13664         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
13665         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
13666         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
13667         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
13668         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
13669         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
13670         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
13671         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
13672         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
13673         (FP_UNPACK_RAW_SP): Likewise.
13674         (FP_PACK_RAW_S): Likewise.
13675         (FP_PACK_RAW_SP): Likewise.
13676         (FP_UNPACK_S): Likewise.
13677         (FP_UNPACK_SP): Likewise.
13678         (FP_UNPACK_SEMIRAW_S): Likewise.
13679         (FP_UNPACK_SEMIRAW_SP): Likewise.
13680         (FP_PACK_S): Likewise.
13681         (FP_PACK_SP): Likewise.
13682         (FP_PACK_SEMIRAW_S): Likewise.
13683         (FP_PACK_SEMIRAW_SP): Likewise.
13684         (_FP_SQRT_MEAT_S): Likewise.
13685         (FP_CMP_S): Likewise.
13686         (FP_CMP_EQ_S): Likewise.
13687         (FP_CMP_UNORD_S): Likewise.
13688         (FP_TO_INT_S): Likewise.
13689         (FP_FROM_INT_S): Likewise.
13691         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
13693         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
13694         (FP_EX_INVALID_IMZ): Likewise.
13695         (FP_EX_INVALID_IMZ_FMA): Likewise.
13696         (FP_EX_INVALID_ISI): Likewise.
13697         (FP_EX_INVALID_ZDZ): Likewise.
13698         (FP_EX_INVALID_IDI): Likewise.
13699         (FP_EX_INVALID_SQRT): Likewise.
13700         (FP_EX_INVALID_CVI): Likewise.
13701         (FP_EX_INVALID_VC): Likewise.
13702         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
13703         "invalid" exceptions.
13704         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
13705         (_FP_ADD_INTERNAL): Likewise.
13706         (_FP_MUL): Likewise.
13707         (_FP_FMA): Likewise.
13708         (_FP_DIV): Likewise.
13709         (_FP_CMP_CHECK_NAN): Likewise.
13710         (_FP_SQRT): Likewise.
13711         (_FP_TO_INT): Likewise.
13712         (FP_EXTEND): Likewise.
13714 2014-10-09  Allan McRae  <allan@archlinux.org>
13716         * po/fr.po: Update French translation from translation project.
13718 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
13720         [BZ #14132]
13721         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
13722         of INTDEF.
13723         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
13724         (__cxa_atexit): Use libc_hidden_proto.
13725         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
13727         [BZ #14132]
13728         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
13729         declaration.
13730         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
13731         [!_ISOMAC] (__iswspace_l_internal): Likewise.
13732         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
13733         [!_ISOMAC] (__iswctype_internal): Likewise.
13734         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
13735         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
13736         alias.
13737         (fcntl): Remove __fcntl_internal alias.
13738         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
13739         __connect_internal alias.
13740         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
13741         Likewise.
13743         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
13744         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
13745         FP_DENORM_ZERO.
13746         (_FP_CHECK_FLUSH_ZERO): New macro.
13747         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
13748         (_FP_CMP): Likewise.
13749         (_FP_CMP_EQ): Likewise.
13750         (_FP_TO_INT): Do not set inexact for subnormal arguments if
13751         FP_DENORM_ZERO.
13752         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
13753         (FP_TRUNC): Likewise.
13755         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
13756         treated as invalid conversion, not as normal exponent.
13758         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
13759         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
13760         (_FP_CMP_EQ): Likewise.
13761         (_FP_CMP_UNORD): Likewise.
13762         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
13763         (FP_CMP_EQ_D): Likewise.
13764         (FP_CMP_UNORD_D): Likewise.
13765         * soft-fp/extended.h (FP_CMP_E): Likewise.
13766         (FP_CMP_EQ_E): Likewise.
13767         (FP_CMP_UNORD_E): Likewise.
13768         * soft-fp/quad.h (FP_CMP_Q): Likewise.
13769         (FP_CMP_EQ_Q): Likewise.
13770         (FP_CMP_UNORD_Q): Likewise.
13771         * soft-fp/single.h (FP_CMP_S): Likewise.
13772         (FP_CMP_EQ_S): Likewise.
13773         (FP_CMP_UNORD_S): Likewise.
13774         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
13775         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
13776         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
13777         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
13778         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
13779         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
13780         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
13781         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
13782         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
13783         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
13784         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
13785         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
13786         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
13787         to FP_CMP_Q.
13788         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
13789         FP_CMP_Q.
13790         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
13791         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
13792         FP_CMP_EQ_Q.
13793         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
13794         FP_CMP_Q.
13795         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
13796         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
13797         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
13798         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
13799         FP_CMP_EQ_Q.
13800         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
13801         FP_CMP_Q.
13802         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
13803         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
13804         FP_CMP_EQ_Q.
13805         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
13806         FP_CMP_Q.
13807         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
13808         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
13809         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
13810         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
13811         FP_CMP_EQ_Q.
13813         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
13814         a subnormal result, set the underflow exception if trapping on
13815         underflow is enabled.
13816         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
13817         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
13818         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
13819         redefine to 0.
13820         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
13821         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13822         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13823         * soft-fp/extendxftf2.c (__extendxftf2): Use
13824         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
13826         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
13827         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
13828         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13829         FP_HANDLE_EXCEPTIONS.
13830         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
13831         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13832         FP_HANDLE_EXCEPTIONS.
13833         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
13834         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13835         FP_HANDLE_EXCEPTIONS.
13836         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
13837         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13838         FP_HANDLE_EXCEPTIONS.
13840 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
13842         [BZ #14132]
13843         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
13844         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
13845         use INTUSE.
13846         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
13847         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
13848         Remove alias.
13849         (__adjtimex): Define using libc_hidden_ver.
13850         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
13851         Remove declaration.
13852         (ntp_gettime): Call __adjtimex directly.
13853         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
13854         Remove declaration.
13855         (ntp_gettimex): Call __adjtimex directly.
13856         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
13857         __adjtimex_internal alias.
13859 2014-10-08  Roland McGrath  <roland@hack.frob.com>
13861         [BZ #17460]
13862         * nscd/nscd.c (more_help): Rewrite list of tables collection
13863         using xstrdup and asprintf.
13865         * nscd/nscd_conf.c: Remove local xstrdup declaration.
13867 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13868             Roland McGrath  <roland@hack.frob.com>
13870         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
13871         (do_lookup_unique): ... local function 'enter' here; update callers.
13873 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
13875         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
13876         compat_symbol calls on [SHARED].
13877         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
13878         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
13879         Remove.
13880         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13881         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
13882         (oldsetrlimit): Remove.
13883         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
13885         (lchown): New syscall entry.
13886         (oldsetrlimit): Remove.
13887         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13888         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
13889         (oldsetrlimit): Remove.
13890         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13892         [BZ #14138]
13893         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
13894         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
13895         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
13896         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
13897         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
13898         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
13899         (fchown): Likewise.
13900         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
13901         (fchown): Likewise.
13902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
13903         Likewise.
13905 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13907         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
13908         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
13909         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
13910         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
13911         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
13912         Likewise.
13913         (__old_sem_post): Likewise.
13915 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
13917         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
13918         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
13919         HAVE_CLOCK_GETTIME_VSYSCALL macros.
13920         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
13921         Use INLINE_VSYSCALL macro.
13922         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
13923         __vdso_clock_gettime.
13924         * sysdeps/unix/sysv/linux/tile/init-first.c
13925         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
13926         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
13927         __vdso_clock_gettime.
13929         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
13930         to set up frame more cleanly.
13932         * sysdeps/tile/memcmp.c: New file.
13934         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
13936         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
13937         * sysdeps/tile/tilegx/strcasestr.c: New file.
13938         * sysdeps/tile/tilegx/strnlen.c: New file.
13939         * sysdeps/tile/tilegx/strstr.c: New file.
13941         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
13943 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
13945         * nptl/tst-setuid3.c: Write errors to stdout.
13947 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13949         * elf/dl-deps.c
13950         (preload): New functions broken out of _dl_map_object_deps.
13951         (_dl_map_object_deps):  Remove a nested function. Update call sites.
13953 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
13955         [BZ #14138]
13956         * sysdeps/unix/sysv/linux/execve.c: Remove file.
13957         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
13959 2014-10-01  Steve Ellcey  <sellcey@mips.com>
13961         * sysdeps/mips/strcmp.S: New.
13963 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
13965         [BZ #14138]
13966         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
13967         (linkat): Likewise.
13968         (mkdirat): Likewise.
13969         (readlinkat): Likewise.
13970         (renameat): Likewise.
13971         (symlinkat): Likewise.
13972         (unlinkat): Likewise.
13973         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
13974         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
13975         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
13976         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
13977         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
13978         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
13979         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
13981 2014-09-30  Will Newton  <will.newton@linaro.org>
13983         * math/math.h: Define long double math functions if
13984         _LIBC_TEST is defined.
13985         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
13987         * localedata/Makefile: Move assignment to tests-special
13988         into an ifdef testing run-built-tests.
13989         * timezone/Makefile: Likewise.
13991 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
13993         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
13994         with $(BASH) not $(SHELL).
13996 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
13997             Matthew LeGendre  <legendre1@llnl.gov>
13999         [BZ #17411]
14000         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
14001         l_reloc_result.
14003 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
14005         * stdio-common/printf_fp.c
14006         (hack_digit): New function, broken out of ...
14007         (__printf_fp): ... local function here.  Update call sites.
14008         hack_digit now takes an additional parameter that is a pointer
14009         to a struct of the referenced locals.  Those locals moved inside
14010         the struct and references updated.
14012 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
14014         * aclocal.m4: Require autoconf 2.69.
14015         * configure: Regenerated.
14016         * sysdeps/aarch64/configure: Likewise.
14017         * sysdeps/alpha/configure: Likewise.
14018         * sysdeps/arm/armv7/configure: Likewise.
14019         * sysdeps/arm/configure: Likewise.
14020         * sysdeps/ia64/configure: Likewise.
14021         * sysdeps/mach/configure: Likewise.
14022         * sysdeps/mips/configure: Likewise.
14023         * sysdeps/s390/configure: Likewise.
14024         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
14025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
14027         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
14028         file.
14029         * sysdeps/ia64/configure.ac: Likewise.
14031 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
14033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
14034         specify symbol version for ld.so.  Do not include entry for
14035         libpthread.
14036         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
14037         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
14038         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
14040         [BZ #14171]
14041         * Makeconfig [$(build-shared) = yes]
14042         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
14043         makefiles.
14044         [$(build-shared) = yes && $(soversions.mk-done) = t]
14045         ($(common-objpfx)gnu/lib-names.h): Remove rule.
14046         [$(build-shared) = yes && $(soversions.mk-done) = t]
14047         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
14048         to Makerules.
14049         [$(build-shared) = yes && $(soversions.mk-done) = t]
14050         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
14051         here.
14052         [$(build-shared) = yes && $(soversions.mk-done) = t]
14053         (common-generated): Don't append gnu/lib-names.h and
14054         gnu/lib-names.stmp here.
14055         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
14056         (lib-names-h-abi): New variable.
14057         [$(build-shared) = yes && $(soversions.mk-done) = t]
14058         (lib-names-stmp-abi): Likewise.
14059         [$(build-shared) = yes && $(soversions.mk-done) = t &&
14060         abi-variants] (before-compile): Append
14061         $(common-objpfx)$(lib-names-h-abi).
14062         [$(build-shared) = yes && $(soversions.mk-done) = t &&
14063         abi-variants] (common-generated): Append gnu/lib-names.h.
14064         [$(build-shared) = yes && $(soversions.mk-done) = t &&
14065         abi-variants] (install-others-nosubdir): Depend on
14066         $(inst_includedir)/$(lib-names-h-abi).
14067         [$(build-shared) = yes && $(soversions.mk-done) = t &&
14068         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
14069         [$(build-shared) = yes && $(soversions.mk-done) = t]
14070         ($(common-objpfx)$(lib-names-h-abi)): New rule.
14071         [$(build-shared) = yes && $(soversions.mk-done) = t]
14072         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
14073         [$(build-shared) = yes && $(soversions.mk-done) = t]
14074         (common-generated): Append $(lib-names-h-abi) and
14075         $(lib-names-stmp-abi).
14076         * scripts/lib-names.awk: Do not handle multi being set.
14077         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
14078         Remove variable.
14079         (abi-lp64_be-ld-soname): Likewise.
14080         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
14081         Likewise.
14082         (abi-hard-ld-soname): Likewise.
14083         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
14084         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
14085         Remove variable.
14086         (abi-o32_hard-ld-soname): Likewise.
14087         (abi-o32_soft_2008-ld-soname): Likewise.
14088         (abi-o32_hard_2008-ld-soname): Likewise.
14089         (abi-n32_soft-ld-soname): Likewise.
14090         (abi-n32_hard-ld-soname): Likewise.
14091         (abi-n32_soft_2008-ld-soname): Likewise.
14092         (abi-n32_hard_2008-ld-soname): Likewise.
14093         (abi-n64_soft-ld-soname): Likewise.
14094         (abi-n64_hard-ld-soname): Likewise.
14095         (abi-n64_soft_2008-ld-soname): Likewise.
14096         (abi-n64_hard_2008-ld-soname): Likewise.
14097         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
14098         Likewise.
14099         (abi-64-v2-ld-soname): Likewise.
14100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
14101         ld.so entries.
14102         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
14103         variable.
14104         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
14105         entry.
14106         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
14107         variable.
14108         (abi-64-ld-soname): Likewise.
14109         (abi-x32-ld-soname): Likewise.
14110         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
14111         entry.
14112         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
14114 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
14116         [BZ #14138]
14117         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
14118         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
14119         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
14120         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
14121         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
14122         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
14123         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
14124         syscall entry for GLIBC_2.2 symbol version.
14125         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
14126         Likewise.
14127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
14128         (setrlimit): Likewise.
14129         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
14130         Likewise.
14132 2014-09-23  Will Newton  <will.newton@linaro.org>
14134         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
14135         _LINUX_ARM_SYSDEP_H include guard too.
14136         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
14137         define.
14139 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
14141         * sysdeps/unix/sysv/linux/eventfd.c:
14142         Make first argument unsigned.
14143         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
14144         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
14146 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
14148         * socket/recvmmsg.c (recvmmsg): Drop const argument.
14149         * socket/sys/socket.h: Likewise
14150         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
14152 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14154         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
14156 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
14158         * time/tst-ftime.c: New test.
14159         * time/Makefile (tests): Add tst-ftime.
14161 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
14163         * soft-fp/extended.h: Fix comment formatting.
14164         * soft-fp/op-1.h: Likewise.
14165         * soft-fp/op-2.h: Likewise.
14166         * soft-fp/op-4.h: Likewise.
14167         * soft-fp/op-8.h: Likewise.
14168         * soft-fp/op-common.h: Likewise.
14169         * soft-fp/soft-fp.h: Likewise.
14171         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
14173 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
14175         [BZ #6652]
14176         * Makeconfig (soversions-default-setname): Remove variable.
14177         ($(common-objpfx)soversions.i): Don't pass default_setname to
14178         soversions.awk.
14179         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
14180         oldest_abi to abi-versions.awk.
14181         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
14182         * config.make.in (oldest-abi): Remove variable.
14183         * configure.ac (--enable-oldest-abi): Remove configure option.
14184         * configure: Regenerated.
14185         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
14186         text.
14187         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
14188         * scripts/soversions.awk: Do not handle default_setname variable.
14189         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
14190         variable.
14191         * sysdeps/mach/hurd/configure: Regenerated.
14192         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
14193         variable.
14194         * sysdeps/unix/sysv/linux/configure: Regenerated.
14196 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14198         * elf/Makefile (CFLAGS-interp.c): Remove.
14199         ($(elf-objpfx)runtime-linker.h): Generate header with linker
14200         path string.
14201         * elf/interp.c: Include generated runtime-linker.h
14203         * Makerules (lib%.so): Don't include $(+interp) in
14204         prerequisites.
14205         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
14206         * dlfcn/eval.c: Remove file.
14208         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
14209         macros.
14211         [BZ #17266]
14212         * misc/sys/cdefs.h: Define __extern_always_inline for clang
14213         4.2 and newer.
14215         [BZ #17370]
14216         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
14218 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14219             Jakub Jelinek  <jakub@redhat.com>
14221         [BZ #17266]
14222         * libio/stdio.h: Check definition of __fortify_function
14223         instead of __extern_always_inline to include bits/stdio2.h.
14224         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
14225         check if __extern_always_inline is defined.
14226         [__USE_MISC || __USE_XOPEN]: Likewise.
14227         [__USE_ISOC99] Likewise.
14228         * misc/sys/cdefs.h (__fortify_function): Define only if
14229         __extern_always_inline is defined.
14230         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
14231         __extern_always_inline and __extern_inline only for g++-4.3
14232         and newer or a compatible gcc.
14234 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
14236         [BZ #17371]
14237         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
14238         last change to handle zero prefix length.
14240 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14242         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
14243         _SC_REGEX_VERSION.
14245         * posix/getconf.c (vars): Add _POSIX_IPV6 and
14246         _POSIX_RAW_SOCKETS.
14248 2014-09-13  Allan McRae  <allan@archlinux.org>
14250         * po/ru.po: Update Russian translation from translation project.
14252 2014-09-12  Roland McGrath  <roland@hack.frob.com>
14254         * locale/programs/locale.c (show_locale_vars): Inline local function
14255         into its sole call site.  Clean up some style nits.
14256         (print_item): New function, broken out of ...
14257         (show_info): ... local function here.  Clean up style nits.
14259         * locale/programs/ld-ctype.c (set_one_default): New function, broken
14260         out of ...
14261         (set_class_defaults): ... local function set_default here.
14262         Define set_default as a macro locally to pass constant parameters.
14263         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
14264         rather than a shared local.
14266         * stdlib/rpmatch.c (try): New function, broken out of ...
14267         (rpmatch): ... local function here.  Also, prototypify definition.
14269 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
14271         * scripts/soversions.awk: Do not handle configuration names.
14272         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
14273         vendor and os variables to soversions.awk.
14274         * configure.ac: Do not modify gnu-* host_os.
14275         * configure: Regenerated
14276         * shlib-versions: Remove first column with configuration names.
14277         * nptl/shlib-versions: Likewise.
14278         * nptl_db/shlib-versions: Likewise.
14279         * sysdeps/hppa/shlib-versions: Likewise.
14280         * sysdeps/m68k/shlib-versions: Likewise.
14281         * sysdeps/mach/hurd/shlib-versions: Likewise.
14282         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
14283         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
14284         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
14285         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
14286         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
14287         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
14288         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
14289         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
14290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
14291         Likewise.
14292         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
14293         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
14294         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
14295         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
14296         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
14297         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
14298         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
14299         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
14301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
14302         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
14303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
14304         Regenerated.
14305         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
14306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
14307         Condition symbol version definitions on [HAVE_ELFV2_ABI].
14309         * shlib-versions: Remove OS-specific entries.  Moved to files in
14310         sysdeps.
14311         * sysdeps/mach/hurd/shlib-versions: New file.
14312         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
14314         * nptl/shlib-versions: Remove architecture-specific entries.
14315         Moved to files in sysdeps.
14316         * shlib-versions: Likewise.
14317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
14318         file.
14319         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
14320         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
14321         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
14322         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
14324         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
14325         (UDP_NO_CHECK6_RX): Likewise.
14327 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14329         * sysdeps/posix/sysconf.c (__sysconf): Spell
14330         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
14332 2014-08-12  Florian Weimer  <fweimer@redhat.com>
14334         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
14335         loading.
14336         * iconv/Versions (__gconv_transliterate): Export for use from
14337         gconv modules.
14338         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
14339         (struct __gconv_trans_data, __gconv_trans_fct,
14340         __gconv_trans_context_fct, __gconv_trans_query_fct,
14341         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
14342         definitions.
14343         (struct __gconv_step_data): Remove __trans member.
14344         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
14345         longer hidden.  Remove unused trans_data argument.
14346         * iconv/gconv_int.h (struct trans_struct): Remove definition.
14347         (__gconv_translit_find): Remove declaration.
14348         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
14349         prototype.
14350         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
14351         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
14352         trans_data argument.  Add hidden definition.
14353         (__gconv_translit_find): Remove.
14354         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
14355         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
14356         * iconv/skeleton.c: Remove transliteration initialization.
14357         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
14358         __gconv_step_data initialization.
14359         * libio/iofwide.c (__libio_translit_): Remove.
14360         (_IO_fwide): Adjust struct __gconv_step_data initialization.
14361         * wcsmbs/btowc.c (__btowc): Likewise.
14362         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
14363         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
14364         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
14365         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
14366         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
14367         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
14368         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
14369         * wcsmbs/wctob.c (wctob): Likewise.
14371 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14373         [BZ #16194]
14374         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
14375         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
14376         register usage.
14377         * sysdeps/x86/Makefile: Adjust.
14379 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
14380             Roland McGrath  <roland@hack.frob.com>
14382         * locale/weight.h: Add include guard.
14383         (findidx): Make static rather than auto; take new parameters
14384         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
14385         * locale/weightwc.h: Likewise.
14386         * posix/fnmatch_loop.c
14387         (FCT): Change type of EXTRA from int32_t to wint_t.
14388         Don't include either header inside the function.
14389         Call FINDIDX rather than findidx, and pass new arguments.
14390         #undef FINDIDX at the end of the file.
14391         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
14392         FINDIDX before including fnmatch_loop.c for the non-wide version.
14393         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
14394         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
14395         for the wide version.
14396         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
14397         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
14398         Pass new arguments to findidx.
14399         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
14400         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
14401         Don't #include it inside the function.  Pass new arguments to findidx.
14402         * posix/regex_internal.h
14403         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
14404         (re_string_elem_size_at): Don't #include it inside the function.
14405         Pass new arguments to findidx.
14406         * string/strcoll_l.c: #include WEIGHT_H at top level.
14407         (get_next_seq): Don't #include it inside the function.
14408         Pass new arguments to findidx.
14409         (get_next_seq_nocache): Likewise.
14410         * string/strxfrm_l.c: #include WEIGHT_H at top level.
14411         (STRXFRM): Don't #include it inside the function.
14412         Pass new arguments to findidx.
14414 2014-09-11  Florian Weimer  <fweimer@redhat.com>
14416         [BZ #17344]
14417         * malloc/malloc.c (unlink): Turn asserts into a call to
14418         malloc_printerr.
14420 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
14422         [BZ #17370]
14423         * libio/wfileops (do_ftell_wide): Free OUT.
14425 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
14427         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
14429 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14431         [BZ #17363]
14432         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
14433         group if the current group is empty.
14435 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14437         * benchtests/bench-memset.c (test_main): Add more test from size
14438         from 32 to 512 bytes.
14439         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14440         Add POWER8 memset object.
14441         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14442         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
14443         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
14444         implementation.
14445         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
14446         Likewise.
14447         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
14448         multiarch POWER8 memset optimization.
14449         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
14450         POWER8 memset optimization.
14452         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14453         Remove bzero multiarch objects.
14454         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
14455         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
14456         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
14457         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
14458         Remove define.
14459         [__bzero]: Redefine to specific name.
14460         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
14461         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
14462         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
14463         define.
14464         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14465         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14467 2014-09-10  Florian Weimer  <fweimer@redhat.com>
14469         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
14470         warnings into errors.
14472         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
14473         __cxa_thread_atexit_impl prototype.
14475 2014-09-09  Steve Ellcey  <sellcey@mips.com>
14477         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
14478         Fix capitalization of error message.
14480 2014-09-09  Steve Ellcey  <sellcey@mips.com>
14482         * sysdeps/mips/preconfigure: Modify ABI tests.
14484 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
14486         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
14488 2014-09-07  Roland McGrath  <roland@hack.frob.com>
14489             Carlos O'Donell  <carlos@systemhalted.org>
14491         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
14492         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
14493         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
14494         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
14495         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
14496         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
14497         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
14498         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
14499         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
14500         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
14501         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
14502         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
14503         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
14504         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
14505         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
14506         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
14507         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
14508         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
14509         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
14510         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
14511         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
14512         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
14513         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
14514         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
14515         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
14516         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
14517         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
14518         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
14519         Deconditionalize the code that was previously under [RESET_PID].
14520         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
14521         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
14522         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
14523         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
14524         include sysdep.h.
14526 2014-09-08  Allan McRae  <allan@archlinux.org>
14528         * version.h (RELEASE): Set to "development".
14529         (VERSION): Set to "2.20.90"
14531 2014-09-07  Allan McRae  <allan@archlinux.org
14533         * version.h (RELEASE): Set to "stable".
14534         (VERSION): Set to "2.20"
14535         * include/features.h (__GLIBC_MINOR__): Set to 20.
14537         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
14538         Liebler.
14540         * po/ko.po: Update Korean translation from translation project.
14542 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
14544         [BZ #17354]
14545         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
14546         macro for handling signed relocations.
14548 2014-09-03  Florian Weimer  <fweimer@redhat.com>
14550         [BZ #17325]
14551         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
14552         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
14553         assert.
14554         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
14555         * iconvdata/ibm935.c (BODY): Likewise.
14556         * iconvdata/ibm937.c (BODY): Likewise.
14557         * iconvdata/ibm939.c (BODY): Likewise.
14558         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
14559         assert.
14560         * iconvdata/Makefile (iconv-test.out): Pass module list to test
14561         script.
14562         * iconvdata/run-iconv-test.sh: New test loop for checking for
14563         decoder crashers.
14565 2014-09-02  Khem Raj  <raj.khem@gmail.com>
14567         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
14568         libm_hidden_ver.
14570 2014-09-01  Allan McRae  <allan@archlinux.org>
14572         * po/eo.po: Update Esperanto translation from translation project.
14574         * po/ca.po: Update Catalan translation from translation project.
14576 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14578         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
14579         __proc_dostop call.
14581 2014-08-27  Mark Wielaard  <mjw@redhat.com>
14583         [BZ #17319]
14584         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
14585         to call set_thread_area instead of hand written asm.
14586         (__NR_set_thread_area): Removed define.
14587         (TLS_FLAG_WRITABLE): Likewise.
14588         (__ASSUME_SET_THREAD_AREA): Remove check.
14589         (TLS_EBX_ARG): Remove define.
14590         (TLS_LOAD_EBX): Likewise.
14592 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14594         Simplify atomicity of socket creation in bind.
14596         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
14597         looking up the name after linking the file.
14599 2014-08-27  Allan McRae  <allan@archlinux.org>
14601         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14603 2014-08-26  Florian Weimer  <fweimer@redhat.com>
14605         [BZ #17187]
14606         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
14607         trans_compare, open_translit, __gconv_translit_find):
14608         Remove module loading code.
14610 2014-08-26  Allan McRae  <allan@archlinux.org>
14612         * po/vi.po: Update Vietnamese translation from translation project.
14614         * po/uk.po: Update Ukrainian translation from translation project.
14616         * po/fr.po: Update French translation from translation project.
14618         * po/ru.po: Update Russian translation from translation project.
14620         * po/pl.po: Update Polish translation from translation project.
14622         * po/cs.po: Update Czech translation from translation project.
14624         * po/de.po: Update German translation from translation project.
14626         * po/bg.po: Update Bulgarian translation from translation project.
14628         * po/sv.po: Update Sweedish translation from translation project.
14630         * po/nl.po: Update Dutch translation from translation project.
14632         * po/es.po: Update Spanish translation from translation project.
14634 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14636         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
14638         * catgets/Makefile (CPPFLAGS-gencat): Remove.
14639         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
14640         (CPPFLAGS-iconvconfig): Likewise.
14641         * timezone/Makefile (CPPFLAGS-zic): Likewise.
14643         * include/libc-symbols.h: Remove unnecessary check for
14644         NOT_IN_libc.
14645         * nptl/pthreadP.h: Likewise.
14646         * sysdeps/aarch64/setjmp.S: Likewise.
14647         * sysdeps/alpha/setjmp.S: Likewise.
14648         * sysdeps/arm/sysdep.h: Likewise.
14649         * sysdeps/i386/setjmp.S: Likewise.
14650         * sysdeps/m68k/setjmp.c: Likewise.
14651         * sysdeps/posix/getcwd.c: Likewise.
14652         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14653         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
14654         * sysdeps/s390/s390-32/setjmp.S: Likewise.
14655         * sysdeps/s390/s390-64/setjmp.S: Likewise.
14656         * sysdeps/sh/sh3/setjmp.S: Likewise.
14657         * sysdeps/sh/sh4/setjmp.S: Likewise.
14658         * sysdeps/unix/alpha/sysdep.h: Likewise.
14659         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
14660         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14661         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
14662         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
14663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
14664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14665         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14666         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14667         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14668         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14669         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14670         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
14671         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14672         * sysdeps/x86_64/setjmp.S: Likewise.
14674 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
14676         [BZ #17263]
14677         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
14678         <stdint.h>.
14679         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
14680         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
14682 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14684         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
14686         [BZ #17262]
14687         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
14688         and __x86_64__ when disabling x87 inline functions.
14690 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
14692         [BZ #17259]
14693         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
14694         asm statement with __cpuid_count.
14696 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
14698         * configure.ac: Change __ehdr_start code to dereference the struct.
14699         Run readelf on the output to look for relocations.
14700         * configure: Regenerated.
14702 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
14704         [BZ #17261]
14705         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
14706         value to 0.
14707         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
14709 2014-08-12  Roland McGrath  <roland@hack.frob.com>
14711         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
14713 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
14715         [BZ #16892]
14716         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
14717         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
14719 2014-08-12  Sean Anderson  <seanga2@gmail.com>
14721         * malloc/malloc.c: Fix typo in comment.
14723 2014-08-09  Allan McRae  <allan@archlinux.org>
14725         * Regenerate libc.po.
14727 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
14729         * intl/tst-gettext2.sh: Check every lang file for creation.
14731 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
14733         * sysdeps/aarch64/fpu/math_private.h
14734         (libc_feholdsetround_noex_aarch64_ctx): New function.
14736 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
14738         * sysdeps/arm/armv6/strcpy.S (strcpy):
14739         Fix performance issue in misaligned cases.
14741 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14743         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
14744         Move definition from termios.h.
14745         (struct termio): Likewise.
14746         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14747         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
14748         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
14749         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
14750         Likewise.
14751         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
14752         Move definition to ioctl-types.h
14753         (struct termio): Likewise.
14754         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14755         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
14756         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
14757         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
14758         Likewise.
14760 2014-08-05  Richard Henderson  <rth@redhat.com>
14762         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
14763         exceptions.
14764         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
14765         Add fraiseexcpt.
14766         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
14767         Use __feraiseexcept.
14768         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
14769         Protect libm symbols with IS_IN_libm.
14771         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
14773 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
14775         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
14777 2014-08-04  Will Newton  <will.newton@linaro.org>
14779         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
14780         file.
14782 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
14784         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
14785         variants for each function.
14787 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14789         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
14790         appended ...
14791         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
14792         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
14793         appended ...
14794         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
14795         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
14796         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
14797         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
14798         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
14799         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
14800         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
14801         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
14802         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
14803         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
14804         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
14805         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
14806         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
14807         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
14808         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
14809         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
14810         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
14811         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
14812         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
14813         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
14814         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
14815         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
14816         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
14817         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
14818         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
14819         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
14820         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
14821         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
14822         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
14823         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
14824         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
14825         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
14826         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
14827         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
14828         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
14829         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
14830         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
14831         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
14832         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
14833         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
14834         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
14835         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
14836         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
14837         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
14838         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
14839         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
14840         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
14841         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
14842         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
14843         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
14844         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
14845         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
14846         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
14847         Update #include.
14848         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
14849         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
14851 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14853         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
14854         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
14855         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
14856         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
14857         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
14858         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
14860 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14862         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
14863         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
14864         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14865         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
14867 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14869         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
14870         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
14871         (__libc_vfork): Define function under this name.
14872         (__vfork): Define as an alias.
14873         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
14874         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
14876 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14878         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
14879         that was previously under [RESET_PID].
14880         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
14882 2014-08-04  Andreas Schwab  <schwab@suse.de>
14884         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
14886 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
14888         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
14889         (main): Likewise.
14891 2014-08-01  Roland McGrath  <roland@hack.frob.com>
14893         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
14895 2014-08-01  Richard Henderon  <rth@redhat.com>
14897         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
14898         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
14899         typo in exact zero test.
14900         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14901         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14902         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14904 2014-08-01  Roland McGrath  <roland@hack.frob.com>
14906         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
14907         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
14908         * sysdeps/arm/sysdep.h: ... here.
14909         [!__ASSEMBLER__]: Include <stdint.h>.
14911 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
14913         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
14914         (HAVE_WCTYPE_H): Likewise.
14915         (HAVE_ISWCTYPE): Likewise.
14916         (ENABLE_NLS): Likewise.
14917         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
14918         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
14920         * posix/regex_internal.c: Check if DEBUG is defined and is
14921         set.
14923         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
14924         (HAVE_MBSRTOWCS): Likewise.
14925         * posix/fnmatch.c: Include string.h unconditionally.
14927 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
14929         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
14930         reversal.
14932 2014-07-31  Roland McGrath  <roland@hack.frob.com>
14934         * sysdeps/generic/safe-fatal.h: New file.
14935         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
14936         * nptl/forward.c: Include it.
14937         (__pthread_unwind): Use __safe_fatal as default action, rather
14938         than a bogus use of INTERNAL_SYSCALL that could never work.
14940         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
14941         * configure.ac (libc_cv_builtin_trap): New test.
14942         * configure: Regenerated.
14943         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
14944         (ABORT_INSTRUCTION): Define using __builtin_trap.
14946         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
14947         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
14948         * sysdeps/nptl/nptl-signals.h: New file.
14949         * nptl/pthreadP.h: Include <nptl-signals.h>.
14951 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14953         * sysdeps/s390/s390-64/utf16-utf32-z9.c
14954         (ONE_DIRECTION): Define.
14955         * sysdeps/s390/s390-64/utf8-utf16-z9.c
14956         (ONE_DIRECTION): Define.
14957         * sysdeps/s390/s390-64/utf8-utf32-z9.c
14958         (ONE_DIRECTION): Define.
14960 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14962         * sysdeps/s390/Makefile: Delete file.
14963         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
14964         * sysdeps/s390/__longjmp.c: Delete file.
14965         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
14966         Remove fields __flags and __reserved.
14967         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
14968         and add versioning.
14969         * sysdeps/s390/rtld-__longjmp.c: Delete file.
14970         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
14971         * sysdeps/s390/rtld-setjmp.S: Likewise.
14972         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
14973         * sysdeps/s390/s390-32/__longjmp.c: ... here.
14974         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
14975         * sysdeps/s390/s390-32/setjmp.S: ... here.
14976         Add versioning.
14977         (__sigsetjmp): Remove setting __flags field.
14978         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
14979         * sysdeps/s390/s390-64/__longjmp.c: ... here.
14980         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
14981         * sysdeps/s390/s390-64/setjmp.S: ... here.
14982         Add versioning.
14983         (__sigsetjmp): Remove setting __flags field.
14984         * sysdeps/s390/setjmp.S: Delete file.
14985         * sysdeps/s390/sigjmp.c: Likewise.
14986         * sysdeps/s390/v1-longjmp.c: Likewise.
14987         * sysdeps/s390/v1-setjmp.h: Likewise.
14988         * sysdeps/s390/v1-sigjmp.c: Likewise.
14989         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
14990         Remove v1-longjmp_chk.
14991         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
14992         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
14993         Include debug/longjmp_chk.c and add versioning.
14994         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
14995         Include nptl/pt-longjmp.c and add versioning.
14996         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
14997         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
14998         Include __longjmp.c.
14999         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
15000         Move to ...
15001         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
15002         (__getcontext): Remove setting __flags field.
15003         Add versioning.
15004         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
15005         Don't restore upper high grps.
15006         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
15007         Likewise.
15008         (__swapcontext): Remove setting uc_flags field.
15009         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
15010         Delete file.
15011         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
15012         Include __longjmp.c.
15013         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
15014         Move to ...
15015         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
15016         (__getcontext): Remove setting __flags field.
15017         Add versioning.
15018         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
15019         (__swapcontext): Remove setting uc_flags field.
15020         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
15021         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
15022         Remove fields uc_high_gprs and __reserved.
15023         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
15024         New file with reverted content.
15025         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
15026         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
15027         Regenerated.
15028         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
15029         Regenerated.
15031 2014-07-31  Andreas Schwab  <schwab@suse.de>
15033         * config.h.in (HAVE_IFUNC): Define to 0.
15034         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
15035         definedness.
15037 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
15039         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15040         memmove-avx-unaligned, memcpy-avx-unaligned and
15041         mempcpy-avx-unaligned.
15042         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15043         Add tests for AVX memcpy functions.
15044         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
15045         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
15046         memcpy_chk.
15047         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
15048         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
15049         memmove_chk.
15050         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
15051         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
15052         mempcpy_chk.
15053         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
15054         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
15055         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
15057 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15059         [BZ #17213]
15060         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
15061         powerpc64le.
15063 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
15065         [BZ #16839]
15066         * manual/llio.texi: Add section about open file description locks.
15067         * manual/examples/ofdlocks.c: Example of open file description
15068         lock usage.
15069         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
15070         F_OFD_SETLK, and F_OFD_SETLKW.
15072 2014-07-23  Allan McRae  <allan@archlinux.org>
15074         * po/es.po: Update Spanish translation from translation project.
15076 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
15078         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
15080 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
15082         [BZ #17078]
15083         * sysdeps/arm/dl-machine.h (elf_machine_rela)
15084         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
15085         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
15087 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
15089         [BZ #17088]
15090         * math/fesetenv.c (__fesetenv)
15091         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
15092         * math/feupdateenv.c (__feupdateenv)
15093         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
15095         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
15096         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
15097         (__ASSUME_SOCKETCALL): Do not define.
15099         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
15100         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
15101         (__ASSUME_SOCKETCALL): Do not define.
15102         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
15103         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
15104         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15105         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
15106         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15107         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
15108         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15109         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15111         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
15112         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
15113         (__ASSUME_SOCKETCALL): Do not define.
15114         (__ASSUME_IPC64): Define unconditionally.
15115         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
15116         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15117         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
15118         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15119         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
15120         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15121         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
15122         Likewise.
15124         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
15125         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
15126         (__ASSUME_SOCKETCALL): Do not define.
15127         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
15128         (__ASSUME_FUTEX_LOCK_PI): Likewise.
15129         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15130         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
15131         (__ASSUME_REQUEUE_PI): Define unconditionally.
15132         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
15133         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
15134         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15135         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
15136         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15137         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15139         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
15140         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
15141         (__ASSUME_SOCKETCALL): Do not define.
15142         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
15143         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15144         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15145         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
15146         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15147         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15149         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
15150         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
15151         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15152         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
15153         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15154         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
15155         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15156         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
15157         (__ASSUME_GETCPU_SYSCALL): Likewise.
15159         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
15160         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
15161         cases for individual architectures.
15162         * sysdeps/gnu/configure: Regenerated.
15163         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
15164         LIBC_SLIBDIR_RTLDDIR.
15165         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
15166         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
15167         LIBC_SLIBDIR_RTLDDIR.
15168         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
15169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
15170         LIBC_SLIBDIR_RTLDDIR.
15171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
15172         Regenerated.
15173         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
15174         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
15175         file.
15176         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
15177         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
15178         file.
15179         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
15180         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
15181         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
15182         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
15184         * sysdeps/aarch64/shlib-versions: Move to ...
15185         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
15186         * sysdeps/alpha/shlib-versions: Move to ...
15187         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
15188         * sysdeps/arm/shlib-versions: Move to ...
15189         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
15190         * sysdeps/hppa/shlib-versions: Move all contents except for
15191         libgcc_s entry to ...
15192         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
15193         entry from ...
15194         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
15195         * sysdeps/ia64/shlib-versions: Move to ...
15196         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
15197         entry from ...
15198         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
15199         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
15200         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
15201         * sysdeps/microblaze/shlib-versions: Move to ...
15202         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
15203         * sysdeps/mips/shlib-versions: Move to ...
15204         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
15205         entry from ...
15206         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
15207         * sysdeps/tile/shlib-versions: Move to ...
15208         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
15209         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
15210         from ...
15211         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
15212         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
15213         entry from ...
15214         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
15216 2014-07-17  Will Newton  <will.newton@linaro.org>
15218         * sysdeps/arm/bits/atomic.h
15219         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
15220         (__arch_compare_and_exchange_bool_16_int): Likewise.
15221         (__arch_compare_and_exchange_bool_64_int): Likewise.
15223         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
15224         into an #else block.
15226 2014-07-16  Roland McGrath  <roland@hack.frob.com>
15228         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
15229         just Linux configurations.  Test empirically that the compiler sets
15230         __ARM_EABI__, rather than using the tuple to decide.
15231         * sysdeps/arm/preconfigure: Regenerated.
15232         * sysdeps/unix/sysv/linux/arm/configure: File removed.
15233         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
15234         contents appended ...
15235         * sysdeps/arm/configure.ac: ... here.
15236         * sysdeps/arm/configure: Regenerated.
15238 2014-07-15  Roland McGrath  <roland@hack.frob.com>
15240         * nptl/pthread_kill.c: New file.
15241         * nptl/pthread_sigmask.c: New file.
15242         * nptl/pthread_sigqueue.c: New file.
15244         * sysdeps/nptl/lowlevellock.h: New file.
15245         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
15246         * sysdeps/nptl/lowlevellock-futex.h: New file.
15248         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
15249         Remove dead declarations.
15251 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
15253         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
15254         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
15255         config-cflags-avx2.
15256         * sysdeps/x86_64/configure.ac: Likewise.
15257         * sysdeps/i386/configure: Regenerated.
15258         * sysdeps/x86_64/configure: Likewise.
15259         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15260         memset-avx2 only if config-cflags-avx2 is yes.
15261         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15262         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
15263         defined.
15264         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
15265         only if HAVE_AVX2_SUPPORT is defined.
15266         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15268 2014-07-14  Alan Modra  <amodra@gmail.com>
15270         [BZ #17153]
15271         * elf/elf.h (DT_PPC64_NUM): Correct value.
15272         * NEWS: Add to fixed bug list.
15274 2014-07-13  Jim Meyering  <meyering@fb.com>
15276         [BZ 17150]
15277         regex: don't deref NULL upon heap allocation failure
15278         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
15279         failure in one more place.
15280         To trigger the segfault, configure grep -with-included-regex,
15281         build it, and run these commands:
15282         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
15284 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
15286         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15288 2014-07-11  Richard Henderson  <rth@redhat.com>
15290         * sysdeps/aarch64/libm-test-ulps: Update.
15292 2014-07-10  Florian Weimer  <fweimer@redhat.com>
15294         [BZ #17135]
15295         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
15296         * nptl/allocatestack.c (__nptl_setxid_error): New function.
15297         (__nptl_setxid): Initialize error member.  Call
15298         __nptl_setxid_error.
15299         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
15300         * nptl/descr.h (struct xid_command): Add error member.
15301         * nptl/tst-setuid3.c: New file.
15302         * nptl/Makefile (tests): Add it.
15304 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15306         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
15307         New define.
15308         (__lll_trylock): Use __lll_base_trylock.
15309         (__lll_cond_trylock): Likewise.
15311 2014-07-10  Roland McGrath  <roland@hack.frob.com>
15313         * nptl/pthread_create.c (start_thread): Use atomic_or and
15314         lll_futex_wake directly rather than lll_robust_dead.
15315         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
15316         (lll_robust_dead): Macro removed.
15317         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
15318         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
15319         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
15320         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
15321         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
15322         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
15323         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
15324         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
15325         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
15326         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
15327         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
15328         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
15329         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
15330         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
15331         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
15333         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
15334         Use atomic_compare_and_exchange_val_acq directly rather than
15335         lll_robust_trylock.
15336         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
15337         (__lll_robust_trylock, lll_robust_trylock): Removed.
15338         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
15339         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
15340         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
15341         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
15342         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
15343         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
15344         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
15345         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
15346         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
15347         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
15348         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
15349         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
15350         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
15351         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
15353 2014-07-02  Florian Weimer  <fweimer@redhat.com>
15355         * manual/locale.texi (Locale Names): New section documenting
15356         locale name syntax.  Adjust menu and node chaining accordingly.
15357         (Choosing Locale): Reference Locale Names, Locale Categories.
15358         Mention setting LC_ALL=C.  Reflect that name syntax is now
15359         documented.
15360         (Locale Categories): New section title.  Reference Locale Names.
15361         LC_ALL is an environment variable, but not a category.
15362         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
15363         description, now in Locale Name.  Reference that section.  Locale
15364         name syntax is now documented.
15366 2014-07-02  Florian Weimer  <fweimer@redhat.com>
15368         [BZ #17137]
15369         * locale/findlocale.c (name_present, valid_locale_name): New
15370         functions.
15371         (_nl_find_locale): Use the loc_name variable to store name
15372         candidates.  Call name_present and valid_locale_name to check and
15373         validate locale names.  Return an error if the locale is invalid.
15375 2014-07-02  Florian Weimer  <fweimer@redhat.com>
15377         * locale/setlocale.c (setlocale): Use strdup for allocating
15378         composite name copy.
15380 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15382         Sync up with gnulib.
15383         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
15384         [!_LIBC && ENABLE_NLS]: Include gettext.h.
15385         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
15386         and _GL_ARG_NONNULL.
15387         [USE_UNLOCKED_IO]: Include unlocked-io.h.
15388         [!_LIBC]: Include code for Windows and Cygwin.
15389         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
15390         Include prototype for int strerror_r.
15391         [!_LIBC] (is_open): New function.
15392         (flush_stdout): New function.
15393         (print_errno_message): Use it.
15394         (error): Likewise.
15395         (error_at_line): Likewise.
15396         (error_tail) Add function attribute macros.  Use
15397         __builtin_expect.
15399         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
15401         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
15403         * io/ftw.c: Include sys/param.h unconditionally.
15405         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
15407         [BZ #17125]
15408         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
15409         libc_freeres_ptr.
15410         (freecache): New function to free CACHE on exit.
15412         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
15413         initialization.
15415 2014-07-09  David S. Miller  <davem@davemloft.net>
15417         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15419         * sysdeps/sparc/nptl/internaltypes.h: Delete.
15420         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
15421         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
15422         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
15423         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
15424         * sysdeps/sparc/nptl/sem_init.c: Likewise.
15425         * sysdeps/sparc/nptl/sem_post.c: Likewise.
15426         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
15427         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
15428         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
15429         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
15430         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
15431         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
15433 2014-07-09  Andreas Schwab  <schwab@suse.de>
15435         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
15436         output.
15437         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
15438         (do_test): Likewise.
15440         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
15442 2014-07-09  Will Newton  <will.newton@linaro.org>
15444         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
15445         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
15446         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
15447         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
15448         * sysdeps/hppa/start.S (_start): Likewise.
15450 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
15452         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
15454         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
15455         defined.
15457 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15459         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
15460         after checking that it is non-NULL.
15462         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
15464 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15466         * sysdeps/powerpc/memmove.c: Remove file.
15467         * sysdeps/powerpc/powerpc32/power4/memcopy.h
15468         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
15469         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
15470         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
15471         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
15472         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
15473         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
15474         string memmove instead of removed powerpc one.
15476         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
15477         [weak_alias]: Fix compiler warning due trailing data.
15478         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
15479         [weak_alias]: Likewise.
15480         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
15481         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
15483         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15484         (__libc_ifunc_impl_list): Add memmove functions.
15486 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15488         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
15489         Remove code.
15490         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
15491         Likewise
15492         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
15493         Likewise
15494         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
15495         Likewise
15496         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
15497         Likewise
15498         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
15499         Likewise
15500         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
15501         Likewise
15502         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
15503         Likewise
15504         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
15505         Likewise
15506         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
15507         Likewise
15508         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
15509         Likewise
15510         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
15511         Likewise
15512         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
15513         Likewise
15514         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
15515         Likewise
15516         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
15517         Likewise
15518         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
15519         Likewise
15520         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
15521         Likewise
15523 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15525         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
15526         to avoid alignment traps in non-cacheable memory.
15527         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15529         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
15530         multiarch objects.
15531         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
15532         file: multiarch power7 memmove.
15533         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
15534         multiarch default memmove.
15535         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
15536         multiarch memove for powerpc32/power4.
15538         * string/bcopy.c: Use full path to include memmove.c.
15539         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
15540         multiarch objects.
15541         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
15542         bcopy for powerpc64.
15543         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
15544         bcopy for powerpc64.
15545         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
15546         and memmove implementations.
15547         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
15548         optimized multiarch memmove for POWER7/powerpc64.
15549         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
15550         default multiarch memmove for powerpc64.
15551         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
15552         multiarch for powerpc64.
15553         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
15554         for POWER7/powerpc64.
15555         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
15556         memmove for POWER7/powerpc64.
15558         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
15559         glibc default one.
15561         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
15562         __ELF_NATIVE_CLASS equal to 64.
15564 2014-07-07  Roland McGrath  <roland@hack.frob.com>
15566         * sysdeps/nptl/lowlevellock.h: File removed.
15568         * NEWS: NPTL is no longer an add-on!
15569         * nptl/internaltypes.h: Moved ...
15570         * sysdeps/nptl/internaltypes.h: ... here.
15571         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
15572         * sysdeps/nptl/fork.c: Likewise.
15573         * sysdeps/nptl/gai_misc.h: Likewise.
15574         * sysdeps/nptl/librt-cancellation.c: Likewise.
15575         * sysdeps/nptl/jmp-unwind.c: Likewise.
15576         * sysdeps/nptl/setxid.h: Likewise.
15577         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
15578         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
15579         * sysdeps/unix/sysv/linux/arm/Implies: New file.
15580         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
15581         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
15582         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
15583         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
15584         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
15585         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
15586         * sysdeps/unix/sysv/linux/mips/Implies: New file.
15587         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
15588         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
15589         * sysdeps/unix/sysv/linux/sh/Implies: New file.
15590         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
15591         * sysdeps/unix/sysv/linux/tile/Implies: New file.
15592         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
15593         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
15594         * nptl/Makeconfig: Moved ...
15595         * sysdeps/nptl/Makeconfig: ... here.
15596         * nptl/configure: File removed.
15597         * nptl/ANNOUNCE: File removed.
15598         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
15599         * sysdeps/unix/sysv/linux/configure: Regenerated.
15601         * nptl/Makefile (routines): Add libc_pthread_init,
15602         libc_multiple_threads, register-atfork and unregister-atfork.
15603         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
15604         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
15605         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
15606         pthread-pi-defines.sym, structsem.sym.
15607         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
15608         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
15609         [$(subdir) = nptl] (tests): Add tst-setgetname.
15610         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
15611         * sysdeps/unix/sysv/linux/sigaction.c: Just include
15612         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
15613         [!LIBC_SIGACTION]: Remove aliases.
15614         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
15615         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15616         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15617         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
15618         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15619         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
15620         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15621         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15622         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15623         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
15624         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
15625         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
15626         __libc_allocate_rtsig_private.
15627         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
15628         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
15629         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
15630         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
15631         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
15632         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
15633         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
15634         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
15635         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
15636         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
15637         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
15638         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
15639         * nptl/internaltypes.h: ... here.
15640         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
15641         * sysdeps/nptl/jmp-unwind.c: ... here.
15642         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
15643         * nptl/libc-lowlevellock.c: ... here.
15644         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
15645         * nptl/libc_multiple_threads.c: ... here.
15646         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
15647         * nptl/libc_pthread_init.c: ... here.
15648         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
15649         * nptl/lowlevelbarrier.sym: ... here.
15650         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
15651         * nptl/lowlevelcond.sym: ... here.
15652         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
15653         * nptl/lowlevellock.c: ... here.
15654         * nptl/lowlevellock.h: Moved ...
15655         * sysdeps/nptl/lowlevellock.h: ... here.
15656         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
15657         * nptl/lowlevelrobustlock.c: ... here.
15658         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
15659         * nptl/lowlevelrobustlock.sym: ... here.
15660         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
15661         * nptl/lowlevelrwlock.sym: ... here.
15662         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
15663         * nptl/pt-fork.c: ... here.
15664         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
15665         * nptl/pthread-pi-defines.sym: ... here.
15666         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
15667         * nptl/pthread_attr_getaffinity.c: ... here.
15668         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
15669         * nptl/pthread_attr_setaffinity.c: ... here.
15670         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
15671         * nptl/pthread_mutex_cond_lock.c: ... here.
15672         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
15673         Update #include.
15674         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
15675         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
15676         * nptl/pthread_once.c: ... here, replacing old file.
15677         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
15678         * nptl/pthread_yield.c: ... here.
15679         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
15680         * nptl/register-atfork.c: ... here.
15681         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
15682         * nptl/sem_post.c: ... here.
15683         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
15684         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
15685         * nptl/sem_timedwait.c: ... here.
15686         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
15687         * nptl/sem_trywait.c: ... here.
15688         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
15689         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
15690         * nptl/sem_wait.c: ... here.
15691         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
15692         * nptl/structsem.sym: ... here.
15693         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
15694         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
15695         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
15696         * nptl/unregister-atfork.c: ... here.
15697         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
15698         * nptl/unwindbuf.sym: ... here.
15699         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
15700         * sysdeps/nptl/fork.c: ... here.
15701         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
15702         * sysdeps/nptl/fork.h: ... here.
15703         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
15704         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
15705         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
15706         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
15707         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
15708         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
15709         * sysdeps/unix/sysv/linux/getpid.c: ... here.
15710         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
15711         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
15712         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
15713         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
15714         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
15715         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
15716         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
15717         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
15718         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
15719         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
15720         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
15721         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
15722         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
15723         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
15724         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
15725         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
15726         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
15727         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
15728         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
15729         * sysdeps/unix/sysv/linux/raise.c: ... here.
15730         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
15731         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
15732         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
15733         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
15734         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
15735         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
15736         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
15737         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
15738         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
15739         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
15740         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
15741         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
15742         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
15743         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
15744         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
15746 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15748         * sysdeps/generic/memcopy.h: Add comment for
15749         MEMCPY_OK_FOR_FWD_MEMMOVE.
15751 2014-07-04  Will Newton  <will.newton@linaro.org>
15753         * string/memchr.c: Merge from gnulib.
15754         [_LIBC]: Remove conditionals.
15755         (__ptr_t): Remove define.
15756         (LONG_MAX_32_BITS): Likewise.
15757         (LONG_MAX): Likewise.
15758         (MEMCHR): Use ANSI prototype and optimize algorithm.
15760         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
15762 2014-07-03  Roland McGrath  <roland@hack.frob.com>
15764         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
15765         (lll_futex_timed_wait_bitset): Fix syscall argument count.
15767         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
15768         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
15769         in a bare environment with no <stdlib.h> installed.
15770         * sysdeps/nptl/configure: Regenerated.
15772         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
15774         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
15775         AC_EGREP_CPP for kernel header checks, so they only succeed if
15776         including <linux/version.h> actually works right.
15777         * sysdeps/unix/sysv/linux/configure: Regenerated.
15779         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
15780         value so it's not diagnosed as unused.
15782         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
15783         thing) with "ifeq ($(subdir),rt)".
15785 2014-07-03  Richard Henderson  <rth@redhat.com>
15787         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
15788         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
15789         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
15791         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
15792         (math_force_eval): New.
15794         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
15795         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
15797         * sysdeps/alpha/fpu/s_round.c: Remove file.
15798         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
15800         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
15801         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
15802         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
15803         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
15804         (_dl_start, print_statistics): Likewise.
15805         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
15806         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
15808         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15809         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15810         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15811         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15812         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15813         (HP_SMALL_TIMING_AVAIL): Define.
15814         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15815         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
15816         (HP_SMALL_TIMING_AVAIL): Define.
15817         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15818         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15820         * sysdeps/aarch64/hp-timing.h: New file.
15822         * sysdeps/generic/hp-timing.h: Remove dead comment.
15823         * sysdeps/generic/hp-timing-common.h: New file.
15824         * sysdeps/alpha/hp-timing.h: Include it.
15825         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
15826         * sysdeps/i386/i686/hp-timing.h: Likewise.
15827         * sysdeps/ia64/hp-timing.h: Likewise.
15828         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15829         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15830         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15831         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15832         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
15833         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
15834         (hp_timing_t): New.
15836         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
15837         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
15838         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
15839         * elf/rtld.c (_dl_start_final): Likewise.
15840         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
15841         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15842         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15843         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15844         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15845         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15846         (HP_TIMING_DIFF_INIT): Remove.
15847         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15848         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
15849         (HP_TIMING_DIFF_INIT): Remove.
15850         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15851         * sysdeps/i386/i686/hp-timing.c: Remove file.
15852         * sysdeps/x86_64/hp-timing.c: Remove file.
15853         * sysdeps/ia64/hp-timing.c: Remove file.
15854         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
15855         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
15856         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
15857         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
15859         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
15860         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
15861         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
15862         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15863         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15864         (HP_TIMING_ACCUM): Remove.
15865         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15866         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
15867         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15869         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
15870         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
15871         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
15872         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
15873         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
15874         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
15875         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
15876         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
15878         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
15880 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
15882         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
15884 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15886         Sync up with gettext.
15887         * intl/loadmsgcat.c: Define O_BINARY if not defined.
15888         [_MSC_VER]: Include malloc.h
15889         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
15890         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
15891         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
15892         TEMP_FAILURE_RETRY.  Cast return of alloca.
15893         [!_LIBC] Call gl_rwlock_init.
15894         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
15896 2014-07-02  Roland McGrath  <roland@hack.frob.com>
15898         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
15899         before checking its value.
15901 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15903         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
15905         * debug/memcpy_chk.c: Don't include pagecopy.h.
15906         * debug/mempcpy_chk.c: Likewise.
15907         * string/memcpy.c: Likewise.
15908         * string/memmove.c: Likewise.
15909         * sysdeps/powerpc/memmove.c: Likewise.
15910         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
15911         definition of PAGE_COPY_FWD_MAYBE here...
15912         * sysdeps/generic/pagecopy.h: ... from here.
15913         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
15915 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15916             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15918         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
15919         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
15920         optimizations.
15921         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15922         (__libc_ifunc_impl_list): Likewise.
15923         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
15924         multiarch strcat for PPC64.
15925         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
15926         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
15928 2014-07-02  Roland McGrath  <roland@hack.frob.com>
15930         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
15932 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15934         * intl/loadmsgcat.c: Remove declaration of
15935         get_sysdep_segment_value.
15936         (get_sysdep_segment_value): Use ISO C style.
15937         (_nl_load_domain): Use ISO C style.  Get rid of redundant
15938         semicolon.  Fix typo and formatting in comment.
15939         (_nl_unload_domain): Use ISO C style.
15941         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
15943 2014-07-02  Will Newton  <will.newton@linaro.org>
15945         * malloc/obstack.c: Merge from gnulib master.
15946         [HAVE_CONFIG_H]: Remove conditional code.
15947         [!_LIBC]: Include config.h.
15948         [!ELIDE_CODE]: Don't include inttypes.h, include
15949         stdint.h unconditionally.
15950         (print_and_abort): Mark as _Noreturn.
15951         (_obstack_allocated_p): Mark as __attribute_pure__.
15952         (obstack_free): Rename to __obstack_free.
15953         [!__attribute__]: Remove conditional code.
15954         * malloc/obstack.h: Merge from gnulib master.
15955         [__cplusplus]: Move conditional down.
15956         [!__attribute_pure__]: Define __attribute_pure__ here
15957         if it is not already defined.
15958         (_obstack_memory_used): Mark as __attribute_pure__.
15959         [!__obstack_free]: Define as obstack_free.
15960         [__GNUC__]: Remove check for ancient NeXT gcc.
15962 2014-07-02  Will Newton  <will.newton@linaro.org>
15963             Paul Eggert  <eggert@cs.ucla.edu>
15965         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
15967 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15969         * resolv/gethnamaddr.c: Add comment warning that the file is
15970         not maintained.
15972 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
15974         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
15975         entries.
15977         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
15978         entry for aio_cancel and aio_cancel64.
15979         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
15980         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
15981         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
15982         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
15983         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
15984         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
15985         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
15986         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
15987         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
15988         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
15989         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
15990         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
15991         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
15993 2014-07-01  Roland McGrath  <roland@hack.frob.com>
15995         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
15996         * nptl/pthread_mutex_lock.c: Likewise.
15997         * nptl/pthread_mutex_timedlock.c: Likewise.
15998         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
16000 2014-07-01  Richard henderson  <rth@redhat.com>
16002         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
16003         (__isnan, __isnanl): Remove.
16004         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
16006         * sysdeps/alpha/fpu/libm-test-ulps: Update.
16008 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
16010         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16012 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
16014         * resolv/nss_dns/dns-host.c (getanswer_r)
16015         [MULTI_PTRS_ARE_ALIASES]: Remove code.
16017 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
16019         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16020         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
16021         undefine.
16022         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
16023         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
16025 2014-07-01  Roland McGrath <roland@hack.frob.com>
16027         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
16028         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
16030         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
16031         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
16033         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
16034         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
16035         ... here.
16036         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
16037         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
16039         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
16040         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
16041         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
16042         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
16044         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
16045         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
16046         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
16047         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
16048         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
16049         Moved ...
16050         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
16051         ... here.
16052         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
16053         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
16054         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
16055         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
16056         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
16057         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
16058         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
16059         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
16060         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
16061         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
16062         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
16063         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
16064         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
16065         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
16066         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
16067         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
16068         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
16069         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
16070         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
16071         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
16072         ... here.
16073         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
16074         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
16075         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
16076         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
16077         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
16078         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
16079         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
16080         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
16082 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
16084         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
16085         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
16086         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
16087         Add sysdep.
16089 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16091         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16093 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
16095         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
16096         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16098         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16100         * sysdeps/arm/libm-test-ulps: Regenerated.
16102 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
16103             Roland McGrath <roland@hack.frob.com>
16105         * test-skeleton.c (signal_handler): Kill the whole process group
16106         before killing the child individually.
16107         (main): Report any failure on `setpgid'.
16109 2014-06-30  Roland McGrath  <roland@hack.frob.com>
16111         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
16112         from _TLS_H to _ARM_NPTL_TLS_H.
16113         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
16114         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
16116 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
16118         [BZ #16539]
16119         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
16120         (__expm1l): Return argument unchanged when small but not
16121         subnormal.
16123         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
16124         include macro name.
16125         (_FP_UNPACK_RAW_1_P): Likewise.
16126         (_FP_PACK_RAW_1): Likewise.
16127         (_FP_PACK_RAW_1_P): Likewise.
16128         (_FP_MUL_MEAT_1_wide): Likewise.
16129         (_FP_MUL_MEAT_DW_1_hard): Likewise.
16130         (_FP_MUL_MEAT_1_hard): Likewise.
16131         (_FP_DIV_MEAT_1_imm): Likewise.
16132         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
16133         (_FP_DIV_MEAT_1_udiv): Likewise.
16134         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
16135         (_FP_UNPACK_RAW_2): Likewise.
16136         (_FP_UNPACK_RAW_2_P): Likewise.
16137         (_FP_PACK_RAW_2): Likewise.
16138         (_FP_PACK_RAW_2_P): Likewise.
16139         (_FP_MUL_MEAT_DW_2_wide): Likewise.
16140         (_FP_MUL_MEAT_2_wide): Likewise.
16141         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
16142         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
16143         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
16144         (_FP_MUL_MEAT_2_gmp): Likewise.
16145         (_FP_DIV_MEAT_2_udiv): Likewise.
16146         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
16147         (_FP_FRAC_SRL_4): Likewise.
16148         (_FP_FRAC_SRST_4): Likewise.
16149         (_FP_FRAC_SRS_4): Likewise.
16150         (_FP_UNPACK_RAW_4): Likewise.
16151         (_FP_UNPACK_RAW_4_P): Likewise.
16152         (_FP_PACK_RAW_4): Likewise.
16153         (_FP_PACK_RAW_4_P): Likewise.
16154         (_FP_MUL_MEAT_DW_4_wide): Likewise.
16155         (_FP_MUL_MEAT_4_wide): Likewise.
16156         (_FP_MUL_MEAT_4_gmp): Likewise.
16157         (umul_ppppmnnn): Likewise.
16158         (_FP_DIV_MEAT_4_udiv): Likewise.
16159         (__FP_FRAC_ADD_4): Likewise.
16160         (__FP_FRAC_SUB_3): Likewise.
16161         (__FP_FRAC_SUB_4): Likewise.
16162         (__FP_FRAC_DEC_3): Likewise.
16163         (__FP_FRAC_DEC_4): Likewise.
16164         (__FP_FRAC_ADDI_4): Likewise.
16165         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
16166         (_FP_FRAC_SRL_8): Likewise.
16167         (_FP_FRAC_SRS_8): Likewise.
16169         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
16170         include macro name.
16171         (FP_UNPACK_RAW_EP): Likewise.
16172         (FP_PACK_RAW_E): Likewise.
16173         (FP_PACK_RAW_EP): Likewise.
16174         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
16175         (_FP_ISSIGNAN): Likewise.
16176         (_FP_ADD_INTERNAL): Likewise.
16177         (_FP_FMA): Likewise.
16178         (_FP_CMP): Likewise.
16179         (_FP_SQRT): Likewise.
16180         (_FP_TO_INT): Likewise.
16181         (_FP_FROM_INT): Likewise.
16182         (FP_EXTEND): Likewise.
16183         (_FP_DIV_MEAT_N_loop): Likewise.
16185 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
16187         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
16188         throughout.
16190 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
16192         [BZ #17097]
16193         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
16194         result with correct sign in case of exponents that produce
16195         overflow except for X very close to 1.
16197 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
16199         mktime: merge #if/#ifdef usage from glibc
16200         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
16201         as that works with both Glibc's and Gnulib's style.
16202         See thread starting at Siddhesh Poyarekar's bug report at:
16203         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
16205 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16207         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
16208         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
16209         * sysdeps/tile/tilegx/memmove.c: Remove file.
16211 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
16213         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
16214         abi-name definition.
16215         * scripts/soversions.awk: Do not handle or generate ABI lines.
16216         * shlib-versions: Remove ABI entries.
16217         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
16218         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
16220 2014-06-27  Roland McGrath  <roland@hack.frob.com>
16222         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
16223         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
16224         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
16225         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
16226         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
16227         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
16228         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
16229         Moved ...
16230         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
16231         ... here.
16232         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
16233         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
16234         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
16235         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
16236         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
16237         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
16238         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
16239         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
16240         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
16241         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
16242         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
16243         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
16244         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
16245         Moved ...
16246         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
16247         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
16248         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
16249         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
16250         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
16251         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
16252         Moved ...
16253         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
16254         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
16255         Moved ...
16256         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
16257         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
16258         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
16259         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
16260         Moved ...
16261         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
16262         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
16263         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
16264         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
16265         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
16266         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
16267         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
16268         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
16269         Moved ...
16270         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
16271         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
16272         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
16273         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
16274         Moved ...
16275         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
16276         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
16277         Moved ...
16278         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
16279         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
16280         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
16281         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
16282         Moved ...
16283         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
16284         ... here.
16285         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
16286         Identical file removed.
16287         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
16288         Moved ...
16289         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
16290         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
16291         Identical file removed.
16292         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
16293         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
16294         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
16295         Moved ...
16296         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
16297         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
16298         Identical file removed.
16299         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
16300         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
16301         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
16302         Identical file removed.
16303         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
16304         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
16305         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
16306         Identical file removed.
16307         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
16308         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
16309         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
16310         Identical file removed.
16311         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
16312         Moved ...
16313         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
16314         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
16315         Identical file removed.
16316         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
16317         Moved ...
16318         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
16319         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
16320         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
16321         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
16322         Identical file removed.
16323         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
16324         Moved ...
16325         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
16326         ... here.
16327         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
16328         Identical file removed.
16329         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
16330         Moved ...
16331         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
16332         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
16333         Identical file removed.
16334         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
16335         Moved ...
16336         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
16337         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
16338         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
16339         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
16340         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
16341         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
16342         Moved ...
16343         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
16344         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
16345         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
16347         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
16348         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
16349         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
16350         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
16351         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
16353 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
16355         [BZ #17092]
16356         * nscd/nscd.c (monitor_child): Return exit status of child
16357         instead of return value from wait syscall.
16359 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
16361         * configure.ac (libc_commonpagesize): Remove variable.
16362         (libc_relro_required): Likewise.
16363         (libc_cv_z_relro): Remove configure test.
16364         * configure: Regenerated.
16365         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
16366         variable.
16367         (libc_relro_required): Likewise.
16368         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
16369         (libc_relro_required): Likewise.
16370         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
16371         (libc_relro_required): Likewise.
16372         * sysdeps/arm/preconfigure: Regenerated.
16373         * sysdeps/ia64/preconfigure: Remove file.
16374         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
16375         variable.
16376         (libc_relro_required): Likewise.
16378         [BZ #16561]
16379         [BZ #16562]
16380         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
16381         (__ieee754_yn): Set FE_TONEAREST mode internally and then
16382         recompute overflowing results in original rounding mode.
16383         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
16384         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
16385         recompute overflowing results in original rounding mode.
16386         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
16387         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
16388         recompute overflowing results in original rounding mode.
16389         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
16390         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
16391         recompute overflowing results in original rounding mode.
16392         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
16393         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
16394         recompute overflowing results in original rounding mode.
16395         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
16396         (libc_feholdsetround_ctx): New macro.
16397         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
16398         * sysdeps/i386/fpu/libm-test-ulps: Update.
16399         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
16401 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16403         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
16404         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
16405         corresponding .cpsetup call.
16407 2014-06-26  Roland McGrath  <roland@hack.frob.com>
16409         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
16410         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
16411         * sysdeps/arm/Makefile [$(subdir) = csu]
16412         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
16413         (static-only-routines): Add aeabi_read_tp here.
16414         (shared-only-routines): Add libc-aeabi_read_tp here.
16415         (CFLAGS-libc-start.c): Add -fexceptions here.
16416         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
16417         (sysdep_routines, static-only-routines, shared-only-routines):
16418         Don't add to these here.
16419         (CFLAGS-libc-start.c): Likewise.
16421         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
16422         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
16423         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
16424         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
16425         * sysdeps/arm/Makefile [$(subdir) = rt]
16426         (librt-sysdep_routines, librt-shared-only-routines):
16427         Append rt-aeabi_unwind_cpp_pr1 here.
16428         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
16429         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
16430         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
16431         (libpthread-sysdep_routines, libpthread-shared-only-routines):
16432         Append nptl-aeabi_unwind_cpp_pr1 here.
16433         (tests): Filter out tst-cleanupx4 here.
16434         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
16435         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
16436         Don't do those here.
16438 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16440         * scripts/list-sources.sh: Do not handle ports specially.
16442 2014-06-26  Roland McGrath  <roland@hack.frob.com>
16444         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
16445         * sysdeps/arm/feupdateenv.c: Likewise.
16447         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
16449 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16451         * manual/texinfo.tex: Update to version 2014-05-05.10 with
16452         trailing whitespace removed.
16453         * scripts/config.guess: Update to version 2014-03-23.
16454         * scripts/config.sub: Update to version 2014-05-01
16455         * scripts/install-sh: Update to version 2013-12-25.23.
16456         * scripts/move-if-change: Update from gnulib.
16458 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16460         * debug/memmove_chk.c: Remove pagecopy.h include.
16462 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
16464         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
16465         identical to gnulib mktime.
16467 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16469         * configure.ac: Do not test for machine being rs6000.  Do not test
16470         for powerpc*-*soft.
16471         * configure: Regenerated.
16473         [BZ #11505]
16474         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
16475         test.
16476         * configure: Regenerated.
16477         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
16478         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
16479         Remove configure test.
16480         * sysdeps/arm/configure: Regenerated.
16481         * sysdeps/nptl/configure.ac: Do not check
16482         libc_cv_asm_cfi_directives.
16483         * sysdeps/nptl/configure: Regenerated.
16484         * sysdeps/x86_64/nptl/configure.ac: Remove file.
16485         * sysdeps/x86_64/nptl/configure: Remove generated file.
16486         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
16487         unconditional.
16488         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
16490 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16492         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
16493         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
16494         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
16495         it is defined.
16497         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
16498         instead of whether it is defined.
16499         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
16500         * sysdeps/hppa/dl-machine.h: Likewise.
16501         * sysdeps/ia64/dl-machine.h: Likewise.
16502         * sysdeps/m68k/dl-machine.h: Likewise.
16503         * sysdeps/microblaze/dl-machine.h: Likewise.
16504         * sysdeps/mips/dl-machine.: Likewise.
16505         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
16506         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16507         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
16508         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16509         * sysdeps/sh/dl-machine.h: Likewise.
16510         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16511         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16512         * sysdeps/tile/dl-machine.h: Likewise.
16513         * sysdeps/x86_64/dl-machine.h: Likewise.
16515         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
16516         code.
16517         (verify_persistent_db): Likewise.
16519 2014-06-26  Roland McGrath  <roland@hack.frob.com>
16521         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
16522         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
16523         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
16524         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
16525         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16526         Moved ...
16527         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
16528         ... here.
16529         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
16530         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
16531         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
16532         Identical file removed.
16533         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
16534         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
16535         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
16536         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
16537         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
16538         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
16539         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
16540         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
16541         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
16542         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
16543         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16544         Moved ...
16545         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
16546         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
16547         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
16548         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
16549         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
16550         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16551         Moved ...
16552         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
16553         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
16554         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
16555         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
16556         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
16557         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16558         Identical file removed.
16559         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
16560         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
16561         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
16562         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
16563         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16564         Moved ...
16565         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
16566         ... here.
16567         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
16568         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
16569         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
16570         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
16571         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
16572         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
16573         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
16574         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
16575         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
16576         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
16577         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16578         Moved ...
16579         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
16580         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
16581         Moved ...
16582         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
16583         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
16584         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
16585         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16586         Moved ...
16587         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
16588         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
16589         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
16591         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
16592         folded into ...
16593         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
16594         * sysdeps/unix/sysv/linux/s390/Versions
16595         (libpthread: GLIBC_2.19): New version set.
16596         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
16597         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
16598         (librt: GLIBC_2.3.3): New version set.
16599         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
16600         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
16601         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
16602         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
16603         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
16604         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
16605         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
16606         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
16607         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
16608         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
16609         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
16610         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
16611         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
16612         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
16613         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
16614         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
16615         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
16616         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
16617         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
16618         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
16619         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
16620         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
16621         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
16622         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
16623         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
16624         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
16625         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
16626         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
16627         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
16628         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
16629         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
16630         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
16631         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
16632         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
16633         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
16634         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
16635         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
16636         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
16637         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
16638         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
16639         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
16640         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
16641         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
16642         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
16643         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
16645         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
16646         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
16647         (__libc_vfork): Define the function under this name.
16648         [!NOT_IN_libc] (__vfork): Make this an alias.
16649         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
16650         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
16651         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
16652         (__libc_vfork): Define the function under this name.
16653         [!NOT_IN_libc] (__vfork): Make this an alias.
16654         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
16655         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
16656         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
16657         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
16658         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
16659         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16661         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
16662         code that was previously under [RESET_PID].
16663         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
16664         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
16665         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
16667         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
16668         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
16669         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
16670         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
16671         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
16672         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
16673         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
16674         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
16675         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
16676         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
16677         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
16678         Moved ...
16679         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
16680         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
16681         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
16682         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
16683         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
16684         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
16685         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
16686         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
16687         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
16688         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
16689         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
16690         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
16691         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
16692         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
16693         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
16694         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
16695         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
16696         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
16697         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
16698         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
16699         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
16700         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
16701         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
16702         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
16703         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
16704         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
16705         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
16706         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
16707         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
16709 2014-06-25  Roland McGrath  <roland@hack.frob.com>
16711         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
16712         that was previously under [RESET_PID].
16713         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
16715 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16717         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
16718         not undefine and redefine.
16719         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
16720         [O_CLOEXEC]: Make code unconditional.
16721         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
16722         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
16723         <kernel-features.h>.
16724         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
16725         conditional variable definition.
16726         (shm_open) [O_CLOEXEC]: Make code unconditional.
16727         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
16728         code.
16730         * configure.ac (USE_REGPARMS): Don't define here.
16731         * configure: Regenerated.
16732         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
16733         * sysdeps/i386/configure: Regenerated.
16735         * nptl/createthread.c: Don't include kernel-features.h.
16736         * nptl/pthread_cancel.c: Likewise.
16737         * nptl/pthread_condattr_setclock.c: Likewise.
16738         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
16739         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
16740         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
16741         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
16742         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
16743         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
16744         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
16745         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
16746         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
16747         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
16748         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
16749         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
16750         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
16751         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
16752         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
16753         * nscd/gai.c: Likewise.
16754         * nss/nss_db/db-open.c: Likewise.
16755         * sysdeps/generic/ldsodefs.h: Likewise.
16756         * sysdeps/sh/nptl/tls.h: Likewise.
16757         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
16758         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
16759         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
16760         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
16761         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
16762         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16763         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
16764         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16765         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16766         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
16767         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
16768         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16769         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
16770         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
16771         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
16772         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
16773         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
16774         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
16775         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
16776         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
16777         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
16778         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
16779         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
16780         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
16781         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
16782         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
16783         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
16784         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
16785         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
16786         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
16787         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
16788         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
16789         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
16790         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16791         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16792         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16793         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16794         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
16795         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
16796         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
16797         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16798         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
16799         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
16800         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16801         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
16802         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
16803         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
16804         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
16805         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
16806         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
16807         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
16808         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
16809         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
16810         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16811         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
16812         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
16813         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
16814         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
16815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
16817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
16818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
16819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
16820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
16821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
16822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
16823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
16826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
16827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
16828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
16829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
16835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
16836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
16837         * sysdeps/unix/sysv/linux/pread.c: Likewise.
16838         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
16839         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
16840         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
16841         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
16842         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
16843         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
16844         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
16845         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
16846         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
16847         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
16848         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
16849         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
16850         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
16851         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
16852         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
16853         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
16854         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
16855         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
16856         * sysdeps/unix/sysv/linux/system.c: Likewise.
16857         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
16858         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
16859         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16860         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16861         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16862         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16863         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16865         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
16866         * configure: Regenerated.
16867         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
16869         * configure.ac (base_machine): Do not set specially for particular
16870         machines here.
16871         * configure: Regenerated.
16872         * sysdeps/powerpc/preconfigure: Move machine and base_machine
16873         settings from configure.ac.
16874         * sysdeps/i386/preconfigure: New file.
16875         * sysdeps/s390/preconfigure: Likewise.
16876         * sysdeps/sh/preconfigure: Likewise.
16877         * sysdeps/sparc/preconfigure: Likewise.
16879 2014-06-25  Roland McGrath  <roland@hack.frob.com>
16881         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
16882         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
16883         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
16884         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
16885         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
16886         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
16887         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
16888         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
16889         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
16890         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
16891         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
16892         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
16893         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
16894         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
16895         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
16896         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
16897         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
16898         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
16899         * sysdeps/sparc/sparc64/Makefile: ... appended here.
16901         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
16902         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
16903         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
16904         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
16905         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
16906         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
16907         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
16908         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
16909         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
16910         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
16911         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
16912         * sysdeps/sparc/sparc32/sem_post.c: ... here.
16913         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
16914         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
16915         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
16916         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
16917         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
16918         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
16919         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
16920         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
16921         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
16922         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
16923         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
16924         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
16925         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
16926         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
16927         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
16928         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
16929         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
16930         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
16931         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
16932         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
16933         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
16934         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
16935         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
16936         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
16937         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
16938         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
16940         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
16941         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
16942         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
16943         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
16944         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16945         Moved ...
16946         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
16947         ... here.
16948         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
16949         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
16950         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
16951         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
16952         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
16953         Moved ...
16954         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
16955         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
16956         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
16957         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
16958         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
16959         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
16960         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
16961         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16962         Moved ...
16963         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
16964         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16965         Moved ...
16966         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
16967         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
16968         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
16969         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16970         Moved ...
16971         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
16972         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
16973         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
16974         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
16975         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
16976         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
16977         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
16978         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
16979         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
16980         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16981         Moved ...
16982         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
16983         ... here.
16984         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
16985         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
16986         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
16987         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
16988         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
16989         Moved ...
16990         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
16991         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
16992         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
16993         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
16994         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
16995         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
16996         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
16997         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16998         Moved ...
16999         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
17000         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
17001         Moved ...
17002         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
17003         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
17004         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
17005         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
17006         Moved ...
17007         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
17008         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
17009         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
17010         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
17011         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
17013 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
17015         * timezone/checktab.awk: Update from tzcode 2014e.
17016         * timezone/private.h: Likewise.
17017         * timezone/tzfile.h: Likewise.
17018         * timezone/zdump.c: Likewise.
17019         * timezone/zic.c: Likewise.
17021         * sysdeps/unix/sysv/linux/kernel-features.h
17022         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
17023         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
17024         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
17025         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17026         Remove conditional code.
17028 2014-06-25  Will Newton  <will.newton@linaro.org>
17030         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
17031         (_dl_arm_cap_flags): Add HWCAP2 values.
17032         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
17033         (_DL_HWCAP_COUNT): Increase to 37.
17034         (_DL_HWCAP_LAST): New define.
17035         (_DL_HWCAP2_LAST): New define.
17036         (_dl_procinfo): Add support for printing
17037         AT_HWCAP2 entries.
17038         (_dl_string_hwcap): Use _dl_hwcap_string.
17040 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17042         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17044 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
17046         * README: Do not mention ports directory.
17048         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
17049         Remove macro.
17050         * sysdeps/unix/sysv/linux/futimes.c: Do not include
17051         <kernel-features.h>.
17052         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
17053         conditional variable definition.
17054         (__futimes): Update comment.
17055         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
17056         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
17058         [BZ #16560]
17059         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
17060         arguments close to 0.
17061         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
17062         Likewise.
17063         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
17064         Likewise.
17065         * math/auto-libm-test-in: Add more tests of exp10.
17066         * math/auto-libm-test-out: Regenerated.
17067         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17069         * sysdeps/unix/sysv/linux/kernel-features.h
17070         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
17071         * sysdeps/unix/sysv/linux/readv.c: Do not include
17072         <kernel-features.h>.
17073         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
17074         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
17075         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
17076         unconditional.
17077         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
17078         conditional code.
17079         * sysdeps/unix/sysv/linux/writev.c: Do not include
17080         <kernel-features.h>.
17081         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
17082         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
17083         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
17084         unconditional.
17085         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
17086         conditional code.
17088 2014-06-25  Will Newton  <will.newton@linaro.org>
17090         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
17091         comment changes throughout the file.  Remove checks
17092         for HAVE_*_H definitions that are not required.
17093         (__gen_tempname): Call abort if an unknown kind value is
17094         passed.
17096 2014-06-25  Andreas Schwab  <schwab@suse.de>
17098         [BZ #17086]
17099         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
17100         scalbln, scalblnf, scalblnl in libc.
17102 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
17104         [BZ #17086]
17105         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
17106         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
17107         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
17109 2014-06-24  Roland McGrath  <roland@hack.frob.com>
17111         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
17112         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
17113         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
17114         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
17115         Update #include.
17116         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
17117         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
17118         Update #include.
17119         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
17120         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
17121         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
17122         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
17123         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
17124         * sysdeps/x86/bits/pthreadtypes.h: ... here.
17125         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
17126         * sysdeps/x86/bits/semaphore.h: ... here.
17127         * sysdeps/x86/nptl/elide.h: Moved ...
17128         * sysdeps/x86/elide.h: ... here.
17129         * sysdeps/x86_64/nptl/Implies: File removed.
17130         * sysdeps/i386/nptl/Implies: File removed.
17132 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
17134         [BZ #16539]
17135         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
17136         return the argument for normal arguments with exponent below -64.
17137         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17138         Likewise.
17139         * math/auto-libm-test-in: Add another test of expm1.
17140         * math/auto-libm-test-out: Regenerated.
17142         [BZ #16287]
17143         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
17144         calling __erfcl for arguments at least 16.
17145         * math/auto-libm-test-in: Add more tests of erf.
17146         * math/auto-libm-test-out: Regenerated.
17148         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
17149         individual architectures.
17150         * sysdeps/unix/sysv/linux/configure: Regenerated.
17151         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
17152         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
17153         * sysdeps/unix/sysv/linux/powerpc/configure.ac
17154         (ldd_rewrite_script): Define variable.
17155         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
17156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
17157         file.
17158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
17159         generated file.
17160         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
17161         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
17162         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
17163         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
17164         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
17165         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
17166         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
17167         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
17169 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17171         [BZ #17084]
17172         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
17173         Rename member __data.d to __data.__elision_data.
17175 2014-06-24  Wilco  <wdijkstr@arm.com>
17177         * NEWS: Add 16918 to fixed bug list.
17179 2014-06-24  Wilco  <wdijkstr@arm.com>
17181         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
17183 2014-06-24  Wilco  <wdijkstr@arm.com>
17185         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
17186         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
17187         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
17188         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
17189         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
17190         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
17191         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
17192         Use _FPU_MASK_RM.
17194 2014-06-24  Wilco  <wdijkstr@arm.com>
17196         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
17198 2014-06-24  Wilco  <wdijkstr@arm.com>
17200         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
17201         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
17202         * sysdeps/arm/fesetround.c (fesetround): Remove space.
17203         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
17205 2014-06-24  Wilco  <wdijkstr@arm.com>
17207         [BZ #16918]
17208         * sysdeps/arm/feupdateenv.c (feupdateenv):
17209         Rewrite to reduce FPSCR accesses and fix return value.
17211 2014-06-24  Wilco  <wdijkstr@arm.com>
17213         * sysdeps/arm/fclrexcpt.c (feclearexcept):
17214         Optimize to avoid unnecessary FPSCR writes.
17215         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
17216         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
17217         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
17218         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
17220 2014-06-24  Wilco  <wdijkstr@arm.com>
17222         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
17223         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
17224         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
17225         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
17226         Call libc_fetestexcept_vfp.
17227         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
17228         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
17229         __SOFTFP__ ifdef so that they can be built for softfp.
17231 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17233         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
17234         argument type signed char.
17236         * Makerules (check-abi): Dump diff of symlist if the test
17237         fails.
17239 2014-06-23  Roland McGrath  <roland@hack.frob.com>
17241         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
17242         using abort.
17244         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
17245         Remove unused variable ST.
17247 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
17249         [BZ #16354]
17250         [BZ #17061]
17251         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
17252         small arguments before calling __expm1.
17253         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
17254         small arguments before calling __expm1f.
17255         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
17256         small arguments before calling __expm1l.
17257         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
17258         Likewise.
17259         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
17260         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
17261         spurious underflow for some cosh tests.
17262         * math/auto-libm-test-out: Regenerated.
17263         * sysdeps/i386/fpu/libm-test-ulps: Update.
17265         [BZ #17050]
17266         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
17267         (__ieee754_y1): Set errno if return value overflows.
17268         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
17269         (__ieee754_y1f): Set errno if return value overflows.
17270         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
17271         (__ieee754_y1l): Set errno if return value overflows.
17272         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
17273         (__ieee754_y1l): Set errno if return value overflows.
17274         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
17275         * math/auto-libm-test-out: Regenerated.
17277         * math/gen-auto-libm-tests.c: Document use of
17278         ignore-zero-inf-sign.
17279         (input_flag_type): Add value flag_ignore_zero_inf_sign.
17280         (input_flags): Add ignore-zero-inf-sign.
17281         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
17282         * math/gen-libm-test.pl (generate_testfile): Handle
17283         ignore-zero-inf-sign.
17284         * math/auto-libm-test-in: Mark some cpow tests with
17285         ignore-zero-inf-sign and some with xfail-rounding.
17286         * math/auto-libm-test-out: Regenerated.
17287         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
17288         * sysdeps/i386/fpu/libm-test-ulps: Update.
17289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17291         [BZ #16315]
17292         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
17293         overflowing or underflowing operations take place with sign of
17294         result.
17295         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17296         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
17297         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
17298         (__ieee754_pow): Recompute overflowing and underflowing results in
17299         original rounding mode.
17300         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
17301         (__powl_helper): Allow negative argument X and scale negated value
17302         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
17303         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
17304         overflowing or underflowing operations take place with sign of
17305         result.
17306         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
17307         Include <math.h>.
17308         * math/auto-libm-test-in: Add more tests of pow.
17309         * math/auto-libm-test-out: Regenerated.
17310         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
17311         (pow_tonearest_test_data): Remove.
17312         (pow_test_tonearest): Likewise.
17313         (pow_towardzero_test_data): Likewise.
17314         (pow_test_towardzero): Likewise.
17315         (pow_downward_test_data): Likewise.
17316         (pow_test_downward): Likewise.
17317         (pow_upward_test_data): Likewise.
17318         (pow_test_upward): Likewise.
17319         (main): Don't call removed functions.
17320         * sysdeps/i386/fpu/libm-test-ulps: Update.
17321         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17323 2014-06-23  Roland McGrath  <roland@hack.frob.com>
17325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
17326         Moved ...
17327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
17328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17329         Moved ...
17330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
17331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
17332         Moved ...
17333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
17334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
17335         Moved ...
17336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
17337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
17338         File removed.
17339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
17340         File removed.
17341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
17342         File removed.
17343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
17344         File removed.
17345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
17346         File removed.
17347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
17348         File removed.
17349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
17350         File removed.
17351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17352         File removed.
17353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
17354         File removed.
17355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
17356         File removed.
17357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
17358         File removed.
17359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
17360         File removed.
17361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
17362         Moved ...
17363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
17364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
17365         Moved ...
17366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
17367         ... here.
17368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
17369         Moved ...
17370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
17371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
17372         Moved ...
17373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
17374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
17375         Moved ...
17376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
17377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
17378         Moved ...
17379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
17380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
17381         Moved ...
17382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
17383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
17384         Moved ...
17385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
17386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
17387         Moved ...
17388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
17389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
17390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
17391         ... here.
17392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
17393         Moved ...
17394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
17395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
17396         Moved ...
17397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
17398         ... here.
17399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
17400         Moved ...
17401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17402         ... here.
17403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17404         Moved ...
17405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
17406         ... here.
17407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
17408         Moved ...
17409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
17410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
17411         Moved ...
17412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
17413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
17414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
17415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
17416         Moved ...
17417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
17418         ... here.
17419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
17420         Moved ...
17421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
17422         ... here.
17423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
17424         Moved ...
17425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
17426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
17427         Moved ...
17428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
17429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
17430         Moved ...
17431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
17432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17433         Moved ...
17434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
17435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
17436         Moved ...
17437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
17438         ... here.
17439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
17440         Moved ...
17441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
17442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
17443         Moved ...
17444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
17445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
17446         Moved ...
17447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
17448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
17449         Moved ...
17450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
17451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
17452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
17453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
17454         Moved ...
17455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
17456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
17457         Moved ...
17458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
17459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
17460         Moved ...
17461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
17462         ... here.
17463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17464         Moved ...
17465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
17466         ... here.
17467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
17468         Moved ...
17469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
17470         ... here.
17471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
17472         Moved ...
17473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
17474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
17475         Moved ...
17476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
17477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
17478         Moved ...
17479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
17480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
17481         Moved ...
17482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
17483         ... here.
17484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
17485         Moved ...
17486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
17487         ... here.
17488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
17489         Moved ...
17490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
17491         ... here.
17492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
17493         Moved ...
17494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
17495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
17496         Moved ...
17497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
17499 2014-06-23  Will Newton  <will.newton@linaro.org>
17500             Wilco  <wdijkstr@arm.com>
17502         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
17503         implementation.  Include get-rounding-mode.h.
17504         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
17505         [!libc_feholdsetround_noex_ctx]: Define
17506         libc_feholdsetround_noex_ctx.
17507         [!libc_feholdsetround_noexf_ctx]: Define
17508         libc_feholdsetround_noexf_ctx.
17509         [!libc_feholdsetround_noexl_ctx]: Define
17510         libc_feholdsetround_noexl_ctx.
17511         (libc_feholdsetround_ctx): New function.
17512         (libc_feresetround_ctx): New function.
17513         (libc_feholdsetround_noex_ctx): New function.
17514         (libc_feresetround_noex_ctx): New function.
17516 2014-06-23  Roland McGrath  <roland@hack.frob.com>
17518         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
17519         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
17520         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
17521         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
17522         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
17523         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
17525         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
17526         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
17527         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
17528         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
17529         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
17530         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
17531         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
17532         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
17533         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
17534         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
17535         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
17536         Moved ...
17537         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
17538         ... here.
17539         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
17540         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
17541         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
17542         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
17543         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
17544         Moved ...
17545         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
17546         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
17547         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
17548         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
17549         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
17550         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
17551         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
17552         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
17553         Moved ...
17554         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
17555         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
17556         Moved ...
17557         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
17558         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
17559         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
17560         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
17561         Moved ...
17562         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
17563         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
17564         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
17565         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
17566         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
17567         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
17568         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
17569         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
17570         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
17571         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
17572         Moved ...
17573         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
17574         ... here.
17575         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
17576         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
17577         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
17578         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
17579         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
17580         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
17581         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
17582         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
17583         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
17584         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
17585         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
17586         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
17587         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
17588         Moved ...
17589         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
17590         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
17591         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
17592         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
17593         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
17594         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
17595         Moved ...
17596         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
17597         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
17598         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
17599         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
17600         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
17602         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
17603         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
17604         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
17605         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
17606         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
17607         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
17608         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
17609         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
17610         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
17611         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
17612         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
17613         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
17614         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
17615         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
17616         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
17617         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
17618         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
17619         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
17620         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
17621         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
17622         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
17623         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
17624         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
17625         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
17626         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
17627         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
17628         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
17629         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
17631 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
17633         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
17634         (FALLOC_FL_COLLAPSE_RANGE): New macro.
17635         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
17636         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
17637         (IPV6_PMTUDISC_INTERFACE): Likewise.
17638         (IPV6_PMTUDISC_OMIT): Likewise.
17640 2014-06-23  Andreas Schwab  <schwab@suse.de>
17642         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
17643         Remove unused errout label.
17645 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17647         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
17648         macro: hardware supports Vector Crypto instructions.
17650 2014-06-23  Will Newton  <will.newton@linaro.org>
17652         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
17653         rather than __builtin_expect.
17655         * elf/dl-lookup.c (undefined_msg): Remove variable.
17656         (_dl_lookup_symbol_x): Replace undefined_msg with string
17657         literal.
17659         * elf/dl-lookup.c (do_lookup_unique): New function.
17660         (do_lookup_x): Move STB_GNU_UNIQUE handling code
17661         to a separate function.
17663 2014-06-23  Andreas Schwab  <schwab@suse.de>
17665         [BZ #17079]
17666         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
17667         before reading the next line.
17669 2014-06-23  Will Newton  <will.newton@linaro.org>
17671         * test-skeleton.c (signal_handler): Use printf and %m
17672         rather than perror.  Use printf rather than fprintf to
17673         stderr.  Use puts rather than fputs to stderr.
17674         (main): Likewise.
17676 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
17678         * nscd/nscd.c (thread_info_t): Remove typedef.
17679         (thread_info): Remove variable.
17681 2014-06-21  Allan McRae  <allan@archlinux.org>
17683         * NEWS: Mention CVE-2014-4043.
17685 2014-06-20  Roland McGrath  <roland@hack.frob.com>
17687         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
17688         * nptl/smp.h: ... here.
17690         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
17692         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
17693         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
17694         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
17695         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
17697         * nptl/allocatestack.c: Include <stack-aliasing.h>.
17698         * nptl/stack-aliasing.h: New file.
17699         * sysdeps/i386/i686/stack-aliasing.h: New file.
17700         * sysdeps/i386/i686/nptl/Makefile: File removed.
17701         * sysdeps/x86_64/stack-aliasing.h: New file.
17702         * sysdeps/x86_64/nptl/Makefile
17703         (CFLAGS-pthread_create.c): Variable removed.
17705         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
17706         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
17707         old file.
17708         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
17709         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
17710         old file.
17712 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
17714         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17715         (__ASSUME_SIGFRAME_V2): Remove macro.
17716         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
17717         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
17718         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
17719         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
17720         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
17721         Declare as function.  Remove conditional macro definitions.
17722         (__default_rt_sa_restorer): Likewise.
17723         (__default_sa_restorer_v1): Remove declaration.
17724         (__default_sa_restorer_v2): Likewise.
17725         (__default_rt_sa_restorer_v1): Likewise.
17726         (__default_rt_sa_restorer_v2): Likewise.
17727         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
17728         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
17729         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
17731 2014-06-20  Roland McGrath  <roland@hack.frob.com>
17733         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
17734         (libpthread-routines): Add sysdep.
17735         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
17736         * sysdeps/unix/sysv/linux/sparc/Versions
17737         (libpthread: GLIBC_2.3.3): New version set.
17738         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
17739         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
17740         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
17741         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
17742         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
17743         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
17744         Moved ...
17745         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
17746         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
17747         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
17748         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
17749         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
17750         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
17751         * sysdeps/sparc/nptl/sem_init.c: ... here.
17752         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
17753         * sysdeps/sparc/nptl/sem_post.c: ... here.
17754         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
17755         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
17756         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
17757         * sysdeps/sparc/nptl/sem_wait.c: ... here.
17758         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
17759         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
17760         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
17761         (libpthread-routines): Add cpu_relax.
17762         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
17763         File removed.
17764         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
17765         (librt: GLIBC_2.3.3): New version set.
17766         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
17767         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
17768         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
17769         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
17770         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
17771         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
17772         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
17773         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
17774         Moved ...
17775         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
17776         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
17777         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
17778         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
17779         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
17780         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
17781         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
17782         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
17783         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
17784         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
17785         Moved ...
17786         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
17787         Update #include.
17788         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
17789         Moved ...
17790         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
17791         Update #include.
17792         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
17793         Moved ...
17794         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
17795         Update #include.
17796         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
17797         Moved ...
17798         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
17799         Update #include.
17800         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
17801         Moved ...
17802         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
17803         Update #include.
17804         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
17805         Moved ...
17806         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
17807         Update #include.
17808         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
17809         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
17810         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
17811         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
17812         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
17813         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
17814         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
17815         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
17816         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
17817         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
17818         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
17819         Moved ...
17820         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
17821         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
17822         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
17823         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
17824         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
17826 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17828         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
17829         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
17830         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
17831         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
17832         * nscd/nscd.c: Likewise.
17833         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
17834         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
17835         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
17836         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
17838         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
17839         <kernel-features.h>.
17840         (init_mq_netlink): Remove conditional have_sock_cloexec
17841         definitions.  Remove code conditional on have_sock_cloexec < 0.
17842         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
17843         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
17844         * sysdeps/unix/sysv/linux/opensock.c: Do not include
17845         <kernel-features.h>.
17846         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
17847         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
17849 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
17851         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17852         Add tests for memset_chk and memset.
17854         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
17855         with AVX2_Usable.
17857 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
17859         [BZ #16046]
17860         * elf/tst-dl-iter-static.c: New file.
17861         * elf/Makefile (tests-static): Add tst-dl-iter-static.
17863         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
17864         error.
17866 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17868         * sysdeps/unix/sysv/linux/kernel-features.h
17869         (__ASSUME_F_GETOWN_EX): Remove macro.
17870         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
17871         <kernel-features.h>.
17872         (miss_F_GETOWN_EX): Remove variable or macro.
17873         (do_fcntl): Do not check miss_F_GETOWN_EX.
17874         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
17876         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
17877         Remove macro.
17878         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
17879         [!__ASSUME_AT_RANDOM]: Remove conditional code.
17880         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
17882         * sysdeps/unix/sysv/linux/kernel-features.h
17883         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
17884         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
17885         [ADJ_OFFSET_SS_READ]: Make code unconditional.
17886         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
17888 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
17890         [BZ #17075]
17891         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
17892         Fix calculation of the symbol's value.
17893         * sysdeps/arm/tst-armtlsdescloc.c: New file.
17894         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
17895         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
17896         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
17897         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
17898         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
17899         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
17900         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
17901         (modules-names): Add `tst-armtlsdescmod',
17902         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
17903         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
17904         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
17905         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
17906         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
17907         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
17908         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
17909         ($(objpfx)tst-armtlsdescloc): New dependency.
17910         ($(objpfx)tst-armtlsdescextnow): Likewise.
17911         ($(objpfx)tst-armtlsdescextlazy): Likewise.
17912         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
17913         TLS scheme support.
17914         * sysdeps/arm/configure: Regenerate.
17916 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17918         * include/fcntl.h (__atfct_seterrno): Remove prototype.
17919         (__atfct_seterrno_2): Likewise.
17920         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
17921         <kernel-features.h>.
17922         (__ASSUME_ATFCTS): Do not undefine and redefine.
17923         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
17924         (__have_atfcts): Remove conditional definition.
17925         (__fxstatat([__NR_fstatat64]: Make code unconditional.
17926         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
17927         unreachable if [__ASSUME_ATFCTS].
17928         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
17929         not undefine and redefine.
17930         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
17931         <kernel-features.h>.
17932         (faccessat) [__NR_faccessat]: Make code unconditional.
17933         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
17934         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
17935         <kernel-features.h>.
17936         (fchmodat) [__NR_fchmodat]: Make code unconditional.
17937         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
17938         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
17939         <kernel-features.h>.
17940         (fchownat) [__NR_fchownat]: Make code unconditional.
17941         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
17942         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
17943         <kernel-features.h>.
17944         (futimesat) [__NR_futimesat]: Make code unconditional.
17945         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
17946         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17947         <kernel-features.h>.
17948         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
17949         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17950         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17951         <kernel-features.h>.
17952         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
17953         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
17954         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
17955         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17956         <kernel-features.h>.
17957         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
17958         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17959         * sysdeps/unix/sysv/linux/linkat.c: Do not include
17960         <kernel-features.h>.
17961         (linkat) [__NR_linkat]: Make code unconditional.
17962         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17963         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
17964         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
17965         <kernel-features.h>.
17966         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
17967         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
17968         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
17969         <kernel-features.h>.
17970         (mkdirat) [__NR_mkdirat]: Make code unconditional.
17971         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
17972         * sysdeps/unix/sysv/linux/openat.c: Do not include
17973         <kernel-features.h>.
17974         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
17975         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
17976         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
17977         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
17978         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
17979         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
17980         <kernel-features.h>.
17981         (readlinkat) [__NR_readlinkat]: Make code unconditional.
17982         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
17983         result of INLINE_SYSCALL directly, not via int variable.
17984         * sysdeps/unix/sysv/linux/renameat.c: Do not include
17985         <kernel-features.h>.
17986         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
17987         (renameat) [__NR_renameat]: Make code unconditional.
17988         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
17989         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
17990         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
17991         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
17992         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
17993         (__ASSUME_ATFCTS): Do not undefine and redefine.
17994         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
17995         <kernel-features.h>.
17996         (symlinkat) [__NR_symlinkat]: Make code unconditional.
17997         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17998         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
17999         <kernel-features.h>.
18000         (unlinkat) [__NR_unlinkat]: Make code unconditional.
18001         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
18002         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
18003         (__ASSUME_ATFCTS): Do not undefine and redefine.
18004         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18005         <kernel-features.h>.
18006         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
18007         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
18008         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18009         <kernel-features.h>.
18010         (__xmknodat) [__NR_mknodat]: Make code unconditional.
18011         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
18013 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
18015         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
18017 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
18019         [BZ #17069]
18020         * posix/regcomp.c (parse_reg_exp): Deallocate partially
18021         constructed tree before returning error.
18022         * posix/bug-regexp36.c: Expand test case.
18024 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
18026         [BZ #6803]
18027         * math/libm-test.inc (scalbln_test_date):
18028         Add errno expectations.
18029         * math/w_scalblnf.c: New File.
18030         Add wrapper which checks for setting errno to ERANGE.
18031         Add weak_alias for corresponding scalbln function.
18032         * math/w_scalbln.c: Likewise.
18033         * math/w_scalblnl.c: Likewise.
18034         * math/Makefile (libm-calls): Add w_scalbln.
18035         * sysdeps/ieee754/flt-32/s_scalblnf.c:
18036         Remove weak_alias for corresponding scalbln function.
18037         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18038         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18039         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18040         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18041         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
18042         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
18043         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
18044         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
18045         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
18046         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
18047         Remove long_double_symbol for scalblnl function in libm, libc.
18048         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
18049         Add wrapper which checks for setting errno to ERANGE.
18050         Add long_double_symbol for scalblnl function in libm, libc.
18051         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
18052         Remove long_double_symbol for scalblnl in libm.
18053         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
18054         Add wrapper which checks for setting errno to ERANGE.
18055         Add long_double_symbol for scalblnl function in libm.
18056         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
18057         Do not use wrapper because of own implementation.
18059 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
18061         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
18062         3 bytes for __pad1 for x32.
18063         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
18065 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
18066             H.J. Lu  <hongjiu.lu@intel.com>
18068         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
18069         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
18070         * sysdeps/x86_64/multiarch/memset.S: Likewise.
18071         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18072         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
18074 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
18076         [BZ #17069]
18077         * posix/regcomp.c (parse_expression): Deallocate partially
18078         constructed tree before returning error.
18079         * posix/Makefile.c (tests): Add bug-regex36.
18080         (generated): Add bug-regex36.mtrace.
18081         (tests-special): Add $(objpfx)bug-regex36-mem.out
18082         (bug-regex36-ENV): New variable.
18083         ($(objpfx)bug-regex36-mem.out): New rule.
18084         * posix/bug-regex36.c: New file.
18086 2014-06-19  Will Newton  <will.newton@linaro.org>
18088         * malloc/malloc.c (systrim): If extra is zero then return
18089         early.
18091 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18093         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
18095 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
18097         * sysdeps/aarch64/strchr.S: New file.
18099 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
18101         [BZ #17022]
18102         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
18103         from arguments -2 or below.
18104         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
18105         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
18107 2014-06-18  Andreas Schwab  <schwab@suse.de>
18109         [BZ #17062]
18110         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
18111         of a bracket expr not to run off the end of the string.
18112         * posix/Makefile (tests): Add tst-fnmatch3.
18113         * posix/tst-fnmatch3.c: New file.
18115 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
18117         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
18118         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18119         [$(cross-compiling) = no]: Likewise.
18120         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18121         [$(cross-compiling) = no]: Likewise.
18123 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18125         [BZ #17031]
18126         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
18127         double, adjusted for any remainder from the high double.
18128         * math/libm-test.inc (nearbyint): Add tests.
18129         (rint): Likewise.
18131 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18133         * nptl/sysdeps/powerpc/Makefile: Moved ...
18134         * sysdeps/powerpc/nptl/Makefile: ... here.
18135         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
18136         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
18137         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
18138         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
18139         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
18140         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
18141         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
18142         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
18143         * nptl/sysdeps/powerpc/tls.h: Moved ...
18144         * sysdeps/powerpc/nptl/tls.h: ... here.
18146 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
18148         [BZ #16681]
18149         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
18150         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
18151         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
18152         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
18153         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
18154         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
18155         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
18156         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
18157         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
18159 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
18161         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
18163 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
18165         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
18166         defined operator.
18168         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
18169         $TIMEOUTFACTOR.
18171 2014-06-16  Florian Weimer  <fweimer@redhat.com>
18173         [BZ #17058]
18174         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
18175         non-executed part of the test.
18177 2014-06-16  Andreas Schwab  <schwab@suse.de>
18179         * string/bits/string2.h (strdup, strndup): Update feature guard.
18181 2014-06-14  David S. Miller  <davem@davemloft.net>
18183         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18185 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
18187         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
18188         that was previously under [RESET_PID].
18189         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
18191         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
18192         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
18193         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
18194         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18195         (__libc_vfork): New strong alias.
18196         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
18198 2014-06-14 Andi Kleen  <ak@linux.intel.com>
18200         * sysdeps/generic/elide.h: New file.
18202 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18204         * Makefile (installed-headers): Adjust path of pthread.h header.
18206 2014-06-13  Roland McGrath  <roland@hack.frob.com>
18208         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
18209         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
18210         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
18211         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
18213         * nptl/sysdeps/s390/Makefile: Moved ...
18214         * sysdeps/s390/nptl/Makefile: ... here.
18215         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
18216         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
18217         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
18218         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
18219         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
18220         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
18221         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
18222         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
18223         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
18224         * sysdeps/s390/nptl/pthreaddef.h: ... here.
18225         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
18226         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
18227         * nptl/sysdeps/s390/tls.h: Moved ...
18228         * sysdeps/s390/nptl/tls.h: ... here.
18230         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
18231         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
18233 2014-06-13  David S. Miller  <davem@davemloft.net>
18235         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
18236         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
18237         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
18238         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
18239         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
18240         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
18241         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
18242         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
18243         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
18244         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
18245         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
18246         Remove RESET_PID cpp guards.
18247         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
18248         Remove RESET_PID cpp guards.
18249         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
18251 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
18253         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
18254         __sp to uintptr_t.
18256 2014-06-13  Andi Kleen  <ak@linux.intel.com>
18258         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
18259         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
18260         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
18261         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
18262         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
18263         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
18264         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
18265         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
18266         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
18267         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
18268         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
18269         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
18270         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
18271         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
18272         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
18273         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
18274         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
18275         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
18276         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
18277         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
18279         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
18280         (pthread_rwlock_rdlock): Add elision.
18281         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
18282         (pthread_rwlock_wrlock): Add elision.
18283         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
18284         (pthread_rwlock_trywrlock): Add elision.
18285         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
18286         (pthread_rwlock_tryrdlock): Add elision.
18287         * nptl/pthread_rwlock_unlock.c: Include elide.h.
18288         (pthread_rwlock_tryrdlock): Add elision unlock.
18289         * nptl/sysdeps/pthread/pthread.h:
18290         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
18291         (PTHREAD_RWLOCK_INITIALIZER,
18292         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
18293         Handle new elision field.
18294         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
18295         * sysdeps/arm/nptl/bits/pthreadtypes.h
18296         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18297         * sysdeps/sh/nptl/bits/pthreadtypes.h
18298         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18299         * sysdeps/tile/nptl/bits/pthreadtypes.h
18300         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18301         * sysdeps/a/nptl/bits/pthreadtypes.h
18302         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18303         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
18304         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18305         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
18306         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18307         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
18308         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18309         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
18310         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18311         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
18312         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18313         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
18314         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18315         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
18316         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18317         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
18318         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18319         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
18320         (elision_init): Set try_xbegin to zero when no RTM.
18321         * sysdeps/x86/nptl/bits/pthreadtypes.h
18322         (pthread_rwlock_t): Change __pad1 to __rwelision.
18323         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18325 2014-06-13  Andi Kleen  <ak@linux.intel.com>
18327         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
18328         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
18329         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
18330         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
18332 2014-06-13  Meador Inge  <meadori@codesourcery.com>
18334         [BZ #16996]
18335         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
18336         that the cached result has been set before returning it.
18338 2014-06-12  Roland McGrath  <roland@hack.frob.com>
18340         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
18341         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
18342         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
18343         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
18344         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
18345         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
18347         * nptl/sysdeps/sparc/Makefile: Moved ...
18348         * sysdeps/sparc/nptl/Makefile: ... here.
18349         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
18350         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
18351         * nptl/sysdeps/sparc/tls.h: Moved ...
18352         * sysdeps/sparc/nptl/tls.h: ... here.
18353         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
18354         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
18355         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
18356         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
18357         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
18358         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
18359         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
18360         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
18361         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
18362         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
18363         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
18364         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
18365         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
18366         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
18367         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
18368         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
18369         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
18370         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
18371         Update #include.
18372         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
18373         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
18374         Update #include.
18375         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
18376         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
18377         Update #include.
18378         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
18379         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
18380         Update #include.
18382         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
18384         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
18385         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
18387         * sysdeps/pthread/posix-timer.h: Include <list.h>.
18388         (struct list_links): Type removed.
18389         (struct thread_node, struct timer_node): Replace struct list_links
18390         with struct list_head.
18391         (list_unlink_ip): Likewise.
18392         * sysdeps/pthread/timer_routines.c
18393         (timer_free_list, thread_free_list, thread_active_list): Likewise.
18394         (list_append, list_insbefore): Likewise.
18395         (list_init): Function removed.
18396         (thread_init, init_module): Use INIT_LIST_HEAD instead.
18397         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
18398         * sysdeps/pthread/Makefile: ... here, new file.
18400         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
18401         * sysdeps/nptl/Implies: ... here.
18402         * sysdeps/unix/sysv/linux/Implies: Add nptl.
18403         * nptl/sysdeps/pthread/list.h: Moved ...
18404         * include/list.h: ... here.
18405         * nptl/sysdeps/pthread/createthread.c: Moved ...
18406         * nptl/createthread.c: ... here.
18407         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
18408         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
18409         * nptl/pt-longjmp.c: ... here.
18410         * nptl/sysdeps/pthread/Makefile: Moved ...
18411         * sysdeps/nptl/Makefile: ... here.
18412         * nptl/sysdeps/pthread/Subdirs: Moved ...
18413         * sysdeps/nptl/Subdirs: ... here.
18414         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
18415         * sysdeps/nptl/aio_misc.h: ... here.
18416         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
18417         * sysdeps/nptl/bits/libc-lock.h: ... here.
18418         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
18419         * sysdeps/nptl/bits/libc-lockP.h: ... here.
18420         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
18421         * sysdeps/nptl/bits/stdio-lock.h: ... here.
18422         * nptl/sysdeps/pthread/configure: Moved ...
18423         * sysdeps/nptl/configure: ... here.
18424         * nptl/sysdeps/pthread/configure.ac: Moved ...
18425         * sysdeps/nptl/configure.ac: ... here.
18426         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
18427         * sysdeps/nptl/gai_misc.h: ... here.
18428         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
18429         * sysdeps/nptl/librt-cancellation.c: ... here.
18430         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
18431         * sysdeps/nptl/malloc-machine.h: ... here.
18432         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
18433         * sysdeps/nptl/pthread-functions.h: ... here.
18434         * nptl/sysdeps/pthread/pthread.h: Moved ...
18435         * sysdeps/nptl/pthread.h: ... here.
18436         * nptl/sysdeps/pthread/setxid.h: Moved ...
18437         * sysdeps/nptl/setxid.h: ... here.
18438         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
18439         * sysdeps/nptl/sigfillset.c: ... here.
18440         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
18441         * sysdeps/nptl/tcb-offsets.h: ... here.
18442         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
18443         * sysdeps/nptl/tst-mqueue8x.c: ... here.
18444         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
18445         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
18446         * nptl/sysdeps/pthread/allocalim.h: Moved ...
18447         * sysdeps/pthread/allocalim.h: ... here.
18448         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
18449         * sysdeps/pthread/bits/sigthread.h: ... here.
18450         * nptl/sysdeps/pthread/flockfile.c: Moved ...
18451         * sysdeps/pthread/flockfile.c: ... here.
18452         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
18453         * sysdeps/pthread/ftrylockfile.c: ... here.
18454         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
18455         * sysdeps/pthread/funlockfile.c: ... here.
18456         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
18457         * sysdeps/pthread/posix-timer.h: ... here.
18458         * nptl/sysdeps/pthread/timer_create.c: Moved ...
18459         * sysdeps/pthread/timer_create.c: ... here.
18460         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
18461         * sysdeps/pthread/timer_delete.c: ... here.
18462         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
18463         * sysdeps/pthread/timer_getoverr.c: ... here.
18464         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
18465         * sysdeps/pthread/timer_gettime.c: ... here.
18466         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
18467         * sysdeps/pthread/timer_routines.c: ... here.
18468         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
18469         * sysdeps/pthread/timer_settime.c: ... here.
18470         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
18471         * sysdeps/pthread/tst-timer.c: ... here.
18472         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
18473         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
18475         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
18476         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
18478         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
18479         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
18480         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
18481         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
18482         Update #include target.
18483         * nptl/sysdeps/i386/i686/Makefile: Moved ...
18484         * sysdeps/i386/i686/nptl/Makefile: ... here.
18485         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
18486         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
18487         Update #include target.
18488         * nptl/sysdeps/i386/i686/tls.h: Moved ...
18489         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
18490         * nptl/sysdeps/i386/Makefile: Moved ...
18491         * sysdeps/i386/nptl/Makefile: ... here.
18492         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
18493         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
18494         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
18495         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
18496         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
18497         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
18498         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
18499         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
18500         * sysdeps/i386/nptl/pthreaddef.h: ... here.
18501         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
18502         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
18503         * nptl/sysdeps/i386/tls.h: Moved ...
18504         * sysdeps/i386/nptl/tls.h: ... here.
18506         * sysdeps/sh/Makefile [$(subdir) = csu]
18507         (gen-as-const-headers): Add tcb-offsets.sym.
18508         * nptl/sysdeps/sh/Makefile: File removed.
18509         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
18510         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
18511         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
18512         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
18513         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
18514         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
18515         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
18516         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
18517         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
18518         * sysdeps/sh/nptl/pthreaddef.h: ... here.
18519         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
18520         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
18521         * nptl/sysdeps/sh/tls.h: Moved ...
18522         * sysdeps/sh/nptl/tls.h: ... here.
18523         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
18524         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
18525         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
18526         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
18527         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
18528         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
18529         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
18530         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
18531         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
18532         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
18533         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
18534         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
18535         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
18536         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
18537         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
18538         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
18539         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
18540         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
18541         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
18542         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
18543         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
18544         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
18545         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
18546         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
18547         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
18548         Moved ...
18549         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
18550         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
18551         Moved ...
18552         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
18553         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
18554         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
18555         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
18556         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
18557         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
18558         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
18559         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
18560         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
18561         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
18562         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
18563         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
18564         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
18565         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
18566         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
18567         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
18568         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
18569         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
18570         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
18572 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18574         * posix/spawn_faction_addopen.c: Include string.h.
18576 2014-06-11  Roland McGrath  <roland@hack.frob.com>
18578         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
18579         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
18580         * nptl/sysdeps/x86_64/Makefile: Moved ...
18581         * sysdeps/x86_64/nptl/Makefile: ... here.
18582         * nptl/sysdeps/x86_64/configure: Moved ...
18583         * sysdeps/x86_64/nptl/configure: ... here.
18584         * nptl/sysdeps/x86_64/configure.ac: Moved ...
18585         * sysdeps/x86_64/nptl/configure.ac: ... here.
18586         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
18587         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
18588         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
18589         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
18590         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
18591         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
18592         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
18593         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
18594         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
18595         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
18596         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
18597         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
18598         * nptl/sysdeps/x86_64/tls.h: Moved ...
18599         * sysdeps/x86_64/nptl/tls.h: ... here.
18600         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
18601         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
18602         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
18603         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
18605         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
18607 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18609         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18611 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
18613         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
18614         type.
18615         [POSIX] (off_t): Likewise.
18616         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
18617         [POSIX] (S_ISBLK): Require macro.
18618         [POSIX] (S_ISCHR): Likewise.
18619         [POSIX] (S_ISDIR): Likewise.
18620         [POSIX] (S_ISFIFO): Likewise.
18621         [POSIX] (S_ISREG): Likewise.
18622         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
18623         optional-macro.
18624         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
18625         type.
18626         [POSIX] (time_t): Likewise.
18627         [POSIX] (timer_t): Likewise.
18629 2014-06-11  Florian Weimer  <fweimer@redhat.com>
18631         [BZ #17048]
18632         * posix/spawn_int.h (struct __spawn_action): Make the path string
18633         non-const to support deallocation.
18634         * posix/spawn_faction_addopen.c
18635         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
18636         * posix/spawn_faction_destroy.c
18637         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
18638         path in all spawn_do_open actions.
18639         * posix/tst-spawn.c (do_test): Exercise the copy operation in
18640         posix_spawn_file_actions_addopen.
18642 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
18644         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
18645         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
18646         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
18647         conditional code always true.
18648         (__libc_vfork): New alias.
18650 2014-06-11  Roland McGrath  <roland@hack.frob.com>
18652         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18653         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
18655         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
18657         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18658         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
18660         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
18661         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
18663         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18664         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
18666 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18668         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
18669         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
18670         multiarch strcmp for PPC64.
18671         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
18672         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
18673         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
18674         multiarch optimizations.
18675         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18676         (__libc_ifunc_impl_list): Likewise.
18678 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18680         * benchtests/scripts/validate_benchout.py: New script.
18681         * benchtests/Makefile (bench-func): Call it.
18682         * benchtests/scripts/benchout.schema.json: New file.
18684 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
18686         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
18687         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
18688         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
18689         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
18690         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
18691         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
18692         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
18693         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
18694         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
18695         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
18696         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
18697         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
18698         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
18699         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
18700         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
18701         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
18702         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
18703         Moved ...
18704         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
18705         ... here.
18706         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
18707         Moved ...
18708         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
18709         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
18710         Moved ...
18711         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
18712         ... here.
18713         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
18714         Moved ...
18715         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
18716         ... here.
18717         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
18718         Moved ...
18719         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
18720         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
18721         Moved ...
18722         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
18723         ... here.
18724         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
18725         Moved ...
18726         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
18727         ... here.
18728         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
18729         Moved ...
18730         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
18731         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
18732         Moved ...
18733         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
18734         ... here.
18735         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
18736         Moved ...
18737         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
18738         ... here.
18739         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
18740         Moved ...
18741         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
18742         ... here.
18743         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
18744         Moved ...
18745         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
18746         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
18747         Moved ...
18748         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
18749         ... here.
18750         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
18751         Moved ...
18752         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
18753         ... here.
18754         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
18755         Moved ...
18756         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
18757         ... here.
18758         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
18759         Moved ...
18760         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
18761         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
18762         Moved ...
18763         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
18764         ... here.
18765         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
18766         Moved ...
18767         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
18768         ... here.
18769         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
18770         Moved ...
18771         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
18772         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
18773         Moved ...
18774         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
18775         ... here.
18776         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
18777         Moved ...
18778         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
18779         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
18780         Moved ...
18781         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
18782         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
18783         Moved ...
18784         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
18785         ... here.
18786         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
18787         Moved ...
18788         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
18789         ... here.
18790         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
18791         Moved ...
18792         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
18793         ... here.
18794         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
18795         Moved ...
18796         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
18797         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
18798         Moved ...
18799         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
18800         ... here.
18801         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
18802         Moved ...
18803         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
18804         ... here.
18805         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
18806         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
18807         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
18808         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
18809         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
18810         Moved ...
18811         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
18812         ... here.
18813         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
18814         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
18815         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
18816         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
18817         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
18818         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
18819         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
18820         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
18821         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
18822         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
18823         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
18824         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
18825         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
18826         Moved ...
18827         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
18828         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
18829         Moved ...
18830         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
18831         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
18832         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
18833         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
18834         Moved ...
18835         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
18836         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
18837         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
18838         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
18839         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
18840         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
18841         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
18843 2014-06-10  Wilco  <wdijkstr@arm.com>
18845         * math/test-fenv-return.c: New file.
18846         * math/Makefile: Add new test test-fenv-return.
18848 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
18850         [BZ #17042]
18851         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
18852         when x - 1 is zero.
18853         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
18854         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
18855         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
18856         0.0L for an argument of 1.0L.
18857         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
18858         Likewise.
18859         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
18860         value when x - 1 is zero.
18861         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
18862         * sysdeps/i386/fpu/libm-test-ulps: Update.
18863         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18865 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
18867         [BZ #15119]
18868         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
18870 2014-06-09  Roland McGrath  <roland@hack.frob.com>
18872         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
18873         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
18875 2014-06-09  Roland McGrath  <roland@hack.frob.com>
18877         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18878         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
18880         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18881         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
18883         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18884         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
18886         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18887         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
18889         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
18890         if not already defined.
18891         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
18892         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
18893         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
18894         (TLS_INIT_TP): Use it.
18895         (TLS_DEFINE_INIT_TP): New macro.
18896         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
18898 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
18900         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
18901         constant.
18902         [POSIX] (IXANY): Likewise.
18903         [POSIX] (OLCUC): Likewise.
18904         [POSIX || POSIX2008] (CBAUD): Do not allow.
18905         [POSIX || POSIX2008] (DEFECHO): Likewise.
18906         [POSIX || POSIX2008] (ECHOCTL): Likewise.
18907         [POSIX || POSIX2008] (ECHOKE): Likewise.
18908         [POSIX || POSIX2008] (ECHOPRT): Likewise.
18909         [POSIX || POSIX2008] (EXTA): Likewise.
18910         [POSIX || POSIX2008] (EXTB): Likewise.
18911         [POSIX || POSIX2008] (FLUSHO): Likewise.
18912         [POSIX || POSIX2008] (LOBLK): Likewise.
18913         [POSIX || POSIX2008] (PENDIN): Likewise.
18914         [POSIX || POSIX2008] (SWTCH): Likewise.
18915         [POSIX || POSIX2008] (VDISCARD): Likewise.
18916         [POSIX || POSIX2008] (VDSUSP): Likewise.
18917         [POSIX || POSIX2008] (VLNEXT): Likewise.
18918         [POSIX || POSIX2008] (VREPRINT): Likewise.
18919         [POSIX || POSIX2008] (VSTATUS): Likewise.
18920         [POSIX || POSIX2008] (VWERASE): Likewise.
18921         (B*): Change to B[0123456789]*.
18922         * conform/data/time.h-data [POSIX || UNIX98]
18923         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
18924         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
18925         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
18926         [POSIX] (tm_*): Do not allow.
18928 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
18930         * Makefile (install): Don't set LANGUAGE.
18931         * Makefile.in (install): Likewise.
18932         * assert/Makefile (test-assert-ENV): Remove variable.
18933         (test-assert-perr-ENV): Likewise.
18934         * elf/Makefile (neededtest4-ENV): Likewise.
18935         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18936         [$(cross-compiling) = no]: Don't set LANGUAGE.
18937         * io/ftwtest-sh (LANG): Remove variable.
18938         * libio/Makefile (tst-widetext-ENV): Likewise.
18939         * manual/install.texi (Running make install): Don't refer to
18940         environment settings for make install.
18941         * INSTALL: Regenerated.
18942         * nptl/tst-tls6.sh: Don't set LANG.
18943         * posix/globtest.sh (LANG): Remove variable.
18944         * string/Makefile (tester-ENV): Likewise.
18945         (inl-tester-ENV): Likewise.
18946         (noinl-tester-ENV): Likewise.
18947         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18948         [$(cross-compiling) = no]: Don't set LANGUAGE.
18949         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
18950         without explicit environment settings.
18952 2014-06-06  Roland McGrath  <roland@hack.frob.com>
18954         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
18955         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
18956         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
18957         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
18959 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
18961         * crypt/crypt-private.h [DOS]: Add some includes taken from the
18962         other files in the crypt directory.
18963         * crypt/crypt.c: Remove duplicate includes.
18964         * crypt/crypt-entry.c: Likewise.
18965         * crypt/crypt_util.c: Likewise.
18967 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
18969         * Makeconfig (run-program-env): New variable.
18970         (run-program-prefix-before-env): Likewise.
18971         (run-program-prefix-after-env): Likewise.
18972         (run-program-prefix): Define in terms of new variables.
18973         (built-program-cmd-before-env): New variable.
18974         (built-program-cmd-after-env): Likewise.
18975         (built-program-cmd): Define in terms of new variables.
18976         (test-program-prefix-before-env): New variable.
18977         (test-program-prefix-after-env): Likewise.
18978         (test-program-prefix): Define in terms of new variables.
18979         (test-program-cmd-before-env): New variable.
18980         (test-program-cmd-after-env): Likewise.
18981         (test-program-cmd): Define in terms of new variables.
18982         * Rules (make-test-out): Use $(run-program-env).
18983         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
18984         (help): Do not mention environment variables.  Mention
18985         --timeoutfactor option.
18986         (timeoutfactor): New variable.
18987         (blacklist_exports): Remove function.
18988         (exports): Remove variable.
18989         (command): Do not include ${exports}.
18990         * manual/install.texi (Configuring and compiling): Do not mention
18991         test wrappers preserving environment variables.  Mention that last
18992         assignment to a variable must take precedence.
18993         * INSTALL: Regenerated.
18994         * benchtests/Makefile (run-bench): Use $(run-program-env).
18995         * catgets/Makefile ($(objpfx)test1.cat): Use
18996         $(built-program-cmd-before-env), $(run-program-env) and
18997         $(built-program-cmd-after-env).
18998         ($(objpfx)test2.cat): Do not specify environment variables
18999         explicitly.
19000         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
19001         $(run-program-env) and $(built-program-cmd-after-env).
19002         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
19003         $(run-program-env) and $(test-program-cmd-after-env).
19004         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
19005         explicitly.
19006         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
19007         run_program_env and test_program_cmd_after_env arguments.
19008         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
19009         * elf/tst-pathopt.sh: Use run_program_env argument.
19010         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
19011         $(test-wrapper-env) and $(run-program-env).
19012         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
19013         run_program_env arguments.
19014         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
19015         * intl/Makefile ($(objpfx)tst-gettext.out): Use
19016         $(test-program-prefix-before-env), $(run-program-env) and
19017         $(test-program-prefix-after-env).
19018         ($(objpfx)tst-gettext2.out): Likewise.
19019         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
19020         run_program_env and test_program_prefix_after_env arguments.
19021         * intl/tst-gettext2.sh: Likewise.
19022         * intl/tst-gettext4.sh: Do not set environment variables
19023         explicitly.
19024         * intl/tst-gettext6.sh: Likewise.
19025         * intl/tst-translit.sh: Likewise.
19026         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
19027         $(test-program-prefix-before-env), $(run-program-env) and
19028         $(test-program-prefix-after-env).
19029         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
19030         run_program_env and test_program_prefix_after_env arguments.
19031         * math/Makefile (run-regen-ulps): Use $(run-program-env).
19032         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
19033         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
19034         explicitly with each use of ${test_wrapper_env}.
19035         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
19036         $(test-program-prefix-before-env), $(run-program-env) and
19037         $(test-program-prefix-after-env).
19038         * posix/tst-getconf.sh: Do not set environment variables
19039         explicitly.
19040         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
19041         run_program_env and test_program_prefix_after_env arguments.
19042         * stdio-common/tst-printf.sh: Do not set environment variables
19043         explicitly.
19044         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
19045         $(test-program-prefix-before-env), $(run-program-env) and
19046         $(test-program-prefix-after-env).
19047         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
19048         run_program_env and test_program_prefix_after_env arguments.
19049         Split $test calls into $test_pre and $test.
19050         * timezone/Makefile (build-testdata): Use
19051         $(built-program-cmd-before-env), $(run-program-env) and
19052         $(built-program-cmd-after-env).
19054 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19056         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
19057         strlen for non SHARED builds.
19059 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19061         * nptl/allocatestack.c (check_list): Inlined function...
19062         (__reclaim_stacks): ... here.
19064 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
19066         [BZ #15698]
19067         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
19068         memory overrun.
19070 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
19072         * Rules (make-test-out): Include
19073         LOCPATH=$(common-objpfx)localedata in default environment.
19074         * debug/Makefile (tst-chk1-ENV): Remove variable.
19075         (tst-chk2-ENV): Likewise.
19076         (tst-chk3-ENV): Likewise.
19077         (tst-chk4-ENV): Likewise.
19078         (tst-chk5-ENV): Likewise.
19079         (tst-chk6-ENV): Likewise.
19080         (tst-lfschk1-ENV): Likewise.
19081         (tst-lfschk2-ENV): Likewise.
19082         (tst-lfschk3-ENV): Likewise.
19083         (tst-lfschk4-ENV): Likewise.
19084         (tst-lfschk5-ENV): Likewise.
19085         (tst-lfschk6-ENV): Likewise.
19086         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
19087         (tst-iconv7-ENV): Likewise.
19088         * intl/Makefile (LOCPATH-ENV): Likewise.
19089         (tst-codeset-ENV): Likewise.
19090         (tst-gettext3-ENV): Likewise.
19091         (tst-gettext5-ENV): Likewise.
19092         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
19093         (tst-fopenloc-ENV): Likewise.
19094         (tst-fgetws-ENV): Remove variable.
19095         (tst-ungetwc1-ENV): Likewise.
19096         (tst-ungetwc2-ENV): Likewise.
19097         (bug-ungetwc2-ENV): Likewise.
19098         (tst-swscanf-ENV): Likewise.
19099         (bug-ftell-ENV): Likewise.
19100         (tst-fgetwc-ENV): Likewise.
19101         (tst-fseek-ENV): Likewise.
19102         (tst-ftell-partial-wide-ENV): Likewise.
19103         (tst-ftell-active-handler-ENV): Likewise.
19104         (tst-ftell-append-ENV): Likewise.
19105         * posix/Makefile (tst-fnmatch-ENV): Likewise.
19106         (tst-regexloc-ENV): Likewise.
19107         (bug-regex1-ENV): Likewise.
19108         (tst-regex-ENV): Likewise.
19109         (tst-regex2-ENV): Likewise.
19110         (bug-regex5-ENV): Likewise.
19111         (bug-regex6-ENV): Likewise.
19112         (bug-regex17-ENV): Likewise.
19113         (bug-regex18-ENV): Likewise.
19114         (bug-regex19-ENV): Likewise.
19115         (bug-regex20-ENV): Likewise.
19116         (bug-regex22-ENV): Likewise.
19117         (bug-regex23-ENV): Likewise.
19118         (bug-regex25-ENV): Likewise.
19119         (bug-regex26-ENV): Likewise.
19120         (bug-regex30-ENV): Likewise.
19121         (bug-regex32-ENV): Likewise.
19122         (bug-regex33-ENV): Likewise.
19123         (bug-regex34-ENV): Likewise.
19124         (bug-regex35-ENV): Likewise.
19125         (tst-rxspencer-ENV): Likewise.
19126         (tst-rxspencer-no-utf8-ENV): Likewise.
19127         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
19128         (tst-sscanf-ENV): Likewise.
19129         (tst-swprintf-ENV): Likewise.
19130         (tst-swscanf-ENV): Likewise.
19131         (test-vfprintf-ENV): Likewise.
19132         (scanf13-ENV): Likewise.
19133         (bug14-ENV): Likewise.
19134         (tst-grouping-ENV): Likewise.
19135         * stdlib/Makefile (tst-strtod-ENV): Likewise.
19136         (tst-strtod3-ENV): Likewise.
19137         (tst-strtod4-ENV): Likewise.
19138         (tst-strtod5-ENV): Likewise.
19139         (testmb2-ENV): Likewise./
19140         * string/Makefile (tst-strxfrm-ENV): Likewise.
19141         (tst-strxfrm2-ENV): Likewise.
19142         (bug-strcoll1-ENV): Likewise.
19143         (test-strcasecmp-ENV): Likewise.
19144         (test-strncasecmp-ENV): Likewise.
19145         * time/Makefile (tst-strptime-ENV): Likewise.
19146         (tst-ftime_l-ENV): Likewise.
19147         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
19148         (tst-mbrtowc-ENV): Likewise.
19149         (tst-wcrtomb-ENV): Likewise.
19150         (tst-mbrtowc2-ENV): Likewise.
19151         (tst-c16c32-1-ENV): Likewise.
19152         (tst-mbsnrtowcs-ENV): Likewise.
19154 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
19156         * manual/resource.texi (How to get information about the memory
19157         subsystem?): Fix typo.
19158         Reported by Peon de la Parra Ivan <peon@keba.com>
19160 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
19162         [BZ #16882]
19163         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
19164         (pthread_spin_lock): Branch out of spin loop to proper location.
19165         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
19166         (pthread_spin_lock): Likewise.
19168         * nptl/tst-spin4.c: New test.
19169         * nptl/Makefile (tests): Add tst-spin4.
19171 2014-06-03  Andreas Schwab  <schwab@suse.de>
19173         [BZ #15946]
19174         * resolv/res_send.c (send_dg): Reload file descriptor after
19175         calling reopen.
19177 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
19179         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19181 2014-06-03  Richard Henderson  <rth@redhat.com>
19183         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
19184         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
19185         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
19186         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
19187         in the SAVE_PID block.
19188         (__libc_vfork): New alias.
19189         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
19191         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
19192         child in registers, not on the stack.  Remove RESET_PID conditionals.
19193         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
19195 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
19197         * sysdeps/aarch64/libm-test-ulps: Regenerate.
19199 2014-06-03  Wilco  <wdijkstr@arm.com>
19201         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
19202         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
19203         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
19204         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
19205         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
19206         Likewise.
19208 2014-06-03  Wilco  <wdijkstr@arm.com>
19210         * sysdeps/aarch64/fpu/math_private.h
19211         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
19212         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
19213         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
19214         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
19215         Fix declarations.
19217 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19219         * crypt/crypt-private.h: Include ufc-crypt.h.
19220         (__b64_from_24bit): Declare extern.
19221         * crypt/crypt_util.c(__b64_from_24bit): New function.
19222         (b64t): New static const variable.
19223         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
19224         (b64t): Remove variable.
19225         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
19226         * crypt/sha256-crypt.c: Include crypt-private.h.
19227         (b64t): Remove variable.
19228         (__sha256_crypt_r): Remove b64_from_24bit and replace
19229         with __b64_from_24bit.
19230         * crypt/sha512-crypt.c: Likewise.
19232 2014-06-02  Roland McGrath  <roland@hack.frob.com>
19234         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
19235         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
19236         Label the code __libc_vfork rather than __vfork.
19237         [!NOT_IN_libc] (vfork): Define as weak alias.
19238         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
19239         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
19240         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
19242 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
19244         * malloc/malloc.c (malloc_info): Fix format specifier for
19245         n_mmaps.
19247 2014-06-02  Wilco  <wdijkstr@arm.com>
19249         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
19250         FPCR write.
19252 2014-06-02  Wilco  <wdijkstr@arm.com>
19254         [BZ #17009]
19255         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
19256         Rewrite to reduce FPCR/FPSR accesses.
19258 2014-06-01  David S. Miller  <davem@davemloft.net>
19260         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19262 2014-05-31  David S. Miller  <davem@davemloft.net>
19264         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
19265         to occur in round to nearest mode when |x| >= 2.0
19267 2014-05-30  Richard Henderson  <rth@twiddle.net>
19269         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
19270         (PSEUDO_RET_NOERRNO): Remove.
19271         (ret): Don't redefine.
19272         (ret_NOERRNO): Define in terms of ret.
19273         (ret_ERRVAL): Likewise.
19275         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
19276         use of PSEUDO_RET; perform the error check directly.
19278 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
19280         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
19281         with __int128_t.
19283 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19285         * malloc/malloc (malloc_info): Fix formatting.
19287 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19288             Roland McGrath  <roland@hack.frob.com>
19290         * malloc/malloc (malloc_info): Also print mmapped statistics.
19292 2014-05-30  Roland McGrath  <roland@hack.frob.com>
19294         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
19295         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
19297 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
19299         * malloc/malloc.c (malloc_info): Inline mi_arena.
19301 2014-05-29  Richard Henderson  <rth@twiddle.net>
19303         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
19304         Remove comma before expanding ASM_ARGS_##nr.
19305         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
19306         Make _x0 a strict output; make _x8 a strict input; adjust expansion
19307         of ASM_ARGS_##nr.
19308         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
19309         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
19310         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
19311         (ASM_ARGS_1): Add leading comma.
19313         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
19314         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
19315         to __errno_location.
19316         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
19317         Remove the expected plt for __errno_location.
19319         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19320         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
19321         call to __read_tp.
19323         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19324         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
19325         it and break it down.
19326         (DOCARGS_0, DOCARGS_1): Do nothing.
19327         (DOCARGS_2): Update to store into the new stack frame.
19328         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
19329         (UNDOCARGS_1): Update to restore from the new stack frame.
19330         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
19331         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
19333         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19334         (SINGLE_THREAD_P): New parameter for result regno.
19335         (PSEUDO): Update to match; use cbz instead of beq.
19337         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19338         Use ENTRY to define the _nocancel entry point.  Share the syscall
19339         and syscall error check paths with the cancel path.
19340         (PSEUDO_END): New.
19342         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
19343         whitespace; tabs before and after asm mnemonics.
19345 2014-05-29  Eric Wong  <normalperson@yhbt.net>
19347         [BZ #15132]
19348         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19349         Call fstat64 or stat64 internally, depending on arguments passed.
19350         Replace stat buffer argument with file descriptor argument.
19351         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
19352         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
19353         Pass fd to __internal_statvfs instead of calling fstat64.
19354         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
19355         Pass fd to __internal_statvfs64 instead of calling fstat64.
19356         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
19357         Pass -1 to __internal_statvfs instead of calling stat64.
19358         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
19359         Pass -1 to __internal_statvfs64 instead of calling stat64.
19361 2014-05-28  Roland McGrath  <roland@hack.frob.com>
19363         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
19364         that was previously under [RESET_PID].
19365         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
19367         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
19368         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
19370 2014-05-27  Roland McGrath  <roland@hack.frob.com>
19372         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
19374         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
19375         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
19377 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
19379         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
19381 2014-05-27  Andreas Schwab  <schwab@suse.de>
19383         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
19384         TLS_INIT_TP macro.
19385         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
19386         * elf/rtld.c (init_tls, dl_main): Likewise.
19387         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
19388         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
19389         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
19390         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
19391         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
19392         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
19393         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
19394         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
19395         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
19396         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
19397         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
19398         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
19399         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
19400         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
19401         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
19402         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
19403         * sysdeps/generic/tls.h: Update description.
19405 2014-05-27  Will Newton  <will.newton@linaro.org>
19407         [BZ #16990]
19408         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
19409         and restore r2 rather than just restoring.
19411 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19413         [BZ #16724]
19414         * libio/tst-ftell-append.c: New test case.
19415         * libio/Makefile (tests): Add test case.
19416         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
19417         append mode.
19418         * libio/wfileops.c (do_ftell_wide): Likewise.
19420 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19422         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19424         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
19425         ...
19426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
19427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19428         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
19429         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
19430         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
19431         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
19432         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
19433         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
19434         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
19435         Moved ...
19436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
19437         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
19438         Moved ...
19439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
19440         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
19441         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
19442         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
19443         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
19444         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
19445         ...
19446         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
19447         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
19448         Moved ...
19449         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
19450         here.
19451         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
19452         ...
19453         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
19454         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
19455         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
19457         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
19458         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
19459         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
19460         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
19462         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
19463         merge into ...
19464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
19465         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
19466         ...
19467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
19468         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
19469         ...
19470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
19471         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
19472         Moved ...
19473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
19474         here.
19475         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
19476         Moved ...
19477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
19478         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
19479         Moved ...
19480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
19482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
19483         conditional [RESET_PID].
19484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
19485         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
19486         removed.
19487         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
19488         removed.
19490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
19491         <tcb-offsets.h>.
19492         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19493         (__libc_vfork): New strong alias.
19494         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
19495         removed.
19496         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
19497         Removed.
19499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
19500         <tcb-offsets.h>.
19501         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
19502         (__libc_vfork): New strong alias.
19503         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
19504         removed.
19505         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
19506         removed.
19508 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
19510         * malloc/malloc.c (mi_arena): New function.
19511         (malloc_info): Remove nested function mi_arena. Call non-nosted
19512         function mi_arena.
19514 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19516         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
19517         by insrwi.
19518         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
19519         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
19520         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
19521         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
19522         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
19523         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
19524         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
19526 2014-05-26  Andreas Schwab  <schwab@suse.de>
19528         [BZ #16984]
19529         * locale/programs/repertoire.c (repertoire_read): Add slash
19530         between I18NPATH element and file name.
19531         * locale/programs/locfile.c (locfile_read): Likewise.
19533 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
19535         * nptl/pthread_mutexattr_settype.c
19536         (__pthread_mutexattr_settype):
19537         Disable lock elision for PTHREAD_MUTEX_NORMAL.
19539 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
19541         * nptl/tst-mutex5 (do_test):
19542         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
19544 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19546         * benchtests/README: Document 'init' directive.
19547         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
19548         BENCH_INIT.
19549         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
19550         (parse_file): Recognize 'init' directive.
19552 2014-05-26  Kyle McMartin  <kyle@redhat.com>
19554         [BZ #16796]
19555         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
19556         alignment of struct pthread.
19558 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19560         [BZ #16878]
19561         * nscd/netgroupcache.c (addgetnetgrentX): Look for
19562         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
19563         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
19564         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
19566 2014-05-25  Richard Henderson  <rth@twiddle.net>
19568         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19569         (SINGLE_THREAD_P_PIC): Remove.
19570         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
19571         (SINGLE_THREAD_P_PIC): Remove.
19573         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
19574         branch to syscall error ...
19575         (PSEUDO): ... here.
19576         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
19577         from __local_syscall_error to .Lsyscall_error.
19578         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
19579         (SYSCALL_ERROR): Update label name.
19581         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19582         Do not use DOARGS/UNDOARGS.
19583         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
19584         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
19585         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
19586         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
19587         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
19589         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
19590         block comment.
19592         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
19593         define if !NOT_IN_libc.
19594         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
19595         define with non-default symbol versions.
19597 2014-05-23  Richard Henderson  <rth@twiddle.net>
19599         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
19600         (vfork, __vfork): Define via compat_symbol.
19602         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
19603         [!HAVE_IFUNC] (vfork_compat): Remove.
19604         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
19606 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
19608         [BZ #16978]
19609         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
19610         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
19611         variable.
19613 2014-05-23  Richard Henderson  <rth@twiddle.net>
19615         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
19616         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
19617         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
19618         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
19620         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
19621         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
19622         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
19623         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
19624         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
19625         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
19626         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
19627         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
19628         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
19629         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
19630         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
19631         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
19632         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
19633         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
19634         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
19635         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
19636         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
19637         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
19638         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
19639         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
19640         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
19641         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
19642         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
19643         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
19644         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
19645         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
19646         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
19647         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
19648         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
19649         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
19650         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
19651         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
19652         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
19653         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
19654         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
19655         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
19656         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
19657         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
19658         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
19659         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
19660         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
19661         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
19662         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
19663         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
19664         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
19665         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
19666         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
19667         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
19668         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
19669         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
19670         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
19671         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
19672         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
19673         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
19674         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
19675         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
19677         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
19678         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
19679         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
19680         before exiting on error.
19681         (__libc_vfork): New strong alias.
19682         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
19683         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
19685         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
19686         that was previously under [RESET_PID].
19687         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
19689         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
19691 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
19693         [BZ #16977]
19694         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
19695         value when x - 1 is zero.
19696         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
19697         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
19698         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
19699         0.0L for an argument of 1.0L.
19700         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
19701         Likewise.
19702         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
19703         value when x - 1 is zero.
19704         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
19705         * sysdeps/i386/fpu/libm-test-ulps: Update.
19706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19708 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
19710         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
19711         alphasort and versionsort.
19713 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19715         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
19716         macro.
19717         [copysignf]: Likewise.
19719 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19721         * crypt/md5-crypt.c: Fix formatting.
19723 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19725         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
19726         (b64_from_24bit): New function.
19728 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19730         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
19731         libc_hidden_builtin_def to ifunc.
19732         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
19733         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
19735 2014-05-21  Roland McGrath  <roland@hack.frob.com>
19737         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
19738         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
19740 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
19742         * nscd/Depend (linuxthreads): Remove.
19743         (nptl): Add.
19744         * resolv/Depend (linuxthreads): Remove.
19745         * rt/Depend (linuxthreads): Remove.
19747         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
19748         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
19749         $(common-objpfx)elf/.
19750         (link-libc-before-gnulib): Likewise.
19751         (elfobjdir): Remove variable.
19752         * Makefile (install): Use $(elf-objpfx) instead of
19753         $(common-objpfx)elf/.
19754         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
19755         $(elfobjdir)/.
19756         (link-libc-deps): Likewise.
19757         ($(common-objpfx)libc.so): Likewise.
19758         ($(common-objpfx)linkobj/libc.so): Likewise.
19759         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
19760         instead of $(common-objpfx)elf/.
19761         (symbolic-link-list): Likewise.
19762         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19763         [$(cross-compiling) = no]: Likewise.
19764         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
19765         $(elfobjdir)/.
19766         (static-gnulib-arch): Likewise.
19767         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19768         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
19769         $(common-objpfx)elf/.
19771 2014-05-21  Richard Henderson  <rth@redhat.com>
19773         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19774         (SINGLE_THREAD_P): Use the correct width load.  Fold
19775         into the ldr offset.
19777         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
19778         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
19780 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
19782         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
19783         (libgcc_s_resume): Use __attribute_used__.
19784         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
19785         Likewise.
19787 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19789         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
19790         optimization when used with float constants.
19792         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19794 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
19796         [BZ #16915]
19797         * locale/nl_langinfo_l.c: Make direct reference to every
19798         _nl_current_CATEGORY symbol.
19799         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
19800         (tests-static): Add tst-langinfo-static.
19801         (tests-special): Add tst-langinfo-static.out.
19802         ($(objpfx)tst-langinfo.out): Redirect output.
19803         ($(objpfx)tst-langinfo-static.out): New.
19804         * localedata/tst-langinfo.sh: Send output to stdout.
19805         * localedata/tst-langinfo-static.c: New file.
19807         [BZ #16965]
19808         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
19809         when the shift amount is modulo the limb size.
19811 2014-05-20  Richard Henderson  <rth@redhat.com>
19813         [BZ #16967]
19814         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
19815         Change type of sa_flags from unsigned int to int.
19817         [BZ #16966]
19818         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
19820         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
19822 2014-05-20  Will Newton  <will.newton@linaro.org>
19824         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19825         Test the return value of the system call in the nocancel case.
19827 2014-05-20  Will Newton  <will.newton@linaro.org>
19828             Yvan Roux  <yvan.roux@linaro.org>
19830         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
19831         #include of asm/ptrace.h.
19832         (PTRACE_GET_THREAD_AREA): Remove #undef.
19833         (PTRACE_GETHBPREGS): Likewise.
19834         (PTRACE_SETHBPREGS): Likewise.
19835         (struct user_regs_struct): New structure.
19836         (struct user_fpsimd_struct): New structure.
19837         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
19838         #include of asm/ptrace.h and second #include of sys/user.h.
19839         (PTRACE_GET_THREAD_AREA): Remove #undef.
19840         (PTRACE_GETHBPREGS): Likewise.
19841         (PTRACE_SETHBPREGS): Likewise.
19842         (ELF_NGREG): Use new struct user_regs_struct.
19843         (elf_fpregset_t): Use new struct user_fpsimd_struct.
19845 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19847         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
19848         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
19850 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
19852         [BZ #16958]
19853         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
19854         membar to avoid block loads/stores to overlap previous stores.
19856 2014-05-17  Richard Henderson  <rth@redhat.com>
19858         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
19859         Create the __##syscall_name##_nocancel entry point.
19860         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
19861         Remove; let the sysdep-cancel.h code create it.
19863 2014-05-17  David S. Miller  <davem@davemloft.net>
19865         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
19866         Protect with __USE_GNU.
19867         (TIOCSET_TEMPT): Likewise.
19868         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
19869         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
19870         these are already provided in bits/ioctl-types.h
19872 2014-05-16  Roland McGrath  <roland@hack.frob.com>
19874         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
19875         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
19877         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
19878         Use wait4 regardless of [__NR_waitpid].
19880 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
19882         PR libgcc/60166
19883         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
19884         (_FP_NANSIGN_Q): Set the quiet bit.
19886 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
19888         * benchtests/Makefile
19889         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
19890         not $(common-objpfx)math/libm.so.
19891         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
19892         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
19893         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
19894         $(common-objpfx)dlfcn/libdl.so.
19895         ($(objpfx)tst-audit8): Depend on $(libm), not
19896         $(common-objpfx)math/libm.so.
19897         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
19898         not $(common-objpfx)dlfcn/libdl.so.
19899         * math/Makefile
19900         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19901         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
19902         [$(build-shared) = yes].
19903         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
19904         $(common-objpfx)nptl/libpthread.so.
19905         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
19906         $(common-objpfx)math/libm.so$(libm.so-version) or
19907         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
19908         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
19909         $(common-objpfx)dlfcn/libdl.so.
19910         * setjmp/Makefile (link-libm): Remove variable.
19911         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
19912         * stdio-common/Makefile (link-libm): Remove variable.
19913         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
19914         * stdlib/Makefile (link-libm): Remove variable.
19915         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
19916         ($(objpfx)tst-strtod-round): Likewise.
19917         ($(objpfx)tst-tininess): Likewise.
19918         ($(objpfx)tst-strtod-underflow): Likewise.
19919         ($(objpfx)tst-strtod6): Likewise.
19920         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
19921         $(libdl), not $(common-objpfx)nptl/libpthread.so and
19922         $(common-objpfx)dlfcn/libdl.so.
19924 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19926         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
19927         BSD terminal modes definitions.
19929 2014-05-16  Roland McGrath  <roland@hack.frob.com>
19931         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
19932         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
19934         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
19935         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
19936         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
19937         Don't do #include_next.
19938         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
19939         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
19940         Don't do #include_next.
19941         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
19942         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
19943         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
19944         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
19946 2014-05-16  Allan McRae  <allan@archlinux.org>
19948         * po/sv.po: Update Swedish translation from translation project.
19950         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
19951         in sed expression.
19953 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
19955         [BZ #16917]
19956         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
19957         errno if the TIOCGPTN ioctl fails with an error different than
19958         EINVAL.
19959         * login/tst-ptsname.c: New file.
19960         * login/Makefile (tests): Add tst-ptsname.
19962         [BZ #16943]
19963         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
19964         and prlimit64.
19966 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19968         [BZ #16849]
19969         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
19970         herrno to return EAI_AGAIN.
19972 2014-05-14  Roland McGrath  <roland@hack.frob.com>
19974         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
19975         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
19976         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
19977         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
19978         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
19979         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
19980         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
19981         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
19982         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
19983         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
19984         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
19985         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
19986         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
19987         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
19988         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
19989         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
19990         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
19991         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
19992         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
19993         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
19994         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
19995         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
19996         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
19997         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
19998         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
19999         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
20000         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
20001         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
20002         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
20003         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
20004         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
20005         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
20006         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
20007         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
20008         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20009         Moved ...
20010         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
20011         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
20012         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
20013         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
20014         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
20015         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
20016         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
20017         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
20018         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
20019         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
20020         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
20021         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
20022         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
20023         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
20024         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
20025         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
20026         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
20027         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
20028         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
20029         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
20030         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
20031         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
20032         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
20033         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
20034         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
20035         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
20036         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
20037         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
20038         Moved ...
20039         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
20040         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
20041         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
20042         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
20043         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
20044         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
20045         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
20046         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
20047         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
20048         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
20049         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
20050         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
20051         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
20052         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
20053         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
20054         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
20055         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
20056         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
20057         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
20058         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
20059         Moved ...
20060         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
20061         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
20062         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
20064         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
20065         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
20066         (libpthread-sysdep_routines): Add elision-related stuff here instead.
20067         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
20068         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
20069         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
20070         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
20071         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
20072         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
20073         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
20074         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
20075         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
20076         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
20077         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
20078         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
20079         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
20080         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
20081         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
20082         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
20083         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
20084         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
20085         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
20086         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
20087         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
20088         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
20089         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
20090         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
20091         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
20092         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
20093         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
20094         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
20096         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
20097         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
20099         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
20100         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
20101         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
20102         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
20103         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
20104         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
20105         Moved ...
20106         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
20107         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
20108         Moved ...
20109         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
20110         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
20111         Moved ...
20112         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
20113         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
20114         Moved ...
20115         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
20116         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
20117         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
20118         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
20119         Moved ...
20120         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
20121         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
20122         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
20123         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
20124         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
20125         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
20126         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
20127         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
20128         Moved ...
20129         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
20130         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
20131         Moved ...
20132         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
20133         ... here.
20134         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
20135         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
20136         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
20137         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
20138         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
20139         Moved ...
20140         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
20141         ... here.
20142         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
20143         Moved ...
20144         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
20145         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
20146         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
20147         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
20148         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
20149         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
20150         Moved ...
20151         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
20152         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
20153         Moved ...
20154         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
20155         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
20156         Moved ...
20157         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
20158         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
20159         Moved ...
20160         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
20161         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
20162         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
20163         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
20164         Moved ...
20165         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
20166         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
20167         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
20168         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
20169         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
20170         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
20171         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
20172         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
20173         Moved ...
20174         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
20175         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
20176         Moved ...
20177         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
20178         ... here.
20179         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
20180         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
20181         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
20182         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
20183         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
20184         Moved ...
20185         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
20186         ... here.
20187         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
20188         Moved ...
20189         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
20190         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
20191         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
20192         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
20193         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
20194         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
20195         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
20196         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
20197         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
20198         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
20199         Moved ...
20200         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
20201         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
20202         Moved ...
20203         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
20204         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
20205         Moved ...
20206         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
20207         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
20208         Moved ...
20209         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
20210         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
20211         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
20212         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
20213         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
20214         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
20215         Moved ...
20216         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
20217         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
20218         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
20219         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
20220         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
20221         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
20222         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
20223         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
20224         Moved ...
20225         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
20226         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
20227         Moved ...
20228         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
20229         ... here.
20230         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
20231         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
20232         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
20233         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
20234         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
20235         Moved ...
20236         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
20237         ... here.
20238         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
20239         Moved ...
20240         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
20241         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
20242         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
20243         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
20244         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
20245         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
20246         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
20247         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
20248         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
20249         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
20250         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
20252         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
20253         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
20255         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
20256         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
20258         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
20259         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
20260         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
20261         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
20262         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
20263         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
20264         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
20265         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
20266         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
20267         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
20268         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
20269         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
20270         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
20271         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
20272         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
20273         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
20274         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
20275         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
20276         Moved ...
20277         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
20278         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
20279         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
20280         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
20281         Moved ...
20282         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
20283         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
20284         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
20285         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
20286         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
20287         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
20288         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
20289         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
20290         Moved ...
20291         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
20292         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
20293         Moved ...
20294         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
20295         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
20296         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
20297         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
20298         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
20299         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
20300         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
20301         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
20302         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
20303         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
20304         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
20305         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
20306         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
20307         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
20308         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
20309         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
20310         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
20312         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
20313         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
20314         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
20315         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
20316         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
20318         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
20319         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
20320         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
20321         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
20322         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
20323         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
20324         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
20325         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
20326         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
20327         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
20329         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
20330         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
20332         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
20333         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
20334         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
20335         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
20336         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
20337         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
20338         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
20339         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
20340         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
20341         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
20342         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
20343         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
20344         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
20345         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
20346         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
20347         Update #include.
20348         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
20349         Likewise.
20350         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
20351         Likewise.
20352         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
20353         Likewise.
20354         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
20355         Likewise.
20356         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
20357         Likewise.
20358         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
20359         Likewise.
20360         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
20361         Likewise.
20362         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
20363         Likewise.
20364         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
20365         Likewise.
20366         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
20367         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
20368         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
20369         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
20370         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
20371         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
20372         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
20373         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
20374         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
20375         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
20376         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
20377         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
20378         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
20379         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
20380         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
20382         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
20383         that was previously under [RESET_PID].
20384         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20385         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
20386         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
20388         * sysdeps/i386/nptl/Implies: New file.
20389         * sysdeps/x86_64/nptl/Implies: New file.
20390         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
20391         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
20392         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
20393         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
20395         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
20396         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20397         (__libc_vfork): New strong alias.
20398         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
20399         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
20401         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
20402         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20403         (__libc_vfork): New strong alias.
20404         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
20405         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
20407         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
20408         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20409         (__libc_vfork): New strong alias.
20410         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
20411         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
20412         * nptl/pt-vfork.c: New file.
20413         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
20414         (libpthread: GLIBC_2.20): New version set (empty).
20416 2014-05-14  Will Newton  <will.newton@linaro.org>
20418         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
20419         rather than #if.
20421 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
20423         [BZ #16564]
20424         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
20425         arguments with exponent 65 or above.
20426         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
20427         arguments 0x1p113L or above.
20428         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
20429         to arguments 0x1p107L or above.
20430         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
20431         positive arguments with exponent 65 or above.
20432         * math/auto-libm-test-in: Add more tests of log1p.
20433         * math/auto-libm-test-out: Regenerated.
20435         [BZ #16928]
20436         * math/s_cacos.c (__cacos): Ensure zero real part of result from
20437         non-finite arguments is +0.
20438         * math/s_cacosf.c (__cacosf): Likewise.
20439         * math/s_cacosl.c (__cacosl): Likewise.
20440         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
20441         * sysdeps/i386/fpu/libm-test-ulps: Update.
20442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20444         [BZ #16927]
20445         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
20446         value.
20447         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
20448         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
20449         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
20450         for explicit high bit of mantissa when testing for argument equal
20451         to 1.
20452         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
20453         * sysdeps/i386/fpu/libm-test-ulps: Update.
20454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20456         [BZ #16516]
20457         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
20458         (__erf): Scale by 16 instead of 8 in potentially underflowing
20459         case.  Ensure exception if result actually underflows.
20460         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
20461         (__erff): Scale by 16 instead of 8 in potentially underflowing
20462         case.  Ensure exception if result actually underflows.
20463         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
20464         (efx8): Remove variable.
20465         (__erfl): Scale by 16 instead of 8 in potentially underflowing
20466         case.  Ensure exception if result actually underflows.
20467         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
20468         (efx8): Remove variable.
20469         (__erfl): Scale by 16 instead of 8 in potentially underflowing
20470         case.  Ensure exception if result actually underflows.
20471         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
20472         (efx8): Remove variable.
20473         (__erfl): Scale by 16 instead of 8 in potentially underflowing
20474         case.  Ensure exception if result actually underflows.
20475         * math/auto-libm-test-in: Add more tests of erf.
20476         * math/auto-libm-test-out: Regenerated.
20478 2014-05-14  Andreas Schwab  <schwab@suse.de>
20480         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
20481         Remove code conditionalized on USE___THREAD.
20483         * config.h.in (HAVE_PT_CHOWN): Define as 0.
20484         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
20485         not definedness.
20487 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
20489         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
20490         Define unconditionally.
20491         (__ASSUME_O_CLOEXEC): Likewise.
20492         (__ASSUME_SOCK_CLOEXEC): Likewise.
20493         (__ASSUME_IN_NONBLOCK): Likewise.
20494         (__ASSUME_PIPE2): Likewise.
20495         (__ASSUME_EVENTFD2): Likewise.
20496         (__ASSUME_SIGNALFD4): Likewise.
20497         (__ASSUME_DUP3): Likewise.
20498         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20499         (__ASSUME_DUP3): Do not define.
20500         (__ASSUME_EVENTFD2): Likewise.
20501         (__ASSUME_IN_NONBLOCK): Likewise.
20502         (__ASSUME_O_CLOEXEC): Likewise.
20503         (__ASSUME_PIPE2): Likewise.
20504         (__ASSUME_SIGNALFD4): Likewise.
20505         (__ASSUME_SOCK_CLOEXEC): Likewise.
20506         (__ASSUME_UTIMES): Undefine.
20507         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20508         (__ASSUME_UTIMES): Do not define.
20509         (__ASSUME_O_CLOEXEC): Likewise.
20510         (__ASSUME_SOCK_CLOEXEC): Likewise.
20511         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
20512         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
20513         0x020621].
20514         (__ASSUME_PIPE2): Likewise.
20515         (__ASSUME_EVENTFD2): Likewise.
20516         (__ASSUME_SIGNALFD4): Likewise.
20517         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
20518         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
20519         Do not define.
20520         (__ASSUME_EVENTFD2): Likewise.
20521         (__ASSUME_SIGNALFD4): Likewise.
20522         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20523         (__ASSUME_32BITUIDS): Likewise.
20524         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
20525         (__ASSUME_IPC64): Likewise.
20526         (__ASSUME_ST_INO_64_BIT): Likewise.
20527         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
20528         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
20529         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20530         (__ASSUME_UTIMES): Do not define.
20531         (__ASSUME_PSELECT): Likewise.
20532         (__ASSUME_PPOLL): Likewise.
20533         (__ASSUME_O_CLOEXEC): Likewise.
20534         (__ASSUME_SOCK_CLOEXEC): Likewise.
20535         (__ASSUME_IN_NONBLOCK): Likewise.
20536         (__ASSUME_PIPE2): Likewise.
20537         (__ASSUME_EVENTFD2): Likewise.
20538         (__ASSUME_SIGNALFD4): Likewise.
20539         (__ASSUME_DUP3): Likewise.
20540         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20541         (__ASSUME_UTIMES): Likewise.
20542         (__ASSUME_O_CLOEXEC): Likewise.
20543         (__ASSUME_SOCK_CLOEXEC): Likewise.
20544         (__ASSUME_IN_NONBLOCK): Likewise.
20545         (__ASSUME_PIPE2): Likewise.
20546         (__ASSUME_EVENTFD2): Likewise.
20547         (__ASSUME_SIGNALFD4): Likewise.
20548         (__ASSUME_DUP3): Likewise.
20549         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20550         (__ASSUME_UTIMES): Likewise.
20551         (__ASSUME_O_CLOEXEC): Likewise.
20552         (__ASSUME_SOCK_CLOEXEC): Likewise.
20553         (__ASSUME_IN_NONBLOCK): Likewise.
20554         (__ASSUME_PIPE2): Likewise.
20555         (__ASSUME_EVENTFD2): Likewise.
20556         (__ASSUME_SIGNALFD4): Likewise.
20557         (__ASSUME_DUP3): Likewise.
20558         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
20559         Likewise.
20560         (__ASSUME_UTIMES): Likewise.
20561         (__ASSUME_EVENTFD2): Likewise.
20562         (__ASSUME_SIGNALFD4): Likewise.
20563         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20564         (__ASSUME_O_CLOEXEC): Likewise.
20565         (__ASSUME_SOCK_CLOEXEC): Likewise.
20566         (__ASSUME_IN_NONBLOCK): Likewise.
20567         (__ASSUME_PIPE2): Likewise.
20568         (__ASSUME_EVENTFD2): Likewise.
20569         (__ASSUME_SIGNALFD4): Likewise.
20570         (__ASSUME_DUP3): Likewise.
20571         (__ASSUME_UTIMES): Undefine.
20573         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
20574         feclearexcept.  Remove symbol versioning code.
20575         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
20576         symbol versioning code.
20577         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
20578         symbol versioning code.
20579         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
20580         feupdateenv.  Remove symbol versioning code.
20581         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
20582         fegetexceptflag.  Remove symbol versioning code.
20583         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
20584         fesetexceptflag.  Remove symbol versioning code.
20585         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
20586         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
20587         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
20588         (__posix_fadvise64_l32): Remove prototype.
20589         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
20590         code.
20592 2014-05-13  Roland McGrath  <roland@hack.frob.com>
20594         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
20595         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
20596         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
20597         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
20599 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
20601         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
20602         current working directory
20604 2014-05-13  Roland McGrath  <roland@hack.frob.com>
20606         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
20607         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
20608         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
20609         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
20610         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
20611         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
20612         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
20613         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
20614         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
20615         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
20616         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
20617         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
20618         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
20619         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
20620         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
20621         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
20622         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
20623         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
20624         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
20625         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
20626         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
20627         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
20628         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
20629         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
20630         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
20631         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
20632         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
20633         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
20634         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
20635         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
20636         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
20637         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
20638         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
20639         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
20640         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
20641         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
20642         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
20643         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
20644         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
20645         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
20646         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
20647         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
20649         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
20650         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
20652         * sysdeps/unix/sysv/linux/arm/Makefile
20653         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
20654         Add rt-aeabi_unwind_cpp_pr1.
20655         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
20656         Add nptl-aeabi_unwind_cpp_pr1.
20657         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
20658         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
20659         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
20660         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
20661         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
20662         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
20664         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
20665         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
20666         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
20667         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
20669         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
20670         Deconditionalize the code that was previously under [RESET_PID].
20671         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
20673         * sysdeps/generic/exit-thread.h: New file.
20674         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
20675         * include/unistd.h (__exit_thread): Remove declaration.
20676         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
20677         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
20678         * csu/libc-start.c: Include <exit-thread.h>.
20679         (LIBC_START_MAIN): Pass no argument to __exit_thread.
20680         * nptl/pthread_create.c: Include <exit-thread.h>.
20681         (start_thread): Call __exit_thread in place of __exit_thread_inline.
20682         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
20683         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
20684         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
20685         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
20686         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
20687         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
20688         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
20689         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
20690         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
20691         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
20692         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
20693         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
20694         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
20695         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
20696         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
20697         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
20699 2014-05-13  Andreas Schwab  <schwab@suse.de>
20701         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
20703 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
20705         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
20706         (__ASSUME_UTIMES): Do not condition on kernel version.
20707         (__ASSUME_PSELECT): Define unconditionally.
20708         (__ASSUME_PPOLL): Likewise.
20709         (__ASSUME_ATFCTS): Likewise.
20710         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
20711         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
20712         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
20713         (__ASSUME_UTIMENSAT): Define unconditionally.
20714         (__ASSUME_PRIVATE_FUTEX): Likewise.
20715         (__ASSUME_FALLOCATE): Likewise.
20716         (__ASSUME_O_CLOEXEC): Likewise.
20717         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
20718         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
20719         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
20720         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
20721         (__ASSUME_IN_NONBLOCK): Likewise.
20722         (__ASSUME_PIPE2): Likewise.
20723         (__ASSUME_EVENTFD2): Likewise.
20724         (__ASSUME_SIGNALFD4): Likewise.
20725         (__ASSUME_DUP3): Likewise.
20726         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20727         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
20728         (__ASSUME_AT_RANDOM): Likewise.
20729         (__ASSUME_PREADV): Likewise.
20730         (__ASSUME_PWRITEV): Likewise.
20731         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
20732         (__ASSUME_F_GETOWN_EX): Define unconditionally.
20733         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
20734         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20735         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
20736         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20737         (__ASSUME_O_CLOEXEC): Define unconditionally.
20738         (__ASSUME_PSELECT): Do not undefine conditionally.
20739         (__ASSUME_PPOLL): Likewise.
20740         (__ASSUME_ATFCTS): Likewise.
20741         (__ASSUME_SET_ROBUST_LIST): Likewise.
20742         (__ASSUME_UTIMENSAT): Likewise.
20743         (__ASSUME_FDATASYNC): Define unconditionally.
20744         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20745         (__ASSUME_SIGFRAME_V2): Likewise.
20746         )__ASSUME_EVENTFD2): Likewise.
20747         (__ASSUME_SIGNALFD4): Likewise.
20748         (__ASSUME_PSELECT): Do not undefine conditionally.
20749         (__ASSUME_PPOLL): Likewise.
20750         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20751         (__ASSUME_PSELECT): Define unconditionally.
20752         (__ASSUME_PPOLL): Likewise.
20753         (__ASSUME_O_CLOEXEC): Likewise.
20754         (__ASSUME_SOCK_CLOEXEC): Likewise.
20755         (__ASSUME_IN_NONBLOCK): Likewise.
20756         (__ASSUME_PIPE2): Likewise.
20757         (__ASSUME_EVENTFD2): Likewise.
20758         (__ASSUME_SIGNALFD4): Likewise.
20759         (__ASSUME_DUP3): Likewise.
20760         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20761         (__ASSUME_O_CLOEXEC): Likewise.
20762         (__ASSUME_SOCK_CLOEXEC): Likewise.
20763         (__ASSUME_IN_NONBLOCK): Likewise.
20764         (__ASSUME_PIPE2): Likewise.
20765         (__ASSUME_EVENTFD2): Likewise.
20766         (__ASSUME_SIGNALFD4): Likewise.
20767         (__ASSUME_DUP3): Likewise.
20768         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20769         (__ASSUME_EVENTFD2): Likewise.
20770         (__ASSUME_SIGNALFD4): Likewise.
20771         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20773 2014-05-12  Andreas Schwab  <schwab@suse.de>
20775         [BZ #16932]
20776         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
20777         (_nss_nis_gethostbyname4_r): Return error if item length is larger
20778         than maximum RPC packet size.
20779         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
20780         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
20781         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
20782         (_nss_nis_getservbyport_r): Likewise.
20784 2014-05-12  Will Newton  <will.newton@linaro.org>
20786         * malloc/Makefile (tests): Add tst-mallopt.
20787         * malloc/tst-mallopt.c: New file.
20789 2014-05-09  Roland McGrath  <roland@hack.frob.com>
20791         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
20792         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
20794 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20796         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
20797         (tst-tlsmod6.so): Likewise.
20799 2014-05-09  Roland McGrath  <roland@hack.frob.com>
20801         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
20803 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
20805         [BZ #16064]
20806         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
20807         and <dl-procinfo.h>.
20808         (__fegetenv): Save SSE state in envp->__eip if supported.
20809         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
20810         envp->__eip if supported.
20811         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
20812         and <dl-procinfo.h>.
20813         (__fesetenv): Always set __eip, __cs_selector, __opcode,
20814         __data_offset and __data_selector in environment to 0.  Set SSE
20815         state if supported.
20816         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
20817         test-fenv-sse.
20818         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
20819         -mfpmath=sse.
20820         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
20822 2014-05-09  Will Newton  <will.newton@linaro.org>
20824         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
20825         and libc_relro_required for ARM.
20826         * sysdeps/arm/preconfigure: Regenerate.
20828 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
20829             Stefan Liebler  <stli@linux.vnet.ibm.com>
20831         * config.make.in (enable-lock-elision): New Makefile variable.
20832         * configure.ac: Likewise.
20833         * configure: Regenerate.
20834         * sysdeps/s390/configure.ac:
20835         Add check for gcc transactions support.
20836         * sysdeps/s390/configure: Regenerate.
20837         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
20838         Build elision files if enabled.
20839         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
20840         Add lock elision support for s390.
20841         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
20842         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
20843         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
20844         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
20845         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
20846         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
20847         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
20848         Likewise.
20849         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
20850         Likewise.
20851         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
20852         Likewise.
20853         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
20854         Likewise.
20855         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
20856         (__lll_timedlock_elision, __lll_lock_elision)
20857         (__lll_unlock_elision, __lll_trylock_elision)
20858         (lll_timedlock_elision, lll_lock_elision)
20859         (lll_unlock_elision, lll_trylock_elision): Add.
20860         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20861         (pthread_mutex_t): Add lock elision support for s390.
20863 2014-05-14  Wilco  <wdijkstr@arm.com>
20865         * sysdeps/arm/fclrexcpt.c: Cleanup.
20866         * sysdeps/arm/fedisblxcpt.c: Cleanup.
20867         * sysdeps/arm/feenablxcpt.c: Cleanup.
20868         * sysdeps/arm/fegetenv.c: Cleanup.
20869         * sysdeps/arm/fegetexcept.c: Cleanup.
20870         * sysdeps/arm/fegetround.c: Cleanup.
20871         * sysdeps/arm/feholdexcpt.c: Cleanup.
20872         * sysdeps/arm/fesetenv.c: Cleanup.
20873         * sysdeps/arm/fesetround.c: Cleanup.
20874         * sysdeps/arm/feupdateenv.c: Cleanup.
20875         * sysdeps/arm/fgetexcptflg.c: Cleanup.
20876         * sysdeps/arm/fraiseexcpt.c: Cleanup.
20877         * sysdeps/arm/fsetexcptflg.c: Cleanup.
20878         * sysdeps/arm/ftestexcept.c: Cleanup.
20879         * sysdeps/arm/get-rounding-mode.h: Cleanup.
20880         * sysdeps/arm/setfpucw.c: Cleanup.
20882 2014-05-09  Will Newton  <will.newton@linaro.org>
20884         * sysdeps/arm/armv7/strcmp.S: New file.
20885         * NEWS: Mention addition of ARMv7 optimized strcmp.
20887 2014-05-08  Roland McGrath  <roland@hack.frob.com>
20889         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
20890         look for %.ac rather than %.in.
20892         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
20893         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
20894         * sysdeps/mach/hurd/configure: Regenerated.
20895         * sysdeps/unix/sysv/linux/configure: Regenerated.
20897         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
20899 2014-05-07  Steve Ellcey  <sellcey@mips.com>
20901         [BZ# 16922]
20902         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
20903         (LONG_SUB): Ditto.
20904         (PTR_SUB): Ditto.
20906 2014-05-07  Andreas Schwab  <schwab@suse.de>
20908         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
20909         when skipping over non-matching result from nscd.
20911 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
20913         [BZ #16876]
20914         * nptl/sockperf.c (client): Check socket return value.
20916         [BZ #16877]
20917         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
20918         nscd security class.
20920 2014-05-06  Roland McGrath  <roland@hack.frob.com>
20922         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
20923         * sysdeps/arm/unwind.h: ... here.
20925 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
20927         [BZ# 16916]
20928         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
20929         Define.
20931 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20933         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
20934         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
20935         multiarch strncpy for PPC64.
20936         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
20937         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
20938         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
20939         multiarch optimizations.
20940         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20941         (__libc_ifunc_impl_list): Likewise.
20942         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
20943         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
20944         multiarch stpncpy for PPC64.
20945         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
20946         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
20948 2014-05-06  Andreas Schwab  <schwab@suse.de>
20950         [BZ #16912]
20951         * gmon/mcount.c (_MCOUNT_DECL): Use
20952         atomic_compare_and_exchange_bool_acq instead of
20953         catomic_compare_and_exchange_bool_acq.
20955 2014-05-05  Roland McGrath  <roland@hack.frob.com>
20957         * elf/Makefile (others, install-bin): Remove pldd.
20958         (pldd-modules): Variable removed.
20959         ($(objpfx)pldd): Target removed.
20960         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
20961         (others, install-bin): Append pldd here.
20962         ($(objpfx)pldd): New target.
20964         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
20965         to 0, so the first #if test emitted later doesn't see it undefined.
20966         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
20967         * sysdeps/gnu/errlist.c: Regenerated.
20969 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20971         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
20972         [libc_hidden_builtin_def]: Define to empty value.
20973         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
20974         [libc_hidden_builtin_def]: Likewise.
20975         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
20976         [libc_hidden_builtin_def]: Likewise.
20977         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
20978         [libc_hidden_builtin_def]: Likewise.
20979         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
20980         __redirect_memcpy and define ifunc as default hidden symbol.
20981         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
20982         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
20984 2014-05-04  Adam Conrad  <adconrad@0c3.net>
20986         * locale/iso-4217.def: Reintroduce XDR currency.
20988 2014-05-04  Allan McRae  <allan@archlinux.org>
20990         * po/eo.po: Update Esperanto translation from translation project.
20992 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
20994         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
20995         and FEATURE_INDEX_MAX to 1.
20996         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
20998 2014-05-01  Steve Ellcey  <sellcey@mips.com>
21000         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
21001         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
21002         * iconvdata/big5.c (ONE_DIRECTION): Define.
21003         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
21004         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
21005         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
21006         * iconvdata/cp932.c (ONE_DIRECTION): Define.
21007         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
21008         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
21009         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
21010         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
21011         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
21012         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
21013         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
21014         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
21015         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
21016         * iconvdata/gbk.c (ONE_DIRECTION): Define.
21017         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
21018         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
21019         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
21020         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
21021         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
21022         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
21023         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
21024         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
21025         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
21026         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
21027         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
21028         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
21029         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
21030         * iconvdata/iso646.c (ONE_DIRECTION): Define.
21031         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
21032         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
21033         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
21034         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
21035         * iconvdata/johab.c (ONE_DIRECTION): Define.
21036         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
21037         * iconvdata/sjis.c (ONE_DIRECTION): Define.
21038         * iconvdata/t.61.c (ONE_DIRECTION): Define.
21039         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
21040         * iconvdata/tscii.c (ONE_DIRECTION): Define.
21041         * iconvdata/uhc.c (ONE_DIRECTION): Define.
21042         * iconvdata/unicode.c (ONE_DIRECTION): Define.
21043         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
21044         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
21045         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
21047 2014-05-01  Roland McGrath  <roland@hack.frob.com>
21049         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
21050         (_IO_JUMPS_OFFSET): Define to 0.
21052         * nptl/sysdeps/pthread/bits/libc-lock.h
21053         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
21054         (__libc_lock_define_initialized_recursive): Always define using
21055         initializer.  Modern compilers treat uninitialized (implicit zero) and
21056         explicit zero initializers the same (i.e. put the datum in bss).
21058 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
21060         * nscd/nscd-client.h: Include <string.h>.
21062 2014-05-01  David S. Miller  <davem@davemloft.net>
21064         [BZ #16885]
21065         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
21066         multiple zero bytes exist at the end of a string.
21067         Reported by Aurelien Jarno <aurelien@aurel32.net>
21069         * string/test-strcmp.c (check): Add explicit test for situations where
21070         there are multiple zero bytes after the first.
21072 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
21074         [BZ #16890]
21075         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
21076         when compiling wprintf.
21077         * stdio-common/tstdiomisc.c (t3): New function.
21078         (main): Call it.
21080 2014-05-01  Steve Ellcey  <sellcey@mips.com>
21082         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
21083         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
21084         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
21085         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
21087 2014-05-01  Steve Ellcey  <sellcey@mips.com>
21089         * stdlib/longlong.h: Updated from GCC.
21091 2014-05-01  Will Newton  <will.newton@linaro.org>
21092             Bernard Ogden  <bernie.ogden@linaro.org>
21094         * NEWS: Update fixed bug list.
21096         [BZ #15119]
21097         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
21099 2014-04-30  David S. Miller  <davem@davemloft.net>
21101         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
21102         (libc_feholdexcept_setround_sparc_ctx): New function.
21103         (libc_fesetenv_sparc_ctx): Likewise.
21104         (libc_feupdateenv_sparc_ctx): Likewise.
21105         (libc_feholdsetround_sparc_ctx): Likewise.
21106         (libc_feholdexcept_setround_ctx): Define.
21107         (libc_feholdexcept_setroundf_ctx): Likewise.
21108         (libc_feholdexcept_setroundl_ctx): Likewise.
21109         (libc_fesetenv_ctx): Likewise.
21110         (libc_fesetenvf_ctx): Likewise.
21111         (libc_fesetenvl_ctx): Likewise.
21112         (libc_feupdateenv_ctx): Likewise.
21113         (libc_feupdateenvf_ctx): Likewise.
21114         (libc_feupdateenvl_ctx): Likewise.
21115         (libc_feresetround_ctx): Likewise.
21116         (libc_feresetroundf_ctx): Likewise.
21117         (libc_feresetroundl_ctx): Likewise.
21118         (libc_feholdsetround_ctx): Likewise.
21119         (libc_feholdsetroundf_ctx): Likewise.
21120         (libc_feholdsetroundl_ctx): Likewise.
21122         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
21123         with __USE_GNU instead of XOPEN cpp guards.
21125         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
21126         0.
21128         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
21129         with XOPEN cpp guards.
21131 2014-04-30  Julian Brown  <julian@codesourcery.com>
21133         [BZ #16888]
21134         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
21135         handling.
21137 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
21139         [BZ #9894]
21140         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
21141         Change to 2.6.32.
21142         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
21143         * sysdeps/unix/sysv/linux/configure: Regenerated.
21144         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
21145         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
21146         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
21147         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
21148         * README: Update reference to required Linux kernel version.
21149         * manual/install.texi (Linux): Update reference to required Linux
21150         kernel headers version.
21151         * INSTALL: Regenerated.
21153         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
21154         header inclusion.
21155         [POSIX] (limits.h): Likewise.
21156         [POSIX] (math.h): Likewise.
21157         [POSIX] (sys/wait.h): Likewise.
21158         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
21159         function.
21160         [POSIX] (stddef.h): Do not allow header inclusion.
21162 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21164         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
21166 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
21168         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
21169         Return immediately after lll_futex_wake.
21171 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21173         [BZ #16791]
21174         * nscd/nscd-client.h (datahead_init_common): Initialize entire
21175         structure.
21176         (datahead_init_pos): Call datahead_init_common early.
21177         (datahead_init_neg): Likewise.
21179         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
21180         datahead_init_neg): New functions.
21181         * nscd/aicache.c (addhstaiX): Use them.
21182         * nscd/grpcache.c (cache_addgr): Likewise.
21183         * nscd/hstcache.c (cache_addhst): Likewise.
21184         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21185         * nscd/netgroupcache.c (do_notfound): Likewise.
21186         (addgetnetgrentX): Likewise.
21187         (addinnetgrX): Likewise.
21188         * nscd/pwdcache.c (cache_addpw): Likewise.
21189         * nscd/servicescache.c (cache_addserv): Likewise.
21191 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21192             Atsushi Onoe  <atsushi@onoe.org>
21194         [BZ #14308]
21195         [BZ #12994]
21196         [BZ #13651]
21197         * resolv/res_query.c (__libc_res_nsearch): Return if at least
21198         one response is valid.
21199         * resolv/res_send.c (send_dg): Check for validity of other
21200         response if the current response is a referral.
21202 2014-04-29  Steve Ellcey  <sellcey@mips.com>
21204         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
21206 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
21208         [BZ #16823]
21209         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
21210         Always divide by positive zero when computing -Inf result.
21211         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
21212         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
21214 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21216         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
21217         FPSCR if value do not change.
21218         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
21219         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
21220         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
21221         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
21222         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
21223         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
21224         function.
21226 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
21228         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
21229         * sysdeps/unix/sysv/linux/hppa: Move directory from
21230         ports/systeps/unix/sysv/linux/hppa.
21231         * README: Update listing for hppa-*-linux-gnu.
21233 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
21235         [BZ #16754]
21236         * manual/stdio.texi (Hook functions): Fix types of stream hook
21237         functions.
21238         [BZ #16854]
21239         * socket/sys/socket.h: Fix typo in comment.
21241 2014-04-28  Wilco  <wdijkstr@arm.com>
21243         * sysdeps/arm/fenv_private.h: New file.
21244         * sysdeps/arm/math_private.h: New file.
21245         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
21247 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
21249         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
21250         with __int128_t.
21251         (La_x86_64_retval): Likewise.
21253 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
21255         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
21256         fpsr if value didn't change.
21257         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
21258         to fpcr if value didn't change.
21259         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
21260         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
21261         fpsr or fpcr if value didn't change.
21262         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
21263         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
21264         fpcr if value didn't change.
21265         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
21266         to fpsr if value didn't change.
21268 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
21270         * nptl/tst-sem3.c: Use test-skeleton.c
21271         (main): Rename to do_test.  Use return instead of
21272         exit.
21273         * nptl/tst-sem4.c: Use test-skeleton.c
21274         (main): Rename to do_test.
21276 2014-04-22  David S. Miller  <davem@davemloft.net>
21278         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
21279         (struct sigaction): New struct member __glibc_reserved0, change
21280         type of sa_flags to int.
21282 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
21284         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
21285         (COUNT_LEADING_ZEROS_0): Define for AArch64.
21287 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
21289         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
21290         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
21292 2014-04-22  Will Newton  <will.newton@linaro.org>
21293             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
21295         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
21296         (__longjmp): Add longjmp and longjmp_target SystemTap
21297         probes.
21298         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
21299         (__sigsetjmp): Add setjmp SystemTap probe.
21301 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
21303         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
21304         match manual order.
21306 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21308         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
21310         * sysdeps/powerpc/fpu/fenv_private.h
21311         (libc_feholdexcept_setroundl_ctx): Define to
21312         libc_feholdexcept_setround_ppc_ctx.
21313         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
21314         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
21315         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
21316         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
21318 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
21320         * sysdeps/aarch64/math-tests.h: New file.
21322 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
21324         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
21325         New.
21326         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21327         Check and set bit_AVX2_Usable.
21328         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
21329         macro.
21330         (bit_AVX2): Likewise.
21331         (index_AVX2_Usable): Likewise.
21332         (CPUID_AVX2): Likewise.
21333         (HAS_AVX2): Likewise.
21335 2014-04-17  Will Newton  <will.newton@linaro.org>
21337         * manual/setjmp.texi (System V contexts): Add note that
21338         calling setcontext on a context created by a call to a
21339         signal handler is undefined.  Update text to note that
21340         setcontext from a signal handler is possible but not
21341         recommended.
21343         [BZ #16629]
21344         * stdlib/tst-setcontext.c: Include signal.h.
21345         (main): Check that the signal stack before and
21346         after swapcontext is the same.
21348         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
21349         Re-implement to restore registers in user code and avoid
21350         rt_sigreturn system call.
21352 2014-04-17  Wilco  <wdijkstr@arm.com>
21354         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
21355         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
21356         * math/test-fenv.c: Skip exception trap tests on targets which only
21357         support non-stop mode.
21359 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
21360             Wilco Dijkstra  <wilco.dijkstra@arm.com>
21362         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
21363         (libc_feholdsetround_aarch64_ctx)
21364         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
21365         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
21366         (libc_feresetround_ctx, libc_feresetroundf_ctx)
21367         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
21368         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
21369         (libc_feresetround_noexl_ctx): Define.
21371 2014-04-16  Richard Henderson  <rth@redhat.com>
21373         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
21375         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
21376         unwind tables.
21378         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
21379         const from the non-libc, non-ldso copy.
21381         * sysdeps/alpha/libm-test-ulps: Regenerate.
21383 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
21384             Wilco Dijkstra  <wilco.dijkstra@arm.com>
21386         * sysdeps/aarch64/fpu/math_private.h: New file.
21388 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
21390         * sysdeps/aarch64/libm-test-ulps: Regenerate.
21392 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
21394         [BZ #16275]
21395         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
21396         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
21397         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
21398         Intel MPX bound registers before _dl_profile_fixup.
21399         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
21400         registers after _dl_profile_fixup.  Save and restore bound
21401         registers bnd0/bnd1 when calling _dl_call_pltexit.
21402         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
21403         (LR_BND_OFFSET): Likewise.
21404         (LRV_BND0_OFFSET): Likewise.
21405         (LRV_BND1_OFFSET): Likewise.
21407 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21409         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
21410         to...
21411         * sysdeps/mach/hurd/i386/tls.h: ... here.
21412         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
21413         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
21414         fields.
21416 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21418         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
21420 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21422         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21424 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21426         [BZ #14770]
21427         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
21428         * sysdeps/s390/configure: Regenerate.
21430         [BZ #16824]
21431         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
21432         Set round-to-nearest internally to reduce error accumulation.
21434 2014-04-16  Alan Modra  <amodra@gmail.com>
21436         [BZ #16740]
21437         [BZ #16619]
21438         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
21439         * math/libm-test.inc (frexp_test_data): Add tests.
21440         * NEWS: Update fixed bug list.
21442 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21444         * benchtests/Makefile: Depend on libraries in build directory.
21445         (bench-math): Separate out math tests.
21446         (bench-pthread): Separate out pthread tests.
21447         (bench): Include math and pthread tests.
21449 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
21451         [BZ #16831]
21452         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
21453         _dl_debug_initialize.
21455         * configure.ac: Remove SELinux header check.
21456         * configure: Regenerate.
21457         * nscd/selinux.c (perms): Array of const char* to permission names.
21458         (nscd_request_avc_has_perm): Call security_deny_unknown to find
21459         default policy. Call string_to_security_class and string_to_av_perm to
21460         translate strings. Enforce default policy and call avs_has_perm with
21461         results of translated strings.
21463 2014-04-13  David S. Miller  <davem@davemloft.net>
21465         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21467 2014-04-12  Allan McRae  <allan@archlinux.org>
21469         [BZ #16838]
21470         * manual/string.texi (Collation Functions): Fix qsort argument
21471         order in example.
21472         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
21474 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
21476         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
21477         Make the test a no-op if there are no exceptions defined.
21479 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
21481         * elf/Makefile (tests): make tst-dlopen-aout conditional on
21482         enable-hardcoded-path-in-tests
21484 2014-04-11  Will Newton  <will.newton@linaro.org>
21486         * benchtests/Makefile (extra-objs): Add json-lib.o.
21487         (bench-func): Tidy up JSON output.
21488         * benchtests/bench-skeleton.c: Include json-lib.h.
21489         (main): Use JSON library functions to do output of
21490         benchmark results.
21491         * benchtests/bench-timing-type.c (main): Output the
21492         timing type simply, leaving formatting to the user.
21493         * benchtests/json-lib.c: New file.
21494         * benchtests/json-lib.h: Likewise.
21496 2014-04-11  Torvald Riegel  <triegel@redhat.com>
21498         [BZ #15215]
21499         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
21500         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
21501         memory barriers.  Add comments.
21502         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
21503         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
21504         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
21505         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
21506         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
21507         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
21509 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21511         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
21512         * sysdeps/s390/s390-64/configure.ac: ... this ...
21513         * sysdeps/s390/configure.ac: ... to here.
21514         * sysdeps/s390/s390-32/configure: Delete file.
21515         * sysdeps/s390/s390-64/configure: Delete file.
21516         * sysdeps/s390/configure: Regenerate.
21518 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
21520         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
21522 2014-04-11  Will Newton  <will.newton@linaro.org>
21524         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
21525         to zero if it is not defined elsewhere.  (mtrim): Test
21526         the value of MALLOC_DEBUG with #if rather than #ifdef.
21528 2014-04-10 Torvald Riegel  <triegel@redhat.com>
21530         * benchtests/pthread_once-inputs: New file.
21531         * benchtests/pthread_once-source.c: New file.
21532         * benchtests/README: Update documentation.
21534 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
21535             H.J. Lu  <hongjiu.lu@intel.com>
21537         [BZ #16275]
21538         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
21539         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
21540         * sysdeps/x86_64/configure: Regenerated.
21541         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
21542         macro.
21543         (REGISTER_SAVE_RAX): Likewise.
21544         (REGISTER_SAVE_RCX): Likewise.
21545         (REGISTER_SAVE_RDX): Likewise.
21546         (REGISTER_SAVE_RSI): Likewise.
21547         (REGISTER_SAVE_RDI): Likewise.
21548         (REGISTER_SAVE_R8): Likewise.
21549         (REGISTER_SAVE_R9): Likewise.
21550         (REGISTER_SAVE_BND0): Likewise.
21551         (REGISTER_SAVE_BND1): Likewise.
21552         (REGISTER_SAVE_BND2): Likewise.
21553         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
21554         bound registers when calling _dl_fixup.
21556 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21558         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
21559         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
21560         of its definition.
21561         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
21562         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
21563         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
21564         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
21565         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
21566         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
21567         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
21569 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
21571         [BZ #15514]
21572         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
21573         pathconf(_PC_NAME_MAX).
21575 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21577         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
21578         Remove macro usage.
21579         (__PTHREAD_SPINS): Move definition to ...
21580         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21581         (__PTHREAD_SPINS): ... here.
21582         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21583         (__PTHREAD_SPIN): Likewise.
21584         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
21585         (__PTHREAD_SPIN): Likewise.
21586         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
21587         (__PTHREAD_SPIN): Likewise.
21588         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
21589         (__PTHREAD_SPIN): Likewise.
21590         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
21591         (__PTHREAD_SPIN): Likewise.
21592         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
21593         (__PTHREAD_SPIN): Likewise.
21594         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
21595         (__PTHREAD_SPIN): Likewise.
21596         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
21597         (__PTHREAD_SPIN): Likewise.
21598         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
21599         (__PTHREAD_SPIN): Likewise.
21600         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
21601         (__PTHREAD_SPIN): Likewise.
21602         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
21603         (__PTHREAD_SPIN): Likewise.
21604         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
21605         (__PTHREAD_SPIN): Likewise.
21607         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
21608         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
21609         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
21610         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
21611         imply folder.
21612         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
21613         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
21614         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
21615         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
21616         correct imply path.
21617         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
21618         strlen symbol for non multi-arch builds.
21619         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
21620         missing hidden_def and weak_alias.
21622 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
21624         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
21626 2014-04-07  Will Newton  <will.newton@linaro.org>
21628         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
21629         and contents.  [!_LIBC] Remove #ifndef and contents.
21630         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
21631         * string/memccpy.c (__memccpy): Use ANSI prototype.
21632         * string/memfrob.c (memfrob): Likewise.
21633         * string/strcoll.c (STRCOLL): Likewise.
21634         * string/strlen.c (strlen): Likewise.
21635         * string/strtok.c (STRTOK): Likewise.
21636         * string/strcat.c: Remove unused #include of memcopy.h.
21637         (strcat): Use ANSI prototype.
21638         * string/strchr.c: Remove unused #include of memcopy.h.
21639         (strchr): Use ANSI prototype.
21640         * string/strcmp.c: Remove unused #include of memcopy.h.
21641         (strcmp): Use ANSI prototype.
21642         * string/strcpy.c: Remove unused #include of memcopy.h.
21643         (strcpy): Use ANSI prototype.
21645 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21647         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
21648         * config.make.in (config-extra-cppflags): Set it from
21649         libc_extra_cppflags.
21650         * configure.ac (libc_extra_cflags): Make it accumulate over
21651         configure fragments.
21652         (libc_extra_cppflags): New flag.
21653         * configure. Regenerate.
21654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
21655         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
21656         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
21657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
21659         [BZ #16815]
21660         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
21661         result for FE_DOWNWARD rounding mode.
21662         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
21663         Likewise.
21664         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21666 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
21668         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
21669         in function argument name.
21671 2014-04-03  David Svoboda  <svoboda@cert.org>
21673         [BZ #5666]
21674         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
21675         explicitly.
21677 2014-04-03  Roland McGrath  <roland@hack.frob.com>
21679         * elf/dl-unmap-segments.h: New file.
21680         * sysdeps/generic/ldsodefs.h
21681         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
21682         * elf/dl-close.c: Include <dl-unmap-segments.h>.
21683         * elf/dl-fptr.c: Likewise.
21684         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
21685         * sysdeps/aarch64/tlsdesc.c: Likewise.
21686         * sysdeps/arm/tlsdesc.c: Likewise.
21687         * sysdeps/i386/tlsdesc.c: Likewise.
21688         * sysdeps/tile/dl-runtime.c: Likewise.
21689         * sysdeps/x86_64/tlsdesc.c: Likewise.
21690         * elf/dl-load.h: New file.
21691         * elf/dl-load.c: Include it.
21692         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
21693         Macros moved to dl-load.h.
21694         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
21695         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
21696         Use _dl_unmap_segments in place of __munmap.
21697         Break out segment-mapping loop into ...
21698         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
21700 2014-04-03  Will Newton  <will.newton@linaro.org>
21702         * elf/dl-lookup.c (do_lookup_x): Remove comment
21703         referring to nested function and move variable
21704         declarations down to before first use.
21706 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
21708         [BZ #16799]
21709         [BZ #16800]
21710         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
21711         with 0 numerator.
21712         * math/s_catanf.c (__catanf): Likewise.
21713         * math/s_catanh.c (__catanh): Likewise.
21714         * math/s_catanhf.c (__catanhf): Likewise.
21715         * math/s_catanhl.c (__catanhl): Likewise.
21716         * math/s_catanl.c (__catanl): Likewise.
21717         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
21718         by positive zero when computing -Inf result.
21719         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
21720         (catanh_test): Likewise.
21721         * sysdeps/i386/fpu/libm-test-ulps: Update.
21722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21724         [BZ #16789]
21725         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
21726         instead of using underflowing value in computing result.
21727         * math/s_clog10.c (__clog10): Likewise.
21728         * math/s_clog10f.c (__clog10f): Likewise.
21729         * math/s_clog10l.c (__clog10l): Likewise.
21730         * math/s_clogf.c (__clogf): Likewise.
21731         * math/s_clogl.c (__clogl): Likewise.
21732         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
21733         (clog10_test): Likewise.
21734         * sysdeps/i386/fpu/libm-test-ulps: Update.
21735         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21737 2014-04-02  Alan Modra  <amodra@gmail.com>
21739         [BZ #16739]
21740         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
21741         output when value is near a power of two.  Use int64_t for lx and
21742         remove casts.  Use decimal rather than hex exponent constants.
21743         Don't use long double multiplication when double will suffice.
21744         * math/libm-test.inc (nextafter_test_data): Add tests.
21745         * NEWS: Add 16739 and 16786 to bug list.
21747         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
21749         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
21751 2014-04-01  Will Newton  <will.newton@linaro.org>
21753         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
21754         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
21756 2014-04-01  Florian Weimer  <fweimer@redhat.com>
21758         [BZ #13347]
21759         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
21760         * nptl/tst-setuid2.c: New file.
21761         * nptl/Makefile (xtests): Add tst-setuid2.
21763 2014-04-01  Alan Modra  <amodra@gmail.com>
21765         [BZ #16786]
21766         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
21768 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
21770         [BZ #6803]
21771         [BZ #6804]
21772         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
21773         set errno as appropriate.
21774         * math/w_scalbf.c (__scalbf): Likewise.
21775         * math/w_scalbl.c (__scalbl): Likewise.
21776         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
21777         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
21778         * math/libm-test.inc (scalb_test_data): Add errno expectations.
21779         Add more NaN tests.
21781         [BZ #16349]
21782         * math/w_atan2.c: Include <errno.h>.
21783         (__atan2): Set errno for result underflowing to zero.
21784         * math/w_atan2f.c: Include <errno.h>.
21785         (__atan2f): Set errno for result underflowing to zero.
21786         * math/w_atan2l.c: Include <errno.h>.
21787         (__atan2l): Set errno for result underflowing to zero.
21788         * math/auto-libm-test-in: Don't allow missing errno for some atan2
21789         tests.
21790         * math/auto-libm-test-out: Regenerated.
21792 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21794         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
21795         Encode instruction correctly in little endian.
21796         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
21797         Likewise.
21798         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
21799         Likewise.
21800         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
21801         Likewise.
21802         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
21803         Likewise.
21805 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
21807         [BZ #9894]
21808         * sysdeps/unix/sysv/linux/kernel-features.h
21809         [__sparc__ && !__arch64__ && !__sparc_v9__]
21810         (__ASSUME_SET_ROBUST_LIST): Do not define.
21811         [__sparc__ && !__arch64__ && !__sparc_v9__]
21812         (__ASSUME_FUTEX_LOCK_PI): Likewise.
21813         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
21814         Likewise.
21815         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21816         (__ASSUME_FUTEX_LOCK_PI): Undefine.
21817         (__ASSUME_REQUEUE_PI): Likewise.
21818         (__ASSUME_SET_ROBUST_LIST): Likewise.
21819         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21820         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
21821         Undefine.
21822         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21823         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
21824         Likewise.
21825         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
21826         Likewise.
21827         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
21828         Likewise.
21829         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21830         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
21831         Undefine.
21832         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
21833         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
21834         Likewise.
21836         [BZ #16648]
21837         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21838         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
21839         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
21841 2014-03-31  Will Newton  <will.newton@linaro.org>
21843         * benchtests/Makefile (bench): Add ffs and ffsll to list
21844         of tests.
21845         * benchtests/ffs-inputs: New file.
21846         * benchtests/ffsll-inputs: Likewise.
21848 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
21850         [BZ #16770]
21851         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
21852         too large before casting to int.
21853         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
21854         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
21855         * math/libm-test.inc (scalb_test_data): Add more tests.
21857 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21859         * benchtests/Makefile (DETAILED_OPT): New make option.
21860         (bench-func): Run benchmark program with -d if DETAILED_OPT is
21861         set.
21862         * benchtests/bench-skeleton.c: Include stdbool.h.
21863         (main): Store and print timings per input.
21864         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
21865         member to each argument value.
21866         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
21867         (_print_arg_data): Initialize per-input timing to 0.
21869         * benchtests/Makefile (timing-type): New binary.
21870         (bench-clean): Also remove bench-timing-type.
21871         (bench): New target for timing-type.
21872         (bench-func): Print output in JSON format.
21873         * benchtests/bench-skeleton.c (main): Print output in JSON
21874         format.
21875         * benchtests/bench-timing-type.c: New file.
21876         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
21877         (TIMING_PRINT_STATS): Remove.
21878         * benchtests/scripts/bench.py (_print_arg_data): Store variant
21879         name separately.
21881         * benchtests/bench-modf.c: Remove.
21882         * benchtests/modf-inputs: New inputs file.
21884 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
21886         [BZ #16362]
21887         * math/s_clog10.c (M_PI_LOG10E): New macro.
21888         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
21889         imaginary parts are 0.
21890         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
21891         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
21892         imaginary parts are 0.
21893         * math/s_clog10l.c (M_PI_LOG10El): New macro.
21894         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
21895         imaginary parts are 0.
21896         * math/libm-test.inc (clog10_test_data): Update expected results
21897         for when real and imaginary parts are 0.
21899 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
21901         * elf/dl-load.c: Finish conversion of __builtin_expect into
21902         __glibc_{un}likely.
21904 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
21906         [BZ #16348]
21907         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
21908         1+x for argument with exponent below -67.
21909         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
21910         Likewise.
21911         * math/auto-libm-test-in: Add more tests of exp.
21912         * math/auto-libm-test-out: Regenerated.
21914 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21916         [BZ #16759]
21917         * inet/getnetgrent_r.c (get_nonempty_val): New function.
21918         (nscd_getnetgrent): Use it.
21920         [BZ #16760]
21921         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
21922         of stpcpy.
21924 2014-03-27  Andi Kleen  <ak@linux.intel.com>
21926         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
21927         (lll_robust_lock, lll_cond_lock, lll_timedlock)
21928         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
21929         (lll_robust_unlock): Remove out of line section. Use cfi
21930         intrinsics.
21931         (LLL_STUB_UNWIND_INFO*): Remove.
21932         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
21933         (lll_robust_lock, lll_cond_lock, lll_timedlock)
21934         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
21935         (lll_robust_unlock): Remove out of line section. Use cfi
21936         intrinsics.
21937         (LLL_STUB_UNWIND_INFO*): Remove.
21939 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21941         [BZ #16758]
21942         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
21943         blank values.
21945 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
21947         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
21949 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
21951         [BZ #16198]
21952         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
21953         fnstenv.
21954         * math/test-fenv-preserve.c: New file.
21955         * math/Makefile (tests): Add test-fenv-preserve.
21957 2014-03-26  Will Newton <will.newton@linaro.org>
21959         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
21961 2014-03-25  Roland McGrath  <roland@hack.frob.com>
21963         * scripts/versionlist.awk: Partition the version sets and emit all
21964         GLIBC_* (sorted) before all others (sorted).
21966 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
21968         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
21969         GLIBC_2.2.5 version.
21971 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21973         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
21974         calls.
21976         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
21977         previous change.
21979         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21981 2014-03-25  Andreas Schwab  <schwab@suse.de>
21983         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
21984         label to be used after in6ailist is initialized.
21986 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21988         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21989         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
21991 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
21993         [BZ #16357]
21994         [BZ #16599]
21995         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
21996         min_plus_half.
21997         (fp_formats): Update initializers.
21998         (init_fp_formats): Initialize new field.
21999         (output_for_one_input_case): Allow underflow for results up to
22000         min_plus_half.
22001         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
22002         * math/auto-libm-test-in: Don't mark some underflows from asin and
22003         atanh as spurious.
22004         * math/auto-libm-test-out: Regenerated.
22005         * sysdeps/i386/fpu/libm-test-ulps: Update.
22006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22008 2014-03-25  Andreas Schwab  <schwab@suse.de>
22010         * libio/Makefile (tst-ftell-partial-wide-ENV)
22011         (tst-ftell-active-handler-ENV): Define.
22013 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
22015         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
22017 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
22019         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
22021 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
22023         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
22024         * sysdeps/x86_64/fpu/multiarch/e_exp.c
22025         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22027 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
22029         [BZ #16634]
22030         * elf/dl-load.c (open_verify): Add mode parameter.
22031         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
22032         (open_path): Change from boolean 'secure' to complete flag 'mode'
22033         (_dl_map_object): Adjust.
22034         * elf/Makefile (tests): Add tst-dlopen-aout.
22035         * elf/tst-dlopen-aout.c: New test.
22037 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
22039         [BZ #16714]
22040         * sysdeps/unix/sysv/linux/s390/bits/stat.h
22041         (struct stat): Rename member pad0 to __glibc_reserved0.
22043         [BZ #16712]
22044         * sysdeps/s390/s390-32/bits/wordsize.h
22045         (__WORDSIZE32_SIZE_ULONG): New define.
22046         * sysdeps/s390/s390-64/bits/wordsize.h
22047         (__WORDSIZE32_SIZE_ULONG): Likewise.
22048         * sysdeps/generic/stdint.h (SIZE_MAX):
22049         Define as UL if __WORDSIZE32_SIZE_ULONG.
22051         [BZ #16713]
22052         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
22053         (__glibc_reserved0): New variable.
22054         (sa_flags): Change type to int.
22056         * posix/Makefile (before-compile): Use += before-compile instead
22057         of a :=.
22059         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
22060         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
22062 2014-03-20  Andreas Schwab  <schwab@suse.de>
22064         [BZ #16743]
22065         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
22066         non-matching result from nscd.
22068 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22070         * scripts/bench.py: Moved to ...
22071         * benchtests/scripts/bench.py: ... here.
22072         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
22074 2014-03-24  Andreas Schwab  <schwab@suse.de>
22076         [BZ #16002]
22077         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
22078         alloca_account and account alloca use for struct in6ailist.
22080 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
22082         [BZ #16284]
22083         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
22084         rounding mode to recompute results that overflow to infinity or
22085         underflow to zero.
22086         * math/auto-libm-test-in: Don't mark tests as expected to fail for
22087         bug 16284.
22088         * math/auto-libm-test-out: Regenerated.
22089         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
22090         (ccosh_test): Likewise.
22091         (csin_test_data): Use plus_oflow.
22092         (csin_test): Use ALL_RM_TEST.
22093         (csinh_test_data): Use plus_oflow.
22094         (csinh_test): Use ALL_RM_TEST.
22095         * sysdeps/i386/fpu/libm-test-ulps: Update.
22096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22098 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
22100         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
22101         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
22102         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
22104         [BZ #16731]
22105         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
22106         when x - 1 is zero.
22107         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
22108         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
22109         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
22110         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
22111         argument is 1.
22112         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
22113         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
22114         zero.
22115         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
22116         * sysdeps/i386/fpu/libm-test-ulps: Update.
22117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22119 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22121         * scripts/bench.pl: Remove file.
22122         * scripts/bench.py: New benchmark script.
22123         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
22124         * benchtests/README: Mention python dependency.
22125         * scripts/pylintrc: New file.
22126         * scripts/pylint: New file.
22128         * bits/mathdef.h: Use #ifdef instead of #if.
22129         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
22130         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22131         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
22132         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22133         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
22134         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22136 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22137             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22139         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
22140         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
22141         and strpbrk-ppc64 objects.
22142         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22143         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
22144         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
22145         multiarch strpbrk for POWER7.
22146         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
22147         multiarch strpbrk for PPC64.
22148         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
22149         ifunc selector.
22150         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
22151         strpbrk for POWER7.
22153 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
22155         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
22156         (atan_test): Likewise.
22157         (atanh_test_data): Use NO_TEST_INLINE for two tests.
22158         (atanh_test): Use ALL_RM_TEST.
22159         (atan2_test_data): Likewise.
22160         (cabs_test): Likewise.
22161         (cacosh_test): Likewise.
22162         (carg_test): Likewise.
22163         (casin_test): Likewise.
22164         (casinh_test): Likewise.
22165         (cbrt_test): Likewise.
22166         (csqrt_test): Likewise.
22167         (erf_test): Likewise.
22168         (erfc_test): Likewise.
22169         (pow10_test): Likewise.
22170         (exp2_test): Likewise.
22171         (hypot_test): Likewise.
22172         (j0_test): Likewise.
22173         (j1_test): Likewise.
22174         (lgamma_test): Likewise.
22175         (gamma_test): Likewise.
22176         (sincos_test): Likewise.
22177         (tanh_test): Likewise.
22178         (y0_test): Likewise.
22179         (y1_test): Likewise.
22180         * sysdeps/i386/fpu/libm-test-ulps: Update.
22181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22183 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22185         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
22186         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
22187         and strcspn-ppc64 objects.
22188         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22189         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
22190         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
22191         multiarch strcspn for POWER7.
22192         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
22193         multiarch strcspn for PPC64.
22194         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
22195         ifunc selector.
22196         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
22197         strcspn for POWER7.
22199 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
22201         * math/gen-libm-test.pl (generate_testfile): Expect only function
22202         name as argument to AUTO_TESTS_* and pass results for all rounding
22203         modes to parse_args.
22204         (parse_auto_input): Separate inputs of automatic tests from
22205         outputs before storing in %auto_tests.
22206         * math/libm-test.inc (acos_test_data): Update call to
22207         AUTO_TESTS_f_f.
22208         (acos_test): Use ALL_RM_TEST.
22209         (acos_tonearest_test_data): Remove.
22210         (acos_test_tonearest): Likewise.
22211         (acos_towardzero_test_data): Likewise.
22212         (acos_test_towardzero): Likewise.
22213         (acos_downward_test_data): Likewise.
22214         (acos_test_downward): Likewise.
22215         (acos_upward_test_data): Likewise.
22216         (acos_test_upward): Likewise.
22217         (acosh_test_data): Update call to AUTO_TESTS_f_f.
22218         (asin_test_data): Likewise.
22219         (asin_test): Use ALL_RM_TEST.
22220         (asin_tonearest_test_data): Remove.
22221         (asin_test_tonearest): Likewise.
22222         (asin_towardzero_test_data): Likewise.
22223         (asin_test_towardzero): Likewise.
22224         (asin_downward_test_data): Likewise.
22225         (asin_test_downward): Likewise.
22226         (asin_upward_test_data): Likewise.
22227         (asin_test_upward): Likewise.
22228         (asinh_test_data): Update call to AUTO_TESTS_f_f.
22229         (atan_test_data): Likewise.
22230         (atanh_test_data): Likewise.
22231         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
22232         (cabs_test_data): Update call to AUTO_TESTS_c_f.
22233         (carg_test_data): Likewise.
22234         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
22235         (ccos_test_data): Update call to AUTO_TESTS_c_c.
22236         (ccosh_test_data): Likewise.
22237         (cexp_test_data): Likewise.
22238         (clog_test_data): Likewise.
22239         (clog10_test_data): Likewise.
22240         (cos_test_data): Update call to AUTO_TESTS_f_f.
22241         (cos_test): Use ALL_RM_TEST.
22242         (cos_tonearest_test_data): Remove.
22243         (cos_test_tonearest): Likewise.
22244         (cos_towardzero_test_data): Likewise.
22245         (cos_test_towardzero): Likewise.
22246         (cos_downward_test_data): Likewise.
22247         (cos_test_downward): Likewise.
22248         (cos_upward_test_data): Likewise.
22249         (cos_test_upward): Likewise.
22250         (cosh_test_data): Update call to AUTO_TESTS_f_f.
22251         (cosh_test): Use ALL_RM_TEST.
22252         (cosh_tonearest_test_data): Remove.
22253         (cosh_test_tonearest): Likewise.
22254         (cosh_towardzero_test_data): Likewise.
22255         (cosh_test_towardzero): Likewise.
22256         (cosh_downward_test_data): Likewise.
22257         (cosh_test_downward): Likewise.
22258         (cosh_upward_test_data): Likewise.
22259         (cosh_test_upward): Likewise.
22260         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
22261         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
22262         (ctan_test_data): Likewise.
22263         (ctan_test): Use ALL_RM_TEST.
22264         (ctan_tonearest_test_data): Remove.
22265         (ctan_test_tonearest): Likewise.
22266         (ctan_towardzero_test_data): Likewise.
22267         (ctan_test_towardzero): Likewise.
22268         (ctan_downward_test_data): Likewise.
22269         (ctan_test_downward): Likewise.
22270         (ctan_upward_test_data): Likewise.
22271         (ctan_test_upward): Likewise.
22272         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
22273         (ctanh_test): Use ALL_RM_TEST.
22274         (ctanh_tonearest_test_data): Remove.
22275         (ctanh_test_tonearest): Likewise.
22276         (ctanh_towardzero_test_data): Likewise.
22277         (ctanh_test_towardzero): Likewise.
22278         (ctanh_downward_test_data): Likewise.
22279         (ctanh_test_downward): Likewise.
22280         (ctanh_upward_test_data): Likewise.
22281         (ctanh_test_upward): Likewise.
22282         (erf_test_data): Update call to AUTO_TESTS_f_f.
22283         (erfc_test_data): Likewise.
22284         (exp_test_data): Likewise.
22285         (exp_test): Use ALL_RM_TEST.
22286         (exp_tonearest_test_data): Remove.
22287         (exp_test_tonearest): Likewise.
22288         (exp_towardzero_test_data): Likewise.
22289         (exp_test_towardzero): Likewise.
22290         (exp_downward_test_data): Likewise.
22291         (exp_test_downward): Likewise.
22292         (exp_upward_test_data): Likewise.
22293         (exp_test_upward): Likewise.
22294         (exp10_test_data): Update call to AUTO_TESTS_f_f.
22295         (exp10_test): Use ALL_RM_TEST.
22296         (exp10_tonearest_test_data): Remove.
22297         (exp10_test_tonearest): Likewise.
22298         (exp10_towardzero_test_data): Likewise.
22299         (exp10_test_towardzero): Likewise.
22300         (exp10_downward_test_data): Likewise.
22301         (exp10_test_downward): Likewise.
22302         (exp10_upward_test_data): Likewise.
22303         (exp10_test_upward): Likewise.
22304         (exp2_test_data): Update call to AUTO_TESTS_f_f.
22305         (expm1_test_data): Likewise.
22306         (expm1_test): Use ALL_RM_TEST.
22307         (expm1_tonearest_test_data): Remove.
22308         (expm1_test_tonearest): Likewise.
22309         (expm1_towardzero_test_data): Likewise.
22310         (expm1_test_towardzero): Likewise.
22311         (expm1_downward_test_data): Likewise.
22312         (expm1_test_downward): Likewise.
22313         (expm1_upward_test_data): Likewise.
22314         (expm1_test_upward): Likewise.
22315         (fma_test_data): Update call to AUTO_TESTS_fff_f.
22316         (fma_test): Use ALL_RM_TEST.
22317         (fma_towardzero_test_data): Remove.
22318         (fma_test_towardzero): Likewise.
22319         (fma_downward_test_data): Likewise.
22320         (fma_test_downward): Likewise.
22321         (fma_upward_test_data): Likewise.
22322         (fma_test_upward): Likewise.
22323         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
22324         (j0_test_data): Update call to AUTO_TESTS_f_f.
22325         (j1_test_data): Likewise.
22326         (jn_test_data): Update call to AUTO_TESTS_if_f.
22327         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
22328         (log_test_data): Update call to AUTO_TESTS_f_f.
22329         (log10_test_data): Likewise.
22330         (log1p_test_data): Likewise.
22331         (log2_test_data): Likewise.
22332         (pow_test_data): Update call to AUTO_TESTS_ff_f.
22333         (pow_tonearest_test_data): Likewise.
22334         (sin_test_data): Update call to AUTO_TESTS_f_f.
22335         (sin_test): Use ALL_RM_TEST.
22336         (sin_tonearest_test_data): Remove.
22337         (sin_test_tonearest): Likewise.
22338         (sin_towardzero_test_data): Likewise.
22339         (sin_test_towardzero): Likewise.
22340         (sin_downward_test_data): Likewise.
22341         (sin_test_downward): Likewise.
22342         (sin_upward_test_data): Likewise.
22343         (sin_test_upward): Likewise.
22344         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
22345         (sinh_test_data): Update call to AUTO_TESTS_f_f.
22346         (sinh_test): Use ALL_RM_TEST.
22347         (sinh_tonearest_test_data): Remove.
22348         (sinh_test_tonearest): Likewise.
22349         (sinh_towardzero_test_data): Likewise.
22350         (sinh_test_towardzero): Likewise.
22351         (sinh_downward_test_data): Likewise.
22352         (sinh_test_downward): Likewise.
22353         (sinh_upward_test_data): Likewise.
22354         (sinh_test_upward): Likewise.
22355         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
22356         (sqrt_test): Use ALL_RM_TEST.
22357         (sqrt_tonearest_test_data): Remove.
22358         (sqrt_test_tonearest): Likewise.
22359         (sqrt_towardzero_test_data): Likewise.
22360         (sqrt_test_towardzero): Likewise.
22361         (sqrt_downward_test_data): Likewise.
22362         (sqrt_test_downward): Likewise.
22363         (sqrt_upward_test_data): Likewise.
22364         (sqrt_test_upward): Likewise.
22365         (tan_test_data): Update call to AUTO_TESTS_f_f.
22366         (tan_test): Use ALL_RM_TEST.
22367         (tan_tonearest_test_data): Remove.
22368         (tan_test_tonearest): Likewise.
22369         (tan_towardzero_test_data): Likewise.
22370         (tan_test_towardzero): Likewise.
22371         (tan_downward_test_data): Likewise.
22372         (tan_test_downward): Likewise.
22373         (tan_upward_test_data): Likewise.
22374         (tan_test_upward): Likewise.
22375         (tanh_test_data): Update call to AUTO_TESTS_f_f.
22376         (tgamma_test_data): Likewise.
22377         (y0_test_data): Likewise.
22378         (y1_test_data): Likewise.
22379         (yn_test_data): Update call to AUTO_TESTS_if_f.
22380         (main): Do not call removed functions.
22382 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
22384         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
22385         (ldexp_test_data): Remove.
22386         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
22387         scalbn_test_data.
22388         (scalb_test): Use ALL_RM_TEST.
22390 2014-03-19  Andreas Schwab  <schwab@suse.de>
22392         * nscd/nscd.service: Also invalidate netgroup cache on reload.
22394 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
22396         [BZ #16649]
22397         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22398         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
22399         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
22400         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22401         (__ASSUME_PREADV): Undefine.
22402         (__ASSUME_PWRITEV): Likewise.
22404 2014-03-18  Roland McGrath  <roland@hack.frob.com>
22406         * bits/mman-linux.h: Add comment about non-Linux use.
22407         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
22408         bits/mman-linux.h resting place.
22410         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
22411         * bits/mman-linux.h: ... here.
22413 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22415         * conform/conformtest.pl: Add standard definition when calling C
22416         preprocessor on data files.
22417         (checknamespace): Remove unused variable.
22419 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
22421         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
22422         minus_oflow, plus_uflow and minus_uflow in expected results.
22423         * math/libm-test.inc (scalbn_test_data): Add more tests of
22424         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
22425         minus_uflow.
22426         (scalbn_test): Use ALL_RM_TEST.
22427         (scalbln_test_data): Add more tests of negative arguments.  Use
22428         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
22429         (scalbln_test): Use ALL_RM_TEST.
22431 2014-03-18  Roland McGrath  <roland@hack.frob.com>
22433         * scripts/abilist.awk: Ignore symbols marked with .hidden.
22435 2014-03-18  Will Newton  <will.newton@linaro.org>
22437         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
22438         inaccurate comment.
22440 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
22442         * Makerules [!subdir] (check-abi): Exit with error status if a
22443         test failed.
22445 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
22447         * math/libm-test.inc (nearbyint_test_data): Include all tests used
22448         for rint.  Include results for all rounding modes.
22449         (nearbyint_test): Use ALL_RM_TEST.
22450         (rint_test_data): Include all tests used for nearbyint.
22452 2014-03-17  Will Newton  <will.newton@linaro.org>
22454         * nptl/sysdeps/pthread/pthread.h: Revert previous
22455         change.
22457         * sysdeps/generic/ldsodefs.h: Revert previous
22458         change.
22460         * libio/genops.c: Revert previous change.
22461         * libio/libioP.h: Likewise.
22462         * stdio-common/vfprintf.c: Likewise.
22464         * sysdeps/generic/math_private.h: Revert previous
22465         change.
22467         * sysdeps/generic/math_private.h: Check whether
22468         HAVE_RM_CTX is defined with #ifdef rather
22469         than #if.
22471         * argp/argp-fmtstream.h: Check whether
22472         __STRICT_ANSI__ is defined with #ifdef rather
22473         than #if.
22474         * argp/argp.h: Likewise.
22476         * libio/genops.c: Check whether
22477         _IO_JUMPS_OFFSET is defined with #ifdef rather
22478         than #if.
22479         * libio/libioP.h: Likewise.
22480         * stdio-common/vfprintf.c: Likewise.
22482         * sysdeps/generic/ldsodefs.h: Check whether
22483         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
22484         than #if.
22486         * nptl/sysdeps/pthread/pthread.h: Check
22487         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
22488         its value.
22490 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22492         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
22493         setting O_APPEND.
22494         * libio/tst-ftell-active-handler.c (do_append_test): Add a
22495         test case.
22497         [BZ #16680]
22498         * libio/fileops.c (_IO_file_open): Seek to end of file but
22499         don't cache the offset.
22500         (get_file_offset): Remove function.
22501         (do_ftell): Use cached offset when available.
22502         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
22503         don't cache the offset.
22504         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
22505         case.
22506         (do_one_test): Call it.
22507         (do_ftell_test): Fix up expected old offset for a+ mode.
22508         * libio/wfileops.c (do_ftell_wide): Used cached offset when
22509         available.
22511         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
22512         up test status with function return status.
22513         (do_write_test): Likewise.
22514         (do_append_test): Likewise.
22516         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
22517         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
22518         Remove.
22520 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
22522         * math/gen-libm-test.pl (parse_args): Handle results specified for
22523         each rounding mode separately.
22524         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
22525         tests and results from lrint_tonearest_test_data,
22526         lrint_towardzero_test_data, lrint_downward_test_data and
22527         lrint_upward_test_data.
22528         (lrint_test): Use ALL_RM_TEST.
22529         (lrint_tonearest_test_data): Remove.
22530         (lrint_test_tonearest): Likewise.
22531         (lrint_towardzero_test_data): Likewise.
22532         (lrint_test_towardzero): Likewise.
22533         (lrint_downward_test_data): Likewise.
22534         (lrint_test_downward): Likewise.
22535         (lrint_upward_test_data): Likewise.
22536         (lrint_test_upward): Likewise.
22537         (llrint_test_data): Merge in per-rounding-mode tests and results
22538         from llrint_tonearest_test_data, llrint_towardzero_test_data,
22539         llrint_downward_test_data and llrint_upward_test_data.
22540         (llrint_test): Use ALL_RM_TEST.
22541         (llrint_tonearest_test_data): Remove.
22542         (llrint_test_tonearest): Likewise.
22543         (llrint_towardzero_test_data): Likewise.
22544         (llrint_test_towardzero): Likewise.
22545         (llrint_downward_test_data): Likewise.
22546         (llrint_test_downward): Likewise.
22547         (llrint_upward_test_data): Likewise.
22548         (llrint_test_upward): Likewise.
22549         (rint_test_data): Merge in per-rounding-mode tests and results
22550         from rint_tonearest_test_data, rint_towardzero_test_data,
22551         rint_downward_test_data and rint_upward_test_data.  Add
22552         per-rounding-mode results for tests not in those arrays.
22553         (rint_test): Use ALL_RM_TEST.
22554         (rint_tonearest_test_data): Remove.
22555         (rint_test_tonearest): Likewise.
22556         (rint_towardzero_test_data): Likewise.
22557         (rint_test_towardzero): Likewise.
22558         (rint_downward_test_data): Likewise.
22559         (rint_test_downward): Likewise.
22560         (rint_upward_test_data): Likewise.
22561         (rint_test_upward): Likewise.
22562         (main): Don't call removed functions.
22564 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22566         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
22567         "Compiled on ..." crapola.  It is anti-useful.
22569 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
22571         * scripts/evaluate-test.sh: Handle fourth argument to determine
22572         whether test run should stop on failure.
22573         * Makeconfig (stop-on-test-failure): New variable.
22574         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
22575         $(stop-on-test-failure).
22576         * Makefile (tests): Give a summary of results from testing and
22577         exit with failure status if they include an ERROR or FAIL.
22578         (xtests): Likewise.
22579         * manual/install.texi (Configuring and compiling): Mention
22580         stop-on-test-failure=y.
22581         * INSTALL: Regenerated.
22583 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22585         * scripts/versionlist.awk: New file.
22586         * Makerules [$(build-shared) = yes]
22587         (postclean-generated): Add Versions.def, not Versions.def.v and
22588         Versions.def.v.i.
22589         ($(common-objpfx)Versions.def.v.i): Target removed.
22590         ($(common-objpfx)Versions.def): New target.
22591         ($(common-objpfx)Versions.all): Depend on that rather that
22592         $(common-objpfx)Versions.def.v.
22593         * Versions.def: File removed.
22595         * Makeconfig (+gccwarn): Add -Wundef.
22596         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
22597         a dl-sysdep.h breaking its contract.
22598         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
22599         * include/stackinfo.h: New file.
22600         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
22601         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
22602         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
22603         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
22604         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
22605         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
22606         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22607         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22608         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22609         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22610         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22611         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
22612         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22613         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22614         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22616 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22618         [BZ #16707]
22619         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
22620         implementation.
22621         * math/libm-test.inc (round_test_data): Add more tests.
22623         [BZ #16706]
22624         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
22625         implementation.
22626         * math/libm-test.inc (nearbyint_test_data): Add more tests.
22628         [BZ #16701]
22629         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
22630         implementation.
22631         * math/libm-test.inc (ceil_test_data): Add more tests.
22633         * math/libm-test.inc (trunc_test_data): Add more tests related to
22634         BZ#16414.
22636 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22638         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
22639         with #if rather than #ifdef.
22640         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
22642 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
22644         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
22645         first.  Disable AVX-512 GCC support if assembler doesn't support
22646         it.
22647         * sysdeps/x86_64/configure: Regenerated.
22649 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
22651         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
22652         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
22653         (__old_pthread_attr_setstack): Likewise.
22654         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
22655         [!_STACK_GROWS_DOWN]: Likewise.
22657 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
22659         * config.make.in (have-bash2): Delete.
22660         * configure.ac (libc_cv_have_bash2): Delete.
22661         * configure: Regenerate.
22662         * elf/Makefile (common-ldd-rewrite): Rename to ...
22663         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
22664         (sh-ldd-rewrite): Delete.
22665         (bash-ldd-rewrite): Delete.
22666         (have-bash2): Delete checks.
22667         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
22668         ldd-rewrite.
22670         * config.make.in (have-ksh): Delete.
22671         (KSH): Delete.
22672         * configure.ac (libc_cv_have_ksh): Delete.
22673         * configure: Regenerate.
22675         * elf/Makefile: Delete $(have-ksh) check.
22676         ($(objpfx)sotruss): Change KSH to BASH.
22677         * elf/sotruss.ksh: Rename to ...
22678         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
22679         function style to match POSIX.  Drop ksh vim mode setting.
22681         * manual/time.texi (Specifying the Time Zone with TZ): Change
22682         Tuesday to Thursday.
22684         * debug/tst-longjmp_chk2.c: Update header comment.
22685         (stackoverflow_handler): Add comment.  Call assert on pass value.
22687 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
22689         [BZ #16194]
22690         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
22691         (HAVE_AVX512_ASM_SUPPORT): Likewise.
22692         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
22693         (La_x86_64_vector): Add zmm.
22694         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
22695         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
22696         ($(objpfx)tst-audit10): New target.
22697         ($(objpfx)tst-audit10.out): Likewise.
22698         (tst-audit10-ENV): New.
22699         (AVX512-CFLAGS): Likewise.
22700         (CFLAGS-tst-audit10.c): Likewise.
22701         (CFLAGS-tst-auditmod10a.c): Likewise.
22702         (CFLAGS-tst-auditmod10b.c): Likewise.
22703         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
22704         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
22705         * sysdeps/x86_64/configure: Regenerated.
22706         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
22707         AVX-512 zmm register support.
22708         (_dl_x86_64_save_sse): Likewise.
22709         (_dl_x86_64_restore_sse): Likewise.
22710         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
22711         size vector registers.
22712         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
22713         (ZMM_SIZE): Likewise.
22714         * sysdeps/x86_64/tst-audit10.c: New file.
22715         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
22716         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
22718 2014-03-13  Roland McGrath  <roland@hack.frob.com>
22720         * configure.ac (HAVE_EHDR_START): New check.
22721         * configure: Regenerated.
22722         * config.h.in (HAVE_EHDR_START): New #undef.
22723         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
22724         assuming the lowest-addressed segment maps the start of the file.
22726 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
22728         * INSTALL: Regenerated.
22730 2014-03-13  Will Newton  <will.newton@linaro.org>
22732         * manual/setjmp.texi (System V contexts): Improve
22733         clarity and grammar of documentation.
22735 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
22737         [BZ #16381]
22738         * elf/Makefile (tests): Add tst-pie2.
22739         (tests-pie): Add tst-pie2.
22740         * elf/tst-pie2.c: New file.
22741         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
22742         for ET_EXEC.
22743         * elf/rtld.c (map_doit): Load executable as lt_executable.
22744         (dl_main): Likewise.
22746 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
22748         [BZ #16642]
22749         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22750         (__ASSUME_PSELECT): Undefine.
22752 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22754         [BZ #16689]
22755         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
22756         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
22757         static build.
22758         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
22759         selector for static builds.
22761 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22763         [BZ #16695]
22764         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
22765         key in the buffer.
22767 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22769         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
22770         IFUNC selector for static builds.
22772 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
22774         * sysdeps/mips/math_private.h [__mips_hard_float]
22775         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
22776         libc_feresetround_mips_ctx.
22777         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
22778         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
22779         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
22781         [BZ #16677]
22782         * math/s_nextafter.c (__nextafter): Do not return value from
22783         overflowing computation.
22784         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
22785         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
22786         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
22787         Likewise.
22788         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
22789         Likewise.
22790         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
22791         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
22793 2014-03-11  Roland McGrath  <roland@hack.frob.com>
22795         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
22796         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
22797         Move sfi_sp use from the load-multiple (that no longer sets sp) to
22798         the new mov targetting sp.
22800 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22802         [BZ #16683]
22803         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
22804         Define it for static builds as well.
22805         (NO_BZERO_IMPL): Likewise.
22807 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22809         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
22810         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
22811         multiarch strspn for PPC64.
22812         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
22813         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
22814         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22815         (__libc_ifunc_impl_list): Likewise.
22816         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
22817         multiarch optimizations
22818         * string/strspn.c (strspn): Using macro to redefine symbol name.
22820 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22821             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22823         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
22824         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
22825         multiarch strncat for PPC64.
22826         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
22827         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
22828         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22829         (__libc_ifunc_impl_list): Likewise.
22830         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
22831         multiarch optimizations
22833 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22835         [BZ #16639]
22836         * nscd/nscd.service: Make service type forking.
22838 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22840         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
22841         sign in non default rounding modes.
22842         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
22844 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
22846         * math/libm-test.inc (ALL_RM_TEST): New macro.
22847         (ceil_test): Use ALL_RM_TEST.
22848         (cimag_test): Likewise.
22849         (conj_test): Likewise.
22850         (copysign_test): Likewise.
22851         (cproj_test): Likewise.
22852         (creal_test): Likewise.
22853         (fabs_test): Likewise.
22854         (floor_test): Likewise.
22855         (fmax_test): Likewise.
22856         (fmin_test): Likewise.
22857         (fmod_test): Likewise.
22858         (fpclassify_test): Likewise.
22859         (frexp_test): Likewise.
22860         (ilogb_test): Likewise.
22861         (isfinite_test): Likewise.
22862         (finite_test): Likewise.
22863         (isgreater_test): Likewise.
22864         (isgreaterequal_test): Likewise.
22865         (isinf_test): Likewise.
22866         (isless_test): Likewise.
22867         (islessequal_test): Likewise.
22868         (islessgreater_test): Likewise.
22869         (isnan_test): Likewise.
22870         (isnormal_test): Likewise.
22871         (issignaling_test): Likewise.
22872         (isunordered_test): Likewise.
22873         (logb_test): Likewise.
22874         (logb_downward_test_data): Remove.
22875         (logb_test_downward): Likewise.
22876         (lround_test): Use ALL_RM_TEST.
22877         (llround_test): Likewise.
22878         (modf_test): Likewise.
22879         (nexttoward_test): Likewise.
22880         (remainder_test): Likewise.
22881         (drem_test): Likewise.
22882         (remainder_tonearest_test_data): Likewise.
22883         (remainder_test_tonearest): Likewise.
22884         (drem_test_tonearest): Likewise.
22885         (remainder_towardzero_test_data): Likewise.
22886         (remainder_test_towardzero): Likewise.
22887         (drem_test_towardzero): Likewise.
22888         (remainder_downward_test_data): Likewise.
22889         (remainder_test_downward): Likewise.
22890         (drem_test_downward): Likewise.
22891         (remainder_upward_test_data): Likewise.
22892         (remainder_test_upward): Likewise.
22893         (drem_test_upward): Likewise.
22894         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
22895         (round_test): Use ALL_RM_TEST.
22896         (signbit_test): Likewise.
22897         (trunc_test): Likewise.
22898         (significand_test): Likewise.
22899         (main): Don't call removed functions.
22901 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
22903         [BZ #16674]
22904         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
22905         || __USE_XOPEN2K8].
22906         (ILL_ILLOPN): Likewise.
22907         (ILL_ILLADR): Likewise.
22908         (ILL_ILLTRP): Likewise.
22909         (ILL_PRVOPC): Likewise.
22910         (ILL_PRVREG): Likewise.
22911         (ILL_COPROC): Likewise.
22912         (ILL_BADSTK): Likewise.
22913         (FPE_INTDIV): Likewise.
22914         (FPE_INTOVF): Likewise.
22915         (FPE_FLTDIV): Likewise.
22916         (FPE_FLTOVF): Likewise.
22917         (FPE_FLTUND): Likewise.
22918         (FPE_FLTRES): Likewise.
22919         (FPE_FLTINV): Likewise.
22920         (FPE_FLTSUB): Likewise.
22921         (SEGV_MAPERR): Likewise.
22922         (SEGV_ACCERR): Likewise.
22923         (BUS_ADRALN): Likewise.
22924         (BUS_ADRERR): Likewise.
22925         (BUS_OBJERR): Likewise.
22926         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22927         (TRAP_TRACE): Likewise.
22928         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22929         __USE_XOPEN2K8].
22930         (CLD_KILLED): Likewise.
22931         (CLD_DUMPED): Likewise.
22932         (CLD_TRAPPED): Likewise.
22933         (CLD_STOPPED): Likewise.
22934         (CLD_CONTINUED): Likewise.
22935         (POLL_IN): Likewise.
22936         (POLL_OUT): Likewise.
22937         (POLL_MSG): Likewise.
22938         (POLL_ERR): Likewise.
22939         (POLL_PRI): Likewise.
22940         (POLL_HUP): Likewise.
22941         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
22942         Likewise.
22943         (ILL_ILLOPN): Likewise.
22944         (ILL_ILLADR): Likewise.
22945         (ILL_ILLTRP): Likewise.
22946         (ILL_PRVOPC): Likewise.
22947         (ILL_PRVREG): Likewise.
22948         (ILL_COPROC): Likewise.
22949         (ILL_BADSTK): Likewise.
22950         (FPE_INTDIV): Likewise.
22951         (FPE_INTOVF): Likewise.
22952         (FPE_FLTDIV): Likewise.
22953         (FPE_FLTOVF): Likewise.
22954         (FPE_FLTUND): Likewise.
22955         (FPE_FLTRES): Likewise.
22956         (FPE_FLTINV): Likewise.
22957         (FPE_FLTSUB): Likewise.
22958         (SEGV_MAPERR): Likewise.
22959         (SEGV_ACCERR): Likewise.
22960         (BUS_ADRALN): Likewise.
22961         (BUS_ADRERR): Likewise.
22962         (BUS_OBJERR): Likewise.
22963         (BUS_MCEERR_AR): Likewise.
22964         (BUS_MCEERR_AO): Likewise.
22965         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22966         (TRAP_TRACE): Likewise.
22967         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22968         __USE_XOPEN2K8].
22969         (CLD_KILLED): Likewise.
22970         (CLD_DUMPED): Likewise.
22971         (CLD_TRAPPED): Likewise.
22972         (CLD_STOPPED): Likewise.
22973         (CLD_CONTINUED): Likewise.
22974         (POLL_IN): Likewise.
22975         (POLL_OUT): Likewise.
22976         (POLL_MSG): Likewise.
22977         (POLL_ERR): Likewise.
22978         (POLL_PRI): Likewise.
22979         (POLL_HUP): Likewise.
22980         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
22981         (ILL_ILLOPN): Likewise.
22982         (ILL_ILLADR): Likewise.
22983         (ILL_ILLTRP): Likewise.
22984         (ILL_PRVOPC): Likewise.
22985         (ILL_PRVREG): Likewise.
22986         (ILL_COPROC): Likewise.
22987         (ILL_BADSTK): Likewise.
22988         (FPE_INTDIV): Likewise.
22989         (FPE_INTOVF): Likewise.
22990         (FPE_FLTDIV): Likewise.
22991         (FPE_FLTOVF): Likewise.
22992         (FPE_FLTUND): Likewise.
22993         (FPE_FLTRES): Likewise.
22994         (FPE_FLTINV): Likewise.
22995         (FPE_FLTSUB): Likewise.
22996         (SEGV_MAPERR): Likewise.
22997         (SEGV_ACCERR): Likewise.
22998         (BUS_ADRALN): Likewise.
22999         (BUS_ADRERR): Likewise.
23000         (BUS_OBJERR): Likewise.
23001         (BUS_MCEERR_AR): Likewise.
23002         (BUS_MCEERR_AO): Likewise.
23003         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23004         (TRAP_TRACE): Likewise.
23005         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23006         __USE_XOPEN2K8].
23007         (CLD_KILLED): Likewise.
23008         (CLD_DUMPED): Likewise.
23009         (CLD_TRAPPED): Likewise.
23010         (CLD_STOPPED): Likewise.
23011         (CLD_CONTINUED): Likewise.
23012         (POLL_IN): Likewise.
23013         (POLL_OUT): Likewise.
23014         (POLL_MSG): Likewise.
23015         (POLL_ERR): Likewise.
23016         (POLL_PRI): Likewise.
23017         (POLL_HUP): Likewise.
23018         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
23019         Likewise.
23020         (ILL_ILLOPN): Likewise.
23021         (ILL_ILLADR): Likewise.
23022         (ILL_ILLTRP): Likewise.
23023         (ILL_PRVOPC): Likewise.
23024         (ILL_PRVREG): Likewise.
23025         (ILL_COPROC): Likewise.
23026         (ILL_BADSTK): Likewise.
23027         (ILL_BADIADDR): Likewise.
23028         (ILL_BREAK): Likewise.
23029         (FPE_INTDIV): Likewise.
23030         (FPE_INTOVF): Likewise.
23031         (FPE_FLTDIV): Likewise.
23032         (FPE_FLTOVF): Likewise.
23033         (FPE_FLTUND): Likewise.
23034         (FPE_FLTRES): Likewise.
23035         (FPE_FLTINV): Likewise.
23036         (FPE_FLTSUB): Likewise.
23037         (FPE_DECOVF): Likewise.
23038         (FPE_DECDIV): Likewise.
23039         (FPE_DECERR): Likewise.
23040         (FPE_INVASC): Likewise.
23041         (FPE_INVDEC): Likewise.
23042         (SEGV_MAPERR): Likewise.
23043         (SEGV_ACCERR): Likewise.
23044         (SEGV_PSTKOVF): Likewise.
23045         (BUS_ADRALN): Likewise.
23046         (BUS_ADRERR): Likewise.
23047         (BUS_OBJERR): Likewise.
23048         (BUS_MCEERR_AR): Likewise.
23049         (BUS_MCEERR_AO): Likewise.
23050         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23051         (TRAP_TRACE): Likewise.
23052         (TRAP_BRANCH): Likewise.
23053         (TRAP_HWBKPT): Likewise.
23054         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23055         __USE_XOPEN2K8].
23056         (CLD_KILLED): Likewise.
23057         (CLD_DUMPED): Likewise.
23058         (CLD_TRAPPED): Likewise.
23059         (CLD_STOPPED): Likewise.
23060         (CLD_CONTINUED): Likewise.
23061         (POLL_IN): Likewise.
23062         (POLL_OUT): Likewise.
23063         (POLL_MSG): Likewise.
23064         (POLL_ERR): Likewise.
23065         (POLL_PRI): Likewise.
23066         (POLL_HUP): Likewise.
23067         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
23068         (ILL_ILLOPN): Likewise.
23069         (ILL_ILLADR): Likewise.
23070         (ILL_ILLTRP): Likewise.
23071         (ILL_PRVOPC): Likewise.
23072         (ILL_PRVREG): Likewise.
23073         (ILL_COPROC): Likewise.
23074         (ILL_BADSTK): Likewise.
23075         (FPE_INTDIV): Likewise.
23076         (FPE_INTOVF): Likewise.
23077         (FPE_FLTDIV): Likewise.
23078         (FPE_FLTOVF): Likewise.
23079         (FPE_FLTUND): Likewise.
23080         (FPE_FLTRES): Likewise.
23081         (FPE_FLTINV): Likewise.
23082         (FPE_FLTSUB): Likewise.
23083         (SEGV_MAPERR): Likewise.
23084         (SEGV_ACCERR): Likewise.
23085         (BUS_ADRALN): Likewise.
23086         (BUS_ADRERR): Likewise.
23087         (BUS_OBJERR): Likewise.
23088         (BUS_MCEERR_AR): Likewise.
23089         (BUS_MCEERR_AO): Likewise.
23090         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23091         (TRAP_TRACE): Likewise.
23092         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23093         __USE_XOPEN2K8].
23094         (CLD_KILLED): Likewise.
23095         (CLD_DUMPED): Likewise.
23096         (CLD_TRAPPED): Likewise.
23097         (CLD_STOPPED): Likewise.
23098         (CLD_CONTINUED): Likewise.
23099         (POLL_IN): Likewise.
23100         (POLL_OUT): Likewise.
23101         (POLL_MSG): Likewise.
23102         (POLL_ERR): Likewise.
23103         (POLL_PRI): Likewise.
23104         (POLL_HUP): Likewise.
23105         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
23106         (ILL_ILLOPN): Likewise.
23107         (ILL_ILLADR): Likewise.
23108         (ILL_ILLTRP): Likewise.
23109         (ILL_PRVOPC): Likewise.
23110         (ILL_PRVREG): Likewise.
23111         (ILL_COPROC): Likewise.
23112         (ILL_BADSTK): Likewise.
23113         (FPE_INTDIV): Likewise.
23114         (FPE_INTOVF): Likewise.
23115         (FPE_FLTDIV): Likewise.
23116         (FPE_FLTOVF): Likewise.
23117         (FPE_FLTUND): Likewise.
23118         (FPE_FLTRES): Likewise.
23119         (FPE_FLTINV): Likewise.
23120         (FPE_FLTSUB): Likewise.
23121         (SEGV_MAPERR): Likewise.
23122         (SEGV_ACCERR): Likewise.
23123         (BUS_ADRALN): Likewise.
23124         (BUS_ADRERR): Likewise.
23125         (BUS_OBJERR): Likewise.
23126         (BUS_MCEERR_AR): Likewise.
23127         (BUS_MCEERR_AO): Likewise.
23128         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23129         (TRAP_TRACE): Likewise.
23130         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23131         __USE_XOPEN2K8].
23132         (CLD_KILLED): Likewise.
23133         (CLD_DUMPED): Likewise.
23134         (CLD_TRAPPED): Likewise.
23135         (CLD_STOPPED): Likewise.
23136         (CLD_CONTINUED): Likewise.
23137         (POLL_IN): Likewise.
23138         (POLL_OUT): Likewise.
23139         (POLL_MSG): Likewise.
23140         (POLL_ERR): Likewise.
23141         (POLL_PRI): Likewise.
23142         (POLL_HUP): Likewise.
23143         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
23144         (ILL_ILLOPN): Likewise.
23145         (ILL_ILLADR): Likewise.
23146         (ILL_ILLTRP): Likewise.
23147         (ILL_PRVOPC): Likewise.
23148         (ILL_PRVREG): Likewise.
23149         (ILL_COPROC): Likewise.
23150         (ILL_BADSTK): Likewise.
23151         (FPE_INTDIV): Likewise.
23152         (FPE_INTOVF): Likewise.
23153         (FPE_FLTDIV): Likewise.
23154         (FPE_FLTOVF): Likewise.
23155         (FPE_FLTUND): Likewise.
23156         (FPE_FLTRES): Likewise.
23157         (FPE_FLTINV): Likewise.
23158         (FPE_FLTSUB): Likewise.
23159         (SEGV_MAPERR): Likewise.
23160         (SEGV_ACCERR): Likewise.
23161         (BUS_ADRALN): Likewise.
23162         (BUS_ADRERR): Likewise.
23163         (BUS_OBJERR): Likewise.
23164         (BUS_MCEERR_AR): Likewise.
23165         (BUS_MCEERR_AO): Likewise.
23166         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23167         (TRAP_TRACE): Likewise.
23168         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23169         __USE_XOPEN2K8].
23170         (CLD_KILLED): Likewise.
23171         (CLD_DUMPED): Likewise.
23172         (CLD_TRAPPED): Likewise.
23173         (CLD_STOPPED): Likewise.
23174         (CLD_CONTINUED): Likewise.
23175         (POLL_IN): Likewise.
23176         (POLL_OUT): Likewise.
23177         (POLL_MSG): Likewise.
23178         (POLL_ERR): Likewise.
23179         (POLL_PRI): Likewise.
23180         (POLL_HUP): Likewise.
23181         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
23182         (ILL_ILLOPN): Likewise.
23183         (ILL_ILLADR): Likewise.
23184         (ILL_ILLTRP): Likewise.
23185         (ILL_PRVOPC): Likewise.
23186         (ILL_PRVREG): Likewise.
23187         (ILL_COPROC): Likewise.
23188         (ILL_BADSTK): Likewise.
23189         (ILL_DBLFLT): Likewise.
23190         (ILL_HARDWALL): Likewise.
23191         (FPE_INTDIV): Likewise.
23192         (FPE_INTOVF): Likewise.
23193         (FPE_FLTDIV): Likewise.
23194         (FPE_FLTOVF): Likewise.
23195         (FPE_FLTUND): Likewise.
23196         (FPE_FLTRES): Likewise.
23197         (FPE_FLTINV): Likewise.
23198         (FPE_FLTSUB): Likewise.
23199         (SEGV_MAPERR): Likewise.
23200         (SEGV_ACCERR): Likewise.
23201         (BUS_ADRALN): Likewise.
23202         (BUS_ADRERR): Likewise.
23203         (BUS_OBJERR): Likewise.
23204         (BUS_MCEERR_AR): Likewise.
23205         (BUS_MCEERR_AO): Likewise.
23206         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23207         (TRAP_TRACE): Likewise.
23208         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23209         __USE_XOPEN2K8].
23210         (CLD_KILLED): Likewise.
23211         (CLD_DUMPED): Likewise.
23212         (CLD_TRAPPED): Likewise.
23213         (CLD_STOPPED): Likewise.
23214         (CLD_CONTINUED): Likewise.
23215         (POLL_IN): Likewise.
23216         (POLL_OUT): Likewise.
23217         (POLL_MSG): Likewise.
23218         (POLL_ERR): Likewise.
23219         (POLL_PRI): Likewise.
23220         (POLL_HUP): Likewise.
23221         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
23222         (ILL_ILLOPN): Likewise.
23223         (ILL_ILLADR): Likewise.
23224         (ILL_ILLTRP): Likewise.
23225         (ILL_PRVOPC): Likewise.
23226         (ILL_PRVREG): Likewise.
23227         (ILL_COPROC): Likewise.
23228         (ILL_BADSTK): Likewise.
23229         (FPE_INTDIV): Likewise.
23230         (FPE_INTOVF): Likewise.
23231         (FPE_FLTDIV): Likewise.
23232         (FPE_FLTOVF): Likewise.
23233         (FPE_FLTUND): Likewise.
23234         (FPE_FLTRES): Likewise.
23235         (FPE_FLTINV): Likewise.
23236         (FPE_FLTSUB): Likewise.
23237         (SEGV_MAPERR): Likewise.
23238         (SEGV_ACCERR): Likewise.
23239         (BUS_ADRALN): Likewise.
23240         (BUS_ADRERR): Likewise.
23241         (BUS_OBJERR): Likewise.
23242         (BUS_MCEERR_AR): Likewise.
23243         (BUS_MCEERR_AO): Likewise.
23244         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23245         (TRAP_TRACE): Likewise.
23246         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23247         __USE_XOPEN2K8].
23248         (CLD_KILLED): Likewise.
23249         (CLD_DUMPED): Likewise.
23250         (CLD_TRAPPED): Likewise.
23251         (CLD_STOPPED): Likewise.
23252         (CLD_CONTINUED): Likewise.
23253         (POLL_IN): Likewise.
23254         (POLL_OUT): Likewise.
23255         (POLL_MSG): Likewise.
23256         (POLL_ERR): Likewise.
23257         (POLL_PRI): Likewise.
23258         (POLL_HUP): Likewise.
23259         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
23260         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
23262         [BZ #16670]
23263         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
23264         before #include of <time.h>.
23265         [!__USE_XOPEN2K] (__need_timespec): Likewise.
23266         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
23267         (test-xfail-UNIX98/sched.h/conform): Likewise.
23269 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
23271         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
23272         error absence of trapping exception support.
23273         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
23275 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
23277         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
23278         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
23279         * timezone/Makefile (testdata): Move definition above include of
23280         Rules.
23281         (test-zones): New variable.
23282         (tests-special): Add zone files.
23283         (build-testdata): Use $(evaluate-test).
23285         * elf/Makefile (tests-special): Rename tests to end with .out.
23286         ($(objpfx)noload-mem): Likewise.
23287         ($(objpfx)tst-leaks1-mem): Likewise.
23288         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
23289         * iconv/Makefile (xtests-special): Change test-iconvconfig to
23290         $(objpfx)test-iconvconfig.out.
23291         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
23292         set -e inside subshell and redirect output to file.
23293         * iconvdata/Makefile (generated): Rename tests to end with .out.
23294         Correct type.
23295         (tests-special): Rename tests to end with .out.
23296         ($(objpfx)mtrace-tst-loading): Likewise.
23297         * intl/Makefile (generated): Likewise.
23298         (tests-special): Likewise.
23299         ($(objpfx)mtrace-tst-gettext): Likewise.
23300         * misc/Makefile (generated): Likewise.
23301         (tests-special): Likewise.
23302         ($(objpfx)tst-error1-mem): Likewise.
23303         * nptl/Makefile (tests-special): Likewise.
23304         ($(objpfx)tst-stack3-mem): Likewise.
23305         (generated): Likewise.
23306         * posix/Makefile (generated): Likewise.
23307         (tests-special): Likewise.
23308         (xtests-special): Likewise.
23309         ($(objpfx)tst-fnmatch-mem): Likewise.
23310         ($(objpfx)bug-regex2-mem): Likewise.
23311         ($(objpfx)bug-regex14-mem): Likewise.
23312         ($(objpfx)bug-regex21-mem): Likewise.
23313         ($(objpfx)bug-regex31-mem): Likewise.
23314         ($(objpfx)tst-vfork3-mem): Likewise.
23315         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
23316         ($(objpfx)tst-pcre-mem): Likewise.
23317         ($(objpfx)tst-boost-mem): Likewise.
23318         ($(objpfx)bug-ga2-mem): Likewise.
23319         ($(objpfx)bug-glob2-mem): Likewise.
23320         * resolv/Makefile (generate): Likewise.
23321         (tests-special): Likewise.
23322         (xtests-special): Likewise.
23323         (generated): Likewise.
23324         ($(objpfx)mtrace-tst-leaks): Likewise.
23325         ($(objpfx)mtrace-tst-leaks2): Likewise.
23327         * scripts/merge-test-results.sh: New file.
23328         * Makefile (tests-special-notdir): New variable.
23329         (tests): Run merge-test-results.sh.
23330         (xtests): Likewise.
23331         * Rules (tests-special-notdir): New variable.
23332         (xtests-special-notdir): Likewise.
23333         (tests): Run merge-test-results.sh
23334         (xtests): Likewise.
23336         * Makeconfig (test-xfail-name): New variable.
23337         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
23338         compute variable name for expected failures.
23339         * conform/Makefile (conformtest-headers-data): New variable.
23340         (conformtest-standards): Likewise.
23341         (conformtest-headers-ISO): Likewise.
23342         (conformtest-headers-ISO99): Likewise.
23343         (conformtest-headers-ISO11): Likewise.
23344         (conformtest-headers-POSIX): Likewise.
23345         (conformtest-headers-XPG3): Likewise.
23346         (conformtest-headers-XPG4): Likewise.
23347         (conformtest-headers-UNIX98): Likewise.
23348         (conformtest-headers-XOPEN2K): Likewise.
23349         (conformtest-headers-POSIX2008): Likewise.
23350         (conformtest-headers-XOPEN2K8): Likewise.
23351         (conformtest-header-list-base): Likewise.
23352         (conformtest-header-list-tests): Likewise.
23353         (conformtest-header-base): Likewise.
23354         (conformtest-header-tests): Likewise.
23355         (tests-special): Add $(conformtest-header-list-tests).  If
23356         [$(fast-check) && !$(cross-compiling)], add
23357         $(conformtest-header-tests) instead of
23358         $(objpfx)run-conformtest.out.
23359         (generated): Add $(conformtest-header-list-base).  If
23360         [$(fast-check) && !$(cross-compiling)], add
23361         $(conformtest-header-base).  Remove previous setting.
23362         ($(conformtest-header-list-tests)): New target.
23363         (test-xfail-run-conformtest): Remove variable.
23364         ($(objpfx)run-conformtest.out): Remove target.
23365         (test-xfail-ISO11/complex.h/conform): New variable.
23366         (test-xfail-ISO11/stdalign.h/conform): Likewise.
23367         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
23368         (test-xfail-XPG3/varargs.h/conform): Likewise.
23369         (test-xfail-XPG4/varargs.h/conform): Likewise.
23370         (test-xfail-UNIX98/varargs.h/conform): Likewise.
23371         (test-xfail-XPG4/ndbm.h/conform): Likewise.
23372         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
23373         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
23374         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
23375         (test-xfail-XPG3/fcntl.h/conform): Likewise.
23376         (test-xfail-XPG3/ftw.h/conform): Likewise.
23377         (test-xfail-XPG3/grp.h/conform): Likewise.
23378         (test-xfail-XPG3/langinfo.h/conform): Likewise.
23379         (test-xfail-XPG3/limits.h/conform): Likewise.
23380         (test-xfail-XPG3/pwd.h/conform): Likewise.
23381         (test-xfail-XPG3/search.h/conform): Likewise.
23382         (test-xfail-XPG3/signal.h/conform): Likewise.
23383         (test-xfail-XPG3/stdio.h/conform): Likewise.
23384         (test-xfail-XPG3/stdlib.h/conform): Likewise.
23385         (test-xfail-XPG3/string.h/conform): Likewise.
23386         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
23387         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
23388         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
23389         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
23390         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
23391         (test-xfail-XPG3/sys/types.h/conform): Likewise.
23392         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
23393         (test-xfail-XPG3/termios.h/conform): Likewise.
23394         (test-xfail-XPG3/time.h/conform): Likewise.
23395         (test-xfail-XPG3/unistd.h/conform): Likewise.
23396         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
23397         (test-xfail-XPG4/fcntl.h/conform): Likewise.
23398         (test-xfail-XPG4/langinfo.h/conform): Likewise.
23399         (test-xfail-XPG4/netdb.h/conform): Likewise.
23400         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
23401         (test-xfail-XPG4/signal.h/conform): Likewise.
23402         (test-xfail-XPG4/stdio.h/conform): Likewise.
23403         (test-xfail-XPG4/stdlib.h/conform): Likewise.
23404         (test-xfail-XPG4/stropts.h/conform): Likewise.
23405         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
23406         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
23407         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
23408         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
23409         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
23410         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
23411         (test-xfail-XPG4/sys/time.h/conform): Likewise.
23412         (test-xfail-XPG4/sys/types.h/conform): Likewise.
23413         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
23414         (test-xfail-XPG4/termios.h/conform): Likewise.
23415         (test-xfail-XPG4/ucontext.h/conform): Likewise.
23416         (test-xfail-XPG4/unistd.h/conform): Likewise.
23417         (test-xfail-XPG4/utmpx.h/conform): Likewise.
23418         (test-xfail-POSIX/sched.h/conform): Likewise.
23419         (test-xfail-POSIX/signal.h/conform): Likewise.
23420         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
23421         (test-xfail-POSIX/tar.h/conform): Likewise.
23422         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
23423         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
23424         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
23425         (test-xfail-UNIX98/netdb.h/conform): Likewise.
23426         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
23427         (test-xfail-UNIX98/sched.h/conform): Likewise.
23428         (test-xfail-UNIX98/signal.h/conform): Likewise.
23429         (test-xfail-UNIX98/stdio.h/conform): Likewise.
23430         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
23431         (test-xfail-UNIX98/stropts.h/conform): Likewise.
23432         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
23433         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
23434         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
23435         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
23436         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
23437         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
23438         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
23439         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
23440         (test-xfail-UNIX98/unistd.h/conform): Likewise.
23441         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
23442         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
23443         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
23444         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
23445         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
23446         (test-xfail-XOPEN2K/math.h/conform): Likewise.
23447         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
23448         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
23449         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
23450         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
23451         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
23452         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
23453         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
23454         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
23455         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
23456         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
23457         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
23458         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
23459         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
23460         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
23461         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
23462         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
23463         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
23464         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
23465         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
23466         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
23467         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
23468         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
23469         (test-xfail-POSIX2008/signal.h/conform): Likewise.
23470         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
23471         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
23472         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
23473         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
23474         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
23475         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
23476         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
23477         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
23478         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
23479         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
23480         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
23481         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
23482         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
23483         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
23484         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
23485         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
23486         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
23487         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
23488         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
23489         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
23490         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
23491         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
23492         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
23493         (conformtest-cc-flags): Likewise.
23494         ($(conformtest-header-tests): New target.
23495         * conform/check-header-lists.sh: New file.
23496         * conform/run-conformtest.sh: Remove.
23498         * conform/conformtest.pl: Allow ' and \ in values given for
23499         constants.
23500         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
23501         inclusion.
23502         [POSIX] (sys/types.h): Likewise.
23503         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
23504         inclusion.
23505         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
23506         inclusion.
23507         * conform/data/signal.h-data (SIGIO): Remove expectation.
23508         [XPG3] (SIGBUS): Do not expect.
23509         [POSIX || XPG3] (SIGPOLL): Likewise.
23510         [POSIX || XPG3] (SIGPROF): Likewise.
23511         [POSIX || XPG3] (SIGSYS): Likewise.
23512         [XPG3] (SIGTRAP): Likewise.
23513         [POSIX || XPG3] (SIGURG): Likewise.
23514         [POSIX || XPG3] (SIGVTALRM): Likewise.
23515         [POSIX || XPG3] (SIGXCPU): Likewise.
23516         [POSIX || XPG3] (SIGXFSZ): Likewise.
23517         [POSIX] (SA_SIGINFO): Expect.
23518         [XPG3] (siginfo_t): Do not expect type or contents.
23519         [POSIX] (si_pid): Do not expect element.
23520         [POSIX] (si_uid): Likewise.
23521         [POSIX] (si_addr): Likewise.
23522         [POSIX] (si_status): Likewise.
23523         [POSIX] (si_band): Likewise.
23524         [XPG4] (si_value): Likewise.
23525         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
23526         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
23527         [POSIX || XPG3] (ILL_ILLADR): Likewise.
23528         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
23529         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
23530         [POSIX || XPG3] (ILL_PRVREG): Likewise.
23531         [POSIX || XPG3] (ILL_COPROC): Likewise.
23532         [POSIX || XPG3] (ILL_BADSTK): Likewise.
23533         [POSIX || XPG3] (FPE_INTDIV): Likewise.
23534         [POSIX || XPG3] (FPE_INTOVF): Likewise.
23535         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
23536         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
23537         [POSIX || XPG3] (FPE_FLTUND): Likewise.
23538         [POSIX || XPG3] (FPE_FLTRES): Likewise.
23539         [POSIX || XPG3] (FPE_FLTINV): Likewise.
23540         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
23541         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
23542         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
23543         [POSIX || XPG3] (BUS_ADRALN): Likewise.
23544         [POSIX || XPG3] (BUS_ADRERR): Likewise.
23545         [POSIX || XPG3] (BUS_OBJERR): Likewise.
23546         [POSIX || XPG3] (CLD_EXITED): Likewise.
23547         [POSIX || XPG3] (CLD_KILLED): Likewise.
23548         [POSIX || XPG3] (CLD_DUMPED): Likewise.
23549         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
23550         [POSIX || XPG3] (CLD_STOPPED): Likewise.
23551         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
23552         [POSIX || XPG3] (POLL_IN): Likewise.
23553         [POSIX || XPG3] (POLL_OUT): Likewise.
23554         [POSIX || XPG3] (POLL_MSG): Likewise.
23555         [POSIX || XPG3] (POLL_ERR): Likewise.
23556         [POSIX || XPG3] (POLL_PRI): Likewise.
23557         [POSIX || XPG3] (POLL_HUP): Likewise.
23558         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
23559         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
23560         (SIG*): Do not allow.
23561         [XPG3] (si_*): Likewise.
23562         [XPG3] (SI_*): Likewise.
23563         [XPG3 || XPG4] (sigev_*): Likewise.
23564         [XPG3 || XPG4] (SIGEV_*): Likewise.
23565         [XPG3 || XPG4] (sival_*): Likewise.
23566         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
23567         [POSIX || XPG3] (BUS_*): Likewise.
23568         [POSIX || XPG3] (CLD_*): Likewise.
23569         [POSIX || XPG3] (FPE_*): Likewise.
23570         [POSIX || XPG3] (ILL_*): Likewise.
23571         [POSIX || XPG3] (POLL_*): Likewise.
23572         [POSIX || XPG3] (SEGV_*): Likewise.
23573         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
23574         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
23575         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
23576         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
23577         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
23578         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
23579         Specify type and value.
23580         (TVERSLEN): Likewise.
23581         (REGTYPE): Likewise.
23582         (AREGTYPE): Likewise.
23583         (LNKTYPE): Likewise.
23584         (SYMTYPE): Likewise.
23585         (CHRTYPE): Likewise.
23586         (BLKTYPE): Likewise.
23587         (DIRTYPE): Likewise.
23588         (FIFOTYPE): Likewise.
23589         (CONTTYPE): Likewise.
23590         (TSUID): Likewise.
23591         (TSGID): Likewise.
23592         (TSVTX): Likewise.
23593         (TUREAD): Likewise.
23594         (TUWRITE): Likewise.
23595         (TUEXEC): Likewise.
23596         (TGREAD): Likewise.
23597         (TGWRITE): Likewise.
23598         (TGEXEC): Likewise.
23599         (TOREAD): Likewise.
23600         (TOWRITE): Likewise.
23601         (TOEXEC): Likewise.
23602         [POSIX] (TSVTX): Expect constant.
23604 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
23606         * Makefile (tests): Change dependencies to ....
23607         (tests-special): ... additions to this variable.
23608         (tests): Depend on $(tests-special).
23609         * Makerules (check-abi-list): New variable.
23610         (check-abi): Depend on $(check-abi-list).
23611         [$(subdir) = elf] (tests-special): Add
23612         $(objpfx)check-abi-libc.out.
23613         [$(build-shared) = yes && subdir] (tests-special): Add
23614         $(check-abi-list).
23615         [$(build-shared) = yes && subdir] (tests): Do not depend on
23616         check-abi.
23617         * Rules (tests): Depend on $(tests-special).
23618         (xtests): Depend on $(xtests-special).
23619         * catgets/Makefile (tests): Change dependencies to ....
23620         (tests-special): ... additions to this variable.
23621         * conform/Makefile (tests): Change dependencies to ....
23622         (tests-special): ... additions to this variable.
23623         * elf/Makefile (tests): Change dependencies to ....
23624         (tests-special): ... additions to this variable.
23625         * grp/Makefile (tests): Change dependencies to ....
23626         (tests-special): ... additions to this variable.
23627         * iconv/Makefile (xtests): Change dependencies to ....
23628         (xtests-special): ... additions to this variable.
23629         * iconvdata/Makefile (tests): Change dependencies to ....
23630         (tests-special): ... additions to this variable.
23631         * intl/Makefile (tests): Change dependencies to ....
23632         (tests-special): ... additions to this variable.  Also add
23633         $(objpfx)tst-gettext.out.
23634         * io/Makefile (tests): Change dependencies to ....
23635         (tests-special): ... additions to this variable.
23636         * libio/Makefile (tests): Change dependencies to ....
23637         (tests-special): ... additions to this variable.
23638         * malloc/Makefile (tests): Change dependencies to ....
23639         (tests-special): ... additions to this variable.
23640         * misc/Makefile (tests): Change dependencies to ....
23641         (tests-special): ... additions to this variable.
23642         * nptl/Makefile (tests): Change dependencies to ....
23643         (tests-special): ... additions to this variable.
23644         * nptl_db/Makefile (tests): Change dependencies to ....
23645         (tests-special): ... additions to this variable.
23646         * posix/Makefile (tests): Change dependencies to ....
23647         (tests-special): ... additions to this variable.
23648         (xtests): Change dependencies to ....
23649         (xtests-special): ... additions to this variable.
23650         * resolv/Makefile (tests): Change dependencies to ....
23651         (tests-special): ... additions to this variable.
23652         (xtests): Change dependencies to ....
23653         (xtests-special): ... additions to this variable.
23654         * stdio-common/Makefile (tests): Change dependencies to ....
23655         (tests-special): ... additions to this variable.
23656         (do-tst-unbputc): Remove target.
23657         (do-tst-printf): Likewise.
23658         * stdlib/Makefile (tests): Change dependencies to ....
23659         (tests-special): ... additions to this variable.
23660         * string/Makefile (tests): Change dependencies to ....
23661         (tests-special): ... additions to this variable.
23662         * sysdeps/x86/Makefile (tests): Change dependencies to ....
23663         (tests-special): ... additions to this variable.
23665         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
23666         whole file.
23667         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
23668         whole file.
23669         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
23670         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
23672         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
23673         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
23674         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
23675         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
23676         * conform/data/libgen.h-data [XPG3]: Likewise.
23677         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
23678         * conform/data/ndbm.h-data [XPG3]: Likewise.
23679         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
23680         * conform/data/netdb.h-data [XPG3]: Likewise.
23681         * conform/data/netinet/in.h-data [XPG3]: Likewise.
23682         * conform/data/poll.h-data [XPG3]: Likewise.
23683         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
23684         * conform/data/strings.h-data [XPG3]: Likewise.
23685         * conform/data/stropts.h-data [XPG3]: Likewise.
23686         * conform/data/sys/mman.h-data [XPG3]: Likewise.
23687         * conform/data/sys/resource.h-data [XPG3]: Likewise.
23688         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
23689         Likewise.
23690         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
23691         * conform/data/sys/time.h-data [XPG3]: Likewise.
23692         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
23693         * conform/data/sys/uio.h-data [XPG3]: Likewise.
23694         * conform/data/sys/un.h-data [XPG3]: Likewise.
23695         * conform/data/syslog.h-data [XPG3]: Likewise.
23696         * conform/data/ucontext.h-data [XPG3]: Likewise.
23697         * conform/data/utmpx.h-data [XPG3]: Likewise.
23698         * conform/data/varargs.h-data [UNIX98]: Enable file.
23700         * manual/Makefile (INSTALL_INFO): Remove variable setting.
23702         * math/libm-test.inc (struct test_f_f_data): Move expected results
23703         into structure for each rounding mode.
23704         (struct test_ff_f_data): Likewise.
23705         (struct test_ff_f_data_nexttoward): Likewise.
23706         (struct test_fi_f_data): Likewise.
23707         (struct test_fl_f_data): Likewise.
23708         (struct test_if_f_data): Likewise.
23709         (struct test_fff_f_data): Likewise.
23710         (struct test_c_f_data): Likewise.
23711         (struct test_f_f1_data): Likewise.
23712         (struct test_fF_f1_data): Likewise.
23713         (struct test_ffI_f1_data): Likewise.
23714         (struct test_c_c_data): Likewise.
23715         (struct test_cc_c_data): Likewise.
23716         (struct test_f_i_data): Likewise.
23717         (struct test_ff_i_data): Likewise.
23718         (struct test_f_l_data): Likewise.
23719         (struct test_f_L_data): Likewise.
23720         (struct test_fFF_11_data): Likewise.
23721         (RM_): New macro.
23722         (RM_FE_DOWNWARD): Likewise.
23723         (RM_FE_TONEAREST): Likewise.
23724         (RM_FE_TOWARDZERO): Likewise.
23725         (RM_FE_UPWARD): Likewise.
23726         (RUN_TEST_LOOP_f_f): Update references to expected results.
23727         (RUN_TEST_LOOP_2_f): Likewise.
23728         (RUN_TEST_LOOP_fff_f): Likewise.
23729         (RUN_TEST_LOOP_c_f): Likewise.
23730         (RUN_TEST_LOOP_f_f1): Likewise.
23731         (RUN_TEST_LOOP_fF_f1): Likewise.
23732         (RUN_TEST_LOOP_fI_f1): Likewise.
23733         (RUN_TEST_LOOP_ffI_f1): Likewise.
23734         (RUN_TEST_LOOP_c_c): Likewise.
23735         (RUN_TEST_LOOP_cc_c): Likewise.
23736         (RUN_TEST_LOOP_f_i): Likewise.
23737         (RUN_TEST_LOOP_f_i_tg): Likewise.
23738         (RUN_TEST_LOOP_ff_i_tg): Likewise.
23739         (RUN_TEST_LOOP_f_b): Likewise.
23740         (RUN_TEST_LOOP_f_b_tg): Likewise.
23741         (RUN_TEST_LOOP_f_l): Likewise.
23742         (RUN_TEST_LOOP_f_L): Likewise.
23743         (RUN_TEST_LOOP_fFF_11): Likewise.
23744         * math/gen-libm-test.pl (parse_args): Output four copies of
23745         expected results for each test.
23747         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23748         (__ASSUME_UTIMES): Remove.
23749         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23750         (__ASSUME_UTIMES): Likewise.
23752         * math/gen-auto-libm-tests.c: Update comment on output format.
23753         (output_for_one_input_case): Generate before-rounding and
23754         after-rounding information as conditions on output flags not
23755         floating-point format.
23756         * math/auto-libm-test-out: Regenerated.
23757         * math/gen-libm-test.pl (cond_value): New function.
23758         (or_cond_value): Use cond_value.
23759         (generate_testfile): Handle conditional exceptions.
23761 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
23763         * math/libm-test.inc (max_valid_error): New variable.
23764         (init_max_error): Take new argument specifying whether function
23765         results are exactly determined.  Set max_valid_error and bound
23766         other variables for errors based on this argument.
23767         (set_max_error): Do not record results above max_valid_error.
23768         (check_float_internal): Only accept errors of up to 0.5ulps if
23769         also at most max_valid_error.
23770         (START): Take new argument EXACT and pass it to init_max_error.
23771         (acos_test): Update call to START.
23772         (acos_test_tonearest): Likewise.
23773         (acos_test_towardzero): Likewise.
23774         (acos_test_downward): Likewise.
23775         (acos_test_upward): Likewise.
23776         (acosh_test): Likewise.
23777         (asin_test): Likewise.
23778         (asin_test_tonearest): Likewise.
23779         (asin_test_towardzero): Likewise.
23780         (asin_test_downward): Likewise.
23781         (asin_test_upward): Likewise.
23782         (asinh_test): Likewise.
23783         (atan_test): Likewise.
23784         (atanh_test): Likewise.
23785         (atan2_test): Likewise.
23786         (cabs_test): Likewise.
23787         (cacos_test): Likewise.
23788         (cacosh_test): Likewise.
23789         (carg_test): Likewise.
23790         (casin_test): Likewise.
23791         (casinh_test): Likewise.
23792         (catan_test): Likewise.
23793         (catanh_test): Likewise.
23794         (cbrt_test): Likewise.
23795         (ccos_test): Likewise.
23796         (ccosh_test): Likewise.
23797         (ceil_test): Likewise.
23798         (cexp_test): Likewise.
23799         (cimag_test): Likewise.
23800         (clog_test): Likewise.
23801         (clog10_test): Likewise.
23802         (conj_test): Likewise.
23803         (copysign_test): Likewise.
23804         (cos_test): Likewise.
23805         (cos_test_tonearest): Likewise.
23806         (cos_test_towardzero): Likewise.
23807         (cos_test_downward): Likewise.
23808         (cos_test_upward): Likewise.
23809         (cosh_test): Likewise.
23810         (cosh_test_tonearest): Likewise.
23811         (cosh_test_towardzero): Likewise.
23812         (cosh_test_downward): Likewise.
23813         (cosh_test_upward): Likewise.
23814         (cpow_test): Likewise.
23815         (cproj_test): Likewise.
23816         (creal_test): Likewise.
23817         (csin_test): Likewise.
23818         (csinh_test): Likewise.
23819         (csqrt_test): Likewise.
23820         (ctan_test): Likewise.
23821         (ctan_test_tonearest): Likewise.
23822         (ctan_test_towardzero): Likewise.
23823         (ctan_test_downward): Likewise.
23824         (ctan_test_upward): Likewise.
23825         (ctanh_test): Likewise.
23826         (ctanh_test_tonearest): Likewise.
23827         (ctanh_test_towardzero): Likewise.
23828         (ctanh_test_downward): Likewise.
23829         (ctanh_test_upward): Likewise.
23830         (erf_test): Likewise.
23831         (erfc_test): Likewise.
23832         (exp_test): Likewise.
23833         (exp_test_tonearest): Likewise.
23834         (exp_test_towardzero): Likewise.
23835         (exp_test_downward): Likewise.
23836         (exp_test_upward): Likewise.
23837         (exp10_test): Likewise.
23838         (exp10_test_tonearest): Likewise.
23839         (exp10_test_towardzero): Likewise.
23840         (exp10_test_downward): Likewise.
23841         (exp10_test_upward): Likewise.
23842         (pow10_test): Likewise.
23843         (exp2_test): Likewise.
23844         (expm1_test): Likewise.
23845         (expm1_test_tonearest): Likewise.
23846         (expm1_test_towardzero): Likewise.
23847         (expm1_test_downward): Likewise.
23848         (expm1_test_upward): Likewise.
23849         (fabs_test): Likewise.
23850         (fdim_test): Likewise.
23851         (floor_test): Likewise.
23852         (fma_test): Likewise.
23853         (fma_test_towardzero): Likewise.
23854         (fma_test_downward): Likewise.
23855         (fma_test_upward): Likewise.
23856         (fmax_test): Likewise.
23857         (fmin_test): Likewise.
23858         (fmod_test): Likewise.
23859         (fpclassify_test): Likewise.
23860         (frexp_test): Likewise.
23861         (hypot_test): Likewise.
23862         (ilogb_test): Likewise.
23863         (isfinite_test): Likewise.
23864         (finite_test): Likewise.
23865         (isgreater_test): Likewise.
23866         (isgreaterequal_test): Likewise.
23867         (isinf_test): Likewise.
23868         (isless_test): Likewise.
23869         (islessequal_test): Likewise.
23870         (islessgreater_test): Likewise.
23871         (isnan_test): Likewise.
23872         (isnormal_test): Likewise.
23873         (issignaling_test): Likewise.
23874         (isunordered_test): Likewise.
23875         (j0_test): Likewise.
23876         (j1_test): Likewise.
23877         (jn_test): Likewise.
23878         (ldexp_test): Likewise.
23879         (lgamma_test): Likewise.
23880         (gamma_test): Likewise.
23881         (lrint_test): Likewise.
23882         (lrint_test_tonearest): Likewise.
23883         (lrint_test_towardzero): Likewise.
23884         (lrint_test_downward): Likewise.
23885         (lrint_test_upward): Likewise.
23886         (llrint_test): Likewise.
23887         (llrint_test_tonearest): Likewise.
23888         (llrint_test_towardzero): Likewise.
23889         (llrint_test_downward): Likewise.
23890         (llrint_test_upward): Likewise.
23891         (log_test): Likewise.
23892         (log10_test): Likewise.
23893         (log1p_test): Likewise.
23894         (log2_test): Likewise.
23895         (logb_test): Likewise.
23896         (logb_test_downward): Likewise.
23897         (lround_test): Likewise.
23898         (llround_test): Likewise.
23899         (modf_test): Likewise.
23900         (nearbyint_test): Likewise.
23901         (nextafter_test): Likewise.
23902         (nexttoward_test): Likewise.
23903         (pow_test): Likewise.
23904         (pow_test_tonearest): Likewise.
23905         (pow_test_towardzero): Likewise.
23906         (pow_test_downward): Likewise.
23907         (pow_test_upward): Likewise.
23908         (remainder_test): Likewise.
23909         (drem_test): Likewise.
23910         (remainder_test_tonearest): Likewise.
23911         (drem_test_tonearest): Likewise.
23912         (remainder_test_towardzero): Likewise.
23913         (drem_test_towardzero): Likewise.
23914         (remainder_test_downward): Likewise.
23915         (drem_test_downward): Likewise.
23916         (remainder_test_upward): Likewise.
23917         (drem_test_upward): Likewise.
23918         (remquo_test): Likewise.
23919         (rint_test): Likewise.
23920         (rint_test_tonearest): Likewise.
23921         (rint_test_towardzero): Likewise.
23922         (rint_test_downward): Likewise.
23923         (rint_test_upward): Likewise.
23924         (round_test): Likewise.
23925         (scalb_test): Likewise.
23926         (scalbn_test): Likewise.
23927         (scalbln_test): Likewise.
23928         (signbit_test): Likewise.
23929         (sin_test): Likewise.
23930         (sin_test_tonearest): Likewise.
23931         (sin_test_towardzero): Likewise.
23932         (sin_test_downward): Likewise.
23933         (sin_test_upward): Likewise.
23934         (sincos_test): Likewise.
23935         (sinh_test): Likewise.
23936         (sinh_test_tonearest): Likewise.
23937         (sinh_test_towardzero): Likewise.
23938         (sinh_test_downward): Likewise.
23939         (sinh_test_upward): Likewise.
23940         (sqrt_test): Likewise.
23941         (sqrt_test_tonearest): Likewise.
23942         (sqrt_test_towardzero): Likewise.
23943         (sqrt_test_downward): Likewise.
23944         (sqrt_test_upward): Likewise.
23945         (tan_test): Likewise.
23946         (tan_test_tonearest): Likewise.
23947         (tan_test_towardzero): Likewise.
23948         (tan_test_downward): Likewise.
23949         (tan_test_upward): Likewise.
23950         (tanh_test): Likewise.
23951         (tgamma_test): Likewise.
23952         (trunc_test): Likewise.
23953         (y0_test): Likewise.
23954         (y1_test): Likewise.
23955         (yn_test): Likewise.
23956         (significand_test): Likewise.
23958         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
23959         individual tests in comment.
23960         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
23961         (prev_max_error): New variable.
23962         (prev_real_max_error): Likewise.
23963         (prev_imag_max_error): Likewise.
23964         (compare_ulp_data): Don't refer to test names in comment.
23965         (find_test_ulps): Remove function.
23966         (find_function_ulps): Likewise.
23967         (find_complex_function_ulps): Likewise.
23968         (init_max_error): Take function name as argument.  Look up ulps
23969         for that function.
23970         (print_ulps): Remove function.
23971         (print_max_error): Use prev_max_error instead of calling
23972         find_function_ulps.
23973         (print_complex_max_error): Use prev_real_max_error and
23974         prev_imag_max_error instead of calling find_complex_function_ulps.
23975         (check_float_internal): Take max_ulp parameter instead of calling
23976         find_test_ulps.  Don't call print_ulps.
23977         (check_float): Update call to check_float_internal.
23978         (check_complex): Update calls to check_float_internal.
23979         (START): Pass argument to init_max_error.
23980         * math/gen-libm-test.pl (%results): Don't include "kind"
23981         information.
23982         (parse_ulps): Don't handle ulps of individual tests.
23983         (print_ulps_file): Likewise.
23984         (output_ulps): Likewise.
23985         * math/README.libm-test: Update.
23986         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
23987         individual tests.
23988         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
23989         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
23990         * sysdeps/arm/libm-test-ulps: Likewise.
23991         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23992         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
23993         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
23994         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
23995         * sysdeps/microblaze/libm-test-ulps: Likewise.
23996         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
23997         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23998         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23999         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
24000         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24001         * sysdeps/sh/libm-test-ulps: Likewise.
24002         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24003         * sysdeps/tile/libm-test-ulps: Likewise.
24004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24006 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
24008         * math/libm-test.inc (print_complex_max_error): Check separately
24009         whether real and imaginary errors are within allowed range and
24010         pass 0 to print_complex_function_ulps instead of value within
24011         allowed range.
24013 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24015         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
24016         formatting.
24017         (get_handles_fopen): Likewise.
24018         (do_write_test): Likewise.
24020         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
24022         * libio/fileops.c (do_ftell): Use cached offset when
24023         available.
24024         * libio/iofwide.c (do_ftell_wide): Likewise.
24025         * libio/iofdopen.c (_IO_new_fdopen): Don't use
24026         _IO_file_attach.
24027         * libio/wfileops.c (_IO_fwide): Don't cache offset.
24029         [BZ #16532]
24030         * libio/libioP.h (get_file_offset): New function.
24031         * libio/fileops.c (get_file_offset): Likewise.
24032         (do_ftell): Likewise.
24033         (_IO_new_file_seekoff): Split out ftell logic.
24034         * libio/wfileops.c (do_ftell_wide): Likewise.
24035         (_IO_wfile_seekoff): Split out ftell logic.
24036         * libio/tst-ftell-active-handler.c: New test case.
24037         * libio/Makefile (tests): Add it.
24039 2014-03-03  Roland McGrath  <roland@hack.frob.com>
24041         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
24042         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
24044 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
24046         [BZ #16639]
24047         * nscd/connections.c (nscd_init): Call do_exit.
24048         (start_threads): Call do_exit and notify_parent.
24049         (begin_drop_privileges): Call do_exit.
24050         (finish_drop_privileges): Likewise.
24051         * nscd/selinux.c (preserve_capabilities): Likewise.
24052         (install_real_capabilities): Likewise.
24053         (nscd_selinux_enabled): Likewise.
24054         (avc_create_thread): Likewise.
24055         (avc_alloc_lock): Likewise.
24056         (nscd_avc_init): Likewise.
24057         * nscd/nscd.c (parent_fd): New static variable.
24058         (main): Create a pipe between parent and child processes.
24059         Skip closing parent_fd.
24060         (monitor_child): New function.
24061         (do_exit): Likewise.
24062         (notify_parent): Likewise.
24063         * nscd/nscd.h (notify_parent): Likewise.
24064         (do_exit): Likewise.
24066 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
24068         * malloc/malloc.c (__libc_calloc): Revert last change.
24070 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24072         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24074 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24076         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
24077         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
24078         implementation.
24079         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24080         (__libc_ifunc_impl_list): Likewise.
24081         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
24082         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
24083         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
24084         * string/strrchr.c: Define STRRCHR.
24086 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
24088         * benchtest/bench-strtok.c (simple_strtok): Delete.
24089         (strtok_string): Use as benchmark.
24090         * string/strtok (STRTOK): New macro.
24092 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
24094         * manual/threads.texi: Add header and standard comments to all
24095         functions.
24097         * elf/dl-lookup.c (check_match): New function.
24098         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
24099         (do_lookup_x): Remove nested function check_match. Use non-nested
24100         function check_match.
24102 2014-02-28  Roland McGrath  <roland@hack.frob.com>
24104         * csu/Makefile (generated, before-compile): Use += rather than =.
24105         * catgets/Makefile (generated, generated-dirs): Likewise.
24106         * debug/Makefile (generated): Likewise.
24107         * dlfcn/Makefile (generated): Likewise.
24108         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
24109         * iconvdata/Makefile (before-compile, generated): Likewise.
24110         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
24111         * libio/Makefile (generated): Likewise.
24112         * malloc/Makefile (generated): Likewise.
24113         * manual/Makefile (generated, generated-dirs): Likewise.
24114         * misc/Makefile (generated): Likewise.
24115         * posix/Makefile (generated): Likewise.
24116         * resolv/Makefile (generated): Likewise.
24117         * sunrpc/Makefile (generated, generated-dirs): Likewise.
24118         * timezone/Makefile (generated, generated-dirs): Likewise.
24120         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
24122 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24124         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
24125         power8 implementation.
24126         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
24127         file: POWER8 llround ifunc implementation.
24128         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
24129         (__lllround): Add POWER8 implementation.
24130         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
24131         POWER8 llround implementation.
24133         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
24134         power8 implementation.
24135         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
24136         file: POWER8 llrint ifunc implementation.
24137         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
24138         Add POWER8 implementation.
24139         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
24140         POWER8 llrint implementation.
24142         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
24143         power8 implementation.
24144         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
24145         file: POWER8 finite ifunc implementation.
24146         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
24147         Add POWER8 implementation.
24148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
24149         Likewise.
24150         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
24151         POWER8 finite implementation.
24152         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
24154         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
24155         power8 implementation.
24156         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
24157         file: POWER8 isinf ifunc implementation.
24158         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
24159         POWER8 implementation.
24160         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
24161         Likewise.
24162         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
24163         isinf implementation.
24164         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
24166         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
24167         (INIT_ARCH): Add hwcap2 initialization.
24168         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
24169         power8 implementation.
24170         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
24171         file: POWER8 isnan ifunc implementation.
24172         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
24173         POWER8 implementation.
24174         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
24175         Likewise.
24176         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
24177         isnan implementation.
24178         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
24180 2014-02-27  Joey Ye  <joey.ye@arm.com>
24182         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
24183         (_FP_NANFRAC_Q): Set to zero.
24185 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24187         [BZ #16623]
24188         * math/auto-libm-test-in: New test inputs.
24189         * math/auto-libm-test-out: Regenerate.
24190         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
24191         and DA.
24192         (__cos): Likewise.
24193         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24195 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
24197         * scripts/evaluate-test.sh: Take new argument indicating whether
24198         failure is expected.
24199         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
24200         indicating whether failure is expected.
24201         * conform/Makefile (test-xfail-run-conformtest): New variable.
24202         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
24203         level.
24204         * posix/Makefile (test-xfail-annexc): New variable.
24205         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
24207 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
24209         * argp/Makefile: Include Makeconfig immediately after defining
24210         subdir.
24211         * assert/Makefile: Likewise.
24212         * benchtests/Makefile: Likewise.
24213         * catgets/Makefile: Likewise.
24214         * conform/Makefile: Likewise.
24215         * crypt/Makefile: Likewise.
24216         * csu/Makefile: Likewise.
24217         (all): Remove target.
24218         * ctype/Makefile: Include Makeconfig immediately after defining
24219         subdir.
24220         * debug/Makefile: Likewise.
24221         * dirent/Makefile: Likewise.
24222         * dlfcn/Makefile: Likewise.
24223         * gmon/Makefile: Likewise.
24224         * gnulib/Makefile: Likewise.
24225         * grp/Makefile: Likewise.
24226         * gshadow/Makefile: Likewise.
24227         * hesiod/Makefile: Likewise.
24228         * hurd/Makefile: Likewise.
24229         (all): Remove target.
24230         * iconvdata/Makefile: Include Makeconfig immediately after
24231         defining subdir.
24232         * inet/Makefile: Likewise.
24233         * intl/Makefile: Likewise.
24234         * io/Makefile: Likewise.
24235         * libio/Makefile: Likewise.
24236         (all): Remove target.
24237         * locale/Makefile: Include Makeconfig immediately after defining
24238         subdir.
24239         * login/Makefile: Likewise.
24240         * mach/Makefile: Likewise.
24241         (all): Remove target.
24242         * malloc/Makefile: Include Makeconfig immediately after defining
24243         subdir.
24244         (all): Remove target.
24245         * manual/Makefile: Include Makeconfig immediately after defining
24246         subdir.
24247         * math/Makefile: Likewise.
24248         * misc/Makefile: Likewise.
24249         * nis/Makefile: Likewise.
24250         * nss/Makefile: Likewise.
24251         * po/Makefile: Likewise.
24252         (all): Remove target.
24253         * posix/Makefile: Include Makeconfig immediately after defining
24254         subdir.
24255         * pwd/Makefile: Likewise.
24256         * resolv/Makefile: Likewise.
24257         * resource/Makefile: Likewise.
24258         * rt/Makefile: Likewise.
24259         * setjmp/Makefile: Likewise.
24260         * shadow/Makefile: Likewise.
24261         * signal/Makefile: Likewise.
24262         * socket/Makefile: Likewise.
24263         * soft-fp/Makefile: Likewise.
24264         * stdio-common/Makefile: Likewise.
24265         * stdlib/Makefile: Likewise.
24266         * streams/Makefile: Likewise.
24267         * string/Makefile: Likewise.
24268         * sunrpc/Makefile: Likewise.
24269         (all): Remove target.
24270         * sysvipc/Makefile: Include Makeconfig immediately after defining
24271         subdir.
24272         * termios/Makefile: Likewise.
24273         * time/Makefile: Likewise.
24274         * timezone/Makefile: Likewise.
24275         (all): Remove target.
24276         * wcsmbs/Makefile: Include Makeconfig immediately after defining
24277         subdir.
24278         * wctype/Makefile: Likewise.
24280 2014-02-26  Steve Ellcey  <sellcey@mips.com>
24282         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
24283         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
24284         (libc_feholdexcept_setround_mips): Ditto.
24285         (libc_feholdsetround): New.
24286         (libc_feholdsetroundf): New.
24287         (libc_feholdsetroundl): New.
24288         (libc_feupdateenv_test_mips): New.
24289         (libc_feupdateenv_test): New.
24290         (libc_feupdateenv_testf): New.
24291         (libc_feupdateenv_testl): New.
24292         (libc_feresetround): New.
24293         (libc_feresetroundf): New.
24294         (libc_feresetroundl): New.
24295         (libc_fetestexcept_mips): New.
24296         (libc_fetestexcept): New.
24297         (libc_fetestexceptf): New.
24298         (libc_fetestexceptl): New.
24299         (HAVE_RM_CTX): New.
24300         (libc_feholdexcept_setround_mips_ctx): New.
24301         (libc_feholdexcept_setround_ctx): New.
24302         (libc_feholdexcept_setroundf_ctx): New.
24303         (libc_feholdexcept_setroundl_ctx): New.
24304         (libc_fesetenv_mips_ctx): New.
24305         (libc_fesetenv_ctx): New.
24306         (libc_fesetenv_ctxf): New.
24307         (libc_fesetenv_ctxl): New.
24308         (libc_feupdateenv_mips_ctx): New.
24309         (libc_feupdateenv_ctx): New.
24310         (libc_feupdateenvf_ctx): New.
24311         (libc_feupdateenvl_ctx): New.
24312         (libc_feholdsetround_mips_ctx): New.
24313         (libc_feholdsetround_ctx): New.
24314         (libc_feholdsetroundf_ctx): New.
24315         (libc_feholdsetroundl_ctx): New.
24316         (libc_feresetround_mips_ctx): New.
24317         (libc_feresetround_ctx): New.
24318         (libc_feresetroundf_ctx): New.
24319         (libc_feresetroundl_ctx): New.
24321 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
24323         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
24325         * manual/ipc.texi: New file.
24326         * manual/Makefile (chapters): Add ipc.
24327         * manual/job.texi: Add "Inter-Process Communication" to next.
24328         * manual/process.texi: Add "Inter-Process Communication" to prev.
24330 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24332         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24334 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
24336         * malloc/malloc.c (__libc_calloc): Simplify implementation.
24338         * manual/arith.texi: Fix spaces after sentences.
24339         * manual/charset.texi: Likewise.
24340         * manual/errno.texi: Likewise.
24341         * manual/install.texi: Likewise.
24342         * manual/llio.texi: Likewise.
24343         * manual/locale.texi: Likewise.
24344         * manual/maint.texi: Likewise.
24345         * manual/math.texi: Likewise.
24346         * manual/memory.texi: Likewise.
24347         * manual/message.texi: Likewise.
24348         * manual/probes.texi: Likewise.
24349         * manual/resource.texi: Likewise.
24350         * manual/signal.texi: Likewise.
24351         * manual/socket.texi: Likewise.
24352         * manual/stdio.texi: Likewise.
24353         * manual/string.texi: Likewise.
24354         * manual/time.texi: Likewise.
24355         * manual/users.texi: Likewise.
24357 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
24359         [BZ #16632]
24360         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
24361         _DEFAULT_SOURCE is defined.
24363 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
24364             Carlos O'Donell  <carlos@redhat.com>
24366         [BZ #16613]
24367         * elf/dl-tls.c (_dl_count_modids): New function.
24368         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
24369         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
24370         audit library and increment generation counter.
24371         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
24372         * elf/tst-audit9.c: New file.
24373         * elf/tst-auditmod9a.c: New file.
24374         * elf/tst-auditmod9b.c: New file.
24375         * elf/Makefile: Add rules to build and run tst-audit9.
24377 2014-02-25  Florian Weimer  <fweimer@redhat.com>
24379         [BZ #15347]
24380         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
24382 2014-02-25  Will Newton  <will.newton@linaro.org>
24384         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
24385         (__longjmp): Restore sp and lr before restoring callee
24386         saved registers.  Add longjmp and longjmp_target
24387         SystemTap probe point.
24388         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
24389         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
24390         Define to zero to match jmpbuf layout.
24391         * sysdeps/arm/setjmp.S: Include stap-probe.h.
24392         (__sigsetjmp): Save sp and lr before saving callee
24393         saved registers.  Add setjmp SystemTap probe point.
24395 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
24397         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24399 2014-02-24  Andreas Schwab  <schwab@suse.de>
24401         [BZ #15804]
24402         * elf/pldd.c (wait_for_ptrace_stop): New function.
24403         (main): Call it after attaching.
24405 2014-02-22  Roland McGrath  <roland@hack.frob.com>
24407         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
24408         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
24409         Versions files is now verboten.
24410         * hurd/Versions (libc: GLIBC_2.0):
24411         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
24412         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
24413         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
24414         * mach/Versions: Likewise.
24416         * csu/Versions: Remove unused %include.
24417         * resolv/Versions: Likewise.
24419 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
24421         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
24422         ($(objpfx)check-local-headers.out): Likewise.
24423         ($(objpfx)begin-end-check.out): Likewise.
24424         * Makerules (check-abi-%.out): Likewise.
24425         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
24426         ($(objpfx)test2.cat): Likewise.
24427         ($(objpfx)de/libc.cat): Likewise.
24428         ($(objpfx)test-gencat.out): Likewise.
24429         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
24430         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
24431         ($(objpfx)noload-mem): Likewise.
24432         ($(objpfx)tst-pathopt.out): Likewise.
24433         ($(objpfx)tst-rtld-load-self.out): Likewise.
24434         ($(objpfx)tst-array1-cmp.out): Likewise.
24435         ($(objpfx)tst-array1-static-cmp.out): Likewise.
24436         ($(objpfx)tst-array2-cmp.out): Likewise.
24437         ($(objpfx)tst-array3-cmp.out): Likewise.
24438         ($(objpfx)tst-array4-cmp.out): Likewise.
24439         ($(objpfx)tst-array5-cmp.out): Likewise.
24440         ($(objpfx)tst-array5-static-cmp.out): Likewise.
24441         ($(objpfx)check-textrel.out): Likewise.
24442         ($(objpfx)check-execstack.out): Likewise.
24443         ($(objpfx)check-localplt.out): Likewise.
24444         ($(objpfx)order2-cmp.out): Likewise.
24445         ($(objpfx)tst-leaks1-mem): Likewise.
24446         ($(objpfx)tst-leaks1-static-mem): Likewise.
24447         ($(objpfx)tst-initorder-cmp.out): Likewise.
24448         ($(objpfx)tst-initorder2-cmp.out): Likewise.
24449         ($(objpfx)tst-unused-dep.out): Likewise.
24450         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
24451         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
24452         * iconv/Makefile (test-iconvconfig): Likewise.
24453         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
24454         ($(objpfx)iconv-test.out): Likewise.
24455         ($(objpfx)tst-tables.out): Likewise.
24456         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
24457         ($(objpfx)tst-gettext.out): Likewise.
24458         ($(objpfx)tst-translit.out): Likewise.
24459         ($(objpfx)tst-gettext2.out): Likewise.
24460         ($(objpfx)tst-gettext4.out): Likewise.
24461         ($(objpfx)tst-gettext6.out): Likewise.
24462         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
24463         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
24464         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
24465         ($(objpfx)tst-fopenloc-mem.out): Likewise.
24466         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
24467         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
24468         * posix/Makefile ($(objpfx)globtest.out): Likewise.
24469         ($(objpfx)wordexp-tst.out): Likewise.
24470         ($(objpfx)annexc.out): Likewise.
24471         ($(objpfx)tst-fnmatch-mem): Likewise.
24472         ($(objpfx)bug-regex2-mem): Likewise.
24473         ($(objpfx)bug-regex14-mem): Likewise.
24474         ($(objpfx)bug-regex21-mem): Likewise.
24475         ($(objpfx)bug-regex31-mem): Likewise.
24476         ($(objpfx)tst-vfork3-mem): Likewise.
24477         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
24478         ($(objpfx)tst-pcre-mem): Likewise.
24479         ($(objpfx)tst-boost-mem): Likewise.
24480         ($(objpfx)tst-getconf.out): Likewise.
24481         ($(objpfx)bug-ga2-mem): Likewise.
24482         ($(objpfx)bug-glob2-mem): Likewise.
24483         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
24484         ($(objpfx)mtrace-tst-leaks2): Likewise.
24485         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
24486         ($(objpfx)tst-printf.out): Likewise.
24487         ($(objpfx)tst-setvbuf1.out): Likewise.
24488         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
24489         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
24490         ($(objpfx)tst-fmtmsg.out): Likewise.
24491         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
24492         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
24494         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
24495         * bits/sigaction.h [__USE_MISC]: Likewise.
24496         * bits/waitstatus.h: Update #endif comments.
24497         * ctype/ctype.h: Likewise.
24498         * dirent/dirent.h: Likewise.
24499         [__USE_MISC]: Remove redundant conditionals.
24500         * grp/grp.h: Update #endif comments.
24501         [__USE_GNU]: Remove redundant conditionals.
24502         [__USE_MISC]: Likewise.
24503         * inet/netinet/in.h [__USE_GNU]: Likewise.
24504         * io/sys/stat.h [__USE_MISC]: Likewise.
24505         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
24506         * libio/bits/stdio.h: Update #endif comments.
24507         [__USE_MISC]: Remove redundant conditionals.
24508         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
24509         * libio/stdio.h: Update #endif comments.
24510         [__USE_MISC]: Remove redundant conditionals.
24511         * math/bits/math-finite.h [__USE_MISC]: Likewise.
24512         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
24513         * math/math.h: Update #else and #endif comments.
24514         [__USE_MISC]: Remove redundant conditionals.
24515         * misc/sys/uio.h: Update #endif comments.
24516         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
24517         * posix/glob.h [__USE_MISC]: Likewise.
24518         * posix/sys/types.h: Update #endif comments.
24519         [__USE_MISC]: Remove redundant conditionals.
24520         * posix/sys/wait.h: Update #endif comments.
24521         [__USE_MISC]: Remove redundant conditionals.
24522         * posix/unistd.h: Update #endif comments.
24523         [__USE_MISC]: Remove redundant conditionals.
24524         * pwd/pwd.h [__USE_GNU]: Likewise.
24525         [__USE_MISC]: Likewise.
24526         * resolv/netdb.h [__USE_GNU]: Likewise.
24527         * signal/signal.h: Update #endif comments.
24528         [__USE_MISC]: Remove redundant conditionals.
24529         * stdlib/stdlib.h: Update #else and #endif comments.
24530         [__USE_MISC]: Remove redundant conditionals.
24531         [__USE_GNU]: Likewise.
24532         * string/bits/string2.h [__USE_MISC]: Likewise.
24533         * string/string.h: Update #endif comments.
24534         [__USE_MISC]: Remove redundant conditionals.
24535         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
24536         Likewise.
24537         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
24538         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
24539         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
24540         Likewise.
24541         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
24542         Likewise.
24543         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
24544         comments.
24545         [__USE_MISC]: Remove redundant conditionals.
24546         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
24547         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
24548         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
24549         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
24550         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
24551         Likewise.
24552         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
24553         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
24554         Likewise.
24555         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
24556         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
24557         Likewise.
24558         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
24559         Likewise.
24560         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
24561         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
24562         Likewise.
24563         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
24564         Likewise.
24565         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
24566         * sysdeps/x86/bits/string.h: Update #endif comments.
24567         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
24568         conditionals.
24569         * time/sys/time.h: Update #endif comments.
24570         * time/time.h: Likewise.
24571         [__USE_MISC]: Remove redundant conditionals.
24573 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
24575         [BZ #16600]
24576         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
24578 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
24580         * Versions.def (librt): Add GLIBC_2.17.
24582 2014-02-21  Adam Conrad  <adconrad@0c3.net>
24584         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
24585         synonym for _SYS_AUXV_H to allow direct inclusion.
24586         * sysdeps/sparc/bits/hwcap.h: Likewise.
24587         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
24588         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
24589         * sysdeps/sparc/sysdep.h: Likewise.
24591 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24593         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
24595 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24597         * benchtests/bench-strrchr.c: Print length instead of position.
24599 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
24601         [BZ #16611]
24602         * sysdeps/unix/sysv/linux/kernel-features.h
24603         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
24604         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
24605         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
24606         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
24607         Likewise.
24608         [__i386__ || __powerpc__ || __sh__ || __sparc__]
24609         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24610         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
24611         (__ASSUME_SENDMMSG): Define instead of using previous
24612         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
24613         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24614         (__ASSUME_SENDMMSG_SYSCALL): Define.
24615         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24616         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
24617         Likewise.
24618         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24619         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24620         Likewise.
24621         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24622         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24623         Likewise.
24624         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
24625         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
24626         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
24627         [__ASSUME_SENDMMSG]: Change conditionals to
24628         [__ASSUME_SENDMMSG_SOCKETCALL].
24629         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24630         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
24631         Define.
24632         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24633         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
24634         Likewise.
24635         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
24636         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
24637         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
24638         [!__ASSUME_SENDMMSG]: Change conditional to
24639         [!__ASSUME_SENDMMSG_SOCKETCALL].
24640         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24641         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24642         Define.
24644         [BZ #16610]
24645         * sysdeps/unix/sysv/linux/kernel-features.h
24646         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
24647         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
24648         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
24649         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
24650         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24651         [__i386__ || __sparc__]
24652         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24653         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
24654         (__ASSUME_RECVMMSG): Define instead of using previous
24655         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
24656         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24657         (__ASSUME_RECVMMSG_SYSCALL): Define.
24658         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24659         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24660         Likewise.
24661         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24662         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24663         Likewise.
24664         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24665         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24666         Likewise.
24667         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
24668         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
24669         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
24670         [__ASSUME_RECVMMSG]: Change condition to
24671         [__ASSUME_RECVMMSG_SOCKETCALL].
24672         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24673         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24674         Define.
24675         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24676         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24677         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24678         Likewise.
24679         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
24680         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
24681         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
24682         [!__ASSUME_RECVMMSG]: Change condition to
24683         [!__ASSUME_RECVMMSG_SOCKETCALL].
24684         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24685         (__ASSUME_RECVMMSG_SYSCALL): Define.
24687         [BZ #16609]
24688         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
24689         __powerpc__ || __s390__ || __sh__ || __sparc__]
24690         (__ASSUME_SOCKETCALL): Define.
24691         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
24692         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
24693         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
24694         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
24695         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
24696         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
24697         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
24698         (__ASSUME_ACCEPT4): Define instead of using previous
24699         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
24700         __powerpc__ || __sparc__ || __s390__)] condition.
24701         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24702         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
24703         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
24704         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
24705         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
24706         [!__ASSUME_ACCEPT4]: Change condition to
24707         [!__ASSUME_ACCEPT4_SOCKETCALL].
24708         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24709         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
24710         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
24711         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24712         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
24713         __ASSUME_ACCEPT4_SYSCALL.
24714         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
24715         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
24716         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24717         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
24718         __ASSUME_ACCEPT4_SYSCALL.
24719         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
24720         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
24721         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
24722         [__ASSUME_ACCEPT4]: Change condition to
24723         [__ASSUME_ACCEPT4_SOCKETCALL].
24724         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24725         (__ASSUME_SOCKETCALL): Define.
24726         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
24727         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24728         (__ASSUME_SOCKETCALL): Define.
24729         (__ASSUME_ACCEPT4): Remove.
24730         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
24731         Define.
24732         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24733         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
24734         Likewise.
24735         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24736         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
24738         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
24739         macro.
24740         (HWCAP_ARM_LPAE): Likewise.
24741         (HWCAP_ARM_EVTSTRM): Likewise.
24742         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
24743         Add vpfd32, lpae and evtstrm.
24744         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
24745         Increase to 22.
24747 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
24749         * math/auto-libm-test-in: Add tests of clog10.
24750         * math/auto-libm-test-out: Regenerated.
24751         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
24752         * sysdeps/i386/fpu/libm-test-ulps: Update.
24753         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24755 2014-02-18  Andreas Schwab  <schwab@suse.de>
24757         [BZ #16574]
24758         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
24759         Store non-zero if the second buffer was newly allocated.
24760         (send_dg): Likewise.
24761         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
24762         to send_vc and send_dg.
24763         (res_nsend): Pass NULL for ansp2_malloced.
24764         * resolv/res_query.c (__libc_res_nquery): Add parameter
24765         answerp2_malloced and pass it down to __libc_res_nsend.
24766         (res_nquery): Pass additional NULL to __libc_res_nquery.
24767         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
24768         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
24769         second answer buffer if answerp2_malloced was set.
24770         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
24771         (__libc_res_nquerydomain): Add parameter
24772         answerp2_malloced and pass it down to __libc_res_nquery.
24773         (res_nquerydomain): Pass additional NULL to
24774         __libc_res_nquerydomain.
24775         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
24776         additional NULL to __libc_res_nsend and __libc_res_nquery.
24777         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
24778         additional NULL to __libc_res_nsearch.
24779         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
24780         parameter of __libc_res_nsearch to check for separately allocated
24781         second buffer.
24782         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
24783         __libc_res_nquery.
24784         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
24785         additional NULL to __libc_res_nquery.
24786         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
24787         __libc_res_nsearch.
24788         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
24789         * include/resolv.h: Update prototypes of __libc_res_nquery,
24790         __libc_res_nsearch, __libc_res_nsend.
24792 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
24794         * math/auto-libm-test-in: Add tests of fma.
24795         * math/auto-libm-test-out: Regenerated.
24796         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
24797         (fma_towardzero_test_data): Likewise.
24798         (fma_downward_test_data): Likewise.
24799         (fma_upward_test_data): Likewise.
24800         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
24801         mpc_mode.
24802         (rounding_modes): Add values for new field.
24803         (func_calc_method): Add value mpfr_fff_f.
24804         (func_calc_desc): Add mpfr_fff_f union field.
24805         (test_function): Add field exact_args.
24806         (FUNC): Add macro argument EXACT_ARGS.
24807         (FUNC_mpfr_f_f): Update call to FUNC.
24808         (FUNC_mpfr_f_f): Likewise.
24809         (FUNC_mpfr_ff_f): Likewise.
24810         (FUNC_mpfr_if_f): Likewise.
24811         (FUNC_mpc_c_f): Likewise.
24812         (FUNC_mpc_c_c): Likewise.
24813         (test_functions): Add fma.  Update calls to FUNC.
24814         (handle_input_arg): Add argument exact_args.
24815         (add_test): Update call to handle_input_arg.
24816         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
24817         (output_for_one_input_case): Update call to calc_generic_results.
24818         Recalculate exact zero results in each rounding mode.
24820         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
24821         non-negative before setting low bit.
24822         * math/auto-libm-test-in: Mark one asin test possibly having
24823         spurious underflow.
24824         * math/auto-libm-test-out: Regenerated.
24825         * sysdeps/i386/fpu/libm-test-ulps: Update.
24826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24828 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
24830         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
24831         * sysdeps/unix/sysv/linux/microblaze: Move directory from
24832         ports/sysdeps/unix/sysv/linux/microblaze.
24833         * README: Add missing listing for microblaze*-*-linux-gnu.
24835 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
24837         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
24838         duplicate code
24840 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
24842         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
24843         * sysdeps/unix/sysv/linux/ia64: Move directory from
24844         ports/sysdeps/unix/sysv/linux/ia64.
24845         * README: Update listing for ia64-*-linux-gnu.
24847 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
24848             Joseph Myers  <joseph@codesourcery.com>
24850         * Makeconfig (test-name): New variable.
24851         (evaluate-test): Likewise.
24852         * Makerules (do-test-clean): Remove .test-result files.
24853         (common-mostlyclean): Likewise.
24854         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
24855         * scripts/evaluate-test.sh: New file.
24857 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
24859         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
24860         separate $(objpfx)tst-fopenloc-cmp.out and
24861         $(objpfx)tst-fopenloc-mem.out targets.
24862         (tests): Update dependencies.
24863         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
24864         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
24865         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
24866         (tst-rxspencer-no-utf8-ARGS): New variable.
24867         (tst-rxspencer-no-utf8-ENV): Likewise.
24868         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
24869         instead of $(objpfx)tst-rxspencer-mem.
24870         ($(objpfx)tst-rxspencer-mem): Change target to
24871         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
24872         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
24873         * posix/tst-rxspencer-no-utf8.c: New file.
24875         * elf/Makefile ($(objpfx)order.out): Remove rule.
24876         [$(run-built-tests) = yes] (tests): Depend on
24877         $(objpfx)order-cmp.out.
24878         ($(objpfx)order-cmp.out): New rule.
24879         [$(run-built-tests) = yes] (tests): Depend on
24880         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
24881         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
24882         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
24883         $(objpfx)tst-array5-static-cmp.out.
24884         ($(objpfx)tst-array1.out): Remove rule.
24885         ($(objpfx)tst-array1-cmp.out): New rule.
24886         ($(objpfx)tst-array1-static.out): Remove rule.
24887         ($(objpfx)tst-array1-static-cmp.out): New rule.
24888         ($(objpfx)tst-array2.out): Remove rule.
24889         ($(objpfx)tst-array2-cmp.out): New rule.
24890         ($(objpfx)tst-array3.out): Remove rule.
24891         ($(objpfx)tst-array3-cmp.out): New rule.
24892         ($(objpfx)tst-array4.out): Remove rule.
24893         ($(objpfx)tst-array4-cmp.out): New rule.
24894         ($(objpfx)tst-array5.out): Remove rule.
24895         ($(objpfx)tst-array5-cmp.out): New rule.
24896         ($(objpfx)tst-array5-static.out): Remove rule.
24897         ($(objpfx)tst-array5-static-cmp.out): New rule.
24898         [$(run-built-tests) = yes] (tests): Depend on
24899         $(objpfx)order2-cmp.out.
24900         ($(objpfx)order2.out): Remove rule.
24901         ($(objpfx)order2-cmp.out): New rule.
24902         ($(objpfx)tst-initorder.out): Remove rule.
24903         [$(run-built-tests) = yes] (tests): Depend on
24904         $(objpfx)tst-initorder-cmp.out.
24905         ($(objpfx)tst-initorder-cmp.out): New rule.
24906         ($(objpfx)tst-initorder2.out): Remove rule.
24907         [$(run-built-tests) = yes] (tests): Depend on
24908         $(objpfx)tst-initorder2-cmp.out.
24909         ($(objpfx)tst-initorder2-cmp.out): New rule.
24910         [$(run-built-tests) = yes] (tests): Depend on
24911         $(objpfx)tst-unused-dep-cmp.out.
24912         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
24913         ($(objpfx)tst-unused-dep-cmp.out): New rule.
24914         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
24915         on $(objpfx)tst-setvbuf1-cmp.out.
24916         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
24917         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
24918         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
24919         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
24920         ($(objpfx)tst-svc.out): Remove rule.
24921         ($(objpfx)tst-svc-cmp.out): New rule.
24923 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
24925         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
24926         * ctype/ctype.h [__USE_MISC]: Likewise.
24927         * dirent/dirent.h [__USE_MISC]: Likewise.
24928         * grp/grp.h [__USE_MISC]: Likewise.
24929         * io/fcntl.h [__USE_MISC]: Likewise.
24930         * io/sys/stat.h [__USE_MISC]: Likewise.
24931         * libio/stdio.h [__USE_MISC]: Likewise.
24932         * posix/unistd.h [__USE_MISC]: Likewise.
24933         * pwd/pwd.h [__USE_MISC]: Likewise.
24934         * stdlib.h [__USE_MISC]: Likewise.
24935         * string/bits/string2.h [__USE_MISC]: Likewise.
24936         * string/string.h [__USE_MISC]: Likewise.
24937         * time/time.h [__USE_MISC]: Likewise.
24939 2014-02-13  Andreas Schwab  <schwab@suse.de>
24941         [BZ #16574]
24942         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
24943         second answer buffer if it was separately allocated.
24945 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
24947         * sysdeps/mips/math-tests.h: Include <features.h>.
24948         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
24949         (ROUNDING_TESTS_long_double): Do not define.
24950         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
24951         (EXCEPTION_TESTS_long_double): Likewise.
24952         * sysdeps/mips/mips64/libm-test-ulps: Update.
24954         * include/features.h (__USE_BSD): Remove macro definitions.
24955         (__USE_SVID): Likewise.
24956         (_BSD_SOURCE): Likewise.
24957         (_SVID_SOURCE): Likewise.
24958         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
24959         from definition of _DEFAULT_SOURCE.
24960         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
24961         [_DEFAULT_SOURCE].
24962         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
24963         * bits/mman.h [__USE_BSD]: Likewise.
24964         * bits/termios.h [__USE_BSD]: Likewise.
24965         * bits/waitstatus.h [__USE_BSD]: Likewise.
24966         * ctype/ctype.h [__USE_SVID]: Likewise.
24967         * dirent/dirent.h [__USE_BSD]: Likewise.
24968         * grp/grp.h [__USE_SVID]: Likewise.
24969         [__USE_BSD]: Likewise.
24970         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
24971         * io/fcntl.h [__USE_BSD]: Likewise.
24972         * io/ftw.h [__USE_BSD]: Likewise.
24973         * io/sys/stat.h [__USE_BSD]: Likewise.
24974         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
24975         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
24976         * libio/stdio.h [__USE_SVID]: Likewise.
24977         [__USE_BSD]: Likewise.
24978         * math/math.h [__USE_SVID]: Likewise.
24979         [__USE_BSD]: Likewise.
24980         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
24981         * misc/bits/syslog.h [__USE_BSD]: Likewise.
24982         * misc/search.h [__USE_SVID]: Likewise.
24983         * misc/sys/mman.h [__USE_BSD]: Likewise.
24984         * misc/sys/syslog.h [__USE_BSD]: Likewise.
24985         * misc/sys/uio.h [__USE_BSD]: Likewise.
24986         * posix/bits/unistd.h [__USE_BSD]: Likewise.
24987         * posix/glob.h [__USE_BSD]: Likewise.
24988         * posix/regex.h [__USE_BSD]: Likewise.
24989         * posix/sys/types.h [__USE_BSD]: Likewise.
24990         [__USE_SVID]: Likewise.
24991         * posix/sys/utsname.h [__USE_SVID]: Likewise.
24992         * posix/sys/wait.h [__USE_BSD]: Likewise.
24993         [__USE_SVID]: Likewise.
24994         * posix/unistd.h [__USE_BSD]: Likewise.
24995         [__USE_SVID]: Likewise.
24996         * pwd/pwd.h [__USE_SVID]: Likewise.
24997         * resolv/netdb.h [__USE_BSD]: Likewise.
24998         * setjmp/setjmp.h [__USE_BSD]: Likewise.
24999         * signal/signal.h [__USE_BSD]: Likewise.
25000         [__USE_SVID]: Likewise.
25001         * socket/sys/socket.h [__USE_BSD]: Likewise.
25002         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
25003         * stdlib/stdlib.h [__USE_BSD]: Likewise.
25004         [__USE_SVID]: Likewise.
25005         * string/bits/string2.h [__USE_BSD]: Likewise.
25006         [__USE_SVID]: Likewise.
25007         * string/bits/string3.h [__USE_BSD]: Likewise.
25008         * string/endian.h [__USE_BSD]: Likewise.
25009         * string/string.h [__USE_SVID]: Likewise.
25010         [__USE_BSD]: Likewise.
25011         * string/strings.h [__USE_BSD]: Likewise.
25012         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
25013         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
25014         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
25015         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
25016         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
25017         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
25018         Likewise.
25019         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
25020         Likewise.
25021         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
25022         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
25023         Likewise.
25024         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
25025         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
25026         Likewise.
25027         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
25028         Likewise.
25029         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
25030         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
25031         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
25032         Likewise.
25033         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
25034         Likewise.
25035         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
25036         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
25037         * termios/termios.h [__USE_BSD]: Likewise.
25038         * time/sys/time.h [__USE_BSD]: Likewise.
25039         * time/time.h [__USE_BSD]: Likewise.
25040         [__USE_SVID]: Likewise.
25042         * Makefile (subdir_targets): Remove subdir_lint.out.
25044         * stdio-common/Makefile (do-tst-unbputc): Remove target.
25045         (do-tst-printf): Likewise.
25046         (tests): Depend directly on $(objpfx)tst-unbputc.out and
25047         $(objpfx)tst-printf.out.
25049         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
25051         * Makerules (check-abi-%): Change target to
25052         $(objpfx)check-abi-%.out.
25053         (check-abi target): Update dependencies.
25054         (check-abi-pattern variable): Redirect output of diff to $@.
25055         (check-abi variable): Likewise.
25056         * elf/Makefile (check-abi): Update dependencies.
25058         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
25059         unused.
25060         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
25061         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
25062         subnormal range.
25063         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
25064         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
25065         value has largest subnormal exponent.
25066         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
25067         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
25068         * sysdeps/aarch64/soft-fp/sfp-machine.h
25069         (_FP_TININESS_AFTER_ROUNDING): New macro.
25070         * sysdeps/alpha/soft-fp/sfp-machine.h
25071         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25072         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25073         Likewise.
25074         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
25075         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25076         * sysdeps/mips/soft-fp/sfp-machine.h
25077         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25078         * sysdeps/powerpc/soft-fp/sfp-machine.h
25079         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25080         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25081         Likewise.
25082         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
25083         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25084         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
25085         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25086         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25087         Likewise.
25089 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
25091         [BZ #16545]
25092         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
25093         model 1.
25095 2014-02-12  Richard Henderson  <rth@redhat.com>
25097         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
25098         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
25099         * sysdeps/unix/sysv/linux/alpha: Move directory from
25100         ports/sysdeps/unix/sysv/linux/alpha.
25101         * README: Update listing for alpha-*-linux-gnu.
25103 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
25105         * include/features.h: Update comment documenting feature test
25106         macros.
25107         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
25108         _DEFAULT_SOURCE.
25109         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
25110         (_SVID_SOURCE): Likewise.
25111         (_DEFAULT_SOURCE): Update description of default features.
25112         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
25113         with _GNU_SOURCE.
25114         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
25115         (S_ISVTX): Likewise.
25116         * manual/math.texi (Mathematical Constants): Likewise.
25117         * manual/signal.texi (Interrupted Primitives): Likewise.
25118         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
25119         * math/test-matherr.c (_SVID_SOURCE): Do not define.
25120         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
25121         Don't refer to _SVID_SOURCE in warning text.
25123         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25125         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
25126         already defined.
25127         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
25128         * sysdeps/mips/dl-lookup.c: Remove.
25129         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
25131 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
25133         [BZ #16447]
25134         * math/auto-libm-test-in: Add testcase for expl.
25135         * math/auto-libm-test-out: Regenerate.
25136         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
25137         calculation of unsafe.
25138         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
25140 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
25142         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
25143         * sysdeps/unix/sysv/linux/aarch64: Move directory from
25144         ports/sysdeps/unix/sysv/linux/aarch64.
25145         * README: Update listing for aarch64*-*-linux-gnu.
25147 2014-02-11  Will Newton  <will.newton@linaro.org>
25149         * manual/probes.texi (Mathematical Function Probes): Use
25150         "triggered" instead of "hit".
25152         * manual/probes.texi (Internal Probes): Add documentation
25153         of setjmp, longjmp and longjmp_target probes.
25155         * include/stap-probe.h: Add comment about probe argument
25156         format.
25158         * malloc/mtrace.c (attribute_hidden): Remove unused macro
25159         definition.  (tr_where, tr_freehook, tr_mallochook,
25160         tr_reallochook, tr_memalignhook): Use ANSI protoype.
25162 2014-02-11  David S. Miller  <davem@davemloft.net>
25164         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
25165         processing int_tests.
25167 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
25169         * sysdeps/mips: Move directory from ports/sysdeps/mips.
25170         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
25171         * sysdeps/unix/sysv/linux/mips: Move directory from
25172         ports/sysdeps/unix/sysv/linux/mips.
25173         * README: Update listing for mips-*-linux-gnu and
25174         mips64-*-linux-gnu.
25176 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
25178         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
25179         * sysdeps/unix/sysv/linux/m68k: Move directory from
25180         ports/sysdeps/unix/sysv/linux/m68k.
25181         * README: Update listing for m68k-*-linux-gnu.
25183 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
25185         * sysdeps/tile: Move directory from ports/sysdeps/tile.
25186         * sysdeps/unix/sysv/linux/generic: Move directory from
25187         ports/sysdeps/unix/sysv/linux/generic.
25188         * sysdeps/unix/sysv/linux/tile: Move directory from
25189         ports/sysdeps/unix/sysv/linux/tile.
25190         * README: Update listing for tile*-*-linux-gnu.
25192 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
25194         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
25195         __builtin_expect.
25196         * benchtests/bench-memmem.c (simple_memmem): Likewise.
25197         * catgets/open_catalog.c (__open_catalog): Likewise.
25198         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
25199         * debug/confstr_chk.c: Likewise.
25200         * debug/fread_chk.c (__fread_chk): Likewise.
25201         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
25202         * debug/getgroups_chk.c: Likewise.
25203         * debug/mbsnrtowcs_chk.c: Likewise.
25204         * debug/mbsrtowcs_chk.c: Likewise.
25205         * debug/mbstowcs_chk.c: Likewise.
25206         * debug/memcpy_chk.c: Likewise.
25207         * debug/memmove_chk.c: Likewise.
25208         * debug/mempcpy_chk.c: Likewise.
25209         * debug/memset_chk.c: Likewise.
25210         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
25211         * debug/strcat_chk.c (__strcat_chk): Likewise.
25212         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
25213         * debug/strncat_chk.c (__strncat_chk): Likewise.
25214         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
25215         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
25216         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
25217         * debug/wcpncpy_chk.c: Likewise.
25218         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
25219         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
25220         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
25221         * debug/wcsncpy_chk.c: Likewise.
25222         * debug/wcsnrtombs_chk.c: Likewise.
25223         * debug/wcsrtombs_chk.c: Likewise.
25224         * debug/wcstombs_chk.c: Likewise.
25225         * debug/wmemcpy_chk.c: Likewise.
25226         * debug/wmemmove_chk.c: Likewise.
25227         * debug/wmempcpy_chk.c: Likewise.
25228         * debug/wmemset_chk.c: Likewise.
25229         * dirent/scandirat.c (SCANDIRAT): Likewise.
25230         * dlfcn/dladdr1.c (dladdr1): Likewise.
25231         * dlfcn/dladdr.c (dladdr): Likewise.
25232         * dlfcn/dlclose.c (dlclose_doit): Likewise.
25233         * dlfcn/dlerror.c (__dlerror): Likewise.
25234         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
25235         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
25236         * dlfcn/dlopen.c (dlopen_doit): Likewise.
25237         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
25238         * dlfcn/dlsym.c (dlsym_doit): Likewise.
25239         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
25240         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
25241         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
25242         Likewise.
25243         * elf/dl-conflict.c: Likewise.
25244         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
25245         * elf/dl-dst.h: Likewise.
25246         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
25247         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
25248         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
25249         * elf/dl-init.c (call_init, _dl_init): Likewise.
25250         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
25251         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
25252         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
25253         Likewise.
25254         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
25255         Likewise.
25256         * elf/dl-minimal.c (__libc_memalign): Likewise.
25257         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
25258         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
25259         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
25260         * elf/dl-sym.c (do_sym): Likewise.
25261         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
25262         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
25263         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
25264         * elf/dl-writev.h (_dl_writev): Likewise.
25265         * elf/ldconfig.c (search_dir): Likewise.
25266         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
25267         (dl_main): Likewise.
25268         * elf/setup-vdso.h (setup_vdso): Likewise.
25269         * grp/compat-initgroups.c (compat_call): Likewise.
25270         * grp/fgetgrent.c (fgetgrent): Likewise.
25271         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
25272         * grp/putgrent.c (putgrent): Likewise.
25273         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
25274         Likewise.
25275         * hurd/hurdinit.c: Likewise.
25276         * iconvdata/8bit-gap.c (struct): Likewise.
25277         * iconvdata/ansi_x3.110.c : Likewise.
25278         * iconvdata/big5.c : Likewise.
25279         * iconvdata/big5hkscs.c : Likewise.
25280         * iconvdata/cp1255.c: Likewise.
25281         * iconvdata/cp1258.c : Likewise.
25282         * iconvdata/cp932.c : Likewise.
25283         * iconvdata/euc-cn.c: Likewise.
25284         * iconvdata/euc-jisx0213.c : Likewise.
25285         * iconvdata/euc-jp.c: Likewise.
25286         * iconvdata/euc-jp-ms.c : Likewise.
25287         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
25288         * iconvdata/gb18030.c : Likewise.
25289         * iconvdata/gbbig5.c (const): Likewise.
25290         * iconvdata/gbgbk.c: Likewise.
25291         * iconvdata/gbk.c : Likewise.
25292         * iconvdata/ibm1364.c : Likewise.
25293         * iconvdata/ibm930.c : Likewise.
25294         * iconvdata/ibm932.c: Likewise.
25295         * iconvdata/ibm933.c : Likewise.
25296         * iconvdata/ibm935.c : Likewise.
25297         * iconvdata/ibm937.c : Likewise.
25298         * iconvdata/ibm939.c : Likewise.
25299         * iconvdata/ibm943.c: Likewise.
25300         * iconvdata/iso_11548-1.c: Likewise.
25301         * iconvdata/iso-2022-cn.c : Likewise.
25302         * iconvdata/iso-2022-cn-ext.c : Likewise.
25303         * iconvdata/iso-2022-jp-3.c: Likewise.
25304         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
25305         * iconvdata/iso-2022-kr.c : Likewise.
25306         * iconvdata/iso646.c (gconv_end): Likewise.
25307         * iconvdata/iso_6937-2.c : Likewise.
25308         * iconvdata/iso_6937.c : Likewise.
25309         * iconvdata/iso8859-1.c: Likewise.
25310         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
25311         * iconvdata/shift_jisx0213.c : Likewise.
25312         * iconvdata/sjis.c : Likewise.
25313         * iconvdata/t.61.c : Likewise.
25314         * iconvdata/tcvn5712-1.c : Likewise.
25315         * iconvdata/tscii.c: Likewise.
25316         * iconvdata/uhc.c : Likewise.
25317         * iconvdata/unicode.c (gconv_end): Likewise.
25318         * iconvdata/utf-16.c (gconv_end): Likewise.
25319         * iconvdata/utf-32.c (gconv_end): Likewise.
25320         * iconvdata/utf-7.c (base64): Likewise.
25321         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
25322         * iconv/gconv_close.c (__gconv_close): Likewise.
25323         * iconv/gconv_open.c (__gconv_open): Likewise.
25324         * iconv/gconv_simple.c (internal_ucs4_loop_single)
25325         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
25326         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
25327         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
25328         (ucs4le_internal_loop_single): Likewise.
25329         * iconv/iconv.c (iconv): Likewise.
25330         * iconv/iconv_close.c: Likewise.
25331         * iconv/loop.c (SINGLE): Likewise.
25332         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
25333         * include/atomic.h: Likewise.
25334         * inet/inet6_option.c (option_alloc): Likewise.
25335         * intl/bindtextdom.c (set_binding_values): Likewise.
25336         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
25337         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
25338         * intl/localealias.c (read_alias_file): Likewise.
25339         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
25340         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
25341         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
25342         * libio/fmemopen.c (fmemopen): Likewise.
25343         * libio/iofgets.c (_IO_fgets): Likewise.
25344         * libio/iofgets_u.c (fgets_unlocked): Likewise.
25345         * libio/iofgetws.c (fgetws): Likewise.
25346         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
25347         * libio/iogetdelim.c (_IO_getdelim): Likewise.
25348         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
25349         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
25350         * locale/findlocale.c (_nl_find_locale): Likewise.
25351         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
25352         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
25353         Likewise.
25354         * locale/setlocale.c (setlocale): Likewise.
25355         * login/programs/pt_chown.c (main): Likewise.
25356         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
25357         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
25358         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
25359         (mmap, mmap64, mremap, munmap): Likewise.
25360         * math/e_exp2l.c: Likewise.
25361         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
25362         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
25363         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
25364         * math/s_catan.c (__catan): Likewise.
25365         * math/s_catanf.c (__catanf): Likewise.
25366         * math/s_catanh.c (__catanh): Likewise.
25367         * math/s_catanhf.c (__catanhf): Likewise.
25368         * math/s_catanhl.c (__catanhl): Likewise.
25369         * math/s_catanl.c (__catanl): Likewise.
25370         * math/s_ccosh.c (__ccosh): Likewise.
25371         * math/s_ccoshf.c (__ccoshf): Likewise.
25372         * math/s_ccoshl.c (__ccoshl): Likewise.
25373         * math/s_cexp.c (__cexp): Likewise.
25374         * math/s_cexpf.c (__cexpf): Likewise.
25375         * math/s_cexpl.c (__cexpl): Likewise.
25376         * math/s_clog10.c (__clog10): Likewise.
25377         * math/s_clog10f.c (__clog10f): Likewise.
25378         * math/s_clog10l.c (__clog10l): Likewise.
25379         * math/s_clog.c (__clog): Likewise.
25380         * math/s_clogf.c (__clogf): Likewise.
25381         * math/s_clogl.c (__clogl): Likewise.
25382         * math/s_csin.c (__csin): Likewise.
25383         * math/s_csinf.c (__csinf): Likewise.
25384         * math/s_csinh.c (__csinh): Likewise.
25385         * math/s_csinhf.c (__csinhf): Likewise.
25386         * math/s_csinhl.c (__csinhl): Likewise.
25387         * math/s_csinl.c (__csinl): Likewise.
25388         * math/s_csqrt.c (__csqrt): Likewise.
25389         * math/s_csqrtf.c (__csqrtf): Likewise.
25390         * math/s_csqrtl.c (__csqrtl): Likewise.
25391         * math/s_ctan.c (__ctan): Likewise.
25392         * math/s_ctanf.c (__ctanf): Likewise.
25393         * math/s_ctanh.c (__ctanh): Likewise.
25394         * math/s_ctanhf.c (__ctanhf): Likewise.
25395         * math/s_ctanhl.c (__ctanhl): Likewise.
25396         * math/s_ctanl.c (__ctanl): Likewise.
25397         * math/w_pow.c: Likewise.
25398         * math/w_powf.c: Likewise.
25399         * math/w_powl.c: Likewise.
25400         * math/w_scalb.c (sysv_scalb): Likewise.
25401         * math/w_scalbf.c (sysv_scalbf): Likewise.
25402         * math/w_scalbl.c (sysv_scalbl): Likewise.
25403         * misc/error.c (error_tail): Likewise.
25404         * misc/pselect.c (__pselect): Likewise.
25405         * nis/nis_callback.c (__nis_create_callback): Likewise.
25406         * nis/nis_call.c (__nisfind_server): Likewise.
25407         * nis/nis_creategroup.c (nis_creategroup): Likewise.
25408         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
25409         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
25410         * nis/nis_getservlist.c (nis_getservlist): Likewise.
25411         * nis/nis_lookup.c (nis_lookup): Likewise.
25412         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
25413         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
25414         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
25415         * nis/nis_xdr.c (xdr_endpoint): Likewise.
25416         * nis/nss_compat/compat-grp.c (getgrent_next_file)
25417         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
25418         * nis/nss_compat/compat-initgroups.c (add_group)
25419         (internal_getgrent_r): Likewise.
25420         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
25421         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
25422         * nis/nss_compat/compat-spwd.c (getspent_next_file)
25423         (internal_getspnam_r): Likewise.
25424         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
25425         (_nss_nis_getaliasbyname_r): Likewise.
25426         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
25427         (_nss_nis_getntohost_r): Likewise.
25428         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
25429         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
25430         (_nss_nis_getgrgid_r): Likewise.
25431         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
25432         (internal_nis_gethostent_r, internal_gethostbyname2_r)
25433         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
25434         (_nss_nis_gethostbyname4_r): Likewise.
25435         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
25436         (initgroups_netid): Likewise.
25437         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
25438         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
25439         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
25440         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
25441         (_nss_nis_getprotobynumber_r): Likewise.
25442         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
25443         (_nss_nis_getsecretkey): Likewise.
25444         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
25445         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
25446         (_nss_nis_getpwuid_r): Likewise.
25447         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
25448         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
25449         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
25450         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
25451         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
25452         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
25453         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
25454         Likewise.
25455         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
25456         (_nss_nisplus_getntohost_r): Likewise.
25457         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
25458         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
25459         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
25460         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
25461         Likewise.
25462         * nis/nss_nisplus/nisplus-initgroups.c
25463         (_nss_nisplus_initgroups_dyn): Likewise.
25464         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
25465         (_nss_nisplus_getnetbyaddr_r): Likewise.
25466         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
25467         (_nss_nisplus_getprotobynumber_r): Likewise.
25468         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
25469         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
25470         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
25471         Likewise.
25472         * nis/nss_nisplus/nisplus-service.c
25473         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
25474         (_nss_nisplus_getservbyport_r): Likewise.
25475         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
25476         (_nss_nisplus_getspnam_r): Likewise.
25477         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
25478         Likewise.
25479         * nscd/aicache.c (addhstaiX): Likewise.
25480         * nscd/cache.c (cache_search, prune_cache): Likewise.
25481         * nscd/connections.c (register_traced_file, send_ro_fd)
25482         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
25483         (main_loop_epoll): Likewise.
25484         * nscd/grpcache.c (addgrbyX): Likewise.
25485         * nscd/hstcache.c (addhstbyX): Likewise.
25486         * nscd/initgrcache.c (addinitgroupsX): Likewise.
25487         * nscd/mem.c (gc, mempool_alloc): Likewise.
25488         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
25489         (addinnetgrX): Likewise.
25490         * nscd/nscd-client.h (__nscd_acquire_maplock)
25491         (__nscd_drop_map_ref): Likewise.
25492         * nscd/nscd_getai.c (__nscd_getai): Likewise.
25493         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
25494         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
25495         Likewise.
25496         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
25497         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25498         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
25499         (__nscd_get_map_ref): Likewise.
25500         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
25501         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
25502         Likewise.
25503         * nscd/pwdcache.c (addpwbyX): Likewise.
25504         * nscd/selinux.c (preserve_capabilities): Likewise.
25505         * nscd/servicescache.c (addservbyX): Likewise.
25506         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
25507         * posix/fnmatch.c (fnmatch): Likewise.
25508         * posix/getopt.c (_getopt_internal_r): Likewise.
25509         * posix/glob.c (glob, glob_in_dir): Likewise.
25510         * posix/wordexp.c (exec_comm_child): Likewise.
25511         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
25512         (getanswer_r, gaih_getanswer_slice): Likewise.
25513         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
25514         * resolv/res_init.c: Likewise.
25515         * resolv/res_mkquery.c (res_nmkquery): Likewise.
25516         * resolv/res_query.c (__libc_res_nquery): Likewise.
25517         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
25518         Likewise.
25519         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
25520         * stdio-common/perror.c (perror): Likewise.
25521         * stdio-common/printf_fp.c (___printf_fp): Likewise.
25522         * stdio-common/tmpnam.c (tmpnam): Likewise.
25523         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25524         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
25525         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
25526         Likewise.
25527         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
25528         * stdlib/putenv.c (putenv): Likewise.
25529         * stdlib/setenv.c (__add_to_environ): Likewise.
25530         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25531         * stdlib/strtol_l.c (INTERNAL): Likewise.
25532         * string/memmem.c (memmem): Likewise.
25533         * string/strerror.c (strerror): Likewise.
25534         * string/strnlen.c (__strnlen): Likewise.
25535         * string/test-memmem.c (simple_memmem): Likewise.
25536         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
25537         * sunrpc/pm_getport.c (__get_socket): Likewise.
25538         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
25539         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
25540         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
25541         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
25542         Likewise.
25543         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
25544         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
25545         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
25546         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
25547         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
25548         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
25549         Likewise.
25550         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
25551         Likewise.
25552         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
25553         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
25554         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25555         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
25556         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
25557         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
25558         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
25559         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
25560         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
25561         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
25562         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
25563         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
25564         Likewise.
25565         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
25566         Likewise.
25567         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
25568         Likewise.
25569         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
25570         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25571         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
25572         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
25573         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
25574         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
25575         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
25576         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
25577         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
25578         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
25579         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
25580         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25581         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
25582         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
25583         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25584         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
25585         Likewise.
25586         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
25587         Likewise.
25588         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
25589         Likewise.
25590         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
25591         Likewise.
25592         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25593         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25594         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
25595         Likewise.
25596         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
25597         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
25598         * sysdeps/posix/opendir.c (__opendirat): Likewise.
25599         * sysdeps/posix/sleep.c: Likewise.
25600         * sysdeps/posix/tempname.c: Likewise.
25601         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
25602         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
25603         Likewise.
25604         * sysdeps/powerpc/powerpc32/dl-machine.h
25605         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
25606         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
25607         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
25608         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
25609         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
25610         Likewise.
25611         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
25612         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
25613         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
25614         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
25615         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
25616         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
25617         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
25618         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
25619         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25620         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
25621         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
25622         (elf_machine_lazy_rel): Likewise.
25623         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25624         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
25625         (elf_machine_lazy_rel): Likewise.
25626         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
25627         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
25628         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
25629         * sysdeps/unix/grantpt.c (grantpt): Likewise.
25630         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
25631         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
25632         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
25633         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25634         Likewise.
25635         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
25636         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
25637         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
25638         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
25639         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25640         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25641         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
25642         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
25643         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
25644         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25645         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
25646         Likewise.
25647         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
25648         (__posix_fallocate64_l64): Likewise.
25649         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
25650         (posix_fallocate): Likewise.
25651         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
25652         Likewise.
25653         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25654         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
25655         (getifaddrs_internal): Likewise.
25656         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
25657         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
25658         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
25659         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
25660         * sysdeps/unix/sysv/linux/posix_fallocate64.c
25661         (__posix_fallocate64_l64): Likewise.
25662         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
25663         Likewise.
25664         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
25665         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
25666         (__get_clockfreq): Likewise.
25667         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
25668         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
25669         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
25670         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25671         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25672         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
25673         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
25674         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
25675         Likewise.
25676         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
25677         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
25678         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
25679         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
25680         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25681         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
25682         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
25683         Likewise.
25684         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25685         (posix_fallocate): Likewise.
25686         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25687         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
25688         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
25689         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
25690         (elf_machine_rela, elf_machine_rela_relative)
25691         (elf_machine_lazy_rel): Likewise.
25692         * time/asctime.c (asctime_internal): Likewise.
25693         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
25694         * time/tzset.c (__tzset_parse_tz): Likewise.
25695         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
25696         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
25697         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
25698         * wcsmbs/wcsmbsload.h: Likewise.
25700         [BZ #15894]
25701         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
25703         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
25704         (arena_get2): Remove THREAD_STATS conditionals.
25705         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
25706         (__malloc_stats, int): Likewise.
25708 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
25710         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
25711         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
25713         * manual/setjmp.texi: Fix typos/grammar errors.
25715         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
25716         Only return early when n is <= 0.  Delete unused return statement.
25718         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
25719         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
25720         * debug/tst-longjmp_chk3.c: New file.
25722         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
25723         (test_main): Replace code with set_fortify_handler call.
25724         * debug/test-strcpy_chk.c: Likewise.
25725         * debug/tst-chk1.c: Likewise.
25726         * debug/tst-longjmp_chk.c: Likewise.
25727         * test-skeleton.c: Include fcntl.h & paths.h
25728         (set_fortify_handler): Define.
25730         * debug/tst-longjmp_chk.c: Add header comment and include
25731         ../test-skeleton.c.
25732         (do_test): Mark static.
25733         (TEST_FUNCTION): Define.
25735         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
25736         (IP_PMTUDISC_INTERFACE): Likewise.
25737         (IP_MULTICAST_IF): Likewise.
25738         (IP_MULTICAST_TTL): Likewise.
25739         (IP_MULTICAST_LOOP): Likewise.
25740         (IP_ADD_MEMBERSHIP): Likewise.
25741         (IP_DROP_MEMBERSHIP): Likewise.
25742         (IP_UNBLOCK_SOURCE): Likewise.
25743         (IP_BLOCK_SOURCE): Likewise.
25744         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
25745         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
25746         (IP_MSFILTER): Likewise.
25747         (MCAST_JOIN_GROUP): Likewise.
25748         (MCAST_BLOCK_SOURCE): Likewise.
25749         (MCAST_UNBLOCK_SOURCE): Likewise.
25750         (MCAST_LEAVE_GROUP): Likewise.
25751         (MCAST_JOIN_SOURCE_GROUP): Likewise.
25752         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
25753         (MCAST_MSFILTER): Likewise.
25754         (IP_MULTICAST_ALL): Likewise.
25755         (IP_UNICAST_IF): Likewise.
25757         * timezone/Makefile: Delete $(have-ksh) check.
25758         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
25759         * timezone/tzselect.ksh: Add +x mode bits.
25761         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
25762         (ANON_INODE_FS_MAGIC): Likewise.
25763         (BDEVFS_MAGIC): Likewise.
25764         (BINFMTFS_MAGIC): Likewise.
25765         (BTRFS_TEST_MAGIC): Likewise.
25766         (CRAMFS_MAGIC_WEND): Likewise.
25767         (DEBUGFS_MAGIC): Likewise.
25768         (ECRYPTFS_SUPER_MAGIC): Likewise.
25769         (EXT3_SUPER_MAGIC): Likewise.
25770         (EXT4_SUPER_MAGIC): Likewise.
25771         (FUTEXFS_SUPER_MAGIC): Likewise.
25772         (HOSTFS_SUPER_MAGIC): Likewise.
25773         (HUGETLBFS_MAGIC): Likewise.
25774         (MINIX3_SUPER_MAGIC): Likewise.
25775         (MTD_INODE_FS_MAGIC): Likewise.
25776         (NILFS_SUPER_MAGIC): Likewise.
25777         (OPENPROM_SUPER_MAGIC): Likewise.
25778         (PIPEFS_MAGIC): Likewise.
25779         (PSTOREFS_MAGIC): Likewise.
25780         (QNX6_SUPER_MAGIC): Likewise.
25781         (RAMFS_MAGIC): Likewise.
25782         (REISERFS_SUPER_MAGIC_STRING): Likewise.
25783         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
25784         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
25785         (SECURITYFS_MAGIC): Likewise.
25786         (SELINUX_MAGIC): Likewise.
25787         (SMACK_MAGIC): Likewise.
25788         (SOCKFS_MAGIC): Likewise.
25789         (SQUASHFS_MAGIC): Likewise.
25790         (STACK_END_MAGIC): Likewise.
25791         (TMPFS_MAGIC): Likewise.
25792         (USBDEVICE_SUPER_MAGIC): Likewise.
25793         (V9FS_MAGIC): Likewise.
25794         (XENFS_SUPER_MAGIC): Likewise.
25795         (CRAMFS_MAGIC): Fix typo in comment.
25796         (EXT2_SUPER_MAGIC): Update comment.
25797         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
25799 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
25801         * sysdeps/arm: Move directory from ports/sysdeps/arm.
25802         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
25803         * sysdeps/unix/sysv/linux/arm: Move directory from
25804         ports/sysdeps/unix/sysv/linux/arm.
25805         * README: Update listing for arm-*-linux-gnueabi.
25807         * README: Remove mention of am33.
25809 2014-02-07  Roland McGrath  <roland@hack.frob.com>
25811         * bits/sigset.h (__sigemptyset): Use a statement expression rather
25812         than the comma operator, to avoid "rhs of comma has no effect"
25813         compiler warnings.
25814         (__sigfillset, __sigandset, __sigorset): Likewise.
25815         * include/signal.h (__sigemptyset): Likewise.
25816         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
25818 2014-02-07  Allan McRae  <allan@archlinux.org>
25820         * version.h (RELEASE): Set to "development".
25821         (VERSION): Set to "2.19.90"
25822         * NEWS: Add 2.20 section.
25824 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
25826         [BZ #16529]
25827         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
25829 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25831         * manual/contrib.texi: Update entry for Carlos O'Donell,
25832         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
25834 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
25836         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
25838         * sysdeps/unix/sysv/linux/kernel-features.h
25839         [__LINUX_KERNEL_VERSION >= 0x020621]
25840         (__ASSUME_PROC_PID_TASK_COMM): Define.
25842 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25844         [BZ #16398]
25845         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
25846         conversion when destination buffer does not have enough space.
25847         * libio/tst-ftell-partial-wide.c: New test case.
25848         * libio/Makefile (tests): Add tst-ftell-partial-wide.
25850         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
25851         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
25852         Leonard and Allan McRae.
25854 2014-02-04  David S. Miller  <davem@davemloft.net>
25856         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
25857         32-bit.
25859 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
25862         New file
25863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
25864         New file
25865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
25866         New file.
25867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
25868         New file.
25869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
25870         New file.
25871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
25872         New file.
25873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
25874         New file.
25875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
25876         New file.
25877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
25878         New file.
25879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
25880         New file.
25881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
25882         New file.
25883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
25884         New file.
25885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
25886         New file.
25888 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25890         * nptl/shlib-versions: Change powerpc*le start to 2.17.
25891         * shlib-versions: Likewise.
25893 2014-02-04  Roland McGrath  <roland@hack.frob.com>
25894             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25896         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
25897         (abilist-pattern): New variable, set to %-le.abilist.
25899         * Makerules (abilist-pattern): New variable.
25900         (vpath): Use $(abilist-pattern) in place of %.abilist.
25901         (check-abi-% pattern rule): Likewise.
25902         (check-abi, update-abi): Likewise.
25904 2014-02-04  Eric Wong  <normalperson@yhbt.net>
25906         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25908 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
25910         * manual/startup.texi: Add next, previous, and top entries for
25911         the `Program Arguments' and `Environment Variables' nodes.
25913 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
25915         * manual/macros.texi: Add comments before MTASC-safety macros.
25917         * manual/users.texi: Document MTASC-safety properties.
25919         * manual/threads.texi (pthread_key_create, pthread_key_delete)
25920         (pthread_getspecific, pthread_setspecific): Format with
25921         @deftypefun, and add @safety note.
25922         * manual/signal.texi: Move comments that analyze the above
25923         functions to their home place.
25925 2014-02-03  Allan McRae  <allan@archlinux.org>
25927         * po/sl.po: Update Slovenian translation from translation project.
25929 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
25931         * manual/time.texi (timegm): Add missing blank after @c.
25932         Reported by Joseph Myers <joseph@codesourcery.com>.
25934 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
25936         * manual/check-safety.sh: New.
25937         * manual/Makefile ($(objpfx)stamp-summary): Run it.
25939         * manual/terminal.texi: Document MTASC-safety properties.
25941         * manual/filesys.texi: Document MTASC-safety properties.
25943         * manual/errno.texi: Document MTASC-safety properties.
25945         * manual/intro.texi: Document safety identifiers and
25946         conditionals.
25948         * manual/string.texi (wcstok): Fix prototype.
25949         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
25951         * manual/time.texi: Document MTASC-safety properties.
25953         * manual/string.texi: Document MTASC-safety properties.
25955         * manual/threads.texi: Document MTASC-safety properties.
25957         * manual/stdio.texi: Document MTASC-safety properties.
25959         * manual/syslog.texi: Document MTASC-safety properties.
25961         * manual/sysinfo.texi: Document MTASC-safety properties.
25963         * manual/startup.texi: Document MTASC-safety properties.
25965         * manual/socket.texi: Document MTASC-safety properties.
25967         * manual/signal.texi: Document MTASC-safety properties.
25969 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
25971         * manual/setjmp.texi: Document MTASC-safety properties.
25973         * manual/search.texi: Document MTASC-safety properties.
25975         * manual/resource.texi: Document MTASC-safety properties.
25977         * manual/process.texi: Document MTASC-safety properties.
25979         * manual/platform.texi: Document MTASC-safety properties.
25981         * manual/pipe.texi: Document MTASC-safety properties.
25983         * manual/pattern.texi: Document MTASC-safety properties.
25985         * manual/message.texi: Document MTASC-safety properties.
25987         [BZ #12751]
25988         * manual/memory.texi: Document MTASC-safety properties.
25990         * manual/math.texi: Document MTASC-safety properties.
25992         * manual/locale.texi: Document MTASC-safety properties.
25994         * manual/llio.texi: Document MTASC-safety properties.
25996         * manual/libdl.texi: New.
25998         * manual/lang.texi: Document MTASC-safety properties.
26000         * manual/job.texi: Document MTASC-safety properties.
26002         * manual/getopt.texi: Document MTASC-safety properties.
26004         * manual/ctype.texi: Document MTASC-safety properties.
26006 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
26008         [BZ #16046]
26009         * csu/libc-tls.c (static_map): Remove variable.
26010         (__libc_setup_tls): Use main executable's link map for TLS data.
26011         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
26012         casing for LM_ID_BASE and GL(dl_nns).
26013         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
26014         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
26015         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
26016         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
26017         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
26018         member.
26019         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
26020         l_phnum members.
26022 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
26024         * manual/debug.texi: Document MTASC-safety properties.
26026 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
26028         [BZ #16510]
26029         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
26030         of __x86_64__ when disabling x87 inline functions.
26032 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
26034         * manual/charset.texi: Document MTASC-safety properties.
26036         * manual/crypt.texi: Document MTASC-safety properties.
26038         * manual/conf.texi: Document MTASC-safety properties.
26040         * manual/arith.texi: Document MTASC-safety properties.
26042         * manual/argp.texi: Document MTASC-safety properties.
26044         * manual/macros.texi: Introduce macros to document multi
26045         thread, asynchronous signal and asynchronous cancellation
26046         safety properties.
26047         * manual/intro.texi: Introduce the properties themselves.
26049 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26051         * sysdeps/sh/sh4/Makefile: New file.
26053 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
26055         * math/gen-libm-test.pl ($srcdir): New variable.
26056         ($auto_input): Use it.
26058 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26060         [BZ #16506]
26061         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
26062         access beyond array bounds when parsing netgroups file.
26064         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
26065         the old buffer before realloc.
26067 2014-01-27  Allan McRae  <allan@archlinux.org>
26069         * po/fr.po: Update French translation from translation project.
26071 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26073         * sysdeps/sh/libm-test-ulps: Regenerate.
26075 2014-01-24  David S. Miller  <davem@davemloft.net>
26077         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
26079 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26081         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
26082         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
26084 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26086         [BZ #16474]
26087         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
26088         string pointers after reallocation.
26090 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26092         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
26093         __SH4A__ instead of __SH_FPU_ANY__.
26095 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26097         * sysdeps/sh/fpu_control.h: New file.
26098         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
26099         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
26100         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
26101         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
26102         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
26103         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
26104         * sysdeps/sh/sys/ucontext.h: Remove.
26105         * sysdeps/sh/sys: Remove directory.
26107 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26109         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
26110         s390/sys/ucontext.h.
26111         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
26112         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
26114 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
26116         [BZ #15605]
26117         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
26119 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26121         [BZ#16431]
26122         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
26123         Adjust the vDSO correctly for internal calls.
26124         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
26126 2014-01-20  Allan McRae  <allan@archlinux.org>
26128         * po/ca.po: Update Catalan translation from translation project.
26130 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
26132         * sysdeps/s390/sotruss-lib.c: New file.
26134 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26136         [BZ#16430]
26137         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
26138         (__GI___gettimeofday): Alias for a different internal symbol to avoid
26139         local calls issues by not having a PLT stub required for IFUNC calls.
26140         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
26142 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
26144         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
26145         * math/test-fpucw-static.c: Likewise.
26147 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26149         [BZ #16453]
26150         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
26152 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26154         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
26155         implementation for powerpc.
26157 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
26159         [BZ #14782]
26160         * sysdeps/posix/system.c (__libc_system): Do not enable
26161         asynchronous cancellation.
26163 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26165         [BZ #16427]
26166         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
26167         handling only for numbers special also in the IEEE case.
26169 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26171         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26173 2014-01-11  Allan McRae  <allan@archlinux.org>
26175         * po/bg.po: Update Bulgarian translation from translation project.
26177         * po/de.po: Update German translation from translation project.
26179 2014-01-10  Roland McGrath  <roland@hack.frob.com>
26181         * sysdeps/generic/gcc-compat.h: New file.
26183 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26185         * benchtests/asin-inputs: Correct slow inputs.
26186         * benchtests/acos-inputs: Likewise.
26188 2014-01-10  Allan McRae  <allan@archlinux.org>
26190         * po:sv.po: Update Swedish translation from translation project.
26192         * po/vi.po: Update Vietnamese translation from translation project.
26194         * po/eo.po: Update Esperanto translation from translation project.
26196         * po/cs.po: Update Czech translation from translation project.
26198         * po/nl.po: Update Dutch translation from translation project.
26200         * po/pl.po: Update Polish translation from translation project.
26202         * po/ru.po: Update Russian translation from translation project.
26204         * po/uk.po: Update Ukrainian translation from translation project.
26206 2014-01-08  Brooks Moses  <bmoses@google.com>
26208         * elf/dl-load.c: Fix comment typo.
26210 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
26212         * po/header.pot: Rename to...
26213         * po/pot.header: ... this.
26214         * po/Makefile: Use pot.header.
26216 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
26217             Maxim Kuvyrkov  <maxim@kugelworks.com>
26219         [BZ #16394]
26220         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
26221         SRC and DEST against LEN.
26223 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26225         [BZ #16414]
26226         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
26227         implementation.
26228         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
26230 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26232         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26234 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
26236         [BZ #16408]
26237         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
26238         for large positive arguments.
26240 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
26242         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
26244         * math/auto-libm-test-in: Mark various tests with
26245         xfail-rounding:ldbl-128ibm.
26246         * math/auto-libm-test-out: Regenerated.
26248         [BZ #16407]
26249         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
26250         Increase overflow threshold.
26252 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
26254         [BZ #14286]
26255         * stdio-common/vfprintf.c: Check for integer overflow.
26257 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26259         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
26260         the first argument and return value of __tls_get_addr_internal.
26262 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26264         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
26265         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
26267 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26269         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
26270         * sysdeps/s390/rtld-global-offsets.sym: New file.
26271         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
26272         GLIBC_2.19 symbol.
26273         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
26274         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
26275         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
26276         ... this.
26277         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
26278         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
26279         ... this.
26280         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26281         Regenerate.
26282         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26283         Regenerate.
26284         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
26285         halfs of GPRs for high_gprs contexts.
26286         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
26287         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
26288         field.
26289         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
26290         uc_flags field.
26291         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
26292         64 bit versions:
26293         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
26294         for high GPRs (uc_high_gprs) and for future extensions
26295         (__reserved).
26296         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
26297         for future extensions (__reserved).
26298         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
26299         64 bit versions:
26300         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
26301         SC_HIGHGPRS offset definition.
26302         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
26303         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
26305         * Versions.def: Add GLIBC_2.19 for libpthread.
26306         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
26307         siglongjmp for libpthread with GLIBC_2.19 symver.
26308         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
26309         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
26310         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
26311         * sysdeps/s390/__longjmp.c: New file.
26312         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
26313         * sysdeps/s390/longjmp.c: New file.
26314         * sysdeps/s390/setjmp.S: New file.
26315         * sysdeps/s390/sigjmp.S: New file.
26316         * sysdeps/s390/v1-longjmp.c: New file.
26317         * sysdeps/s390/v1-setjmp.h: New file.
26318         * sysdeps/s390/v1-sigjmp.c: New file.
26319         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
26320         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
26321         GLIBC_2.19 version.
26322         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
26323         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
26324         versioned symbols for ____longjmp_chk.
26325         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
26326         Likewise.
26327         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26328         Regenerate.
26329         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26330         Regenerate.
26331         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26332         Regenerate.
26333         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26334         Regenerate.
26335         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
26336         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
26337         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
26338         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
26339         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
26340         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
26341         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
26342         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
26343         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
26344         * sysdeps/s390/rtld-__longjmp.c: New file.
26345         * sysdeps/s390/rtld-setjmp.S: New file.
26347 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
26349         [BZ #16400]
26350         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26351         Return -__logl (x) for small positive arguments without evaluating
26352         a polynomial.
26354 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
26356         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
26357         Rename to ...
26358         (__ptrace_peeksiginfo_args): ... this.
26359         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26360         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26361         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26363 2014-01-06  Allan McRae  <allan@archlinux.org>
26365         * inet/netinet/in.h: Fix typo in comment.
26367 2014-01-05  Andreas Jaeger  <aj@suse.de>
26369         * sysdeps/i386/fpu/libm-test-ulps: Update.
26371 2014-01-05  Allan McRae  <allan@archlinux.org>
26373         * po/libc.pot: Regenerated.
26375         * malloc/memusagestat.c: Fix gettext call formatting.
26377 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
26379         * nscd/nscd.c: Improve usage() output.
26381 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
26383         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
26384         * sysdeps/unix/sysv/linux/configure: Regenerated.
26385         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
26386         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
26388 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
26390         [BZ #16390]
26391         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
26392         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
26394 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26396         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
26397         extra tokens at end of #undef directive.
26398         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
26399         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
26400         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
26402 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
26404         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
26406         * math/auto-libm-test-in: Mark various tests with
26407         xfail-rounding:ldbl-128ibm.
26408         * math/auto-libm-test-out: Regenerated.
26410 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
26412         [BZ #16386]
26413         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
26414         numbers with subnormal high part when calculating exponent.
26416         [BZ #16385]
26417         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
26418         fabs.
26420         [BZ #16384]
26421         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
26422         M_LN2l.
26423         (__ieee754_acoshl): Use __log1pl not __log1p.
26425 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
26427         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
26428         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
26429         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
26430         (grow_heap, heap_trim, _int_new_arena, get_free_list)
26431         (reused_arena, arena_get2): Convert to GNU style.
26432         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
26433         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
26434         (memalign_check, __malloc_set_state): Likewise.
26435         * malloc/mallocbug.c (main): Likewise.
26436         * malloc/malloc.c (__malloc_assert, malloc_init_state)
26437         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
26438         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
26439         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
26440         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
26441         (__posix_memalign, malloc_info): Likewise.
26442         * malloc/malloc.h: Likewise.
26443         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
26444         (mallochook, memalignhook, reallochook, mabort): Likewise.
26445         * malloc/mcheck.h: Likewise.
26446         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
26447         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
26448         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
26449         * malloc/morecore.c (__default_morecore): Likewise.
26450         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
26451         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
26452         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
26453         (print_and_abort): Likewise.
26454         * malloc/obstack.h: Likewise.
26455         * malloc/set-freeres.c (__libc_freeres): Likewise.
26456         * malloc/tst-mallocstate.c (main): Likewise.
26457         * malloc/tst-mtrace.c (main): Likewise.
26458         * malloc/tst-realloc.c (do_test): Likewise.
26460 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26462         [BZ #16366]
26463         * nscd/netgroupcache.c (do_notfound): New function.
26464         (addgetnetgrentX): Use it.
26466         [BZ # 16365]
26467         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
26468         NSS_STATUS_NOTFOUND.
26470 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
26472         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26475 2014-01-01  Allan McRae  <allan@archlinux.org>
26477         * scripts/update-copyrights: Update configure input file suffix.
26479         * NEWS: Update copyright year.
26480         * catgets/gencat.c: Likewise.
26481         * csu/version.c: Likewise.
26482         * debug/catchsegv.sh: Likewise.
26483         * debug/pcprofiledump.c: Likewise.
26484         * debug/xtrace.sh: Likewise.
26485         * elf/ldconfig.c: Likewise.
26486         * elf/ldd.bash.in: Likewise.
26487         * elf/pldd.c: Likewise.
26488         * elf/sotruss.ksh: Likewise.
26489         * elf/sprof.c: Likewise.
26490         * iconv/iconv_prog.c: Likewise.
26491         * iconv/iconvconfig.c: Likewise.
26492         * locale/programs/locale.c: Likewise.
26493         * locale/programs/localedef.c: Likewise.
26494         * login/programs/pt_chown.c: Likewise.
26495         * malloc/memusage.sh: Likewise.
26496         * malloc/memusagestat.c: Likewise.
26497         * malloc/mtrace.pl: Likewise.
26498         * manual/libc.texinfo: Likewise.
26499         * nscd/nscd.c: Likewise.
26500         * nss/getent.c: Likewise.
26501         * nss/makedb.c: Likewise.
26502         * posix/getconf.c: Likewise.
26503         * scripts/test-installation.pl: Likewise.
26505         * All files with FSF copyright notices: Update copyright dates
26506         using scripts/update-copyrights.
26507         * intl/plural.c: Regenerated.
26508         * locale/programs/charmap-kw.h: Likewise.
26509         * locale/programs/locfile-kw.h: Likewise.
26511 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
26513         * sysdeps/unix/sysv/linux/configure: Regenerated.
26514         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
26515         the linux/fanotify.h header.
26516         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
26517         HAVE_LINUX_FANOTIFY_H is defined.
26519 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26521         * benchtests/cos-inputs: New inputs.
26522         * benchtests/sin-inputs: Likewise.
26524         * benchtests/atan-inputs: New inputs. Fix name of multiple
26525         precision fallback inputs.
26527         * benchtests/atanh-inputs: New inputs.
26528         * benchtests/tanh-inputs: Likewise.
26530         * benchtests/acosh-inputs: New inputs.
26531         * benchtests/asinh-inputs: Likewise.
26533         * benchtests/cosh-inputs: New inputs.
26534         * benchtests/sinh-inputs: Likewise.
26536         * benchtests/acos-inputs: Add more inputs.
26537         * benchtests/asin-inputs: Likewise.
26539 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
26541         [BZ #16375]
26542         * manual/arith.texi: Fix spelling.
26543         * manual/charset.texi: Likewise.
26544         * manual/errno.texi: Likewise.
26545         * manual/filesys.texi: Likewise.
26546         * manual/lang.texi: Likewise.
26547         * manual/llio.texi: Likewise.
26548         * manual/locale.texi: Likewise.
26549         * manual/message.texi: Likewise.
26550         * manual/resource.texi: Likewise.
26551         * manual/search.texi: Likewise.
26552         * manual/setjmp.texi: Likewise.
26553         * manual/stdio.texi: Likewise.
26554         * manual/string.texi: Likewise.
26555         * manual/sysinfo.texi: Likewise.
26556         * manual/time.texi: Likewise.
26558 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
26560         * po/sl.po: New file.
26562 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
26564         * .gitignore: Add core/.gdbinit/.gdb_history.
26566 2013-12-27  Allan McRae  <allan@archlinux.org>
26568         [BZ #16369]
26569         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
26570         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
26572 2013-12-24  Brooks Moses  <bmoses@google.com>
26574         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
26575         all compilers that claim C++98 compliance, not just GCC.
26576         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
26577         Likewise.
26579 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
26581         * NEWS: Restore accidentally deleted bug-fix entries.
26583 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
26584             Ondřej Bílka  <neleai@seznam.cz>
26586         [BZ #15073]
26587         * malloc/malloc.c (_int_free): Perform sanity check only if we
26588         have_lock.
26590 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
26592         [BZ #12986]
26593         * manual/stdio.texi (String Input Conversions): Clarify that character
26594         classes are not supported.
26596 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26598         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26600 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
26602         [BZ #16337]
26603         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26604         Calculate results for small negative arguments directly rather
26605         than using reflection formula with special underflow handling.
26607         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
26608         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
26609         sysdeps/unix/bsd/bsd4.4/syscalls.list.
26610         (fchflags): Likewise.
26611         (revoke): Likewise.
26612         (setlogin): Likewise.
26613         (sigaltstack): Likewise.
26614         (wait4): Likewise.
26615         (sigblock): Remove.
26616         (sigsetmask): Likewise.
26617         (wait3): Likewise.
26618         (waitpid): Likewise.
26619         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
26620         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
26621         file.
26622         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
26623         * sysdeps/unix/bsd/Makefile: ... here.
26624         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
26625         * sysdeps/unix/bsd/Versions: ... here.
26626         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
26627         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
26628         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
26629         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
26630         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
26631         * sysdeps/unix/bsd/sigblock.c: ... here.
26632         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
26633         * sysdeps/unix/bsd/sigsetmask.c: ... here.
26634         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
26635         * sysdeps/unix/bsd/sigvec.c: ... here.
26636         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
26637         * sysdeps/unix/bsd/tcdrain.c: ... here.
26638         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
26639         * sysdeps/unix/bsd/tcgetattr.c: ... here.
26640         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
26641         * sysdeps/unix/bsd/tcsetattr.c: ... here.
26642         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
26643         * sysdeps/unix/bsd/wait.c: ... here.
26644         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
26645         * sysdeps/unix/bsd/wait3.c: ... here.
26646         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
26647         * sysdeps/unix/bsd/waitpid.c: ... here.
26649 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
26651         [BZ #16356]
26652         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
26653         round-to-nearest for [!USE_AS_EXPM1L].
26654         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
26655         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
26656         more tests of exp and exp10.  Expect some exp10 tests to miss
26657         exceptions or fail in directed rounding modes.
26658         * math/auto-libm-test-out: Regenerated.
26659         * math/libm-test.inc (exp10_tonearest_test_data): New array.
26660         (exp10_test_tonearest): New function.
26661         (exp10_towardzero_test_data): New array.
26662         (exp10_test_towardzero): New function.
26663         (exp10_downward_test_data): New array.
26664         (exp10_test_downward): New function.
26665         (exp10_upward_test_data): New array.
26666         (exp10_test_upward): New function.
26667         (main): Call the new functions.
26668         * sysdeps/i386/fpu/libm-test-ulps: Update.
26669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26671 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
26673         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
26674         asinh, atan, atan2, atanh, cbrt, cos and cosh.
26675         * math/auto-libm-test-out: Regenerated.
26676         * math/libm-test.inc (acosh_test_data): Add more tests.
26677         (atanh_test_data): Likewise.
26678         (ceil_test_data): Likewise.
26679         (copysign_test_data): Likewise.
26680         * sysdeps/i386/fpu/libm-test-ulps: Update.
26681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26683         * timezone/checktab.awk: Update from tzcode 2013i.
26684         * timezone/private.h: Likewise.
26685         * timezone/scheck.c: Likewise.
26686         * timezone/tzfile.h: Likewise.
26687         * timezone/tzselect.ksh: Likewise.
26688         * timezone/zdump.c: Likewise.
26689         * timezone/zic.c: Likewise.
26691         * math/auto-libm-test-in: Add tests of cpow.
26692         * math/auto-libm-test-out: Regenerated.
26693         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
26694         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26695         mpc_cc_c.
26696         (func_calc_desc): Add mpc_cc_c union field.
26697         (test_functions): Add cpow.
26698         (special_fill_2pi): New function.
26699         (special_real_inputs): Add 2pi.
26700         (calc_generic_results): Handle mpc_cc_c.
26701         * sysdeps/i386/fpu/libm-test-ulps: Update.
26702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26704         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
26705         csqrt, ctan and ctanh.
26706         * math/auto-libm-test-out: Regenerated.
26707         * math/libm-test.inc (TEST_COND_x86_64): New macro.
26708         (TEST_COND_x86): Likewise.
26709         (ccos_test_data): Use AUTO_TESTS_c_c.
26710         (ccosh_test_data): Likewise.
26711         (cexp_test_data): Likewise.
26712         (clog_test_data): Likewise.
26713         (csqrt_test_data): Likewise.
26714         (ctan_test_data): Likewise.
26715         (ctan_tonearest_test_data): Likewise.
26716         (ctan_towardzero_test_data): Likewise.
26717         (ctan_downward_test_data): Likewise.
26718         (ctan_upward_test_data): Likewise.
26719         (ctanh_test_data): Likewise.
26720         (ctanh_tonearest_test_data): Likewise.
26721         (ctanh_towardzero_test_data): Likewise.
26722         (ctanh_downward_test_data): Likewise.
26723         (ctanh_upward_test_data): Likewise.
26724         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26725         mpc_c_c.
26726         (func_calc_desc): Add mpc_c_c union field.
26727         (FUNC_mpc_c_c): New macro.
26728         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
26729         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
26730         ctanh.
26731         (special_fill_min_subnorm_p120): New function.
26732         (special_real_inputs): Add min_subnorm_p120.
26733         (calc_generic_results): Handle mpc_c_c.
26734         * sysdeps/i386/fpu/libm-test-ulps: Update.
26735         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26737 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26739         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
26740         (do_sin_slow): New functions.
26741         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
26742         (cslow2, csloww1, csloww2): Use the new functions.
26744         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
26745         Use M to change sign of result instead of X.  Assume X is
26746         positive.
26747         (csloww1): Likewise.
26748         (__sin): Adjust.
26749         (__cos): Adjust.
26751         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
26752         arguments A and DA.
26753         (__sin): Adjust.
26754         (__cos): Likewise.
26756         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
26757         (__cos): Likewise.
26758         (sloww1): Don't adjust sign of DX.
26759         (csloww1): Likewise.
26760         (sloww2): Use X directly and don't adjust sign of DX.
26761         (csloww2): Likewise.
26763 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26765         * math/auto-libm-test-in: Add tests of cabs and carg.
26766         * math/auto-libm-test-out: Regenerated.
26767         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
26768         (carg_test_data): Likewise.
26769         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26770         mpc_c_f.
26771         (func_calc_desc): Add mpc_c_f union field.
26772         (test_functions): Add cabs and carg.
26773         (calc_generic_results): Handle mpc_c_f.
26775         * sysdeps/powerpc/powerpc32/libgcc-compat.S
26776         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
26777         as a macro and a compat symbol.
26778         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
26779         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
26780         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
26781         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
26782         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
26783         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
26784         not use .hidden.
26785         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
26786         Likewise.
26787         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
26788         Likewise.
26789         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
26790         Likewise.
26791         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
26792         Likewise.
26793         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
26794         Likewise.
26795         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
26796         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
26797         from GLIBC_2.3.2.
26799 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26801         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26803 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26805         * manual/texinfo.tex: Update to version 2013-11-26.10 with
26806         trailing whitespace removed.
26807         * scripts/config.guess: Update to version 2013-11-29.
26808         * scripts/config.sub: Update to version 2013-10-01.
26810         * math/auto-libm-test-in: Add tests of sincos.
26811         * math/auto-libm-test-out: Regenerated.
26812         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
26813         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26814         mpfr_f_11.
26815         (func_calc_desc): Add mpfr_f_11 union field.
26816         (test_functions): Add sincos.
26817         (calc_generic_results): Handle mpfr_f_11.
26818         * sysdeps/i386/fpu/libm-test-ulps: Update.
26819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26821 2013-12-19  Andreas Schwab  <schwab@suse.de>
26823         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
26824         CALL_MCOUNT.
26825         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26826         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
26827         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
26829 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26831         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
26832         * sysdeps/i386/fpu/libm-test-ulps: Update.
26833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26835         [BZ #16293]
26836         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
26837         round-to-nearest mode when using frndint.
26838         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
26839         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26840         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
26841         Likewise.
26842         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
26843         sinh test to fail.
26844         * math/auto-libm-test-out: Regenerated.
26845         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
26846         (TEST_COND_x86): Likewise.
26847         (expm1_tonearest_test_data): New array.
26848         (expm1_test_tonearest): New function.
26849         (expm1_towardzero_test_data): New array.
26850         (expm1_test_towardzero): New function.
26851         (expm1_downward_test_data): New array.
26852         (expm1_test_downward): New function.
26853         (expm1_upward_test_data): New array.
26854         (expm1_test_upward): New function.
26855         (main): Run the new test functions.
26856         * sysdeps/i386/fpu/libm-test-ulps: Update.
26857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26859         * include/features.h: Update comment documenting feature test
26860         macros.  Mention _DEFAULT_SOURCE in comment.
26861         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
26862         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
26863         _BSD_SOURCE and _SVID_SOURCE.
26864         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
26865         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
26866         !_SVID_SOURCE]: Likewise.
26867         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26868         (__USE_POSIX_IMPLICITLY): Define.
26869         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26870         (_POSIX_SOURCE): Undefine and redefine.
26871         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26872         (_POSIX_C_SOURCE): Likewise.
26873         * manual/creature.texi (_DEFAULT_SOURCE): Document.
26874         (Feature Test Macros): Update documentation of default features.
26876 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26878         * benchtests/Makefile: Add bench-strtok.
26879         * benchtests/bench-strtok.c: New file: strtok benchtest.
26881 2013-12-19  Allan McRae  <allan@archlinux.org>
26883         * manual/install.texi: Suppress menu for plain text output.
26884         * INSTALL: Regenerated.
26886 2013-12-18  Brooks Moses  <bmoses@google.com>
26888         [BZ #15846]
26889         * misc/getauxval.c: Include errno.h.
26890         (__getauxval): Set errno to ENOENT if the requested type is not
26891         found.
26892         * misc/sys/auxv.h (getauxval): Document that it may set errno;
26893         don't declare with __attribute_const__.
26894         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
26895         * manual/startup.texi: Document that getauxval sets errno.
26897 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
26899         * math/auto-libm-test-in: Add tests of jn and yn.
26900         * math/auto-libm-test-out: Regenerated.
26901         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
26902         (yn_test_data): Likewise.
26903         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26904         mpfr_if_f.
26905         (func_calc_desc): Add mpfr_if_f union field.
26906         (FUNC_mpfr_if_f): New macro.
26907         (test_functions): Add jn and yn.
26908         (calc_generic_results): Assert type of second input for
26909         mpfr_ff_f.  Handle mpfr_if_f.
26910         (output_for_one_input_case): Disable all checking for arguments
26911         fitting floating-point types in case of an integer argument.
26912         * sysdeps/i386/fpu/libm-test-ulps: Update.
26913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
26916         Don't expect fegetround reference in libm.so.
26918 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26920         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
26921         $(config-cflags-nofma).
26923 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
26925         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
26926         * math/auto-libm-test-out: Regenerated.
26928         [BZ #16338]
26929         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
26930         to determine exponent and adjust argument to have exponent of -1.
26931         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
26932         log2.
26933         * math/auto-libm-test-out: Regenerated.
26934         * sysdeps/i386/fpu/libm-test-ulps: Update.
26935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26937 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
26939         * manual/probes.texi: Remove cases when per-thread arenas are
26940         disabled.
26942 2013-12-18  Andreas Schwab  <schwab@suse.de>
26944         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
26945         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
26946         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
26947         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
26948         * sysdeps/i386/i686/multiarch/Makefile: Update.
26949         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
26951 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26953         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
26954         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
26956 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
26958         [BZ #15968]
26959         Support TZ transition times < 00:00:00.
26960         This is needed for version-3 tz-format files; it supports time
26961         stamps past 2037 for America/Godthab (the only entry in the tz
26962         database for which this change is relevant).
26963         * manual/time.texi (TZ Variable): Document transition times
26964         from -167:59:59 through -00:00:01.
26965         * time/tzset.c (tz_rule): Time of day is now signed.
26966         (__tzset_parse_tz): Parse negative time of day.
26968         Document TZ transition times >= 25:00:00.
26969         * manual/time.texi (TZ Variable): Document transition times from
26970         25:00:00 through 167:59:59.  These are already supported, and this
26971         support will help with version-3 tz-format files.
26973         * manual/time.texi (TZ Variable): Modernize North America example
26974         to reflect current (i.e., 2007-and-later) daylight saving rules.
26976         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
26978 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26980         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
26981         * sysdeps/unix/bsd/bits/stat.h: Likewise.
26982         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
26983         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
26984         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
26985         * sysdeps/unix/bsd/bsdstat.h: Likewise.
26986         * sysdeps/unix/bsd/clock.c: Likewise.
26987         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
26988         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
26989         * sysdeps/unix/bsd/init-posix.c: Likewise.
26990         * sysdeps/unix/bsd/poll.c: Likewise.
26991         * sysdeps/unix/bsd/ptsname.c: Likewise.
26992         * sysdeps/unix/bsd/seekdir.c: Likewise.
26993         * sysdeps/unix/bsd/setegid.c: Likewise.
26994         * sysdeps/unix/bsd/seteuid.c: Likewise.
26995         * sysdeps/unix/bsd/setgid.c: Likewise.
26996         * sysdeps/unix/bsd/setrgid.c: Likewise.
26997         * sysdeps/unix/bsd/setruid.c: Likewise.
26998         * sysdeps/unix/bsd/setsid.c: Likewise.
26999         * sysdeps/unix/bsd/setuid.c: Likewise.
27000         * sysdeps/unix/bsd/sigaction.c: Likewise.
27001         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
27002         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
27003         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
27004         * sysdeps/unix/bsd/telldir.c: Likewise.
27005         * sysdeps/unix/bsd/times.c: Likewise.
27006         * sysdeps/unix/bsd/usleep.c: Likewise.
27008         * misc/Makefile (install-lib): Remove libbsd-compat.a.
27009         ($(objpfx)libbsd-compat.a): Remove rule.
27011         * include/features.h (__FAVOR_BSD): Do not define.
27012         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
27013         features conflicting with POSIX.
27014         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
27015         (_BSD_SOURCE): Remove description of not being a subset of other
27016         feature test macros.
27017         * manual/job.texi (getpgrp): Do not document BSD version.
27018         (getpgid): Do not document by reference to BSD getpgrp.
27019         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
27020         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
27021         * signal/signal.h [__FAVOR_BSD]: Likewise.
27022         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
27023         instead of making contents conditional on [__FAVOR_BSD].
27024         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
27026 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27028         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27030 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
27032         [BZ #16314]
27033         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
27034         values below 2**-450, not 2**-500.
27035         * math/auto-libm-test-in: Don't allow spurious underflow from
27036         hypot.
27037         * math/auto-libm-test-out: Regenerated.
27039         [BZ #16316]
27040         [BZ #16330]
27041         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
27042         values of ha and hb and sort them after adjusting subnormal
27043         arguments.
27044         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
27045         Likewise.
27046         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
27047         values of ea and eb and sort them after adjusting subnormal
27048         arguments.
27049         * math/auto-libm-test-in: Do not expect some hypot tests of
27050         subnormals to fail.  Add more hypot tests.
27051         * math/auto-libm-test-out: Regenerated.
27053 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27055         [BZ #13304]
27056         * sysdeps/sh/s_fma.c: New file.
27057         * sysdeps/sh/s_fmaf.c: New file.
27058         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
27059         version.
27060         * sysdeps/sh/Implies: Add sh/soft-fp.
27062 2013-12-16  Roland McGrath  <roland@hack.frob.com>
27064         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
27065         level of indirection to members `objname', `errstring', `malloced'.
27066         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
27067         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
27068         it as the __longjmp argument (just pass 1 instead).
27069         (_dl_catch_error): Initialize C with argument pointers and address of
27070         volatile local ERRCODE rather than copying values out of C at return.
27072 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
27074         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
27075         * math/auto-libm-test-out: Regenerated.
27076         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
27077         (hypot_test_data): Likewise.
27078         (pow_test_data): Likewise.
27079         (pow_tonearest_test_data): Likewise.
27080         * math/gen-auto-libm-tests.c (func_calc_method): Add value
27081         mpfr_ff_f.
27082         (func_calc_desc): Add mpfr_ff_f union field.
27083         (FUNC_mpfr_ff_f): New macro.
27084         (test_functions): Add atan2, hypot and pow.
27085         (special_fill_min): New function.
27086         (special_fill_minus_min): Likewise.
27087         (special_fill_min_subnorm): Likewise.
27088         (special_fill_minus_min_subnorm): Likewise.
27089         (special_real_inputs): Add min, -min, min_subnorm and
27090         -min_subnorm.
27091         (calc_generic_results): Handle mpfr_ff_f.
27092         * sysdeps/i386/fpu/libm-test-ulps: Update.
27093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27095 2013-12-16  Will Newton  <will.newton@linaro.org>
27097         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
27098         (Aligned Memory Blocks): Add documentation for aligned_alloc
27099         and suggest it as an alternative to posix_memalign.
27100         (Hooks for Malloc): Document __memalign_hook is also called
27101         for aligned_alloc.  (Summary of Malloc): Add summary for
27102         aligned alloc.  Document __memalign_hook is also called
27103         for aligned_alloc.
27105 2013-12-16  Will Newton  <will.newton@linaro.org>
27107         * manual/memory.texi (Malloc Examples): Clarify default
27108         alignment documentation.  Suggest posix_memalign rather
27109         than memalign or valloc.
27110         (Aligned Memory Blocks): Remove suggestion to use memalign
27111         or valloc.  Remove obsolete comment about BSD.
27112         Document memalign errno values and mark the function obsolete.
27113         Document posix_memalign returned error codes.  Mark valloc
27114         as obsolete.  (Hooks for Malloc): __memalign_hook is also
27115         called for posix_memalign and valloc.
27116         (Summary of Malloc): Add posix_memalign to function summary.
27117         __memalign_hook is also called for posix_memalign and valloc.
27119 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27121         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
27122         TAYLOR_SIN.
27123         (__sin): Adjust.
27124         (__cos): Likewise.
27125         (sloww): Use mynumber union.  Expand ternary operator into
27126         if-else statements.
27127         (cslow): use mynumber union.
27129 2013-12-16  Allan McRae  <allan@archlinux.org>
27131         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
27132         * configure: Regenerated.
27134         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
27136         [BZ #14120]
27137         * configure.ac: Added --enable-maintainer-mode. Check for
27138         autoconf when enabled.
27139         * configure: Regenerated.
27141         * nscd/nscd.service: New file.
27142         * nscd/nscd.tmpfiles: New file.
27144 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
27146         [BZ #12100]
27147         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
27148         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
27149         * sysdeps/x86_64/multiarch/strstr.c: ... here.
27150         (strstr): Add __strstr_sse2_unaligned ifunc.
27151         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
27152         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
27153         (strcasestr): Remove __strcasestr_sse42 ifunc.
27154         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
27155         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
27156         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
27158 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27160         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
27161         * sysdeps/sh/bits/fenv.h: ... here.
27162         * sysdeps/sh/sh4/fpu/bits: Remove directory.
27164 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27166         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
27168         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
27169         hypotf multiarch implementations.
27170         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
27171         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
27172         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
27173         multiarch hypot for PPC64.
27174         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
27175         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
27176         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
27177         multiarch hypotf for PPC64.
27179         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
27180         modff multiarch implementations.
27181         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
27182         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
27183         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
27184         multiarch modf for PPC64.
27185         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
27186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
27187         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
27188         multiarch modff for PPC64.
27190         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
27191         and logl multiarch implementations.
27192         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
27193         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
27194         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
27195         multiarch logb for PPC64.
27196         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
27197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
27198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
27199         multiarch logb for PPC64.
27200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
27201         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
27202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
27203         multiarch logb for PPC64.
27205         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
27206         isinff multiarch implementation.
27207         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
27208         file.
27209         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
27210         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
27211         multiarch isinf for PPC64.
27212         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
27213         file.
27214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
27215         multiarch isinff for PPC64.
27217         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
27218         finitef multiarch implementation.
27219         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
27220         file.
27221         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
27222         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
27223         multiarch finite for PPC64.
27224         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
27225         file.
27226         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
27227         multiarch finitef for PPC64.
27229         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
27230         lrint multiarch implementation.
27231         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
27232         file.
27233         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
27234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
27235         multiarch llrint for PPC64.
27236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
27237         multiarch lrint for PPC64.
27239         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
27240         copysignf multiarch implementation.
27241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
27242         file.
27243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
27244         file.
27245         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
27246         multiarch copysign for PPC64.
27247         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
27248         multiarch copysignf for PPC64.
27250         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
27251         multiarch implementation.
27252         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
27253         file.
27254         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
27255         file.
27256         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
27257         file.
27258         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
27259         file.
27260         multiarch llround for PPC64.
27261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
27262         multiarch trunc for PPC64.
27263         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
27264         multiarch truncf for PPC64.
27266         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
27267         multiarch implementation.
27268         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
27269         file.
27270         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
27271         file.
27272         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
27273         file.
27274         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
27275         file.
27276         multiarch llround for PPC64.
27277         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
27278         multiarch round for PPC64.
27279         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
27280         multiarch roundf for PPC64.
27282         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
27283         multiarch implementation.
27284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
27285         file.
27286         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
27287         file.
27288         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
27289         file.
27290         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
27291         file.
27292         multiarch llround for PPC64.
27293         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
27294         multiarch floor for PPC64.
27295         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
27296         multiarch floorf for PPC64.
27298         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
27299         multiarch implementation.
27300         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
27301         file.
27302         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
27303         file.
27304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
27305         file.
27306         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
27307         file.
27308         multiarch llround for PPC64.
27309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
27310         multiarch ceil for PPC64.
27311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
27312         multiarch ceilf for PPC64.
27314         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
27315         multiarch implementation.
27316         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
27317         file.
27318         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
27319         file.
27320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
27321         file.
27322         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
27323         multiarch llround for PPC64.
27324         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
27325         multiarch lround for PPC64.
27327         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
27328         multiarch implementation.
27329         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
27330         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
27331         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
27332         file.
27333         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
27334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
27335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
27336         multiarch isnan for PPC64.
27337         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
27338         multiarch isnanf for PPC64.
27340         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
27341         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
27342         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
27343         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
27344         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
27345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
27347         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
27348         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27349         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27350         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27352         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
27353         multiarch implementations.
27354         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27355         (__libc_ifunc_impl_list): Likewise.
27356         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
27357         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
27358         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
27359         multiarch stpcpy for PPC64.
27361         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
27362         multiarch implementations.
27363         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27364         (__libc_ifunc_impl_list): Likewise.
27365         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
27366         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
27367         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
27368         multiarch strcpy for PPC64.
27370         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
27371         redefine function name.
27372         (_wordcopy_fwd_dest_aligned): Likewise.
27373         (_wordcopy_bwd_aligned): Likewise.
27374         (_wordcopy_bwd_dest_aligned): Likewise.
27375         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
27376         multiarch implementations.
27377         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27378         (__libc_ifunc_impl_list): Likewise.
27379         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
27380         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
27381         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
27382         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
27383         multiarch wcscpy for PPC64.
27385         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
27386         multiarch implementations.
27387         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27388         (__libc_ifunc_impl_list): Likewise.
27389         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
27390         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
27391         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
27392         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
27393         multiarch wcscpy for PPC64.
27395         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
27396         multiarch implementations.
27397         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27398         (__libc_ifunc_impl_list): Likewise.
27399         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
27400         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
27401         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
27402         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
27403         multiarch wcsrchr for PPC64.
27405         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
27406         multiarch implementations.
27407         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27408         (__libc_ifunc_impl_list): Likewise.
27409         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
27410         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
27411         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
27412         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
27413         multiarch wcschr for PPC64.
27415         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
27416         multiarch implementations.
27417         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27418         (__libc_ifunc_impl_list): Likewise.
27419         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
27420         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
27421         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
27422         multiarch strchrnul for PPC64.
27424         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
27425         implementations.
27426         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27427         (__libc_ifunc_impl_list): Likewise.
27428         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
27429         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
27430         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
27431         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
27432         strchr for PPC64.
27434         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
27435         implementations.
27436         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27437         (__libc_ifunc_impl_list): Likewise.
27438         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
27439         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
27440         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
27441         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
27442         strncmp for PPC64.
27444         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
27445         multiarch implementations.
27446         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27447         (__libc_ifunc_impl_list): Likewise.
27448         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
27449         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
27450         strncasecmp for PPC64.
27451         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
27452         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
27453         multiarch strncasecmp_l for PPC64.
27455         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
27456         multiarch implementations.
27457         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27458         (__libc_ifunc_impl_list): Likewise.
27459         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
27460         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
27461         multiarch strcasecmp for PPC64.
27462         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
27463         file.
27464         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
27465         multiarch strcasecmp_l for PPC64.
27467         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
27468         implementations.
27469         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27470         (__libc_ifunc_impl_list): Likewise.
27471         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
27472         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
27473         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
27474         strnlen for PPC64.
27476         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
27477         implementations.
27478         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27479         (__libc_ifunc_impl_list): Likewise.
27480         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
27481         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
27482         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
27483         strlen for PPC64.
27485         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
27486         implementations.
27487         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27488         (__libc_ifunc_impl_list): Likewise.
27489         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
27490         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
27491         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
27492         rawmemrchr for PPC64.
27494         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
27495         implementation.
27496         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27497         (__libc_ifunc_impl_list): Likewise.
27498         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
27499         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
27500         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
27501         memrchr for PPC64.
27503         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
27504         implementation.
27505         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27506         (__libc_ifunc_impl_list): Likewise.
27507         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
27508         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
27509         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
27510         memchr for PPC64.
27512         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
27513         implementation.
27514         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27515         (__libc_ifunc_impl_list): Likewise.
27516         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
27517         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
27518         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
27519         mempcpy for PPC64.
27521         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
27522         avoid cretion of __bzero symbol.
27523         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
27524         Likewise.
27525         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
27526         Likewise.
27527         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
27528         Likewise.
27529         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
27530         multiarch implementations.
27531         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27532         (__libc_ifunc_impl_list): Likewise.
27533         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
27534         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
27535         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
27536         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
27537         bzero for PPC32.
27538         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
27539         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
27540         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
27541         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
27542         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
27543         memset for PPC64.
27544         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
27546         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
27547         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
27548         implementations.
27549         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27550         (__libc_ifunc_impl_list): Likewise.
27551         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
27552         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
27553         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
27554         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
27555         memcmp for PPC64.
27557         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
27558         multiarch for POWER/PPC64.
27559         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
27560         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
27561         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
27562         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
27563         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
27564         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
27565         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
27566         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
27567         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
27568         memcpy for PPC64.
27570         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
27571         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
27572         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
27573         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
27574         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
27575         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
27576         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
27577         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
27578         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
27579         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
27580         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
27581         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
27582         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
27583         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
27584         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
27585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
27586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
27587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
27588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
27589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
27590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
27591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
27593 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27595         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
27597 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27599         * benchtests/Makefile (bench): Add exp2 and log2.
27600         (LDLIBS-bench-exp2): Add -lm.
27601         (LDLIBS-bench-log2): Likewise.
27602         * benchtests/exp2-inputs: New inputs file.
27603         * benchtests/log2-inputs: New inputs file.
27604         * benchtests/log-inputs: Add new inputs.
27605         * benchtests/tan-inputs: Likewise.
27607 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27609         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
27610         definition...
27611         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
27612         (csloww2): ... from here.
27614         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
27615         instead of structures.
27616         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
27617         (POLYNOMIAL): Likewise.
27618         (TAYLOR_SLOW): Likewise.
27619         (__sin): Likewise.
27620         (__cos): Likewise.
27621         (slow1): Likewise.
27622         (slow2): Likewise.
27623         (sloww): Likewise.
27624         (sloww1); Likewise.
27625         (sloww2): Likewise.
27626         (bsloww1): Likewise.
27627         (bsloww2): Likewise.
27628         (cslow2): Likewise.
27629         (csloww): Likewise.
27630         (csloww1): Likewise.
27631         (csloww2): Likewise.
27633 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
27635         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
27636         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
27637         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
27638         * malloc/hooks.c (realloc_check): Likewise.
27640         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
27641         * malloc/arena.c: Remove PER_THREAD conditional.
27642         [!PER_THREAD]: Remove code.
27643         (ptmalloc_unlock_all2): Likewise.
27644         (ptmalloc_init): Likewise.
27645         (_int_new_arena): Likewise.
27646         (arena_get2): Likewise.
27647         * malloc/hooks.c (__malloc_get_state): Likewise.
27648         (__malloc_set_state): Likewise.
27649         * malloc/malloc.c: Likewise.
27650         (struct malloc_state): Likewise.
27651         (struct malloc_par): Likewise.
27652         (__libc_realloc): Likewise.
27653         (__libc_mallopt): Likewise.
27655 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27657         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
27659 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
27661         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
27662         macro to a function.  Check for zero perturb_byte.
27663         (_int_malloc, _int_free): Remove zero perturb_byte checks.
27665         * malloc/malloc.c: (force_reg): Remove.
27666         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
27667         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
27668         force_reg by atomic_forced_read.
27669         * malloc/arena.c (ptmalloc_init): Likewise.
27670         * malloc/hooks.c (top_check): Likewise.
27672 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27674         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27676 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
27678         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27680 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
27682         * math/auto-libm-test-in: Add tests of lgamma.
27683         * math/auto-libm-test-out: Regenerated.
27684         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
27685         (M_LOG_2_SQRT_PIl): Likewise.
27686         (lgamma_test_data): Use AUTO_TESTS_f_f1.
27687         * math/gen-auto-libm-tests.c (func_calc_method): Add value
27688         mpfr_f_f1.
27689         (func_calc_desc): Add mpfr_f_f1 union field.
27690         (ARGS1): New macro.
27691         (ARGS2): Likewise.
27692         (ARGS3): Likewise.
27693         (ARGS4): Likewise.
27694         (RET1): Likewise.
27695         (RET2): Likewise.
27696         (CALC): Likewise.
27697         (FUNC): Likewise.
27698         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
27699         (test_functions): Add lgamma.
27700         (calc_generic_results): Handle mpfr_f_f1.
27701         * sysdeps/i386/fpu/libm-test-ulps: Update.
27702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27704 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27706         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
27707         __mpn_add_n for PowerPC64/POWER7.
27708         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
27709         __mpn_sub_n for PowerPC64/POWER7.
27711         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
27712         __mpn_addmul_1 for PowerPC64.
27713         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
27714         __mpn_submul_1 for PowerPC64.
27715         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
27716         for PowerPC64.
27717         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
27718         for PowerPC64.
27720 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
27722         [BZ #15089]
27723         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
27725 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27727         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
27729         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
27730         add multiarch folders.
27731         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
27732         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
27733         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
27734         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
27735         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
27736         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
27737         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
27738         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
27739         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
27740         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
27741         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
27742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
27743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
27744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
27745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
27746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
27747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
27749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
27750         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
27751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
27752         New file.
27753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
27754         New file.
27755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
27756         multiarch __ieee754_hypot for PowerPC32.
27757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
27758         New file.
27759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
27760         New file.
27761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
27762         multiarch __ieee754_hypotf for PowerPC32.
27764         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
27765         long_double_symbol only if __logbl is defined.
27766         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
27767         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
27768         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
27769         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
27770         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
27771         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
27772         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
27773         path for implementation.
27774         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
27775         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
27776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
27777         logb, and logbl multiarch implementations for PowerPC32.
27778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
27779         file.
27780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
27781         file.
27782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
27783         multiarch logb for PowerPC32.
27784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
27785         file.
27786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
27787         file.
27788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
27789         multiarch logbf for PowerPC32.
27790         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
27791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
27792         file.
27793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
27794         multiarch logbl implementation for PowerPC32.
27796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
27797         and modff multiarch implementations.
27798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
27799         New file.
27800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
27801         New file.
27802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
27803         multiarch modf for PowerPC32.
27804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
27805         New file.
27806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
27807         New file.
27808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
27809         multiarch modff for PowerPC32.
27811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
27812         and lrintf multiarch implementations.
27813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
27814         New file.
27815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
27816         New file.
27817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
27818         multiarch lrint for PowerPC32.
27819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
27820         file: multiarch lrintf for PowerPC32.
27822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
27823         and lroundf multiarch implementations.
27824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
27825         New file.
27826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
27827         New file.
27828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
27829         New file.
27830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
27831         multiarch lround for PowerPC32.
27832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
27833         file: multiarch lroundf for PowerPC32.
27835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
27836         copysign and copysignf multiarch implementations.
27837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
27838         New file.
27839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
27840         New file.
27841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
27842         file: multiarch copysign for PowerPC32.
27843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
27844         file: multiarch copysignf for PowerPC32.
27846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
27847         and truncf multiarch implementations.
27848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
27849         New file.
27850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
27851         file.
27852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
27853         multiarch trunc for PowerPC32.
27854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
27855         New file.
27856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
27857         New file.
27858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
27859         multiarch truncf for PowerPC32.
27861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
27862         and roundf multiarch implementations.
27863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
27864         New file.
27865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
27866         file.
27867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
27868         multiarch round for PowerPC32.
27869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
27870         New file.
27871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
27872         New file.
27873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
27874         multiarch roundf for PowerPC32.
27876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
27877         and floorf multiarch implementations.
27878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
27879         New file.
27880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
27881         file.
27882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
27883         multiarch floor for PowerPC32.
27884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
27885         New file.
27886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
27887         New file.
27888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
27889         multiarch floorf for PowerPC32.
27891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
27892         and ceilf multiarch implementations.
27893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
27894         New file.
27895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
27896         file.
27897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
27898         multiarch ceil for PowerPC32.
27899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
27900         New file.
27901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
27902         file.
27903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
27904         multiarch ceilf for PowerPC32.
27906         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
27907         is defined.
27908         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
27909         FINITEF is defined.
27910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
27911         and finitef multiarch implementations.
27912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
27913         New file.
27914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
27915         file.
27916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
27917         multiarch finite for PowerPC32.
27918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
27919         New file.
27920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
27921         file: multiarch finitef for PowerPC32.
27923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
27924         and isinff multiarch implementations.
27925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
27926         file.
27927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
27928         file.
27929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
27930         multiarch isinf for PowerPC32.
27931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
27932         New file.
27933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
27934         multiarch isinff for PowerPC32.
27936         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
27937         alias when __isnan is defined.
27938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
27939         and isnanf multiarch implementations.
27940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
27941         file.
27942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
27943         file.
27944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
27945         file.
27946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
27947         file.
27948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
27949         multiarch isnan for PowerPC32.
27950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
27951         New file.
27952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
27953         New file.
27954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
27955         multiarch isnanf for PowerPC32.
27957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
27958         and sqrtf multiarch implementations.
27959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
27960         file.
27961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
27962         file.
27963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
27964         multiarch sqrt for PowerPC32.
27965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
27966         file.
27967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
27968         file.
27969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
27970         multiarch sqrtf for PowerPC32.
27972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
27973         and llroundf multiarch implementations.
27974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
27975         New file.
27976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
27977         New file.
27978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
27979         New file.
27980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
27981         file: multiarch llround for PowerPC32.
27982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
27983         file: multiarch llroundf for PowerPC32.
27985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
27986         multiarch PowerPC32 fpu implementations.
27987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
27988         New file.
27989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
27990         New file.
27991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
27992         multiarch llrint for PowerPC32.
27993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
27994         New file.
27995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
27996         New file.
27997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
27998         file.
28000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
28002         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
28003         file.
28004         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
28005         file.
28006         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
28007         file.
28008         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
28009         multiarch wordcopy for PPC32.
28010         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
28011         wordcopy objects.
28012         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28013         (__libc_ifunc_impl_list): Likewise.
28014         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
28015         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
28016         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
28017         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
28018         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
28019         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
28021         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
28022         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
28023         file.
28024         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
28025         file.
28026         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
28027         file.
28028         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
28029         multiarch wcscpy for PPC32.
28030         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
28031         multiarch objects.
28032         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28033         (__libc_ifunc_impl_list): Likewise.
28034         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
28035         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
28036         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
28037         sysdeps/powerpc/power6/wcscpy.c.
28039         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
28040         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
28041         file.
28042         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
28043         file.
28044         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
28045         file.
28046         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
28047         multiarch wcsrchr for PPC32.
28048         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
28049         multiarch objects.
28050         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28051         (__libc_ifunc_impl_list): Likewise.
28052         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
28053         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
28054         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
28055         sysdeps/powerpc/power6/wcsrchr.c.
28057         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
28058         file.
28059         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
28060         file.
28061         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
28062         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
28063         multiarch wcschr for PPc32.
28064         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
28065         multiarch objects.
28066         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28067         (__libc_ifunc_impl_list): Likewise.
28068         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
28069         * sysdeps/powerpc/power6/wcschr.c: ... to here.
28070         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
28071         sysdeps/powerpc/power6/wcschr.c.
28073         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
28074         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
28075         file.
28076         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
28077         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
28078         file: multiarch strchr for PPC32.
28079         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
28080         multiarch objects.
28081         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28082         (__libc_ifunc_impl_list): Likewise.
28084         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
28085         name.
28086         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
28087         file.
28088         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
28089         file.
28090         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
28091         multiarch strchrnul for PPC32.
28092         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
28093         multiarch objects.
28094         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28095         (__libc_ifunc_impl_list): Likewise.
28097         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
28098         file.
28099         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
28100         multiarch strncasecmp for PPC32.
28101         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
28102         file.
28103         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
28104         multiarch strncasecmp_l for PPC32.
28105         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
28106         strncasecmp multiarch objects.
28107         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28108         (__libc_ifunc_impl_list): Likewise.
28110         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
28111         file.
28112         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
28113         multiarch strncasecmp for PPC32.
28114         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
28115         New file.
28116         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
28117         multiarch strcasecmp_l for PPC32.
28118         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
28119         multiarch objects.
28120         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28121         (__libc_ifunc_impl_list): Likewise.
28123         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
28124         file.
28125         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
28126         file.
28127         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
28128         multiarch strncmp for PPC32.
28129         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
28130         multiarch objects.
28131         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28132         (__libc_ifunc_impl_list): Likewise.
28134         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
28135         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
28136         file.
28137         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
28138         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
28139         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
28140         multiarch objects.
28141         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28142         (__libc_ifunc_impl_list): Likewise.
28144         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
28145         file.
28146         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
28147         file.
28148         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
28149         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
28150         multiarch objects.
28151         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28152         (__libc_ifunc_impl_list): Likewise.
28154         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
28155         file.
28156         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
28157         file.
28158         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
28159         multiarch rawmemchr for PPC32.
28160         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
28161         multiarch objects.
28162         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28163         (__libc_ifunc_impl_list): Likewise.
28165         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
28166         file.
28167         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
28168         file.
28169         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
28170         file: memrchr multiarch for PPC32.
28171         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
28172         multiarch objects.
28173         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28174         (__libc_ifunc_impl_list): Likewise.
28176         * string/memchr.c (__memchr): Using macro to redefine symbol name.
28177         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
28178         file.
28179         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
28180         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
28181         multiarch memchr for PPC32.
28182         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
28183         multiarch objects.
28184         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28185         (__libc_ifunc_impl_list): Likewise.
28187         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
28188         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
28189         file.
28190         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
28191         file.
28192         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
28193         file: multiarch mempcpy for PPC32.
28194         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
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/bzero-power6.S: New file.
28200         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
28201         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
28202         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
28203         multiarch bzero for PPC32.
28204         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
28205         file.
28206         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
28207         file.
28208         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
28209         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
28210         file: multiarch memset for PPC32.
28211         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
28212         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
28213         memset multiarch objects.
28214         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28215         (__libc_ifunc_impl_list): Likewise.
28217         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
28218         file.
28219         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
28220         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
28221         memcmp for PPC32.
28222         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
28223         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
28224         multiarch objects.
28225         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28226         (__libc_ifunc_impl_list): Likewise.
28228         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
28229         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
28230         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
28231         file.
28232         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
28233         file.
28234         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
28235         file.
28236         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
28237         multiarch memcpy for PPC32.
28238         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
28239         multiarch objects.
28240         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28241         (__libc_ifunc_impl_list): Likewise.
28243         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
28244         support multiarch for POWER/PPC32.
28245         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
28246         Likewise.
28247         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
28248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
28249         Implies file to make multiarch folder appers before the fpu and
28250         default folder for power4 configuration.
28252 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
28254         * scripts/bench.pl: Append volatile keyword to type.
28256 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28258         * sysdeps/sh/sotruss-lib.c: New file.
28259         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
28261 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28263         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28265 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
28267         [BZ #6810]
28268         * math/w_tgamma.c: Include <errno.h>.
28269         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
28270         * math/w_tgammaf.c: Include <errno.h>.
28271         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
28272         * math/w_tgammal.c: Include <errno.h>.
28273         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
28274         * math/auto-libm-test-in: Do not allow missing errno on tgamma
28275         underflow.  Add more tgamma tests.
28276         * math/auto-libm-test-out: Regenerated.
28277         * sysdeps/i386/fpu/libm-test-ulps: Update.
28278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28280         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
28281         sin, sinh, tan, tanh, tgamma, y0 and y1.
28282         * math/auto-libm-test-out: Regenerated.
28283         * math/libm-test.inc (TEST_COND_x86_64): New macro.
28284         (TEST_COND_x86): Likewise.
28285         (M_E2l): Remove macro.
28286         (M_E3l): Likewise.
28287         (M_2_SQRT_PIl): Likewise.
28288         (M_SQRT_PIl): Likewise.
28289         (M_1_DIV_El): Likewise.
28290         (log_test_data): Use AUTO_TESTS_f_f.
28291         (log10_test_data): Likewise.
28292         (log1p_test_data): Likewise.
28293         (log2_test_data): Likewise.
28294         (sin_test_data): Likewise.
28295         (sin_tonearest_test_data): Likewise.
28296         (sin_towardzero_test_data): Likewise.
28297         (sin_downward_test_data): Likewise.
28298         (sin_upward_test_data): Likewise.
28299         (sinh_test_data): Likewise.
28300         (sinh_tonearest_test_data): Likewise.
28301         (sinh_towardzero_test_data): Likewise.
28302         (sinh_downward_test_data): Likewise.
28303         (sinh_upward_test_data): Likewise.
28304         (tan_test_data): Likewise.
28305         (tan_tonearest_test_data): Likewise.
28306         (tan_towardzero_test_data): Likewise.
28307         (tan_downward_test_data): Likewise.
28308         (tan_upward_test_data): Likewise.
28309         (tanh_test_data): Likewise.
28310         (tgamma_test_data): Likewise.
28311         (y0_test_data): Likewise.
28312         (y1_test_data): Likewise.
28313         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
28314         (special_real_inputs): Add pi/4.
28315         * sysdeps/i386/fpu/libm-test-ulps: Update.
28316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28318 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28320         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
28321         "longjmp_target" static probes.
28322         (__longjmp): Rename to __longjmp_symbol.
28323         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28324         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
28325         on which longjmp to generate.
28326         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
28327         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
28328         probe.
28329         (__sigsetjmp): Rename to __sigsetjmp_symbol.
28330         (__sigjmp_save): Rename to __sigjmp_save_symbol.
28331         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
28332         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
28333         and __sigjmp_save_symbol based on which sigsetjmp to generated.
28334         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
28335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
28336         __longjmp_symbol based on which __longjmp to generate.
28337         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
28338         probe.
28339         (setjmp): Rename to setjmp_symbol.
28340         (__sigsetjmp): Rename to __sigsetjmp_symbol.
28341         (_setjmp): Rename to _setjmp_symbol.
28342         (__sigsetjmp): Rename to __sigsetjmp_symbol.
28343         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
28344         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
28345         which setjmp to generate.
28346         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
28347         "longjmp_target" static probes.
28349 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28351         * benchtests/README: Add note about output arguments.
28352         * benchtests/bench-sincos.c: Remove file.
28353         * benchtests/sincos-inputs: New file.
28354         * scripts/bench.pl: Identify output arguments and define
28355         static variables for them.
28357         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
28359         [BZ #15941]
28360         * Makefile (INSTALL): Add install-plain.texi as the primary
28361         dependency.
28362         * manual/install-plain.texi: New file.
28363         * manual/install.texi: Include node directive only for
28364         non-plaintext output.
28366 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
28368         * stdlib/longlong.h: Update from GCC.
28370         [BZ #6807]
28371         [BZ #15901]
28372         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
28373         * math/w_j0f.c (y0f): Likewise.
28374         * math/w_j0l.c (__y0l): Likewise.
28375         * math/w_j1.c (y1): Likewise.
28376         * math/w_j1f.c (y1f): Likewise.
28377         * math/w_j1l.c (__y1l): Likewise
28378         * math/w_jn.c (yn): Likewise.
28379         * math/w_jnf.c (ynf): Likewise.
28380         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
28381         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
28382         value for Bessel function domain errors outside _SVID_ mode.
28383         Adjust sign of return value for yn (negative integer, 0).
28384         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
28385         by zero in return for negative x and set sign appropriately for
28386         negative n.
28387         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
28388         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
28389         * math/libm-test.inc (y0_test_data): Add more tests and adjust
28390         expectations in error cases.
28391         (y1_test_data): Likewise.
28392         (yn_test_data): Likewise.
28393         * sysdeps/i386/fpu/libm-test-ulps: Update.
28394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28396 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28398         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
28399         "64" to "64-v1".  Add "64-v2".
28400         (abi-64-options): Rename to ...
28401         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
28402         (abi-64-condition): Rename to ...
28403         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
28404         (abi-64-ld-soname): Rename to ...
28405         (abi-64-v1-ld-soname): ... this.
28406         (abi-64-v2-options): Define.
28407         (abi-64-v2-condition): Likewise.
28408         (abi-64-v2-ld-soname): Likewise.
28409         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
28410         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
28411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
28412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
28413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
28415 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28416             Alan Modra  <amodra@gmail.com>
28418         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
28419         New versions for use with the ELFv2 ABI.
28420         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
28421         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
28422         declaration.
28423         (struct La_ppc64v2_retval): Likewise.
28424         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
28425         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
28426         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
28427         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
28428         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
28429         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
28430         Do not save or restore CR.
28431         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
28432         (_dl_profile_resolve): Do no save or restore CR.  Support extended
28433         return values for ELFv2 ABI.  Fix location of FPR return registers.
28434         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
28435         updated values for _CALL_ELF == 2.
28436         (La_regs, La_retval, int_retval): Likewise.
28438 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28440         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
28441         (FRAME_MIN_SIZE_PARM): Likewise.
28442         (FRAME_BACKCHAIN): Likewise.
28443         (FRAME_CR_SAVE): Likewise.
28444         (FRAME_LR_SAVE): Likewise.
28445         (FRAME_TOC_SAVE): Likewise.
28446         (FRAME_PARM_SAVE): Likewise.
28447         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
28448         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
28449         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
28450         (call_mcount_parm_offset): New macro.
28451         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
28452         (PROF): Use symbolic stack frame offsets.
28453         (TAIL_CALL_SYSCALL_ERROR): Likewise.
28454         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
28455         Redefine in terms of FRAME_MIN_SIZE.
28456         (_dl_runtime_resolve): Use symbolic stack frame offsets.
28457         (_dl_profile_resolve): Likewise.  Update comment.
28458         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
28459         symbols stack frame offsets.
28460         (__sigsetjmp): Likewise.
28461         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
28462         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
28463         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
28464         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
28466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
28467         (FRAME_BACKCHAIN): Remove.
28468         (FRAME_CR_SAVE): Likewise.
28469         (FRAME_LR_SAVE): Likewise.
28470         (FRAME_COMPILER_DW): Likewise.
28471         (FRAME_LINKER_DW): Likewise.
28472         (FRAME_TOC_SAVE): Likewise.
28473         (FRAME_PARM_SAVE): Likewise.
28474         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
28475         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
28476         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
28477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
28478         (CHECK_SP): Use symbolic stack frame offsets.
28479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
28480         zone" instead of caller's parameter save area for temp storage.
28481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
28482         Likewise.  Also, use symbolic stack frame offsets.
28483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
28484         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
28485         our own stack frame instead of the caller's.
28486         (__socket): Use symbolic stack frame offsets.
28488 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28489             Alan Modra  <amodra@gmail.com>
28491         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
28492         Define.
28493         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
28494         (PPC64_LOCAL_ENTRY_OFFSET): Define.
28495         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
28496         New function.
28497         (elf_machine_fixup_plt): Call it.
28498         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
28499         reloc arguments.
28500         (elf_machine_rela): Update call to elf_machine_plt_conflict.
28501         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
28502         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
28503         r2 before calling target.
28505 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28506             Alan Modra  <amodra@gmail.com>
28508         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
28509         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
28510         versions of macros to support ELFv2 ABI.
28511         (LOCALENTRY): New macro.
28512         (ENTRY, EALIGN): Use it.
28513         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
28514         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
28515         fall through into ENTRY entry point.
28516         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
28517         Only define if _CALL_ELF != 2.
28519         (elf_machine_matches_host): Verify ABI version matches.
28520         (RTLD_START): Use LOCALENTRY.
28521         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
28522         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
28523         (PLT_ENTRY_WORDS): New macro.
28524         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
28525         (elf_machine_runtime_setup): Support ELFv2 ABI.
28526         (elf_machine_fixup_plt): Likewise.
28527         (elf_machine_plt_conflict): Likewise.
28528         (resolve_ifunc): Likewise.
28529         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
28530         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
28531         Likewise.
28532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
28533         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
28534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28535         (makecontext): Support ELFv2 ABI.
28536         * elf/elf.h (EF_PPC64_ABI): Define.
28538 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28540         * sysdeps/powerpc/powerpc64/sysdep.h
28541         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
28542         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
28543         (ENTRY) [ASSEMBLER]: ... but instead here ...
28544         (EALIGN) [ASSEMBLER]: ... and here.
28545         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
28546         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
28547         (ENTRY_2) [!ASSEMBLER]: Use it.
28548         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
28549         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
28550         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
28551         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
28552         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
28553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
28554         Use PPC64_LOAD_FUNCPTR.
28556         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
28558 2013-12-04  Alan Modra  <amodra@gmail.com>
28560         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
28561         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
28562         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
28563         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
28565         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
28566         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
28567         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
28568         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
28569         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
28570         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
28572 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28575         (__makecontext): Fix incorrect CFI when backtracing out of
28576         context created via makecontext.
28577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
28578         (__setcontext): Fix incorrect CFI during switch to new context.
28579         (__novec_setcontext): Likewise.
28581 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
28583         [BZ #4772]
28584         * time/strptime_l.c (__strptime_internal): Allow modifiers
28585         in strptime.
28586         * time/tst-strptime.c (day_tests): Add testcase.
28588 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28590         * scripts/bench.pl: Skip over blank lines.
28592 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
28594         [BZ #926]
28595         * manual/time.texi (Calendar Time): Clarify what timezone functions
28596         use.
28598 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28600         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28602 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
28604         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
28605         implementation.
28606         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
28607         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
28608         * debug/memset_chk.c (__memset_chk): Likewise.
28609         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
28610         * debug/strncpy_chk.c: Likewise.
28612 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
28614         [BZ #15268]
28615         [BZ #15425]
28616         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
28617         (__ieee754_exp): For possibly underflowing results, check size of
28618         result and force underflow exception if required.
28619         * math/auto-libm-test-in: Add more tests of exp.
28620         * math/auto-libm-test-out: Regenerated.
28621         * sysdeps/i386/fpu/libm-test-ulps: Update.
28622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28624         [BZ #16283]
28625         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
28626         * math/w_exp2f.c (__exp2f): Likewise.
28627         * math/w_exp2l.c (__exp2l): Likewise.
28628         * math/auto-libm-test-in: Do not allow missing errno on exp2
28629         underflow.
28630         * math/auto-libm-test-out: Regenerated.
28632 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
28634         [BZ #16274]
28635         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
28636         handle filename validation.
28637         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
28638         (do_open): Delete.
28640 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
28642         [BZ #6786]
28643         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
28644         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
28645         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
28646         <float.h>.
28647         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
28648         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
28649         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28650         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
28651         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28652         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
28653         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28654         * math/auto-libm-test-in: Don't allow missing errno from erfc.
28655         Add more erfc tests.
28656         * math/auto-libm-test-out: Regenerated.
28657         * sysdeps/i386/fpu/libm-test-ulps: Update.
28658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28660         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
28661         exp2, expm1, j0 and j1.
28662         * math/auto-libm-test-out: Regenerated.
28663         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
28664         (erfc_test_data): Likewise.
28665         (exp_test_data): Likewise.
28666         (exp_tonearest_test_data): Likewise.
28667         (exp_towardzero_test_data): Likewise.
28668         (exp_downward_test_data): Likewise.
28669         (exp_upward_test_data): Likewise.
28670         (exp10_test_data): Likewise.
28671         (exp2_test_data): Likewise.
28672         (expm1_test_data): Likewise.
28673         (j0_test_data): Likewise.
28674         (j1_test_data): Likewise.
28675         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
28676         (input_flag_type): Add flag_xfail_rounding.
28677         (input_flags): Add xfail-rounding.
28678         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
28679         (output_for_one_input_case): Handle flag_xfail_rounding.
28680         * sysdeps/i386/fpu/libm-test-ulps: Update.
28681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28683 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
28685         [BZ #16289]
28686         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
28687         division by 0.
28689 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
28691         [BZ #16195]
28692         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
28693         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
28694         (STAP_PROBE0): New macro.
28695         (STAP_PROBE1): Likewise.
28696         (STAP_PROBE2): Likewise.
28697         (STAP_PROBE3): Likewise.
28698         (STAP_PROBE4): Likewise.
28700 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
28702         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
28704 2013-12-02  Steve Ellcey  <sellcey@mips.com>
28706         * benchtests/Makefile (bench): Add sqrt.
28707         (LDLIBS-bench-sqrt): New.
28708         * benchtests/sqrt-input: New.
28710 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
28712         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
28713         (GAIH_EAI): Likewise.
28714         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
28715         (gaih_inet): Likewise.
28716         (getaddrinfo): Don't use GAIH_EAI.
28718         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
28719         (struct gaih): Remove definition.
28721 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28723         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
28724         Use HERRNOP directly.
28726 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28728         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28730 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
28732         * math/gen-auto-libm-tests.c (test_functions): Add more
28733         single-argument functions.
28734         (special_fill_pi_2): New function.
28735         (special_fill_minus_pi_2): Likewise.
28736         (special_fill_pi_6): Likewise.
28737         (special_fill_minus_pi_6): Likewise.
28738         (special_fill_pi_3): Likewise.
28739         (special_fill_2pi_3): Likewise.
28740         (special_fill_e): Likewise.
28741         (special_fill_1_e): Likewise.
28742         (special_fill_e_minus_1): Likewise.
28743         (special_real_inputs): Add more special inputs.
28744         (output_for_one_input_case): Do not require ERANGE on underflow to
28745         zero if round-to-nearest result does not underflow to zero, unless
28746         exact results required.
28747         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
28748         atan, atanh, cbrt, cos and cosh.
28749         * math/auto-libm-test-out: Regenerated.
28750         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
28751         (acos_tonearest_test_data): Likewise.
28752         (acos_towardzero_test_data): Likewise.
28753         (acos_downward_test_data): Likewise.
28754         (acos_upward_test_data): Likewise.
28755         (acosh_test_data): Likewise.
28756         (asin_test_data): Likewise.
28757         (asin_tonearest_test_data): Likewise.
28758         (asin_towardzero_test_data): Likewise.
28759         (asin_upward_test_data): Likewise.
28760         (asinh_test_data): Likewise.
28761         (atan_test_data): Likewise.
28762         (atanh_test_data): Likewise.
28763         (cbrt_test_data): Likewise.
28764         (cos_test_data): Likewise.
28765         (cos_tonearest_test_data): Likewise.
28766         (cos_towardzero_test_data): Likewise.
28767         (cos_downward_test_data): Likewise.
28768         (cos_upward_test_data): Likewise.
28769         (cosh_test_data): Likewise.
28770         (cosh_tonearest_test_data): Likewise.
28771         (cosh_towardzero_test_data): Likewise.
28772         (cosh_downward_test_data): Likewise.
28773         (cosh_upward_test_data): Likewise.
28774         * sysdeps/i386/fpu/libm-test-ulps: Update.
28775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28777 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
28779         [BZ #6787]
28780         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
28781         * math/w_exp10f.c (__exp10f): Likewise.
28782         * math/w_exp10l.c (__exp10l): Likewise.
28783         * math/libm-test.inc (exp10_test_data): Add more tests and expect
28784         errno settings in existing tests.
28786         [BZ #14032]
28787         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
28788         precision control set to double precision.
28789         * sysdeps/i386/fpu/w_sqrt.c: New file.
28790         * math/auto-libm-test-in: Add more tests.
28791         * math/auto-libm-test-out: Update.
28793         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
28794         (sqrt_test_tonearest): New function.
28795         (sqrt_towardzero_test_data): New variable.
28796         (sqrt_test_towardzero): New function.
28797         (sqrt_downward_test_data): New variable.
28798         (sqrt_test_downward): New function.
28799         (sqrt_upward_test_data): New variable.
28800         (sqrt_test_upward): New function.
28801         (main): Call the new functions.
28803         * math/gen-auto-libm-tests.c: New file.
28804         * math/auto-libm-test-in: Likewise.
28805         * math/auto-libm-test-out: New generated file.
28806         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
28807         variables.
28808         (%beautify): Add generated representations of zero.
28809         (top level): Set $auto_input and call parse_auto_input.
28810         (beautify): Remove trailing "f" from hex float constants.
28811         (parse_args): Handle XFAIL_TEST.
28812         (convert_condition): New function.
28813         (or_value): Likewise.
28814         (or_cond_value): Likewise.
28815         (generate_testfile): Handle AUTO_TESTS_* lines.
28816         (parse_auto_input): New function.
28817         * math/libm-test.inc (XFAIL_TEST): New macro.
28818         (ERRNO_UNCHANGED): Update value.
28819         (ERRNO_EDOM): Likewise.
28820         (ERRNO_ERANGE): Likewise.
28821         (IGNORE_RESULT): Likewise.
28822         (TEST_COND_flt_32): New macro.
28823         (TEST_COND_dbl_64): Likewise.
28824         (TEST_COND_ldbl_96_intel): Likewise.
28825         (TEST_COND_ldbl_96_m68k): Likewise.
28826         (TEST_COND_ldbl_128): Likewise.
28827         (TEST_COND_ldbl_128ibm): Likewise.
28828         (TEST_COND_long32): Likewise.
28829         (TEST_COND_long64): Likewise.
28830         (TEST_COND_before_rounding): Likewise.
28831         (TEST_COND_after_rounding): Likewise.
28832         (enable_test): Handle XFAIL_TEST flag.
28833         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
28834         with finite results.
28835         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
28836         auto-libm-test-out.
28838 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28839             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28841         [BZ #16214]
28842         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
28843         __tls_get_addr_internal instead of __tls_get_offset in order to
28844         avoid GOT pointer dependency.  Make rtld export
28845         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
28846         __tls_get_addr since we are a __tls_get_offset platform.
28847         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
28848         GOT pointer being set up before.
28849         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
28851 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
28853         * manual/math.texi (Errors in Math Functions): Document accuracy
28854         goals.
28856         [BZ #15004]
28857         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
28858         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
28859         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28860         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28861         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28862         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28863         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28864         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28865         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28866         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28867         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28868         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28869         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28870         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28871         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28872         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28874         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
28875         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
28876         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
28877         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
28878         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
28879         Likewise.
28880         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
28881         Likewise.
28882         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
28883         Likewise.
28884         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
28885         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
28886         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
28887         atomic-feupdateenv and flt-rounds.
28888         * sysdeps/powerpc/nofpu/Versions (libc): Add
28889         __atomic_feholdexcept, __atomic_feclearexcept,
28890         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
28891         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
28892         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
28893         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
28894         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
28895         here.
28896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
28897         Update.
28899         * manual/arith.texi (FP Exceptions): Document that exceptions may
28900         not be raised when matherr is used.
28901         (Math Error Reporting): Document overflow in directed rounding
28902         modes.  Document that errno may not be set when finite values are
28903         returned on overflow.  Document intent to set errno on underflow
28904         only for underflow to zero.
28906         [BZ #16271]
28907         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
28908         round-to-nearest then adjust result for other rounding modes.
28909         * include/fenv.h (fegetround): Use libm_hidden_proto.
28910         * math/fegetround.c (fegetround): Use libm_hidden_def.
28911         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
28912         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
28913         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
28914         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
28915         Likewise.
28916         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
28917         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28918         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
28919         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
28921 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28923         [BZ #16077]
28924         * nss/Versions (libnss_files): Add
28925         _nss_files_gethostbyname3_r.
28926         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
28927         New function.
28928         (HOST_DB_LOOKUP): Remove macro.
28929         (_nss_files_gethostbyname_r): Implement function without the
28930         HOST_DB_LOOKUP macro.
28931         (_nss_files_gethostbyname2_r): Likewise.
28933 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
28935         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
28937 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
28939         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
28940         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
28941         warning.
28943 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28945         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
28946         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
28947         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
28948         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
28949         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
28950         __fe_nomask_env_priv and attribute_hidden.
28951         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
28952         (libc_feupdateenv_test_ppc): Likewise.
28953         (libc_feresetround_ppc): Likewise.
28954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28955         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
28956         compat_symbol macro.
28957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28958         (__fe_nomask_env): Likewise.
28959         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
28961 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28963         * string/Makefile: Remove ifunc tests.
28964         * string/test-string.h: Define TEST_IFUNC.
28965         * string/test-bcopy-ifunc.c: Remove.
28966         * string/test-bzero-ifunc.c: Likewise.
28967         * string/test-memccpy-ifunc.c: Likewise.
28968         * string/test-memchr-ifunc.c: Likewise.
28969         * string/test-memcmp-ifunc.c: Likewise.
28970         * string/test-memcpy-ifunc.c: Likewise.
28971         * string/test-memmem-ifunc.c: Likewise.
28972         * string/test-memmove-ifunc.c: Likewise.
28973         * string/test-mempcpy-ifunc.c: Likewise.
28974         * string/test-memrchr-ifunc.c: Likewise.
28975         * string/test-memset-ifunc.c: Likewise.
28976         * string/test-rawmemchr-ifunc.c: Likewise.
28977         * string/test-stpcpy-ifunc.c: Likewise.
28978         * string/test-stpncpy-ifunc.c: Likewise.
28979         * string/test-strcasecmp-ifunc.c: Likewise.
28980         * string/test-strcasestr-ifunc.c: Likewise.
28981         * string/test-strcat-ifunc.c: Likewise.
28982         * string/test-strchr-ifunc.c: Likewise.
28983         * string/test-strchrnul-ifunc.c: Likewise.
28984         * string/test-strcmp-ifunc.c: Likewise.
28985         * string/test-strcpy-ifunc.c: Likewise.
28986         * string/test-strcspn-ifunc.c: Likewise.
28987         * string/test-strlen-ifunc.c: Likewise.
28988         * string/test-strncasecmp-ifunc.c: Likewise.
28989         * string/test-strncat-ifunc.c: Likewise.
28990         * string/test-strncmp-ifunc.c: Likewise.
28991         * string/test-strncpy-ifunc.c: Likewise.
28992         * string/test-strnlen-ifunc.c: Likewise.
28993         * string/test-strpbrk-ifunc.c: Likewise.
28994         * string/test-strrchr-ifunc.c: Likewise.
28995         * string/test-strspn-ifunc.c: Likewise.
28996         * string/test-strstr-ifunc.c: Likewise.
28998 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
29000         * benchtests/Makefile: Remove ifunc tests.
29001         * benchtests/bench-string.h: Define TEST_IFUNC.
29002         * benchtests/bench-bcopy-ifunc.c: Remove.
29003         * benchtests/bench-bzero-ifunc.c: Likewise.
29004         * benchtests/bench-memccpy-ifunc.c: Likewise.
29005         * benchtests/bench-memchr-ifunc.c: Likewise.
29006         * benchtests/bench-memcmp-ifunc.c: Likewise.
29007         * benchtests/bench-memcpy-ifunc.c: Likewise.
29008         * benchtests/bench-memmem-ifunc.c: Likewise.
29009         * benchtests/bench-memmove-ifunc.c: Likewise.
29010         * benchtests/bench-mempcpy-ifunc.c: Likewise.
29011         * benchtests/bench-memrchr-ifunc.c: Likewise.
29012         * benchtests/bench-memset-ifunc.c: Likewise.
29013         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
29014         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
29015         * benchtests/bench-stpcpy-ifunc.c: Likewise.
29016         * benchtests/bench-stpncpy-ifunc.c: Likewise.
29017         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
29018         * benchtests/bench-strcasestr-ifunc.c: Likewise.
29019         * benchtests/bench-strcat-ifunc.c: Likewise.
29020         * benchtests/bench-strchr-ifunc.c: Likewise.
29021         * benchtests/bench-strchrnul-ifunc.c: Likewise.
29022         * benchtests/bench-strcmp-ifunc.c: Likewise.
29023         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
29024         * benchtests/bench-strcpy-ifunc.c: Likewise.
29025         * benchtests/bench-strcspn-ifunc.c: Likewise.
29026         * benchtests/bench-strlen-ifunc.c: Likewise.
29027         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
29028         * benchtests/bench-strncat-ifunc.c: Likewise.
29029         * benchtests/bench-strncmp-ifunc.c: Likewise.
29030         * benchtests/bench-strncpy-ifunc.c: Likewise.
29031         * benchtests/bench-strnlen-ifunc.c: Likewise.
29032         * benchtests/bench-strpbrk-ifunc.c: Likewise.
29033         * benchtests/bench-strrchr-ifunc.c: Likewise.
29034         * benchtests/bench-strsep-ifunc.c: Likewise.
29035         * benchtests/bench-strspn-ifunc.c: Likewise.
29036         * benchtests/bench-strstr-ifunc.c: Likewise.
29038 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
29040         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
29042 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
29044         * resolv/netdb.h: Use __glibc_reserved instead __unused.
29045         * rt/aio.h: Likewise.
29046         * sysdeps/gnu/bits/utmp.h: Likewise.
29047         * sysdeps/gnu/bits/utmpx.h: Likewise.
29048         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
29049         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
29050         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
29051         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
29052         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
29053         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
29054         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
29055         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
29056         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
29057         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
29058         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
29059         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
29060         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
29061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
29062         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
29063         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
29064         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
29065         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
29066         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
29067         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
29068         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
29069         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
29070         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
29071         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
29072         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
29073         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29074         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
29075         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
29076         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
29077         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
29078         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
29079         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
29080         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
29081         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
29082         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
29083         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
29084         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
29085         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
29086         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
29087         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
29088         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
29089         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
29091 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
29093         [BZ #16245]
29094         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
29095         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
29097 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
29099         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
29100         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
29101         Likewise.
29103 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29105         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
29106         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
29107         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
29108         (__fesetround): Remove define.
29109         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
29110         rounding and exceptions handling.
29111         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
29112         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
29113         (__fe_nomask_env): Likewise.
29114         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
29115         __fegetround instead of fegetround.
29116         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
29117         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
29119 2013-11-21  Roland McGrath  <roland@hack.frob.com>
29121         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
29122         it's there.
29124         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
29126 2013-11-21  Meador Inge  <meadori@codesourcery.com>
29128         [BZ #11157]
29129         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
29130         (encrypt_r): Likewise.
29131         * malloc/obstack.h (obstack_free): Likewise.
29132         * posix/unistd.h (encrypt): Likewise.
29134 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
29136         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
29137         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
29138         DL_CALL_DT_FINI() that call the functions directly.
29139         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
29140         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
29141         * elf/dl-fini.c: Likewise.
29143 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
29145         * malloc/hooks.c (memalign_check): Add alignment rounding.
29146         * malloc/malloc.c (_mid_memalign): New function.
29147         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
29148         Implement by calling _mid_memalign.
29149         * manual/probes.texi (Memory Allocation Probes): Remove
29150         memory_valloc_retry and memory_pvalloc_retry.
29152 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29154         * locale/programs/locarchive.c (open_archive): Add const
29155         qualifier to ARCHIVEFNAME and copy default fname to
29156         DEFAULT_FNAME.
29158         [BZ #15601]
29159         * libio/tst-widetext.input: Rename Oriya to Odia.
29160         * locale/iso-639.def: Likewise.
29162         * manual/probes.texi (Mathematical Function Probes): Add
29163         documentation for sin, cos, asin and acos probes.
29164         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
29165         (__sin32): Add slowasin probe.
29166         (__cos32): Add slowacos probe.
29167         (__mpsin): Add slowsin probe.
29168         (__mpcos): Add slowcos probe.
29170 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
29172         [BZ #15483]
29173         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
29174         thread-local __sim_exceptions_thread and global
29175         __sim_exceptions_global.
29176         (__sim_disabled_exceptions): Change to thread-local
29177         __sim_disabled_exceptions_thread and global
29178         __sim_disabled_exceptions_global.
29179         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
29180         and global __sim_round_mode_global.
29181         (__simulate_exceptions): Use thread-local floating-point state and
29182         set global state from it as needed.
29183         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
29184         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
29185         __sim_round_mode_thread.
29186         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
29187         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
29188         and global __sim_exceptions_global.
29189         (__sim_disabled_exceptions): Change to thread-local
29190         __sim_disabled_exceptions_thread and global
29191         __sim_disabled_exceptions_global.
29192         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
29193         and global __sim_round_mode_global.
29194         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
29195         (SIM_SET_GLOBAL): Likewise.
29196         * sysdeps/powerpc/soft-fp/sfp-machine.h
29197         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
29198         __sim_round_mode_thread.
29199         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
29200         __sim_disabled_exceptions_thread.
29201         (__sim_exceptions): Change to __sim_exceptions_thread.
29202         (__sim_disabled_exceptions): Change to
29203         __sim_disabled_exceptions_thread.
29204         (__sim_round_mode): Change to __sim_round_mode_thread.
29205         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
29206         thread-local floating-point state and set global state from it as
29207         needed.
29208         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
29209         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
29210         (__sim_disabled_exceptions): Remove extern declaration.
29211         (feenableexcept): Use thread-local floating-point state and set
29212         global state from it as needed.
29213         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
29214         extern declaration.
29215         (__sim_disabled_exceptions): Likewise.
29216         (__sim_round_mode): Likewise.
29217         (__fegetenv): Use thread-local floating-point state.
29218         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
29219         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
29220         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
29221         floating-point state and set global state from it as needed.
29222         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
29223         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
29224         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
29225         Likewise.
29226         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
29227         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
29228         Likewise.
29229         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
29230         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
29231         Use __sim_round_mode_thread.
29232         * math/test-fenv-tls.c: New file.
29233         * math/Makefile (tests): Add test-fenv-tls.
29234         ($(objpfx)test-fenv-tls): Depend on
29235         $(common-objpfx)nptl/libpthread.so.
29237 2013-11-19  Andreas Schwab  <schwab@suse.de>
29239         * locale/programs/locale.c (show_info): Decode wordarray elements.
29240         * locale/categories.def (LC_MONETARY): Add element for
29241         _NL_MONETARY_CRNCYSTR.
29242         * locale/C-monetary.c (conversion_rate): New variable.
29243         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
29244         element.
29246 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
29248         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
29249         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
29251 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
29253         * elf/Makefile (tst-auxv): New test.
29254         * elf/tst-auxv.c: New
29255         * elf/rtld.c (dl_main): Adjust AT_EXECFN
29257 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
29259         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
29260         (hidden_proto): Caller changed.
29261         (hidden_tls_proto): New macro.
29262         (libc_hidden_tls_proto): Likewise.
29263         (rtld_hidden_tls_proto): Likewise.
29264         (libm_hidden_tls_proto): Likewise.
29265         (libresolv_hidden_tls_proto): Likewise.
29266         (librt_hidden_tls_proto): Likewise.
29267         (libdl_hidden_tls_proto): Likewise.
29268         (libnss_files_hidden_tls_proto): Likewise.
29269         (libnsl_hidden_tls_proto): Likewise.
29270         (libnss_nisplus_hidden_tls_proto): Likewise.
29271         (libutil_hidden_tls_proto): Likewise.
29273 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
29275         [BZ #10253]
29276         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
29277         (decompose_rpath): Defer expansion to fillin_rpath.
29278         (_dl_init_paths): Pass linkmap to fillin_rpath.
29280 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29282         * benchtests/Makefile: Add strsep.
29283         * benchtests/bench-strsep.c: New file: strsep benchtest.
29284         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
29286 2013-11-18  Andreas Schwab  <schwab@suse.de>
29288         * locale/programs/locale.c (show_info) [case byte]: Check for
29289         '\377' instead of '\177'.
29290         * locale/C-monetary.c (not_available): Always use "\377".
29291         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
29292         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
29293         detect unavailable sign_posn locale elements.
29294         * locale/localeconv.c (__localeconv): For grouping and
29295         mon_grouping handle "\177" and "\377" like no grouping.
29296         (INT_ELEM): New macro.  Use it to set all numeric members.
29297         * locale/programs/ld-monetary.c (monetary_read)
29298         <tok_mon_grouping>: Normalize single -1 to the empty string.
29299         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
29300         Likewise.
29302 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
29304         [BZ #16055]
29305         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
29306         when we match (nil).
29307         * stdio-common/tst-sscanf.c (struct test): Add testcase.
29309 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
29311         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
29312         (NO_TEST_INLINE): Update value.
29313         (ERRNO_UNCHANGED): Likewise.
29314         (ERRNO_EDOM): Likewise.
29315         (ERRNO_ERANGE): Likewise.
29316         (IGNORE_RESULT): Likewise.
29317         (check_float_internal): Check signs of NaN results if
29318         TEST_NAN_SIGN used.
29319         (check_complex): Pass TEST_NAN_SIGN flag through to second
29320         check_float_internal call.
29321         (copysign_test_data): Add tests with quiet NaNs as second
29322         argument.  Use TEST_NAN_SIGN.
29323         (fabs_test_data): Add test of negative quiet NaN argument.  Use
29324         TEST_NAN_SIGN.
29325         (signbit_test_data): Add tests of quiet NaN argument.
29326         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
29328         * math/gen-libm-test.pl (show_exceptions): Take extra argument
29329         $ignore_result.
29330         (parse_args): Handle function results specified as IGNORE.
29331         * math/libm-test.inc (IGNORE_RESULT): New macro.
29332         (check_float_internal): Do not check numerical result if flag
29333         IGNORE_RESULT set.
29334         (check_complex): Pass through IGNORE_RESULT to second
29335         check_float_internal call.
29336         (check_int): Do not check numerical result if flag IGNORE_RESULT
29337         set.
29338         (check_long): Likewise.
29339         (check_bool): Likewise.
29340         (check_longlong): Likewise.
29341         (lrint_test_data): Add tests of infinite and NaN arguments.
29342         (lrint_tonearest_test_data): Likewise.
29343         (lrint_towardzero_test_data): Likewise.
29344         (lrint_downward_test_data): Likewise.
29345         (lrint_upward_test_data): Likewise.
29346         (llrint_test_data): Likewise.
29347         (llrint_tonearest_test_data): Likewise.
29348         (llrint_towardzero_test_data): Likewise.
29349         (llrint_downward_test_data): Likewise.
29350         (llrint_upward_test_data): Likewise.
29351         (lround_test_data): Likewise.
29352         (llround_test_data): Likewise.
29354         * math/libm-test.inc (NO_TEST_INLINE): New macro.
29355         (ERRNO_UNCHANGED): Update value.
29356         (ERRNO_EDOM): Likewise.
29357         (ERRNO_ERANGE): Likewise.
29358         (NO_TEST_INLINE_FLOAT): New macro.
29359         (NO_TEST_INLINE_DOUBLE): Likewise.
29360         (enable_test): New function.
29361         (RUN_TEST_f_f): Check enable_test before running test.
29362         (RUN_TEST_2_f): Likewise.
29363         (RUN_TEST_fff_f): Likewise.
29364         (RUN_TEST_c_f): Likewise.
29365         (RUN_TEST_f_f1): Likewise.
29366         (RUN_TEST_fF_f1): Likewise.
29367         (RUN_TEST_fI_f1): Likewise.
29368         (RUN_TEST_ffI_f1): Likewise.
29369         (RUN_TEST_c_c): Likewise.
29370         (RUN_TEST_cc_c): Likewise.
29371         (RUN_TEST_f_i): Likewise.
29372         (RUN_TEST_f_i_tg): Likewise.
29373         (RUN_TEST_ff_i_tg): Likewise.
29374         (RUN_TEST_f_b): Likewise.
29375         (RUN_TEST_f_b_tg): Likewise.
29376         (RUN_TEST_f_l): Likewise.
29377         (RUN_TEST_f_L): Likewise.
29378         (RUN_TEST_fFF_11): Likewise.
29379         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
29380         conditionals.
29381         (cosh_test_data): Likewise.
29382         (exp_test_data): Likewise.
29383         (expm1_test_data): Likewise.
29384         (hypot_test_data): Likewise.
29385         (pow_test_data): Likewise.
29386         (sinh_test_data): Likewise.
29387         (tanh_test_data): Likewise.
29388         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
29389         flags argument.
29391         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
29392         tests with quiet NaN input and output.
29393         (acosh_test_data): Likewise.
29394         (asin_test_data): Likewise.
29395         (asinh_test_data): Likewise.
29396         (atan_test_data): Likewise.
29397         (atanh_test_data): Likewise.
29398         (atan2_test_data): Likewise.
29399         (cbrt_test_data): Likewise.
29400         (cos_test_data): Likewise.
29401         (cosh_test_data): Likewise.
29402         (erf_test_data): Likewise.
29403         (erfc_test_data): Likewise.
29404         (exp_test_data): Likewise.
29405         (exp10_test_data): Likewise.
29406         (exp2_test_data): Likewise.
29407         (expm1_test_data): Likewise.
29408         (hypot_test_data): Likewise.
29409         (j0_test_data): Likewise.
29410         (j1_test_data): Likewise.
29411         (jn_test_data): Likewise.
29412         (lgamma_test_data): Likewise.
29413         (log_test_data): Likewise.
29414         (log10_test_data): Likewise.
29415         (log1p_test_data): Likewise.
29416         (log2_test_data): Likewise.
29417         (pow_test_data): Likewise.
29418         (scalb_test_data): Likewise.
29419         (sin_test_data): Likewise.
29420         (sincos_test_data): Likewise.
29421         (sinh_test_data): Likewise.
29422         (tan_test_data): Likewise.
29423         (tanh_test_data): Likewise.
29424         (tgamma_test_data): Likewise.
29425         (y0_test_data): Likewise.
29426         (y1_test_data): Likewise.
29427         (yn_test_data): Likewise.
29429         [BZ #16167]
29430         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
29431         argument being NaN and avoid computations with second argument in
29432         that case.
29433         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
29434         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
29435         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
29437 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
29439         * locale/iso-639.def: Add Chitwani Tharu (the).
29441 2013-11-14  Andreas Schwab  <schwab@suse.de>
29443         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
29444         word instead of empty string.
29446 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29449         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
29450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29451         (__fe_nomask_env): Likewise.
29453 2013-11-13  Steve Ellcey  <sellcey@mips.com>
29455         * benchtests/bench-timing.h: Include time.h.
29457 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
29459         [BZ #15997]
29460         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
29461         to 3.4.0 for x32.
29462         * sysdeps/unix/sysv/linux/configure: Regenerated.
29464 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
29466         [BZ #16151]
29467         * stdlib/strtod_l.c (round_and_return): Do not consider
29468         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
29469         exponent one less than half the least subnormal exponent.
29470         * stdlib/test-strtod-round-data: Add more tests.
29471         * stdlib/tst-strtod-round.c (tests): Regenerated.
29473 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29475         [BZ #14143]
29476         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
29477         (__fe_mask_env): Likewise.
29478         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
29479         libm_hidden_proto and add function prototype.
29480         (__fe_mask_env): Add function prototype.
29481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29482         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
29483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
29484         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
29485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29486         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
29488 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29490         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
29491         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
29493 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29495         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
29496         of htab_find_slot().
29498 2013-11-11  David S. Miller  <davem@davemloft.net>
29500         [BZ #16150]
29501         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
29502         symbol in the non-vis3 case in static builds.
29503         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
29504         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
29505         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
29506         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
29508 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
29510         [BZ #387]
29511         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
29512         it is empty.
29514 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29516         * benchtests/Makefile: Add bench-strtod.
29517         * benchtests/bench-strtod.c: New file: strtod benchtest
29519 2013-11-11  Andreas Schwab  <schwab@suse.de>
29521         [BZ #16153]
29522         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
29523         terminating NUL in key length.
29525 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29527         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
29528         Add artificial ODP entry for vDSO symbol for PPC64.
29529         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
29530         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
29532 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
29534         [BZ #15374]
29535         * nss/getent.c (services_keys): Recognize services starting with digit.
29537 2013-11-06  David S. Miller  <davem@davemloft.net>
29539         [BZ #15985]
29540         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
29541         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
29543 2013-11-06  Will Newton  <will.newton@linaro.org>
29545         * manual/memory.texi (Malloc Examples): Remove register
29546         keyword from examples.
29548 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
29550         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
29552 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
29554         [BZ #6981]
29555         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
29556         depending on [__GCC_IEC_559 > 0].
29557         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
29558         depending on [__GCC_IEC_559_COMPLEX > 0].
29560 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
29562         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
29563         to iso-639.def.
29565 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
29567         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
29569 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
29571         [BZ #16112]
29572         * malloc/malloc (malloc_info): Do not handle first bin as
29573         special case.
29575 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
29577         * locale/iso-639.def: Add Central Nahuatl (nhn).
29579 2013-11-01  Bruno Haible  <bruno@clisp.org>
29581         [BZ #7003]
29582         * manual/math.texi (BSD Random): Specify range upper bound as
29583         in POSIX.
29585 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
29587         * locale/iso-639.def: Add Meadow Mari (mhr).
29589 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
29591         [BZ #14752], [BZ #15763]
29592         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
29593         Validate name.
29594         * rt/tst_shm.c: Add test for escaping directory.
29596 2013-10-31  Andreas Schwab  <schwab@suse.de>
29598         [BZ #15917]
29599         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
29600         followed by 'x' as part of digit sequence.
29601         * stdio-common/tst-sscanf.c (double_tests2): New tests.
29603 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
29605         [BZ #16037]
29606         * configure.ac: allow GNU Make 4.0 and greater.
29607         * configure: Regenerated.
29609 2013-10-30  Will Newton  <will.newton@linaro.org>
29611         [BZ #16038]
29612         * malloc/hooks.c (memalign_check): Limit alignment to the
29613         maximum representable power of two.
29614         * malloc/malloc.c (__libc_memalign): Likewise.
29615         * malloc/tst-memalign.c (do_test): Add test for very
29616         large alignment values.
29617         * malloc/tst-posix_memalign.c (do_test): Likewise.
29619 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
29621         [BZ #11087]
29622         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
29623         (munmap_chunk): Likewise.
29624         (mremap_chunk): Likewise.
29626 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
29628         [BZ #15799]
29629         * stdlib/div.c (div): Remove obsolete code.
29630         * stdlib/ldiv.c (ldiv): Likewise.
29631         * stdlib/lldiv.c (lldiv): Likewise.
29633 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29635         [BZ #16071]
29636         * nss/nss_files/files-XXX.c (get_contents_ret): New
29637         enumerator.
29638         (get_contents): New function.
29639         (internal_getent): Use it.  Expand size of LINEBUFLEN.
29641 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
29643         * configure.in: Moved to ...
29644         * configure.ac: ... here. Change reference to configure.in
29645         to configure.ac.
29646         * sysdeps/arm/preconfigure.ac: ... here.
29647         configure.in to configure.ac.
29648         * sysdeps/gnu/configure.in: Moved to ...
29649         * sysdeps/gnu/configure.ac: ... here.
29650         * sysdeps/i386/configure.in: Moved to ...
29651         * sysdeps/i386/configure.ac: ... here.
29652         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
29653         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
29654         * sysdeps/mach/configure.in: Moved to ...
29655         * sysdeps/mach/configure.ac: ... here.
29656         * sysdeps/mach/hurd/configure.in: Moved to ...
29657         * sysdeps/mach/hurd/configure.ac: ... here.
29658         * sysdeps/powerpc/configure.in: Moved to ...
29659         * sysdeps/powerpc/configure.ac: ... here.
29660         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
29661         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
29662         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
29663         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
29664         * sysdeps/s390/s390-32/configure.in: Moved to ...
29665         * sysdeps/s390/s390-32/configure.ac: ... here.
29666         * sysdeps/s390/s390-64/configure.in: Moved to ...
29667         * sysdeps/s390/s390-64/configure.ac: ... here.
29668         * sysdeps/sh/configure.in: Moved to ...
29669         * sysdeps/sh/configure.ac: ... here.
29670         * sysdeps/sparc/configure.in: Moved to ...
29671         * sysdeps/sparc/configure.ac: ... here.
29672         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
29673         * sysdeps/unix/sysv/linux/configure.ac: ... here.
29674         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
29675         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
29676         * sysdeps/x86_64/configure.in: Moved to ...
29677         * sysdeps/x86_64/configure.ac: ... here.
29678         * sysdeps/x86_64/preconfigure.in: Moved to ...
29679         * sysdeps/x86_64/preconfigure.ac: ... here.
29680         * aclocal.m4: Change reference to configure.in to configure.ac.
29681         * config.h.in: Likewise.
29682         * manual/install.texi: Likewise.
29683         * manual/maint.texi: Likewise.
29684         * Makefile: Likewise.
29685         * malloc/Makefile: Likewise.
29686         * nscd/Makefile: Likewise.
29687         * Makeconfig: Change reference to configure.in and
29688         preconfigure.in to configure.ac and preconfigure.ac
29689         respectively.
29690         * INSTALL: Regenerated.
29691         * configure: Likewise.
29692         * sysdeps/gnu/configure: Likewise.
29693         * sysdeps/i386/configure: Likewise.
29694         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
29695         * sysdeps/mach/configure: Likewise.
29696         * sysdeps/mach/hurd/configure: Likewise.
29697         * sysdeps/powerpc/configure: Likewise.
29698         * sysdeps/powerpc/powerpc32/configure: Likewise.
29699         * sysdeps/powerpc/powerpc64/configure: Likewise.
29700         * sysdeps/s390/s390-32/configure: Likewise.
29701         * sysdeps/s390/s390-64/configure: Likewise.
29702         * sysdeps/sh/configure: Likewise.
29703         * sysdeps/sparc/configure: Likewise.
29704         * sysdeps/unix/sysv/linux/configure: Likewise.
29705         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
29706         * sysdeps/x86_64/configure: Likewise.
29707         * sysdeps/x86_64/preconfigure: Likewise.
29709 2013-10-29  Andreas Schwab  <schwab@suse.de>
29711         * stdio-common/Makefile (tst-swscanf-ENV): Define.
29713 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29715         * benchtests/pow-inputs: Add new inputs.
29717         * benchtests/exp-inputs: Add new inputs.
29719         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
29720         conditional check for return value.
29721         (__cos32): Likewise.
29723 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29725         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
29726         to provide a boost for large inputs with word alignment.
29727         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
29728         implementation based on optimized PPC64 strcpy.
29729         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
29730         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
29731         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
29732         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
29734 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29736         [BZ #2801]
29737         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
29739 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29741         [BZ #14876]
29742         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
29743         * time/tst-strptime.c (day_tests): Add testcase.
29745 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29747         [BZ #14029]
29748         * manual/pattern.texi: Acknowledge that fnmatch can fail.
29750 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
29752         [BZ #16074]
29753         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
29754         MAP_FAILED on error.
29756 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29758         [BZ #16072]
29759         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
29760         heap for large requests.
29762 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
29764         [BZ #9954]
29765         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
29766         result if the result has no associated interface.
29767         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
29768         interface for all 127.X.Y.Z addresses.
29770 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
29772         * locale/iso-639.def: Add Ligurian (lij)
29774 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
29776         [BZ #15825]
29777         * sunrpc/rpc_main.c: Document rpcgen -5.
29779 2013-10-19  Michael Stahl  <mstahl@redhat.com>
29781         * elf/rtld.c (do_preload): Print the reason why preloading failed.
29783 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
29785         [BZ #10278]
29786         * posix/glob.c: Match only directories when trailing slash is present.
29787         * posix/tst-gnuglob.c (my_opendir): Do not open files.
29788         (main): Add testcase.
29790 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
29792         [BZ #15670]
29793         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
29795 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
29797         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
29798         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
29799         AUTH_DES and cindex for FIPS 140-2.
29800         (DES Encryption): Add cindex FIPS 46-3.
29802         * locale/locarchive.h (struct locarhandle): Add fname.
29803         * locale/programs/localedef.c (main): Pass ARGV[remaining]
29804         if an optional argument was specified to --list-archive,
29805         otherwise NULL.
29806         * locale/programs/locarchive.c (show_archive_content): Take new
29807         argument fname and pass it via ah.fname to open_archive.
29808         * locale/programs/localedef.h: Update decl.
29809         (open_archive): If AH->fname is non-null, open that file
29810         rather than the default file name, and don't ignore ENOENT.
29811         (create_archive): Set AH.fname to NULL.
29812         (delete_locales_from_archive): Likewise.
29813         (add_locales_to_archive): Likewise.
29814         * locale/programs/locfile.c (write_all_categories): Likewise.
29816 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
29817             Aldy Hernandez  <aldyh@redhat.com>
29819         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
29820         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
29821         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
29822         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
29823         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
29824         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
29825         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
29826         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
29827         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
29828         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
29829         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
29830         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
29831         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
29832         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
29833         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
29834         Likewise.
29835         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
29836         Likewise.
29837         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
29838         Likewise.
29839         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
29840         Likewise.
29841         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
29842         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
29843         Likewise.
29844         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
29845         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
29846         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
29847         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
29848         Likewise.
29849         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
29850         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
29851         * sysdeps/powerpc/preconfigure: Likewise.
29852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
29853         Likewise.
29854         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
29855         Replace contents of file by #include of <fenv_libc.h>.
29856         * sysdeps/powerpc/soft-fp/sfp-machine.h
29857         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
29858         and <sys/prctl.h>.
29859         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
29860         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
29861         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
29862         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
29863         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
29864         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
29865         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
29866         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
29867         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
29868         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
29869         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
29870         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
29871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
29872         Allow copysignl PLT reference to be missing.
29874 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
29875             Joseph Myers  <joseph@codesourcery.com
29877         [BZ #15948]
29878         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
29879         single character.
29880         (add_to_tablewc): Assert sequence of wide characters is nonempty.
29882 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29884         * elf/tst-tls-dlinfo.c: Don't include tls.h.
29885         * elf/tst-tls1.c: Likewise.
29886         * elf/tst-tls10.h: Likewise.
29887         * elf/tst-tls14.c: Likewise.
29888         * elf/tst-tls2.c: Likewise.
29889         * elf/tst-tls3.c: Likewise.
29890         * elf/tst-tls4.c: Likewise.
29891         * elf/tst-tls5.c: Likewise.
29892         * elf/tst-tls6.c: Likewise.
29893         * elf/tst-tls7.c: Likewise.
29894         * elf/tst-tls8.c: Likewise.
29895         * elf/tst-tls9.c: Likewise.
29896         * elf/tst-tlsmod1.c: Likewise.
29897         * elf/tst-tlsmod13.c: Likewise.
29898         * elf/tst-tlsmod13a.c: Likewise.
29899         * elf/tst-tlsmod14a.c: Likewise.
29900         * elf/tst-tlsmod16a.c: Likewise.
29901         * elf/tst-tlsmod16b.c: Likewise.
29902         * elf/tst-tlsmod2.c: Likewise.
29903         * elf/tst-tlsmod3.c: Likewise.
29904         * elf/tst-tlsmod4.c: Likewise.
29905         * elf/tst-tlsmod5.c: Likewise.
29906         * elf/tst-tlsmod6.c: Likewise.
29908 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
29910         [BZ #12486]
29911         * malloc/malloc.c: remove checks for statistics.
29913 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
29915         [BZ #15277]
29916         * inet/inet_net.c (inet_network): Detect additional invalid strings.
29917         * inet/tst-network.c: Add testcase.
29919 2013-10-17  Andreas Schwab  <schwab@suse.de>
29921         [BZ #15218]
29922         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
29923         to determine canonical name.
29925 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
29927         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
29928         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
29929         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29930         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29931         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29932         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29933         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29934         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29935         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29936         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29937         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
29938         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29939         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29940         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29941         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29942         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29943         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29944         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29945         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29946         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29947         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29948         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29949         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29950         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
29951         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
29952         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29953         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29954         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
29955         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29956         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
29957         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29958         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29959         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29960         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29961         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29962         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29963         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29964         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29965         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29966         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29967         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29968         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29969         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29970         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29971         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29972         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29973         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29974         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29975         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29976         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29977         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29978         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29979         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29980         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29981         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29982         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29983         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29984         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29986 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
29988         [BZ #16041]
29989         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
29990         make result into a quiet NaN.
29992 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
29994         * soft-fp/adddf3.c: Fix horizontal whitespace.
29995         * soft-fp/addsf3.c: Likewise.
29996         * soft-fp/addtf3.c: Likewise.
29997         * soft-fp/divdf3.c: Likewise.
29998         * soft-fp/divsf3.c: Likewise.
29999         * soft-fp/divtf3.c: Likewise.
30000         * soft-fp/double.h: Likewise.
30001         * soft-fp/eqdf2.c: Likewise.
30002         * soft-fp/eqsf2.c: Likewise.
30003         * soft-fp/eqtf2.c: Likewise.
30004         * soft-fp/extenddftf2.c: Likewise.
30005         * soft-fp/extended.h: Likewise.
30006         * soft-fp/extendsfdf2.c: Likewise.
30007         * soft-fp/extendsftf2.c: Likewise.
30008         * soft-fp/extendxftf2.c: Likewise.
30009         * soft-fp/fixdfdi.c: Likewise.
30010         * soft-fp/fixdfsi.c: Likewise.
30011         * soft-fp/fixdfti.c: Likewise.
30012         * soft-fp/fixsfdi.c: Likewise.
30013         * soft-fp/fixsfsi.c: Likewise.
30014         * soft-fp/fixsfti.c: Likewise.
30015         * soft-fp/fixtfdi.c: Likewise.
30016         * soft-fp/fixtfsi.c: Likewise.
30017         * soft-fp/fixtfti.c: Likewise.
30018         * soft-fp/fixunsdfdi.c: Likewise.
30019         * soft-fp/fixunsdfsi.c: Likewise.
30020         * soft-fp/fixunsdfti.c: Likewise.
30021         * soft-fp/fixunssfdi.c: Likewise.
30022         * soft-fp/fixunssfsi.c: Likewise.
30023         * soft-fp/fixunssfti.c: Likewise.
30024         * soft-fp/fixunstfdi.c: Likewise.
30025         * soft-fp/fixunstfsi.c: Likewise.
30026         * soft-fp/fixunstfti.c: Likewise.
30027         * soft-fp/floatdidf.c: Likewise.
30028         * soft-fp/floatdisf.c: Likewise.
30029         * soft-fp/floatditf.c: Likewise.
30030         * soft-fp/floatsidf.c: Likewise.
30031         * soft-fp/floatsisf.c: Likewise.
30032         * soft-fp/floatsitf.c: Likewise.
30033         * soft-fp/floattidf.c: Likewise.
30034         * soft-fp/floattisf.c: Likewise.
30035         * soft-fp/floattitf.c: Likewise.
30036         * soft-fp/floatundidf.c: Likewise.
30037         * soft-fp/floatundisf.c: Likewise.
30038         * soft-fp/floatunditf.c: Likewise.
30039         * soft-fp/floatunsidf.c: Likewise.
30040         * soft-fp/floatunsisf.c: Likewise.
30041         * soft-fp/floatunsitf.c: Likewise.
30042         * soft-fp/floatuntidf.c: Likewise.
30043         * soft-fp/floatuntisf.c: Likewise.
30044         * soft-fp/floatuntitf.c: Likewise.
30045         * soft-fp/fmadf4.c: Likewise.
30046         * soft-fp/fmasf4.c: Likewise.
30047         * soft-fp/fmatf4.c: Likewise.
30048         * soft-fp/gedf2.c: Likewise.
30049         * soft-fp/gesf2.c: Likewise.
30050         * soft-fp/getf2.c: Likewise.
30051         * soft-fp/ledf2.c: Likewise.
30052         * soft-fp/lesf2.c: Likewise.
30053         * soft-fp/letf2.c: Likewise.
30054         * soft-fp/muldf3.c: Likewise.
30055         * soft-fp/mulsf3.c: Likewise.
30056         * soft-fp/multf3.c: Likewise.
30057         * soft-fp/negdf2.c: Likewise.
30058         * soft-fp/negsf2.c: Likewise.
30059         * soft-fp/negtf2.c: Likewise.
30060         * soft-fp/op-1.h: Likewise.
30061         * soft-fp/op-2.h: Likewise.
30062         * soft-fp/op-4.h: Likewise.
30063         * soft-fp/op-8.h: Likewise.
30064         * soft-fp/op-common.h: Likewise.
30065         * soft-fp/quad.h: Likewise.
30066         * soft-fp/single.h: Likewise.
30067         * soft-fp/soft-fp.h: Likewise.
30068         * soft-fp/sqrtdf2.c: Likewise.
30069         * soft-fp/sqrtsf2.c: Likewise.
30070         * soft-fp/sqrttf2.c: Likewise.
30071         * soft-fp/subdf3.c: Likewise.
30072         * soft-fp/subsf3.c: Likewise.
30073         * soft-fp/subtf3.c: Likewise.
30074         * soft-fp/truncdfsf2.c: Likewise.
30075         * soft-fp/trunctfdf2.c: Likewise.
30076         * soft-fp/trunctfsf2.c: Likewise.
30077         * soft-fp/trunctfxf2.c: Likewise.
30078         * soft-fp/unorddf2.c: Likewise.
30079         * soft-fp/unordsf2.c: Likewise.
30080         * soft-fp/unordtf2.c: Likewise.
30082 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
30084         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
30085         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
30087 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
30089         * elf/dl-libc.c: Clear initfini list after freeing.
30091 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
30093         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
30094         * soft-fp/addsf3.c: Likewise.
30095         * soft-fp/addtf3.c: Likewise.
30096         * soft-fp/divdf3.c: Likewise.
30097         * soft-fp/divsf3.c: Likewise.
30098         * soft-fp/divtf3.c: Likewise.
30099         * soft-fp/double.h: Likewise.
30100         * soft-fp/eqdf2.c: Likewise.
30101         * soft-fp/eqsf2.c: Likewise.
30102         * soft-fp/eqtf2.c: Likewise.
30103         * soft-fp/extenddftf2.c: Likewise.
30104         * soft-fp/extended.h: Likewise.
30105         * soft-fp/extendsfdf2.c: Likewise.
30106         * soft-fp/extendsftf2.c: Likewise.
30107         * soft-fp/extendxftf2.c: Likewise.
30108         * soft-fp/fixdfdi.c: Likewise.
30109         * soft-fp/fixdfsi.c: Likewise.
30110         * soft-fp/fixdfti.c: Likewise.
30111         * soft-fp/fixsfdi.c: Likewise.
30112         * soft-fp/fixsfsi.c: Likewise.
30113         * soft-fp/fixsfti.c: Likewise.
30114         * soft-fp/fixtfdi.c: Likewise.
30115         * soft-fp/fixtfsi.c: Likewise.
30116         * soft-fp/fixtfti.c: Likewise.
30117         * soft-fp/fixunsdfdi.c: Likewise.
30118         * soft-fp/fixunsdfsi.c: Likewise.
30119         * soft-fp/fixunsdfti.c: Likewise.
30120         * soft-fp/fixunssfdi.c: Likewise.
30121         * soft-fp/fixunssfsi.c: Likewise.
30122         * soft-fp/fixunssfti.c: Likewise.
30123         * soft-fp/fixunstfdi.c: Likewise.
30124         * soft-fp/fixunstfsi.c: Likewise.
30125         * soft-fp/fixunstfti.c: Likewise.
30126         * soft-fp/floatdidf.c: Likewise.
30127         * soft-fp/floatdisf.c: Likewise.
30128         * soft-fp/floatditf.c: Likewise.
30129         * soft-fp/floatsidf.c: Likewise.
30130         * soft-fp/floatsisf.c: Likewise.
30131         * soft-fp/floatsitf.c: Likewise.
30132         * soft-fp/floattidf.c: Likewise.
30133         * soft-fp/floattisf.c: Likewise.
30134         * soft-fp/floattitf.c: Likewise.
30135         * soft-fp/floatundidf.c: Likewise.
30136         * soft-fp/floatundisf.c: Likewise.
30137         * soft-fp/floatunsidf.c: Likewise.
30138         * soft-fp/floatunsisf.c: Likewise.
30139         * soft-fp/floatuntidf.c: Likewise.
30140         * soft-fp/floatuntisf.c: Likewise.
30141         * soft-fp/floatuntitf.c: Likewise.
30142         * soft-fp/fmadf4.c: Likewise.
30143         * soft-fp/fmasf4.c: Likewise.
30144         * soft-fp/fmatf4.c: Likewise.
30145         * soft-fp/gedf2.c: Likewise.
30146         * soft-fp/gesf2.c: Likewise.
30147         * soft-fp/getf2.c: Likewise.
30148         * soft-fp/ledf2.c: Likewise.
30149         * soft-fp/lesf2.c: Likewise.
30150         * soft-fp/letf2.c: Likewise.
30151         * soft-fp/muldf3.c: Likewise.
30152         * soft-fp/mulsf3.c: Likewise.
30153         * soft-fp/multf3.c: Likewise.
30154         * soft-fp/negdf2.c: Likewise.
30155         * soft-fp/negsf2.c: Likewise.
30156         * soft-fp/negtf2.c: Likewise.
30157         * soft-fp/op-1.h: Likewise.
30158         * soft-fp/op-2.h: Likewise.
30159         * soft-fp/op-4.h: Likewise.
30160         * soft-fp/op-8.h: Likewise.
30161         * soft-fp/op-common.h: Likewise.
30162         * soft-fp/quad.h: Likewise.
30163         * soft-fp/single.h: Likewise.
30164         * soft-fp/soft-fp.h: Likewise.
30165         * soft-fp/sqrtdf2.c: Likewise.
30166         * soft-fp/sqrtsf2.c: Likewise.
30167         * soft-fp/sqrttf2.c: Likewise.
30168         * soft-fp/subdf3.c: Likewise.
30169         * soft-fp/subsf3.c: Likewise.
30170         * soft-fp/subtf3.c: Likewise.
30171         * soft-fp/truncdfsf2.c: Likewise.
30172         * soft-fp/trunctfdf2.c: Likewise.
30173         * soft-fp/trunctfsf2.c: Likewise.
30174         * soft-fp/trunctfxf2.c: Likewise.
30175         * soft-fp/unorddf2.c: Likewise.
30176         * soft-fp/unordsf2.c: Likewise.
30177         * soft-fp/unordtf2.c: Likewise.
30179 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
30181         [BZ #15672]
30182         * misc/error.c (error_tail): Fix possible buffer overflow.
30184 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
30186         [BZ #13028]
30187         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
30188         address.
30190 2013-10-14  P. J. McDermott  <pj@pehjota.net>
30192         [BZ #832]
30193         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
30194         testing pipefail option.
30196 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
30198         * soft-fp/double.h: Indent preprocessor directives inside #if.
30199         * soft-fp/extended.h: Likewise.
30200         * soft-fp/op-2.h: Likewise.
30201         * soft-fp/op-4.h: Likewise.
30202         * soft-fp/op-common.h: Likewise.
30203         * soft-fp/quad.h: Likewise.
30204         * soft-fp/single.h: Likewise.
30205         * soft-fp/soft-fp.h: Likewise.
30207 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
30209         * iconv/iconv_prog.c: Fix typos.
30210         * stdio-common/psiginfo-data.h: Likewise.
30212 2013-10-12   Reuben Thomas <rrt@sc3d.org>
30214         [BZ #15764]
30215         * locale/setlocale.c: Fix typo.
30217 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
30219         [BZ #16036]
30220         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
30221         signaling NaN arguments.
30222         * soft-fp/unordsf2.c (__unordsf2): Likewise.
30223         * soft-fp/unordtf2.c (__unordtf2): Likewise.
30225         [BZ #14910]
30226         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
30227         unordered operands.
30228         * soft-fp/gesf2.c (__gesf2): Likewise.
30229         * soft-fp/getf2.c (__getf2): Likewise.
30230         * soft-fp/ledf2.c (__ledf2): Likewise.
30231         * soft-fp/lesf2.c (__lesf2): Likewise.
30232         * soft-fp/letf2.c (__letf2): Likewise.
30234         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
30235         * soft-fp/eqsf2.c (__eqsf2): Likewise.
30236         * soft-fp/eqtf2.c (__eqtf2): Likewise.
30237         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
30238         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
30239         * soft-fp/fixdfti.c (__fixdfti): Likewise.
30240         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
30241         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
30242         * soft-fp/fixsfti.c (__fixsfti): Likewise.
30243         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
30244         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
30245         * soft-fp/fixtfti.c (__fixtfti): Likewise.
30246         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
30247         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
30248         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
30249         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
30250         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
30251         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
30252         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
30253         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
30254         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
30255         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
30256         * soft-fp/floatdisf.c (__floatdisf): Likewise.
30257         * soft-fp/floatsisf.c (__floatsisf): Likewise.
30258         * soft-fp/floattidf.c (__floattidf): Likewise.
30259         * soft-fp/floattisf.c (__floattisf): Likewise.
30260         * soft-fp/floattitf.c (__floattitf): Likewise.
30261         * soft-fp/floatundidf.c (__floatundidf): Likewise.
30262         * soft-fp/floatundisf.c (__floatundisf): Likewise.
30263         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
30264         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
30265         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
30266         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
30267         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
30268         * soft-fp/gesf2.c (__gesf2): Likewise.
30269         * soft-fp/getf2.c (__getf2): Likewise.
30270         * soft-fp/ledf2.c (__ledf2): Likewise.
30271         * soft-fp/lesf2.c (__lesf2): Likewise.
30272         * soft-fp/letf2.c (__letf2): Likewise.
30274         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
30275         Undefine and redefine.
30276         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
30277         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
30278         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
30279         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
30280         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30281         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
30282         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30283         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
30284         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30285         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
30286         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30287         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
30288         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30289         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
30290         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30292         [BZ #16032]
30293         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
30294         without decrementing exponent if mantissa >= that for the
30295         denominator, not >.
30296         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
30297         denominator, not >.  Decrement exponent in < case instead of
30298         incrementing in >= case.
30299         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
30300         without decrementing exponent if mantissa >= that for the
30301         denominator, not >.
30303         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
30304         computing saturated result for unsigned overflow.
30306 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30307             Jeff Law  <law@redhat.com>
30309         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
30310         (atan2Mp): Add systemtap probe marker.
30311         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
30312         (__ieee754_log): Add systemtap probe marker.
30313         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
30314         (atanMp): Add systemtap probe marker.
30315         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
30316         (tanMp): Add systemtap probe marker.
30317         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
30318         (__slowexp): Add systemtap probe marker.
30319         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
30320         (__slowpow): Add systemtap probe marker.
30321         * manual/probes.texi: Document probes.
30323 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
30325         [BZ #15362]
30326         * libio/fileops.c (_IO_new_file_write): Return count of bytes
30327         written.
30328         (_IO_new_file_xsputn): Don't return EOF if nothing has been
30329         written.
30330         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
30331         written to buffer but not flushed.
30332         * libio/iofwrite_u.c:  Likewise.
30333         * libio/iopadn.c:  Return bytes returned even if EOF was
30334         encountered.
30335         * libio/iowpadn.c:  Likewise.
30336         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
30337         if _IO_padn does not write the whole buffer.
30338         [!COMPILE_WPRINTF] (PAD): Likewise.
30340 2013-10-10  David S. Miller  <davem@davemloft.net>
30342         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
30343         directory block.
30345 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
30347         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
30348         instead of FSF address.
30349         * soft-fp/fixdfti.c: Likewise.
30350         * soft-fp/fixsfti.c: Likewise.
30351         * soft-fp/fixtfti.c: Likewise.
30352         * soft-fp/fixunsdfti.c: Likewise.
30353         * soft-fp/fixunssfti.c: Likewise.
30354         * soft-fp/fixunstfti.c: Likewise.
30355         * soft-fp/floattidf.c: Likewise.
30356         * soft-fp/floattisf.c: Likewise.
30357         * soft-fp/floattitf.c: Likewise.
30358         * soft-fp/floatuntidf.c: Likewise.
30359         * soft-fp/floatuntisf.c: Likewise.
30360         * soft-fp/floatuntitf.c: Likewise.
30361         * soft-fp/trunctfxf2.c: Likewise.
30363         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
30364         * soft-fp/fixdfti.c: Likewise.
30365         * soft-fp/fixsfti.c: Likewise.
30366         * soft-fp/fixtfti.c: Likewise.
30367         * soft-fp/fixunsdfti.c: Likewise.
30368         * soft-fp/fixunssfti.c: Likewise.
30369         * soft-fp/fixunstfti.c: Likewise.
30370         * soft-fp/floattidf.c: Likewise.
30371         * soft-fp/floattisf.c: Likewise.
30372         * soft-fp/floattitf.c: Likewise.
30373         * soft-fp/floatuntidf.c: Likewise.
30374         * soft-fp/floatuntisf.c: Likewise.
30375         * soft-fp/floatuntitf.c: Likewise.
30376         * soft-fp/trunctfxf2.c: Likewise.
30378 2013-10-10  David S. Miller  <davem@davemloft.net>
30380         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30382 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
30384         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
30385         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
30386         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
30387         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
30388         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
30389         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
30390         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
30392         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
30393         for NaNs before doing comparisons on argument.
30394         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
30395         Likewise.
30397 2013-10-10  Will Newton  <will.newton@linaro.org>
30399         * malloc/hooks.c (memalign_check): Ensure the value of bytes
30400         passed to _int_memalign does not overflow.
30402 2013-10-10  Torvald Riegel  <triegel@redhat.com>
30404         * scripts/bench.pl: Add include-sources directive.
30405         * benchtests/README: Update documentation.
30407 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
30409         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
30410         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
30411         instead of FP_INIT_ROUNDMODE.
30412         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
30413         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
30415         [BZ #16034]
30416         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
30417         copy class of input value.
30418         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
30419         not handle exceptions.
30420         * soft-fp/negsf2.c (__negsf2): Likewise.
30421         * soft-fp/negtf2.c (__negtf2): Likewise.
30422         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
30424 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
30426         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
30427         semicolon.  From Linux kernel.
30429 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
30431         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
30433 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
30435         [BZ #156]
30436         * manual/socket.texi: Added statement about buffer
30437         for gethostbyname2_r.
30439 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
30441         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
30442         Use .p2align directive instead, throughout.
30443         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
30444         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
30445         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
30446         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30447         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30448         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
30449         * sysdeps/x86_64/strchr.S: Likewise.
30450         * sysdeps/x86_64/strrchr.S: Likewise.
30452 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
30454         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
30456         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
30458         * sysdeps/generic/math_private.h (__mpsin1): Remove
30459         declaration.
30460         (__mpcos1): Likewise.
30461         (__mpsin): New argument __range_reduce.
30462         (__mpcos): Likewise.
30463         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30464         (slow): Use __mpsin and __mpcos.
30465         (slow1): Likewise.
30466         (slow2): Likewise.
30467         (sloww): Likewise.
30468         (sloww1): Likewise.
30469         (sloww2): Likewise.
30470         (bsloww): Likewise.
30471         (bsloww1): Likewise.
30472         (bsloww2): Likewise.
30473         (cslow2): Likewise.
30474         (csloww): Likewise.
30475         (csloww1): Likewise.
30476         (csloww2): Likewise.
30477         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
30478         range_reduce.  Merge in __mpsin1.
30479         (__mpcos): Likewise.
30480         (__mpsin1): Remove.
30481         (__mpcos1): Likewise.
30483 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
30485         * locale/loadlocale.c (_nl_intern_locale_data): Use
30486         LOCFILE_ALIGNED_P.
30487         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
30488         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
30489         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
30490         obstack data is appropriately aligned.
30491         (obstack_int32_grow_fast): Likewise.
30492         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
30493         * locale/programs/locfile.c (add_locale_uint32): Likewise.
30494         (add_locale_uint32_array): Likewise.
30496 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
30498         * benchtests/Makefile: Remove ARGLIST and RET variables.
30499         ($(objpfx)bench-%.c): Pass only function name to the script.
30500         * benchtests/README: Update documentation.
30501         * benchtests/acos-inputs: Add new directives.
30502         * benchtests/acosh-inputs: Likewise.
30503         * benchtests/asin-inputs: Likewise.
30504         * benchtests/asinh-inputs: Likewise.
30505         * benchtests/atan-inputs: Likewise.
30506         * benchtests/atanh-inputs: Likewise.
30507         * benchtests/cos-inputs: Likewise.
30508         * benchtests/cosh-inputs: Likewise.
30509         * benchtests/exp-inputs: Likewise.
30510         * benchtests/log-inputs: Likewise.
30511         * benchtests/pow-inputs: Likewise.
30512         * benchtests/rint-inputs: Likewise.
30513         * benchtests/sin-inputs: Likewise.
30514         * benchtests/sinh-inputs: Likewise.
30515         * benchtests/tan-inputs: Likewise.
30516         * benchtests/tanh-inputs: Likewise.
30517         * scripts/bench.pl: Add support for new directives.
30519 2013-10-07  Alan Modra  <amodra@gmail.com>
30521         * README: Fix careless merge.
30523 2013-10-05  Alan Modra  <amodra@gmail.com>
30525         * NEWS: Mention powerpc64le support and bugs fixed.
30526         * README: Both big-endian and little-endian powerpc64 supported.
30528 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30530         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
30531         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
30532         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
30533         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
30535 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
30537         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
30538         match prototype.
30540 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
30542         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
30543         Move -mhard-float appending from
30544         ports/sysdeps/powerpc/powerpc32/Makefile.
30545         [$(with-fp) = yes] (ASFLAGS): Likewise.
30546         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
30547         * sysdeps/powerpc/nofpu: Move directory from
30548         ports/sysdeps/powerpc/nofpu.
30549         * sysdeps/powerpc/soft-fp: Move directory from
30550         ports/sysdeps/powerpc/soft-fp.
30551         * sysdeps/powerpc/powerpc32/405: Move directory from
30552         ports/sysdeps/powerpc/powerpc32/405.
30553         * sysdeps/powerpc/powerpc32/440: Move directory from
30554         ports/sysdeps/powerpc/powerpc32/440.
30555         * sysdeps/powerpc/powerpc32/464: Move directory from
30556         ports/sysdeps/powerpc/powerpc32/464.
30557         * sysdeps/powerpc/powerpc32/476: Move directory from
30558         ports/sysdeps/powerpc/powerpc32/476.
30559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
30560         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
30561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
30562         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
30563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
30564         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
30565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
30566         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
30567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
30568         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
30569         * README: Update for powerpc-*-linux-gnu software floating point
30570         support in libc.
30572         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
30573         case to powerpc/powerpc32*.
30574         * sysdeps/unix/sysv/linux/configure: Regenerated.
30576         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
30577         (_FPU_MASK_OM): Define as 0x04.
30578         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
30579         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
30580         0x00c10080.
30581         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
30582         0x0000003c.
30583         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
30585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
30586         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
30587         getcontext_e500.
30588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
30589         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
30590         setcontext_e500.
30591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
30592         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
30593         and setcontext_e500.
30595 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
30597         * locale/iso-3166.def: Update iso-1366.def and related occurrences
30599 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30601         * manual/threads.texi (Default Thread Attributes): Fix typo.
30603 2013-10-04  Will Newton  <will.newton@linaro.org>
30605         * malloc/Makefile: Add tst-memalign.
30606         * malloc/tst-memalign.c: New file.
30608         * malloc/tst-posix_memalign.c: Add comments.
30609         (do_test): Add comments and call free on all potentially
30610         allocated pointers. Add space after cast.
30612         * malloc/tst-pvalloc.c: Add comments.
30613         (do_test): Add comments and call free on all potentially
30614         allocated pointers. Remove duplicate check for NULL pointer.
30615         Add space after cast.
30617         * malloc/tst-valloc.c: Add comments.
30618         (do_test): Add comments and call free on all potentially
30619         allocated pointers. Remove duplicate check for NULL pointer.
30620         Add space after cast.
30622 2013-10-04  Alan Modra  <amodra@gmail.com>
30624         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
30625         Use stdint types in rather than __attribute__((mode())).
30626         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30628 2013-10-04  Alan Modra  <amodra@gmail.com>
30630         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
30631         Correct handling of unaligned relocs for little-endian.
30632         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30634 2013-10-04  Alan Modra  <amodra@gmail.com>
30636         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
30637         * configure: Regenerate.
30638         * nptl/shlib-versions: Powerpc*le starts at 2.18.
30639         * shlib-versions: Likewise.
30641 2013-10-04  Alan Modra  <amodra@gmail.com>
30643         * string/tester.c (test_memrchr): Increment reported test cycle.
30645 2013-10-04  Alan Modra  <amodra@gmail.com>
30647         * string/test-memcpy.c (do_one_test): When reporting errors, print
30648         string address and don't overrun end of string.
30650 2013-10-04  Alan Modra  <amodra@gmail.com>
30652         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
30653         insrdi.  Make better use of reg selection to speed exit slightly.
30654         Schedule entry path a little better.  Remove useless "are we done"
30655         checks on entry to main loop.  Handle wrapping around zero address.
30656         Correct main loop count.  Handle single left-over word from main
30657         loop inline rather than by using loop_small.  Remove extra word
30658         case in loop_small caused by wrong loop count.  Add little-endian
30659         support.
30660         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
30661         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
30662         cache hint.
30663         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
30664         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
30665         support.  Avoid rlwimi.
30666         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
30668 2013-10-04  Alan Modra  <amodra@gmail.com>
30670         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
30671         insrdi.  Formatting.
30672         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
30673         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30674         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
30675         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
30676         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30677         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
30679 2013-10-04  Alan Modra  <amodra@gmail.com>
30681         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
30682         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30683         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
30684         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
30685         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
30686         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30687         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30688         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30689         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
30690         use of regs.  Use power7 mtocrf.  Tidy function tails.
30692 2013-10-04  Alan Modra  <amodra@gmail.com>
30694         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
30695         Formatting.  Consistently use rXXX register defines or rN defines.
30696         Use early exit labels that avoid restoring unused non-volatile regs.
30697         Make cr field use more consistent with rWORDn compares.  Rename
30698         regs used as shift registers for unaligned loop, using rN defines
30699         for short lifetime/multiple use regs.
30700         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30701         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
30702         addi 1,1,64 to pop stack frame.  Simplify return value code.
30703         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30705 2013-10-04  Alan Modra  <amodra@gmail.com>
30707         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
30708         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
30709         rather than rlwimi.
30710         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
30711         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
30712         little-endian support.  Correct typos.
30713         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
30714         rather than rlwimi.
30715         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
30716         in loop and entry code to keep "and." results.
30717         (strchr): Add little-endian support.  Comment.  Move cntlzd
30718         earlier in tail.
30719         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
30721 2013-10-04  Alan Modra  <amodra@gmail.com>
30723         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
30724         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
30725         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
30726         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
30728 2013-10-04  Alan Modra  <amodra@gmail.com>
30730         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
30731         (rTMP): Define as r11.
30732         (strcmp): Add little-endian support.  Optimise tail.
30733         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
30734         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30735         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
30736         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30737         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
30738         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30739         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30741 2013-10-04  Alan Modra  <amodra@gmail.com>
30743         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
30744         little-endian support.  Remove unnecessary "are we done" tests.
30745         Handle "s" wrapping around zero and extremely large "size".
30746         Correct main loop count.  Handle single left-over word from main
30747         loop inline rather than by using small_loop.  Correct comments.
30748         Delete "zero" tail, use "end_max" instead.
30749         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
30751 2013-10-04  Alan Modra  <amodra@gmail.com>
30753         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
30754         support.  Don't branch over align.
30755         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
30756         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
30757         support.  Rearrange tmp reg use to suit.  Comment.
30758         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
30760 2013-10-04  Alan Modra  <amodra@gmail.com>
30762         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
30764 2013-10-04  Alan Modra  <amodra@gmail.com>
30766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
30767         conditional form of branch and link when obtaining pc.
30768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
30770 2013-10-04  Alan Modra  <amodra@gmail.com>
30772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
30773         HIWORD/LOWORD.
30774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
30775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
30777 2013-10-04  Alan Modra  <amodra@gmail.com>
30779         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
30780         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
30781         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
30782         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
30783         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
30784         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30785         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
30786         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30787         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
30788         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
30790 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30791             Alistair Popple <alistair@ozlabs.au.ibm.com>
30792             Alan Modra <amodra@gmail.com>
30794         [BZ #15723]
30795         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
30796         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
30797         _dl_hwcap access for little-endian.
30798         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
30799         destroy vmx regs when saving unaligned.
30800         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
30801         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
30802         destroy vmx regs when saving unaligned.
30804 2013-10-04  Alan Modra  <amodra@gmail.com>
30806         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
30807         Don't use a union to pack hi/low value.
30809 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30811         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
30812         for little-endian.
30813         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
30814         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
30815         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30816         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
30817         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
30819 2013-10-04  Alan Modra  <amodra@gmail.com>
30821         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
30822         constants to usual value for .cst8 section, and remove redundant
30823         high address load.
30824         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
30825         constant for 0x1p52.  Load little-endian words of double from
30826         correct stack offsets.
30828 2013-10-04  Alan Modra  <amodra@gmail.com>
30830         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
30831         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
30832         words of double from correct stack offsets.
30833         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
30834         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
30835         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
30836         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
30837         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
30838         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
30839         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
30840         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
30841         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
30842         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
30843         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
30844         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
30845         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30846         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30847         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30848         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
30849         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
30851 2013-10-04  Alan Modra  <amodra@gmail.com>
30853         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
30854         64-bit int/double union.
30855         (_FPU_SETCW): Likewise.
30856         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
30857         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
30859 2013-10-04  Alan Modra  <amodra@gmail.com>
30861         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
30862         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
30864 2013-10-04  Alan Modra  <amodra@gmail.com>
30866         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
30867         use vector int constants.
30868         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
30870 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30872         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
30873         array with long long.
30874         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
30875         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
30876         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
30877         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
30878         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
30879         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
30880         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
30881         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
30882         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
30883         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
30884         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
30885         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
30886         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
30888 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30890         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
30891         (__signbit): Likewise.  Correct for little-endian.
30892         (__signbitl): Call __signbit.
30893         (lrint): Correct for little-endian.
30894         (lrintf): Call lrint.
30896 2013-10-04  Alan Modra  <amodra@gmail.com>
30898         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
30899         union 32-bit int array member with 64-bit int array.
30900         (t515, tm256): Double rather than long double.
30901         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
30903 2013-10-04  Alan Modra  <amodra@gmail.com>
30905         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
30906         Delete.
30907         (IEEE854_LONG_DOUBLE_BIAS): Delete.
30908         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
30909         version of math_ldbl.h.
30911 2013-10-04  Alan Modra  <amodra@gmail.com>
30913         [BZ #15734], [BZ #15735]
30914         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
30915         all uses of ieee875 long double macros and unions.  Simplify test
30916         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
30917         ldbl_extract_mantissa value for ix,iy exponents.  Properly
30918         normalize after ldbl_extract_mantissa, and don't add hidden bit
30919         already handled.  Don't treat low word of ieee854 mantissa like
30920         low word of IBM long double and mask off bit when testing for
30921         zero.
30922         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
30923         all uses of ieee875 long double macros and unions.  Simplify tests
30924         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
30925         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
30926         two1022, instead use their values.  Recognise that tests for large
30927         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
30928         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
30929         Rewrite all uses of ieee875 long double macros and unions.  Simplify
30930         test for 0.0L and nan.  Correct negation.
30931         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
30932         ieee875 long double macros and unions.  Correct output for large
30933         magnitude x.  Correct absolute value calculation.
30934         (__erfcl): Likewise.
30935         * math/libm-test.inc: Add tests for errors discovered in IBM long
30936         double versions of fmodl, remainderl, erfl and erfcl.
30938 2013-10-04  Alan Modra  <amodra@gmail.com>
30940         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
30941         all uses of ieee854 long double macros and unions.  Simplify tests
30942         for long doubles that are fully specified by the high double.
30943         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
30944         Likewise.
30945         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
30946         Remove dead code too.
30947         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
30948         (__ieee754_ynl): Likewise.
30949         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
30950         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
30951         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
30952         Remove dead code too.
30953         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
30954         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
30955         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
30956         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
30957         Simplify.
30958         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
30959         Simplify.
30960         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
30961         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
30962         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
30963         Comment on variable precision.
30964         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
30965         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30966         Likewise.
30967         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
30968         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
30969         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
30970         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
30971         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
30973 2013-10-04  Alan Modra  <amodra@gmail.com>
30975         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
30976         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
30977         all uses of ieee854 long double macros and unions.
30978         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
30979         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30980         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
30981         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
30982         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
30983         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30984         Likewise.
30985         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
30986         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
30987         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
30988         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
30989         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
30990         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
30991         Simplify sign and nan test too.
30992         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
30993         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
30994         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
30995         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
30996         Likewise.
30997         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
30998         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
30999         Likewise.
31000         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31001         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
31002         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
31003         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
31004         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
31005         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
31007 2013-10-04  Alan Modra  <amodra@gmail.com>
31009         * stdio-common/printf_size.c (__printf_size): Don't use
31010         union ieee854_long_double in fpnum union.
31011         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
31012         signbit macro to retrieve sign from long double.
31013         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
31014         retrieve sign from long double.
31015         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
31016         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
31017         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
31018         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
31019         * math/test-misc.c (main): Don't use union ieee854_long_double.
31021 2013-10-04  Alan Modra  <amodra@gmail.com>
31023         [BZ #15680]
31024         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
31025         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
31026         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
31027         calculation.  Remove unnecessary test for denormal exponent.
31028         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
31029         Correct handling of denormals.  Avoid undefined shift behaviour.
31030         Correct normalisation of low mantissa when low double is denormal.
31031         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
31032         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
31033         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
31034         Correct normalisation of low mantissa.  Test for overflow of high
31035         mantissa and normalise.
31036         (ldbl_nearbyint): Use more readable constant for two52.
31037         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
31038         (__mpn_construct_long_double): Fix test for overflow of high
31039         mantissa and correct normalisation.  Avoid undefined shift.
31041 2013-10-04  Alan Modra  <amodra@gmail.com>
31043         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
31044         (union ibm_extended_long_double): Define as an array of ieee754_double.
31045         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
31046         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
31047         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
31048         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31049         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31050         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
31051         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31052         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
31053         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31054         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
31055         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
31057 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
31059         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
31060         page size instead of calling getpagesize.
31062         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
31063         (LOCFILE_ALIGN_MASK): Likewise.
31064         (LOCFILE_ALIGN_UP): Likewise.
31065         (LOCFILE_ALIGNED_P): Likewise.
31066         * locale/programs/ld-collate.c (collate_output): Use the new
31067         macros instead of __alignof__ (int32_t).
31068         * locale/weight.h (findidx): Likewise.
31070 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
31072         [BZ #431]
31073         * manual/string.texi: Fix strncat and wcsncat.
31075 2013-10-03  Brooks Moses  <bmoses@google.com>
31077         [BZ #15915]
31078         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
31079         * Makerules: ...here, and adjust associated comments.
31081 2013-10-02  Will Newton  <will.newton@linaro.org>
31083         * malloc/Makefile: Add tst-pvalloc.
31084         * malloc/tst-pvalloc.c: New file.
31086 2013-10-02  Will Newton  <will.newton@linaro.org>
31088         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
31089         improve test coverage.
31091 2013-10-02  Will Newton  <will.newton@linaro.org>
31093         * malloc/Makefile: Add tst-posix_memalign.
31094         * malloc/tst-posix_memalign.c: New file.
31096 2013-10-01  Eric Blake  <eblake@redhat.com>
31098         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
31099         Use __THROWNL rather than __THROW on static functions.
31101 2013-09-30  Petr Machata  <pmachata@redhat.com>
31103         * elf/elf.h (R_AARCH64_ABS16): New macro.
31104         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
31105         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
31106         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
31107         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
31108         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
31109         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
31110         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
31111         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
31112         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
31113         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
31114         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
31115         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
31116         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
31117         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
31118         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
31119         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
31120         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
31121         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
31122         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
31123         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
31124         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
31125         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
31126         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
31127         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
31128         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
31129         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
31130         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
31131         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
31132         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
31133         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
31134         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
31135         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
31136         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
31137         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
31138         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
31139         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
31140         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
31141         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
31142         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
31143         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
31144         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
31145         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
31146         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
31147         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
31148         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
31149         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
31150         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
31151         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
31152         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
31153         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
31154         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
31155         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
31156         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
31157         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
31158         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
31159         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
31160         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
31161         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
31162         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
31163         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
31164         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
31165         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
31166         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
31167         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
31168         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
31169         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
31170         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
31171         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
31172         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
31173         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
31174         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
31175         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
31176         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
31177         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
31178         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
31179         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
31180         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
31181         (R_AARCH64_TLSDESC_LDR): Likewise.
31182         (R_AARCH64_TLSDESC_ADD): Likewise.
31183         (R_AARCH64_TLSDESC_CALL): Likewise.
31185 2013-09-30  Andreas Schwab  <schwab@suse.de>
31187         [BZ #15048]
31188         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
31189         the nss database lookup.
31190         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31191         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31193 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
31195         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
31197 2013-09-28  P. J. McDermott  <pj@pehjota.net>
31199         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
31200         ${Bash-specific parameter/pattern/string} parameter expansion.
31201         * sysdeps/unix/make-syscalls.sh: Likewise.
31203 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31205         * sysdeps/sh/stackguard-macros.h: New file.
31207 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
31209         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
31210         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
31211         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
31212         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
31213         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31214         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
31216 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31218         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
31219         Fix thread ID register.
31221 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
31223         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
31224         [POSIX || UNIX98]: Require rather than permitting all symbols from
31225         <time.h>.
31226         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
31227         element of struct sched_param.
31228         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
31229         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
31230         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
31231         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
31232         constant.
31234 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
31236         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
31237         argument calculation.
31239 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
31241         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
31242         Expect macro.
31243         [POSIX] (pthread_attr_t): Do not require type.
31244         [POSIX] (pthread_cond_t): Likewise.
31245         [POSIX] (pthread_condattr_t): Likewise.
31246         [POSIX] (pthread_key_t): Likewise.
31247         [POSIX] (pthread_mutex_t): Likewise.
31248         [POSIX] (pthread_mutexattr_t): Likewise.
31249         [POSIX] (pthread_once_t): Likewise.
31250         [POSIX] (pthread_t): Likewise.
31251         [POSIX-based standards] (pthread_atfork): Expect function.
31253 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
31254             Richard Sandiford  <richard@codesourcery.com>
31256         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
31257         (swap_endianness_p): New extern variable.
31258         (set_big_endian): New inline function.
31259         (maybe_swap_uint32): Likewise.
31260         (maybe_swap_uint32_array): Likewise.
31261         (maybe_swap_uint32_obstack): Likewise.
31262         * locale/programs/locfile.c: Include <stdbool.h>.
31263         (swap_endianness_p): New variable.
31264         (add_locale_uint32): Call maybe_swap_uint32.
31265         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
31266         (write_locale_data): Call maybe_swap_uint32_array.
31267         * locale/programs/ld-collate.c (obstack_int32_grow): Call
31268         maybe_swap_uint32.
31269         (obstack_int32_grow_fast): Likewise.
31270         (output_weightwc): Call maybe_swap_uint32_obstack.
31271         (collate_output): Likewise.
31272         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
31273         (OPT_LITTLE_ENDIAN): Likewise.
31274         (options): Add --little-endian and --big-endian options.
31275         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
31276         * locale/programs/locarchive.c: Include "locfile.h".
31277         (GET): New macro.
31278         (SET): Likewise.
31279         (INC): Likewise.
31280         (create_archive): Use the new macros to access fields of
31281         structures directly mapped from or written to locale archives.
31282         (oldlocrecentcmp): Likewise.
31283         (enlarge_archive): Likewise.
31284         (insert_name): Likewise.
31285         (add_alias): Likewise.
31286         (add_locale): Likewise.
31287         (delete_locales_from_archive): Likewise.
31288         (show_archive_content): Likewise.
31289         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
31290         locale data.
31292 2013-09-24  Roland McGrath  <roland@hack.frob.com>
31294         * manual/freemanuals.texi: Updated from (newly) canonical copy at
31295         http://www.gnu.org/doc/freemanuals.texi.
31296         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
31298 2013-09-24  Will Newton  <will.newton@linaro.org>
31300         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
31301         macro.
31303 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
31305         * locale/hashval.h (compute_hashval): Interpret bytes of key as
31306         unsigned char.
31308 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
31310         * manual/threads.texi (POSIX Threads): Fix a typo.
31312 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
31314         [BZ #14547]
31315         * string/tst-strcoll-overflow.c: New test case.
31316         * string/Makefile (xtests): Add tst-strcoll-overflow.
31317         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
31318         cache if string sizes may cause integer overflow.
31320         [BZ #14547]
31321         * string/strcoll_l.c (coll_seq): New members rule, idx,
31322         save_idx and back_us.
31323         (get_next_seq_nocache): New function.
31324         (do_compare_nocache): New function.
31325         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
31326         when malloc fails.
31328 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
31330         [BZ #15754]
31331         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
31332         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
31333         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
31335         [BZ #15754]
31336         * elf/Makefile (tests): Add tst-ptrguard1.
31337         (tests-static): Add tst-ptrguard1-static.
31338         (tst-ptrguard1-ARGS): Define.
31339         (tst-ptrguard1-static-ARGS): Define.
31340         * elf/tst-ptrguard1.c: New file.
31341         * elf/tst-ptrguard1-static.c: New file.
31342         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
31343         * sysdeps/i386/stackguard-macros.h: Likewise.
31344         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
31345         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
31346         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
31347         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
31348         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
31349         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
31351 2013-09-23  Hector Marco  <hecmargi@upv.es>
31352             Ismael Ripoll  <iripoll@disca.upv.es>
31353             Carlos O'Donell  <carlos@redhat.com>
31355         [BZ #15754]
31356         * sysdeps/generic/stackguard-macros.h: Define
31357         __pointer_chk_guard_local and POINTER_CHK_GUARD.
31358         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
31359         Define __pointer_chk_guard_local.
31360         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
31361         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
31363 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
31365         [BZ #15859]
31366         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
31368 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
31370         * include/string.h (__ffs): Declare as hidden.
31371         * string/ffs.c (__ffs): Define as hidden.
31372         * sysdeps/i386/ffs.c (__ffs): Likewise.
31373         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
31374         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
31375         * sysdeps/s390/ffs.c (__ffs): Likewise.
31376         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
31378 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
31380         * NEWS: Mention malloc probes.
31382         * malloc/arena.c (new_heap): New memory_heap_new probe.
31383         (grow_heap): New memory_heap_more probe.
31384         (shrink_heap): New memory_heap_less probe.
31385         (heap_trim): New memory_heap_free probe.
31386         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
31387         (systrim): New memory_sbrk_less probe.
31388         * manual/probes.texi: Document them.
31390         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
31391         * manual/probes.texi: Document it.
31393         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
31394         (__libc_realloc): Add memory_realloc_retry probe.
31395         (__libc_memalign): Add memory_memalign_retry probe.
31396         (__libc_valloc): Add memory_valloc_retry probe.
31397         (__libc_pvalloc): Add memory_pvalloc_retry probe.
31398         (__libc_calloc): Add memory_calloc_retry probe.
31399         * manual/probes.texi: Document them.
31401         * malloc/arena.c (get_free_list): Add probe
31402         memory_arena_reuse_free_list.
31403         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
31404         and memory_arena_reuse.
31405         (arena_get2) [!PER_THREAD]: Likewise.
31406         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
31407         memory_arena_reuse_realloc.
31408         * manual/probes.texi: Document them.
31410         * malloc/malloc.c (__libc_free): Add
31411         memory_mallopt_free_dyn_thresholds probe.
31412         (__libc_mallopt): Add multiple memory_mallopt probes.
31413         * manual/probes.texi: Document them.
31415         * malloc/malloc.c: Include stap-probe.h.
31416         (__libc_mallopt): Add memory_mallopt probe.
31417         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
31418         * manual/probes.texi: New.
31419         * manual/Makefile (chapters): Add probes.
31420         * manual/threads.texi: Set next node.
31422 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
31424         [BZ #15963, #13985]
31425         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
31426         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
31427         Add `Chinese' to `nan' entry name.
31429 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31431         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
31432         (POLYNOMIAL): Likewise.
31433         (TAYLOR_SINCOS): Likewise.
31434         (TAYLOR_SLOW): Likewise.
31435         (__sin): Use TAYLOR_SINCOS.
31436         (__cos): Likewise.
31437         (slow): Use TAYLOR_SLOW.
31438         (sloww): Likewise.
31439         (bsloww): Likewise.
31440         (csloww): Likewise.
31442 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31444         * stdlib/strtod_l.c: Fix buffer overrun.
31446 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31448         * benchtests/Makefile (bench): Add sincos.
31449         * benchtests/bench-sincos.c: New file.
31451         * math/libm-test.inc (cos_test_data): New test inputs.
31452         (sin_test_data): Likewise.
31454         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
31455         macro.
31456         (__sin): Use it.
31457         (__cos): Likewise.
31458         (slow1): Likewise.
31459         (slow2): Likewise.
31460         (sloww1): Likewise.
31461         (sloww2): Likewise.
31462         (bsloww1): Likewise.
31463         (bsloww2): Likewise.
31464         (cslow2): Likewise.
31465         (csloww1): Likewise.
31466         (csloww2): Likewise.
31468         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
31469         function.
31470         (__sin): Use it.
31471         (__cos): Likewise.
31473         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
31474         gotos.
31475         (__cos): Likewise.
31477 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
31479         * config.h.in (HAVE_MIPS_NAN2008): New macro.
31480         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
31481         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
31482         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
31483         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
31484         * elf/cache.c (print_entry): Handle the new cache flags.
31486 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
31487             Aldy Hernandez  <aldyh@redhat.com>
31489         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
31490         Change condition to [_SOFT_FLOAT].
31491         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
31492         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
31493         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
31494         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
31495         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
31496         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
31497         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
31498         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
31499         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
31500         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
31501         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
31502         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
31503         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
31504         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
31505         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
31506         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
31507         declaration.
31509 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
31511         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
31512         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
31513         (__longjmp): Use LOAD_GP to load saved GPRs.
31514         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
31515         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
31516         (__sigsetjmp): Use SAVE_GP to save GPRs.
31518         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
31519         Do not append -msoft-float.
31520         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
31522 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31524         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
31526 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
31528         [BZ #15966]
31529         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
31530         (_FPU_GETCW): Use initial "__" on variable and field names but not
31531         on macro parameter name.
31532         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
31533         parentheses around reference to macro parameter.
31535 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
31537         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
31538         prototype.
31539         (ctype_startup): Use uint32_t in cast and sizeof for
31540         ctype->charnames.
31542 2013-09-11  Jia Liu  <proljc@gmail.com>
31544         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
31545         __daddr_t_defined.
31546         [__FreeBSD__]: Likewise.
31548 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
31550         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
31551         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
31552         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
31553         (strchr): Remove __strchr_sse42 ifunc selection.
31554         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
31555         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
31557 2013-09-11  Will Newton  <will.newton@linaro.org>
31559         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
31560         parameter to RES. Remove hardcoded 1000 value.
31561         * benchtests/bench-skeleton.c (main): Pass RES parameter
31562         to TIMING_INIT and multiply result by 1000.
31564 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31566         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31568 2013-09-11  Andreas Schwab  <schwab@suse.de>
31570         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
31571         if not defined.
31572         (O_TMPFILE) [__USE_GNU]: Define.
31573         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
31574         Define.
31576 2013-09-11  Will Newton  <will.newton@linaro.org>
31578         [BZ #15857]
31579         * malloc/malloc.c (__libc_memalign): Check the value of bytes
31580         does not overflow.
31582 2013-09-11  Will Newton  <will.newton@linaro.org>
31584         [BZ #15856]
31585         * malloc/malloc.c (__libc_valloc): Check the value of bytes
31586         does not overflow.
31588 2013-09-11  Will Newton  <will.newton@linaro.org>
31590         [BZ #15855]
31591         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
31592         does not overflow.
31594 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
31596         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
31597         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31598         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31599         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31600         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31602 2013-09-10  Allan McRae  <allan@archlinux.org>
31604         [BZ #15748]
31605         * manual/arith.texi (Parsing of Floats): Clarify
31606         cross-reference.
31608         [BZ #15849]
31609         * manual/install.texi (Running make install): Mention
31610         --enable-pt-chown.
31611         * INSTALL: Regenerated.
31613 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
31615         * csu/init-first.c (_init): Remove the !SHARED condition around
31616         FPU control word initialization.
31617         * elf/dl-support.c (_dl_fpu_control): New variable.
31618         (_dl_aux_init) <AT_FPUCW>: Initialize it.
31619         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
31620         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
31621         * math/test-fpucw-static.c: New file.
31622         * math/test-fpucw-ieee.c: New file.
31623         * math/test-fpucw-ieee-static.c: New file.
31624         * math/Makefile (tests): Add `test-fpucw-ieee' and
31625         `$(tests-static)'.
31626         (tests-static): New variable.
31627         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
31628         dependency to...
31629         [($(build-shared),yes)]
31630         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
31631         ... this.
31632         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
31633         New dependency.
31635 2013-09-09  Allan McRae  <allan@archlinux.org>
31637         [BZ #15939]
31638         * manual/string.texi (Collation Functions): Fix typo in
31639         strcoll example.
31640         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
31642         [BZ #15893]
31643         * stdlib/isomac.c (get_null_defines): Fix memory leak.
31645         [BZ #15892]
31646         * libio/memstream.c (open_memstream): Fix memory leak.
31647         * libio/wmemstream.c (open_wmemstream): Likewise.
31649         [BZ #15895]
31650         * nscd/netgroupcache.c: Fix nesting of ifdefs.
31652 2013-09-09  Will Newton  <will.newton@linaro.org>
31654         * malloc/Makefile: Add tst-realloc to tests.
31655         * malloc/tst-realloc.c: New file.
31657 2013-09-09  Allan McRae  <allan@archlinux.org>
31659         [BZ #15844]
31660         * COPYING: Update from GNU website to fix FSF address.
31661         * COPYING.LIB: Likewise.
31663 2013-09-06  David S. Miller  <davem@davemloft.net>
31665         * po/zh_TW.po: Update Chinese (traditional) translation from
31666         translation project.
31668 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
31669             Joseph Myers  <joseph@codesourcery.com>
31671         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
31672         "localeinfo.h".
31673         (obstack_chunk_alloc): New macro.
31674         (obstack_chunk_free): Likewise.
31675         (record_offset): New function.
31676         (init_locale_data): Likewise.
31677         (align_locale_data): Likewise.
31678         (add_locale_empty): Likewise.
31679         (add_locale_raw_data): Likewise.
31680         (add_locale_raw_obstack): Likewise.
31681         (add_locale_string): Likewise.
31682         (add_locale_wstring): Likewise.
31683         (add_locale_uint32): Likewise.
31684         (add_locale_uint32_array): Likewise.
31685         (add_locale_char): Likewise.
31686         (start_locale_structure): Likewise.
31687         (end_locale_structure): Likewise.
31688         (start_locale_prelude): Likewise.
31689         (end_locale_prelude): Likewise.
31690         (write_locale_data): Take locale_file structure rather than an
31691         iovec.
31692         * locale/programs/locfile.h: Include "obstack.h".
31693         (struct locale_file): Change to store locale file contents instead
31694         of header.
31695         (init_locale_data): New prototype.
31696         (align_locale_data): Likewise.
31697         (add_locale_empty): Likewise.
31698         (add_locale_raw_data): Likewise.
31699         (add_locale_raw_obstack): Likewise.
31700         (add_locale_string): Likewise.
31701         (add_locale_wstring): Likewise.
31702         (add_locale_uint32): Likewise.
31703         (add_locale_uint32_array): Likewise.
31704         (add_locale_char): Likewise.
31705         (start_locale_structure): Likewise.
31706         (end_locale_structure): Likewise.
31707         (start_locale_prelude): Likewise.
31708         (end_locale_prelude): Likewise.
31709         (write_locale_data): Update prototype.
31710         * locale/programs/3level.h (struct TABLE): Remove result field.
31711         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
31712         Use new locale_file interface.
31713         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
31714         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
31715         * locale/programs/ld-address.c (address_output): Use new
31716         locale_file interface.
31717         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
31718         NO_ADD_LOCALE.
31719         (collate_finish): Don't call collseq_table_finalize.
31720         (collate_output): Use new locale_file interface.
31721         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
31722         in file.
31723         (NO_FINALIZE): Change to NO_ADD_LOCALE.
31724         (TABLE): Move defines earlier in file.
31725         (ELEMENT): Likewise.
31726         (DEFAULT): Likewise.
31727         (wctrans_table_add): Move macro and inline function earlier in
31728         file.
31729         (struct wctype_table): Move type earlier in file.
31730         (add_locale_wctype_table): New static prototype.
31731         (struct locale_ctype_t): Use logical types instead of struct iovec
31732         pointers for members.
31733         (ctype_output): Use new locale_file interface.
31734         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
31735         new locale_file interface.
31736         (allocate_arrays): Update for use of new locale_file interface.
31737         * locale/programs/ld-identification.c (identification_output): Use
31738         new locale_file interface.
31739         * locale/programs/ld-measurement.c (measurement_output): Likewise.
31740         * locale/programs/ld-messages.c (messages_output): Likewise.
31741         * locale/programs/ld-monetary.c (monetary_output): Likewise.
31742         * locale/programs/ld-name.c (name_output): Likewise.
31743         * locale/programs/ld-numeric.c (numeric_output): Likewise.
31744         * locale/programs/ld-paper.c (paper_output): Likewise.
31745         * locale/programs/ld-telephone.c (telephone_output): Likewise.
31746         * locale/programs/ld-time.c (time_output): Likewise.
31748 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31750         * benchtests/Makefile: Add memrchr benchmark.
31751         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
31752         benchmark as memrchr.
31753         * benchtests/bench-memrchr-ifunc.c: New file.
31754         * benchtests/bench-memrchr.c: New file.
31756 2013-09-06   Will Newton  <will.newton@linaro.org>
31758         * benchtests/Makefile (string-bench): Add memcpy.
31760 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
31761             Cong Wang  <amwang@redhat.com>
31763         [BZ #15850]
31764         * sysdeps/unix/sysv/linux/bits/in.h
31765         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
31766         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
31767         before __USE_KERNEL_IPV6_DEFS uses.
31768         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
31769         IPPROTO_BEETPH.
31770         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
31771         sockaddr_in6, or ipv6_mreq.
31773 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31775         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
31776         memory access for final bytes in some large inputs.
31777         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
31779 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31781         * string/test-memrchr.c: New file.
31782         * string/test-memrchr-ifunc.c: New file.
31783         * string/Makefile: Add new memrchr testcase.
31785 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
31787         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
31788         fanotify_init returns EPERM.
31790 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
31792         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
31793         errors.
31794         (top level): Treat second token from macro or constant entries for
31795         allowed headers as allowed.
31796         * include/complex.h: Condition internal declarations on
31797         [!_ISOMAC].
31798         * include/fenv.h: Condition include of <stdbool.h> and internal
31799         declarations on [!_ISOMAC].
31801 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
31803         [BZ #15923]
31804         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
31806 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
31808         * configure.in (--enable-versioning): Remove configure option.
31809         (libc_cv_asm_symver_directive): Remove configure test.
31810         (libc_cv_ld_version_script_option): Likewise.
31811         (VERSIONING): Remove variable and AC_SUBST.
31812         (DO_VERSIONING): Remove AC_DEFINE.
31813         * configure: Regenerated.
31814         * config.h.in (DO_VERSIONING): Remove macro.
31815         * Makerules [$(versioning) = yes]: Change conditionals to
31816         [$(build-shared) = yes].
31817         * config.make.in (versioning): Remove variable.
31818         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
31819         [$(build-shared) = yes].
31820         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
31821         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
31822         * elf/Makefile [$(versioning) = yes]: Change conditionals to
31823         [$(build-shared) = yes].
31824         * extra-lib.mk [$(versioning) = yes]: Likewise.
31825         * hurd/Makefile [$(versioning) = yes]: Likewise.
31826         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
31827         [SHARED].
31828         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
31829         [SHARED].
31830         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
31831         [SHARED && !NO_HIDDEN].
31832         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
31833         [SHARED].
31834         [SHARED && DO_VERSIONING]: Likewise..
31835         * libio/Makefile [$(versioning) = yes]: Change conditionals to
31836         [$(build-shared) = yes].
31837         * manual/install.texi (--disable-versioning): Remove
31838         documentation.
31839         * INSTALL: Regenerated.
31840         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
31841         to [SHARED].
31842         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
31843         [$(build-shared) = yes].
31844         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
31845         * sysdeps/i386/i686/multiarch/strstr-c.c
31846         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
31847         [SHARED && !NO_HIDDEN].
31848         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
31849         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
31850         * sysdeps/powerpc/powerpc32/dl-machine.c
31851         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
31852         * sysdeps/powerpc/powerpc32/sysdep.h
31853         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
31854         to [SHARED && PIC && !NO_HIDDEN].
31855         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
31856         conditional to [SHARED].
31858 2013-09-04   Will Newton  <will.newton@linaro.org>
31860         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
31861         * benchtests/bench-string.h: Include bench-timing.h instead
31862         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
31863         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
31864         call to HP_TIMING_DIFF_INIT.
31865         * benchtests/bench-memccpy.c: Use bench-timing.h macros
31866         instead of hp-timing.h macros.
31867         * benchtests/bench-memchr.c: Likewise.
31868         * benchtests/bench-memcmp.c: Likewise.
31869         * benchtests/bench-memcpy.c: Likewise.
31870         * benchtests/bench-memmem.c: Likewise.
31871         * benchtests/bench-memmove.c: Likewise.
31872         * benchtests/bench-memset.c: Likewise.
31873         * benchtests/bench-rawmemchr.c: Likewise.
31874         * benchtests/bench-strcasecmp.c: Likewise.
31875         * benchtests/bench-strcasestr.c: Likewise.
31876         * benchtests/bench-strcat.c: Likewise.
31877         * benchtests/bench-strchr.c: Likewise.
31878         * benchtests/bench-strcmp.c: Likewise.
31879         * benchtests/bench-strcpy.c: Likewise.
31880         * benchtests/bench-strcpy_chk.c: Likewise.
31881         * benchtests/bench-strlen.c: Likewise.
31882         * benchtests/bench-strncasecmp.c: Likewise.
31883         * benchtests/bench-strncat.c: Likewise.
31884         * benchtests/bench-strncmp.c: Likewise.
31885         * benchtests/bench-strncpy.c: Likewise.
31886         * benchtests/bench-strnlen.c: Likewise.
31887         * benchtests/bench-strpbrk.c: Likewise.
31888         * benchtests/bench-strrchr.c: Likewise.
31889         * benchtests/bench-strspn.c: Likewise.
31890         * benchtests/bench-strstr.c: Likewise.
31892 2013-09-04  Will Newton  <will.newton@linaro.org>
31894         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
31896 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
31898         [BZ #15427]
31899         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
31900         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
31901         * math/libm-test.inc (lgamma_test_data): Add more tests.
31902         * sysdeps/i386/fpu/libm-test-ulps: Update.
31903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31905 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
31907         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
31908         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31909         Add ifunc.
31910         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31911         Add strcmp-sse2-unaligned
31912         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
31914 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
31916         * Versions.def (libc): Add GLIBC_2.19.
31918 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
31920         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
31921         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
31923 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
31925         [BZ #14155]
31926         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
31927         intermediate calculations in recurrence.
31928         (__ieee754_ynf): Likewise.
31929         * math/libm-test.inc (jn_test_data): Do not allow spurious
31930         underflow exception.  Add more tests.
31931         (yn_test_data): Add more tests.
31932         * sysdeps/i386/fpu/libm-test-ulps: Update.
31933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31935 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
31937         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
31939 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
31941         * csu/init-first.c: Fix then/than typos.
31942         * locale/programs/ld-collate.c: Likewise.
31943         * locale/programs/linereader.h: Likewise.
31944         * manual/charset.texi: Likewise.
31945         * manual/filesys.texi: Likewise.
31946         * manual/stdio.texi: Likewise.
31947         * manual/string.texi: Likewise.
31948         * stdlib/fmtmsg.c: Likewise.
31949         * sysdeps/i386/stpncpy.S: Likewise.
31950         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31951         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
31952         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31953         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
31955 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
31957         * elf/dl-open.c: Fix typos.
31958         * iconvdata/gbbig5.c: Likewise.
31959         * iconvdata/iso-2022-jp.c: Likewise.
31960         * iconv/gconv_int.h: Likewise.
31961         * iconv/loop.c: Likewise.
31962         * nis/rpcsvc/nis.h: Likewise.
31963         * resolv/ns_name.c: Likewise.
31964         * stdio-common/vfscanf.c: Likewise.
31965         * streams/stropts.h: Likewise.
31966         * sunrpc/rpc_thread.c: Likewise.
31967         * sysdeps/i386/strpbrk.S: Likewise.
31968         * sysdeps/ieee754/k_standard.c: Likewise.
31969         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31970         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31971         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
31972         * sysdeps/mach/hurd/profil.c: Likewise.
31973         * sysdeps/s390/dl-procinfo.h: Likewise.
31974         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
31975         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
31976         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
31977         * sysdeps/x86_64/dl-trampoline.S: Likewise.
31978         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31980 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
31982         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
31983         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
31985 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
31987         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
31988         aix specific files.
31989         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
31990         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
31991         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
31992         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
31993         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
31994         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
31995         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
31996         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
31998 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
31999             Roland McGrath  <roland@hack.frob.com>
32001         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
32002         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
32004 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32006         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
32007         __executable_start symbol instead of _start.
32009 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
32011         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
32012         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
32013         Move macros to...
32014         * sysdeps/gnu/ldsodefs.h: ... this new file.
32016         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
32017         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
32018         instead of ELFOSABI_LINUX.
32020         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
32021         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
32022         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
32023         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
32024         Likewise.
32025         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
32026         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
32027         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
32028         Likewise.
32029         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
32030         (ibm_extended_long_double): Add ieee_nan member.
32031         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
32032         (do_test): New function.
32034         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
32035         TEST_TRUNC.
32036         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
32037         functions, renamed from truncdfsf_test, trunctfsf_test,
32038         trunctfdf_test.
32039         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
32040         functions.
32041         (do_test): Run all these.
32043 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
32045         * argp/argp-help.c: Fix typos.
32046         * argp/argp-parse.c: Likewise.
32047         * debug/backtracesyms.c: Likewise.
32048         * elf/elf.h: Likewise.
32049         * malloc/malloc.c: Likewise.
32050         * nis/nis_print.c: Likewise.
32051         * resolv/res_comp.c: Likewise.
32052         * stdlib/stdlib.h: Likewise.
32053         * sunrpc/clnt_tcp.c: Likewise.
32054         * sunrpc/clnt_udp.c: Likewise.
32055         * sunrpc/clnt_unix.c: Likewise.
32056         * sysdeps/unix/bsd/ptsname.c: Likewise.
32057         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
32058         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
32059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
32060         Likewise.
32061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
32062         Likewise.
32063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
32064         Likewise.
32065         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32067 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32069         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
32070         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32072 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
32074         [BZ #15897]
32075         * dlfcn/Makefile (tests): Add bug-dl-leaf.
32076         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
32077         ($(objpfx)bug-dl-leaf): New rule.
32078         ($(objpfx)bug-dl-leaf.so): Likewise.
32079         ($(objpfx)bug-dl-leaf.out): Likewise.
32080         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
32081         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
32082         * dlfcn/bug-dl-leaf.c: New test.
32083         * dlfcn/bug-dl-leaf-lib.c: Likewise.
32084         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
32085         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
32086         (dlclose): Likewise.
32087         (dlmopen): Likewise.
32089 2013-08-27  Roland McGrath  <roland@hack.frob.com>
32091         * include/netdb.h [!_ISOMAC]:
32092         Don't include <tls.h>.
32093         (h_errno, __libc_h_errno): Move declaration and macros out of
32094         [_LIBC_REENTRANT].
32096         * include/resolv.h [_RESOLV_H_]:
32097         Don't include <tls.h>.
32098         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
32099         * resolv/res_libc.c: Don't include <tls.h>.
32100         (_res): Use __attribute__ ((nocommon)) in place of
32101         __attribute__ ((section (".bss"))).
32103         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
32104         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
32106         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
32108         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
32109         only under [SIOCGIFCONF && SIOCGIFNETMASK].
32111         * resolv/res_mkquery.c: Include <sys/time.h>.
32113         * inet/ifreq.c: Moved to ...
32114         * sysdeps/unix/ifreq.c: ... here.
32115         * inet/ifreq.c: New file, true stub version.
32117         * socket/sa_len.c: New file.
32118         * socket/Makefile (aux): Add it.
32119         * sysdeps/unix/sysv/linux/Makefile
32120         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
32121         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
32122         and #include <socket/sa_len.c>.
32123         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
32124         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
32126         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
32127         * bits/socket.h: ... here.
32129         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
32130         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
32131         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
32133 2013-08-27  Andreas Schwab  <schwab@suse.de>
32135         [BZ #15736]
32136         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
32137         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
32138         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
32139         * string/test-strcasecmp.c (test_main): Run tests in several
32140         locales.
32141         * string/test-strncasecmp.c (test_main): Likewise.
32143         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
32144         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
32145         to __strcasecmp_nonascii and __strncasecmp_nonascii.
32146         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
32147         (__strncasecmp_ssse3) [PIC]: Likewise.
32149 2013-08-26  Roland McGrath  <roland@hack.frob.com>
32151         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
32153         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
32154         instead of explicitly declaring xdecrypt.
32155         * nis/nss_nis/nis-publickey.c: Likewise.
32157 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32159         [BZ #15890]
32160         * nscd/aicache.c: Include res_hconf.h.
32161         (addhstaiX): Initialize res_hconf.
32163 2013-08-26  Andreas Schwab  <schwab@suse.de>
32165         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
32166         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
32168 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32170         * nscd/aicache.c (addhstaiX): Fix indentation.
32172 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
32174         * configure.ac: Quote $build_pt_chown test.
32175         * configure: Regenerated.
32177 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
32179         [BZ #15532]
32180         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
32181         * math/s_cexpf.c (__cexpf): Likewise.
32182         * math/s_cexpl.c (__cexpl): Likewise.
32183         * math/libm-test.inc (cexp_test_data): Correct expected return
32184         value for NaN + i0.  Add another test.
32186 2013-08-22  David S. Miller  <davem@davemloft.net>
32188         * po/ca.po: Update Catalan translation from translation project.
32189         * po/uk.po: Add Ukrainian translations from translation project.
32191 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
32193         [BZ #15797]
32194         * math/s_fdim.c (__fdim): Check for infinite arguments if result
32195         is infinite, not alongside NaN test.
32196         * math/s_fdimf.c (__fdimf): Likewise.
32197         * math/s_fdiml.c (__fdiml): Likewise.
32198         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
32199         errno is unchanged.
32201 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
32203         * argp/argp-help.c: Fix typos.
32204         * crypt/speeds.c: Likewise.
32205         * csu/check_fds.c: Likewise.
32206         * elf/dl-load.c: Likewise.
32207         * elf/dl-open.c: Likewise.
32208         * elf/reldep3.c: Likewise.
32209         * elf/reldep.c: Likewise.
32210         * elf/sprof.c: Likewise.
32211         * iconv/iconv_charmap.c: Likewise.
32212         * iconv/skeleton.c: Likewise.
32213         * iconv/strtab.c: Likewise.
32214         * io/lockf64.c: Likewise.
32215         * libio/libioP.h: Likewise.
32216         * resolv/gai_notify.c: Likewise.
32217         * resolv/ns_name.c: Likewise.
32218         * resolv/ns_samedomain.c: Likewise.
32219         * resolv/res_send.c: Likewise.
32220         * stdlib/random.c: Likewise.
32221         * sunrpc/rpc/xdr.h: Likewise.
32222         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
32223         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32224         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32225         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32226         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32227         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32228         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32229         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32230         * sysdeps/mach/hurd/check_fds.c: Likewise.
32231         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
32232         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
32233         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32234         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
32235         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
32236         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
32237         * sysdeps/pthread/aio_notify.c: Likewise.
32238         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
32239         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
32240         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
32241         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32242         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
32244 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32246         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
32247         version if bit_Slow_SSE4_2 is set.
32248         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32249         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32251 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32253         [BZ #15867]
32254         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
32255         trampoline stack frame information.
32256         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
32257         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
32258         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
32259         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
32260         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
32261         * sysdeps/unix/sysv/linux/powerpc/init-first.c
32262         (_libc_vdso_platform_setup): Initialize the signal trampolines.
32263         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
32264         sa_flags value.
32265         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
32266         interrupting a syscall and set with option SA_SIGINFO.
32268 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
32270         [BZ #15531]
32271         * math/s_cproj.c (__cproj): Only return an infinity if one part of
32272         argument is infinite.
32273         * math/s_cprojf.c (__cprojf): Likewise.
32274         * math/s_cprojl.c (__cprojl): Likewise.
32275         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
32276         * math/libm-test.inc (cproj_test_data): Add more tests.
32278         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
32280         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
32281         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
32282         size.  Use __ffs to determine corresponding shift.
32284 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
32285             Roland McGrath  <roland@hack.frob.com>
32287         * Makefile (INSTALL): Remove trailing blank lines from output of
32288         makeinfo.
32290 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32292         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
32293         Align 32 bit compat elf_greg to 8 bytes.
32295 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
32297         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
32299 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
32301         * string/strcoll_l.c (coll_seq): New structure.
32302         (get_next_seq_cached): New function.
32303         (get_next_seq): New function.
32304         (do_compare): New function.
32305         (STRCOLL): Use GNU style definition.  Simplify implementation
32306         by using get_next_seq, get_next_seq_cached and do_compare.
32308 2013-08-16  Florian Weimer  <fweimer@redhat.com>
32310         [BZ #14699]
32311         CVE-2013-4237
32312         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
32313         member.
32314         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
32315         member.
32316         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
32317         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
32318         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
32319         conditional.
32320         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
32321         GETDENTS_64BIT_ALIGNED.
32322         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32323         * manual/filesys.texi (Reading/Closing Directory): Document
32324         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
32325         strongly.
32326         * manual/conf.texi (Limits for Files): Add portability note to
32327         NAME_MAX, PATH_MAX.
32328         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
32330 2013-08-13  Andreas Schwab  <schwab@suse.de>
32332         [BZ #15749]
32333         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
32334         of fabs.
32335         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
32336         LDBL_MAX_EXP >= 16384]: Add tests for it.
32338 2013-08-12  David S. Miller  <davem@davemloft.net>
32340         * version.h (RELEASE): Set to "development".
32341         (VERSION): Set to "2.18.90".
32342         * NEWS: Add 2.19 section.
32344 2013-08-03  David S. Miller  <davem@davemloft.net>
32346         * po/ko.po: Update Korean translation from translation project.
32348 2013-08-01  David S. Miller  <davem@davemloft.net>
32350         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
32351         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
32352         Bilka.
32354 2013-07-30  David S. Miller  <davem@davemloft.net>
32356         * po/fr.po: Update French translation from translation project.
32358 2013-07-28  David S. Miller  <davem@davemloft.net>
32360         * po/cs.po: Update Czech translation from translation project.
32362         * po/sv.po: Update Swedish translation from translation project.
32364 2013-07-27  David S. Miller  <davem@davemloft.net>
32366         * po/eo.po: Update Esperanto translation from translation project.
32368         * po/vi.po: Update Vietnamese translation from translation project.
32370         * po/de.po: Update German translation from translation project.
32372 2013-07-26  David S. Miller  <davem@davemloft.net>
32374         * po/bg.po: Update Bulgarian translation from translation project.
32376         * po/nl.po: Update Dutch translation from translation project.
32377         * po/pl.po: Update Polish translation from translation project.
32378         * po/ru.po: Update Russian translation from translation project.
32380 2013-07-24  David S. Miller  <davem@davemloft.net>
32382         * po/libc.pot: Update.
32384 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32386         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
32387         variable page size.
32388         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
32389         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
32390         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
32392 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32394         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
32396 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32397             Andreas Schwab  <schwab@suse.de>
32398             Roland McGrath  <roland@hack.frob.com>
32399             Joseph Myers  <joseph@codesourcery.com>
32400             Carlos O'Donell  <carlos@redhat.com>
32402         [BZ #15755]
32403         * config.h.in: Define HAVE_PT_CHOWN.
32404         * config.make.in (build-pt-chown): New variable.
32405         * configure.in (--enable-pt_chown): New configure option.
32406         * configure: Regenerate.
32407         * login/Makefile: Include Makeconfig.  Build pt_chown only if
32408         build-pt-chown is enabled.
32409         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
32410         pt_chown to fix pty ownership.
32411         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
32412         CLOSE_ALL_FDS.
32413         * manual/install.texi (Configuring and compiling): Mention
32414         --enable-pt_chown. Add @findex for grantpt.
32415         * INSTALL: Regenerate.
32417 2013-07-20  David S. Miller  <davem@davemloft.net>
32419         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
32420         difference between 32-bit and 64-bit.
32422 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
32424         [BZ #15711]
32425         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
32426         Avoid system header dependency with -ffreestanding.
32427         ($(objpfx)bits/syscall%d): Likewise.
32429 2013-07-13  David S. Miller  <davem@davemloft.net>
32431         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
32432         underflows from atanl/atan2l due to bug 15319.
32433         (casinh_test_data): Likewise.
32435 2013-07-07  David S. Miller  <davem@davemloft.net>
32437         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
32439 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
32441         * sysdeps/i386/fpu/libm-test-ulps: Update.
32442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32444 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32446         * configure.in (--enable-lock-elision): Fix message text.
32447         * INSTALL: Regenerate.
32448         * configure: Regenerate.
32450 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32452         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32454 2013-07-03  Andreas Jaeger  <aj@suse.de>
32456         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
32457         define.
32458         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
32459         (ptrace_peeksiginfo_args): Add.
32460         (__ptrace_peeksiginfo_flags): Add.
32461         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32462         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32463         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32465 2013-07-03  Allan McRae  <allan@archlinux.org>
32467         * sysdeps/i386/fpu/libm-test-ulps: Update.
32469 2013-07-02  David S. Miller  <davem@davemloft.net>
32471         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32473 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
32475         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32477 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
32479         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
32480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32482 2013-07-02  Andi Kleen <ak@linux.intel.com>
32484         * config.h.in (ENABLE_LOCK_ELISION): Add.
32485         * configure.in (--enable-lock-elision): Add option.
32486         * manual/install.texi: Document --enable lock elision.
32487         * configure: Regenerate
32488         * INSTALL: Regenerate.
32490 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
32492         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
32493         SSE4.2 strcasecmp for libc.a.
32494         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
32496 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
32498         [BZ #13304]
32499         * soft-fp/op-common.h (_FP_FMA): New macro.
32500         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
32501         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
32502         (_FP_MUL_MEAT_1_imm): ... here.
32503         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
32504         (_FP_MUL_MEAT_1_wide): ... here.
32505         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
32506         (_FP_MUL_MEAT_1_hard): ... here.
32507         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
32508         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
32509         (_FP_MUL_MEAT_2_wide): ... here.
32510         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
32511         (_FP_MUL_MEAT_2_wide_3mul): ... here.
32512         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
32513         (_FP_MUL_MEAT_2_gmp): ... here.
32514         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
32515         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
32516         (_FP_MUL_MEAT_4_wide): ... here.
32517         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
32518         (_FP_MUL_MEAT_4_gmp): ... here.
32519         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
32520         (_FP_WFRACBITS_DW_S): Likewise.
32521         (_FP_WFRACXBITS_DW_S): Likewise.
32522         (_FP_HIGHBIT_DW_S): Likewise.
32523         (FP_FMA_S): Likewise.
32524         (_FP_FRAC_HIGH_DW_S): Likewise.
32525         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
32526         (_FP_WFRACBITS_DW_D): Likewise.
32527         (_FP_WFRACXBITS_DW_D): Likewise.
32528         (_FP_HIGHBIT_DW_D): Likewise.
32529         (FP_FMA_D): Likewise.
32530         (_FP_FRAC_HIGH_DW_D): Likewise.
32531         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
32532         (_FP_WFRACBITS_DW_E): Likewise.
32533         (_FP_WFRACXBITS_DW_E): Likewise.
32534         (_FP_HIGHBIT_DW_E): Likewise.
32535         (FP_FMA_E): Likewise.
32536         (_FP_FRAC_HIGH_DW_E): Likewise.
32537         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
32538         (_FP_WFRACBITS_DW_Q): Likewise.
32539         (_FP_WFRACXBITS_DW_Q): Likewise.
32540         (_FP_HIGHBIT_DW_Q): Likewise.
32541         (FP_FMA_Q): Likewise.
32542         (_FP_FRAC_HIGH_DW_Q): Likewise.
32543         * soft-fp/fmasf4.c: New file.
32544         * soft-fp/fmadf4.c: Likewise.
32545         * soft-fp/fmatf4.c: Likewise.
32547 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32549         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32550         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
32551         Silvermont.
32552         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
32553         macro.
32554         (index_Slow_SSE4_2): Likewise.
32555         (index_Prefer_PMINUB_for_stringop): Likewise.
32556         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
32557         bit_Slow_SSE4_2 is set.
32558         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32559         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32561 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32563         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
32564         rtld_global._dl_hwcap2.
32565         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
32566         POWER8.
32567         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
32568         POWER8 feature descriptions defined in _dl_hwcap2.
32569         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
32570         string handling for POWER8 feature bits.
32571         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
32572         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
32573         _dl_powerpc_cap_flags.
32574         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
32575         * sysdeps/powerpc/rtld-global-offsets.sym
32576         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
32577         _dl_hwcap2 in the rtld_global_ro structure.
32579 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32581         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
32582         hardware capabilities in support of AT_HWCAP2.
32583         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
32584         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
32585         GLRO(dl_hwcap2).
32586         (_dl_show_auxv): Add support for calling _dl_procinfo to display
32587         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
32588         explicitly the unknown a_type display mechanism is used.
32589         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
32590         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
32591         struct member.
32592         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
32593         to macro prototype for AT_HWCAP2 support.
32594         * sysdeps/i386/dl-procinfo.h: Likewise.
32595         * sysdeps/s390/dl-procinfo.h: Likewise.
32596         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
32597         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
32598         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
32599         return -1 for unknown a_type display fallback.
32600         * sysdeps/sparc/dl-procinfo.h: Likewise.
32601         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
32602         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
32604 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
32606         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
32607         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
32609 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
32611         [BZ #12492]
32612         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
32613         mprotect making __stack_prot writable.
32615 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
32616             Joseph Myers  <joseph@codesourcery.com>
32618         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
32619         as being properly aligned.
32621 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
32623         * dlfcn/modstatic5.c: New file.
32624         * dlfcn/tststatic5.c: New file.
32625         * dlfcn/Makefile (tests): Add tststatic5.
32626         (tests-static): Likewise.
32627         (modules-names): Add modstatic5.
32628         (tststatic5-ENV): New variable.
32629         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
32631         [BZ #15022]
32632         * elf/dl-support.c (_dl_main_map): New variable.
32633         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
32634         (_dl_nns, _dl_load_adds): Set to 1.
32635         (_dl_initial_searchlist): Refer to _dl_main_map.
32636         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
32637         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
32638         call to _dl_get_origin.
32639         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
32640         around call_map.
32641         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
32642         * dlfcn/modstatic3.c: New file.
32643         * dlfcn/tststatic3.c: New file.
32644         * dlfcn/tststatic4.c: New file.
32645         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
32646         (tests-static): Likewise.
32647         (modules-names): Add modstatic3.
32648         (tststatic3-ENV, tststatic4-ENV): New variables.
32649         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
32650         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
32652 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
32654         * configure.in (CC): Require GCC version 4.4 or later.
32655         * configure: Regenerated.
32656         * manual/install.texi (Tools for Compilation): Update GCC version
32657         requirement.
32658         * INSTALL: Regenerated.
32660 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32662         [BZ #15674]
32663         * string/test-memcmp.c (check2): New.
32664         (main): Call check2.
32666         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
32668 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
32670         [BZ #15022]
32671         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
32672         over to...
32673         (dl_open_worker) [!SHARED]: ... here.
32675 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32677         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
32679 2013-06-25  Richard Henderson  <rth@redhat.com>
32681         * locale/programs/locarchive.c: Include <libc-internal.h>
32683 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
32685         * manual/texinfo.tex: Update to version 2013-06-21.17, with
32686         trailing whitespace removed.
32688 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
32690         [BZ #10283]
32691         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
32692         * locale/programs/locarchive.c: Include libc-mmap.h.
32693         (prepare_address_space): Take two new outputs (the mmap base and len).
32694         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
32695         values.
32696         (create_archive): Declare new mmap base and len values for
32697         prepare_address_space, and store the result in ah.
32698         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
32699         (enlarge_archive): If ah->mmap_base is not NULL, use that and
32700         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
32701         Declare new mmap base and len values for
32702         prepare_address_space, and store the result in new_ah.
32703         (open_archive): Declare new mmap base and len values for
32704         prepare_address_space, and store the result in ah.
32705         (close_archive): If ah->mmap_base is not NULL, use that and
32706         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
32707         * sysdeps/generic/libc-mmap.h: New file.
32709 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
32711         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
32712         (ALIGN_UP): Likewise.
32713         (PTR_ALIGN_DOWN): Likewise.
32714         (PTR_ALIGN_UP): Likewise.
32716 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32718         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
32719         entry mapped to PPC_PLATFORM_POWER8.
32720         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
32721         POWER8.
32722         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
32723         (_dl_string_platform): Add case for exporting platform position for
32724         POWER8.
32725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
32726         search path to sysdeps/powerpc/powerpc32/power8 directory.
32727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
32728         search path to sysdeps/powerpc/powerpc64/power8 directory.
32729         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
32730         power7 directories.
32731         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
32732         power7 directories.
32734 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32736         * INSTALL: Regenerate.
32738         * nscd/connections.c (nscd_init): Fix comment.
32740 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
32742         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
32744         [BZ #15667]
32745         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
32746         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
32748 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
32750         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
32751         DL_DST_REQ_STATIC.
32752         (DL_DST_REQ_STATIC): Remove macro.
32754 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
32756         [BZ #7006]
32757         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
32758         with a shift of 0 bits.
32760 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
32762         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
32763         $(tststatic-ENV).
32765 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32767         [BZ #15655]
32768         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
32770 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32772         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
32773         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
32774         accepts -fno-tree-loop-distribute-patterns.
32775         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
32776         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
32777         recursive call.
32778         * string/memset.c (memset): Likewise.
32779         * string/test-memmove.c (simple_memmove): Disable loop transformation
32780         to library calls.
32781         * string/test-memset.c (simple_memset): Likewise.
32782         * benchtests/bench-memmove.c (simple_memmove): Likewise.
32783         * benchtests/bench-memset.c (simple_memset): Likewise.
32784         * configure: Regenerated.
32786 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
32788         * math/test-misc.c (main): Ignore fesetround failure when failures
32789         of subsequent rounding tests would be ignored.
32791         [BZ #15654]
32792         * math/fedisblxcpt.c (fedisableexcept): Return 0.
32793         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
32794         * math/fegetenv.c (__fegetenv): Return 0.
32795         * math/fegetexcept.c (fegetexcept): Return 0.
32796         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
32797         FE_TONEAREST.
32798         * math/feholdexcpt.c (feholdexcept): Return 0.
32799         * math/fesetenv.c (__fesetenv): Return 0.
32800         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
32801         argument FE_TONEAREST.
32802         * math/feupdateenv.c (__feupdateenv): Return 0.
32803         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
32805 2013-06-18  Roland McGrath  <roland@hack.frob.com>
32807         * elf/rtld-Rules (rtld-compile-command.S): New variable.
32808         (rtld-compile-command.s, rtld-compile-command.c): New variables.
32809         ($(objpfx)rtld-%.os rules): Use them.
32811 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32813         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
32814         fields.
32816 2013-06-17  Roland McGrath  <roland@hack.frob.com>
32818         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
32819         length of target pattern, then descending length of dependency pattern.
32820         * configure.in (AWK): Require gawk 3.1.2 or newer.
32821         * manual/install.texi (Tools for Compilation): Say that we do.
32822         * configure: Regenerated.
32824         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
32825         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
32826         * scripts/sysd-rules.awk: ... this new script.
32827         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
32828         than a glob-style pattern.
32830 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
32832         * math/test-misc.c (main): Do not treat incorrectly rounded
32833         conversions as failure unless ROUNDING_TESTS passes.
32835 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
32837         [BZ #15631]
32838         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
32839         restore exception state around main square root computation, then
32840         check for inexactness explicitly.
32842         * math/libm-test.inc (fma_test_data): Add another test.
32844 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32846         * manual/threads.texi (Non-POSIX Extensions): New document
32847         node.  Document pthread_getattr_default_np and
32848         pthread_setattr_default_np.
32850         * Versions.def (libpthread): Add GLIBC_2.18.
32851         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
32852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32853         Likewise.
32854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32855         Likewise.
32856         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32857         Likewise.
32858         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32859         Likewise.
32860         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
32861         Likewise.
32862         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32863         Likewise.
32864         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32865         Likewise.
32866         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32867         Likewise.
32868         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32869         Likewise.
32871 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32873         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32874         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
32876 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32877             H.J. Lu  <hjl.tools@gmail.com>
32879         [BZ #15627]
32880         * sysdeps/x86_64/rtld-memset.c: Remove file.
32881         * sysdeps/x86_64/rtld-memset.S: New file.
32883 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
32885         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
32886         (test_in_one_mode): Take arguments for whether the rounding mode
32887         is supported for each floating-point type.
32888         (do_test): Pass new arguments to test_in_one_mode using
32889         ROUNDING_TESTS.
32891 2013-06-13  Roland McGrath  <roland@hack.frob.com>
32893         * posix/tst-waitid.c (do_test): Distinguish different instances of
32894         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
32895         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
32896         before entering the kernel for waitpid.
32898 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32900         * NEWS: Fix note on clock function precision.  Text by Roland
32901         McGrath.
32903 2013-06-13  Roland McGrath  <roland@hack.frob.com>
32905         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
32906         it into place only when and if the sanity check passes.
32908 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
32910         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
32911         output for whether conversion result is exact.  Take argument
32912         indicating whether type is IBM long double.
32913         (round_for_all): Change need_exact field to ibm_ld.
32914         * stdlib/tst-strtod-round.c (struct exactness): New type.
32915         (struct test): Change bool ld_ok field to struct exactness exact.
32916         (TEST): Update all definitions for change to field.
32917         (tests): Regenerate array contents.
32918         (test_in_one_mode): Take pointer to new field instead of old ld_ok
32919         field value.  Check for IBM long double here.
32920         (do_test): Update calls to test_in_one_mode.
32922 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32924         [BZ #12515]
32925         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
32926         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
32928 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32930         [BZ #15605]
32931         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
32932         generated by the compiler on loop optimizations.
32933         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
32934         general definitions.
32936 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
32938         * math/bug-nextafter.c: Include <math-tests.h>.
32939         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32940         the relevant type.
32941         * math/bug-nexttoward.c: Include <math-tests.h>.
32942         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32943         the relevant type.
32944         * math/test-misc.c: Include <math-tests.h>.
32945         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32946         the relevant type.
32948 2013-06-12  Andreas Jaeger  <aj@suse.de>
32950         * po/ia.po: Update Interlingua translation from translation
32951         project.
32953 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32955         * include/fenv.h: Include stdbool.h.
32956         (struct rm_ctx): New structure.
32957         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
32958         Define macro.
32959         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
32960         (SET_RESTORE_ROUNDF): Likewise.
32961         (SET_RESTORE_ROUNDL): Likewise.
32962         (SET_RESTORE_ROUND_NOEX): Likewise.
32963         (SET_RESTORE_ROUND_NOEXF): Likewise.
32964         (SET_RESTORE_ROUND_NOEXL): Likewise.
32965         (SET_RESTORE_ROUND_53BIT): Likewise.
32966         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
32967         (libc_feresetround_noexf_ctx): Likewise.
32968         (libc_feresetround_noexl_ctx): Likewise.
32969         (libc_feholdsetround_53bit_ctx): Likewise.
32970         (libc_feresetround_53bit_ctx): Likewise.
32971         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
32972         (libc_feholdexcept_setround_sse_ctx): New function.
32973         (libc_fesetenv_sse_ctx): Likewise.
32974         (libc_feupdateenv_sse_ctx): Likewise.
32975         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
32976         (libc_feholdexcept_setround_387_ctx): Likewise.
32977         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
32978         (libc_feholdsetround_387_prec_ctx): Likewise.
32979         (libc_feholdsetround_387_ctx): Likewise.
32980         (libc_feholdsetround_387_53bit_ctx): Likewise.
32981         (libc_feholdsetround_sse_ctx): Likewise.
32982         (libc_feresetround_sse_ctx): Likewise.
32983         (libc_feresetround_387_ctx): Likewise.
32984         (libc_feupdateenv_387_ctx): Likewise.
32985         (libc_feholdexcept_setroundf_ctx): Define macro.
32986         (libc_fesetenvf_ctx): Likewise.
32987         (libc_feupdateenvf_ctx): Likewise.
32988         (libc_feholdsetroundf_ctx): Likewise.
32989         (libc_feresetroundf_ctx): Likewise.
32990         (libc_feholdexcept_setround_ctx): Likewise.
32991         (libc_fesetenv_ctx): Likewise.
32992         (libc_feupdateenv_ctx): Likewise.
32993         (libc_feholdsetround_ctx): Likewise.
32994         (libc_feresetround_ctx): Likewise.
32995         (libc_feholdexcept_setroundl_ctx): Likewise.
32996         (libc_feupdateenvl_ctx): Likewise.
32997         (libc_feholdsetroundl_ctx): Likewise.
32998         (libc_feresetroundl_ctx): Likewise.
32999         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
33000         (libc_feresetround_53bit_ctx): Likewise.
33002 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33004         * locale/iso-639.def: Convert to UTF-8.
33006 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
33008         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
33009         (EXCEPTION_TESTS_double): Likewise.
33010         (EXCEPTION_TESTS_long_double): Likewise.
33011         (EXCEPTION_TESTS): Likewise.
33012         * math/libm-test.inc (test_exceptions): Only test exceptions if
33013         EXCEPTION_TESTS (FLOAT).
33015 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33017         * benchtests/Makefile (string-bench): Add strcpy_chk and
33018         stpcpy_chk.
33019         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
33020         * benchtests/bench-stpcpy_chk.c: New file.
33021         * benchtests/bench-strcpy_chk-ifunc.c: New file.
33022         * benchtests/bench-strcpy_chk.c: New file.
33023         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
33024         code.
33025         (do_test): Likewise.
33027 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33029         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
33030         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
33031         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
33032         with tabs where appropriate.
33033         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
33034         dl-procinfo.h.
33035         [PPC_PLATFORM_PPC440]: Likewise.
33036         [PPC_PLATFORM_PPC464]: Likewise.
33037         [PPC_PLATFORM_PPC476]: Likewise.
33038         (_dl_string_platform): Add support for detecting ppc405, ppc440,
33039         ppc464, and ppc476 platform strings merging from ports/
33040         dl-procinfo.h.
33042 2013-06-11  Andreas Schwab  <schwab@suse.de>
33044         [BZ #14991]
33045         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
33046         (from_ucs4_idx): Regenerate.
33047         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
33048         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
33049         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
33050         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
33051         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
33052         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
33053         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
33054         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
33055         from FROM_LOOP and TO_LOOP specific macros.
33056         (BODY): Handle combining characters.
33057         * iconvdata/BIG5HKSCS.irreversible: Update.
33058         * iconvdata/BIG5HKSCS.precomposed: New file.
33059         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
33060         characters.
33061         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
33063 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33065         * include/sys/time.h: Fix indentation and add copyright header.
33067         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
33068         (do_test): Likewise.
33069         * string/test-memchr.c (do_one_test): Likewise.
33070         (do_test): Likewise.
33071         * string/test-memcmp.c (do_one_test): Likewise.
33072         (do_test): Likewise.
33073         * string/test-memcpy.c (do_one_test): Likewise.
33074         (do_test): Likewise.
33075         * string/test-memmem.c (do_one_test): Likewise.
33076         (do_test): Likewise.
33077         (do_random_tests): Likewise.
33078         * string/test-memmove.c (do_one_test): Likewise.
33079         (do_test): Likewise.
33080         * string/test-memset.c (do_one_test): Likewise.
33081         (do_test): Likewise.
33082         * string/test-rawmemchr.c (do_one_test): Likewise.
33083         (do_test): Likewise.
33084         * string/test-strcasecmp.c (do_one_test): Likewise.
33085         (do_test): Likewise.
33086         * string/test-strcasestr.c (do_one_test): Likewise.
33087         (do_test): Likewise.
33088         * string/test-strcat.c (do_one_test): Likewise.
33089         (do_test): Likewise.
33090         * string/test-strchr.c (do_one_test): Likewise.
33091         (do_test): Likewise.
33092         * string/test-strcmp.c (do_one_test): Likewise.
33093         (do_test): Likewise.
33094         * string/test-strcpy.c (do_one_test): Likewise.
33095         (do_test): Likewise.
33096         * string/test-string.h: Likewise.
33097         (test_init): Likewise.
33098         * string/test-strlen.c (do_one_test): Likewise.
33099         (do_test): Likewise.
33100         * string/test-strncasecmp.c (do_one_test): Likewise.
33101         (do_test): Likewise.
33102         * string/test-strncat.c (do_one_test): Likewise.
33103         (do_test): Likewise.
33104         * string/test-strncmp.c (do_one_test): Likewise.
33105         (do_test_limit): Likewise.
33106         (do_test): Likewise.
33107         * string/test-strncpy.c (do_one_test): Likewise.
33108         (do_test): Likewise.
33109         * string/test-strnlen.c (do_one_test): Likewise.
33110         (do_test): Likewise.
33111         * string/test-strpbrk.c (do_one_test): Likewise.
33112         (do_test): Likewise.
33113         * string/test-strrchr.c (do_one_test): Likewise.
33114         (do_test): Likewise.
33115         * string/test-strspn.c (do_one_test): Likewise.
33116         (do_test): Likewise.
33117         * string/test-strstr.c (do_one_test): Likewise.
33118         (do_test): Likewise.
33120         * benchtests/Makefile (string-bench): Add string benchmarks.
33121         * benchtests/bench-bcopy-ifunc.c: New file.
33122         * benchtests/bench-bcopy.c: New file.
33123         * benchtests/bench-bzero-ifunc.c: New file.
33124         * benchtests/bench-bzero.c: New file.
33125         * benchtests/bench-memccpy-ifunc.c: New file.
33126         * benchtests/bench-memccpy.c: New file.
33127         * benchtests/bench-memchr-ifunc.c: New file.
33128         * benchtests/bench-memchr.c: New file.
33129         * benchtests/bench-memcmp-ifunc.c: New file.
33130         * benchtests/bench-memcmp.c: New file.
33131         * benchtests/bench-memmem-ifunc.c: New file.
33132         * benchtests/bench-memmem.c: New file.
33133         * benchtests/bench-memmove-ifunc.c: New file.
33134         * benchtests/bench-memmove.c: New file.
33135         * benchtests/bench-mempcpy-ifunc.c: New file.
33136         * benchtests/bench-mempcpy.c: New file.
33137         * benchtests/bench-memset-ifunc.c: New file.
33138         * benchtests/bench-memset.c: New file.
33139         * benchtests/bench-rawmemchr-ifunc.c: New file.
33140         * benchtests/bench-rawmemchr.c: New file.
33141         * benchtests/bench-stpcpy-ifunc.c: New file.
33142         * benchtests/bench-stpcpy.c: New file.
33143         * benchtests/bench-stpncpy-ifunc.c: New file.
33144         * benchtests/bench-stpncpy.c: New file.
33145         * benchtests/bench-strcasecmp-ifunc.c: New file.
33146         * benchtests/bench-strcasecmp.c: New file.
33147         * benchtests/bench-strcasestr-ifunc.c: New file.
33148         * benchtests/bench-strcasestr.c: New file.
33149         * benchtests/bench-strcat-ifunc.c: New file.
33150         * benchtests/bench-strcat.c: New file.
33151         * benchtests/bench-strchr-ifunc.c: New file.
33152         * benchtests/bench-strchr.c: New file.
33153         * benchtests/bench-strchrnul-ifunc.c: New file.
33154         * benchtests/bench-strchrnul.c: New file.
33155         * benchtests/bench-strcmp-ifunc.c: New file.
33156         * benchtests/bench-strcmp.c: New file.
33157         * benchtests/bench-strcpy-ifunc.c: New file.
33158         * benchtests/bench-strcpy.c: New file.
33159         * benchtests/bench-strcspn-ifunc.c: New file.
33160         * benchtests/bench-strcspn.c: New file.
33161         * benchtests/bench-strlen-ifunc.c: New file.
33162         * benchtests/bench-strlen.c: New file.
33163         * benchtests/bench-strncasecmp-ifunc.c: New file.
33164         * benchtests/bench-strncasecmp.c: New file.
33165         * benchtests/bench-strncat-ifunc.c: New file.
33166         * benchtests/bench-strncat.c: New file.
33167         * benchtests/bench-strncmp-ifunc.c: New file.
33168         * benchtests/bench-strncmp.c: New file.
33169         * benchtests/bench-strncpy-ifunc.c: New file.
33170         * benchtests/bench-strncpy.c: New file.
33171         * benchtests/bench-strnlen-ifunc.c: New file.
33172         * benchtests/bench-strnlen.c: New file.
33173         * benchtests/bench-strpbrk-ifunc.c: New file.
33174         * benchtests/bench-strpbrk.c: New file.
33175         * benchtests/bench-strrchr-ifunc.c: New file.
33176         * benchtests/bench-strrchr.c: New file.
33177         * benchtests/bench-strspn-ifunc.c: New file.
33178         * benchtests/bench-strspn.c: New file.
33179         * benchtests/bench-strstr-ifunc.c: New file.
33180         * benchtests/bench-strstr.c: New file.
33182         * benchtests/Makefile: Disable parallel execution of targets.
33183         (string-bench): Add memcpy.
33184         (benchset): New variable to store a list of benchmark sets.
33185         (bench-func): Renamed from bench.
33186         (bench-set): New target.
33187         (bench): Depend on bench-func and bench-set.
33188         * benchtests/README: Add section on benchmark sets.
33189         * benchtests/bench-memcpy-ifunc.c: New file.
33190         * benchtests/bench-memcpy.c: New file.
33191         * benchtests/bench-string.h: New file.
33193 2013-06-11  Andreas Schwab  <schwab@suse.de>
33195         [BZ #15577]
33196         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
33197         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
33198         values in the triple.
33199         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
33200         terminator in the group key.
33202 2013-06-11  Andreas Jaeger  <aj@suse.de>
33204         * po/zh_TW.po: Update Chinese (traditional) translation from
33205         translation project.
33207 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33209         * include/time.h (__clock_gettime): Add libc_hidden_proto.
33210         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
33211         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
33212         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33213         (clock_getcpuclockid): Likewise.
33214         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
33215         Add weak_alias and libc_hidden_def.
33216         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
33217         * rt/clock_gettime.c (clock_gettime): Rename to
33218         __clock_gettime.  Add weak_alias and libc_hidden_def.
33219         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
33220         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
33221         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
33222         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
33223         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
33224         Likewise.
33225         * rt/clock_settime.c (clock_settime): Rename to
33226         __clock_settime.  Add weak_alias and libc_hidden_def.
33227         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
33229 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
33231         * mach/err_boot.sub: Remove trailing whitespace.
33232         * mach/err_ipc.sub: Likewise.
33233         * mach/err_mach.sub: Likewise.
33235         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
33236         (ROUNDING_TESTS_double): Likewise.
33237         (ROUNDING_TESTS_long_double): Likewise.
33238         (ROUNDING_TESTS): Likewise.
33239         * math/libm-test.inc: Include <math-tests.h>.
33240         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
33241         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
33242         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
33243         (IF_ROUND_INIT_FE_UPWARD): Likewise.
33245 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33247         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
33248         of assigning.
33250 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
33252         * sysdeps/gnu/errlist.awk: Do not generate space at end of
33253         otherwise empty TRANS lines.
33254         * sysdeps/gnu/errlist.c: Regenerated.
33256         * catgets/gencat.c (error_print): Use (void) in function
33257         definition.
33258         * crypt/crypt_util.c (__init_des): Likewise.
33259         * crypt/speeds.c (Stop): Likewise.
33260         (main): Likewise.
33261         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
33262         * inet/ruserpass.c (token): Likewise.
33263         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
33264         * intl/localealias.c (extend_alias_table): Likewise.
33265         * intl/plural-exp.c (init_germanic_plural): Likewise.
33266         * libio/fcloseall.c (__fcloseall): Likewise.
33267         * libio/genops.c (_IO_flush_all): Likewise.
33268         (_IO_flush_all_linebuffered): Likewise.
33269         (_IO_cleanup): Likewise.
33270         (_IO_iter_begin): Likewise.
33271         (_IO_iter_end): Likewise.
33272         (_IO_list_lock): Likewise.
33273         (_IO_list_unlock): Likewise.
33274         (_IO_list_resetlock): Likewise.
33275         * libio/getchar.c (getchar): Likewise.
33276         * libio/getchar_u.c (getchar_unlocked): Likewise.
33277         * libio/getwchar.c (getwchar): Likewise.
33278         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
33279         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
33280         * login/getpt.c (__getpt): Likewise.
33281         * login/tst-utmp.c (main): Likewise.
33282         * malloc/hooks.c (__malloc_check_init): Likewise.
33283         * malloc/malloc.c (__malloc_stats): Likewise.
33284         * malloc/mtrace.c (tr_break): Likewise.
33285         (mtrace): Likewise.
33286         (muntrace): Likewise.
33287         * misc/fstab.c (endfsent): Likewise.
33288         * misc/getclktck.c (__getclktck): Likewise.
33289         * misc/getdtsz.c (__getdtablesize): Likewise.
33290         * misc/gethostid.c (gethostid): Likewise.
33291         * misc/getpagesize.c (__getpagesize): Likewise.
33292         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
33293         (__get_nprocs): Likewise.
33294         (__get_phys_pages): Likewise.
33295         (__get_avphys_pages): Likewise.
33296         * misc/getttyent.c (getttyent): Likewise.
33297         (setttyent): Likewise.
33298         (endttyent): Likewise.
33299         * misc/getusershell.c (getusershell): Likewise.
33300         (endusershell): Likewise.
33301         (setusershell): Likewise.
33302         (initshells): Likewise.
33303         * misc/hsearch.c (__hdestroy): Likewise.
33304         * misc/sync.c (sync): Likewise.
33305         * misc/syslog.c (closelog_internal): Likewise.
33306         (closelog): Likewise.
33307         * misc/ttyslot.c (ttyslot): Likewise.
33308         * misc/vhangup.c (vhangup): Likewise.
33309         * posix/fork.c (__fork): Likewise.
33310         * posix/getegid.c (__getegid): Likewise.
33311         * posix/geteuid.c (__geteuid): Likewise.
33312         * posix/getgid.c (__getgid): Likewise.
33313         * posix/getpid.c (__getpid): Likewise.
33314         * posix/getppid.c (__getppid): Likewise.
33315         * posix/getuid.c (__getuid): Likewise.
33316         * posix/pause.c (pause): Likewise.
33317         * posix/setpgrp.c (setpgrp): Likewise.
33318         * posix/setsid.c (__setsid): Likewise.
33319         * posix/test-vfork.c (noop): Likewise.
33320         * resolv/gethnamaddr.c (_endhtent): Likewise.
33321         (_gethtent): Likewise.
33322         (ht_endhostent): Likewise.
33323         (gethostent): Likewise.
33324         (dns_service): Likewise.
33325         * stdlib/drand48.c (drand48): Likewise.
33326         * stdlib/lrand48.c (lrand48): Likewise.
33327         * stdlib/mrand48.c (mrand48): Likewise.
33328         * stdlib/rand.c (rand): Likewise.
33329         * stdlib/random.c (__random): Likewise.
33330         * stdlib/setenv.c (clearenv): Likewise.
33331         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
33332         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
33333         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
33334         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
33335         (__get_nprocs): Likewise.
33336         (__get_phys_pages): Likewise.
33337         (__get_avphys_pages): Likewise.
33338         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
33339         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
33340         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
33341         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
33342         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
33343         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
33344         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
33345         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
33346         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
33347         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
33348         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
33349         * sysdeps/mach/hurd/sync.c (sync): Likewise.
33350         * sysdeps/posix/clock.c (clock): Likewise.
33351         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
33352         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
33353         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
33354         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
33355         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
33356         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
33357         (__get_nprocs_conf): Likewise.
33358         (__get_phys_pages): Likewise.
33359         (__get_avphys_pages): Likewise.
33360         * time/clock.c (clock): Likewise.
33361         * time/tzset.c (__tzname_max): Likewise.
33363 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
33365         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
33366         (__bswap_32): Do not use "register".
33367         * crypt/crypt.c (_ufc_doit_r): Likewise.
33368         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
33369         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
33370         * gmon/gmon.c (__monstartup): Likewise.
33371         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
33372         * hurd/hurdmalloc.c (more_memory): Likewise.
33373         (malloc): Likewise.
33374         (free): Likewise.
33375         (realloc): Likewise.
33376         (malloc_fork_prepare): Likewise.
33377         (malloc_fork_parent): Likewise.
33378         (malloc_fork_child): Likewise.
33379         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
33380         (_svcauth_des): Likewise.
33381         * inet/inet_lnaof.c (inet_lnaof): Likewise.
33382         * inet/inet_net.c (inet_network): Likewise.
33383         * inet/inet_netof.c (inet_netof): Likewise.
33384         * inet/rcmd.c (__validuser2_sa): Likewise.
33385         * io/fts.c (fts_open): Likewise.
33386         (fts_load): Likewise.
33387         (fts_close): Likewise.
33388         (fts_read): Likewise.
33389         (fts_children): Likewise.
33390         (fts_build): Likewise.
33391         (fts_stat): Likewise.
33392         (fts_sort): Likewise.
33393         (fts_alloc): Likewise.
33394         (fts_lfree): Likewise.
33395         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
33396         (_IO_file_xsgetn): Likewise.
33397         (_IO_file_xsgetn_mmap): Likewise.
33398         * libio/iofopncook.c (_IO_cookie_read): Likewise.
33399         (_IO_cookie_write): Likewise.
33400         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
33401         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
33402         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
33403         * malloc/obstack.c (_obstack_begin): Likewise.
33404         (_obstack_begin_1): Likewise.
33405         (_obstack_newchunk): Likewise.
33406         (_obstack_allocated_p): Likewise.
33407         (obstack_free): Likewise.
33408         (_obstack_memory_used): Likewise.
33409         * misc/getttyent.c (getttynam): Likewise.
33410         (getttyent): Likewise.
33411         (skip): Likewise.
33412         (value): Likewise.
33413         * misc/getusershell.c (initshells): Likewise.
33414         * misc/syslog.c (__vsyslog_chk): Likewise.
33415         * misc/ttyslot.c (ttyslot): Likewise.
33416         * nis/nis_hash.c (__nis_hash): Likewise.
33417         * posix/fnmatch_loop.c (FCT): Likewise.
33418         * posix/getconf.c (print_all): Likewise.
33419         (main): Likewise.
33420         * posix/getopt.c (exchange): Likewise.
33421         * posix/glob.c (globfree): Likewise.
33422         (prefix_array): Likewise.
33423         (__glob_pattern_type): Likewise.
33424         * resolv/arpa/nameser.h (NS_GET16): Likewise.
33425         (NS_GET32): Likewise.
33426         (NS_PUT16): Likewise.
33427         (NS_PUT32): Likewise.
33428         * resolv/gethnamaddr.c (getanswer): Likewise.
33429         (gethostbyname2): Likewise.
33430         (gethostbyaddr): Likewise.
33431         (_gethtent): Likewise.
33432         (_gethtbyname2): Likewise.
33433         (_gethtbyaddr): Likewise.
33434         * resolv/ns_print.c (dst_s_get_int16): Likewise.
33435         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
33436         * resolv/res_init.c (__res_vinit): Likewise.
33437         (net_mask): Likewise.
33438         * resolv/res_mkquery.c (outchar): Likewise.
33439         (PRINT): Likewise.
33440         * stdio-common/printf_fp.c (outchar): Likewise.
33441         (PRINT): Likewise.
33442         * stdio-common/printf_fphex.c (outchar): Likewise.
33443         (PRINT): Likewise.
33444         * stdio-common/printf_size.c (outchar): Likewise.
33445         (PRINT): Likewise.
33446         * stdio-common/test_rdwr.c (main): Likewise.
33447         * stdio-common/tfformat.c (matches): Likewise.
33448         * stdio-common/vfprintf.c (outchar): Likewise.
33449         (printf_unknown): Likewise.
33450         (buffered_vfprintf): Likewise.
33451         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
33452         * stdio-common/xbug.c (AppendToBuffer): Likewise.
33453         (ReadFile): Likewise.
33454         * stdlib/qsort.c (SWAP): Likewise.
33455         (_quicksort): Likewise.
33456         * stdlib/setenv.c (__add_to_environ): Likewise.
33457         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
33458         * stdlib/strtol_l.c (__strtol_l): Likewise.
33459         * stdlib/tst-strtod.c (main): Likewise.
33460         * stdlib/tst-strtol.c (main): Likewise.
33461         * stdlib/tst-strtoll.c (main): Likewise.
33462         * string/bits/string2.h (__strcmp_cc): Likewise.
33463         (__strcmp_cg): Likewise.
33464         (__strcspn_c1): Likewise.
33465         (__strcspn_c2): Likewise.
33466         (__strcspn_c3): Likewise.
33467         (__strspn_c1): Likewise.
33468         (__strspn_c2): Likewise.
33469         (__strspn_c3): Likewise.
33470         (__strsep_1c): Likewise.
33471         (__strsep_2c): Likewise.
33472         (__strsep_3c): Likewise.
33473         * string/memccpy.c (__memccpy): Likewise.
33474         * string/stpcpy.c (__stpcpy): Likewise.
33475         * string/strcmp.c (strcmp): Likewise.
33476         * string/strrchr.c (strrchr): Likewise.
33477         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
33478         Likewise.
33479         * sysdeps/mach/hurd/getcwd.c
33480         (_hurd_canonicalize_directory_name_internal): Likewise.
33481         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
33482         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
33483         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
33484         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
33485         Likewise, in both definitions.
33486         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
33487         definitions.
33488         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
33489         64] (__bswap_64): Likewise.
33490         * time/test_time.c (main): Likewise.
33491         * time/tzfile.c (__tzfile_read): Likewise.
33492         (__tzfile_compute): Likewise.
33493         * time/tzset.c (__tzset_parse_tz): Likewise.
33494         (tzset_internal): Likewise.
33495         (compute_change): Likewise.
33496         * wcsmbs/wcscat.c (__wcscat): Likewise.
33497         * wcsmbs/wcschr.c (wcschr): Likewise.
33498         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
33499         * wcsmbs/wcscspn.c (wcscspn): Likewise.
33500         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
33501         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
33502         * wcsmbs/wcsspn.c (wcsspn): Likewise.
33503         * wcsmbs/wcsstr.c (wcsstr): Likewise.
33504         * wcsmbs/wmemchr.c (wmemchr): Likewise.
33505         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
33506         * wcsmbs/wmemset.c (wmemset): Likewise.
33508 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
33510         * scripts/config.guess: Update to version 2013-05-16.
33511         * scripts/config.sub: Update to version 2013-04-24.
33512         * scripts/install-sh: Update to version 2011-11-20.07.
33513         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
33514         * scripts/move-if-change: Update to version 2012-01-06 07:23.
33516 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
33518         * debug/fgetws_u_chk.c: Fix leading whitespaces.
33519         * elf/sln.c: Likewise.
33520         * hurd/hurd/ioctl.h: Likewise.
33521         * hurd/hurdmalloc.c: Likewise.
33522         * hurd/xattr.c: Likewise.
33523         * include/shlib-compat.h: Likewise.
33524         * inet/ruserpass.c: Likewise.
33525         * libio/iofgets_u.c: Likewise.
33526         * libio/iofgetws_u.c: Likewise.
33527         * locale/programs/ld-identification.c: Likewise.
33528         * locale/programs/ld-time.c: Likewise.
33529         * mach/msg-destroy.c: Likewise.
33530         * nss/nss_files/files-netgrp.c: Likewise.
33531         * resolv/res_data.c: Likewise.
33532         * soft-fp/op-1.h: Likewise.
33533         * soft-fp/op-2.h: Likewise.
33534         * soft-fp/op-4.h: Likewise.
33535         * soft-fp/op-common.h: Likewise.
33536         * stdio-common/printf_fphex.c: Likewise.
33537         * stdlib/strtod_l.c: Likewise.
33538         * sunrpc/rpc/clnt.h: Likewise.
33539         * sysdeps/generic/framestate.c: Likewise.
33540         * sysdeps/i386/bsd-_setjmp.S: Likewise.
33541         * sysdeps/i386/bsd-setjmp.S: Likewise.
33542         * sysdeps/i386/__longjmp.S: Likewise.
33543         * sysdeps/i386/setjmp.S: Likewise.
33544         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33545         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33546         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33547         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33548         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33549         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33550         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33551         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33552         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33553         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
33554         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33555         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33556         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33557         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33558         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33559         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33560         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33561         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
33562         * sysdeps/ieee754/support.c: Likewise.
33563         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33564         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
33565         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
33566         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
33567         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
33568         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
33569         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
33570         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
33571         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
33572         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
33573         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
33574         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
33575         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
33576         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
33577         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
33578         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
33579         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
33582 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
33584         * posix/transbug.c: Remove executable mode.
33586 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
33588         * crypt/speeds.c: Remove trailing whitespace.
33589         * dlfcn/default.c: Likewise.
33590         * elf/ifuncdep2.c: Likewise.
33591         * elf/ifuncmain1.c: Likewise.
33592         * elf/ifuncmain1vis.c: Likewise.
33593         * elf/testobj.h: Likewise.
33594         * elf/tst-stackguard1.c: Likewise.
33595         * gmon/sys/gmon.h: Likewise.
33596         * hurd/hurdmsg.c: Likewise.
33597         * hurd/new-fd.c: Likewise.
33598         * hurd/ports-get.c: Likewise.
33599         * iconvdata/ibm1008_420.c: Likewise.
33600         * inet/tst-getni1.c: Likewise.
33601         * inet/tst-getni2.c: Likewise.
33602         * libio/ioungetc.c: Likewise.
33603         * libio/wfiledoalloc.c: Likewise.
33604         * manual/libm-err-tab.pl: Likewise.
33605         * math/w_dremf.c: Likewise.
33606         * misc/ftruncate.c: Likewise.
33607         * posix/bug-glob2.c: Likewise.
33608         * posix/tst-pcre.c: Likewise.
33609         * posix/wait4.c: Likewise.
33610         * resolv/README: Likewise.
33611         * resolv/res_debug.h: Likewise.
33612         * resolv/tst-inet_ntop.c: Likewise.
33613         * setjmp/bug269-setjmp.c: Likewise.
33614         * soft-fp/extended.h: Likewise.
33615         * soft-fp/op-1.h: Likewise.
33616         * soft-fp/op-2.h: Likewise.
33617         * soft-fp/op-4.h: Likewise.
33618         * soft-fp/op-8.h: Likewise.
33619         * soft-fp/testit.c: Likewise.
33620         * stdio-common/bug16.c: Likewise.
33621         * stdlib/random.c: Likewise.
33622         * sunrpc/rpcsvc/rquota.x: Likewise.
33623         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
33624         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33625         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33626         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33627         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33628         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33629         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33630         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33631         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33632         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33633         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33634         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33635         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33636         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33637         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33638         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33639         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33640         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33641         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33642         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33643         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33644         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33645         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
33646         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33647         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33648         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33649         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33650         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
33651         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33652         * sysdeps/ieee754/s_lib_version.c: Likewise.
33653         * sysdeps/mach/hurd/check_fds.c: Likewise.
33654         * sysdeps/mach/hurd/getsockname.c: Likewise.
33655         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
33656         * sysdeps/mach/hurd/recvfrom.c: Likewise.
33657         * sysdeps/powerpc/bits/link.h: Likewise.
33658         * sysdeps/powerpc/dl-procinfo.c: Likewise.
33659         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
33660         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
33661         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
33662         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
33663         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33664         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
33665         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
33666         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
33667         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
33668         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
33669         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
33670         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
33671         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
33672         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
33673         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
33674         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
33675         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
33676         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
33677         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33678         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33679         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
33680         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33681         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
33682         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
33683         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
33684         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
33685         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33686         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33687         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
33688         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
33689         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
33690         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33691         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33692         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
33693         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
33694         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
33695         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
33696         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
33697         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
33698         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
33699         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
33700         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
33701         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
33702         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
33703         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
33704         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
33705         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
33706         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
33707         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
33708         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33709         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33710         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33711         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33712         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
33713         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
33714         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
33715         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33716         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
33717         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
33718         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
33719         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
33720         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
33721         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33722         * sysdeps/powerpc/sysdep.h: Likewise.
33723         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33724         * sysdeps/s390/s390-64/sub_n.S: Likewise.
33725         * sysdeps/sh/dl-trampoline.S: Likewise.
33726         * sysdeps/sh/memset.S: Likewise.
33727         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
33728         * sysdeps/sh/strlen.S: Likewise.
33729         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
33730         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
33731         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
33732         * sysdeps/sparc/sparc32/rem.S: Likewise.
33733         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
33734         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
33735         * sysdeps/sparc/sparc32/strchr.S: Likewise.
33736         * sysdeps/sparc/sparc32/udiv.S: Likewise.
33737         * sysdeps/sparc/sparc32/urem.S: Likewise.
33738         * sysdeps/sparc/sparc64/add_n.S: Likewise.
33739         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
33740         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
33741         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
33742         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
33743         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
33744         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
33745         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
33746         * sysdeps/unix/bsd/times.c: Likewise.
33747         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
33748         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
33749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
33750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
33751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
33752         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
33753         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
33754         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
33755         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
33756         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
33757         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
33758         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
33759         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
33760         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
33761         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
33762         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
33763         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
33764         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
33765         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
33766         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
33767         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
33768         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
33769         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
33770         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
33771         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
33772         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
33773         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
33774         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33775         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
33776         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
33777         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
33778         * sysdeps/x86_64/strcspn.S: Likewise.
33780 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33782         * locale/C-translit.h: Revert #include <stdint.h> because this is a
33783         generated file.  Regenerate properly from gen-translit.pl.
33784         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
33785         locale/C-translit.h.
33787 2013-06-05  Andreas Schwab  <schwab@suse.de>
33789         [BZ #15100]
33790         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
33791         week as 6 instead of -1.
33792         * time/tst-strptime.c (day_tests): Add test case.
33794 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33796         * sysdeps/generic/math_private.h
33797         (libc_feholdexcept_setround_53bit): Replace with
33798         libc_feholdsetround_53bit.
33799         (libc_feupdateenv_53bit): Replace with
33800         libc_feresetround_53bit.
33801         (SET_RESTORE_ROUND_53BIT): Adjust.
33803 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
33805         * string/test-strchrnul.c: Add copyright header.
33807         * posix/tst-getaddrinfo4.c: Increase test timeout.
33809 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
33811         [BZ #15536]
33812         * math/libm-test.inc (MAX_EXP): Remove
33813         (MIN_EXP): Define.
33814         (ulp): Use MIN_EXP - MANT_DIG.
33815         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
33817 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
33819         * po/be.po: Revert last change.
33820         * po/zh_CN.po: Likewise.
33821         * po/header.pot: Likewise.
33823 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
33825         * Makefile ($(common-objpfx)linkobj/libc.so): Define
33826         link-libc-deps to empty as target-specific variable.
33827         * Makerules (link-libc-args): New variable.
33828         (libc-for-link): Likewise.
33829         (link-libc-deps): Likewise.
33830         (lib%.so): Depend on $(link-libc-deps).  Link with
33831         $(link-libc-args).
33832         (build-module): Link with $(link-libc-args).
33833         (build-module-asneeded): Likewise.
33834         (build-module-helper-objlist): Filter out $(link-libc-deps) from
33835         list of objects.
33836         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
33837         target-specific variable.
33838         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
33839         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
33840         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
33841         libc.
33842         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
33843         libc and ld.so.
33844         ($(objpfx)libpcprofile.so): Likewise.
33845         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
33846         libc_nonshared.a.
33847         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
33848         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
33849         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
33850         $(link-libc-deps).
33851         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
33852         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
33853         * login/Makefile ($(objpfx)libutil.so): Likewise.
33854         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
33855         * math/Makefile ($(objpfx)libm.so): Likewise.
33856         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
33857         $(objpfx)libnsl.so): Define libc-for-link as target-specific
33858         variable instead of depending directly on libc.
33859         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
33860         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
33861         $(link-libc-deps).
33862         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
33863         libc.
33864         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
33865         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
33866         ($(objpfx)libanl.so): Likewise.
33867         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
33868         ld.so.
33869         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
33870         $(link-libc-deps).
33871         * sysdeps/i386/fpu/Makefile: Remove file.
33872         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
33873         ($(objpfx)libm.so): Remove dependency on ld.so.
33875 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
33877         [BZ # 15553]
33878         * nis/yp_xdr.c (XDRMAXNAME): Define.
33879         (XDRMAXRECORD): Define.
33880         (xdr_domainname): Use XDRMAXNAME.
33881         (xdr_mapname): Likewise.
33882         (xdr_peername): Likewise.
33883         (xdr_keydat): Use XDRMAXRECORD.
33884         (xdr_valdat): Likewise.
33886 2013-05-30  Jeff Law  <law@redhat.com>
33888         [BZ #14256]
33889         * manual/errno.texi (ESTALE): Update to account for more than
33890         just NFS file systems.
33891         * sysdeps/gnu/errlist.c: Regenerated.
33893 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33895         [BZ #15465]
33896         * elf/Makefile (tests): Add tst-null-argv.
33897         (modules-names):  Add tst-null-argv-lib.
33898         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
33899         (tst-null-argv-ENV): Set environment for tst-null-argv.
33900         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
33901         (RTLD_PROGNAME): New macro.
33902         * elf/tst-null-argv.c: New test case.
33903         * elf/tst-null-argv-lib.c: Library for test case.
33904         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
33905         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
33906         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
33907         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
33908         * elf/dl-init.c (call_init): Likewise.
33909         (_dl_init): Likewise.
33910         * elf/dl-load.c (print_search_path): Likewise.
33911         (_dl_map_object): Likewise.
33912         * elf/dl-lookup.c (do_lookup_x): Likewise.
33913         (add_dependency): Likewise.
33914         (_dl_lookup_symbol_x): Likewise.
33915         (_dl_debug_bindings): Likewise.
33916         * elf/dl-open.c (_dl_show_scope): Likewise.
33917         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
33918         * elf/dl-version.c (match_symbol): Likewise.
33919         (_dl_check_map_versions): Likewise.
33920         * elf/rtld.c (dl_main): Likewise.
33921         (print_unresolved): Use RTLD_PROGNAME.
33922         (print_missing_version): Likewise.
33923         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
33924         (elf_machine_rela): Likewise.
33925         * sysdeps/powerpc/powerpc32/dl-machine.c
33926         (__process_machine_rela): Likewise.
33927         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33928         Likewise.
33929         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33930         Likewise.
33931         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
33932         Likewise.
33933         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33934         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
33935         Likewise.
33936         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
33937         Likewise.
33938         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33940 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
33942         * po/be.po: Add descriptive title.
33943         * po/zh_CN.po: Likewise.
33944         * po/header.pot: Likewise.
33946 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
33948         * locale/programs/locarchive.c (create_archive): Inlucde fname in
33949         error message.
33950         (enlarge_archive): Likewise.
33952 2013-05-28  Ben North  <ben@redfrontdoor.org>
33954         * manual/arith.texi (frexp): It is the magnitude of the return
33955         value which lies in [0.5, 1), not the return value itself.
33957 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33959         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33961 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
33963         * stdio-common/bug26.c (main): Correct fscanf template.
33965         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
33966         declare _dl_skip_args.
33968         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
33969         Don't declare.
33971         * manual/platform.texi: Add missing @end deftypefun.
33973 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
33975         [BZ #15529]
33976         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
33977         bit of mantissa of 2^16382.
33978         * math/libm-test.inc (hypot_test_data): Add more tests.
33980         * math/libm-test.inc: Add drem and pow10 to list of tested
33981         functions.
33982         (pow10_test): New function.
33983         (drem_test): Likewise.
33984         (drem_test_tonearest): Likewise.
33985         (drem_test_towardzero): Likewise.
33986         (drem_test_downward): Likewise.
33987         (drem_test_upward): Likewise.
33988         (main): Call the new functions.
33990         * math/libm-test.inc (finite_test_data): Remove.
33991         (finite_test): Run tests from isfinite_test_data.
33992         (gamma_test_data): Remove.
33993         (gamma_test): Run tests from lgamma_test_data.
33994         * sysdeps/i386/fpu/libm-test-ulps: Update.
33995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33997 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33999         * manual/platform.texi: Add PowerPC PPR function set documentation.
34000         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
34001         implementation.
34003 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
34005         * math/libm-test.inc (MAX_EXP): Define.
34006         (ULPDIFF): Define.
34007         (ulp): New function.
34008         (check_float_internal): Use ULPDIFF.
34009         (cpow_test): Disable failing test.
34010         (check_ulp): Test ulp() implemetnation.
34011         (main): Call check_ulp before starting tests.
34013 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
34015         * math/gen-libm-test.pl (generate_testfile): Do not handle
34016         START_DATA and END_DATA.
34017         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
34018         END_DATA.
34019         (acos_tonearest_test_data): Likewise.
34020         (acos_towardzero_test_data): Likewise.
34021         (acos_downward_test_data): Likewise.
34022         (acos_upward_test_data): Likewise.
34023         (acosh_test_data): Likewise.
34024         (asin_test_data): Likewise.
34025         (asin_tonearest_test_data): Likewise.
34026         (asin_towardzero_test_data): Likewise.
34027         (asin_downward_test_data): Likewise.
34028         (asin_upward_test_data): Likewise.
34029         (asinh_test_data): Likewise.
34030         (atan_test_data): Likewise.
34031         (atanh_test_data): Likewise.
34032         (atan2_test_data): Likewise.
34033         (cabs_test_data): Likewise.
34034         (cacos_test_data): Likewise.
34035         (cacosh_test_data): Likewise.
34036         (carg_test_data): Likewise.
34037         (casin_test_data): Likewise.
34038         (casinh_test_data): Likewise.
34039         (catan_test_data): Likewise.
34040         (catanh_test_data): Likewise.
34041         (cbrt_test_data): Likewise.
34042         (ccos_test_data): Likewise.
34043         (ccosh_test_data): Likewise.
34044         (ceil_test_data): Likewise.
34045         (cexp_test_data): Likewise.
34046         (cimag_test_data): Likewise.
34047         (clog_test_data): Likewise.
34048         (clog10_test_data): Likewise.
34049         (conj_test_data): Likewise.
34050         (copysign_test_data): Likewise.
34051         (cos_test_data): Likewise.
34052         (cos_tonearest_test_data): Likewise.
34053         (cos_towardzero_test_data): Likewise.
34054         (cos_downward_test_data): Likewise.
34055         (cos_upward_test_data): Likewise.
34056         (cosh_test_data): Likewise.
34057         (cosh_tonearest_test_data): Likewise.
34058         (cosh_towardzero_test_data): Likewise.
34059         (cosh_downward_test_data): Likewise.
34060         (cosh_upward_test_data): Likewise.
34061         (cpow_test_data): Likewise.
34062         (cproj_test_data): Likewise.
34063         (creal_test_data): Likewise.
34064         (csin_test_data): Likewise.
34065         (csinh_test_data): Likewise.
34066         (csqrt_test_data): Likewise.
34067         (ctan_test_data): Likewise.
34068         (ctan_tonearest_test_data): Likewise.
34069         (ctan_towardzero_test_data): Likewise.
34070         (ctan_downward_test_data): Likewise.
34071         (ctan_upward_test_data): Likewise.
34072         (ctanh_test_data): Likewise.
34073         (ctanh_tonearest_test_data): Likewise.
34074         (ctanh_towardzero_test_data): Likewise.
34075         (ctanh_downward_test_data): Likewise.
34076         (ctanh_upward_test_data): Likewise.
34077         (erf_test_data): Likewise.
34078         (erfc_test_data): Likewise.
34079         (exp_test_data): Likewise.
34080         (exp_tonearest_test_data): Likewise.
34081         (exp_towardzero_test_data): Likewise.
34082         (exp_downward_test_data): Likewise.
34083         (exp_upward_test_data): Likewise.
34084         (exp10_test_data): Likewise.
34085         (exp2_test_data): Likewise.
34086         (expm1_test_data): Likewise.
34087         (fabs_test_data): Likewise.
34088         (fdim_test_data): Likewise.
34089         (finite_test_data): Likewise.
34090         (floor_test_data): Likewise.
34091         (fma_test_data): Likewise.
34092         (fma_towardzero_test_data): Likewise.
34093         (fma_downward_test_data): Likewise.
34094         (fma_upward_test_data): Likewise.
34095         (fmax_test_data): Likewise.
34096         (fmin_test_data): Likewise.
34097         (fmod_test_data): Likewise.
34098         (fpclassify_test_data): Likewise.
34099         (frexp_test_data): Likewise.
34100         (gamma_test_data): Likewise.
34101         (hypot_test_data): Likewise.
34102         (ilogb_test_data): Likewise.
34103         (isfinite_test_data): Likewise.
34104         (isgreater_test_data): Likewise.
34105         (isgreaterequal_test_data): Likewise.
34106         (isinf_test_data): Likewise.
34107         (isless_test_data): Likewise.
34108         (islessequal_test_data): Likewise.
34109         (islessgreater_test_data): Likewise.
34110         (isnan_test_data): Likewise.
34111         (isnormal_test_data): Likewise.
34112         (issignaling_test_data): Likewise.
34113         (isunordered_test_data): Likewise.
34114         (j0_test_data): Likewise.
34115         (j1_test_data): Likewise.
34116         (jn_test_data): Likewise.
34117         (ldexp_test_data): Likewise.
34118         (lgamma_test_data): Likewise.
34119         (lrint_test_data): Likewise.
34120         (lrint_tonearest_test_data): Likewise.
34121         (lrint_towardzero_test_data): Likewise.
34122         (lrint_downward_test_data): Likewise.
34123         (lrint_upward_test_data): Likewise.
34124         (llrint_test_data): Likewise.
34125         (llrint_tonearest_test_data): Likewise.
34126         (llrint_towardzero_test_data): Likewise.
34127         (llrint_downward_test_data): Likewise.
34128         (llrint_upward_test_data): Likewise.
34129         (log_test_data): Likewise.
34130         (log10_test_data): Likewise.
34131         (log1p_test_data): Likewise.
34132         (log2_test_data): Likewise.
34133         (logb_test_data): Likewise.
34134         (logb_downward_test_data): Likewise.
34135         (lround_test_data): Likewise.
34136         (llround_test_data): Likewise.
34137         (modf_test_data): Likewise.
34138         (nearbyint_test_data): Likewise.
34139         (nextafter_test_data): Likewise.
34140         (nexttoward_test_data): Likewise.
34141         (pow_test_data): Likewise.
34142         (pow_tonearest_test_data): Likewise.
34143         (pow_towardzero_test_data): Likewise.
34144         (pow_downward_test_data): Likewise.
34145         (pow_upward_test_data): Likewise.
34146         (remainder_test_data): Likewise.
34147         (remainder_tonearest_test_data): Likewise.
34148         (remainder_towardzero_test_data): Likewise.
34149         (remainder_downward_test_data): Likewise.
34150         (remainder_upward_test_data): Likewise.
34151         (remquo_test_data): Likewise.
34152         (rint_test_data): Likewise.
34153         (rint_tonearest_test_data): Likewise.
34154         (rint_towardzero_test_data): Likewise.
34155         (rint_downward_test_data): Likewise.
34156         (rint_upward_test_data): Likewise.
34157         (round_test_data): Likewise.
34158         (scalb_test_data): Likewise.
34159         (scalbn_test_data): Likewise.
34160         (scalbln_test_data): Likewise.
34161         (signbit_test_data): Likewise.
34162         (sin_test_data): Likewise.
34163         (sin_tonearest_test_data): Likewise.
34164         (sin_towardzero_test_data): Likewise.
34165         (sin_downward_test_data): Likewise.
34166         (sin_upward_test_data): Likewise.
34167         (sincos_test_data): Likewise.
34168         (sinh_test_data): Likewise.
34169         (sinh_tonearest_test_data): Likewise.
34170         (sinh_towardzero_test_data): Likewise.
34171         (sinh_downward_test_data): Likewise.
34172         (sinh_upward_test_data): Likewise.
34173         (sqrt_test_data): Likewise.
34174         (tan_test_data): Likewise.
34175         (tan_tonearest_test_data): Likewise.
34176         (tan_towardzero_test_data): Likewise.
34177         (tan_downward_test_data): Likewise.
34178         (tan_upward_test_data): Likewise.
34179         (tanh_test_data): Likewise.
34180         (tgamma_test_data): Likewise.
34181         (trunc_test_data): Likewise.
34182         (y0_test_data): Likewise.
34183         (y1_test_data): Likewise.
34184         (yn_test_data): Likewise.
34185         (significand_test_data): Likewise.
34187         * math/gen-libm-test.pl (@functions): Remove variable.
34188         (generate_testfile): Don't handle START and END lines.
34189         * math/libm-test.inc (START): New macro.
34190         (END): Likewise.
34191         (END_COMPLEX): Likewise.
34192         (acos_test): Use END macro without arguments.
34193         (acos_test_tonearest): Likewise.
34194         (acos_test_towardzero): Likewise.
34195         (acos_test_downward): Likewise.
34196         (acos_test_upward): Likewise.
34197         (acosh_test): Likewise.
34198         (asin_test): Likewise.
34199         (asin_test_tonearest): Likewise.
34200         (asin_test_towardzero): Likewise.
34201         (asin_test_downward): Likewise.
34202         (asin_test_upward): Likewise.
34203         (asinh_test): Likewise.
34204         (atan_test): Likewise.
34205         (atanh_test): Likewise.
34206         (atan2_test): Likewise.
34207         (cabs_test): Likewise.
34208         (cacos_test): Use END_COMPLEX macro without arguments.
34209         (cacosh_test): Likewise.
34210         (carg_test): Use END macro without arguments.
34211         (casin_test): Use END_COMPLEX macro without arguments.
34212         (casinh_test): Likewise.
34213         (catan_test): Likewise.
34214         (catanh_test): Likewise.
34215         (cbrt_test): Use END macro without arguments.
34216         (ccos_test): Use END_COMPLEX macro without arguments.
34217         (ccosh_test): Likewise.
34218         (ceil_test): Use END macro without arguments.
34219         (cexp_test): Use END_COMPLEX macro without arguments.
34220         (cimag_test): Use END macro without arguments.
34221         (clog_test): Use END_COMPLEX macro without arguments.
34222         (clog10_test): Likewise.
34223         (conj_test): Likewise.
34224         (copysign_test): Use END macro without arguments.
34225         (cos_test): Likewise.
34226         (cos_test_tonearest): Likewise.
34227         (cos_test_towardzero): Likewise.
34228         (cos_test_downward): Likewise.
34229         (cos_test_upward): Likewise.
34230         (cosh_test): Likewise.
34231         (cosh_test_tonearest): Likewise.
34232         (cosh_test_towardzero): Likewise.
34233         (cosh_test_downward): Likewise.
34234         (cosh_test_upward): Likewise.
34235         (cpow_test): Use END_COMPLEX macro without arguments.
34236         (cproj_test): Likewise.
34237         (creal_test): Use END macro without arguments.
34238         (csin_test): Use END_COMPLEX macro without arguments.
34239         (csinh_test): Likewise.
34240         (csqrt_test): Likewise.
34241         (ctan_test): Likewise.
34242         (ctan_test_tonearest): Likewise.
34243         (ctan_test_towardzero): Likewise.
34244         (ctan_test_downward): Likewise.
34245         (ctan_test_upward): Likewise.
34246         (ctanh_test): Likewise.
34247         (ctanh_test_tonearest): Likewise.
34248         (ctanh_test_towardzero): Likewise.
34249         (ctanh_test_downward): Likewise.
34250         (ctanh_test_upward): Likewise.
34251         (erf_test): Use END macro without arguments.
34252         (erfc_test): Likewise.
34253         (exp_test): Likewise.
34254         (exp_test_tonearest): Likewise.
34255         (exp_test_towardzero): Likewise.
34256         (exp_test_downward): Likewise.
34257         (exp_test_upward): Likewise.
34258         (exp10_test): Likewise.
34259         (exp2_test): Likewise.
34260         (expm1_test): Likewise.
34261         (fabs_test): Likewise.
34262         (fdim_test): Likewise.
34263         (finite_test): Likewise.
34264         (floor_test): Likewise.
34265         (fma_test): Likewise.
34266         (fma_test_towardzero): Likewise.
34267         (fma_test_downward): Likewise.
34268         (fma_test_upward): Likewise.
34269         (fmax_test): Likewise.
34270         (fmin_test): Likewise.
34271         (fmod_test): Likewise.
34272         (fpclassify_test): Likewise.
34273         (frexp_test): Likewise.
34274         (gamma_test): Likewise.
34275         (hypot_test): Likewise.
34276         (ilogb_test): Likewise.
34277         (isfinite_test): Likewise.
34278         (isgreater_test): Likewise.
34279         (isgreaterequal_test): Likewise.
34280         (isinf_test): Likewise.
34281         (isless_test): Likewise.
34282         (islessequal_test): Likewise.
34283         (islessgreater_test): Likewise.
34284         (isnan_test): Likewise.
34285         (isnormal_test): Likewise.
34286         (issignaling_test): Likewise.
34287         (isunordered_test): Likewise.
34288         (j0_test): Likewise.
34289         (j1_test): Likewise.
34290         (jn_test): Likewise.
34291         (ldexp_test): Likewise.
34292         (lgamma_test): Likewise.
34293         (lrint_test): Likewise.
34294         (lrint_test_tonearest): Likewise.
34295         (lrint_test_towardzero): Likewise.
34296         (lrint_test_downward): Likewise.
34297         (lrint_test_upward): Likewise.
34298         (llrint_test): Likewise.
34299         (llrint_test_tonearest): Likewise.
34300         (llrint_test_towardzero): Likewise.
34301         (llrint_test_downward): Likewise.
34302         (llrint_test_upward): Likewise.
34303         (log_test): Likewise.
34304         (log10_test): Likewise.
34305         (log1p_test): Likewise.
34306         (log2_test): Likewise.
34307         (logb_test): Likewise.
34308         (logb_test_downward): Likewise.
34309         (lround_test): Likewise.
34310         (llround_test): Likewise.
34311         (modf_test): Likewise.
34312         (nearbyint_test): Likewise.
34313         (nextafter_test): Likewise.
34314         (nexttoward_test): Likewise.
34315         (pow_test): Likewise.
34316         (pow_test_tonearest): Likewise.
34317         (pow_test_towardzero): Likewise.
34318         (pow_test_downward): Likewise.
34319         (pow_test_upward): Likewise.
34320         (remainder_test): Likewise.
34321         (remainder_test_tonearest): Likewise.
34322         (remainder_test_towardzero): Likewise.
34323         (remainder_test_downward): Likewise.
34324         (remainder_test_upward): Likewise.
34325         (remquo_test): Likewise.
34326         (rint_test): Likewise.
34327         (rint_test_tonearest): Likewise.
34328         (rint_test_towardzero): Likewise.
34329         (rint_test_downward): Likewise.
34330         (rint_test_upward): Likewise.
34331         (round_test): Likewise.
34332         (scalb_test): Likewise.
34333         (scalbn_test): Likewise.
34334         (scalbln_test): Likewise.
34335         (signbit_test): Likewise.
34336         (sin_test): Likewise.
34337         (sin_test_tonearest): Likewise.
34338         (sin_test_towardzero): Likewise.
34339         (sin_test_downward): Likewise.
34340         (sin_test_upward): Likewise.
34341         (sincos_test): Likewise.
34342         (sinh_test): Likewise.
34343         (sinh_test_tonearest): Likewise.
34344         (sinh_test_towardzero): Likewise.
34345         (sinh_test_downward): Likewise.
34346         (sinh_test_upward): Likewise.
34347         (sqrt_test): Likewise.
34348         (tan_test): Likewise.
34349         (tan_test_tonearest): Likewise.
34350         (tan_test_towardzero): Likewise.
34351         (tan_test_downward): Likewise.
34352         (tan_test_upward): Likewise.
34353         (tanh_test): Likewise.
34354         (tgamma_test): Likewise.
34355         (trunc_test): Likewise.
34356         (y0_test): Likewise.
34357         (y1_test): Likewise.
34358         (yn_test): Likewise.
34359         (significand_test): Likewise.
34361 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
34363         [BZ #15381]
34364         * libio/genops.c (_IO_no_init): Initialize wide struct info.
34366 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
34368         [BZ #14894]
34369         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
34370         __ppc_mdoio and __ppc_mdoom.
34371         * manual/platform.texi: Document new functions __ppc_yield,
34372         __ppc_mdoio and __ppc_mdoom.
34374 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
34376         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
34377         (main): Mention "tls" pseudo-hwcap is legacy.
34378         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
34380 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
34382         * math/gen-libm-test.pl (parse_args): Output only string of
34383         arguments as text for test name, not full call or descriptions of
34384         tests for extra outputs.
34385         (generate_testfile): Do not pass function name to parse_args.
34386         Generate this_func variable from START.
34387         * math/libm-test.inc (struct test_f_f_data): Rename test_name
34388         field to arg_str.
34389         (struct test_ff_f_data): Likewise.
34390         (test_ff_f_data_nexttoward): Likewise.
34391         (struct test_fi_f_data): Likewise.
34392         (struct test_fl_f_data): Likewise.
34393         (struct test_if_f_data): Likewise.
34394         (struct test_fff_f_data): Likewise.
34395         (struct test_c_f_data): Likewise.
34396         (struct test_f_f1_data): Likewise.  Remove field extra_name.
34397         (struct test_fF_f1_data): Likewise.
34398         (struct test_ffI_f1_data): Likewise.
34399         (struct test_c_c_data): Rename test_name field to arg_str.
34400         (struct test_cc_c_data): Likewise.
34401         (struct test_f_i_data): Likewise.
34402         (struct test_ff_i_data): Likewise.
34403         (struct test_f_l_data): Likewise.
34404         (struct test_f_L_data): Likewise.
34405         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
34406         and extra2_name.
34407         (COMMON_TEST_SETUP): New macro.
34408         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
34409         (COMMON_TEST_CLEANUP): Likewise.
34410         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
34411         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
34412         macros.
34413         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
34414         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
34415         macros.
34416         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
34417         (RUN_TEST_fff_f): Take argument string.  Call new setup and
34418         cleanup macros.
34419         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
34420         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
34421         macros.
34422         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
34423         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
34424         macros.
34425         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
34426         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
34427         cleanup macros.
34428         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
34429         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
34430         cleanup macros.
34431         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
34432         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
34433         cleanup macros.
34434         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
34435         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
34436         macros.
34437         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
34438         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
34439         macros.
34440         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
34441         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
34442         macros.
34443         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
34444         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
34445         cleanup macros.
34446         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
34447         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
34448         cleanup macros.
34449         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
34450         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
34451         macros.
34452         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
34453         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
34454         cleanup macros.
34455         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
34456         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
34457         macros.
34458         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
34459         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
34460         macros.
34461         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
34462         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
34463         cleanup macros.
34464         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
34466 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
34468         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
34469         to _sifields.sigfault.
34470         (si_addr_lsb): Define new macro.
34471         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
34472         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34473         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
34475 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
34477         [BZ #15441]
34478         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
34479         returns -1.
34480         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
34481         null return -1.
34482         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
34483         loading the domain.
34485 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
34487         * math/gen-libm-test.pl (parse_args): Do not include expected
34488         result in test name.
34489         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
34490         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34491         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34492         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34493         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34496 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34498         * benchtests/Makefile: Sort function entries.
34500         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
34501         tanh, asinh, acosh, atanh.
34502         * benchtests/acos-inputs: New file.
34503         * benchtests/acosh-inputs: New file.
34504         * benchtests/asin-inputs: New file.
34505         * benchtests/asinh-inputs: New file.
34506         * benchtests/atanh-inputs: New file.
34507         * benchtests/cosh-inputs: New file.
34508         * benchtests/log-inputs: New file.
34509         * benchtests/sinh-inputs: New file.
34510         * benchtests/tanh-inputs: New file.
34512 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
34514         [BZ #15339]
34515         * posix/tst-getaddrinfo4.c: New test.
34516         * posix/Makefile (tests): Add it.
34518 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34520         [BZ #15339]
34521         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
34522         when no services were used.
34523         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
34524         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
34526 2013-05-21  Andreas Schwab  <schwab@suse.de>
34528         [BZ #15014]
34529         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
34530         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
34531         successful.
34532         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
34533         redundant variable declarations and reallocation of buffer when
34534         parsing as IPv6 address.  Always set NSS status when called from
34535         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
34536         buffer too small.  Correct computation of needed size.
34537         * nss/Makefile (tests): Add test-digits-dots.
34538         * nss/test-digits-dots.c: New test.
34540 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34542         * benchtests/Makefile: Remove instructions for adding
34543         benchmark tests.
34544         * benchtests/README: New file to explain how to execute and
34545         enhance the benchmark tests.
34547 2013-05-21  Andreas Schwab  <schwab@suse.de>
34549         [BZ #15493]
34550         * setjmp/Makefile (tests): Add tst-sigsetjmp.
34551         * setjmp/tst-sigsetjmp.c: New test.
34553 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
34555         * sysdeps/x86_64/memset.S (memset): New implementation.
34556         (__bzero): Likewise.
34557         (__memset_tail): New function.
34559 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
34561         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
34562         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
34563         __memcpy_sse2_unaligned ifunc selection.
34564         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
34565         Add memcpy-sse2-unaligned.S.
34566         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34567         Add: __memcpy_sse2_unaligned.
34569 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
34571         [BZ #15490]
34572         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
34573         math_force_eval before restoring floating-point envrionment.
34574         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
34575         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
34576         Likewise.
34577         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
34578         <math_private.h>.
34579         (__nearbyintl): Use math_force_eval before restoring
34580         floating-point environment.
34581         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
34583         * math/gen-libm-test.pl (special_functions): Remove.
34584         (parse_args): Don't handle TEST_extra.  Handle functions with no
34585         return value.
34586         * math/libm-test.inc (struct test_sincos_data): Replace with
34587         struct test_fFF_11_data.
34588         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
34589         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
34590         (sincos_test_data): Change element type to struct
34591         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
34592         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
34593         RUN_TEST_LOOP_sincos.
34594         * math/README.libm-test: Don't mention special handling of
34595         individual functions.
34596         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
34597         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34598         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34599         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34600         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34603         * math/gen-libm-test.pl (get_variable): Remove function.
34604         (parse_args): Don't show pointer parameters to call in test
34605         names.  Use "extra output N" in test names for extra outputs
34606         rather than naming variables.
34608 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
34610         [BZ #15488]
34611         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
34612         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
34613         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
34614         double tests.
34615         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
34616         disable.
34617         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
34618         check_long_double.
34620         * math/gen-libm-test.pl (@tests): Remove variable.
34621         ($count): Likewise.
34622         (new_test): Remove function.
34623         (show_exceptions): New function.
34624         (special_functions): Use show_exceptions instead of new_test.
34625         (parse_args): Likewise.
34626         (generate_testfile): Pass only function name in generated call to
34627         print_max_error or print_complex_max_error.
34628         (get_ulps): Do not handle complex tests specially.
34629         (output_test): Rename to ...
34630         (get_all_ulps_for_test): ... this.  Return a string rather than
34631         printing to a file.  Require ulps to be present.
34632         (output_ulps): Generate arrays rather than #defines.
34633         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
34634         (struct ulp_data): New type.
34635         (BUILD_COMPLEX_ULP): Remove macro.
34636         (compare_ulp_data): New function.
34637         (find_ulps): Likewise.
34638         (find_test_ulps): Likewise.
34639         (find_function_ulps): Likewise.
34640         (find_complex_function_ulps): Likewise.
34641         (print_max_error): Determine allowed ulps using
34642         find_function_ulps.
34643         (print_complex_max_error): Determine allowed ulps using
34644         find_complex_function_ulps.
34645         (check_float_internal): Determine max ulps using find_test_ulps.
34646         (check_float): Do not take max_ulp parameter.  Update call to
34647         check_float_internal.
34648         (check_complex): Likewise.
34649         (check_int): Do not take max_ulp parameter.
34650         (check_long): Likewise.
34651         (check_bool): Likewise.
34652         (check_longlong): Likewise.
34653         (struct test_f_f_data): Remove max_ulp field.
34654         (struct test_ff_f_data): Likewise.
34655         (struct test_ff_f_data_nexttoward): Likewise.
34656         (struct test_fi_f_data): Likewise.
34657         (struct test_fl_f_data): Likewise.
34658         (struct test_if_f_data): Likewise.
34659         (struct test_fff_f_data): Likewise.
34660         (struct test_c_f_data): Likewise.
34661         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
34662         (struct test_fF_f1_data): Likewise.
34663         (struct test_ffI_f1_data): Likewise.
34664         (struct test_c_c_data): Remove max_ulp field.
34665         (struct test_cc_c_data): Likewise.
34666         (struct test_f_i_data): Likewise.
34667         (struct test_ff_i_data): Likewise.
34668         (struct test_f_l_data): Likewise.
34669         (struct test_f_L_data): Likewise.
34670         (struct test_sincos_data): Likewise.
34671         (RUN_TEST_f_f): Do not handle ulps.
34672         (RUN_TEST_LOOP_f_f): Likewise.
34673         (RUN_TEST_2_f): Likewise.
34674         (RUN_TEST_LOOP_2_f): Likewise.
34675         (RUN_TEST_fff_f): Likewise.
34676         (RUN_TEST_LOOP_fff_f): Likewise.
34677         (RUN_TEST_c_f): Likewise.
34678         (RUN_TEST_LOOP_c_f): Likewise.
34679         (RUN_TEST_f_f1): Likewise.
34680         (RUN_TEST_LOOP_f_f1): Likewise.
34681         (RUN_TEST_fF_f1): Likewise.
34682         (RUN_TEST_LOOP_fF_f1): Likewise.
34683         (RUN_TEST_fI_f1): Likewise.
34684         (RUN_TEST_LOOP_fI_f1): Likewise.
34685         (RUN_TEST_ffI_f1): Likewise.
34686         (RUN_TEST_LOOP_ffI_f1): Likewise.
34687         (RUN_TEST_c_c): Likewise.
34688         (RUN_TEST_LOOP_c_c): Likewise.
34689         (RUN_TEST_cc_c): Likewise.
34690         (RUN_TEST_LOOP_cc_c): Likewise.
34691         (RUN_TEST_f_i): Likewise.
34692         (RUN_TEST_LOOP_f_i): Likewise.
34693         (RUN_TEST_f_i_tg): Likewise.
34694         (RUN_TEST_LOOP_f_i_tg): Likewise.
34695         (RUN_TEST_ff_i_tg): Likewise.
34696         (RUN_TEST_LOOP_ff_i_tg): Likewise.
34697         (RUN_TEST_f_b): Likewise.
34698         (RUN_TEST_LOOP_f_b): Likewise.
34699         (RUN_TEST_f_b_tg): Likewise.
34700         (RUN_TEST_LOOP_f_b_tg): Likewise.
34701         (RUN_TEST_f_l): Likewise.
34702         (RUN_TEST_LOOP_f_l): Likewise.
34703         (RUN_TEST_f_L): Likewise.
34704         (RUN_TEST_LOOP_f_L): Likewise.
34705         (RUN_TEST_sincos): Likewise.
34706         (RUN_TEST_LOOP_sincos): Likewise.
34708 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
34710         [BZ #15480]
34711         [BZ #15485]
34712         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
34713         main case of finite arguments, set rounding mode to FE_TONEAREST
34714         and discard exceptions.
34715         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
34716         exceptions.
34717         (remainder_tonearest_test_data): New variable.
34718         (remainder_test_tonearest): New function.
34719         (remainder_towardzero_test_data): New variable.
34720         (remainder_test_towardzero): New function.
34721         (remainder_downward_test_data): New variable.
34722         (remainder_test_downward): New function.
34723         (remainder_upward_test_data): New variable.
34724         (remainder_test_upward): New function.
34725         (main): Call the new test functions.
34727         * math/libm-test.inc (struct test_f_f1_data): Remove field
34728         extra_init.
34729         (struct test_fF_f1_data): Likewise.
34730         (struct test_ffI_f1_data): Likewise.
34731         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
34732         based on value of EXTRA_EXPECTED.
34733         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
34734         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
34735         EXTRA_VAR based on value of EXTRA_EXPECTED.
34736         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
34737         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
34738         EXTRA_VAR based on value of EXTRA_EXPECTED.
34739         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
34740         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
34741         EXTRA_VAR based on value of EXTRA_EXPECTED.
34742         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
34743         * math/gen-libm-test.pl (parse_args): Don't output initializers
34744         for extra output values.
34746         * math/libm-test.inc (check_int): Expect result to be exactly
34747         equal to expected value and do not handle ulps.
34748         (check_long): Likewise.
34749         (check_longlong): Likewise.
34751         * math/libm-test.inc (ceil_test_data): Test for "inexact"
34752         exceptions.
34753         (cimag_test_data): Likewise.
34754         (conj_test_data): Likewise.
34755         (copysign_test_data): Likewise.
34756         (cproj_test_data): Likewise.
34757         (creal_test_data): Likewise.
34758         (fabs_test_data): Likewise.
34759         (fdim_test_data): Likewise.
34760         (finite_test_data): Likewise.
34761         (floor_test_data): Likewise.
34762         (fmax_test_data): Likewise.
34763         (fmin_test_data): Likewise.
34764         (fmod_test_data): Likewise.
34765         (fpclassify_test_data): Likewise.
34766         (frexp_test_data): Likewise.
34767         (ilogb_test_data): Likewise.
34768         (isfinite_test_data): Likewise.
34769         (isgreater_test_data): Likewise.
34770         (isgreaterequal_test_data): Likewise.
34771         (isinf_test_data): Likewise.
34772         (isless_test_data): Likewise.
34773         (islessequal_test_data): Likewise.
34774         (islessgreater_test_data): Likewise.
34775         (isnan_test_data): Likewise.
34776         (isnormal_test_data): Likewise.
34777         (issignaling_test_data): Likewise.
34778         (isunordered_test_data): Likewise.
34779         (ldexp_test_data): Likewise.
34780         (lrint_test_data): Likewise.
34781         (lrint_test_data) [TEST_FLOAT]: Disable one test.
34782         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
34783         (lrint_tonearest_test_data): Test for "inexact" exceptions.
34784         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
34785         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
34786         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
34787         test input.
34788         (lrint_towardzero_test_data): Test for "inexact" exceptions.
34789         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
34790         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
34791         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
34792         that test input.
34793         (lrint_downward_test_data): Test for "inexact" exceptions.
34794         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
34795         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
34796         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
34797         test input.
34798         (lrint_upward_test_data): Test for "inexact" exceptions.
34799         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
34800         test input.
34801         (llrint_test_data): Test for "inexact" exceptions.
34802         (llrint_test_data) [TEST_FLOAT]: Disable one test.
34803         (llrint_tonearest_test_data): Test for "inexact" exceptions.
34804         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
34805         (llrint_towardzero_test_data): Test for "inexact" exceptions.
34806         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
34807         (llrint_downward_test_data): Test for "inexact" exceptions.
34808         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
34809         (llrint_upward_test_data): Test for "inexact" exceptions.
34810         (logb_test_data): Likewise.
34811         (logb_downward_test_data): Likewise.
34812         (nextafter_test_data): Likewise.
34813         (nexttoward_test_data): Likewise.
34814         (remainder_test_data): Likewise.
34815         (remquo_test_data): Likewise.
34816         (scalbn_test_data): Likewise.
34817         (scalbln_test_data): Likewise.
34818         (signbit_test_data): Likewise.
34819         (sqrt_test_data): Likewise.
34820         (significand_test_data): Likewise.
34822 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34824         [BZ #15424]
34825         * benchtests/bench-modf.c (struct args): Mark arg0 as
34826         volatile.
34827         * scripts/bench.pl: Mark members of struct args as volatile.
34829 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34831         [BZ # 15497]
34832         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
34833         negative infinity on POWER6 or lower.
34834         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
34836 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
34838         [BZ #15442]
34839         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
34840         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
34841         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
34842         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
34843         (_FP_SETQNAN): New macro.
34844         (_FP_SETQNAN_SEMIRAW): Likewise.
34845         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
34846         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
34847         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
34848         (FP_EXTEND): Use _FP_FRAC_SNANP.
34849         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
34850         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
34851         into account.
34852         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
34853         New macro.
34854         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
34855         Likewise.
34857 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34859         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
34860         with DIVIDE_BY_ZERO_EXCEPTION.
34861         (gamma_test_data): Likewise.
34862         (lgamma_test_data): Likewise.
34863         (log_test_data): Likewise.
34864         (log10_test_data): Likewise.
34865         (log2_test_data): Likewise.
34866         (tgamma_test_data): Likewise.
34868         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
34869         (acos_test_tonearest): Likewise.
34870         (acos_test_towardzero): Likewise.
34871         (acos_test_downward): Likewise.
34872         (acos_test_upward): Likewise.
34873         (acosh_test): Likewise.
34874         (asin_test): Likewise.
34875         (asin_test_tonearest): Likewise.
34876         (asin_test_towardzero): Likewise.
34877         (asin_test_downward): Likewise.
34878         (asin_test_upward): Likewise.
34879         (asinh_test): Likewise.
34880         (atan_test): Likewise.
34881         (atanh_test): Likewise.
34882         (atan2_test): Likewise.
34883         (cabs_test): Likewise.
34884         (cacos_test): Likewise.
34885         (cacosh_test): Likewise.
34886         (casin_test): Likewise.
34887         (casinh_test): Likewise.
34888         (catan_test): Likewise.
34889         (catanh_test): Likewise.
34890         (cbrt_test): Likewise.
34891         (ccos_test): Likewise.
34892         (ccosh_test): Likewise.
34893         (cexp_test): Likewise.
34894         (clog_test): Likewise.
34895         (clog10_test): Likewise.
34896         (cos_test): Likewise.
34897         (cos_test_tonearest): Likewise.
34898         (cos_test_towardzero): Likewise.
34899         (cos_test_downward): Likewise.
34900         (cos_test_upward): Likewise.
34901         (cosh_test): Likewise.
34902         (cosh_test_tonearest): Likewise.
34903         (cosh_test_towardzero): Likewise.
34904         (cosh_test_downward): Likewise.
34905         (cosh_test_upward): Likewise.
34906         (cpow_test): Likewise.
34907         (csin_test): Likewise.
34908         (csinh_test): Likewise.
34909         (csqrt_test): Likewise.
34910         (ctan_test): Likewise.
34911         (ctan_test_tonearest): Likewise.
34912         (ctan_test_towardzero): Likewise.
34913         (ctan_test_downward): Likewise.
34914         (ctan_test_upward): Likewise.
34915         (ctanh_test): Likewise.
34916         (ctanh_test_tonearest): Likewise.
34917         (ctanh_test_towardzero): Likewise.
34918         (ctanh_test_downward): Likewise.
34919         (ctanh_test_upward): Likewise.
34920         (erf_test): Likewise.
34921         (erfc_test): Likewise.
34922         (exp_test): Likewise.
34923         (exp_test_tonearest): Likewise.
34924         (exp_test_towardzero): Likewise.
34925         (exp_test_downward): Likewise.
34926         (exp_test_upward): Likewise.
34927         (exp10_test): Likewise.
34928         (exp2_test): Likewise.
34929         (expm1_test): Likewise.
34930         (fmod_test): Likewise.
34931         (gamma_test): Likewise.
34932         (hypot_test): Likewise.
34933         (j0_test): Likewise.
34934         (j1_test): Likewise.
34935         (jn_test): Likewise.
34936         (lgamma_test): Likewise.
34937         (log_test): Likewise.
34938         (log10_test): Likewise.
34939         (log1p_test): Likewise.
34940         (log2_test): Likewise.
34941         (logb_test_downward): Likewise.
34942         (pow_test): Likewise.
34943         (pow_test_tonearest): Likewise.
34944         (pow_test_towardzero): Likewise.
34945         (pow_test_downward): Likewise.
34946         (pow_test_upward): Likewise.
34947         (remainder_test): Likewise.
34948         (remquo_test): Likewise.
34949         (sin_test): Likewise.
34950         (sin_test_tonearest): Likewise.
34951         (sin_test_towardzero): Likewise.
34952         (sin_test_downward): Likewise.
34953         (sin_test_upward): Likewise.
34954         (sincos_test): Likewise.
34955         (sinh_test): Likewise.
34956         (sinh_test_tonearest): Likewise.
34957         (sinh_test_towardzero): Likewise.
34958         (sinh_test_downward): Likewise.
34959         (sinh_test_upward): Likewise.
34960         (sqrt_test): Likewise.
34961         (tan_test): Likewise.
34962         (tan_test_tonearest): Likewise.
34963         (tan_test_towardzero): Likewise.
34964         (tan_test_downward): Likewise.
34965         (tan_test_upward): Likewise.
34966         (tanh_test): Likewise.
34967         (tgamma_test): Likewise.
34968         (y0_test): Likewise.
34969         (y1_test): Likewise.
34970         (yn_test): Likewise.
34972         * math/gen-libm-test.pl (adjust_arg): Remove function.
34973         (special_function): Remove argument $in_func.  Only handle
34974         generating output for tables of tests, not inside functions.
34975         (parse_args): Likewise.
34976         (generate_testfile): Remove variable $in_func.  Update call to
34977         parse_args.
34978         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
34979         (MINUS_ZERO_INIT): Rename macro to minus_zero.
34980         (PLUS_INFTY_INIT): Rename macro to plus_infty.
34981         (MINUS_INFTY_INIT): Rename macro to minus_infty.
34982         (QNAN_VALUE_INIT): Rename macro to qnan_value.
34983         (MAX_VALUE_INIT): Rename macro to max_value.
34984         (MIN_VALUE_INIT): Rename macro to min_value.
34985         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
34986         (plus_zero): Remove variable.
34987         (minus_zero): Likewise.
34988         (plus_infty): Likewise.
34989         (minus_infty): Likewise.
34990         (qnan_value): Likewise.
34991         (max_value): Likewise.
34992         (min_value): Likewise.
34993         (min_subnorm_value): Likewise.
34995 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34997         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
34998         uint64_t or uint32_t usage.
34999         * crypt/sha256-block.c: Likewise.
35000         * crypt/sha256-crypt.c: Likewise.
35001         * crypt/sha256.c: Likewise.
35002         * crypt/sha512-block.c: Likewise.
35003         * crypt/sha512-crypt.c: Likewise.
35004         * crypt/sha512.c: Likewise.
35005         * debug/backtrace-tst.c: Likewise.
35006         * debug/pcprofiledump.c: Likewise.
35007         * elf/cache.c: Likewise.
35008         * elf/dl-cache.c: Likewise.
35009         * elf/dl-misc.c: Likewise.
35010         * elf/dl-profile.c: Likewise.
35011         * elf/dl-support.c: Likewise.
35012         * elf/ldconfig.c: Likewise.
35013         * elf/sprof.c: Likewise.
35014         * iconv/dummy-repertoire.c: Likewise.
35015         * iconv/iconv_charmap.c: Likewise.
35016         * iconv/skeleton.c: Likewise.
35017         * iconvdata/8bit-generic.c: Likewise.
35018         * iconvdata/cp737.h: Likewise.
35019         * iconvdata/cp775.h: Likewise.
35020         * iconvdata/ibm1008.h: Likewise.
35021         * iconvdata/ibm1025.h: Likewise.
35022         * iconvdata/ibm1046.h: Likewise.
35023         * iconvdata/ibm1097.h: Likewise.
35024         * iconvdata/ibm1112.h: Likewise.
35025         * iconvdata/ibm1122.h: Likewise.
35026         * iconvdata/ibm1123.h: Likewise.
35027         * iconvdata/ibm1124.h: Likewise.
35028         * iconvdata/ibm1129.h: Likewise.
35029         * iconvdata/ibm1130.h: Likewise.
35030         * iconvdata/ibm1132.h: Likewise.
35031         * iconvdata/ibm1133.h: Likewise.
35032         * iconvdata/ibm1137.h: Likewise.
35033         * iconvdata/ibm1140.h: Likewise.
35034         * iconvdata/ibm1141.h: Likewise.
35035         * iconvdata/ibm1142.h: Likewise.
35036         * iconvdata/ibm1143.h: Likewise.
35037         * iconvdata/ibm1144.h: Likewise.
35038         * iconvdata/ibm1145.h: Likewise.
35039         * iconvdata/ibm1146.h: Likewise.
35040         * iconvdata/ibm1147.h: Likewise.
35041         * iconvdata/ibm1148.h: Likewise.
35042         * iconvdata/ibm1149.h: Likewise.
35043         * iconvdata/ibm1153.h: Likewise.
35044         * iconvdata/ibm1154.h: Likewise.
35045         * iconvdata/ibm1155.h: Likewise.
35046         * iconvdata/ibm1156.h: Likewise.
35047         * iconvdata/ibm1157.h: Likewise.
35048         * iconvdata/ibm1158.h: Likewise.
35049         * iconvdata/ibm1160.h: Likewise.
35050         * iconvdata/ibm1161.h: Likewise.
35051         * iconvdata/ibm1162.h: Likewise.
35052         * iconvdata/ibm1163.h: Likewise.
35053         * iconvdata/ibm1164.h: Likewise.
35054         * iconvdata/ibm1166.h: Likewise.
35055         * iconvdata/ibm1167.h: Likewise.
35056         * iconvdata/ibm12712.h: Likewise.
35057         * iconvdata/ibm1390.h: Likewise.
35058         * iconvdata/ibm1399.h: Likewise.
35059         * iconvdata/ibm16804.h: Likewise.
35060         * iconvdata/ibm4517.h: Likewise.
35061         * iconvdata/ibm4899.h: Likewise.
35062         * iconvdata/ibm4909.h: Likewise.
35063         * iconvdata/ibm4971.h: Likewise.
35064         * iconvdata/ibm5347.h: Likewise.
35065         * iconvdata/ibm803.h: Likewise.
35066         * iconvdata/ibm856.h: Likewise.
35067         * iconvdata/ibm901.h: Likewise.
35068         * iconvdata/ibm902.h: Likewise.
35069         * iconvdata/ibm9030.h: Likewise.
35070         * iconvdata/ibm9066.h: Likewise.
35071         * iconvdata/ibm921.h: Likewise.
35072         * iconvdata/ibm922.h: Likewise.
35073         * iconvdata/ibm9448.h: Likewise.
35074         * iconvdata/isiri-3342.h: Likewise.
35075         * iconvdata/jis0201.h: Likewise.
35076         * include/link.h: Likewise.
35077         * include/netdb.h: Likewise.
35078         * inet/check_native.c: Likewise.
35079         * inet/check_pf.c: Likewise.
35080         * inet/getipv4sourcefilter.c: Likewise.
35081         * inet/getnameinfo.c: Likewise.
35082         * inet/getsourcefilter.c: Likewise.
35083         * inet/htonl.c: Likewise.
35084         * inet/setipv4sourcefilter.c: Likewise.
35085         * inet/setsourcefilter.c: Likewise.
35086         * inet/test-inet6_opt.c: Likewise.
35087         * inet/tst-network.c: Likewise.
35088         * locale/C-collate.c: Likewise.
35089         * locale/C-ctype.c: Likewise.
35090         * locale/C-time.c: Likewise.
35091         * locale/C-translit.h: Likewise.
35092         * locale/loadarchive.c: Likewise.
35093         * locale/programs/3level.h: Likewise.
35094         * locale/programs/charmap.c: Likewise.
35095         * locale/programs/charmap.h: Likewise.
35096         * locale/programs/ld-address.c: Likewise.
35097         * locale/programs/ld-collate.c: Likewise.
35098         * locale/programs/ld-ctype.c: Likewise.
35099         * locale/programs/ld-identification.c: Likewise.
35100         * locale/programs/ld-measurement.c: Likewise.
35101         * locale/programs/ld-messages.c: Likewise.
35102         * locale/programs/ld-monetary.c: Likewise.
35103         * locale/programs/ld-name.c: Likewise.
35104         * locale/programs/ld-numeric.c: Likewise.
35105         * locale/programs/ld-paper.c: Likewise.
35106         * locale/programs/ld-telephone.c: Likewise.
35107         * locale/programs/ld-time.c: Likewise.
35108         * locale/programs/linereader.c: Likewise.
35109         * locale/programs/locale.c: Likewise.
35110         * locale/programs/locarchive.c: Likewise.
35111         * locale/programs/locfile.h: Likewise.
35112         * locale/programs/repertoire.c: Likewise.
35113         * locale/programs/simple-hash.c: Likewise.
35114         * locale/programs/simple-hash.h: Likewise.
35115         * malloc/memusage.c: Likewise.
35116         * malloc/memusagestat.c: Likewise.
35117         * nis/nis_defaults.c: Likewise.
35118         * nis/nis_hash.c: Likewise.
35119         * nis/nis_print.c: Likewise.
35120         * nis/nis_xdr.c: Likewise.
35121         * nscd/connections.c: Likewise.
35122         * nscd/hstcache.c: Likewise.
35123         * nscd/nscd_gethst_r.c: Likewise.
35124         * nscd/nscd_getserv_r.c: Likewise.
35125         * nscd/nscd_helper.c: Likewise.
35126         * nscd/servicescache.c: Likewise.
35127         * nss/makedb.c: Likewise.
35128         * nss/nss_db/db-XXX.c: Likewise.
35129         * nss/nss_db/db-initgroups.c: Likewise.
35130         * nss/nss_db/db-netgrp.c: Likewise.
35131         * nss/nss_files/files-network.c: Likewise.
35132         * nss/nss_files/files-parse.c: Likewise.
35133         * posix/bug-regex5.c: Likewise.
35134         * posix/fnmatch_loop.c: Likewise.
35135         * posix/regcomp.c: Likewise.
35136         * posix/regexec.c: Likewise.
35137         * posix/tst-rfc3484-2.c: Likewise.
35138         * posix/tst-rfc3484-3.c: Likewise.
35139         * posix/tst-rfc3484.c: Likewise.
35140         * resolv/nss_dns/dns-canon.c: Likewise.
35141         * resolv/nss_dns/dns-network.c: Likewise.
35142         * resolv/res_init.c: Likewise.
35143         * resolv/res_mkquery.c: Likewise.
35144         * resolv/tst-aton.c: Likewise.
35145         * stdlib/cxa_atexit.c: Likewise.
35146         * stdlib/cxa_finalize.c: Likewise.
35147         * stdlib/gen-fpioconst.c: Likewise.
35148         * stdlib/strtol_l.c: Likewise.
35149         * string/tst-endian.c: Likewise.
35150         * sunrpc/auth_des.c: Likewise.
35151         * sunrpc/clnt_udp.c: Likewise.
35152         * sunrpc/rtime.c: Likewise.
35153         * sunrpc/svcauth_des.c: Likewise.
35154         * sunrpc/xdr.c: Likewise.
35155         * sunrpc/xdr_intXX_t.c: Likewise.
35156         * sunrpc/xdr_rec.c: Likewise.
35157         * sysdeps/generic/ldconfig.h: Likewise.
35158         * sysdeps/generic/ldsodefs.h: Likewise.
35159         * sysdeps/generic/memusage.h: Likewise.
35160         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35161         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
35162         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
35163         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35164         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35165         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35166         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35167         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35168         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35169         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
35170         * sysdeps/posix/getaddrinfo.c: Likewise.
35171         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35172         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35173         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
35174         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
35175         * sysdeps/powerpc/test-gettimebase.c: Likewise.
35176         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
35177         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
35178         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
35179         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
35180         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
35181         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
35182         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
35183         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
35184         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
35185         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
35186         * sysdeps/x86_64/dl-tls.h: Likewise.
35187         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
35188         * time/alt_digit.c: Likewise.
35189         * time/era.c: Likewise.
35190         * wcsmbs/tst-c16c32-1.c: Likewise.
35192 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
35194         * math/libm-test.inc (struct test_sincos_data): New type.
35195         (RUN_TEST_LOOP_sincos): New macro.
35196         (sincos_test_data): New variable.
35197         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
35199 2013-05-16  Richard Henderson  <rth@redhat.com>
35201         * math/atest-exp2.c (LIMB64): New macro.
35202         (CONSTSZ): New macro.
35203         (mp_exp1, mp_exp_m1, mp_log2): New variables.
35204         (hexdig): Move ...
35205         (print_mpn_fp): ... to function scope.
35206         (read_mpn_hex): Remove.
35207         (get_log2): Remove.
35208         (exp2_mpn): Use mp_log2.
35209         (main): Use mp_exp1.
35211 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
35213         * math/libm-test.inc: Remove comment about not testing "inexact"
35214         exceptions.
35215         (INEXACT_EXCEPTION): New macro.
35216         (NO_INEXACT_EXCEPTION): Likewise.
35217         (INVALID_EXCEPTION_OK): Update value.
35218         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35219         (OVERFLOW_EXCEPTION_OK): Likewise.
35220         (UNDERFLOW_EXCEPTION_OK): Likewise.
35221         (IGNORE_ZERO_INF_SIGN): Likewise.
35222         (ERRNO_UNCHANGED): Likewise.
35223         (ERRNO_EDOM): Likewise.
35224         (ERRNO_ERANGE): Likewise.
35225         (test_exceptions): Handle testing "inexact" exceptions.
35226         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
35227         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
35228         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
35229         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
35230         INEXACT_EXCEPTION.
35231         (rint_towardzero_test_data): Likewise.
35232         (rint_downward_test_data): Likewise.
35233         (rint_upward_test_data): Likewise.
35235         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
35236         with OVERFLOW_EXCEPTION.
35237         (exp10_test_data): Likewise.
35238         (exp2_test_data): Likewise.
35239         (expm1_test_data): Likewise.
35240         (lgamma_test_data): Likewise.
35241         (pow_test_data): Likewise.
35242         (tgamma_test_data): Likewise.
35243         (yn_test_data): Remove duplicate test of overflow.
35245         * math/libm-test.inc (struct test_cc_c_data): New type.
35246         (RUN_TEST_LOOP_cc_c): New macro.
35247         (cpow_test_data): New variable.
35248         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
35250         * math/libm-test.inc (struct test_f_L_data): New type.
35251         (RUN_TEST_LOOP_f_L): New macro.
35252         (llrint_test_data): New variable.
35253         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
35254         (llrint_tonearest_test_data): New variable.
35255         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
35256         (llrint_towardzero_test_data): New variable.
35257         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
35258         (llrint_downward_test_data): New variable.
35259         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
35260         (llrint_upward_test_data): New variable.
35261         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
35262         (llround_test_data): New variable.
35263         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
35265 2013-05-13  Peter Collingbourne  <pcc@google.com>
35267         * math/atest-exp2.c (get_log2): Remove const attribute.
35269 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
35271         * math/libm-test.inc (struct test_f_l_data): New type.
35272         (RUN_TEST_LOOP_f_l): New macro.
35273         (lrint_test_data): New variable.
35274         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
35275         (lrint_tonearest_test_data): New variable.
35276         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
35277         (lrint_towardzero_test_data): New variable.
35278         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
35279         (lrint_downward_test_data): New variable.
35280         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
35281         (lrint_upward_test_data): New variable.
35282         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
35283         (lround_test_data): New variable.
35284         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
35286 2013-05-15  Peter Collingbourne  <pcc@google.com>
35288         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
35289         (EXTRACT_WORDS64) Use where appropriate.
35290         (INSERT_WORDS64) Likewise.
35292         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
35293         constraints with x constraints.
35294         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
35296         * malloc/obstack.c (_obstack_compat): Add initializer.
35298 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
35300         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
35301         si_trapno and add si_addr_lsb to _sifields.sigfault.
35302         (si_trapno): Remove macro.
35303         (si_addr_lsb): Define new macro.
35304         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
35306 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
35308         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
35309         instead of TEST_f_l.
35310         (llrint_test_tonearest): Likewise.
35311         (llrint_test_towardzero): Likewise.
35312         (llrint_test_downward): Likewise.
35313         (llrint_test_upward): Likewise.
35314         (llround_test): Likewise.
35316         * math/libm-test.inc (struct test_f_i_data): Add comment.
35317         (RUN_TEST_LOOP_f_b): New macro.
35318         (RUN_TEST_LOOP_f_b_tg): Likewise.
35319         (finite_test_data): New variable.
35320         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
35321         (isfinite_test_data): New variable.
35322         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35323         (isinf_test_data): New variable.
35324         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35325         (isnan_test_data): New variable.
35326         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35327         (isnormal_test_data): New variable.
35328         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35329         (issignaling_test_data): New variable.
35330         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35331         (signbit_test_data): New variable.
35332         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35334         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
35335         with INVALID_EXCEPTION.
35336         (acosh_test_data): Likewise.
35337         (asin_test_data): Likewise.
35338         (atanh_test_data): Likewise.
35339         (fmod_test_data): Likewise.
35340         (log_test_data): Likewise.
35341         (log10_test_data): Likewise.
35342         (log2_test_data): Likewise.
35343         (pow_test_data): Likewise.
35344         (sqrt_test_data): Likewise.
35345         (y0_test_data): Likewise.
35346         (y1_test_data): Likewise.
35347         (yn_test_data): Likewise.
35349         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
35350         function contents.
35352         * math/libm-test.inc (struct test_ff_i_data): New type.
35353         (RUN_TEST_LOOP_ff_i_tg): New macro.
35354         (isgreater_test_data): New variable.
35355         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35356         (isgreaterequal_test_data): New variable.
35357         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35358         (isless_test_data): New variable.
35359         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35360         (islessequal_test_data): New variable.
35361         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35362         (islessgreater_test_data): New variable.
35363         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35364         (isunordered_test_data): New variable.
35365         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35367 2013-05-14  David S. Miller  <davem@davemloft.net>
35369         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35371 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
35373         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
35375         * math/libm-test.inc (struct test_fF_f1_data): Change type of
35376         extra_test to int.
35377         (struct test_f_i_data): Change type of max_ulp to int.
35379         * math/libm-test.inc (test_ffI_f1_data): New type.
35380         (RUN_TEST_LOOP_ffI_f1): New macro.
35381         (remquo_test_data): New variable.
35382         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
35384         * setjmp/tst-setjmp-fp.c: New file.
35385         * setjmp/Makefile (tests): Add tst-setjmp-fp.
35386         (link-libm): New variable.
35387         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
35389         * math/libm-test.inc (struct test_f_i_data): New type.
35390         (RUN_TEST_LOOP_f_i): New macro.
35391         (RUN_TEST_LOOP_f_i_tg): Likewise.
35392         (fpclassify_test_data): New variable.
35393         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
35394         (ilogb_test_data): New variable.
35395         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
35397         * math/libm-test.inc (scalbln_test): Correct function name in END
35398         call.
35400         * math/libm-test.inc (struct test_f_f1_data): Add comment.
35401         (RUN_TEST_LOOP_fI_f1): New macro.
35402         (frexp_test_data): New variable.
35403         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
35405         * math/libm-test.inc (struct test_fF_f1_data): New type.
35406         (RUN_TEST_LOOP_fF_f1): New macro.
35407         (modf_test_data): New variable.
35408         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
35410         * math/libm-test.inc (struct test_f_f1_data): New type.
35411         (RUN_TEST_LOOP_f_f1): New macro.
35412         (gamma_test_data): New variable.
35413         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
35414         (lgamma_test_data): New variable.
35415         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
35417 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
35419         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
35420         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
35421         (main): Comment "tls" pseudo-hwcap.
35423 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
35425         * math/libm-test.inc (struct test_fl_f_data): New type.
35426         (RUN_TEST_LOOP_fl_f): New variable.
35427         (scalbln_test_data): New variable.
35428         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
35430         * math/libm-test.inc (struct test_fi_f_data): New type.
35431         (RUN_TEST_LOOP_fi_f): New macro.
35432         (ldexp_test_data): New variable.
35433         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
35434         (scalbn_test_data): New variable.
35435         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
35437         * math/libm-test.inc (struct test_c_f_data): New type.
35438         (RUN_TEST_LOOP_c_f): New macro.
35439         (cabs_test_data): New variable.
35440         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
35441         (carg_test_data): New variable.
35442         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
35443         (cimag_test_data): New variable.
35444         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
35445         (creal_test_data): New variable.
35446         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
35448         * math/libm-test.inc (struct test_if_f_data): New type.
35449         (RUN_TEST_LOOP_if_f): New macro.
35450         (jn_test_data): New variable.
35451         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
35452         (yn_test_data): New variable.
35453         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
35455         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
35457 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35459         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
35460         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
35462 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
35464         * benchtests/Makefile (CPPFLAGS-nonlib): Add
35465         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
35466         (bench-deps): Add bench-timing.h.
35467         * benchtests-bench-skeleton.c: Include bench-timing.h.
35468         (main): Use TIMING_* macros instead of clock_gettime.
35469         * benchtests/bench-timing.h: New file.
35471         [BZ #14582]
35472         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
35473         Renamed from _LIB_VERSION.
35474         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
35476 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
35478         * math/libm-test.inc (struct test_fff_f_data): New type.
35479         (RUN_TEST_LOOP_fff_f): New macro.
35480         (fma_test_data): New variable.
35481         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
35482         (fma_towardzero_test_data): New variable.
35483         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
35484         (fma_downward_test_data): New variable.
35485         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
35486         (fma_upward_test_data): New variable.
35487         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
35489         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
35490         (struct test_c_c_data): New type.
35491         (RUN_TEST_LOOP_c_c): New macro.
35492         (cacos_test_data): New variable.
35493         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
35494         (cacosh_test_data): New variable.
35495         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
35496         (casin_test_data): New variable.
35497         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
35498         (casinh_test_data): New variable.
35499         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
35500         (catan_test_data): New variable.
35501         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
35502         (catanh_test_data): New variable.
35503         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
35504         (ccos_test_data): New variable.
35505         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
35506         (ccosh_test_data): New variable.
35507         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
35508         (cexp_test_data): New variable.
35509         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
35510         (clog_test_data): New variable.
35511         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
35512         (clog10_test_data): New variable.
35513         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
35514         (conj_test_data): New variable.
35515         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
35516         (cproj_test_data): New variable.
35517         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
35518         (csin_test_data): New variable.
35519         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
35520         (csinh_test_data): New variable.
35521         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
35522         (csqrt_test_data): New variable.
35523         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
35524         (ctan_test_data): New variable.
35525         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
35526         (ctan_tonearest_test_data): New variable.
35527         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
35528         (ctan_towardzero_test_data): New variable.
35529         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
35530         (ctan_downward_test_data): New variable.
35531         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
35532         (ctan_upward_test_data): New variable.
35533         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
35534         (ctanh_test_data): New variable.
35535         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
35536         (ctanh_tonearest_test_data): New variable.
35537         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
35538         (ctanh_towardzero_test_data): New variable.
35539         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
35540         (ctanh_downward_test_data): New variable.
35541         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
35542         (ctanh_upward_test_data): New variable.
35543         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
35544         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
35545         of BUILD_COMPLEX.
35547         * math/libm-test.inc (struct test_ff_f_data): New type.
35548         (struct test_ff_f_data_nexttoward): Likewise.
35549         (RUN_TEST_LOOP_2_f): New macro.
35550         (RUN_TEST_LOOP_ff_f): Likewise.
35551         (atan2_test_data): New variable.
35552         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
35553         (copysign_test_data): New variable.
35554         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
35555         (fdim_test_data): New variable.
35556         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
35557         (fmax_test_data): New variable.
35558         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
35559         (fmin_test_data): New variable.
35560         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
35561         (fmod_test_data): New variable.
35562         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
35563         (hypot_test_data): New variable.
35564         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
35565         (nextafter_test_data): New variable.
35566         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
35567         (nexttoward_test_data): New variable.
35568         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
35569         (pow_test_data): New variable.
35570         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
35571         (pow_tonearest_test_data): New variable.
35572         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
35573         (pow_towardzero_test_data): New variable.
35574         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
35575         (pow_downward_test_data): New variable.
35576         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
35577         (pow_upward_test_data): New variable.
35578         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
35579         (remainder_test_data): New variable.
35580         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
35581         (scalb_test_data): New variable.
35582         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
35583         * sysdeps/i386/fpu/libm-test-ulps: Update.
35585 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
35587         * math/libm-test.inc (fma_test): Use max_value instead of local
35588         variable fltmax.
35589         (nextafter_test): Likewise.
35591         * math/libm-test.inc (acos_towardzero_test_data): New variable.
35592         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35593         (acos_downward_test_data): New variable.
35594         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35595         (acos_upward_test_data): New variable.
35596         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35597         (acosh_test_data): New variable.
35598         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
35599         (asin_test_data): New variable.
35600         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
35601         (asin_tonearest_test_data): New variable.
35602         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35603         (asin_towardzero_test_data): New variable.
35604         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35605         (asin_downward_test_data): New variable.
35606         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35607         (asin_upward_test_data): New variable.
35608         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35609         (asinh_test_data): New variable.
35610         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
35611         (atan_test_data): New variable.
35612         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
35613         (atanh_test_data): New variable.
35614         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
35615         (cbrt_test_data): New variable.
35616         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
35617         (ceil_test_data): New variable.
35618         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
35619         (cos_test_data): New variable.
35620         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
35621         (cos_tonearest_test_data): New variable.
35622         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35623         (cos_towardzero_test_data): New variable.
35624         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35625         (cos_downward_test_data): New variable.
35626         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35627         (cos_upward_test_data): New variable.
35628         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35629         (cosh_test_data): New variable.
35630         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
35631         (cosh_tonearest_test_data): New variable.
35632         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35633         (cosh_towardzero_test_data): New variable.
35634         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35635         (cosh_downward_test_data): New variable.
35636         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35637         (cosh_upward_test_data): New variable.
35638         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35639         (erf_test_data): New variable.
35640         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
35641         (erfc_test_data): New variable.
35642         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
35643         (exp_test_data): New variable.
35644         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
35645         (exp_tonearest_test_data): New variable.
35646         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35647         (exp_towardzero_test_data): New variable.
35648         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35649         (exp_downward_test_data): New variable.
35650         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35651         (exp_upward_test_data): New variable.
35652         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35653         (exp10_test_data): New variable.
35654         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
35655         (exp2_test_data): New variable.
35656         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
35657         (expm1_test_data): New variable.
35658         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
35659         (fabs_test_data): New variable.
35660         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
35661         (floor_test_data): New variable.
35662         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
35663         (j0_test_data): New variable.
35664         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
35665         (j1_test_data): New variable.
35666         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
35667         (log_test_data): New variable.
35668         (log_test): Run tests with RUN_TEST_LOOP_f_f.
35669         (log10_test_data): New variable.
35670         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
35671         (log1p_test_data): New variable.
35672         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
35673         (log2_test_data): New variable.
35674         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
35675         (logb_test_data): New variable.
35676         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
35677         (logb_downward_test_data): New variable.
35678         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35679         (nearbyint_test_data): New variable.
35680         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
35681         (rint_test_data): New variable.
35682         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
35683         (rint_tonearest_test_data): New variable.
35684         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35685         (rint_towardzero_test_data): New variable.
35686         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35687         (rint_downward_test_data): New variable.
35688         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35689         (rint_upward_test_data): New variable.
35690         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35691         (round_test_data): New variable.
35692         (round_test): Run tests with RUN_TEST_LOOP_f_f.
35693         (sin_test_data): New variable.
35694         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
35695         (sin_tonearest_test_data): New variable.
35696         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35697         (sin_towardzero_test_data): New variable.
35698         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35699         (sin_downward_test_data): New variable.
35700         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35701         (sin_upward_test_data): New variable.
35702         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35703         (sinh_test_data): New variable.
35704         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
35705         (sinh_tonearest_test_data): New variable.
35706         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35707         (sinh_towardzero_test_data): New variable.
35708         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35709         (sinh_downward_test_data): New variable.
35710         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35711         (sinh_upward_test_data): New variable.
35712         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35713         (sqrt_test_data): New variable.
35714         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
35715         (tan_test_data): New variable.
35716         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
35717         (tan_tonearest_test_data): New variable.
35718         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35719         (tan_towardzero_test_data): New variable.
35720         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35721         (tan_downward_test_data): New variable.
35722         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35723         (tan_upward_test_data): New variable.
35724         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35725         (tanh_test_data): New variable.
35726         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
35727         (tgamma_test_data): New variable.
35728         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
35729         (trunc_test_data): New variable.
35730         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
35731         (y0_test_data): New variable.
35732         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
35733         (y1_test_data): New variable.
35734         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
35735         (significand_test_data): New variable.
35736         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
35738 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
35740         [BZ #12387]
35741         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
35743 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35745         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
35747 2013-05-10  Andreas Jaeger  <aj@suse.de>
35749         [BZ #15448]
35750         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
35751         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
35753 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
35755         * math/gen-libm-test.pl (adjust_arg): New function.
35756         (special_functions): Handle generating output in both functions
35757         and arrays.
35758         (parse_args): Likewise.
35759         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
35760         $in_func argument to parse_args.
35761         * math/libm-test.inc (struct test_f_f_data): New type.
35762         (IF_ROUND_INIT_): New macro.
35763         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
35764         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
35765         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
35766         (IF_ROUND_INIT_FE_UPWARD): Likewise.
35767         (ROUND_RESTORE_): Likewise.
35768         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
35769         (ROUND_RESTORE_FE_TONEAREST): Likewise.
35770         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
35771         (ROUND_RESTORE_FE_UPWARD): Likewise.
35772         (RUN_TEST_LOOP_f_f): New macro.
35773         (acos_test_data): New variable.
35774         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
35775         (acos_tonearest_test_data): New variable.
35776         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35778 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35780         * benchtests/bench-skeleton.c (startup): Fix coding style.
35782 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
35784         [BZ #6809]
35785         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
35786         negative infinity argument.
35787         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
35788         negative infinity argument.
35789         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
35790         negative infinity argument.
35791         * math/libm-test.inc (tgamma_test): Expect errno to be set for
35792         domain errors.
35794 2013-05-10  Florian Weimer  <fweimer@redhat.com>
35796         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
35797         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
35798         * iconv/iconv_prog.c (main): Likewise.
35799         * locale/programs/charmap-dir.c (charmap_readdir)
35800         (fopen_uncompressed): Likewise.
35801         * locale/programs/locfile.c (siblings_uncached)
35802         (write_locale_data): Use lstat64 instead of lstat.
35803         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
35804         stat.
35806 2013-05-10  Andreas Jaeger  <aj@suse.de>
35808         [BZ #15395]
35809         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
35810         localization.
35811         Include <locale.h>.
35813 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
35815         * elf/dl-close.c (_dl_close_worker): Add comments.
35817 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
35819         [BZ #15359]
35820         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
35821         high part of pi/2.
35822         (__ieee754_rem_pio2l): Update comments.
35824         [BZ #15429]
35825         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
35826         high part of pi/2.
35827         (__ieee754_rem_pio2l): Update comments.
35829         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
35830         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
35832         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
35833         M_PI_4l.
35835         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
35836         (M_PI_34_LOG10El): Likewise.
35837         (M_PI2_LOG10El): Likewise.
35838         (M_PI4_LOG10El): Likewise.
35839         (M_PI_LOG10El): Likewise.
35841 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35843         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35845 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
35847         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
35848         (MINUS_ZERO_INIT): Likewise.
35849         (PLUS_INFTY_INIT): Likewise.
35850         (MINUS_INFTY_INIT): Likewise.
35851         (QNAN_VALUE_INIT): Likewise.
35852         (MAX_VALUE_INIT): Likewise.
35853         (MIN_VALUE_INIT): Likewise.
35854         (MIN_SUBNORM_VALUE_INIT): Likewise.
35855         (plus_zero): Initialize with PLUS_ZERO_INIT.
35856         (minus_zero): Initialize with MINUS_ZERO_INIT.
35857         (plus_infty): Initialize with PLUS_INFTY_INIT.
35858         (minus_infty): Initialize with MINUS_INFTY_INIT.
35859         (qnan_value): Initialize with QNAN_VALUE_INIT.
35860         (max_value): Initialize with MAX_VALUE_INIT.
35861         (min_value): Initialize with MIN_VALUE_INIT.
35862         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
35864         * math/libm-test.inc (RUN_TEST_if_f): New macro.
35865         (jn_test): Use TEST_if_f instead of TEST_ff_f.
35866         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
35867         (yn_test): Use TEST_if_f instead of TEST_ff_f.
35869         * math/libm-test.inc (RUN_TEST_f_f): New macro.
35870         (RUN_TEST_2_f): Likewise.
35871         (RUN_TEST_ff_f): Likewise.
35872         (RUN_TEST_fi_f): Likewise.
35873         (RUN_TEST_fl_f): Likewise.
35874         (RUN_TEST_fff_f): Likewise.
35875         (RUN_TEST_c_f): Likewise.
35876         (RUN_TEST_f_f1): Likewise.
35877         (RUN_TEST_fF_f1): Likewise.
35878         (RUN_TEST_fI_f1): Likewise.
35879         (RUN_TEST_ffI_f1): Likewise.
35880         (RUN_TEST_c_c): Likewise.
35881         (RUN_TEST_cc_c): Likewise.
35882         (RUN_TEST_f_i): Likewise.
35883         (RUN_TEST_f_i_tg): Likewise.
35884         (RUN_TEST_ff_i_tg): Likewise.
35885         (RUN_TEST_f_b): Likewise.
35886         (RUN_TEST_f_b_tg): Likewise.
35887         (RUN_TEST_f_l): Likewise.
35888         (RUN_TEST_f_L): Likewise.
35889         (RUN_TEST_sincos): Likewise.
35890         * math/gen-libm-test.pl (new_test): Take new argument to indicate
35891         whether to show exceptions.  Do not include ");\n" in return
35892         value.
35893         (special_functions): Output call to RUN_TEST_sincos instead of
35894         check_float calls.  Update calls to new_test.
35895         (parse_args): Output call to single RUN_TEST_* macro instead of
35896         check_* calls and other assignments.  Update calls to new_test.
35898         [BZ #2546]
35899         [BZ #2560]
35900         [BZ #5159]
35901         [BZ #15426]
35902         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
35903         input to result for tgamma overflow.
35904         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
35905         (gamma_coeff): New variable.
35906         (NCOEFF): New macro.
35907         (gamma_positive): New function.
35908         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
35909         underflow here.  Use gamma_positive instead of exp (lgamma) for
35910         other arguments.
35911         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
35912         (gamma_coeff): New variable.
35913         (NCOEFF): New macro.
35914         (gammaf_positive): New function.
35915         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
35916         underflow here.  Use gamma_positive instead of exp (lgamma) for
35917         other arguments.
35918         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
35919         (gamma_coeff): New variable.
35920         (NCOEFF): New macro.
35921         (gammal_positive): New function.
35922         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
35923         underflow here.  Use gamma_positive instead of exp (lgamma) for
35924         other arguments.
35925         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
35926         (gamma_coeff): New variable.
35927         (NCOEFF): New macro.
35928         (gammal_positive): New function.
35929         (__ieee754_gammal_r): Handle positive infinity, overflow and
35930         underflow here.  Handle NaN the same as positive infinity.  Remove
35931         check x < 0xffffffff for negative integers.  Use gamma_positive
35932         instead of exp (lgamma) for other arguments.
35933         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
35934         (gamma_coeff): New variable.
35935         (NCOEFF): New macro.
35936         (gammal_positive): New function.
35937         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
35938         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
35939         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
35940         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
35941         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
35942         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
35943         * sysdeps/generic/math_private.h (__gamma_productf): New
35944         prototype.
35945         (__gamma_product): Likewise.
35946         (__gamma_productl): Likewise.
35947         * math/Makefile (libm-calls): Add gamma_product.
35948         * math/libm-test.inc (tgamma_test): Add more tests.
35949         * sysdeps/i386/fpu/libm-test-ulps: Update.
35950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35952 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
35954         * benchtests/bench-skeleton.c (main): Preheat CPU.
35956 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
35958         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
35960 2013-05-07  Roland McGrath  <roland@hack.frob.com>
35962         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
35963         and _dl_skip_args_internal.
35965 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
35967         * manual/message.texi (Message Translation): Talk about users.
35968         Message to key mapping impacts design.
35970 2013-05-06  Roland McGrath  <roland@hack.frob.com>
35972         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
35974         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
35976         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
35977         * sysdeps/wordsize-64/glob64.c: ... here.
35979         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
35980         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
35981         New macros.
35983         * debug/getlogin_r_chk.c: Moved to ...
35984         * login/getlogin_r_chk.c: ... here.
35985         * debug/Makefile (routines): Move getlogin_r_chk to ...
35986         * login/Makefile (routines): ... here.
35987         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
35988         * login/Versions (libc: GLIBC_2.4): ... here.
35990         * io/poll.c (__poll): Renamed from poll.
35991         Add libc_hidden_def.
35992         (poll): Define as weak alias.
35994         * debug/ptsname_r_chk.c: Moved to ...
35995         * login/ptsname_r_chk.c: ... here.
35996         * debug/Makefile (routines): Move ptsname_r_chk to ...
35997         * login/Makefile (routines): ... here.
35998         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
35999         * login/Versions (libc: GLIBC_2.4): ... here.
36001         * posix/getlogin.c: Moved to ...
36002         * login/getlogin.c: ... here.
36003         * posix/getlogin_r.c: Moved to ...
36004         * login/getlogin_r.c: ... here.
36005         * posix/getlogin_r.c: Moved to ...
36006         * login/getlogin_r.c: ... here.
36007         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
36008         * login/Makefile (routines): ... here.
36009         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
36010         * login/Versions (libc: GLIBC_2.0): ... here.
36012         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
36013         (setrlimit): Define as weak alias.
36015         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
36016         Call __ names for open, ftruncate, and close.
36017         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
36018         (truncate): Define as weak alias.
36020 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
36022         * math/gen-libm-test.pl (parse_args): Initialize x before each
36023         test of frexp, modf and remquo.
36025         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
36026         test signgam value.
36028 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36030         [BZ #15418]
36031         [BZ #15419]
36032         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
36033         internal tests.
36034         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36036 2013-05-06  Roland McGrath  <roland@hack.frob.com>
36038         * elf/dl-writev.h: New file.
36039         * elf/dl-misc.c: Include it.
36040         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
36041         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
36043 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
36045         * math/libm-test.inc (noXFails): Remove variable.
36046         (noXPasses): Likewise.
36047         (BUILD_COMPLEX_INT): Remove macro.
36048         (print_screen): Remove xfail argument.
36049         (print_screen_max_error): Likewise.
36050         (update_stats): Likewise.
36051         (print_max_error): Likewise.  Update calls to other affected
36052         functions.
36053         (print_complex_max_error): Likewise.
36054         (test_single_exception): Update calls to print_screen.
36055         (test_single_errno): Likewise.
36056         (check_float_internal): Remove xfail argument.  Update calls to
36057         other affected functions.
36058         (check_float): Likewise.
36059         (check_complex): Likewise.
36060         (check_int): Likewise.
36061         (check_long): Likewise.
36062         (check_bool): Likewise.
36063         (check_longlong): Likewise.
36064         (main): Don't print noXFails and noXPasses.
36065         * math/gen-libm-test.pl (top level): Don't mention expected
36066         failure handling in comment.
36067         (new_test): Don't handle expected failures.
36068         (parse_args): Don't mention expected failure handling in comment.
36069         (generate_testfile): Don't handle expected failures.
36070         (parse_ulps): Likewise.
36071         (print_ulps_file): Likewise.
36072         (get_failure): Remove function.
36073         (output_test): Don't handle expected failures.
36074         * make/README.libm-test: Don't mention expected failure handling.
36076         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
36077         (minus_zero): Likewise.
36078         (plus_infty): Likewise.
36079         (minus_infty): Likewise.
36080         (qnan_value): Likewise.
36081         (max_value): Likewise.
36082         (min_value): Likewise.
36083         (min_subnorm_value): Likewise.
36084         (initialize): Do not initialize those variables dynamically.
36086 2013-05-03  Roland McGrath  <roland@hack.frob.com>
36088         * io/open.c (__open_2): Moved to ...
36089         * io/open_2.c: ... this new file.
36090         * io/open64.c (__open64_2): Moved to ...
36091         * io/open64_2.c: ... this new file.
36092         * io/openat.c (__openat_2): Moved to ...
36093         * io/openat_2.c: ... this new file.
36094         * io/openat64.c (__openat64_2): Moved to ...
36095         * io/openat64_2.c: ... this new file.
36096         * io/Makefile (routines): Add them.
36097         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
36098         * sysdeps/unix/sysv/linux/open_2.c: File removed.
36099         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
36100         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
36101         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
36102         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
36103         (__openat64): Add hidden_ver.
36104         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
36105         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
36107         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
36108         Separately conditionalize setting of GLRO(dl_sysinfo) so
36109         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
36110         as well, but the actual setting is only under [NEED_DL_SYSINFO].
36112 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36114         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
36115         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
36116         definition.
36117         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
36118         * sysdeps/unix/sysv/linux/powerpc/init-first.c
36119         (_libc_vdso_platform_setup): Add __vdso_time initialization.
36120         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
36121         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
36123 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
36125         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
36126         test signgam value.
36128         * math/libm-test.inc (hypot_test): Do not use
36129         IGNORE_ZERO_INF_SIGN.
36131 2013-05-03  Andreas Jaeger  <aj@suse.de>
36133         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
36134         Linux 3.9.
36135         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
36136         (PF_MAX): Adjust for VSOCK change.
36138 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36140         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36142 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
36144         [BZ #15264]
36145         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
36146         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
36147         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
36149 2013-05-02  David S. Miller  <davem@davemloft.net>
36151         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36153 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
36155         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
36157 2013-05-01  Roland McGrath  <roland@hack.frob.com>
36159         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
36161 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
36163         [BZ #14952]
36164         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
36165         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
36166         Use __attribute__ ((__gnu_inline__)).
36167         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
36168         Don't use __attribute__ ((__gnu_inline__)).
36170 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
36172         [BZ #15423]
36173         * math/s_catan.c (__catan): Handle small real or imaginary part of
36174         input specially to avoid spurious underflow.
36175         * math/s_catanf.c (__catanf): Likewise.
36176         * math/s_catanh.c (__catanh): Likewise.
36177         * math/s_catanhf.c (__catanhf): Likewise.
36178         * math/s_catanhl.c (__catanhl): Likewise.
36179         * math/s_catanl.c (__catanl): Likewise.
36180         * math/libm-test.inc (catan_test): Add more tests.
36181         (catanh_test): Likewise.
36182         * sysdeps/i386/fpu/libm-test-ulps: Update.
36183         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36185 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36187         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36189 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
36191         [BZ #15416]
36192         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
36193         accurately for denominator in atan2.
36194         * math/s_catanf.c (__catanf): Likewise.
36195         * math/s_catanh.c (__catanh): Likewise.
36196         * math/s_catanhf.c (__catanhf): Likewise.
36197         * math/s_catanhl.c (__catanhl): Likewise.
36198         * math/s_catanl.c (__catanl): Likewise.
36199         * math/libm-test.inc (catan_test): Add more tests.
36200         (catanh_test): Likewise.
36201         * sysdeps/i386/fpu/libm-test-ulps: Update.
36202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36204 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36206         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
36208         * benchtests/Makefile (bench): Remove slow benchmarks.
36209         * benchtests/atan-inputs: Add slow benchmark inputs.
36210         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
36211         (BENCH_FUNC): Accept variant offset.
36212         (VARIANT): Define.
36213         * benchtests/bench-skeleton.c (main): Run benchmark for each
36214         variant.
36215         * benchtests/cos-inputs: Add slow benchmark inputs.
36216         * benchtests/exp-inputs: Likewise.
36217         * benchtests/pow-inputs: Likewise.
36218         * benchtests/sin-inputs: Likewise.
36219         * benchtests/slowatan-inputs: Remove.
36220         * benchtests/slowatan.c: Remove.
36221         * benchtests/slowcos-inputs: Remove.
36222         * benchtests/slowcos.c: Remove.
36223         * benchtests/slowexp-inputs: Remove.
36224         * benchtests/slowexp.c: Remove.
36225         * benchtests/slowpow-inputs: Remove.
36226         * benchtests/slowpow.c: Remove.
36227         * benchtests/slowsin-inputs: Remove.
36228         * benchtests/slowsin.c: Remove.
36229         * benchtests/slowtan-inputs: Remove.
36230         * benchtests/slowtan.c: Remove.
36231         * benchtests/tan-inputs: Add slow benchmark inputs.
36232         * scripts/bench.pl: Parse comments and directives.
36234         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
36235         in CPPFLAGS.
36236         ($(objpfx)bench-%.c): Remove *-ITER.
36237         * benchtests/bench-modf.c: Remove definition of ITER.
36238         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
36239         (main): Loop for DURATION seconds instead of fixed number of
36240         iterations.
36241         * scripts/bench.pl: Don't expect iterations in parameters.
36243 2013-04-29  Roland McGrath  <roland@hack.frob.com>
36245         * io/fchdir.c (__fchdir): Renamed from fchdir.
36246         (fchdir): Define as weak alias.
36248 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
36250         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
36251         (ERRNO_EDOM): Likewise.
36252         (ERRNO_ERANGE): Likewise.
36253         (noErrnoTests): New variable.
36254         (init_max_error): Set errno to 0.
36255         (test_single_errno): New function.
36256         (test_errno): Likewise.
36257         (check_float_internal): Call test_errno.  Set errno to 0.
36258         (check_complex): Refer to errno tests in comment.
36259         (check_int): Call test_errno.  Set errno to 0.
36260         (check_long): Likewise.
36261         (check_bool): Likewise.
36262         (check_longlong): Likewise.
36263         (cos_test): Use ERRNO_* flags for errno tests instead of
36264         check_int.
36265         (expm1_test): Likewise.
36266         (fmod_test): Likewise.
36267         (ilogb_test): Likewise.
36268         (lgamma_test): Likewise.
36269         (pow_test): Likewise.
36270         (remainder_test): Likewise.
36271         (sin_test): Likewise.
36272         (tan_test): Likewise.
36273         (yn_test): Likewise.
36274         (initialize): Set errno to 0.
36275         (main): Print number of errno tests.
36276         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
36278 2013-04-29  Andreas Jaeger  <aj@suse.de>
36280         [BZ #15084]
36281         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
36282         and RES_USEVC.
36284         [BZ #15085]
36285         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
36286         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
36287         unimplemented.
36289         [BZ #15380]
36290         * stdlib/random.c (__initstate): Return NULL if
36291         __initstate fails.
36293         [BZ #15086]
36294         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
36295         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
36296         RES_SNGLKUPREOP.
36298 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36300         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36302 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
36304         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
36305         of individual tests.
36306         (casin_test): Likewise.
36307         (casinh_test): Likewise.
36309 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
36311         [BZ #15409]
36312         * math/s_catan.c (__catan): Handle arguments with large real or
36313         imaginary part separately without squaring.
36314         * math/s_catanf.c (__catanf): Likewise.
36315         * math/s_catanh.c (__catanh): Likewise.
36316         * math/s_catanhf.c (__catanhf): Likewise.
36317         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
36318         and redefine.
36319         (__catanhl): Handle arguments with large real or imaginary part
36320         separately without squaring.
36321         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
36322         and redefine.
36323         (__catanl): Handle arguments with large real or imaginary part
36324         separately without squaring.
36325         * math/libm-test.inc (catan_test): Add more tests.
36326         (catanh_test): Likewise.
36327         * sysdeps/i386/fpu/libm-test-ulps: Update.
36328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36330 2013-04-27  Andreas Jaeger  <aj@suse.de>
36332         [BZ #15007]
36333         * stdlib/stdlib.h: Update guards for qecvt.
36334         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
36335         <stdlib.h>.
36337 2013-04-27  Allan McRae  <allan@archlinux.org>
36339         * sysdeps/i386/fpu/libm-test-ulps: Update.
36341 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
36343         [BZ #15406]
36344         * math/s_catan.c: Include <float.h>.
36345         (__catan): Ensure underflow exception occurs for underflowed
36346         result.
36347         * math/s_catanf.c: Include <float.h>.
36348         (__catanf): Ensure underflow exception occurs for underflowed
36349         result.
36350         * math/s_catanh.c: Include <float.h>.
36351         (__catanh): Ensure underflow exception occurs for underflowed
36352         result.
36353         * math/s_catanhf.c: Include <float.h>.
36354         (__catanhf): Ensure underflow exception occurs for underflowed
36355         result.
36356         * math/s_catanhl.c: Include <float.h>.
36357         (__catanhl): Ensure underflow exception occurs for underflowed
36358         result.
36359         * math/s_catanl.c: Include <float.h>.
36360         (__catanl): Ensure underflow exception occurs for underflowed
36361         result.
36362         * math/libm-test.inc (catan_test): Add more tests.
36363         (catanh_test): Likewise.
36365         [BZ #15405]
36366         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
36367         underflowed result.
36368         * math/s_ccoshf.c (__ccoshf): Likewise.
36369         * math/s_ccoshl.c (__ccoshl): Likewise.
36370         * math/s_csin.c (__csin): Likewise.
36371         * math/s_csinf.c (__csinf): Likewise.
36372         * math/s_csinh.c (__csinh): Likewise.
36373         * math/s_csinhf.c (__csinhf): Likewise.
36374         * math/s_csinhl.c (__csinhl): Likewise.
36375         * math/s_csinl.c (__csinl): Likewise.
36376         * math/libm-test.inc (ccos_test): Add more tests.
36377         (ccosh_test): Likewise.
36378         (csin_test): Likewise.
36379         (csinh_test): Likewise.
36381 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36383         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
36384         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
36385         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
36386         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
36387         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
36388         powerpc/power5+/fpu folders.
36389         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
36392 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
36394         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36396 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
36398         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
36399         additions to variable.
36400         [$(config-machine) = x86_64] (modules-names): Likewise.
36401         ($(objpfx)tst-audit3): Remove dependency.
36402         ($(objpfx)tst-audit3.out): Likewise.
36403         ($(objpfx)tst-audit4): Likewise.
36404         ($(objpfx)tst-audit4.out): Likewise.
36405         ($(objpfx)tst-audit5): Likewise.
36406         ($(objpfx)tst-audit5.out): Likewise.
36407         ($(objpfx)tst-audit6): Likewise.
36408         ($(objpfx)tst-audit6.out): Likewise.
36409         ($(objpfx)tst-audit7): Likewise.
36410         ($(objpfx)tst-audit7.out): Likewise.
36411         (tst-audit3-ENV): Remove variable.
36412         (tst-audit4-ENV): Likewise.
36413         (tst-audit5-ENV): Likewise.
36414         (tst-audit6-ENV): Likewise.
36415         (tst-audit7-ENV): Likewise.
36416         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
36417         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
36418         addition to variable.
36419         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
36420         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
36421         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
36422         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
36423         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
36424         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
36425         tst-audit3, tst-audit4 and tst-audit5.
36426         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
36427         tst-audit6 and tst-audit7.
36428         [$(subdir) = elf] (modules-names): Add audit modules for those
36429         tests.
36430         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
36431         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
36432         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
36433         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
36434         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
36435         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
36436         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
36437         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
36438         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
36439         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
36440         [$(subdir) = elf] (tst-audit3-ENV): New variable.
36441         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
36442         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
36443         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
36444         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
36445         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
36446         Likewise.
36447         [$(subdir) = elf && $(config-cflags-avx) = yes]
36448         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
36449         [$(subdir) = elf && $(config-cflags-avx) = yes]
36450         (CFLAGS-tst-auditmod4a.c): Likewise.
36451         [$(subdir) = elf && $(config-cflags-avx) = yes]
36452         (CFLAGS-tst-auditmod4b.c): Likewise.
36453         [$(subdir) = elf && $(config-cflags-avx) = yes]
36454         (CFLAGS-tst-auditmod6b.c): Likewise.
36455         [$(subdir) = elf && $(config-cflags-avx) = yes]
36456         (CFLAGS-tst-auditmod6c.c): Likewise.
36457         [$(subdir) = elf && $(config-cflags-avx) = yes]
36458         (CFLAGS-tst-auditmod7b.c): Likewise.
36459         * elf/tst-audit3.c: Move to ...
36460         * sysdeps/x86_64/tst-audit3.c: ... here.
36461         * elf/tst-audit4.c: Move to ...
36462         * sysdeps/x86_64/tst-audit4.c: ... here.
36463         * elf/tst-audit5.c: Move to ...
36464         * sysdeps/x86_64/tst-audit5.c: ... here.
36465         * elf/tst-audit6.c: Move to ...
36466         * sysdeps/x86_64/tst-audit6.c: ... here.
36467         * elf/tst-audit7.c: Move to ...
36468         * sysdeps/x86_64/tst-audit7.c: ... here.
36469         * elf/tst-auditmod3a.c: Move to ...
36470         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
36471         * elf/tst-auditmod3b.c: Move to ...
36472         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
36473         * elf/tst-auditmod4a.c: Move to ...
36474         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
36475         * elf/tst-auditmod4b.c: Move to ...
36476         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
36477         * elf/tst-auditmod5a.c: Move to ...
36478         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
36479         * elf/tst-auditmod5b.c: Move to ...
36480         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
36481         * elf/tst-auditmod6a.c: Move to ...
36482         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
36483         * elf/tst-auditmod6b.c: Move to ...
36484         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
36485         * elf/tst-auditmod6c.c: Move to ...
36486         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
36487         * elf/tst-auditmod7a.c: Move to ...
36488         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
36489         * elf/tst-auditmod7b.c: Move to ...
36490         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
36492 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
36494         [BZ #15366]
36495         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
36496         define unconditionally.
36497         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
36498         define unconditionally.
36499         (INT8_C, INT16_C, etc.): Likewise.
36501 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
36503         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
36504         __ehdr_start with hidden visibility.
36506         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
36508 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
36510         * math/libm-test.inc (cos_test): Use accurate hex constants.
36511         (sincost_test): Likewise.
36513 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
36515         * math/libm-test.inc (catan_test): Add more tests.
36516         (catanh_test): Likewise.
36518         * math/s_catanf.c (__catanf): Use suffixed floating-point
36519         constants.
36520         * math/s_catanhf.c (__catanhf): Likewise.
36521         * math/s_catanhl.c (__catanhl): Likewise.
36522         * math/s_catanl.c (__catanl): Likewise.
36524         [BZ #15394]
36525         * math/s_catan.c (__catan): Calculate imaginary part of result
36526         with log1p not log unless computing log of number close to 0.
36527         * math/s_catanf.c (__catanf): Likewise.
36528         * math/s_catanl.c (__catanl): Likewise.
36529         * math/s_catanh.c (__catanh): Calculate real part of result with
36530         log1p not log unless computing log of number close to 0.
36531         * math/s_catanhf.c (__catanhf): Likewise.
36532         * math/s_catanhl.c (__catanhl): Likewise.
36533         * math/libm-test.inc (catan_test): Add more tests.
36534         (catanh_test): Likewise.
36535         * sysdeps/i386/fpu/libm-test-ulps: Update.
36536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36538 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36540         * benchtests/Makefile: Mention files in which fast and slow
36541         paths of math functions are implemented.
36543 2013-04-23  Roland McGrath  <roland@hack.frob.com>
36545         * sysdeps/posix/timespec_get.c: New file.
36547 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36549         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
36550         POWER.
36551         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
36552         for POWER.
36553         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
36554         powerpc/power5/fpu folders.
36555         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
36556         * benchtests/Makefile: Add modf testcase.
36557         * benchtests/bench-modf.c: New file: Benchmark test for mo
36559 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
36561         [BZ #14888]
36562         * time/Makefile (tests): Add tst-strptime-whitespace.
36563         * time/strptime_l.c (get_number): Use ISSPACE.
36564         (__strptime_internal): Likewise.
36565         * time/tst-strptime-whitespace.c: New test case.
36567 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
36569         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
36570         member.
36571         (_nss_files_init): Set it here.
36573 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
36575         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
36576         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
36577         unsigned.
36579 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
36581         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
36583 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36585         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
36586         size just once.
36588 2013-04-21  David S. Miller  <davem@davemloft.net>
36590         * po/ru.po: Update Russion translation from translation project.
36592 2013-04-17  Adam Conrad  <adconrad@0c3.net>
36594         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
36595         and setfsgid.
36597 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
36599         * configure.in: Remove i386 configure warning. Remove i386 case.
36600         * configure: Regenerate.
36601         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
36602         Add example to error message.
36603         * sysdeps/i386/configure: Regenerate.
36605 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
36607         * benchtests/Makefile (bench): Add cos, tan, slowcos and
36608         slowtan.
36609         * benchtests/cos-inputs: New file.
36610         * benchtests/slowcos-inputs: New file.
36611         * benchtests/slowcos.c: New file.
36612         * benchtests/slowtan-inputs: New file.
36613         * benchtests/slowtan.c: New file.
36614         * benchtests/tan-inputs: New file.
36616 2013-04-16  Roland McGrath  <roland@hack.frob.com>
36618         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
36619         considered kosher.
36621 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36623         * benchtests/Makefile: Include cppflags-iterator.mk to add
36624         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
36626         * Makefile.in (bench-clean): New target.
36627         * benchtests/Makefile (bench-clean): Likewise.
36629 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
36631         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
36633 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
36635         * stdio-common/tstdiomisc.c: Fix coding-style violation.
36637 2013-04-15  Andreas Schwab  <schwab@suse.de>
36639         * nscd/grpcache.c (cache_addgr): Properly check for short write.
36640         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36641         * nscd/pwdcache.c (cache_addpw): Likewise.
36642         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
36643         more than recsize.
36645 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36647         * benchtests/Makefile (bench): Write all output to
36648         bench-out.tmp together.
36650 2013-04-15  Andreas Schwab  <schwab@suse.de>
36652         * nscd/nscd.c (main): Don't fork again after closing files.
36654 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36656         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
36658         * benchtests/Rules (bench-deps): Collect dependencies into a
36659         single variable.  Add Makefile to dependencies.
36660         ($(objpfx)bench-%.c): Depend on bench-deps.
36662 2013-04-12  Roland McGrath  <roland@hack.frob.com>
36663             Xavier Roche  <roche+kml2@exalead.com>
36665         [BZ #15361]
36666         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
36667         just that it's a file descriptor.
36668         * manual/llio.texi (Synchronizing AIO Operations): Update description
36669         for EBADF error from aio_fsync.
36671 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
36673         * Rules (bench): Move target definition...
36674         * benchtests/Makefile: ... here.
36676 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
36678         * math/libm-test.inc (cos_test): Fix PI/2 test.
36679         (sincos_test): Likewise.
36680         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
36681         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
36683 2013-04-11  Andreas Schwab  <schwab@suse.de>
36685         [BZ #13988]
36686         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
36687         accept exponent character only when digits were seen.
36688         * stdio-common/Makefile (tests): Add bug26.
36689         * stdio-common/bug26.c: New file.
36691         [BZ #14293]
36692         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
36693         non-freeable.
36695 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36697         * Makeconfig (rtld-prefix): Define built linker prefix.
36698         * Rules (run-bench): Use it.
36699         * math/Makefile (run-regen-ulps): Likewise.
36701         * Rules (bench): Remove eval.
36703 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36704             Roland McGrath  <roland@hack.frob.com>
36705             Ondrej Bilka  <neleai@seznam.cz>
36707         [BZ #15346]
36708         * time/getdate.c: Include ctype.h and alloca.h.
36709         (__getdate_r): Trim leading and trailing spaces of input.
36710         * time/tst-getdate.c (tests): Add tests with leading and
36711         trailing spaces.
36713 2013-04-08  Roland McGrath  <roland@hack.frob.com>
36715         [BZ #14280]
36716         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
36717         when computing value.
36719 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36721         * math/README.libm-test (How can I generate "libm-test-ulps"?):
36722         Use testrun.sh to run libm tests.
36724         [BZ #15309]
36725         * elf/dl-open.c (dl_open_worker): memset all of seen array.
36727 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
36729         [BZ #15264]
36730         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
36732 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36734         * Makefile.in (regen-ulps): New target.
36735         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
36736         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
36737         [ifneq (no,$(PERL)] (regen-ulps): New target.
36738         [ifeq (no,$(PERL)] (regen-ulps): New target.
36739         * math/libm-test.inc (ulps_file_name): Define.
36740         (output_dir): New variable.
36741         (options): Add "output-dir" option.
36742         (parse_opt): Handle 'o' case.
36743         (main): If output_dir is non-NULL use it as a prefix
36744         otherwise use "".
36745         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
36747 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36749         [BZ #10060, #10062]
36750         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
36751         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
36752         fail configure if __sync_val_compare_and_swap is not inlined.
36753         * sysdeps/i386/configure: Regenerate.
36754         * configure.in: Build for i686 when configured for i386.
36755         * configure: Regenerate.
36756         * README: Remove i386 reference.
36758 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36760         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
36761         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36763 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
36765         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
36766         (lmsnanval): New variables.
36767         (F): Add conversion tests.
36768         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
36769         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
36771         * stdio-common/tstdiomisc.c (F): Properly collect individual
36772         tests' results.
36774         [BZ #14686, #15336]
36775         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
36776         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
36777         Instead, use input NaN values or generate a qNaN by arithmetic
36778         operation.  Also fix bugs to comply with the standard.
36779         * math/libm-test.inc (remainder_test): Add more tests.
36781         [BZ #15335, #15342]
36782         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
36783         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
36784         input NaN values or generate a qNaN by arithmetic operation.
36786         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
36787         unreachable code.
36789         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
36790         definitions.
36792 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
36794         [BZ #14478]
36795         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
36796         underflowed result.
36797         * math/s_cexpf.c (__cexpf): Likewise.
36798         * math/s_cexpl.c (__cexpl): Likewise.
36799         * math/libm-test.inc (cexp_test): Add more tests.
36801 2013-04-03  Andreas Schwab  <schwab@suse.de>
36803         [BZ #15330]
36804         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
36805         order arrays from heap if bigger than alloca cutoff.
36807 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
36809         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
36810         (SNAN_TESTS_double): Refer to GCC PR56831.
36811         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
36812         GCC PR56828.
36814 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
36816         * Rules (bench): Move bench.out after the run is complete.
36818         * Rules (bench): Echo currently running benchmark.
36820         * benchtests/Makefile (bench): Add atan and slowatan.
36821         * benchtests/atan-inputs: New file.
36822         * benchtests/slowatan-inputs: New file.
36823         * benchtests/slowatan.c: New file.
36825         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
36826         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
36827         its value.
36829         [BZ #15305]
36830         * sysdeps/unix/sysv/linux/kernel-features.h
36831         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
36832         __ASSUME_XFS_RESTRICTED_CHOWN.
36833         * sysdeps/unix/sysv/linux/pathconf.c
36834         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
36835         Save and restore errno.
36837 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
36839         [BZ #15327]
36840         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
36841         arguments using __kernel_casinh.
36842         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
36843         arguments using __kernel_casinhf.
36844         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
36845         arguments using __kernel_casinhl.
36846         * math/libm-test.inc (cacosh_test): Add more tests.
36847         * sysdeps/i386/fpu/libm-test-ulps: Update.
36848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36850 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36852         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
36853         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
36855         * bench/Makefile (bench): Add sin and slowsin.
36856         * benchtests/sin-inputs: New file.
36857         * benchtests/slowsin-inputs: New file.
36858         * benchtests/slowsin.c: New file.
36860         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
36861         (bench): Add slowexp and slowpow.
36862         (exp-ITER): Increase iterations.
36863         (pow-ITER): Likewise.
36864         * benchtests/exp-inputs: Change input.
36865         * benchtests/pow-inputs: Likewise.
36866         * benchtests/slowexp-inputs: New file.
36867         * benchtests/slowexp.c: New file.
36868         * benchtests/slowpow-inputs: New file.
36869         * benchtests/slowpow.c: New file.
36871 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36873         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
36874         instructions.
36875         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36876         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
36877         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
36878         * benchtests/Makefile: Add rint benchtest.
36879         * benchtests/rint-inputs: Input for rint benchtest.
36881 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
36883         * Versions.def (libm): Add GLIBC_2.18.
36884         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
36885         hidden libm prototypes.
36886         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
36887         * math/Makefile (libm-calls): Add s_issignaling.
36888         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
36889         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
36890         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
36891         declaration.
36892         * math/math.h [__USE_GNU] (issignaling): New macro.
36893         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
36894         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
36895         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
36896         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
36897         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
36898         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
36899         * manual/arith.texi (issignaling): New section.
36900         * manual/libm-err-tab.pl (@all_functions): Update comment.
36901         * math/gen-libm-test.pl (parse_args): Apply special handling for
36902         issignaling.
36903         * math/libm-test.inc (print_float, issignaling_test): New
36904         functions.
36905         (check_float_internal): Add issignaling checks.
36906         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
36907         default definition.
36908         * sysdeps/powerpc/math-tests.h: New file.
36909         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
36910         tests.
36911         * math/test-snan.c (TEST_FUNC): Likewise.
36913 2013-03-30  David S. Miller  <davem@davemloft.net>
36915         * po/de.po: Update from translation team.
36917 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
36919         [BZ #10357]
36920         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36921         imaginary part less than 1.0 and real part less than 0.5
36922         specially.
36923         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36924         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36925         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
36926         (cacos_test): Add more tests.
36927         (casin_test): Likewise.
36928         (casinh_test): Likewise.
36929         * sysdeps/i386/fpu/libm-test-ulps: Update.
36930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36932 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36934         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
36935         ONE with its value.
36937         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
36938         (__pow_mp): Replace ONE and MONE with their values.
36939         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36940         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
36941         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36942         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
36943         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36944         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36946         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
36948         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
36949         (__pow_mp): Replace ZERO and MZERO with their values.
36950         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
36951         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36952         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36953         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
36954         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36955         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
36956         (__sqr): Likewise.
36958         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
36960         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
36962 2013-03-28  Roland McGrath  <roland@hack.frob.com>
36964         * include/stdlib.h [!SHARED] (__call_tls_dtors):
36965         Declare with __attribute__ ((weak)).
36966         * stdlib/exit.c (__libc_atexit) [!SHARED]:
36967         Call __call_tls_dtors only if it's not NULL.
36969 2013-03-28  Roland McGrath  <roland@hack.frob.com>
36971         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
36972         didn't do it already, then set _dl_phdr and _dl_phnum based on the
36973         magic __ehdr_start linker symbol if it's defined.
36974         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
36975         them up here if it was already done.
36977         * elf/dl-support.c (_dl_phdr): Make pointer to const.
36978         (_dl_aux_init): Use const in cast when setting it.
36979         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
36980         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
36981         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
36983         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
36984         Declare them here.
36985         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
36986         * csu/libc-tls.c: Nor here.
36987         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
36989         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
36990         (__libc_message): Never call vsyslog.
36992 2013-03-28  Alan Modra  <amodra@gmail.com>
36994         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
36995         Define as empty.
36996         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
36997         Likewise.
36999 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37001         [BZ #15214]
37002         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
37003         underflow.
37004         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37006 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37008         [BZ #15304]
37009         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
37010         Don't add gid passed as argument.
37012         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
37014 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
37016         [BZ #15307]
37017         * math/k_casinh.c (__kernel_casinh): Handle arguments with
37018         imaginary part between 1.0 and 1.5 and real part less than 0.5
37019         specially.
37020         * math/k_casinhf.c (__kernel_casinhf): Likewise.
37021         * math/k_casinhl.c (__kernel_casinhl): Likewise.
37022         * math/libm-test.inc (cacos_test): Add more tests.
37023         (casin_test): Likewise.
37024         (casinh_test): Likewise.
37025         * sysdeps/i386/fpu/libm-test-ulps: Update.
37026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37028 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37030         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
37031         constants.
37032         (norm): Likewise.
37033         (denorm): Likewise.
37034         (__dbl_mp): Likewise.
37035         (add_magnitudes): Likewise.
37036         (sub_magnitudes): Likewise.
37037         (__add): Likewise.
37038         (__sub): Likewise.
37039         (__mul): Likewise.
37040         (__sqr): Likewise.
37041         (__inv): Likewise.
37042         (__dvd): Likewise.
37044         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
37045         commented code.
37046         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
37047         (__dubcos): Likewise.
37048         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
37049         (__ieee754_acos): Likewise.
37050         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
37051         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
37052         (__exp1): Likewise.
37053         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37054         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37055         (log1): Likewise.
37056         (my_log2): Likewise.
37057         (checkint): Likewise.
37058         * sysdeps/ieee754/dbl-64/e_remainder.c
37059         (__ieee754_remainder): Likewise.
37060         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
37061         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
37062         (bsloww): Likewise.
37063         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
37065         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
37066         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
37067         MANTISSA_STORE_T to store computations on mantissa.  Use
37068         macros for rounding and division.
37069         (denorm): Likewise.
37070         (__dbl_mp): Likewise.
37071         (add_magnitudes): Likewise.
37072         (sub_magnitudes): Likewise.
37073         (__mul): Likewise.
37074         (__sqr): Likewise.
37075         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
37076         powers of two in terms of TWOPOW macro.
37077         (mp_no): Make type of mantissa as MANTISSA_T.
37078         [!RADIXI]: Define RADIXI.
37079         [!TWO52]: Define TWO52.
37080         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
37082 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37084         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
37085         llroundl symbol when building for PPC32.
37087 2013-03-24  Mark H Weaver  <mhw@netris.org>
37089         * manual/arith.texi (Normalization Functions): Fix prototypes for
37090         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
37092 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37094         [BZ #13889]
37095         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
37096         high value to check if expl overflow.
37097         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
37098         to check for underflow and overflow.
37099         * math/libm-test.inc: Add exp test.
37101 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
37103         [BZ #11120]
37104         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
37105         with NOT_IN_libc.
37107 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37109         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
37110         symbol.
37112 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
37114         * math/gen-libm-test.pl (parse_args, special_functions): Properly
37115         wrap blocks consisting of several statements.
37117         * sysdeps/generic/math-tests.h: New file.
37118         * sysdeps/i386/fpu/math-tests.h: Likewise.
37119         * math/test-snan.c: Include it.
37120         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
37122 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
37124         [BZ #15285]
37125         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
37126         (__ieee754_j0l): Do not improve calculations using cos of twice
37127         input for inputs above LDBL_MAX / 2.0L.
37128         (__ieee754_y0l): Likewise.
37129         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
37130         (__ieee754_j1l): Do not improve calculations using cos of twice
37131         input for inputs above LDBL_MAX / 2.0L.
37132         (__ieee754_y1l): Likewise.
37133         * math/libm-test.inc (j0_test): Add another test.
37134         (j1_test): Likewise.
37135         (y0_test): Likewise.
37136         (y1_test): Likewise.
37137         * sysdeps/i386/fpu/libm-test-ulps: Update.
37139 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37141         * Rules ($(objpfx)bench-%.c): Include code from a C source
37142         file.
37144 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
37146         [BZ #15287]
37147         * math/k_casinh.c (__kernel_casinh): Handle arguments with
37148         imaginary part 1.0 and real part less than 0.5 specially.
37149         * math/k_casinhf.c (__kernel_casinhf): Likewise.
37150         * math/k_casinhl.c (__kernel_casinhl): Likewise.
37151         * math/libm-test.inc (cacos_test): Add more tests.
37152         (casin_test): Likewise.
37153         (casinh_test): Likewise.
37154         * sysdeps/i386/fpu/libm-test-ulps: Update.
37155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37157 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37159         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
37160         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
37162 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
37164         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
37165         * config.make.in (config-cflags-sse4): Remove variable.
37166         (config-cflags-avx): Likewise.
37167         (config-cflags-sse2avx): Likewise.
37168         (config-cflags-novzeroupper): Likewise.
37169         (config-asflags-i686): Likewise.
37170         (have-mfma4): Likewise.
37171         (have-as-vis3): Likewise.
37172         (MIG): Likewise.
37173         * configure.in (MIG): Do not AC_SUBST.
37174         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
37175         (libc_cv_cc_sse4): Do not AC_SUBST.
37176         (libc_cv_cc_avx): Likewise.
37177         (libc_cv_cc_sse2avx): Likewise.
37178         (libc_cv_cc_novzeroupper): Likewise.
37179         (libc_cv_cc_fma4): Likewise.
37180         (libc_cv_as_i686): Likewise.
37181         (libc_cv_sparc_as_vis3): Likewise.
37182         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
37183         LIBC_CONFIG_VAR.
37184         (config-asflags-i686): Likewise.
37185         (config-cflags-avx): Likewise.
37186         (config-cflags-sse2avx): Likewise.
37187         (have-mfma4): Likewise.
37188         (config-cflags-novzeroupper): Likewise.
37189         * sysdeps/mach/configure.in (MIG): Likewise.
37190         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
37191         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
37192         LIBC_CONFIG_VAR.
37193         (config-cflags-avx): Likewise.
37194         (config-cflags-sse2avx): Likewise.
37195         (have-mfma4): Likewise.
37196         (config-cflags-novzeroupper): Likewise.
37197         * configure: Regenerated.
37198         * sysdeps/i386/configure: Likewise.
37199         * sysdeps/mach/configure: Likewise.
37200         * sysdeps/sparc/configure: Likewise.
37201         * sysdeps/x86_64/configure: Likewise.
37203 2013-03-20  Roland McGrath  <roland@hack.frob.com>
37205         [BZ #14812]
37206         * locale/programs/localedef.c (options): Put N_ translation marker
37207         on argument names, not just descriptions.
37209 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37211         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
37213 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
37215         [BZ #14176]
37216         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
37218 2013-03-19  Roland McGrath  <roland@hack.frob.com>
37220         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
37221         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
37222         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
37223         [!BEFORE_ABORT] (before_abort): New function.
37224         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
37225         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
37226         (writev_for_fatal): New function.
37227         (WRITEV_FOR_FATAL): New macro; call that.
37228         (backtrace_and_maps): New function.
37229         (BEFORE_ABORT): New macro; call that.
37230         (struct str_list): Type removed.
37231         (__libc_message, __libc_fatal): Functions removed.
37232         Include <sysdeps/posix/libc_fatal.c> instead.
37234 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
37236         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
37237         constants.
37238         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
37239         double constants.
37241 2013-03-19  Andreas Schwab  <schwab@suse.de>
37243         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
37244         * sysdeps/gnu/configure: Regenerate.
37246         * configure.in: Substitute libc_cv_rtlddir.
37247         * configure: Regenerate.
37248         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
37249         * Makeconfig (rtlddir, inst_rtlddir): New variables.
37250         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
37251         * elf/Makefile (install-others, CFLAGS-interp.c)
37252         (ldso_install, common-ldd-rewrite): Likewise.
37253         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
37254         $(inst_slibdir)/$(rtld-installed-name).
37255         * scripts/rellns-sh: Add -p option.
37256         * Makerules (make-shlib-link): Use rellns-sh to get relative name
37257         for source.
37259 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37261         * manual/nptl.texi: Renamed to ...
37262         * manual/threads.texi: ... this.
37263         * manual/Makefile (chapters): Update.
37265 2013-03-18  Roland McGrath  <roland@hack.frob.com>
37267         [BZ #14812]
37268         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
37269         on argument names, not just descriptions.
37270         * malloc/memusagestat.c (options): Likewise.
37271         * nss/getent.c (options): Likewise.
37273 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
37275         [BZ #14812]
37276         * iconv/iconv_prog.c (options): Put N_ translation marker
37277         on argument names, not just descriptions.
37278         * iconv/iconvconfig.c (options): Likewise.
37280 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
37282         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
37283         implementation which is faster on all x86_64 architectures.
37284         Tested on AMD, Intel Nehalem, SNB, IVB.
37285         * sysdeps/x86_64/strnlen.S: Likewise.
37287         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
37288         Remove all multiarch strlen and strnlen versions.
37289         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
37290         Remove strlen and strnlen related parts.
37292         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
37293         Inline strlen part.
37294         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
37296         * sysdeps/x86_64/multiarch/strlen.S: Remove.
37297         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
37298         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
37299         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
37300         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
37301         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
37303 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
37305         * manual/memory.texi (Malloc Tunable Parameters):
37306         Sort parameters alphabetically. Add comments for missing entries.
37308 2013-03-17  David S. Miller  <davem@davemloft.net>
37310         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37312 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
37314         [BZ #15283]
37315         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
37316         for arguments at most half maximum finite value.
37317         * math/libm-test.inc (j0_test): Add more tests.
37318         (j1_test): Likewise.
37319         (y0_test): Likewise.
37320         (y1_test): Likewise.
37321         * sysdeps/i386/fpu/libm-test-ulps: Update.
37322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37324         [BZ #14155]
37325         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
37326         1 / x and functions P and Q for arguments above 0x1p256L.
37327         (__ieee754_y0l): Likewise.
37328         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
37329         (__ieee754_y1l): Likewise.
37330         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
37331         (j1_test): Likewise.
37332         (y0_test): Likewise.
37333         (y1_test): Likewise.
37335 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
37337         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
37338         variable.
37340 2013-03-15  Roland McGrath  <roland@hack.frob.com>
37342         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
37343         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
37344         zero since it's initialized to EXEC_PAGESIZE.
37346         * sysdeps/unix/sysv/linux/ldsodefs.h
37347         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
37348         * sysdeps/generic/ldsodefs.h: ... here.
37350 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
37352         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
37354         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
37355         math/test-snan.c.
37356         * math/test-snan.c: Renamed from
37357         sysdeps/powerpc/fpu/test-powerpc-snan.c.
37358         * math/Makefile (tests): Add test-snan.
37359         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
37360         test-powerpc-snan.
37362         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
37363         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
37364         functions.
37365         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
37366         __builtin_nan family of functions.
37367         * math/libm-test.inc (initialize): Initialize qnan_value with
37368         __builtin_nan family of functions.
37369         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
37370         Remove variables.
37371         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
37372         Remove functions.
37373         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
37374         storage class.  Initialize qNaN_var and sNaN_var with
37375         __builtin_nan and __builtin_nans families of functions,
37376         respectively.
37378         * math/libm-test.inc (acosh_test): Also test with qNaN input.
37379         (sqrt_test): Remove duplicate test with qNaN input.
37380         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
37381         (round_test, signbit_test, significand_test): Note missing +/-Inf
37382         as well as qNaN tests.
37384         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
37385         qNaN_var.  Fix a few strings, too.
37386         * math/libm-test.inc (nan_value): Rename to qnan_value.
37387         * math/gen-libm-test.pl (%beautify): Adjust to that.
37388         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
37389         * math/test-misc.c (main): Likewise.
37390         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
37391         to __qnan_bytes, and __qnan_union, respectively.
37392         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
37393         Likewise.
37394         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
37395         and lqnanval, respectively.
37396         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
37397         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
37398         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
37399         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
37401         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
37402         * math/test-misc.c (main) [__x86_64__]: Enable test for long
37403         doubles.
37405         * math/test-misc.c (main): Fix copy'n'pastos.
37406         * misc/tst-efgcvt.c (special): Likewise.
37408         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
37409         Remove declarations.
37411 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37413         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
37414         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
37415         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
37416         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
37418 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37420         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
37421         macro to return vdso values correctly in IFUNC implementations.
37422         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
37423         Optimization by using IFUNC.
37425 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37426             Richard Henderson  <rth@redhat.com>
37427             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37429         * Makefile.in (bench): New target.
37430         * NEWS: Mention the benchmark framework.
37431         * Rules (bench): Likewise.
37432         (binaries-bench): Generate binaries for functions to
37433         benchmark.
37434         * benchtests/Makefile: New makefile for benchmark tests.
37435         * benchtests/bench-skeleton.c: New skeleton file for benchmark
37436         programs.
37437         * benchtests/exp-inputs: New input file for EXP function.
37438         * benchtests/pow-inputs: New input file for POW function.
37439         * scripts/bench.pl: New script to generate source files for
37440         benchmark programs.
37442 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37444         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
37445         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
37446         computations on mantissa.  Use macros for rounding and
37447         division.
37448         (denorm): Likewise.
37449         (__dbl_mp): Likewise.
37450         (add_magnitudes): Likewise.
37451         (sub_magnitudes): Likewise.
37452         (__mul): Likewise.
37453         (__sqr): Likewise.
37454         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
37455         powers of two in terms of TWOPOW macro.
37456         (mp_no): Make type of mantissa as MANTISSA_T.
37457         [!RADIXI]: Define RADIXI.
37458         [!TWO52]: Define TWO52.
37459         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
37461         * manual/nptl.texi (cindex): Modify threads to pthreads.
37463 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
37465         * sysdeps/x86_64/preconfigure: Regenerated.
37467 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
37469         [BZ #14155]
37470         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
37471         0x1p28 and above.
37472         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
37473         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
37474         0x1p28 and above.
37475         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
37476         * math/libm-test.inc (j0_test): Do not allow one spurious
37477         underflow exception.
37478         (y1_test): Likewise.
37480 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37482         * manual/Makefile (chapters): Add nptl.
37483         * manual/debug.texi (Debugging Support): Add link to Threads
37484         chapter.
37485         * manual/nptl.texi: New file.
37487         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
37489 2013-03-14  Petr Baudis  <pasky@ucw.cz>
37491         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
37492         for non-NULL pointer before the memory validity test. Pointed
37493         out by Holger Brunck <holger.brunck@keymile.com>.
37495 2013-03-13  Andreas Schwab  <schwab@suse.de>
37497         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
37498         instead of .os.
37500 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
37502         * timezone/zic.c: Update from tzcode 2013b.
37504 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
37506         * manual/install.texi (Configuring and compiling):
37507         Mention i686 and i586.
37508         * INSTALL: Regenerate.
37510 2013-03-12  Roland McGrath  <roland@hack.frob.com>
37512         * sysdeps/init_array/elf-init.c: New file.
37513         * csu/elf-init.c
37514         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
37515         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
37517         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
37518         __gmon_start__ as global, but as static with a .preinit_array pointer.
37519         * sysdeps/init_array/gmon-start.c: New file.  Use that.
37520         * sysdeps/init_array/crti.S: New file, empty except for comments.
37521         * sysdeps/init_array/crtn.S: Likewise.
37523 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
37525         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
37526         definining bcopy.
37527         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37528         Remove Prefer_SSE_for_memop.
37529         * sysdeps/x86_64/multiarch/init-arch.h: Remove
37530         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
37531         HAS_PREFER_SSE_FOR_MEMOP.
37532         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
37533         memset-x86-64.
37534         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
37535         Remove bzero, memset ifunc support.
37536         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
37537         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
37538         * sysdeps/x86_64/multiarch/memset.S: Likewise.
37539         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37541 2013-03-11  Andreas Schwab  <schwab@suse.de>
37543         [BZ #15234]
37544         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
37545         by SHLIB_COMPAT.
37546         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
37547         (GLIBC_2.16): Remove pthread_atfork.
37549 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
37551         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
37552         (ptestcases.h): Likewise.
37554 2013-03-08  Roland McGrath  <roland@hack.frob.com>
37556         * Makeconfig ($(common-objpfx)config.status): Depend on
37557         sysdeps/*/preconfigure{,.in} too.
37559 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
37561         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
37562         (__free_hook): Use void * instead of __malloc_ptr_t.
37563         (__malloc_hook): Likewise.
37564         (__realloc_hook): Likewise.
37565         (__memalign_hook): Likewise.
37566         (__after_morecore_hook): Likewise.
37567         * malloc/arena.c (save_malloc_hook): Likewise.
37568         (save_free_hook): Likewise.
37569         * malloc/hooks.c (malloc_hook_ini): Likewise.
37570         (realloc_hook_ini): Likewise.
37571         (memalign_hook_ini): Likewise.
37572         * malloc/malloc.c (malloc_hook_ini): Likewise.
37573         (realloc_hook_ini): Likewise.
37574         (memalign_hook_ini): Likewise.
37575         (__free_hook): Likewise.
37576         (__malloc_hook): Likewise.
37577         (__realloc_hook): Likewise.
37578         (__memalign_hook): Likewise.
37579         (__libc_malloc): Likewise.
37580         (__libc_free): Likewise.
37581         (__libc_realloc): Likewise.
37582         (__libc_memalign): Likewise.
37583         (__libc_valloc): Likewise.
37584         (__libc_pvalloc): Likewise.
37585         (__libc_calloc): Likewise.
37586         (__posix_memalign): Likewise.
37587         * malloc/morecore.c (__sbrk): Likewise.
37588         (__default_morecore): Likewise.
37590         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
37592         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
37593         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
37594         __malloc_ptrdiff_t.
37596         * malloc/malloc.h (__malloc_size_t): Remove macro.
37597         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
37598         __malloc_size_t.
37599         (old_memalign_hook): Likewise.
37600         (old_realloc_hook): Likewise.
37601         (struct hdr): Likewise.
37602         (flood): Likewise.
37603         (mallochook): Likewise.
37604         (memalignhook): Likewise.
37605         (reallochook): Likewise.
37606         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
37607         (tr_old_realloc_hook): Likewise.
37608         (tr_old_memalign_hook): Likewise.
37609         (tr_mallochook): Likewise.
37610         (tr_reallochook): Likewise.
37611         (tr_memalignhook): Likewise.
37613 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37615         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
37616         default_ldbl_pack and using as default implementation.
37617         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
37618         implementation.
37619         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
37620         redundant definition.
37621         (ldbl_insert_mantissa): Likewise.
37622         (ldbl_canonicalize): Likewise.
37623         (ldbl_nearbyint): Likewise.
37624         (ldbl_pack): Rename to ldbl_pack_ppc.
37625         (ldbl_unpack): Rename to ldbl_unpack_ppc.
37626         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
37627         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
37629 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
37631         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
37632         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
37633         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
37634         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
37635         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
37636         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
37637         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
37638         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
37640 2013-03-07  Andreas Jaeger  <aj@suse.de>
37642         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37643         bits/mman-linux.h.
37645 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
37647         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
37648         Include mpa.h and declare __MPEXP.
37649         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
37650         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
37651         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
37652         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
37653         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
37654         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
37655         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
37657         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
37658         (__slowpow): Use long double EXPL and LOGL functions to
37659         compute POW.
37660         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
37661         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
37662         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
37663         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
37664         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
37665         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
37667         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
37668         intermediate variable to calculate exponent.
37669         (__sqr): Likewise.
37670         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
37671         Likewise.
37672         (__sqr): Likewise.
37674         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
37675         [!NO__SQR]: Define __sqr.
37676         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
37677         and NO__SQR.  Remove all code except __mul and __sqr.  Include
37678         sysdeps/ieee754/dbl-64/mpa.c.
37679         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37681         [BZ #12723]
37682         * posix/Makefile (tests): Add tst-pathconf.
37683         * posix/tst-pathconf.c: New test case.
37684         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
37685         _PC_PIPE_BUF.
37686         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
37688 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
37690         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
37692 2013-03-06  Andreas Jaeger  <aj@suse.de>
37694         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
37695         definition via __MAP_ANONYMOUS.
37697         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
37698         it's not part of Linux headers.
37700         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
37701         (MAP_HUGE_MASK): Define.
37703         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37704         Define.
37705         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37706         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37707         Define.
37708         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37709         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37710         Define.
37711         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37712         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
37713         Define.
37714         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37716         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
37717         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
37718         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
37719         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
37720         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
37721         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
37723         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37724         Handle f2fs.
37726         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37727         Handle f2fs and efivarfs.
37729         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
37730         f2fs.
37732         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
37733         (EFIVARFS_MAGIC): Add.
37734         (F2FS_LINK_MAX): Add.
37736 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37738         * stdio-common/vfprintf.c: Replace __builtin_expect with
37739         __glibc_unlikely.
37741 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
37743         [BZ #13550]
37744         * sysdeps/generic/bp-sym.h: Remove file.
37745         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
37746         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
37747         <bp-sym.h> and <bp-asm.h>.
37748         (__longjmp): Don't use BP_SYM.
37749         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
37750         and <bp-asm.h>.
37751         (memcpy): Don't use BP_SYM.
37752         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
37753         <bp-sym.h> and <bp-asm.h>.
37754         (memcpy): Don't use BP_SYM.
37755         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
37756         <bp-asm.h>.
37757         (memcpy): Don't use BP_SYM.
37758         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
37759         <bp-asm.h>.
37760         (memset): Don't use BP_SYM.
37761         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37762         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37763         (__bzero): Don't use BP_SYM.
37764         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37765         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37766         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
37767         <bp-sym.h> and <bp-asm.h>.
37768         (memcmp): Don't use BP_SYM.  Remove comment about bounded
37769         pointers.
37770         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
37771         <bp-sym.h> and <bp-asm.h>.
37772         (memcpy): Don't use BP_SYM.
37773         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
37774         <bp-sym.h> and <bp-asm.h>.
37775         (memset): Don't use BP_SYM.
37776         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37777         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37778         (__bzero): Don't use BP_SYM.
37779         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37780         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37781         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
37782         <bp-sym.h> and <bp-asm.h>.
37783         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37784         pointers.
37785         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
37786         <bp-sym.h> and <bp-asm.h>.
37787         (memcpy): Don't use BP_SYM.
37788         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
37789         <bp-sym.h> and <bp-asm.h>.
37790         (memset): Don't use BP_SYM.
37791         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37792         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37793         (__bzero): Don't use BP_SYM.
37794         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37795         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37796         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
37797         <bp-sym.h> and <bp-asm.h>.
37798         (__memchr): Don't use BP_SYM.
37799         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
37800         <bp-sym.h> and <bp-asm.h>.
37801         (memcmp): Don't use BP_SYM.  Remove comment about bounded
37802         pointers.
37803         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
37804         <bp-sym.h> and <bp-asm.h>.
37805         (memcpy): Don't use BP_SYM.
37806         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
37807         <bp-sym.h> and <bp-asm.h>.
37808         (__mempcpy): Don't use BP_SYM.
37809         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
37810         <bp-sym.h> and <bp-asm.h>.
37811         (__memrchr): Don't use BP_SYM.
37812         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
37813         <bp-sym.h> and <bp-asm.h>.
37814         (memset): Don't use BP_SYM.
37815         (__bzero): Likewise.
37816         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
37817         <bp-sym.h> and <bp-asm.h>.
37818         (__rawmemchr): Don't use BP_SYM.
37819         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
37820         <bp-sym.h> and <bp-asm.h>.
37821         (__STRCMP): Don't use BP_SYM.
37822         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
37823         <bp-sym.h> and <bp-asm.h>.
37824         (strchr): Don't use BP_SYM.
37825         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
37826         <bp-sym.h> and <bp-asm.h>.
37827         (__strchrnul): Don't use BP_SYM.
37828         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
37829         <bp-sym.h> and <bp-asm.h>.
37830         (strlen): Don't use BP_SYM.
37831         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
37832         <bp-sym.h> and <bp-asm.h>.
37833         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37834         pointers.
37835         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
37836         <bp-sym.h> and <bp-asm.h>.
37837         (__strnlen): Don't use BP_SYM.
37838         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
37839         <bp-sym.h> and <bp-asm.h>.
37840         (__GI__setjmp): Don't use BP_SYM.
37841         (_setjmp): Likewise.
37842         (__sigsetjmp): Likewise.
37843         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
37844         (L(start_addresses)): Don't use BP_SYM.
37845         (_start): Likewise.
37846         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
37847         <bp-asm.h>.
37848         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
37849         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
37850         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37851         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37852         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
37853         <bp-asm.h>.
37854         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
37855         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
37856         about bounded pointers.
37857         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37858         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37859         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
37860         <bp-asm.h>.
37861         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
37862         about bounded pointers.  Remove GKM FIXME comments.
37863         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37864         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
37865         <bp-asm.h>.
37866         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
37867         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
37868         Remove GKM FIXME comments.
37869         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37870         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37871         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
37872         <bp-asm.h>.
37873         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
37874         about bounded pointers.  Remove GKM FIXME comment.
37875         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
37876         and <bp-asm.h>.
37877         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37878         pointers.
37879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
37880         <bp-sym.h> and <bp-asm.h>.
37881         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
37882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
37883         <bp-sym.h> and <bp-asm.h>.
37884         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
37885         comment.
37887 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
37889         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
37890         call free(NULL).
37892 2013-03-05  David S. Miller  <davem@davemloft.net>
37894         * po/es.po: Update from translation team.
37896 2013-03-05  Andreas Jaeger  <aj@suse.de>
37898         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
37899         <bits/mman-linux.h>.
37900         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37901         is fine.
37902         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
37903         <bits/mman-linux.h> to end of file.
37904         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37905         is fine.
37906         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
37907         <bits/mman-linux.h> to end of file.
37908         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37909         is fine.
37910         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
37911         <bits/mman-linux.h> to end of file.
37913         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
37914         (MCL_CURRENT, MCL_FUTURE): Define here.
37916 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37918         [BZ #15232]
37919         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
37920         attribute_hidden.
37921         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37923 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37925         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
37926         fourth parameter needed for rt_sigprocmask syscall.
37927         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
37928         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
37929         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
37930         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
37931         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
37932         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
37934 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
37936         [BZ #13550]
37937         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
37938         comment about bounded pointers.
37939         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
37940         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
37942 2013-03-04  Andreas Jaeger  <aj@suse.de>
37944         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
37945         common definitions.
37947         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
37948         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
37949         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
37950         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37951         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37952         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37954 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37956         [BZ #15055]
37957         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
37958         __ieee754_sqrl instead of __sqrl.
37960 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
37962         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
37963         * sysdeps/powerpc/fpu_control.h: ... here.
37964         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
37965         * sysdeps/powerpc/bits/fenvinline.h: ... here.
37966         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
37967         * sysdeps/powerpc/bits/mathinline.h: ... here.
37969 2013-03-01  Roland McGrath  <roland@hack.frob.com>
37971         * elf/dl-hwcaps.c (_dl_important_hwcaps):
37972         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
37973         to just [NEED_DL_SYSINFO_DSO].
37974         * elf/dl-support.c: Likewise.
37975         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
37976         * elf/rtld.c (dl_main): Likewise.
37977         * elf/setup-vdso.h (setup_vdso): Likewise.
37978         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
37979         * sysdeps/unix/sysv/linux/dl-sysdep.c
37980         (_dl_discover_osversion): Likewise.
37982 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
37984         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
37985         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
37987 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
37989         * NEWS: Mention libm performance improvements and non-x86 PI
37990         futex support.
37992         * csu/libc-start.c (__pthread_initialize_minimal): Change
37993         function arguments.
37994         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
37996 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
37998         [BZ #13550]
37999         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
38000         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
38001         <bp-sym.h> and <bp-asm.h>.
38002         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
38003         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
38004         and <bp-asm.h>.
38005         (memcpy): Don't use BP_SYM.
38006         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
38007         <bp-asm.h>.
38008         (__mpn_add_n): Don't use BP_SYM.
38009         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
38010         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
38011         and <bp-asm.h>.
38012         (__mpn_addmul_1): Don't use BP_SYM.
38013         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38014         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
38015         <bp-sym.h>.
38016         (_setjmp): Don't use BP_SYM.
38017         (__novmx_setjmp): Likewise.
38018         (__GI__setjmp): Likewise.
38019         (__vmx_setjmp): Likewise.
38020         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
38021         <bp-sym.h>.
38022         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
38023         (__bzero): Don't use BP_SYM.
38024         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38025         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38026         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
38027         <bp-sym.h> and <bp-asm.h>.
38028         (memcpy): Don't use BP_SYM.
38029         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
38030         <bp-sym.h> and <bp-asm.h>.
38031         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
38032         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
38033         <bp-sym.h> and <bp-asm.h>.
38034         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
38035         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
38036         <bp-asm.h>.
38037         (__mpn_lshift): Don't use BP_SYM.
38038         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38039         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
38040         <bp-asm.h>.
38041         (memset): Don't use BP_SYM.
38042         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38043         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38044         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
38045         <bp-asm.h>.
38046         (__mpn_mul_1): Don't use BP_SYM.
38047         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38048         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
38049         <bp-sym.h> and <bp-asm.h>.
38050         (memcmp): Don't use BP_SYM.
38051         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
38052         <bp-sym.h> and <bp-asm.h>.
38053         (memcpy): Don't use BP_SYM.
38054         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
38055         <bp-sym.h> and <bp-asm.h>.
38056         (memset): Don't use BP_SYM.
38057         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
38058         <bp-sym.h> and <bp-asm.h>.
38059         (strncmp): Don't use BP_SYM.
38060         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
38061         <bp-sym.h> and <bp-asm.h>.
38062         (memcpy): Don't use BP_SYM.
38063         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
38064         <bp-sym.h> and <bp-asm.h>.
38065         (memset): Don't use BP_SYM.
38066         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
38067         <bp-sym.h> and <bp-asm.h>.
38068         (__memchr): Don't use BP_SYM.
38069         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
38070         <bp-sym.h> and <bp-asm.h>.
38071         (memcmp): Don't use BP_SYM.
38072         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
38073         <bp-sym.h> and <bp-asm.h>.
38074         (memcpy): Don't use BP_SYM.
38075         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
38076         <bp-sym.h> and <bp-asm.h>.
38077         (__mempcpy): Don't use BP_SYM.
38078         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
38079         <bp-sym.h> and <bp-asm.h>.
38080         (__memrchr): Don't use BP_SYM.
38081         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
38082         <bp-sym.h> and <bp-asm.h>.
38083         (memset): Don't use BP_SYM.
38084         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
38085         <bp-sym.h> and <bp-asm.h>.
38086         (__rawmemchr): Don't use BP_SYM.
38087         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
38088         <bp-sym.h> and <bp-asm.h>.
38089         (__STRCMP): Don't use BP_SYM.
38090         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
38091         <bp-sym.h> and <bp-asm.h>.
38092         (strchr): Don't use BP_SYM.
38093         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
38094         <bp-sym.h> and <bp-asm.h>.
38095         (__strchrnul): Don't use BP_SYM.
38096         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
38097         <bp-sym.h> and <bp-asm.h>.
38098         (strlen): Don't use BP_SYM.
38099         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
38100         <bp-sym.h> and <bp-asm.h>.
38101         (strncmp): Don't use BP_SYM.
38102         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
38103         <bp-sym.h> and <bp-asm.h>.
38104         (__strnlen): Don't use BP_SYM.
38105         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
38106         <bp-asm.h>.
38107         (__mpn_rshift): Don't use BP_SYM.
38108         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38109         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
38110         <bp-sym.h> and <bp-asm.h>.
38111         (__sigsetjmp): Don't use BP_SYM.
38112         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
38113         (L(start_addresses)): Don't use BP_SYM.
38114         (_start): Likewise.
38115         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
38116         <bp-asm.h>.
38117         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
38118         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38119         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38120         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
38121         <bp-asm.h>.
38122         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
38123         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38124         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38125         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
38126         <bp-asm.h>.
38127         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
38128         comments.
38129         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38130         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
38131         <bp-asm.h>.
38132         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
38133         FIXME comments.
38134         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38135         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38136         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
38137         <bp-asm.h>.
38138         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
38139         comment.
38140         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
38141         and <bp-asm.h>.
38142         (strncmp): Don't use BP_SYM,
38143         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
38144         <bp-asm.h>.
38145         (__mpn_sub_n): Don't use BP_SYM.
38146         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38147         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
38148         and <bp-asm.h>.
38149         (__mpn_submul_1): Don't use BP_SYM.
38150         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
38152         <bp-sym.h> and <bp-asm.h>.
38153         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
38154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
38155         <bp-sym.h> and <bp-asm.h>.
38156         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
38157         comment.
38159 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38161         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
38162         Use ZK to minimize writes to Z.
38163         (sub_magnitudes): Simplify code a bit.
38164         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
38165         Use ZK to minimize writes to Z.
38166         (sub_magnitudes): Simplify code a bit.
38168 2013-02-27  Roland McGrath  <roland@hack.frob.com>
38170         * csu/gmon-start.c: Add special exception to license text.
38172 2013-02-27  Richard Henderson  <rth@redhat.com>
38174         * scripts/config.guess: Update from config.git.
38175         * scripts/config.sub: Likewise.
38177 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38179         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
38181         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
38183         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
38185         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
38187         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
38189 2013-02-26  Roland McGrath  <roland@hack.frob.com>
38191         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
38192         [$(build-shared = yes].
38194 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38196         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
38197         (__mul): Reduce iterations for calculating mantissa.
38199         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
38200         MPTWO.
38201         (__mpranred): Likewise.
38203         [BZ #15160]
38204         * malloc/memusagestat.c (main): Draw graphs for heap and stack
38205         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
38207 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
38209         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
38210         Define __attribute__.
38212 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38214         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
38215         unused.
38216         * posix/regex_internal.h (__attribute): Remove.
38217         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
38218         (re_string_context_at): Likewise.
38219         (bitset_not): Use __attribute__ and mark function as possibly
38220         unused.
38221         (bitset_merge): Likewise.
38222         (bitset_mask): Likewise.
38223         (re_string_char_size_at): Likewise.
38224         (re_string_wchar_at): Likewise.
38225         (re_string_elem_size_at): Likewise.
38227 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38229         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
38230         code.
38231         (cc32): Likewise.
38233         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
38234         (__acr): Likewise.
38235         (__cpy): Likewise.
38236         (norm): Likewise.
38237         (denorm): Likewise.
38238         (__dbl_mp): Likewise.
38239         (add_magnitudes): Likewise.
38240         (sub_magnitudes): Likewise.
38241         (__mul): Likewise.
38242         (__inv): Likewise.
38244         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
38245         style.
38247         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
38248         style.
38250         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
38251         code.
38253         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
38254         up changes with default code.
38255         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
38256         Likewise.
38258 2013-02-24  Allan McRae  <allan@archlinux.org>
38260         * manual/socket.texi (The Internet Namespace): Order menu items
38261         to match that in the file.
38263         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
38264         node listing of the info page menu.
38266 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
38268         [BZ #13550]
38269         * sysdeps/i386/bp-asm.h: Remove file.
38270         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
38271         (PARMS): Do not use macros from bp-asm.h.
38272         (S1): Likewise.
38273         (S2): Likewise.
38274         (SIZE): Likewise.
38275         (__mpn_add_n): Do not use BP_SYM
38276         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
38277         "bp-asm.h".
38278         (PARMS): Do not use macros from bp-asm.h.
38279         (S1): Likewise.
38280         (SIZE): Likewise.
38281         (__mpn_addmul_1): Do not use BP_SYM
38282         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
38283         "bp-asm.h".
38284         (PARMS): Do not use macros from bp-asm.h.
38285         (SIGMSK): Likewise.
38286         (_setjmp): Likewise.  Do not use BP_SYM.
38287         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
38288         "bp-asm.h".
38289         (PARMS): Do not use macros from bp-asm.h.
38290         (SIGMSK): Likewise.
38291         (setjmp): Likewise.  Do not use BP_SYM.
38292         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
38293         "bp-asm.h".
38294         (PARMS): Do not use macros from bp-asm.h.
38295         (__frexp): Do not use BP_SYM.
38296         (frexp): Likewise.
38297         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
38298         "bp-asm.h".
38299         (PARMS): Do not use macros from bp-asm.h.
38300         (__frexpf): Do not use BP_SYM.
38301         (frexpf): Likewise.
38302         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
38303         "bp-asm.h".
38304         (PARMS): Do not use macros from bp-asm.h.
38305         (__frexpl): Do not use BP_SYM.
38306         (frexpl): Likewise.
38307         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
38308         "bp-asm.h".
38309         (PARMS): Do not use macros from bp-asm.h.
38310         (__remquo): Do not use BP_SYM.
38311         (remquo): Likewise.
38312         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
38313         "bp-asm.h".
38314         (PARMS): Do not use macros from bp-asm.h.
38315         (__remquof): Do not use BP_SYM.
38316         (remquof): Likewise.
38317         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
38318         "bp-asm.h".
38319         (PARMS): Do not use macros from bp-asm.h.
38320         (__remquol): Do not use BP_SYM.
38321         (remquol): Likewise.
38322         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
38323         "bp-asm.h".
38324         (PARMS): Do not use macros from bp-asm.h.
38325         (DEST): Likewise.
38326         (SRC): Likewise.
38327         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
38328         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
38329         "bp-asm.h".
38330         (PARMS): Do not use macros from bp-asm.h.
38331         (strlen): Do not use BP_SYM.
38332         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
38333         "bp-asm.h".
38334         (PARMS): Do not use macros from bp-asm.h.
38335         (S1): Likewise.
38336         (S2): Likewise.
38337         (SIZE): Likewise.
38338         (__mpn_add_n): Do not use BP_SYM.
38339         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
38340         "bp-asm.h".
38341         (PARMS): Do not use macros from bp-asm.h.
38342         (S1): Likewise.
38343         (SIZE): Likewise.
38344         (__mpn_addmul_1): Do not use BP_SYM.
38345         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
38346         weak_alias.
38347         (bzero): Likewise.
38348         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
38349         "bp-asm.h".
38350         (PARMS): Do not use macros from bp-asm.h.
38351         (S): Likewise.
38352         (SIZE): Likewise.
38353         (__mpn_lshift): Do not use BP_SYM.
38354         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
38355         "bp-asm.h".
38356         (PARMS): Do not use macros from bp-asm.h.
38357         (DEST): Likewise.
38358         (SRC): Likewise.
38359         (LEN): Likewise.
38360         (memcpy): Likewise.  Do not use BP_SYM.
38361         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
38362         libc_hidden_def and weak_alias.
38363         (mempcpy): Do not use BP_SYM in weak_alias.
38364         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
38365         "bp-asm.h".
38366         (PARMS): Do not use macros from bp-asm.h.
38367         (DEST): Likewise.
38368         (LEN): Likewise.
38369         [!BZERO_P] (CHR): Likewise.
38370         (memset): Likewise.  Do not use BP_SYM.
38371         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
38372         "bp-asm.h".
38373         (PARMS): Do not use macros from bp-asm.h.
38374         (S1): Likewise.
38375         (SIZE): Likewise.
38376         (__mpn_mul_1): Do not use BP_SYM.
38377         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
38378         "bp-asm.h".
38379         (PARMS): Do not use macros from bp-asm.h.
38380         (S): Likewise.
38381         (SIZE): Likewise.
38382         (__mpn_rshift): Do not use BP_SYM.
38383         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
38384         "bp-asm.h".
38385         (PARMS): Do not use macros from bp-asm.h.
38386         (STR): Likewise.
38387         (CHR): Likewise.
38388         (strchr): Likewise.  Do not use BP_SYM.
38389         (index): Do not use BP_SYM in weak_alias.
38390         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
38391         "bp-asm.h".
38392         (PARMS): Do not use macros from bp-asm.h.
38393         (DEST): Likewise.
38394         (SRC): Likewise.
38395         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
38396         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
38397         "bp-asm.h".
38398         (PARMS): Do not use macros from bp-asm.h.
38399         (strlen): Do not use BP_SYM.
38400         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
38401         "bp-asm.h".
38402         (PARMS): Do not use macros from bp-asm.h.
38403         (S1): Likewise.
38404         (S2): Likewise.
38405         (SIZE): Likewise.
38406         (__mpn_sub_n): Do not use BP_SYM.
38407         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
38408         "bp-asm.h".
38409         (PARMS): Do not use macros from bp-asm.h.
38410         (S1): Likewise.
38411         (SIZE): Likewise.
38412         (__mpn_submul_1): Do not use BP_SYM.
38413         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
38414         "bp-asm.h".
38415         (PARMS): Do not use macros from bp-asm.h.
38416         (S1): Likewise.
38417         (S2): Likewise.
38418         (SIZE): Likewise.
38419         (__mpn_add_n): Do not use BP_SYM.
38420         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
38421         weak_alias.
38422         (bzero): Likewise.
38423         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
38424         "bp-asm.h".
38425         (PARMS): Do not use macros from bp-asm.h.
38426         (BLK2): Likewise.
38427         (LEN): Likewise.
38428         (memcmp): Do not use BP_SYM.
38429         (bcmp): Do not use BP_SYM in weak_alias.
38430         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
38431         "bp-asm.h".
38432         (PARMS): Do not use macros from bp-asm.h.
38433         (DEST): Likewise.
38434         (SRC): Likewise.
38435         (LEN): Likewise.
38436         (memcpy): Likewise.  Do not use BP_SYM.
38437         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
38438         "bp-asm.h".
38439         (PARMS): Do not use macros from bp-asm.h.
38440         (DEST): Likewise.
38441         (SRC): Likewise.
38442         (LEN): Likewise.
38443         (memmove): Likewise.  Do not use BP_SYM.
38444         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
38445         "bp-asm.h".
38446         (PARMS): Do not use macros from bp-asm.h.
38447         (DEST): Likewise.
38448         (SRC): Likewise.
38449         (LEN): Likewise.
38450         (__mempcpy): Likewise.  Do not use BP_SYM.
38451         (mempcpy): Do not use BP_SYM in weak_alias.
38452         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
38453         "bp-asm.h".
38454         (PARMS): Do not use macros from bp-asm.h.
38455         (DEST): Likewise.
38456         (LEN): Likewise.
38457         [!BZERO_P] (CHR): Likewise.
38458         (memset): Likewise.  Do not use BP_SYM.
38459         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
38460         "bp-asm.h".
38461         (PARMS): Do not use macros from bp-asm.h.
38462         (STR2): Likewise.
38463         (strcmp): Do not use BP_SYM.
38464         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
38465         "bp-asm.h".
38466         (PARMS): Do not use macros from bp-asm.h.
38467         (STR): Likewise.
38468         (DELIM): Likewise.
38469         [USE_AS_STRTOK_R] (SAVE): Likewise.
38470         (FUNCTION): Likewise.  Do not use BP_SYM.
38471         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
38472         aliases.
38473         (strtok_r): Likewise.
38474         (__GI___strtok_r): Likewise.
38475         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
38476         (PARMS): Do not use macros from bp-asm.h.
38477         (S): Likewise.
38478         (SIZE): Likewise.
38479         (__mpn_lshift): Do not use BP_SYM.
38480         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
38481         (PARMS): Do not use macros from bp-asm.h.
38482         (STR): Likewise.
38483         (CHR): Likewise.
38484         (__memchr): Do not use BP_SYM.
38485         (memchr): Do not use BP_SYM in weak_alias.
38486         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
38487         (PARMS): Do not use macros from bp-asm.h.
38488         (BLK2): Likewise.
38489         (LEN): Likewise.
38490         (memcmp): Do not use BP_SYM.
38491         (bcmp): Do not use BP_SYM in weak_alias.
38492         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
38493         (PARMS): Do not use macros from bp-asm.h.
38494         (S1): Likewise.
38495         (SIZE): Likewise.
38496         (__mpn_mul_1): Do not use BP_SYM.
38497         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
38498         "bp-asm.h".
38499         (PARMS): Do not use macros from bp-asm.h.
38500         (STR): Likewise.
38501         (CHR): Likewise.
38502         (__rawmemchr): Do not use BP_SYM.
38503         (rawmemchr): Do not use BP_SYM in weak_alias.
38504         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
38505         (PARMS): Do not use macros from bp-asm.h.
38506         (S): Likewise.
38507         (SIZE): Likewise.
38508         (__mpn_rshift): Do not use BP_SYM.
38509         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
38510         (PARMS): Do not use macros from bp-asm.h.
38511         (SIGMSK): Likewise.
38512         (__sigsetjmp): Likewise.  Do not use BP_SYM.
38513         * sysdeps/i386/start.S: Do not include "bp-sym.h".
38514         (_start): Do not use BP_SYM.
38515         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
38516         (PARMS): Do not use macros from bp-asm.h.
38517         (DEST): Likewise.
38518         (SRC): Likewise.
38519         (__stpcpy): Likewise.  Do not use BP_SYM.
38520         (stpcpy): Do not use BP_SYM in weak_alias.
38521         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
38522         "bp-asm.h".
38523         (PARMS): Do not use macros from bp-asm.h.
38524         (DEST): Likewise.
38525         (SRC): Likewise.
38526         (LEN): Likewise.
38527         (__stpncpy): Likewise.  Do not use BP_SYM.
38528         (stpncpy): Do not use BP_SYM in weak_alias.
38529         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
38530         (PARMS): Do not use macros from bp-asm.h.
38531         (STR): Likewise.
38532         (CHR): Likewise.
38533         (strchr): Likewise.  Do not use BP_SYM.
38534         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
38535         "bp-asm.h".
38536         (PARMS): Do not use macros from bp-asm.h.
38537         (STR): Likewise.
38538         (CHR): Likewise.
38539         (__strchrnul): Likewise.  Do not use BP_SYM.
38540         (strchrnul): Do not use BP_SYM in weak_alias.
38541         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
38542         "bp-asm.h".
38543         (PARMS): Do not use macros from bp-asm.h.
38544         (STOP): Likewise.
38545         (strcspn): Do not use BP_SYM.
38546         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
38547         "bp-asm.h".
38548         (PARMS): Do not use macros from bp-asm.h.
38549         (STR): Likewise.
38550         (STOP): Likewise.
38551         (strpbrk): Likewise.  Do not use BP_SYM.
38552         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
38553         "bp-asm.h".
38554         (PARMS): Do not use macros from bp-asm.h.
38555         (STR): Likewise.
38556         (CHR): Likewise.
38557         (strrchr): Likewise.  Do not use BP_SYM.
38558         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
38559         (PARMS): Do not use macros from bp-asm.h.
38560         (SKIP): Likewise.
38561         (strspn): Do not use BP_SYM.
38562         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
38563         (PARMS): Do not use macros from bp-asm.h.
38564         (STR): Likewise.
38565         (DELIM): Likewise.
38566         (SAVE): Likewise.
38567         (FUNCTION): Likewise.  Do not use BP_SYM.
38568         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
38569         aliases.
38570         (strtok_r): Likewise.
38571         (__GI___strtok_r): Likewise.
38572         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
38573         (PARMS): Do not use macros from bp-asm.h.
38574         (S1): Likewise.
38575         (S2): Likewise.
38576         (SIZE): Likewise.
38577         (__mpn_sub_n): Do not use BP_SYM.
38578         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
38579         "bp-asm.h".
38580         (PARMS): Do not use macros from bp-asm.h.
38581         (S1): Likewise.
38582         (SIZE): Likewise.
38583         (__mpn_submul_1): Do not use BP_SYM.
38584         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
38585         <bp-sym.h>.
38586         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
38587         and <bp-asm.h>.
38588         (PARMS): Do not use macros from bp-asm.h.
38589         (FLAGS): Likewise.
38590         (PTID): Likewise.
38591         (TLS): Likewise.
38592         (CTID): Likewise.
38593         (__clone): Do not use BP_SYM.
38594         (clone): Do not use BP_SYM in weak_alias.
38595         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
38596         and <bp-asm.h>.
38597         (PARMS): Do not use macros from bp-asm.h.
38598         (LEN): Likewise.
38599         (__mmap64): Do not use BP_SYM.
38600         (mmap64): Do not use BP_SYM in weak_alias.
38601         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38602         <bp-sym.h> and <bp-asm.h>.
38603         (PARMS): Do not use macros from bp-asm.h.
38604         (__posix_fadvise64_l64): Do not use BP_SYM.
38605         * sysdeps/unix/sysv/linux/i386/semtimedop.S
38606         (PARMS): Do not use macros from bp-asm.h.
38607         (NSOPS): Likewise.
38608         (semtimedop): Do not use BP_SYM.
38609         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
38610         and <bp-asm.h>.
38612 2013-02-21  Allan McRae  <allan@archlinux.org>
38614         * manual/message.texi (Charset conversion in gettext):
38615         Move @end statement to beginning of line.
38617 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38619         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
38620         static.
38621         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
38622         Likewise.
38624         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
38625         (denorm): Likewise.
38626         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
38627         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
38629 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38631         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
38632         tail-call to the resolved function if pltexit isn't needed.
38634 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38636         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
38637         or Y being zero as being unlikely.
38638         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
38639         Likewise.
38641 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
38643         * manual/nss.texi (System Databases and Name Service Switch):
38644         Remove frobnicate @pxref.
38646 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
38648         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
38649         __attribute__ ((unused)) to __attribute__ ((__unused__)).
38651 2013-02-20  Petr Machata  <pmachata@redhat.com>
38653         * elf/elf.h (R_ARM_TARGET1): New macro.
38654         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
38655         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
38656         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
38657         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
38658         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
38659         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
38660         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
38661         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
38662         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
38663         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
38664         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
38665         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
38666         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
38667         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
38668         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
38669         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
38670         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
38671         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
38672         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
38673         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
38674         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
38675         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
38676         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
38677         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
38678         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
38679         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
38680         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
38681         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
38682         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
38683         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
38684         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
38685         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
38686         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
38687         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
38688         (R_ARM_THM_GOT_BREL12): Likewise.
38689         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
38690         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
38691         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
38692         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
38693         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
38694         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
38695         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
38696         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
38697         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
38699 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
38701         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
38702         __attribute_used__ to __attribute__ ((unused)).
38704 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38706         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
38707         powerpc mpa.c.
38708         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
38709         comment formatting.
38710         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
38712 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
38714         [BZ #13550]
38715         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
38716         Remove macro.
38717         (ENTER): Remove both macro definitions.
38718         (LEAVE): Likewise.
38719         (CHECK_BOUNDS_LOW): Likewise.
38720         (CHECK_BOUNDS_HIGH): Likewise.
38721         (CHECK_BOUNDS_BOTH): Likewise.
38722         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
38723         (RETURN_BOUNDED_POINTER): Likewise.
38724         (RETURN_NULL_BOUNDED_POINTER): Likewise.
38725         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
38726         (POP_ERRNO_LOCATION_RETURN): Likewise.
38727         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
38728         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38729         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
38730         macros.
38731         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38732         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
38733         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
38734         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
38735         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
38736         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
38737         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
38738         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
38739         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
38740         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
38741         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
38742         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
38743         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38744         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
38745         removed macros.
38746         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38747         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
38748         macros.
38749         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38750         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
38751         * sysdeps/i386/i586/memset.S (memset): Likewise.
38752         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
38753         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38754         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
38755         macros.
38756         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38757         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
38758         Change uses of L(2) to L(out).
38759         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
38760         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
38761         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
38762         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38763         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
38764         removed macros.
38765         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38766         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
38767         macros.
38768         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38769         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
38770         (RETURN): Do not use macro LEAVE.
38771         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
38772         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
38773         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
38774         * sysdeps/i386/i686/memset.S (memset): Likewise.
38775         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
38776         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
38777         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38778         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
38779         Likewise.
38780         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38781         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
38782         L(1_2) and L(1_3) into L(1).
38783         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
38784         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
38785         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38786         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
38787         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38788         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
38789         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
38790         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38791         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
38792         macros.
38793         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
38794         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38795         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
38796         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
38797         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
38798         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38799         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
38800         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
38801         * sysdeps/i386/strcspn.S (strcspn): Likewise.
38802         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
38803         * sysdeps/i386/strrchr.S (strrchr): Likewise.
38804         * sysdeps/i386/strspn.S (strspn): Likewise.
38805         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
38806         conditional code.
38807         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38808         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
38809         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
38810         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
38811         L(1_3) into L(1_1).
38812         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
38813         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38814         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
38815         macros.
38816         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38818 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
38820         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
38821         macro.
38823 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38825         * math/atest-exp.c (exp_mpn): Remove ROUND.
38826         * math/atest-exp2.c (exp_mpn): Likewise.
38827         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
38829         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
38830         * stdlib/tst-tls-atexit-lib.c: Likewise.
38831         * stdlib/tst-tls-atexit.c: Likewise.
38833 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38835         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
38836         and __attribute_alloc_size__.
38838 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38840         * include/programs/xmalloc.h: Change __attribute_alloc_size to
38841         __attribute_alloc_size__.
38842         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
38843         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
38845 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38847         * include/programs/xmalloc.h: New file.
38848         * catgets/gencat.c: Include it.
38849         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
38850         * elf/pldd.c: Likewise.
38851         * iconv/iconv_charmap.c: Likewise.
38852         * iconv/iconvconfig.c: Likewise.
38853         * iconv/strtab.c: Likewise.
38854         * locale/programs/locale.c: Likewise.
38855         * locale/programs/localedef.h: Likewise.
38856         * locale/programs/simple-hash.c: Likewise.
38857         * nscd/nscd.h: Likewise.
38858         * nss/makedb.c: Likewise.
38859         * sysdeps/generic/ldconfig.h: Likewise.
38861 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38863         * Versions.def: Add GLIBC_2.18.
38864         * include/link.h (struct link_map): New member l_tls_dtor_count.
38865         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
38866         (__call_tls_dtors): Likewise.
38867         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
38868         __cxa_thread_atexit_impl.
38869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38870         Likewise.
38871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38872         Likewise.
38873         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
38874         Likewise.
38875         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
38876         Likewise.
38877         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38878         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
38879         Likewise.
38880         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
38881         Likewise.
38882         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38883         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
38884         Likewise.
38885         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
38886         (tests): Add test case tst-tls-atexit.
38887         (modules-names): Add shared library for tst-tls-atexit.
38888         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
38889         (GLIBC_PRIVATE): Add __call_tls_dtors.
38890         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
38891         for libstdc++.
38892         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
38893         * stdlib/tst-tls-atexit.c: New test case.
38894         * stdlib/tst-tls-atexit-lib.c: New test case.
38896         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
38898         * elf/Versions (ld): Add _dl_find_dso_for_object.
38899         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
38900         * elf/dl-open.c (_dl_find_dso_for_object): New function.
38901         (dl_open_worker): Use _dl_find_dso_for_object.
38902         * elf/dl-sym.c (do_sym): Likewise.
38903         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
38905 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38907         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
38908         Syntactic changes only.
38909         (_dl_runtime_profile): Do a tail-call to the resolved function.
38911 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
38913         [BZ #13550]
38914         * sysdeps/x86_64/bp-asm.h: Remove file.
38915         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
38916         <bp-sym.h> and <bp-asm.h>.
38917         (__clone): Do not use BP_SYM.
38918         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
38919         <bp-sym.h> and <bp-asm.h>.
38920         * sysdeps/unix/x86_64/sysdep.S: Likewise.
38921         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
38922         "bp-asm.h".
38923         (_setjmp): Do not use BP_SYM.
38924         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
38925         "bp-asm.h".
38926         (setjmp): Do not use BP_SYM.
38927         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
38928         libc_hidden_def.
38929         (mempcpy): Do not use BP_SYM in weak_alias.
38930         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
38931         "bp-asm.h".
38932         (strchr): Do not use BP_SYM.
38933         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
38934         "bp-asm.h".
38935         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
38936         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
38937         (_start): Do not use BP_SYM.
38938         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
38939         "bp-asm.h".
38940         (strcat): Do not use BP_SYM.
38941         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
38942         "bp-asm.h".
38943         (STRCMP): Do not use BP_SYM.
38944         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
38945         "bp-asm.h".
38946         (STRCPY): Do not use BP_SYM.
38947         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
38948         "bp-asm.h".
38949         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
38950         "bp-asm.h".
38951         (FUNCTION): Do not use BP_SYM.
38952         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
38953         weak_alias.
38954         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
38956 2013-02-17  Andreas Jaeger  <aj@suse.de>
38958         * time/Versions: Sort entries.
38959         * string/Versions: Likewise.
38960         * resolv/Versions: Likewise.
38961         * posix/Versions: Likewise.
38962         * iconv/Versions: Likewise.
38963         * elf/Versions: Likewise.
38964         * wcsmbs/Versions: Likewise.
38966 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38968         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
38969         loop termination condition.
38971         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
38972         variable to calculate EZ.
38973         (__sqr): Likewise.
38975         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
38976         the lower precision input.
38978 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
38980         [BZ #13550]
38981         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
38982         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
38983         (run-via-rtld-prefix): Do not handle %-bp tests.
38984         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
38985         (all-object-suffixes): Remove .ob.
38986         (bppfx): Remove variable.
38987         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
38988         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
38989         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
38990         [$(build-bounded) = yes] (libtype.ob): Likewise.
38991         * Makerules (elide-routines.ob): Remove variable.
38992         (do-tests-clean): Do not handle *-bp.out.
38993         (common-mostlyclean): Do not handle *-bp and *-bp.out.
38994         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
38995         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
38996         (tests): Do not include $(tests-bp.out).
38997         (xtests): Do not include $(xtests-bp.out).
38998         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
38999         [$(build-bounded) = yes] ($(addprefix
39000         $(objpfx),$(binaries-bounded))): Remove rule.
39001         ($(objpfx)%-bp.out): Remove rule.
39002         * config.make.in (build-bounded): Remove variable.
39003         * crypt/Makefile [$(build-bounded) = yes]
39004         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
39005         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
39006         append to variable.
39007         [$(build-bounded) = yes] (install-lib): Likewise.
39008         [$(build-bounded) = yes] (generated): Likewise.
39009         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
39010         Remove rule.
39011         * intl/Makefile [$(build-bounded) = yes]
39012         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
39013         * math/Makefile [$(build-bounded) = yes]
39014         ($(tests:%=$(objpfx)%-bp): Likewise.
39015         * misc/Makefile [$(build-bounded) = yes]
39016         ($(objpfx)tst-tsearch-bp): Likewise.
39017         * nptl/Makeconfig (bounded-thread-library): Remove variable.
39018         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
39019         Remove dependency.
39020         * string/Makefile (o-objects.ob): Remove variable.
39021         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
39022         (CFLAGS-.ob): Remove variable.
39023         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
39024         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
39025         both definitions of variable.
39026         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
39027         (ASFLAGS-.ob): Remove variable.
39029 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
39031         [BZ #13550]
39032         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
39033         Remove __BOUNDED_POINTERS__ from condition.
39034         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
39035         * string/bits/string2.h [!__NO_STRING_INLINES &&
39036         !__BOUNDED_POINTERS__]: Likewise.
39037         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
39038         Likewise.
39039         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
39040         Remove conditional code.
39041         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
39042         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
39043         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
39044         condition.
39046         [BZ #13550]
39047         * csu/libc-start.c: Do not include <bp-sym.h>.
39048         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
39049         * elf/dl-open.c: Do not include <bp-sym.h>.
39050         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
39051         * math/fegetenv.c: Do not include <bp-sym.h>.
39052         (fegetenv): Do not use BP_SYM in versioned symbols.
39053         * nptl/sysdeps/pthread/bits/libc-lockP.h
39054         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
39055         <bp-sym.h>.
39056         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39057         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
39058         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39059         (__pthread_mutex_destroy): Likewise.
39060         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39061         (__pthread_mutex_lock): Likewise.
39062         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39063         (__pthread_mutex_trylock): Likewise.
39064         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39065         (__pthread_mutex_unlock): Likewise.
39066         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39067         (__pthread_mutexattr_init): Likewise.
39068         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39069         (__pthread_mutexattr_destroy): Likewise.
39070         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39071         (__pthread_mutexattr_settype): Likewise.
39072         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39073         (__pthread_rwlock_init): Likewise.
39074         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39075         (__pthread_rwlock_destroy): Likewise.
39076         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39077         (__pthread_rwlock_rdlock): Likewise.
39078         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39079         (__pthread_rwlock_tryrdlock): Likewise.
39080         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39081         (__pthread_rwlock_wrlock): Likewise.
39082         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39083         (__pthread_rwlock_trywrlock): Likewise.
39084         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39085         (__pthread_rwlock_unlock): Likewise.
39086         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39087         (__pthread_key_create): Likewise.
39088         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39089         (__pthread_setspecific): Likewise.
39090         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39091         (__pthread_getspecific): Likewise.
39092         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
39093         Likewise.
39094         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39095         (_pthread_cleanup_push_defer): Likewise.
39096         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39097         (_pthread_cleanup_pop_restore): Likewise.
39098         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39099         (pthread_setcancelstate): Likewise.
39100         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
39101         <bp-sym.h>.
39102         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
39103         (memchr): Do not use BP_SYM in weak_alias.
39104         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
39105         (fegetenv): Do not use BP_SYM in versioned symbols.
39106         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
39107         (fesetenv): Do not use BP_SYM in versioned symbols.
39108         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
39109         (feupdateenv): Do not use BP_SYM in versioned symbols.
39110         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
39111         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
39112         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
39113         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
39114         (open64): Do not use BP_SYM in weak_alias.
39115         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
39116         (fegetenv): Do not use BP_SYM in versioned symbols.
39117         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
39118         (fesetenv): Do not use BP_SYM in versioned symbols.
39119         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
39120         (feupdateenv): Do not use BP_SYM in versioned symbols.
39121         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
39122         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
39123         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
39124         (feraiseexcept): Do not use BP_SYM in versioned symbols.
39125         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
39126         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
39127         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
39128         <bp-sym.h>.
39129         (__libc_start_main): Do not use BP_SYM.
39131 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
39133         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
39134         redundant return line.
39135         (norm): Likewise.
39136         (denorm): Likewise.
39137         (dbl_mp): Likewise.
39138         (sub_magnitudes): Likewise.
39139         (__add): Likewise.
39140         (__sub): Likewise.
39141         (__mul): Likewise.
39142         (__inv): Likewise.
39143         (__dvd): Likewise.
39144         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
39145         (norm): Likewise.
39146         (denorm): Likewise.
39147         (dbl_mp): Likewise.
39148         (sub_magnitudes): Likewise.
39149         (__add): Likewise.
39150         (__sub): Likewise.
39151         (__mul): Likewise.
39152         (__inv): Likewise.
39153         (__dvd): Likewise.
39155         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
39156         instead of __mul.
39157         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
39158         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
39159         (cc32): Likewise.
39161         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
39162         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
39163         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
39164         of __mul for squares.
39165         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
39166         function
39167         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
39168         Likewise.
39169         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
39170         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39172 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
39174         [BZ #13550]
39175         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
39176         code.
39177         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
39178         prototype or function definition.  Rename ubp_* variables and
39179         parameters.  Remove argv definitions conditional on
39180         [__BOUNDED_POINTERS__].
39181         * debug/backtrace.c (__backtrace): Do not use __unbounded.
39182         * elf/dl-runtime.c (_dl_fixup): Likewise.
39183         * include/set-hooks.h (RUN_HOOK): Likewise.
39184         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
39185         definition.
39186         * string/strcpy.c (strcpy): Do not use __unbounded.
39187         * sysdeps/generic/frame.h (struct layout): Likewise.
39188         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
39189         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
39190         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
39191         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
39192         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
39193         (__backtrace): Likewise.
39194         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
39195         use __ptrvalue.
39196         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
39197         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
39198         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
39199         Likewise.
39200         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
39201         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
39202         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
39203         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
39204         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
39205         Do not use __unbounded.
39206         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
39207         Rename __unboundedrlimits parameter to rlimits in prototype.
39208         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
39209         Do not use __unbounded.
39210         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
39211         not use __ptrvalue.
39212         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
39213         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
39214         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
39215         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
39216         __ptrvalue or __unbounded.
39217         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
39218         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
39219         use __unbounded.
39220         (__new_msgctl): Do not use __ptrvalue.
39221         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
39222         __unbounded.
39223         (__libc_msgrcv): Do not use __ptrvalue.
39224         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
39225         startup_info): Do not use __unbounded.
39226         (__libc_start_main): Likewise.  Rename ubp_* variables and
39227         parameters.  Remove argv definitions conditional on
39228         [__BOUNDED_POINTERS__].
39229         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
39230         __ptrvalue.
39231         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
39232         use __unbounded.
39233         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
39234         or __ptrvalue.
39235         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
39236         use __unbounded.
39237         (__new_shmctl): Do not use __ptrvalue.
39238         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
39239         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
39240         Likewise.
39241         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
39242         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
39243         (__libc_sigaction): Likewise.
39244         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
39245         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
39246         Likewise.
39247         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
39249 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
39251         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
39253         * string/mempcpy.c: Implement by calling memcpy.
39255 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
39257         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
39259         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
39260         evaluation.
39262         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
39263         values in the mantissa.
39265         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
39266         minimize writes to Z.
39267         (sub_magnitudes): Simplify code a bit.
39269 2013-02-12  Roland McGrath  <roland@hack.frob.com>
39271         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
39272         from the message.  The linker prefixes all warnings with that already.
39274 2013-02-12  Andreas Schwab  <schwab@suse.de>
39276         [BZ #15078]
39277         * posix/regexec.c (extend_buffers): Add parameter min_len.
39278         (check_matching): Pass minimum needed length.
39279         (clean_state_log_if_needed): Likewise.
39280         (get_subexp): Likewise.
39281         * posix/Makefile (tests): Add bug-regex34.
39282         (bug-regex34-ENV): Define.
39283         * posix/bug-regex34.c: New file.
39285         [BZ #11561]
39286         * posix/regcomp.c (parse_bracket_exp): When looking up collating
39287         elements compare against the byte sequence of it, not its name.
39288         * posix/Makefile (tests): Add bug-regex35.
39289         (bug-regex35-ENV): Define.
39290         * posix/bug-regex35.c: New file.
39292 2013-02-11  Tom de Vries  <tom@codesourcery.com>
39294         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
39295         comment.
39296         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
39297         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
39298         (CHECK_EOL): Add undef.
39300 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
39302         * bits/stdlib-bsearch.h: New file.
39303         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
39304         * stdlib/stdlib.h: Likewise.
39306 2013-02-11  Roland McGrath  <roland@hack.frob.com>
39308         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
39309         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
39310         declaration.
39311         * manual/search.texi (Array Search Function): Add missing const in
39312         lfind prototype.
39313         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
39314         declaration to use rlim_t.
39315         (Basic Scheduling Functions): Remove erroneous const from
39316         sched_getparam prototype.  Remove erroneous * from
39317         sched_get_priority_max and sched_get_priority_min prototypes.
39318         (Resource Usage): Fix summary @comment on vtimes to refer to
39319         sys/vtimes.h rather than vtimes.h.
39320         Add missing *s in vtimes prototype.
39321         (Limits on Resources): Fix ulimit prototype to return long int.
39322         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
39323         prototypes to use long int rather than double.
39324         (BSD Random): Fix initstate and setstate to use char *, not void *.
39325         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
39326         prototype to make second argument 'struct aiocb64 *const[]'.
39327         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
39328         (Status of AIO Operations): Remove erroneous const in aio_return and
39329         aio_return64 prototypes.
39330         (Synchronizing I/O): Fix sync prototype to return void.
39331         * manual/startup.texi (Suboptions): Remove an erroneous const in
39332         getsubopt prototype.
39333         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
39334         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
39335         use size_t rather than int.
39336         (Scanning All Users): Likewise for getpwent_r.
39337         (Setting Groups): Add missing const to setgroups prototype.
39338         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
39339         * manual/socket.texi (Host Names): Fix gethostbyaddr and
39340         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
39341         'const void *' rather than 'const char *'.
39342         (Host Address Functions): Likewise for inet_ntop.
39343         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
39344         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
39345         ssize_t for return value.
39346         (Sending Data): Likewise for send, sendto, sendmsg.
39347         (Socket Option Functions): Add a missing const in setsockopt prototype.
39348         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
39349         use wchar_t for the argument.
39350         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
39351         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
39352         take no arguments.
39353         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
39354         double/float/long double for second argument.
39355         Fix return types of significand, significandf, significandl.
39356         * manual/filesys.texi (Setting Permissions): Use mode_t for second
39357         argument in fchmod prototype.
39358         (File Owner): Use uid_t and gid_t in fchown prototype.
39359         (File Times): Add const to utimes, futimes, and lutimes prototypes.
39360         (Making Special Files): Use mode_t and dev_t in mknod prototype.
39361         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
39362         use 'const struct dirent **' as argument types to CMP function pointer
39363         argument.
39364         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
39365         (File Times): Fix summary magic @comment for struct utimbuf and utime
39366         to refer to utime.h, not time.h.
39367         * manual/string.texi (Argz Functions): Add missing const in
39368         argz_extract and argz_next prototypes.
39369         (Finding Tokens in a String): Likewise for basename.
39370         (String/Array Comparison): Fix typo in wcscasecmp prototype.
39371         (Copying and Concatenation): Fix typo in wmemmove prototype.
39372         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
39373         (Signal Stack): Remove erroneous const in sigstack prototype.
39374         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
39375         prototype.
39376         (Simple Calendar Time): Likewise for stime.
39377         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
39378         prototype.
39379         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
39380         say sys/sysctl.h instead.
39381         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
39382         and vsyslog prototypes.
39384 2013-02-11  Tom de Vries  <tom@codesourcery.com>
39386         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
39387         Remove.
39389 2013-02-11  Roland McGrath  <roland@hack.frob.com>
39391         * misc/sys/mman.h: Fix typo in mremap comment.
39393 2013-02-08  Roland McGrath  <roland@hack.frob.com>
39395         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
39396         the '\0' terminator.
39398 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
39400         [BZ #13550]
39401         * debug/segfault.c: Don't include <bp-checks.h>.
39402         * sysdeps/generic/bp-checks.h: Remove file.
39403         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
39404         (__GETDENTS): Don't use CHECK_N.
39405         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
39406         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
39407         (__getgroups): Don't use CHECK_N.
39408         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
39409         (setgroups): Don't use CHECK_N.
39410         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
39411         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
39412         (__libc_msgrcv): Don't use CHECK_N.
39413         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
39414         (__libc_msgsnd): Don't use CHECK_N.
39415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
39416         <bp-checks.h>.
39417         (__libc_pread): Don't use CHECK_N.
39418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
39419         include <bp-checks.h>.
39420         (__libc_pread64): Don't use CHECK_N.
39421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
39422         include <bp-checks.h>.
39423         (__libc_pwrite): Don't use CHECK_N.
39424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
39425         include <bp-checks.h>.
39426         (__libc_pwrite64): Don't use CHECK_N.
39427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
39428         <bp-checks.h>.
39429         (__libc_pread): Don't use CHECK_N.
39430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
39431         include <bp-checks.h>.
39432         (__libc_pread64): Don't use CHECK_N.
39433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
39434         include <bp-checks.h>.
39435         (__libc_pwrite): Don't use CHECK_N.
39436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
39437         include <bp-checks.h>.
39438         (__libc_pwrite64): Don't use CHECK_N.
39439         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
39440         (do_pread): Don't use CHECK_N.
39441         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
39442         (do_pread64): Don't use CHECK_N.
39443         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
39444         (do_pwrite): Don't use CHECK_N.
39445         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
39446         (do_pwrite64): Don't use CHECK_N.
39447         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
39448         (__libc_readv): Don't use CHECK_N.
39449         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
39450         (semop): Don't use CHECK_N.
39451         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
39452         <bp-checks.h>.
39453         (semtimedop): Don't use CHECK_N.
39454         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
39455         (__libc_pread): Don't use CHECK_N.
39456         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
39457         <bp-checks.h>.
39458         (__libc_pread64): Don't use CHECK_N.
39459         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
39460         <bp-checks.h>.
39461         (__libc_pwrite): Don't use CHECK_N.
39462         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
39463         <bp-checks.h>.
39464         (__libc_pwrite64): Don't use CHECK_N.
39465         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
39466         <bp-checks.h>.
39467         (__libc_msgrcv): Don't use CHECK_N.
39468         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
39469         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
39470         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
39471         (__libc_writev): Don't use CHECK_N.
39473 2013-02-08  Roland McGrath  <roland@hack.frob.com>
39475         * string/strcpy.c: Removed unused variable.
39477         * Makeconfig (+sysdep-includes): Define with := rather than =.
39478         Use an existing include/ subdir of each sysdeps dir before it.
39480 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
39482         * nscd/connection.c (register_traced_file): Comment function.
39483         [HAVE_INOTIFY] (union __inev): Define.
39484         [HAVE_INOTIFY] (inotify_check_files): New function.
39485         [HAVE_INOTIFY] (clear_db_cache): Likewise.
39486         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
39487         clear_db_cache.
39488         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
39490 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
39492         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
39493         loaded if not already and that a failure is permanent.
39495 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
39497         [BZ #15006]
39498         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
39499         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
39501 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
39503         [BZ #13550]
39504         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
39505         (CHECK_1_NULL_OK): Likewise.
39506         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
39507         (__fxstat): Do not use CHECK_1.
39508         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
39509         <bp-checks.h>.
39510         (___fxstat64): Do not use CHECK_1.
39511         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
39512         <bp-checks.h>.
39513         (__fxstatat): Do not use CHECK_1.
39514         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
39515         <bp-checks.h>.
39516         (__fxstatat64): Do not use CHECK_1.
39517         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
39518         <bp-checks.h>.
39519         (__fxstat): Do not use CHECK_1.
39520         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
39521         <bp-checks.h>.
39522         (__fxstatat): Do not use CHECK_1.
39523         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
39524         <bp-checks.h>.
39525         (__getresgid): Do not use CHECK_1.
39526         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
39527         <bp-checks.h>.
39528         (__getresuid): Do not use CHECK_1.
39529         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
39530         <bp-checks.h>.
39531         (__lxstat): Do not use CHECK_1.
39532         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
39533         <bp-checks.h>.
39534         (__old_msgctl): Do not use CHECK_1.
39535         (__new_msgctl): Likewise.
39536         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
39537         <bp-checks.h>.
39538         (__new_setrlimit): Do not use CHECK_1.
39539         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
39540         <bp-checks.h>.
39541         (__old_shmctl): Do not use CHECK_1.
39542         (__new_shmctl): Likewise.
39543         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
39544         <bp-checks.h>.
39545         (__xstat): Do not use CHECK_1.
39546         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
39547         (__lxstat): Do not use CHECK_1.
39548         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
39549         <bp-checks.h>.
39550         (___lxstat64): Do not use CHECK_1.
39551         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
39552         (__old_msgctl): Do not use CHECK_1.
39553         (__new_msgctl): Likewise.
39554         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
39555         <bp-checks.h>.
39556         (__gettimeofday): Do not use CHECK_1.
39557         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
39558         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
39559         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
39560         <bp-checks.h>.
39561         (__gettimeofday): Do not use CHECK_1.
39562         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
39563         (__old_shmctl): Do not use CHECK_1_NULL_OK.
39564         (__new_shmctl): Do not use CHECK_1.
39565         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
39566         <bp-checks.h>.
39567         (do_sigtimedwait): Do not use CHECK_1.
39568         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
39569         <bp-checks.h>.
39570         (do_sigwaitinfo): Do not use CHECK_1.
39571         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
39572         <bp-checks.h>.
39573         (msgctl): Do not use CHECK_1.
39574         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
39575         <bp-checks.h>.
39576         (shmctl): Do not use CHECK_1.
39577         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
39578         (ustat): Do not use CHECK_1.
39579         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
39580         <bp-checks.h>.
39581         (__fxstat): Do not use CHECK_1.
39582         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
39583         <bp-checks.h>.
39584         (__fxstatat): Do not use CHECK_1.
39585         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
39586         <bp-checks.h>.
39587         (__lxstat): Do not use CHECK_1.
39588         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
39589         <bp-checks.h>.
39590         (__xstat): Do not use CHECK_1.
39591         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
39592         (__xstat): Do not use CHECK_1.
39593         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
39594         (___xstat64): Do not use CHECK_1.
39596         [BZ #13550]
39597         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
39598         definitions.
39599         (CHECK_BOUNDS_HIGH): Likewise.
39600         * string/strcpy.c: Do not include <bp-checks.h>.
39601         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
39603 2013-02-07  Roland McGrath  <roland@hack.frob.com>
39605         * nscd/nscd-client.h (__nscd_drop_map_ref):
39606         Add __attribute__ ((unused)).
39607         * nis/nss-nisplus.h (niserr2nss): Likewise.
39609         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
39610         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
39612         * csu/libc-tls.c (init_static_tls, init_slotinfo):
39613         Remove inline keyword.
39614         * include/rounding-mode.h (round_away): Likewise.
39615         * libio/wfileops.c (adjust_wide_data): Likewise.
39616         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
39617         (__m128i_strloadu_tolower): Likewise.
39618         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
39619         (__m128i_strloadu_tolower): Likewise.
39620         * time/mktime.c (ydhms_diff): Likewise.
39621         * locale/elem-hash.h (elem_hash): Likewise.
39622         * locale/setlocale.c (setdata): Likewise.
39623         * posix/regex_internal.h (re_string_char_size_at): Likewise.
39624         (re_string_wchar_at): Likewise.
39625         (bitset_not, bitset_merge, bitset_mask): Likewise.
39626         [!(__GNUC__ > 3)] (inline): Remove macro.
39627         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
39628         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
39629         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
39630         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
39631         * string/memcmp.c (memcmp_bytes): Likewise.
39632         * locale/programs/locarchive.c (compute_hashval): Likewise.
39633         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
39634         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
39635         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
39636         * nss/getent.c (print_rpc, print_protocols): Likewise.
39637         (print_passwd, print_group, print_aliases): Likewise.
39638         * nis/nss-nisplus.h (niserr2nss): Likewise.
39639         * nscd/connections.c (restart_p): Likewise.
39640         Change return type to bool.
39642 2013-02-05  Roland McGrath  <roland@hack.frob.com>
39644         * Makeconfig (all-Depend-files): Add existing
39645         $(sorted-subdirs:=/Depend) files.
39646         (all-subdirs): Remove nss.
39647         * sysdeps/unix/inet/Subdirs: Add it here instead.
39648         * hesiod/Depend: New file.
39650         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
39651         instead of calling alloca.
39653         * io/lseek.c (__lseek): Rename to __libc_lseek.
39654         Define __lseek as an alias.
39656         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
39658 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
39660         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
39661         else clause and remove check for non-standard endianness.
39663 2013-02-04  David S. Miller  <davem@davemloft.net>
39665         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39667 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
39669         [BZ #13550]
39670         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
39671         (__ubp_memchr): Remove prototype.
39672         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
39673         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
39674         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
39675         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
39676         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
39677         Remove alias.
39678         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
39679         (__ubp_memchr): Likewise.
39680         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
39681         (__ubp_memchr): Likewise.
39682         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
39683         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
39684         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
39685         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
39686         CHECK_STRING.
39687         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
39688         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
39689         (__getcwd): Do not use CHECK_STRING.
39690         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
39691         <bp-checks.h>.
39692         (__real_chown): Do not use CHECK_STRING.
39693         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
39694         <bp-checks.h>.
39695         (fchownat): Do not use CHECK_STRING.
39696         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
39697         CHECK_STRING.
39698         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
39699         <bp-checks.h>.
39700         (__lchown): Do not use CHECK_STRING.
39701         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
39702         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
39703         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
39704         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
39705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39706         include <bp-checks.h>.
39707         (truncate64): Do not use CHECK_STRING.
39708         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
39709         <bp-checks.h>.
39710         (__real_chown): Do not use CHECK_STRING.
39711         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
39712         <bp-checks.h>.
39713         (__lchown): Do not use CHECK_STRING.
39714         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
39715         <bp-checks.h>.
39716         (__chown): Do not use CHECK_STRING.
39717         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
39718         <bp-checks.h>.
39719         (truncate64): Do not use CHECK_STRING.
39720         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
39721         Likewise.
39722         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
39723         (__xmknod): Do not use CHECK_STRING.
39724         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
39725         <bp-checks.h>.
39726         (__xmknodat): Do not use CHECK_STRING.
39727         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
39728         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
39730 2013-02-04  Andreas Schwab  <schwab@suse.de>
39732         [BZ #14142]
39733         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
39734         * include/netdb.h: Likewise for h_errno.
39735         * elf/tst-stackguard1.c: Include <tls.h>.
39737 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
39739         * elf/link.h (struct link_map): Extend the l_addr comment.
39740         * include/link.h (struct link_map): Likewise.
39742 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
39744         [BZ #13550]
39745         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
39746         (BOUNDED_1): Remove macro.
39747         * debug/backtrace.c: Don't include <bp-checks.h>.
39748         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
39749         (__backtrace): Likewise.
39750         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
39751         <bp-checks.h>.
39752         (__backtrace): Don't use BOUNDED_1.
39753         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
39754         <bp-checks.h>.
39755         (__backtrace): Don't use BOUNDED_1.
39756         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
39757         (__backtrace): Don't use BOUNDED_1.
39758         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
39759         (shmat): Don't use BOUNDED_N.
39761 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
39763         [BZ #13550]
39764         * sysdeps/generic/bp-start.h: Remove file.
39765         * csu/libc-start.c: Don't include <bp-start.h>.
39766         (LIBC_START_MAIN): Set up __environ directly instead of using
39767         INIT_ARGV_and_ENVIRON.
39768         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
39769         <bp-start.h>.
39771         [BZ #13550]
39772         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
39773         definitions.
39774         (CHECK_FCNTL): Likewise.
39775         (CHECK_N_PAGES): Likewise.
39777         [BZ #13550]
39778         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
39779         definitions.
39780         (CHECK_SIGSET_NULL_OK): Likewise.
39781         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
39782         <bp-checks.h>.
39783         (sigpending): Don't use CHECK_SIGSET.
39784         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
39785         <bp-checks.h>.
39786         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39787         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
39788         <bp-checks.h>.
39789         (do_sigsuspend): Don't use CHECK_SIGSET.
39790         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
39791         use CHECK_SIGSET.
39792         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
39793         (do_sigwait): Don't use CHECK_SIGSET.
39794         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
39795         use CHECK_SIGSET.
39796         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
39797         include <bp-checks.h>.
39798         (sigpending): Don't use CHECK_SIGSET.
39799         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
39800         include <bp-checks.h>.
39801         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39802         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
39803         <bp-checks.h>.
39804         (sigpending): Don't use CHECK_SIGSET.
39805         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
39806         <bp-checks.h>.
39807         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39809         [BZ #13550]
39810         * sysdeps/generic/bp-semctl.h: Remove file.
39811         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
39812         <bp-checks.h> and <bp-semctl.h>.
39813         (__old_semctl): Don't use CHECK_SEMCTL.
39814         (__new_semctl): Likewise.
39815         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
39816         and <bp-semctl.h>.
39817         (__old_semctl): Don't use CHECK_SEMCTL.
39818         (__new_semctl): Likewise.
39819         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
39820         <bp-checks.h> and <bp-semctl.h>.
39821         (__old_semctl): Don't use CHECK_SEMCTL.
39822         (__new_semctl): Likewise.
39823         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
39824         <bp-checks.h> and <bp-semctl.h>.
39825         (semctl): Don't use CHECK_SEMCTL.
39827         [BZ #13550]
39828         * Makerules (elide-bp-thunks): Remove variable.
39829         (elide-routines.oS): Don't use $(elide-bp-thunks).
39830         (elide-routines.os): Likewise.
39831         (elide-routines.o): Likewise.
39832         (elide-routines.op): Likewise.
39833         (elide-routines.og): Likewise.
39834         (objects): Don't use $(bp-thunks).
39835         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
39836         include.
39837         (common-generated): Do not add s-proto-bp.d.
39838         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
39839         (int): Likewise.
39840         (typ): Likewise.
39841         Do not generate makefile rules for bounded-pointer thunks.
39842         * sysdeps/generic/bp-thunks.h: Remove file.
39843         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
39844         * sysdeps/unix/s-proto-bp.S: Likewise.
39846         [BZ #15062]
39847         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
39848         parts of result separately when argument is not close to line from
39849         -i to i and one part of argument is small.
39850         * math/k_casinhf.c (__kernel_casinhf): Likewise.
39851         * math/k_casinhl.c (__kernel_casinhl): Likewise.
39852         * math/libm-test.inc (cacos_test): Add more tests.
39853         (casin_test): Likewise.
39854         (casinh_test): Likewise.
39855         * sysdeps/i386/fpu/libm-test-ulps: Update.
39856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39858 2013-01-31  David S. Miller  <davem@davemloft.net>
39860         * po/de.po: Update from translation team.
39862 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
39864         * time/tzfile.c: Include stdint.h for SIZE_MAX.
39866 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
39868         * configure.in (_AC_PROG_CC_C89): New definition.
39869         * configure: Regenerate.
39871         * configure.in (AC_PROG_CPP): New definition.
39872         * configure: Regenerate.
39874 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
39876         * debug/tst-backtrace.h: New file.
39877         * debug/tst-backtrace2.c: Include tst-backtrace.h.
39878         (ret): Remove variable.
39879         (x): Likewise.
39880         (FAIL): Remove macro.
39881         (NO_INLINE): Likewise.
39882         (fn1): Use match function instead of strstr.
39883         * debug/tst-backtrace3.c: Include tst-backtrace.h.
39884         (ret): Remove variable.
39885         (x): Likewise.
39886         (FAIL): Remove macro.
39887         (NO_INLINE): Likewise.
39888         (fn): Use match function instead of strstr.
39889         * debug/tst-backtrace4.c: Include tst-backtrace.h.
39890         (ret): Remove variable.
39891         (x): Likewise.
39892         (FAIL): Remove macro.
39893         (NO_INLINE): Likewise.
39894         (handle_signal): Use match function instead of strstr.
39895         * debug/tst-backtrace5.c: Include tst-backtrace.h.
39896         (ret): Remove variable.
39897         (x): Likewise.
39898         (FAIL): Remove macro.
39899         (NO_INLINE): Likewise.
39900         (handle_signal): Use match function instead of strstr.
39902 2013-01-23  Roland McGrath  <roland@hack.frob.com>
39904         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
39906 2013-01-23  David S. Miller  <davem@davemloft.net>
39908         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
39909         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
39910         argument of CAS if possible.
39911         * sysdeps/sparc/sparc64/bits/atomic.h
39912         (__arch_compare_and_exchange_val_32_acq): Likewise.
39913         (__arch_compare_and_exchange_val_64_acq): Likewise.
39915 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
39917         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
39918         * sysdeps/posix/ulimit.c: ... this.
39919         Include <limits.h>.
39920         * sysdeps/unix/bsd/ulimit.c: Remove file.
39922 2013-01-23  Adam Conrad  <adconrad@0c3.net>
39924         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
39925         (LDFLAGS-tst-array5): Likewise.
39927 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
39929         [BZ #15036]
39930         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
39931         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
39932         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
39933         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
39935 2013-01-21  David S. Miller  <davem@davemloft.net>
39937         * sysdeps/sparc/backtrace.c: New file.
39938         * sysdeps/sparc/sparc32/backtrace.h: New file.
39939         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
39940         * sysdeps/sparc/sparc64/backtrace.h: New file.
39941         * sysdeps/sparc/sparc64/backtrace.c: Delete.
39942         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
39943         -funwind-tables.
39945 2013-01-21  Andreas Schwab  <schwab@suse.de>
39947         [BZ #15020]
39948         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
39949         closed its stdout.
39951 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
39953         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
39954         "mpa2.h".
39955         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39957 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
39958             Mark Mitchell  <mark@codesourcery.com>
39959             Tom de Vries  <tom@codesourcery.com>
39960             Paul Pluzhnikov  <ppluzhnikov@google.com>
39962         * debug/tst-backtrace2.c: New file.
39963         * debug/tst-backtrace3.c: Likewise.
39964         * debug/tst-backtrace4.c: Likewise.
39965         * debug/tst-backtrace5.c: Likewise.
39966         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
39967         (CFLAGS-tst-backtrace3.c): Likewise.
39968         (CFLAGS-tst-backtrace4.c): Likewise.
39969         (CFLAGS-tst-backtrace5.c): Likewise.
39970         (LDFLAGS-tst-backtrace2): Likewise.
39971         (LDFLAGS-tst-backtrace3): Likewise.
39972         (LDFLAGS-tst-backtrace4): Likewise.
39973         (LDFLAGS-tst-backtrace5): Likewise.
39974         (tests): Add new tests tst-backtrace2, tst-backtrace3,
39975         tst-backtrace4 and tst-backtrace5.
39977 2013-01-18  Anton Blanchard  <anton@samba.org>
39978             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39980         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
39981         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
39982         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
39983         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
39984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39985         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
39986         "+r" and remove output regs list as redundant.  Add explicit inline
39987         asm to specify register of return val to work around compiler codegen
39988         bug.  Remove (int) cast on return value.  Add return type parameter to
39989         use in macro so that this macro does not truncate return value for
39990         64-bit values.
39991         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
39992         pass to INTERNAL_VSYSCALL_NCS.
39993         (INLINE_VSYSCALL): Add 'long int' as return type to
39994         INTERNAL_VSYSCALL_NCS macro invocation.
39995         (INTERNAL_VSYSCALL): Add 'long int' as return type to
39996         INTERNAL_VSYSCALL_NCS macro invocation.
39997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39999 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
40001         [BZ #14496]
40002         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
40003         Fix application of SIMD FP exception mask.
40005         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
40006         mp_no from a power of two.
40007         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
40008         __mpexp_twomm1.  Use __pow_mp.
40010         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
40011         multiplication.
40013 2013-01-17  David S. Miller  <davem@davemloft.net>
40015         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40017 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
40019         [BZ #15023]
40020         * include/complex.h: Condition contents on [!_COMPLEX_H].
40021         (__kernel_casinhf): New prototype.
40022         (__kernel_casinh): Likewise.
40023         (__kernel_casinhl): Likewise.
40024         * math/Makefile (libm_calls): Add k_casinh.
40025         * math/k_casinh.c: New file.
40026         * math/k_casinhf.c: Likewise.
40027         * math/k_casinhl.c: Likewise.
40028         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
40029         finite nonzero arguments.
40030         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
40031         finite nonzero arguments.
40032         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
40033         finite nonzero arguments.
40034         * math/s_casinh.c: Do not include <float.h>.
40035         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
40036         * math/s_casinhf.c: Do not include <float.h>.
40037         (__casinhf): Move code for finite nonzero arguments to
40038         k_casinhf.c.
40039         * math/s_casinhl.c: Do not include <float.h>.
40040         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
40041         redefine.
40042         (__casinhl): Move code for finite nonzero arguments to
40043         k_casinhl.c.
40044         * math/libm-test.inc (cacos_test): Add more tests.
40045         * sysdeps/i386/fpu/libm-test-ulps: Update.
40046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40048 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
40050         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
40051         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
40052         [!HAVE_MREMAP]: Remove [defined linux] case.
40053         * malloc/arena.c: Do not include <malloc-sysdep.h>.
40055 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
40057         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
40059 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
40061         * elf/elf.h (R_386_SIZE32): New relocation.
40062         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
40063         R_386_SIZE32.
40064         (elf_machine_rela): Likewise.
40065         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
40066         R_X86_64_SIZE64 and R_X86_64_SIZE32.
40068 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
40070         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
40071         (FP_FAST_FMA): Do not define.
40072         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
40073         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
40074         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
40075         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
40076         !_SOFT_FLOAT]: Likewise.
40077         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
40078         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
40079         value.
40080         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
40081         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
40082         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
40083         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
40084         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
40085         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
40086         file.
40088 2013-01-16  Andreas Schwab  <schwab@suse.de>
40090         [BZ #14327]
40091         * include/stdlib.h (__mktemp): Add declaration.
40092         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
40093         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
40095 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40097         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
40098         definitions.
40099         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
40100         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
40101         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
40102         definitions here.
40103         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
40104         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
40105         definitions.
40106         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
40107         and ONE.
40108         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
40109         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
40110         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
40111         definitions.
40112         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
40113         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
40114         definitions.
40115         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
40117         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
40119 2013-01-15  David S. Miller  <davem@davemloft.net>
40121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40122         trunc{,f} to libm-sysdep_routes.
40123         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
40125         file.
40126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
40127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
40128         file.
40129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
40130         file.
40131         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
40132         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
40133         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
40134         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
40135         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
40136         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
40137         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
40138         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
40140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40141         nearbyint{,f} to libm-sysdep_routes.
40142         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
40144         New file.
40145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
40146         file.
40147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
40148         New file.
40149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
40150         file.
40151         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
40152         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
40153         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
40154         file.
40155         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
40156         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
40157         file.
40158         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
40159         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
40160         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
40162         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
40163         libc_feholdexcept and libc_fesetenv.
40165 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
40167         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
40169 2013-01-14  David S. Miller  <davem@davemloft.net>
40171         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
40172         (SPARC_ASM_VIS2_IFUNC): Likewise.
40173         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
40174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
40175         use of 'siam' instruction.
40176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
40177         Likewise.
40178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
40179         Likewise.
40180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
40181         Likewise.
40182         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
40183         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
40184         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
40185         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
40186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
40187         file.
40188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
40189         file.
40190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
40191         file.
40192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
40193         file.
40194         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
40195         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
40196         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
40197         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
40198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
40199         new VIS2 routines.
40200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
40201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40203         Likewise.
40204         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40205         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40206         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40207         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
40209         routines to libm-sysdep_routines.
40210         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40213         fdim/fdimf to libm-sysdep_routines.
40214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
40215         file.
40216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
40217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
40218         file.
40219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
40220         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
40221         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
40222         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
40223         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
40224         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
40225         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
40227 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
40229         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
40230         to optimize copies.
40232         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
40233         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40234         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40236         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
40237         local variable MPTWO.
40238         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
40239         Likewise.
40241 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
40243         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
40244         GLOB_NOESCAPE.
40246 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
40248         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
40250 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
40252         * manual/pattern.texi (glob_t): Document gl_flags.
40253         (glob64_t): Likewise.
40255 2013-01-11  David S. Miller  <davem@davemloft.net>
40257         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
40258         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
40259         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
40260         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
40261         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
40262         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
40263         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
40264         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
40265         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
40266         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
40267         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
40268         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
40269         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
40271         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
40272         sparc V9 rather than using V8 code.
40273         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
40274         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
40276         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40277         Move to...
40278         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
40279         Here.
40281 2013-01-11  Roland McGrath  <roland@hack.frob.com>
40283         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
40284         not in the main loop.
40285         * configure: Regenerated.
40287 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
40289         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
40290         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
40291         to just #else.
40292         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
40293         [!__GLIBC_HAVE_LONG_LONG] case.
40294         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
40295         condition to just #else.
40296         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
40297         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
40298         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
40299         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
40300         unconditional.
40301         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
40302         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
40303         #elif condition to just #else.
40304         * sysdeps/unix/sysv/linux/sys/sysmacros.h
40305         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
40306         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
40307         #elif condition to just #else.
40309 2013-01-11  Steve Ellcey  <sellcey@mips.com>
40311         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
40312         (EF_MIPS_ARCH_64): Fix value.
40313         (EF_MIPS_ARCH_32R2): New.
40314         (EF_MIPS_ARCH_64R2): New.
40316 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
40318         * Makeconfig (+link-pie-before-libc): New.
40319         (+link-pie-after-libc): Likewise.
40320         (+link-pie-tests): Likewise.
40321         (+link-pie): Rewritten.
40322         (link-before-libc): Remove $(config-LDFLAGS).
40323         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
40324         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
40325         (config-LDFLAGS): Renamed to ...
40326         (rtld-LDFLAGS): This.
40327         (rtld-tests-LDFLAGS): New macro.
40328         (link-libc-rpath-link): Likewise.
40329         (link-libc-tests-rpath-link): Likewise.
40330         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
40331         (link-libc): Prepand $(link-libc-rpath-link).
40332         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
40333         (test-program-prefix): New macro.
40334         (test-via-rtld-prefix): Likewise.
40335         (test-program-cmd): Likewise.
40336         (host-test-program-cmd): Likewise.
40337         * Makefile ($(common-objpfx)testrun.sh): Replace
40338         $(run-program-prefix) with $(test-program-prefix).
40339         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
40340         $(rtld-LDFLAGS).
40341         ($(common-objpfx)shlib.lds): Likewise.
40342         (build-module-helper): Likewise.
40343         ($(common-objpfx)format.lds): Likewise.
40344         * Rules (binaries-pie-tests): New.
40345         (binaries-pie-notests): Likewise.
40346         (binaries-pie): Rewritten.
40347         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
40348         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
40349         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
40350         (make-test-out): Replace $(host-built-program-cmd) with
40351         $(host-test-program-cmd).
40352         * config.make.in (build-hardcoded-path-in-tests): New variable.
40353         * configure.in (--enable-hardcoded-path-in-tests): New configure
40354         option.
40355         (hardcoded_path_in_tests): New AC_SUBST.
40356         * configure: Regenerated.
40357         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
40358         $(built-program-cmd) with $(test-program-cmd).
40359         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
40360         (test_program_cmd): This.
40361         * elf/Makefile ($(objpfx)order.out): Run test with
40362         $(test-program-prefix).
40363         ($(objpfx)order2.out): Likewise.
40364         ($(objpfx)tst-initorder.out): Likewise.
40365         ($(objpfx)tst-initorder2.out): Likewise.
40366         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
40367         $(test-program-cmd).
40368         ($(objpfx)tst-array1-static.out): Likewise.
40369         ($(objpfx)tst-array2.out): Likewise.
40370         ($(objpfx)tst-array3.out): Likewise.
40371         ($(objpfx)tst-array4.out): Likewise.
40372         ($(objpfx)tst-array5.out): Likewise.
40373         ($(objpfx)tst-array5-static.out): Likewise.
40374         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
40375         $(test-program-cmd).
40376         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
40377         $(run-program-prefix) with $(test-program-prefix).
40378         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
40379         (test_program_prefix): This.
40380         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
40381         $(run-program-prefix) with $(test-program-prefix).
40382         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
40383         (test_program_prefix): This.
40384         * iconvdata/tst-tables.sh: Likewise.
40385         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
40386         $(run-program-prefix) with $(test-program-prefix).
40387         ($(objpfx)tst-translit.out): Likewise.
40388         ($(objpfx)tst-gettext2.out): Likewise.
40389         ($(objpfx)tst-gettext4.out): Likewise.
40390         ($(objpfx)tst-gettext6.out): Likewise.
40391         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
40392         (test_program_prefix): This.
40393         * intl/tst-gettext2.sh: Likewise.
40394         * intl/tst-gettext4.sh  Likewise.
40395         * intl/tst-gettext6.sh: Likewise.
40396         * intl/tst-translit.sh: Likewise.
40397         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
40398         with $(test-program-cmd).
40399         * libio/Makefile ($(objpfx)test-freopen.out): Replace
40400         $(run-program-prefix) with $(test-program-prefix).
40401         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
40402         (test_program_prefix): This.
40403         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
40404         $(run-program-prefix) with $(test-program-prefix).
40405         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
40406         (test_program_prefix): This.
40407         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
40408         * posix/Makefile ($(objpfx)globtest.out): Replace
40409         $(run-via-rtld-prefix) and $(test-wrapper) with
40410         $(test-program-prefix) and $(test-via-rtld-prefix).
40411         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
40412         $(test-program-prefix).
40413         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
40414         $(host-test-program-cmd).
40415         (tst-spawn-ARGS): Likewise.
40416         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
40417         $(test-program-prefix).
40418         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
40419         (test_via_rtld_prefix): This.
40420         (test_wrapper): Renamed to ...
40421         (test_program_prefix): This.
40422         (run_program_prefix): Replaced by test_program_prefix.
40423         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
40424         (test_program_prefix): This.
40425         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
40426         with $(host-test-program-cmd).
40427         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
40428         $(run-program-prefix) with $(test-program-prefix).
40429         ($(objpfx)tst-printf.out): Likewise.
40430         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
40431         $(test-program-cmd).
40432         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
40433         (test_program_prefix): This.
40434         * stdio-common/tst-unbputc.sh: Likewise.
40435         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
40436         $(run-program-prefix) with $(test-program-prefix).
40437         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
40438         (test_program_prefix): This.
40439         * string/Makefile ($(objpfx)tst-svc.out):  Replace
40440         $(built-program-cmd) with $(test-program-cmd).
40442 2013-01-11  Andreas Jaeger  <aj@suse.de>
40444         [BZ #15003]
40445         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
40446         value. Sync with Linux 3.7.
40448 2013-01-10  David S. Miller  <davem@davemloft.net>
40450         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
40451         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
40452         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
40454 2013-01-10  Roland McGrath  <roland@hack.frob.com>
40456         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
40457         never set.
40458         * configure: Regenerated.
40460 2013-01-10  David S. Miller  <davem@davemloft.net>
40462         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
40463         sparc V9 rather than using V8 code.
40464         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
40465         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
40467 2013-01-10  Roland McGrath  <roland@hack.frob.com>
40469         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
40470         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
40471         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
40472         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
40473         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
40474         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
40475         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
40476         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
40477         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
40478         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
40479         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
40480         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
40481         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
40482         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
40483         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
40484         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
40485         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
40486         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
40487         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
40488         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
40489         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
40490         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
40491         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
40492         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
40493         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
40494         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
40495         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
40497 2013-01-10  David S. Miller  <davem@davemloft.net>
40499         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40501 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
40503         * posix/Makefile (tests-static): New variable.
40504         (tests): Add $(tests-static).
40505         (tst-exec-static-ARGS): New variable.
40506         (tst-spawn-static-ARGS): Likewise.
40507         * posix/tst-exec-static.c: New file.
40508         * posix/tst-spawn-static.c: Likewise.
40509         * posix/tst-exec.c: Support run directly.
40510         * posix/tst-spawn.c: Likewise.
40512 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
40514         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
40515         long.
40516         * math/bits/mathcalls.h (llrint): Likewise.
40517         (llround): Likewise.
40518         * stdlib/stdlib.h (struct drand48_data): Likewise.
40519         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
40520         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
40521         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
40522         Likewise.
40523         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
40524         Likewise.
40525         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
40526         (elf_greg_t): Likewise.
40527         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
40528         (__jmp_buf): Likewise.
40529         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
40530         definitions.
40531         (llrint): Likewise, for all definitions.
40532         (llrintl): Likewise.
40534         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
40535         Remove [__GNUC__] condition.
40536         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
40537         condition to just [__USE_ISOC99].
40538         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
40540 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
40542         [BZ #14200]
40543         * sysdeps/unix/sysv/linux/x86/bits/environments.h
40544         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
40545         defined.
40546         (_POSIX_V6_ILP32_OFF32): Likewise.
40547         (_XBS5_ILP32_OFF32): Likewise.
40548         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
40549         (__ILP32_OFFBIG_LDFLAGS): Likewise.
40551 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40553         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
40555         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
40556         doubles __mpexp_twomm1.  Adjust usage.
40557         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
40558         Remove.
40560 2013-01-10  Andreas Schwab  <schwab@suse.de>
40562         [BZ #14964]
40563         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
40564         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
40566 2013-01-09  David S. Miller  <davem@davemloft.net>
40568         [BZ #15003]
40569         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
40570         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
40571         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
40572         (TCP_FASTOPEN): Define.
40573         (tcp_repair_opt): New structure.
40574         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
40575         enum values.
40576         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
40577         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
40578         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
40579         (tcp_cookie_transactions): New structure.
40581 2013-01-09  Anton Blanchard  <anton@samba.org>
40583         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
40584         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
40585         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
40586         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
40588 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
40590         * include/features.h (__USE_ANSI): Remove.
40592 2013-01-09  Roland McGrath  <roland@hack.frob.com>
40594         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
40596         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
40598 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
40600         * sysdeps/s390/fpu/libm-test-ulps: Update.
40602         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40604         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
40605         (__acr): Likewise.
40606         (__cpy): Likewise.
40607         (norm): Likewise.
40608         (denorm): Likewise.
40609         (__mp_dbl): Likewise.
40610         (__dbl_mp): Likewise.
40611         (add_magnitudes): Likewise.
40612         (sub_magnitudes): Likewise.
40613         (__add): Likewise.
40614         (__sub): Likewise.
40615         (__mul): Likewise.
40616         (__inv): Likewise.
40617         (__dvd): Likewise.
40618         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
40619         (__acr): Likewise.
40620         (__cpy): Likewise.
40621         (norm): Likewise.
40622         (denorm): Likewise.
40623         (__mp_dbl): Likewise.
40624         (__dbl_mp): Likewise.
40625         (add_magnitudes): Likewise.
40626         (sub_magnitudes): Likewise.
40627         (__add): Likewise.
40628         (__sub): Likewise.
40629         (__mul): Likewise.
40630         (__inv): Likewise.
40631         (__dvd): Likewise.
40632         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
40633         (__acr): Likewise.
40634         (__cpy): Likewise.
40635         (norm): Likewise.
40636         (denorm): Likewise.
40637         (__mp_dbl): Likewise.
40638         (__dbl_mp): Likewise.
40639         (add_magnitudes): Likewise.
40640         (sub_magnitudes): Likewise.
40641         (__add): Likewise.
40642         (__sub): Likewise.
40643         (__mul): Likewise.
40644         (__inv): Likewise.
40645         (__dvd): Likewise.
40647 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
40649         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
40650         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
40651         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
40652         2 && __USE_EXTERN_INLINES]: Likewise.
40654 2013-01-08  Andreas Jaeger  <aj@suse.de>
40656         [BZ# 14985]
40657         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
40658         Remove.
40659         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
40660         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
40662 2013-01-07  Anton Blanchard  <anton@samba.org>
40664         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
40665         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
40666         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
40667         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
40668         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
40669         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40670         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
40671         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
40672         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40673         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40674         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40675         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40676         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40677         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
40678         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
40679         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40680         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40681         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
40682         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
40683         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
40684         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
40685         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
40686         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40687         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
40688         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
40689         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
40690         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40691         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
40692         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
40693         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40694         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
40695         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40696         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40697         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
40698         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
40699         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40700         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
40701         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
40702         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
40703         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
40704         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
40705         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40706         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
40708 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
40710         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
40711         (__MALLOC_PMT): Likewise.
40712         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
40713         [__GNUC__], only on [_LIBC].
40714         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
40715         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
40716         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
40717         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
40718         forward declaration.
40719         (realloc_hook_ini): Likewise.
40720         (memalign_hook_ini): Likewise.
40721         (__libc_memalign): Do not use __MALLOC_PMT in variable
40722         declaration.
40723         (__libc_valloc): Likewise.
40724         (__libc_pvalloc): Likewise.
40725         (__libc_calloc): Likewise.
40726         (__posix_memalign): Likewise.
40728         [BZ #14996]
40729         * math/s_casinh.c: Include <float.h>.
40730         (__casinh): Do not do computation with squaring and square root
40731         for large arguments.
40732         * math/s_casinhf.c: Include <float.h>.
40733         (__casinhf): Do not do computation with squaring and square root
40734         for large arguments.
40735         * math/s_casinhl.c: Include <float.h>.
40736         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
40737         (__casinhl): Do not do computation with squaring and square root
40738         for large arguments.
40739         * math/libm-test.inc (casin_test): Add more tests.
40740         (casinh_test): Likewise.
40741         * sysdeps/i386/fpu/libm-test-ulps: Update.
40742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40744 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
40746         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
40747         (__x86_64_raw_data_cache_size): Likewise.
40748         (__x86_64_data_cache_size_half): Likewise.
40749         (__x86_64_raw_data_cache_size_half): Likewise.
40750         (__x86_64_shared_cache_size): Likewise.
40751         (__x86_64_raw_shared_cache_size): Likewise.
40752         (__x86_64_shared_cache_size_half): Likewise.
40753         (__x86_64_raw_shared_cache_size_half): Likewise.
40754         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
40755         to ...
40756         (__x86_data_cache_size): This.
40757         (__x86_64_raw_data_cache_size): Renamed to ...
40758         (__x86_raw_data_cache_size): This.
40759         (__x86_64_data_cache_size_half): Renamed to ...
40760         (__x86_data_cache_size_half): This.
40761         (__x86_64_raw_data_cache_size_half): Renamed to ...
40762         (__x86_raw_data_cache_size_half): This.
40763         (__x86_64_shared_cache_size): Renamed to ...
40764         (__x86_shared_cache_size): This.
40765         (__x86_64_raw_shared_cache_size): Renamed to ...
40766         (__x86_raw_shared_cache_size): This.
40767         (__x86_64_shared_cache_size_half): Renamed to ...
40768         (__x86_shared_cache_size_half): This.
40769         (__x86_64_raw_shared_cache_size_half): Renamed to ...
40770         (__x86_raw_shared_cache_size_half): This.
40771         * sysdeps/x86_64/memcpy.S: Updated.
40772         * sysdeps/x86_64/memset.S: Likewise.
40773         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
40774         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40775         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40777 2013-01-04  David S. Miller  <davem@davemloft.net>
40779         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40781 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
40783         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
40784         1 to avoid redefinition warning.
40785         (__USE_GNU): Don't define.
40786         (init_signaling_nan): Protoize.
40788         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40790 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40792         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
40793         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
40794         (__cpymn): Likewise.
40795         (norm): Remove commented code.
40796         (denorm): Likewise.
40797         (__mp_dbl): Likewise.
40798         (__inv): Likewise.
40799         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
40800         (__cpymn): Likewise.
40801         (norm): Remove commented code.
40802         (denorm): Likewise.
40803         (__mp_dbl): Likewise.
40804         (__inv): Likewise.
40806         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
40807         mp_no value for 1.0 and 2.0.
40808         (norm): Use RADIXI instead of radixi.d.
40809         (denorm): Likewise.
40810         (__mul): Use 0.0 instead of zero.d.
40811         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
40812         mp_no value for 1.0 and 2.0.
40813         (norm): Use RADIXI instead of radixi.d.
40814         (denorm): Likewise.
40815         (__mul): Use 0.0 instead of zero.d.
40817 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
40819         [BZ #14994]
40820         * math/s_casinh.c (__casinh): Reduce finite argument to first
40821         quadrant then set signs of results at the end.
40822         * math/s_casinhf.c (__casinhf): Likewise.
40823         * math/s_casinhl.c (__casinhl): Likewise.
40824         * math/libm-test.inc (casin_test): Add more tests.
40825         (casinh_test): Likewise.
40826         * sysdeps/i386/fpu/libm-test-ulps: Update.
40827         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40829 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40831         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
40833         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
40835         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
40836         declarations.
40837         (denorm): Likewise.
40838         (__mp_dbl): Likewise.
40839         (__inv): Likewise.
40841         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
40842         and adjust the header comment.
40844         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
40845         variable name from declaration.
40847 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
40849         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40850         Initialize COMMON_CPUID_INDEX_7 element.
40851         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
40852         (CPUID_RTM): Likewise.
40853         (HAS_RTM): Likewise.
40854         (COMMON_CPUID_INDEX_7): New enum.
40856 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
40858         [BZ #14981]
40859         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
40860         size is zero, record memory as freed.
40862 2013-01-03  Andreas Jaeger  <aj@suse.de>
40864         * po/ia.po: Add new Interlingua translation.
40866 2012-01-03  Allan McRae  <allan@archlinux.org>
40868         * locale/programs/localedef.c: Fix description of '--posix' flag.
40870 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
40872         * NEWS: Update dates in second copyright notice.
40873         * README: Update copyright dates in example.
40874         * manual/libc.texinfo: Update copyright dates.
40875         * scripts/test-installation.pl: Update copyright date in --version
40876         output.
40878         * hurd/ctty-input.c: Fix copyright notice formatting.
40879         * hurd/ctty-output.c: Likewise.
40880         * hurd/dtable.c: Likewise.
40881         * hurd/hurd-raise.c: Likewise.
40882         * hurd/hurdprio.c: Likewise.
40883         * hurd/msgportdemux.c: Likewise.
40884         * misc/sys/file.h: Likewise.
40885         * misc/sys/ioctl.h: Likewise.
40886         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
40887         * sysdeps/mach/hurd/chdir.c: Likewise.
40888         * sysdeps/mach/hurd/fchdir.c: Likewise.
40889         * sysdeps/mach/hurd/rename.c: Likewise.
40890         * sysdeps/mach/hurd/rmdir.c: Likewise.
40891         * sysdeps/mach/hurd/seekdir.c: Likewise.
40892         * sysdeps/mach/hurd/setsid.c: Likewise.
40893         * sysdeps/posix/wait3.c: Likewise.
40895         * All files with FSF copyright notices: Update copyright dates
40896         using scripts/update-copyrights.
40897         * intl/plural.c: Regenerated.
40898         * locale/programs/charmap-kw.h: Likewise.
40899         * locale/programs/locfile-kw.h: Likewise.
40901 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40903         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
40904         four values.
40906         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
40907         calculation loop and add branch prediction.
40909         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
40910         check access beyond bounds of m1np.
40912         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
40913         MPTWO.
40914         (__inv): Remove local variable MPTWO to use the global
40915         constant.
40916         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
40917         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
40918         variable MPTWO.
40919         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
40920         MP3HALFS static const.
40922 2013-01-01  David S. Miller  <davem@davemloft.net>
40924         * po/ca.po: Update from translation team.
40926 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
40928         * scripts/update-copyrights: New file.
40929         * Makeconfig: Reformat copyright notice.
40930         * ctype/ctype.h: Likewise.
40931         * debug/swprintf_chk.c: Likewise.
40932         * elf/dl-cache.c: Likewise.
40933         * elf/dl-debug.c: Likewise.
40934         * elf/dl-object.c: Likewise.
40935         * grp/initgroups.c: Likewise.
40936         * hurd/Makefile: Likewise.
40937         * hurd/hurd/signal.h: Likewise.
40938         * hurd/hurdfault.c: Likewise.
40939         * hurd/hurdioctl.c: Likewise.
40940         * hurd/hurdlookup.c: Likewise.
40941         * hurd/intr-msg.c: Likewise.
40942         * iconv/gconv_open.c: Likewise.
40943         * libio/swprintf.c: Likewise.
40944         * locale/lc-ctype.c: Likewise.
40945         * locale/nl_langinfo.c: Likewise.
40946         * mach/Machrules: Likewise.
40947         * mach/Makefile: Likewise.
40948         * malloc/obstack.h: Likewise.
40949         * manual/Makefile: Likewise.
40950         * manual/tsort.awk: Likewise.
40951         * misc/bits/stab.def: Likewise.
40952         * nis/nis_print_group_entry.c: Likewise.
40953         * nis/nis_table.c: Likewise.
40954         * nis/nss_compat/compat-pwd.c: Likewise.
40955         * nis/nss_compat/compat-spwd.c: Likewise.
40956         * po/Makefile: Likewise.
40957         * posix/fnmatch.c: Likewise.
40958         * posix/regex.h: Likewise.
40959         * resolv/Makefile: Likewise.
40960         * resolv/nss_dns/dns-network.c: Likewise.
40961         * resolv/res_hconf.c: Likewise.
40962         * scripts/gen-sorted.awk: Likewise.
40963         * soft-fp/soft-fp.h: Likewise.
40964         * stdio-common/printf.h: Likewise.
40965         * stdlib/monetary.h: Likewise.
40966         * stdlib/random.c: Likewise.
40967         * stdlib/random_r.c: Likewise.
40968         * sysdeps/generic/Makefile: Likewise.
40969         * sysdeps/gnu/Makefile: Likewise.
40970         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40971         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40972         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40973         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40974         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40975         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40976         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40977         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40978         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40979         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40980         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40981         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40982         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40983         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40984         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
40985         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40986         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40987         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40988         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40989         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40990         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40991         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40992         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40993         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
40994         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
40995         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
40996         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
40997         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
40998         * sysdeps/mach/hurd/errnos.awk: Likewise.
40999         * sysdeps/mach/hurd/fork.c: Likewise.
41000         * sysdeps/mach/hurd/getcwd.c: Likewise.
41001         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
41002         * sysdeps/mach/hurd/mmap.c: Likewise.
41003         * sysdeps/mach/hurd/utimes.c: Likewise.
41004         * sysdeps/mach/hurd/xmknod.c: Likewise.
41005         * sysdeps/posix/profil.c: Likewise.
41006         * sysdeps/posix/readdir_r.c: Likewise.
41007         * sysdeps/powerpc/bits/mathdef.h: Likewise.
41008         * sysdeps/powerpc/bits/setjmp.h: Likewise.
41009         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
41010         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
41011         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
41012         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
41013         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41014         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41015         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41016         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
41017         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41018         * sysdeps/pthread/lio_listio.c: Likewise.
41019         * sysdeps/sparc/dl-procinfo.h: Likewise.
41020         * sysdeps/unix/i386/sysdep.S: Likewise.
41021         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
41022         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
41023         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
41024         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
41025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41026         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
41027         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
41028         * sysdeps/unix/sysv/linux/speed.c: Likewise.
41029         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
41030         * sysdeps/wordsize-32/divdi3.c: Likewise.
41031         * time/sys/time.h: Likewise.
41032         * wcsmbs/Makefile: Likewise.
41034 2013-01-01  David S. Miller  <davem@davemloft.net>
41036         * po/fr.po: Update from translation team.
41038         * catgets/gencat.c: Update copyright year.
41039         * csu/version.c: Likewise.
41040         * debug/catchsegv.sh: Likewise.
41041         * debug/pcprofiledump.c: Likewise.
41042         * debug/xtrace.sh: Likewise.
41043         * elf/ldconfig.c: Likewise.
41044         * elf/ldd.bash.in: Likewise.
41045         * elf/pldd.c: Likewise.
41046         * elf/sotruss.ksh: Likewise.
41047         * elf/sprof.c: Likewise.
41048         * iconv/iconv_prog.c: Likewise.
41049         * iconv/iconvconfig.c: Likewise.
41050         * locale/programs/locale.c: Likewise.
41051         * locale/programs/localedef.c: Likewise.
41052         * login/programs/pt_chown.c: Likewise.
41053         * malloc/memusage.sh: Likewise.
41054         * malloc/memusagestat.c: Likewise.
41055         * malloc/mtrace.pl: Likewise.
41056         * nscd/nscd.c: Likewise.
41057         * nss/getent.c: Likewise.
41058         * nss/makedb.c: Likewise.
41059         * posix/getconf.c: Likewise.
41061 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
41063         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
41064         numbers.
41066 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
41068         * math/bits/mathcalls.h (modf): Use __nonnull.
41070 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41072         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
41073         (split): Use macro CN instead of the bare value.
41074         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
41075         could be used.
41076         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
41077         instead of the bare value.
41078         (power1): Likewise.
41080 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41082         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
41083         __ATAN_TWOM.
41084         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41086         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
41087         their values.
41088         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
41089         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
41090         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
41091         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
41093 2012-12-28  Andreas Jaeger  <aj@suse.de>
41095         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
41096         values are from Linux 3.7.
41098         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
41099         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
41101 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41103         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
41104         TRUE case.
41106         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
41107         (norm): Likewise.
41108         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
41109         variables with preprocessor constants.
41110         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41111         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
41112         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
41114 2012-12-27  Bruno Haible  <bruno@clisp.org>
41116         [BZ #14317]
41117         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
41118         only if needed.
41120 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41122         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
41123         and use variable directly.
41124         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
41126         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
41127         MPONE.
41128         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
41129         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
41130         variable MPONE.
41131         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
41132         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
41133         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
41134         include directive.  Remove local variable MPONE.
41135         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
41136         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
41137         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41139 2012-12-25  David S. Miller  <davem@davemloft.net>
41141         * version.h (RELEASE): Set to "development".
41142         (VERSION): Set to "2.17.90".
41143         * NEWS: Add 2.18 section.
41145 2012-12-21  David S. Miller  <davem@davemloft.net>
41147         * po/hr.po: Update from translation team.
41149 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41151         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
41153 2012-12-19  Steve Ellcey  <sellcey@mips.com>
41155         * NEWS:  Mention new memcpy for MIPS.
41157 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41159         * manual/contrib.texi (Contributors): Spelling correction.
41161 2012-12-15  David S. Miller  <davem@davemloft.net>
41163         * po/ru.po: Update from translation team.
41165 2012-12-13  David S. Miller  <davem@davemloft.net>
41167         * NEWS: Mention IFUNC testsuite enhancements.
41169         * po/pl.po: Update from translation team.
41170         * po/bg.po: Likewise.
41172         * manual/contrib.texi (Contributors): Update entries for Hongjiu
41173         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
41175 2012-12-11  David S. Miller  <davem@davemloft.net>
41177         * po/sv.po: Update from translation team.
41179         * po/vi.po: Update from translation team.
41181         * po/cs.po: Update from translation team.
41183         * po/de.po: Update from translation team.
41184         * po/eo.po: Likewise.
41185         * po/nl.po: Likewise.
41187 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41189         [BZ #14246]
41190         * manual/argp.texi (Argp Helper Functions): Move node to follow
41191         Argp Parsing State.
41193         [BZ #14872]
41194         * manual/conf.texi (Limits on File System Capacity): Mention if
41195         terminating null is included in the max size.
41197 2012-12-10  Andreas Jaeger  <aj@suse.de>
41199         * po/cs.po: Update from translation team.
41201 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
41203         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
41204         void pointer and cast to uintptr_t.
41205         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
41206         path.
41207         * sysdeps/s390/s390-64/memcpy.S: Likewise.
41208         * sysdeps/s390/s390-64/memset.S: Likewise.
41210 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
41212         [BZ #14833]
41213         * menual/message.texi (Message Translation): Fix typos.
41214         (Helper programs for gettext): Likewise.
41216 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
41218         [BZ #14898]
41219         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
41220         Change to -1.
41222 2012-12-07  David S. Miller  <davem@davemloft.net>
41224         * po/libc.pot: Update.
41226 2012-12-07  Richard Henderson  <rth@redhat.com>
41228         [BZ #10114]
41229         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
41230         normal/normal case to before the switch.
41231         (_FP_DIV): Likewise.
41233 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
41234             Mike Frysinger  <vapier@gentoo.org>
41236         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
41237         check for __NR_fadvise64_64.
41239 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
41241         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
41242         0, not just to plain "0" as a statement.
41243         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
41244         with cw.
41246 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
41248         * NEWS: Use sourceware.org in Bugzilla URL.
41250 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
41252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
41253         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
41255         * stdio-common/tst-put-error.c (do_test): Add newline to the
41256         padded test to ensure flush.
41258 2012-12-05  Jeff Law  <law@redhat.com>
41260         * sunrpc/etc.rpc (fedfs_admin): Add entry.
41262 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
41264         * README: Don't refer to ports add-on as distributed separately.
41265         Mention AArch64 in list of systems supported in the ports add-on.
41267         * LICENSES: Add more non-FSF copyright and license notices.
41269         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
41270         ((unused)).
41272         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
41274         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
41275         10000 as width of padded output.
41277 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
41279         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
41281         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
41282         variable LX with __attribute__ ((unused)).
41283         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
41284         Likewise.
41285         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
41286         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41287         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
41288         with __attribute__ ((unused)).
41290 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
41292         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
41294 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
41296         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
41297         (CFLAGS-nldbl-acos.c): New variable.
41298         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
41299         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
41300         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
41301         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
41302         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
41303         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
41304         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
41305         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
41306         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
41307         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
41308         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
41309         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
41310         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
41311         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
41312         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
41313         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
41314         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
41315         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
41316         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
41317         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
41318         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
41319         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
41320         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
41321         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
41322         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
41323         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
41324         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
41325         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
41326         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
41327         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
41328         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
41329         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
41330         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
41331         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
41332         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
41333         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
41334         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
41335         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
41336         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
41337         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
41338         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
41339         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
41340         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
41341         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
41342         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
41343         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
41344         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
41345         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
41346         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
41347         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
41348         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
41349         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
41350         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
41351         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
41352         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
41353         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
41354         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
41355         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
41356         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
41357         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
41358         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
41359         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
41360         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
41361         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
41362         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
41363         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
41364         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
41365         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
41366         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
41367         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
41368         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
41369         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
41370         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
41371         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
41372         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
41373         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
41374         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
41375         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
41376         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
41377         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
41378         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
41379         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
41380         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
41381         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
41382         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
41383         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
41384         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
41385         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
41386         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
41387         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
41388         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
41389         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
41390         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
41391         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
41392         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
41393         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
41394         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
41396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
41397         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
41399         [BZ #14914]
41400         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
41401         whole low double instead of just low 47 bits when splitting values
41402         into two parts.
41404 2012-12-03  Allan McRae  <allan@archlinux.org>
41406         * manual/stdio.texi (Predefined Printf Handlers): Remove
41407         @hsep and @vsep usage.
41409 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
41411         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
41412         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
41414 2012-12-03  Jeff Law  <law@redhat.com>
41416         * time/sys/time.h (settimeofday): Do not mark TV argument
41417         as __nonnull.
41419 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
41421         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
41422         when currently writing and seek to current position when not.
41423         * libio/Makefile (tests): Remove bug-fclose1.
41424         * libio/bug-fclose1.c: Delete.
41426 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
41428         * manual/arith.texi (feenableexcept): Fix typo.
41429         (fedisableexcept): Likewise.
41431 2012-11-30  Roland McGrath  <roland@hack.frob.com>
41433         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
41434         second, differently-typed declaration, rather than a cast.
41436 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
41438         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
41439         * include/rpc/svc.h: ... here.
41441 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
41443         [BZ #13013]
41444         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
41445         depending n and resplen2 to catch cases where answer
41446         equals answerp2.
41448 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
41450         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
41451         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
41453 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
41455         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
41457 2012-11-29  Roland McGrath  <roland@hack.frob.com>
41459         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
41461 2012-11-28  Jeff Law  <law@redhat.com>
41463         [BZ #13761]
41464         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
41465         dataset_temporary.  Track alloca usage into alloca_used.
41466         If dataset is large allocate and release it via malloc/free.
41468 2012-06-04  Florian Weimer  <fweimer@redhat.com>
41470         [BZ #14197]
41471         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
41473 2012-11-28  David S. Miller  <davem@davemloft.net>
41475         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41477 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
41479         [BZ #14803]
41480         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
41481         of pi/2 rounded to nearest to 64 bits.
41482         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
41483         nearest to 64 bits.
41484         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
41485         bits.
41487 2012-11-28  Jeff Law <law@redhat.com>
41488             Martin Osvald <mosvald@redhat.com>
41490         [BZ #14889]
41491         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
41492         * sunrpc/svc.c: Include time.h.
41493         (__svc_accept_failed): New function.
41494         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
41495         any reason other than EINTR, call __svc_accept_failed.
41496         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
41497         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
41499 2012-11-28  Andreas Schwab  <schwab@suse.de>
41501         * scripts/abilist.awk: Also handle indirect functions in .opd
41502         section.
41504 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
41506         [BZ #13881]
41507         * sysdeps/x86/fpu/powl_helper.c: New file.
41508         * sysdeps/x86/fpu/Makefile: Likewise.
41509         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
41510         (p3): New object.
41511         (__ieee754_powl): Use __powl_helper for finite arguments except
41512         integer exponents below 8.
41513         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
41514         (p3): New object.
41515         (__ieee754_powl): Use __powl_helper for finite arguments except
41516         integer exponents below 8.
41517         * math/libm-test.inc (pow_test): Add more tests and enable some
41518         previously disabled tests.
41519         * sysdeps/i386/fpu/libm-test-ulps: Update.
41520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41522 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41523             Carlos O'Donell  <carlos_odonell@mentor.com>
41525         * nss/makedb.c (is_prime): Assert that input is odd and greater
41526         than 4.  Note that fact in a comment too.
41527         (next_prime): Add 4 to input.
41529 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41531         [BZ #11741]
41532         * libio/Makefile (tests): Add test case tst-fwrite-error.
41533         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
41534         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
41535         * libio/tst-fwrite-error.c: New test case.
41537 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
41539         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
41540         before casting to void *.
41541         * include/libc-internal.h (__pointer_type): New macro.
41542         (__integer_if_pointer_type_sub): Likewise.
41543         (__integer_if_pointer_type): Likewise.
41544         (cast_to_integer): Likewise.
41545         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
41546         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
41547         before casting to atomic64_t.
41548         (atomic_exchange_acq): Likewise.
41549         (__arch_exchange_and_add_body): Likewise.
41550         (__arch_add_body): Likewise.
41551         (atomic_add_negative): Likewise.
41552         (atomic_add_zero): Likewise.
41554 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
41556         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
41557         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
41558         (add_fdes): Likewise.
41559         (linear_search_fdes): Likewise.
41560         (binary_search_unencoded_fdes): Likewise.
41562 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
41564         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
41566 2012-11-24  Adam Conrad  <adconrad@0c3.net>
41568         * configure.in: Autodetect C++ header directories.
41569         * configure: Regenerated.
41571 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
41573         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
41575 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
41577         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41579 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
41581         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
41582         LDBL_MANT_DIG == 106]: Disable some tests.
41583         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
41584         Likewise.
41585         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
41586         Likewise.
41588         [BZ #14871]
41589         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
41590         input for small inputs.  Return +/- pi/2 for large inputs.
41591         * math/libm-test.inc (atan_test): Add more tests.
41593         * sysdeps/generic/unwind-dw2-fde-glibc.c
41594         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
41595         __attribute__ ((unused)).
41597         [BZ #14645]
41598         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
41599         x * y if x and y are nonzero and z is zero.
41601         [BZ #14811]
41602         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
41603         nonzero exponents with absolute value below 0x1p-117 to +/-
41604         0x1p-117.
41606         [BZ #14869]
41607         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
41608         up arguments below 2**-450, not just those below 2**-500.
41609         * math/libm-test.inc (hypot_test): Add another test.
41611         [BZ #14868]
41612         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
41613         Return a+b for ratio over 2**120, not 2**60.
41614         * math/libm-test.inc (hypot_test): Add another test.
41616         * math/libm-test.inc (clog_test): Use
41617         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
41618         (clog10_test): Likewise.
41620         [BZ #6778]
41621         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
41623 2012-11-22  Andreas Schwab  <schwab@suse.de>
41625         * sysdeps/i386/fpu/libm-test-ulps: Update.
41627 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
41629         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
41630         printf output with newline.
41632 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
41634         [BZ #14865]
41635         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
41636         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
41637         -z nodlopen, -z initfirst and -z execstack support.
41638         * configure: Regenerated.
41640         * elf/elf.h (DF_1_NODIRECT): New macro.
41641         (DF_1_IGNMULDEF): Likewise.
41642         (DF_1_NOKSYMS): Likewise.
41643         (DF_1_NOHDR): Likewise.
41644         (DF_1_EDITED): Likewise.
41645         (DF_1_NORELOC): Likewise.
41646         (DF_1_SYMINTPOSE): Likewise.
41647         (DF_1_GLOBAUDIT): Likewise.
41648         (DF_1_SINGLETON): Likewise.
41649         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
41650         DT_1_SUPPORTED_MASK bits.
41651         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
41653 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
41655         * sysdeps/unix/make-syscalls.sh: Document prefixes.
41657 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
41659         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
41660         macro.
41662         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
41663         (sendmmsg): Move declarations...
41664         * socket/sys/socket.h: ... here.
41665         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
41666         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
41667         include it from...
41668         * socket/recvmmsg.c: ... this new file.
41669         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
41670         (sendmmsg): Rename to __sendmmsg, create weak alias and make
41671         definition of __sendmmsg hidden.
41672         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
41673         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
41674         Move ENOSYS stub into and include it from...
41675         * socket/sendmmsg.c: ... this new file.
41676         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
41677         (sysdep_routines): Move recvmmsg and sendmmsg...
41678         * socket/Makefile (routines): ... here.
41679         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
41680         (GLIBC_PRIVATE): Add __sendmmsg.
41681         * include/sys/socket.h (__sendmmsg): Add declarations.
41682         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
41683         sendmmsg.
41685 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
41687         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
41688         variable I1 with __attribute__ ((unused)).
41689         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41691 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
41693         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
41694         DUMMY variables with __attribute__ ((unused)).
41696         * bits/byteswap.h: Include <bits/types.h>.
41697         (__bswap_64): Use __uint64_t instead of unsigned long long int.
41699 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
41701         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
41702         string_t.  Do not manually set errno.
41703         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
41704         length with __strnlen.  Make sure to both set errno and return it on
41705         failure.
41707 2012-11-19  David S. Miller  <davem@davemloft.net>
41709         With help from Joseph Myers.
41710         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
41711         very large arguments properly.
41712         * math/libm-test.inc (atan_test): New tests.
41713         (atan2_test): New tests.
41714         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41715         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41717 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
41719         [BZ #14856]
41720         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
41721         Define to 3.
41723         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
41724         [POSIX] (EADDRNOTAVAIL): Likewise.
41725         [POSIX] (EAFNOSUPPORT): Likewise.
41726         [POSIX] (EALREADY): Likewise.
41727         [POSIX] (ECONNABORTED): Likewise.
41728         [POSIX] (ECONNREFUSED): Likewise.
41729         [POSIX] (ECONNRESET): Likewise.
41730         [POSIX] (EDESTADDRREQ): Likewise.
41731         [POSIX] (EDQUOT): Likewise.
41732         [POSIX] (EHOSTUNREACH): Likewise.
41733         [POSIX] (EIDRM): Likewise.
41734         [POSIX] (EISCONN): Likewise.
41735         [POSIX] (ELOOP): Likewise.
41736         [POSIX] (EMULTIHOP): Likewise.
41737         [POSIX] (ENETDOWN): Likewise.
41738         [POSIX] (ENETUNREACH): Likewise.
41739         [POSIX] (ENOBUFS): Likewise.
41740         [POSIX] (ENODATA): Likewise.
41741         [POSIX] (ENOLINK): Likewise.
41742         [POSIX] (ENOMSG): Likewise.
41743         [POSIX] (ENOPROTOOPT): Likewise.
41744         [POSIX] (ENOSR): Likewise.
41745         [POSIX] (ENOSTR): Likewise.
41746         [POSIX] (ENOTCONN): Likewise.
41747         [POSIX] (ENOTSOCK): Likewise.
41748         [POSIX] (EOPNOTSUPP): Likewise.
41749         [POSIX] (EOVERFLOW): Likewise.
41750         [POSIX] (EPROTO): Likewise.
41751         [POSIX] (EPROTONOSUPPORT): Likewise.
41752         [POSIX] (EPROTOTYPE): Likewise.
41753         [POSIX] (ESTALE): Likewise.
41754         [POSIX] (ETIME): Likewise.
41755         [POSIX] (ETXTBSY): Likewise.
41756         [POSIX] (EWOULDBLOCK): Likewise.
41757         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
41758         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
41759         [POSIX] (SEEK_CUR): Likewise.
41760         [POSIX] (SEEK_END): Likewise.
41761         [POSIX || UNIX98] (mode_t): Do not require.
41762         [POSIX] (off_t): Likewise.
41763         [POSIX] (pid_t): Likewise.
41764         [POSIX] (sys/stat.h): Do not allow header.
41765         [POSIX] (unistd.h): Likewise.
41766         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
41767         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
41768         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
41769         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
41770         require.
41771         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
41772         sigevent): Specify elements.
41773         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
41774         entry.
41775         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
41776         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
41778         * conform/data/cpio.h-data [POSIX]: Disable whole file.
41779         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
41780         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
41781         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
41782         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
41783         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
41784         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
41785         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
41786         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
41787         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
41788         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
41789         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
41790         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
41791         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
41792         Likewise.
41793         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
41794         Likewise.
41795         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
41796         Likewise.
41797         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
41798         Likewise.
41799         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
41800         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
41801         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
41802         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
41803         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
41804         Specify lower bound on value.
41805         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
41806         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
41807         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
41808         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
41809         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
41810         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
41811         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
41812         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
41813         value.
41814         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
41815         as optional.
41816         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
41817         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
41818         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
41819         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
41820         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
41821         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
41822         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
41823         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
41824         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
41825         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
41826         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
41827         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
41828         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
41829         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
41830         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
41831         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
41832         entry.
41833         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
41834         optional.
41835         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
41836         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
41837         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
41838         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
41839         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
41840         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
41841         Likewise.
41842         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
41843         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
41844         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
41845         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
41846         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
41847         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
41848         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
41849         as optional.
41850         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
41851         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
41852         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
41853         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
41854         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
41855         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
41856         specify as optional.
41857         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
41858         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
41859         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
41860         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
41861         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
41862         [XPG3] (NL_LANGMAX): Likewise.
41863         [POSIX || XPG3] (NL_MSGMAX): Likewise.
41864         [POSIX || XPG3] (NL_NMAX): Likewise.
41865         [POSIX || XPG3] (NL_SETMAX): Likewise.
41866         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
41867         [XPG3] (NZERO): Likewise.
41868         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
41869         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
41870         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
41871         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
41872         (REG_ERANGE): Expect.
41873         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
41874         optional-constant.
41875         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
41876         Use (void) in prototype.
41877         [POSIX] (*_t): Allow.
41878         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
41879         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
41880         (WRDE_BADVAL): Expect.
41882         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
41883         expect.
41884         [XPG3 || XPG4] (O_RSYNC): Likewise.
41885         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
41886         Likewise.
41887         [XPG3 || XPG4] (pthread_sigmask): Likewise.
41888         [XPG3 || XPG4] (sigqueue): Likewise.
41889         [XPG3 || XPG4] (sigtimedwait): Likewise.
41890         [XPG3 || XPG4] (sigwaitinfo): Likewise.
41891         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
41892         [XPG3 || XPG4] (vsnprintf): Likewise.
41893         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
41894         Likewise.
41895         [XPG3 || XPG4] (blksize_t): Likewise.
41896         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
41897         Likewise.
41898         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
41899         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
41900         [XPG3 || XPG4] (struct itimerspec): Likewise.
41901         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
41902         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
41903         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
41904         [XPG3 || XPG4] (clockid_t): Likewise.
41905         [XPG3 || XPG4] (timer_t): Likewise.
41906         [XPG3 || XPG4] (clock_getres): Likewise.
41907         [XPG3 || XPG4] (clock_gettime): Likewise.
41908         [XPG3 || XPG4] (clock_settime): Likewise.
41909         [XPG3 || XPG4] (nanosleep): Likewise.
41910         [XPG3 || XPG4] (timer_create): Likewise.
41911         [XPG3 || XPG4] (timer_delete): Likewise.
41912         [XPG3 || XPG4] (timer_gettime): Likewise.
41913         [XPG3 || XPG4] (timer_getoverrun): Likewise.
41914         [XPG3 || XPG4] (timer_settime): Likewise.
41915         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
41916         [XPG3 || XPG4] (getlogin_r): Likewise.
41917         [XPG3 || XPG4] (pread): Likewise.
41918         [XPG3 || XPG4] (pthread_atfork): Likewise.
41919         [XPG3 || XPG4] (pwrite): Likewise.
41921         [BZ #14835]
41922         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
41923         <bits/siginfo.h>.
41925 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
41927         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
41928         finalizing MALLSTREAM.
41930         * sysdeps/mach/hurd/syncfs.c: New file.
41932 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41934         [BZ #14719]
41935         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
41936         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
41937         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
41938         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
41939         (_nss_dns_gethostbyname4_r): Likewise.
41940         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
41941         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
41943 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
41945         [BZ #13763]
41946         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
41948 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
41950         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
41951         * elf/cache.c (print_entry): Print ",AArch64" for
41952         FLAG_AARCH64_LIB64
41954         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
41955         * elf/cache.c (print_entry): Print ",hard-float" for
41956         FLAG_ARM_LIBHF.
41958 2012-11-18  David S. Miller  <davem@davemloft.net>
41960         With help from Joseph Myers.
41961         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
41962         cutoff to 2**-13.
41963         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
41964         cutoff to 2**-25.
41965         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
41966         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
41967         small.
41968         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
41969         * math/libm-test.inc (y0_test): New tests.
41970         (y1_test): New tests.
41971         * sysdeps/i386/fpu/libm-test-ulps: Update.
41972         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41973         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41975 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
41977         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
41978         64-bit targets.
41979         * configure: Regenerated.
41981 2012-11-17  David S. Miller  <davem@davemloft.net>
41983         [BZ #14811]
41984         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
41985         nonzero exponents with absolute value below 0x1p-128 to +/-
41986         0x1p-128.
41988 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
41990         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
41992         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
41994         * posix/getconf-speclist.c: New file.
41995         * posix/posix-envs.def: Likewise.
41996         * posix/confstr.c (START_ENV_GROUP): New macro.
41997         (END_ENV_GROUP): Likewise.
41998         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
41999         (KNOWN_PRESENT_ENV_STRING): Likewise.
42000         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
42001         (UNKNOWN_ENVIRONMENT): Likewise.
42002         (confstr): Include posix-envs.def instead of handling
42003         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
42004         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
42005         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
42006         (END_ENV_GROUP): Likewise.
42007         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
42008         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
42009         (UNKNOWN_ENVIRONMENT): Likewise.
42010         (__sysconf): Include posix-envs.def instead of handling associated
42011         cases directly here.
42012         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
42013         preprocessing getconf-speclist.c rather than running getconf or
42014         generating empty file.
42016 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
42018         * scripts/check-local-headers.sh: Ignore 'mach' headers.
42020 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
42022         [BZ #14672]
42023         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
42025 2012-11-16  David S. Miller  <davem@davemloft.net>
42027         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
42028         smaller than LDBL_EPSILON/2.0L, just return xm1.
42030 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
42032         * elf/tst-array1.c (init): Set constructor priority to 1000.
42033         (fini): Set destructor priority to 1000.
42034         * elf/tst-array2dep.c: Likewise.
42036 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42038         [BZ #11741]
42039         * libio/fileops.c (_IO_new_file_write): Correctly return error.
42040         (_IO_new_file_xsputn): Also return EOF if none of the input
42041         data was written when overflow failed.
42042         * libio/iopadn.c (_IO_padn): Likewise.
42043         * libio/iowpadn.c (_IO_wpadn): Likewise.
42044         * stdio-common/tst-put-error.c: Add copyright notice.
42045         (do_test): Add case for printing padded string.
42046         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
42047         _IO_padn returned error.
42048         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
42049         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
42050         return EOF.
42052 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42054         * libio/libioP.h: Add comment note that the references to C++
42055         bits are now obsolete.
42057 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42059         * math/libm-test.inc (check_complex): Use asprintf.
42061 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
42063         * debug/pcprofiledump.c (print_version): Update copyright year.
42064         * malloc/memusagestat.c (print_version): Likewise.
42066 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
42068         [BZ #14831]
42069         * elf/Makefile (tests): Add tst-audit8.
42070         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
42071         ($(objpfx)tst-audit8.out): New target.
42072         (tst-audit8-ENV): New variable.
42073         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
42074         audit if l_reloc_result is NULL.
42075         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
42076         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
42077         * elf/tst-audit8.c: New file.
42079 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42081         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
42082         * misc/Makefile (CFLAGS-select.c): Define.
42083         * posix/Makefile (CFLAGS-pause.c): Define.
42085 2012-11-13  David S. Miller  <davem@davemloft.net>
42087         * crypt/Makefile: Move test targets after toplevel Rules
42088         inclusion.  Grab any necessary sysdep routines when linking.
42089         * crypt/md5.c (md5_process_block): Remove define, we will always
42090         name it __md5_process_block.
42091         (md5_finish_ctx): Update md5_process_block call.
42092         (md5_stream): Likewise.
42093         (md5_process_bytes): Likewise.
42094         (md5_process_block): Rename to __md5_process_block and move to ...
42095         * crypt/md5-block.c: ... here.
42096         * crypt/sha256.c (sha256_process_block): Move to ...
42097         * crypt/sha256-block.c: ... here.
42098         * crypt/sha512.c (sha512_process_block): Move to ...
42099         * crypt/sha512-block.c: ... here.
42100         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
42101         path.
42102         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
42103         * sysdeps/sparc/sparc64/multiarch/Makefile
42104         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
42105         crypt subdir.
42106         (localedef-aux): Add md5 crypto assembler when in locale subdir.
42107         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
42108         multiarch changes.
42109         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
42110         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
42111         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
42112         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
42113         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
42114         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
42115         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
42116         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
42117         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
42118         file.
42119         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
42120         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
42121         file.
42122         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
42124 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
42126         * timezone/tzselect.ksh: Update from tzcode git revision
42127         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
42128         * timezone/zdump.c: Likewise.
42129         * timezone/zic.c: Likewise.
42130         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
42131         in TZVERSION setting, not $(PKGVERSION).
42132         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
42133         REPORT_BUGS_TO settings.
42135         [BZ #14838]
42136         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
42137         macro.
42139 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42141         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
42142         detection to immediately after _FP_ROUND().
42143         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
42144         bits are 0.
42146 2012-11-11  David S. Miller  <davem@davemloft.net>
42148         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
42149         inttypes.h
42150         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
42151         __close rather than their public counterparts.
42153 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
42155         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
42156         file.
42157         [UNIX98] (sem_timedwait): Do not expect.
42158         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
42159         [XPG4 || UNIX98] (sockatmark): Do not expect.
42160         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
42161         (clock_getcpuclockid): Do not expect.
42162         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
42163         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
42164         Do not expect.
42165         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
42166         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
42167         [UNIX98] (vwscanf): Likewise.
42168         [UNIX98] (vswscanf): Likewise.
42170 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
42172         * timezone/version.h: Remove file.
42173         * timezone/README: Do not refer to version.h.
42174         * timezone/Makefile ($(objpfx)zic.o): New dependency on
42175         $(objpfx)version.h.
42176         ($(objpfx)zdump.o): Likewise.
42177         ($(objpfx)version.h): New target.
42179         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
42180         2012i.
42181         * timezone/README: Don't mention modification to tzselect.ksh.
42182         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
42183         work on unmodified tzselect.ksh.  Substitute version numbers in
42184         tzselect.ksh.
42186         * Makefile (format-me): Remove.
42187         (INSTALL): Adjust indentation.  Use commands directly instead of
42188         using $(format-me).
42190         * aclocal.m4 (ACX_PKGVERSION): New macro.
42191         (ACX_BUGURL): Likewise.
42192         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
42193         (PKGVERSION): New AC_DEFINE_UNQUOTED.
42194         (REPORT_BUGS_TO): Likewise.
42195         * configure: Regenerated.
42196         * config.h.in (PKGVERSION): New macro.
42197         (REPORT_BUGS_TO): Likewise.
42198         * config.make.in (PKGVERSION): New variable.
42199         (PKGVERSION_TEXI): Likewise.
42200         (REPORT_BUGS_TO): Likewise.
42201         (REPORT_BUGS_TEXI): Likewise.
42202         * Makefile (format-me): Use -I$(common-objpfx)manual.
42203         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
42204         ($(common-objpfx)manual/%): New target.
42205         (manual/%): Remove target.
42206         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
42207         (print_version): Use PKGVERSION.
42208         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
42209         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
42210         and REPORT_BUGS_TO.
42211         ($(objpfx)xtrace): Likewise.
42212         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
42213         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
42214         (print_version): Use PKGVERSION.
42215         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
42216         (do_version): Use PKGVERSION.
42217         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
42218         REPORT_BUGS_TO.
42219         (common-ldd-rewrite): Likewise.
42220         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
42221         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
42222         (print_version): Use PKGVERSION.
42223         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
42224         * elf/pldd.c (argp_program_bug_address): Remove variable.
42225         (more_help): New function.
42226         (argp): Use more_help.
42227         (print_version): Use PKGVERSION.
42228         * elf/sln.c (main): Use PKGVERSION.
42229         (usage): Use REPORT_BUGS_TO.
42230         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
42231         (top level): Use PKGVERSION.
42232         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
42233         (print_version): Use PKGVERSION.
42234         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
42235         (print_version): Use PKGVERSION.
42236         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
42237         (print_version): Use PKGVERSION.
42238         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
42239         (print_version): Use PKGVERSION.
42240         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
42241         (print_version): Use PKGVERSION.
42242         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
42243         (print_version): Use PKGVERSION.
42244         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
42245         and BUGURL.
42246         ($(objpfx)memusage): Likewise.
42247         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
42248         (do_version): Use PKGVERSION.
42249         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
42250         (print_version): Use PKGVERSION.
42251         * malloc/mtrace.pl ($PACKAGE): Remove variable.
42252         ($PKGVERSION): New variable.
42253         ($REPORT_BUGS_TO): Likewise.
42254         (usage): Use $REPORT_BUGS_TO.
42255         (top level): Use $PKGVERSION.
42256         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
42257         ($(objpfx)pkgvers.texi): New rule.
42258         ($(objpfx)stamp-pkgvers): Likewise.
42259         * manual/install.texi: Include pkgvers.texi.
42260         (--with-pkgversion): Document new configure option.
42261         (--with-bugurl): Likewise.
42262         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
42263         than necessarily for this particular distribution.  Use
42264         REPORT_BUGS_TO for where to report bugs.
42265         * INSTALL: Regenerated.
42266         * manual/libc.texinfo: Include pkgvers.texi.
42267         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
42268         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
42269         (print_version): Use PKGVERSION.
42270         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
42271         (print_version): Use PKGVERSION.
42272         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
42273         (print_version): Use PKGVERSION.
42274         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
42275         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
42276         macro.
42277         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
42278         (print_version): Use PKGVERSION.
42279         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
42280         (print_version): Use PKGVERSION.
42281         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
42282         and PKGVERSION.
42284         * timezone/checktab.awk: Update from tzcode 2012i.
42285         * timezone/ialloc.c: Likewise.
42286         * timezone/private.h: Likewise.
42287         * timezone/scheck.c: Likewise.
42288         * timezone/tzfile.h: Likewise.
42289         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
42290         (TZVERSION): Hardcode tzcode version number.
42291         * timezone/zdump.c: Update from tzcode 2012i.
42292         * timezone/zic.c: Likewise.
42293         * timezone/version.h: New file.
42294         * timezone/README: Describe version.h.  Update upstream location.
42296         [BZ #14824]
42297         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
42298         (mktemp): Enable declaration.
42299         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
42300         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
42301         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
42302         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
42303         Likewise.
42304         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
42305         Likewise.
42306         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
42307         Likewise.
42308         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
42309         Likewise.
42310         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
42311         Likewise.
42312         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
42313         Likewise.
42315         [BZ #14821]
42316         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
42317         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
42318         for copies of such integer values.
42319         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
42320         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
42322 2012-11-09  Andreas Jaeger  <aj@suse.de>
42324         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
42325         definitions and declarations that are provided by
42326         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
42328 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42330         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
42331         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
42332         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
42333         definition.
42335 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42337         * elf/elf.h: Update comment before AArch64 relocations.
42339 2012-11-07  David S. Miller  <davem@davemloft.net>
42341         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
42342         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
42343         (__start_context): Declare.
42344         (__makecontext_ret): Delete.
42345         (__makecontext): Hook up __start_context instead of
42346         __makecontext_ret.
42347         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
42348         (sysdep_routines): Add __start_context when in stdlib.
42350 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42352         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
42353         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
42354         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
42355         hardcoded "nm".
42356         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
42357         (READELF): New variable.  Use it instead of hardcoded "readelf".
42359 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
42361         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
42362         * sysdeps/x86/Makefile: Here.
42363         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
42364         * sysdeps/x86/tst-xmmymm.sh: This.
42366 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42368         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
42369         expectations.
42370         [UNIX98] (pthread_barrier_t): Do not expect.
42371         [UNIX98] (pthread_barrierattr_t): Likewise.
42372         [UNIX98] (pthread_spinlock_t): Likewise.
42373         [UNIX98] (pthread_barrier_destroy): Likewise.
42374         [UNIX98] (pthread_barrier_init): Likewise.
42375         [UNIX98] (pthread_barrier_wait): Likewise.
42376         [UNIX98] (pthread_barrierattr_destroy): Likewise.
42377         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
42378         [UNIX98] (pthread_barrierattr_init): Likewise.
42379         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
42380         [UNIX98] (pthread_getcpuclockid): Likewise.
42381         [UNIX98] (pthread_mutex_timedlock): Likewise.
42382         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
42383         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
42384         [UNIX98] (pthread_sigmask): Likewise.
42385         [UNIX98] (pthread_spin_destroy): Likewise.
42386         [UNIX98] (pthread_spin_init): Likewise.
42387         [UNIX98] (pthread_spin_lock): Likewise.
42388         [UNIX98] (pthread_spin_trylock): Likewise.
42389         [UNIX98] (pthread_spin_unlock): Likewise.
42390         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
42391         Do not expect.
42392         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
42393         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
42394         [XPG3 || XPG4] (pthread_cond_t): Likewise.
42395         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
42396         [XPG3 || XPG4] (pthread_key_t): Likewise.
42397         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
42398         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
42399         [XPG3 || XPG4] (pthread_once_t): Likewise.
42400         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
42401         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
42402         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
42403         [XPG3 || XPG4] (pthread_t): Likewise.
42405         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
42406         not expect.
42407         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
42409         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
42410         Change function return type to int.
42412         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
42413         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
42414         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
42415         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
42416         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
42417         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
42418         [!POSIX] (posix_madvise): Likewise.
42419         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
42420         && !UNIX98].
42421         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
42422         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
42423         (mode_t): Likewise.
42424         (posix_mem_offset): Likewise.
42425         (posix_typed_mem_get_info): Likewise.
42426         (posix_typed_mem_open): Likewise.
42428         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
42429         Change condition to [XOPEN2K8].
42431         * conform/conformtest.pl: Preprocess allow-header data with -x c
42432         instead of from stdin.
42433         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
42434         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
42435         [C99-based standards] (cerfc): Likewise.
42436         [C99-based standards] (cexp2): Likewise.
42437         [C99-based standards] (cexpm1): Likewise.
42438         [C99-based standards] (clog10): Likewise.
42439         [C99-based standards] (clog1p): Likewise.
42440         [C99-based standards] (clog2): Likewise.
42441         [C99-based standards] (clgamma): Likewise.
42442         [C99-based standards] (ctgamma): Likewise.
42443         [C99-based standards] (cerff): Likewise.
42444         [C99-based standards] (cerfcf): Likewise.
42445         [C99-based standards] (cexp2f): Likewise.
42446         [C99-based standards] (cexpm1f): Likewise.
42447         [C99-based standards] (clog10f): Likewise.
42448         [C99-based standards] (clog1pf): Likewise.
42449         [C99-based standards] (clog2f): Likewise.
42450         [C99-based standards] (clgammaf): Likewise.
42451         [C99-based standards] (ctgammaf): Likewise.
42452         [C99-based standards] (cerfl): Likewise.
42453         [C99-based standards] (cerfcl): Likewise.
42454         [C99-based standards] (cexp2l): Likewise.
42455         [C99-based standards] (cexpm1l): Likewise.
42456         [C99-based standards] (clog10l): Likewise.
42457         [C99-based standards] (clog1pl): Likewise.
42458         [C99-based standards] (clog2l): Likewise.
42459         [C99-based standards] (clgammal): Likewise.
42460         [C99-based standards] (ctgammal): Likewise.
42461         * conform/data/inttypes.h-data [C99-based standards]: Include
42462         stdint.h-data.  Remove all expectations for stdint.h contents.
42463         [C99-based standards] (PRI*): Do not allow.
42464         [C99-based standards] (SCN*): Likewise.
42465         [C99-based standards] (*_t): Likewise.
42466         [C99-based-standards] (PRId8): Expect macro.
42467         [C99-based-standards] (PRIi8): Likewise.
42468         [C99-based-standards] (PRIo8): Likewise.
42469         [C99-based-standards] (PRIu8): Likewise.
42470         [C99-based-standards] (PRIx8): Likewise.
42471         [C99-based-standards] (PRIX8): Likewise.
42472         [C99-based-standards] (SCNd8): Likewise.
42473         [C99-based-standards] (SCNi8): Likewise.
42474         [C99-based-standards] (SCNo8): Likewise.
42475         [C99-based-standards] (SCNu8): Likewise.
42476         [C99-based-standards] (SCNx8): Likewise.
42477         [C99-based-standards] (PRIdLEAST8): Likewise.
42478         [C99-based-standards] (PRIiLEAST8): Likewise.
42479         [C99-based-standards] (PRIoLEAST8): Likewise.
42480         [C99-based-standards] (PRIuLEAST8): Likewise.
42481         [C99-based-standards] (PRIxLEAST8): Likewise.
42482         [C99-based-standards] (PRIXLEAST8): Likewise.
42483         [C99-based-standards] (SCNdLEAST8): Likewise.
42484         [C99-based-standards] (SCNiLEAST8): Likewise.
42485         [C99-based-standards] (SCNoLEAST8): Likewise.
42486         [C99-based-standards] (SCNuLEAST8): Likewise.
42487         [C99-based-standards] (SCNxLEAST8): Likewise.
42488         [C99-based-standards] (PRIdFAST8): Likewise.
42489         [C99-based-standards] (PRIiFAST8): Likewise.
42490         [C99-based-standards] (PRIoFAST8): Likewise.
42491         [C99-based-standards] (PRIuFAST8): Likewise.
42492         [C99-based-standards] (PRIxFAST8): Likewise.
42493         [C99-based-standards] (PRIXFAST8): Likewise.
42494         [C99-based-standards] (SCNdFAST8): Likewise.
42495         [C99-based-standards] (SCNiFAST8): Likewise.
42496         [C99-based-standards] (SCNoFAST8): Likewise.
42497         [C99-based-standards] (SCNuFAST8): Likewise.
42498         [C99-based-standards] (SCNxFAST8): Likewise.
42499         [C99-based-standards] (PRId16): Likewise.
42500         [C99-based-standards] (PRIi16): Likewise.
42501         [C99-based-standards] (PRIo16): Likewise.
42502         [C99-based-standards] (PRIu16): Likewise.
42503         [C99-based-standards] (PRIx16): Likewise.
42504         [C99-based-standards] (PRIX16): Likewise.
42505         [C99-based-standards] (SCNd16): Likewise.
42506         [C99-based-standards] (SCNi16): Likewise.
42507         [C99-based-standards] (SCNo16): Likewise.
42508         [C99-based-standards] (SCNu16): Likewise.
42509         [C99-based-standards] (SCNx16): Likewise.
42510         [C99-based-standards] (PRIdLEAST16): Likewise.
42511         [C99-based-standards] (PRIiLEAST16): Likewise.
42512         [C99-based-standards] (PRIoLEAST16): Likewise.
42513         [C99-based-standards] (PRIuLEAST16): Likewise.
42514         [C99-based-standards] (PRIxLEAST16): Likewise.
42515         [C99-based-standards] (PRIXLEAST16): Likewise.
42516         [C99-based-standards] (SCNdLEAST16): Likewise.
42517         [C99-based-standards] (SCNiLEAST16): Likewise.
42518         [C99-based-standards] (SCNoLEAST16): Likewise.
42519         [C99-based-standards] (SCNuLEAST16): Likewise.
42520         [C99-based-standards] (SCNxLEAST16): Likewise.
42521         [C99-based-standards] (PRIdFAST16): Likewise.
42522         [C99-based-standards] (PRIiFAST16): Likewise.
42523         [C99-based-standards] (PRIoFAST16): Likewise.
42524         [C99-based-standards] (PRIuFAST16): Likewise.
42525         [C99-based-standards] (PRIxFAST16): Likewise.
42526         [C99-based-standards] (PRIXFAST16): Likewise.
42527         [C99-based-standards] (SCNdFAST16): Likewise.
42528         [C99-based-standards] (SCNiFAST16): Likewise.
42529         [C99-based-standards] (SCNoFAST16): Likewise.
42530         [C99-based-standards] (SCNuFAST16): Likewise.
42531         [C99-based-standards] (SCNxFAST16): Likewise.
42532         [C99-based-standards] (PRId32): Likewise.
42533         [C99-based-standards] (PRIi32): Likewise.
42534         [C99-based-standards] (PRIo32): Likewise.
42535         [C99-based-standards] (PRIu32): Likewise.
42536         [C99-based-standards] (PRIx32): Likewise.
42537         [C99-based-standards] (PRIX32): Likewise.
42538         [C99-based-standards] (SCNd32): Likewise.
42539         [C99-based-standards] (SCNi32): Likewise.
42540         [C99-based-standards] (SCNo32): Likewise.
42541         [C99-based-standards] (SCNu32): Likewise.
42542         [C99-based-standards] (SCNx32): Likewise.
42543         [C99-based-standards] (PRIdLEAST32): Likewise.
42544         [C99-based-standards] (PRIiLEAST32): Likewise.
42545         [C99-based-standards] (PRIoLEAST32): Likewise.
42546         [C99-based-standards] (PRIuLEAST32): Likewise.
42547         [C99-based-standards] (PRIxLEAST32): Likewise.
42548         [C99-based-standards] (PRIXLEAST32): Likewise.
42549         [C99-based-standards] (SCNdLEAST32): Likewise.
42550         [C99-based-standards] (SCNiLEAST32): Likewise.
42551         [C99-based-standards] (SCNoLEAST32): Likewise.
42552         [C99-based-standards] (SCNuLEAST32): Likewise.
42553         [C99-based-standards] (SCNxLEAST32): Likewise.
42554         [C99-based-standards] (PRIdFAST32): Likewise.
42555         [C99-based-standards] (PRIiFAST32): Likewise.
42556         [C99-based-standards] (PRIoFAST32): Likewise.
42557         [C99-based-standards] (PRIuFAST32): Likewise.
42558         [C99-based-standards] (PRIxFAST32): Likewise.
42559         [C99-based-standards] (PRIXFAST32): Likewise.
42560         [C99-based-standards] (SCNdFAST32): Likewise.
42561         [C99-based-standards] (SCNiFAST32): Likewise.
42562         [C99-based-standards] (SCNoFAST32): Likewise.
42563         [C99-based-standards] (SCNuFAST32): Likewise.
42564         [C99-based-standards] (SCNxFAST32): Likewise.
42565         [C99-based-standards] (PRId64): Likewise.
42566         [C99-based-standards] (PRIi64): Likewise.
42567         [C99-based-standards] (PRIo64): Likewise.
42568         [C99-based-standards] (PRIu64): Likewise.
42569         [C99-based-standards] (PRIx64): Likewise.
42570         [C99-based-standards] (PRIX64): Likewise.
42571         [C99-based-standards] (SCNd64): Likewise.
42572         [C99-based-standards] (SCNi64): Likewise.
42573         [C99-based-standards] (SCNo64): Likewise.
42574         [C99-based-standards] (SCNu64): Likewise.
42575         [C99-based-standards] (SCNx64): Likewise.
42576         [C99-based-standards] (PRIdLEAST64): Likewise.
42577         [C99-based-standards] (PRIiLEAST64): Likewise.
42578         [C99-based-standards] (PRIoLEAST64): Likewise.
42579         [C99-based-standards] (PRIuLEAST64): Likewise.
42580         [C99-based-standards] (PRIxLEAST64): Likewise.
42581         [C99-based-standards] (PRIXLEAST64): Likewise.
42582         [C99-based-standards] (SCNdLEAST64): Likewise.
42583         [C99-based-standards] (SCNiLEAST64): Likewise.
42584         [C99-based-standards] (SCNoLEAST64): Likewise.
42585         [C99-based-standards] (SCNuLEAST64): Likewise.
42586         [C99-based-standards] (SCNxLEAST64): Likewise.
42587         [C99-based-standards] (PRIdFAST64): Likewise.
42588         [C99-based-standards] (PRIiFAST64): Likewise.
42589         [C99-based-standards] (PRIoFAST64): Likewise.
42590         [C99-based-standards] (PRIuFAST64): Likewise.
42591         [C99-based-standards] (PRIxFAST64): Likewise.
42592         [C99-based-standards] (PRIXFAST64): Likewise.
42593         [C99-based-standards] (SCNdFAST64): Likewise.
42594         [C99-based-standards] (SCNiFAST64): Likewise.
42595         [C99-based-standards] (SCNoFAST64): Likewise.
42596         [C99-based-standards] (SCNuFAST64): Likewise.
42597         [C99-based-standards] (SCNxFAST64): Likewise.
42598         [C99-based-standards] (PRIdMAX): Likewise.
42599         [C99-based-standards] (PRIiMAX): Likewise.
42600         [C99-based-standards] (PRIoMAX): Likewise.
42601         [C99-based-standards] (PRIuMAX): Likewise.
42602         [C99-based-standards] (PRIxMAX): Likewise.
42603         [C99-based-standards] (PRIXMAX): Likewise.
42604         [C99-based-standards] (SCNdMAX): Likewise.
42605         [C99-based-standards] (SCNiMAX): Likewise.
42606         [C99-based-standards] (SCNoMAX): Likewise.
42607         [C99-based-standards] (SCNuMAX): Likewise.
42608         [C99-based-standards] (SCNxMAX): Likewise.
42609         [C99-based-standards] (PRIdPTR): Likewise.
42610         [C99-based-standards] (PRIiPTR): Likewise.
42611         [C99-based-standards] (PRIoPTR): Likewise.
42612         [C99-based-standards] (PRIuPTR): Likewise.
42613         [C99-based-standards] (PRIxPTR): Likewise.
42614         [C99-based-standards] (PRIXPTR): Likewise.
42615         [C99-based-standards] (SCNdPTR): Likewise.
42616         [C99-based-standards] (SCNiPTR): Likewise.
42617         [C99-based-standards] (SCNoPTR): Likewise.
42618         [C99-based-standards] (SCNuPTR): Likewise.
42619         [C99-based-standards] (SCNxPTR): Likewise.
42620         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
42621         allow.
42622         * conform/data/stdint.h-data: Update comments to clarify
42623         requirements.
42624         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
42625         type.
42626         [C99-based standards] (INT8_MAX): Likewise.
42627         [C99-based standards] (INT16_MIN): Likewise.
42628         [C99-based standards] (INT16_MAX): Likewise.
42629         [C99-based standards] (INT32_MIN): Likewise.
42630         [C99-based standards] (INT32_MAX): Likewise.
42631         [C99-based standards] (INT64_MIN): Likewise.
42632         [C99-based standards] (INT64_MAX): Likewise.
42633         [C99-based standards] (UINT8_MAX): Likewise.
42634         [C99-based standards] (UINT16_MAX): Likewise.
42635         [C99-based standards] (UINT32_MAX): Likewise.
42636         [C99-based standards] (UINT64_MAX): Likewise.
42637         [C99-based standards] (INT_LEAST8_MIN): Likewise.
42638         [C99-based standards] (INT_LEAST8_MAX): Likewise.
42639         [C99-based standards] (INT_LEAST16_MIN): Likewise.
42640         [C99-based standards] (INT_LEAST16_MAX): Likewise.
42641         [C99-based standards] (INT_LEAST32_MIN): Likewise.
42642         [C99-based standards] (INT_LEAST32_MAX): Likewise.
42643         [C99-based standards] (INT_LEAST64_MIN): Likewise.
42644         [C99-based standards] (INT_LEAST64_MAX): Likewise.
42645         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
42646         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
42647         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
42648         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
42649         [C99-based standards] (INT_FAST8_MIN): Likewise.
42650         [C99-based standards] (INT_FAST8_MAX): Likewise.
42651         [C99-based standards] (INT_FAST16_MIN): Likewise.
42652         [C99-based standards] (INT_FAST16_MAX): Likewise.
42653         [C99-based standards] (INT_FAST32_MIN): Likewise.
42654         [C99-based standards] (INT_FAST32_MAX): Likewise.
42655         [C99-based standards] (INT_FAST64_MIN): Likewise.
42656         [C99-based standards] (INT_FAST64_MAX): Likewise.
42657         [C99-based standards] (UINT_FAST8_MAX): Likewise.
42658         [C99-based standards] (UINT_FAST16_MAX): Likewise.
42659         [C99-based standards] (UINT_FAST32_MAX): Likewise.
42660         [C99-based standards] (UINT_FAST64_MAX): Likewise.
42661         [C99-based standards] (INTPTR_MIN): Likewise.
42662         [C99-based standards] (INTPTR_MAX): Likewise.
42663         [C99-based standards] (UINTPTR_MAX): Likewise.
42664         [C99-based standards] (INTMAX_MIN): Likewise.
42665         [C99-based standards] (INTMAX_MAX): Likewise.
42666         [C99-based standards] (UINTMAX_MAX): Likewise.
42667         [C99-based standards] (PTRDIFF_MIN): Likewise.
42668         [C99-based standards] (PTRDIFF_MAX): Likewise.
42669         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
42670         [C99-based standards] (SIZE_MAX): Likewise.
42671         [C99-based standards] (WCHAR_MAX): Likewise.
42672         [C99-based standards] (WINT_MAX): Likewise.
42673         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
42674         constraint on value.
42675         [C99-based standards] (WCHAR_MIN): Likewise.
42676         [C99-based standards] (WINT_MIN): Likewise.
42677         [C99-based standards] (*_t): Allow.
42678         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
42679         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
42680         Include math.h-data and complex.h-data.  Remove all expectations
42681         of math.h and complex.h contents.
42682         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
42683         at end of line.
42684         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
42685         (struct tm): Expect tag.
42686         [C99-based-standards] (wcstof): Expect function.
42687         [C99-based-standards] (wcstold): Likewise.
42688         [C99-based-standards] (wcstoll): Likewise.
42689         [C99-based-standards] (wcstoull): Likewise.
42690         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
42691         macro-int-constant.  Specify type.
42692         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
42693         constraint on value.
42694         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
42695         Specify type.
42696         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
42697         Specify value.
42698         [ISO C standards]: Do not allow headers.
42699         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
42700         wcs[abcdefghijklmnopqrstuvwxyz]*.
42701         [ISO C standards] (*_t): Do not allow.
42702         * conform/data/wctype.h-data [C99-based standards] (iswblank):
42703         Expect function.
42704         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
42705         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
42706         Specify type.
42707         [ISO C standards]: Do not allow headers.
42708         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
42709         is[abcdefghijklmnopqrstuvwxyz]*.
42710         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
42711         to[abcdefghijklmnopqrstuvwxyz]*.
42712         [ISO C standards] (*_t): Do not allow.
42713         * conform/data/stdalign.h-data: New file.
42714         * conform/data/stdbool.h-data: Likewise.
42715         * conform/data/stdnoreturn.h-data: Likewise.
42717 2012-11-07  Roland McGrath  <roland@hack.frob.com>
42719         [BZ #14815]
42720         * manual/filesys.texi (Directory Entries): Typo fix.
42721         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
42723 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42725         * elf/elf.h (EM_AARCH64): New macro.
42726         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
42727         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
42728         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
42729         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
42730         (R_AARCH64_TLSDESC): Likewise.
42731         (NT_ARM_TLS): Likewise.
42732         (NT_ARM_HW_BREAK): Likewise.
42733         (NT_ARM_HW_WATCH): Likewise.
42735 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42737         [BZ #14811]
42738         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
42739         (__ieee754_powl): Saturate nonzero exponents with absolute value
42740         below 0x1p-79 to +/- 0x1p-79.
42741         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
42742         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
42743         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
42744         nonzero exponents with absolute value below 0x1p-32 to +/-
42745         0x1p-32.
42746         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
42747         (__ieee754_powl): Saturate nonzero exponents with absolute value
42748         below 0x1p-79 to +/- 0x1p-79.
42749         * math/libm-test.inc (pow_test): Add more tests.
42751 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42753         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
42754         _dl_s390_cap_flags with kernel. Increase string length.
42755         (_dl_s390_platforms): Add z196 and zEC12.
42757 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42759         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
42760         Change XOPEN21K to XOPEN2K.
42762 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
42764         * string/memmove.c: Use memcpy when possible.
42766 2012-11-06  Andreas Jaeger  <aj@suse.de>
42768         * po/eo.po: Update from translation team.
42770 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
42772         [BZ #14793]
42773         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
42774         exponent and small x and y exponents, scale x or y up.  Increase
42775         by 2 the exponent used in scaling up.
42776         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42777         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42778         * math/libm-test.inc (fma_test): Add more tests.
42779         (fma_test_towardzero): Likewise.
42780         (fma_test_downward): Likewise.
42781         (fma_test_upward): Likewise.
42783 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
42785         [BZ #14805]
42786         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
42787         fenv_t *.
42789         [BZ #14801]
42790         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
42791         namespace for names of struct fields.
42792         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
42793         fenv_t fields.
42794         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
42795         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
42797 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42799         [BZ #3665]
42800         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
42802 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
42804         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
42805         PTR_DEMANGLE.
42807         [BZ #5246]
42808         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
42809         PTR_DEMANGLE.
42811 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
42813         [BZ #14797]
42814         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
42815         definitely overflow as x * y not x * y + z.
42816         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42817         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42818         * math/libm-test.inc (fma_test): Add more tests.
42819         (fma_test_towardzero): Likewise.
42820         (fma_test_downward): Likewise.
42821         (fma_test_upward): Likewise.
42823 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
42825         [BZ #157]
42827         * include/stub-tag.h: Remove file.
42828         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
42829         '#include' of it.
42830         * manual/maint.texi (Porting): Don't reference it.
42831         * Makerules ($(objpfx)stubs): Likewise.
42832         * dirent/closedir.c: Don't include <stub-tag.h>.
42833         * dirent/dirfd.c: Likewise.
42834         * dirent/fdopendir.c: Likewise.
42835         * dirent/getdents.c: Likewise.
42836         * dirent/getdents64.c: Likewise.
42837         * dirent/opendir.c: Likewise.
42838         * dirent/readdir.c: Likewise.
42839         * dirent/readdir64.c: Likewise.
42840         * dirent/readdir64_r.c: Likewise.
42841         * dirent/readdir_r.c: Likewise.
42842         * dirent/rewinddir.c: Likewise.
42843         * dirent/seekdir.c: Likewise.
42844         * dirent/telldir.c: Likewise.
42845         * gmon/profil.c: Likewise.
42846         * grp/setgroups.c: Likewise.
42847         * inet/if_index.c: Likewise.
42848         * io/access.c: Likewise.
42849         * io/chdir.c: Likewise.
42850         * io/chmod.c: Likewise.
42851         * io/chown.c: Likewise.
42852         * io/close.c: Likewise.
42853         * io/dup.c: Likewise.
42854         * io/dup2.c: Likewise.
42855         * io/dup3.c: Likewise.
42856         * io/euidaccess.c: Likewise.
42857         * io/faccessat.c: Likewise.
42858         * io/fchdir.c: Likewise.
42859         * io/fchmod.c: Likewise.
42860         * io/fchmodat.c: Likewise.
42861         * io/fchown.c: Likewise.
42862         * io/fchownat.c: Likewise.
42863         * io/fcntl.c: Likewise.
42864         * io/flock.c: Likewise.
42865         * io/fstatfs.c: Likewise.
42866         * io/fstatfs64.c: Likewise.
42867         * io/fstatvfs.c: Likewise.
42868         * io/fstatvfs64.c: Likewise.
42869         * io/futimens.c: Likewise.
42870         * io/fxstat.c: Likewise.
42871         * io/fxstat64.c: Likewise.
42872         * io/fxstatat.c: Likewise.
42873         * io/fxstatat64.c: Likewise.
42874         * io/getcwd.c: Likewise.
42875         * io/isatty.c: Likewise.
42876         * io/lchmod.c: Likewise.
42877         * io/lchown.c: Likewise.
42878         * io/link.c: Likewise.
42879         * io/linkat.c: Likewise.
42880         * io/lseek.c: Likewise.
42881         * io/lseek64.c: Likewise.
42882         * io/lxstat64.c: Likewise.
42883         * io/mkdir.c: Likewise.
42884         * io/mkdirat.c: Likewise.
42885         * io/mkfifo.c: Likewise.
42886         * io/mkfifoat.c: Likewise.
42887         * io/open.c: Likewise.
42888         * io/open64.c: Likewise.
42889         * io/openat.c: Likewise.
42890         * io/openat64.c: Likewise.
42891         * io/pipe.c: Likewise.
42892         * io/pipe2.c: Likewise.
42893         * io/poll.c: Likewise.
42894         * io/posix_fadvise.c: Likewise.
42895         * io/posix_fadvise64.c: Likewise.
42896         * io/posix_fallocate.c: Likewise.
42897         * io/posix_fallocate64.c: Likewise.
42898         * io/read.c: Likewise.
42899         * io/readlink.c: Likewise.
42900         * io/readlinkat.c: Likewise.
42901         * io/rmdir.c: Likewise.
42902         * io/sendfile.c: Likewise.
42903         * io/sendfile64.c: Likewise.
42904         * io/statfs.c: Likewise.
42905         * io/statfs64.c: Likewise.
42906         * io/statvfs.c: Likewise.
42907         * io/statvfs64.c: Likewise.
42908         * io/symlink.c: Likewise.
42909         * io/symlinkat.c: Likewise.
42910         * io/ttyname.c: Likewise.
42911         * io/ttyname_r.c: Likewise.
42912         * io/umask.c: Likewise.
42913         * io/unlink.c: Likewise.
42914         * io/unlinkat.c: Likewise.
42915         * io/utime.c: Likewise.
42916         * io/utimensat.c: Likewise.
42917         * io/write.c: Likewise.
42918         * io/xmknod.c: Likewise.
42919         * io/xmknodat.c: Likewise.
42920         * io/xstat.c: Likewise.
42921         * io/xstat64.c: Likewise.
42922         * login/getpt.c: Likewise.
42923         * login/grantpt.c: Likewise.
42924         * login/unlockpt.c: Likewise.
42925         * math/e_acoshl.c: Likewise.
42926         * math/e_acosl.c: Likewise.
42927         * math/e_asinl.c: Likewise.
42928         * math/e_atan2l.c: Likewise.
42929         * math/e_atanhl.c: Likewise.
42930         * math/e_coshl.c: Likewise.
42931         * math/e_expl.c: Likewise.
42932         * math/e_fmodl.c: Likewise.
42933         * math/e_gammal_r.c: Likewise.
42934         * math/e_hypotl.c: Likewise.
42935         * math/e_j0l.c: Likewise.
42936         * math/e_j1l.c: Likewise.
42937         * math/e_jnl.c: Likewise.
42938         * math/e_lgammal_r.c: Likewise.
42939         * math/e_log10l.c: Likewise.
42940         * math/e_log2l.c: Likewise.
42941         * math/e_logl.c: Likewise.
42942         * math/e_powl.c: Likewise.
42943         * math/e_rem_pio2l.c: Likewise.
42944         * math/e_sinhl.c: Likewise.
42945         * math/e_sqrtl.c: Likewise.
42946         * math/fclrexcpt.c: Likewise.
42947         * math/fedisblxcpt.c: Likewise.
42948         * math/feenablxcpt.c: Likewise.
42949         * math/fegetenv.c: Likewise.
42950         * math/fegetexcept.c: Likewise.
42951         * math/fegetround.c: Likewise.
42952         * math/feholdexcpt.c: Likewise.
42953         * math/fesetenv.c: Likewise.
42954         * math/fesetround.c: Likewise.
42955         * math/feupdateenv.c: Likewise.
42956         * math/fgetexcptflg.c: Likewise.
42957         * math/fraiseexcpt.c: Likewise.
42958         * math/fsetexcptflg.c: Likewise.
42959         * math/ftestexcept.c: Likewise.
42960         * math/k_cosl.c: Likewise.
42961         * math/k_rem_pio2l.c: Likewise.
42962         * math/k_sinl.c: Likewise.
42963         * math/k_tanl.c: Likewise.
42964         * math/s_asinhl.c: Likewise.
42965         * math/s_atanl.c: Likewise.
42966         * math/s_cbrtl.c: Likewise.
42967         * math/s_erfl.c: Likewise.
42968         * math/s_expm1l.c: Likewise.
42969         * math/s_log1pl.c: Likewise.
42970         * math/s_tanhl.c: Likewise.
42971         * misc/acct.c: Likewise.
42972         * misc/brk.c: Likewise.
42973         * misc/chflags.c: Likewise.
42974         * misc/chroot.c: Likewise.
42975         * misc/fchflags.c: Likewise.
42976         * misc/fgetxattr.c: Likewise.
42977         * misc/flistxattr.c: Likewise.
42978         * misc/fremovexattr.c: Likewise.
42979         * misc/fsetxattr.c: Likewise.
42980         * misc/fsync.c: Likewise.
42981         * misc/ftruncate.c: Likewise.
42982         * misc/futimes.c: Likewise.
42983         * misc/futimesat.c: Likewise.
42984         * misc/getdomain.c: Likewise.
42985         * misc/getdtsz.c: Likewise.
42986         * misc/gethostid.c: Likewise.
42987         * misc/gethostname.c: Likewise.
42988         * misc/getloadavg.c: Likewise.
42989         * misc/getpagesize.c: Likewise.
42990         * misc/getsysstats.c: Likewise.
42991         * misc/getxattr.c: Likewise.
42992         * misc/gtty.c: Likewise.
42993         * misc/ioctl.c: Likewise.
42994         * misc/lgetxattr.c: Likewise.
42995         * misc/listxattr.c: Likewise.
42996         * misc/llistxattr.c: Likewise.
42997         * misc/lremovexattr.c: Likewise.
42998         * misc/lsetxattr.c: Likewise.
42999         * misc/lutimes.c: Likewise.
43000         * misc/madvise.c: Likewise.
43001         * misc/mincore.c: Likewise.
43002         * misc/mlock.c: Likewise.
43003         * misc/mlockall.c: Likewise.
43004         * misc/mmap.c: Likewise.
43005         * misc/mprotect.c: Likewise.
43006         * misc/msync.c: Likewise.
43007         * misc/munlock.c: Likewise.
43008         * misc/munlockall.c: Likewise.
43009         * misc/munmap.c: Likewise.
43010         * misc/preadv.c: Likewise.
43011         * misc/preadv64.c: Likewise.
43012         * misc/ptrace.c: Likewise.
43013         * misc/pwritev.c: Likewise.
43014         * misc/pwritev64.c: Likewise.
43015         * misc/readv.c: Likewise.
43016         * misc/reboot.c: Likewise.
43017         * misc/remap_file_pages.c: Likewise.
43018         * misc/removexattr.c: Likewise.
43019         * misc/revoke.c: Likewise.
43020         * misc/select.c: Likewise.
43021         * misc/setdomain.c: Likewise.
43022         * misc/setegid.c: Likewise.
43023         * misc/seteuid.c: Likewise.
43024         * misc/sethostid.c: Likewise.
43025         * misc/sethostname.c: Likewise.
43026         * misc/setregid.c: Likewise.
43027         * misc/setreuid.c: Likewise.
43028         * misc/setxattr.c: Likewise.
43029         * misc/sstk.c: Likewise.
43030         * misc/stty.c: Likewise.
43031         * misc/swapoff.c: Likewise.
43032         * misc/swapon.c: Likewise.
43033         * misc/sync.c: Likewise.
43034         * misc/syncfs.c: Likewise.
43035         * misc/syscall.c: Likewise.
43036         * misc/truncate.c: Likewise.
43037         * misc/ualarm.c: Likewise.
43038         * misc/usleep.c: Likewise.
43039         * misc/ustat.c: Likewise.
43040         * misc/utimes.c: Likewise.
43041         * misc/vhangup.c: Likewise.
43042         * misc/writev.c: Likewise.
43043         * posix/_exit.c: Likewise.
43044         * posix/alarm.c: Likewise.
43045         * posix/execve.c: Likewise.
43046         * posix/fexecve.c: Likewise.
43047         * posix/fork.c: Likewise.
43048         * posix/fpathconf.c: Likewise.
43049         * posix/getaddrinfo.c: Likewise.
43050         * posix/getegid.c: Likewise.
43051         * posix/geteuid.c: Likewise.
43052         * posix/getgid.c: Likewise.
43053         * posix/getgroups.c: Likewise.
43054         * posix/getlogin.c: Likewise.
43055         * posix/getlogin_r.c: Likewise.
43056         * posix/getpgid.c: Likewise.
43057         * posix/getpid.c: Likewise.
43058         * posix/getppid.c: Likewise.
43059         * posix/getresgid.c: Likewise.
43060         * posix/getresuid.c: Likewise.
43061         * posix/getsid.c: Likewise.
43062         * posix/getuid.c: Likewise.
43063         * posix/glob64.c: Likewise.
43064         * posix/nanosleep.c: Likewise.
43065         * posix/pathconf.c: Likewise.
43066         * posix/pause.c: Likewise.
43067         * posix/posix_madvise.c: Likewise.
43068         * posix/pread.c: Likewise.
43069         * posix/pread64.c: Likewise.
43070         * posix/pwrite.c: Likewise.
43071         * posix/pwrite64.c: Likewise.
43072         * posix/sched_getaffinity.c: Likewise.
43073         * posix/sched_getp.c: Likewise.
43074         * posix/sched_gets.c: Likewise.
43075         * posix/sched_primax.c: Likewise.
43076         * posix/sched_primin.c: Likewise.
43077         * posix/sched_rr_gi.c: Likewise.
43078         * posix/sched_setaffinity.c: Likewise.
43079         * posix/sched_setp.c: Likewise.
43080         * posix/sched_sets.c: Likewise.
43081         * posix/sched_yield.c: Likewise.
43082         * posix/setgid.c: Likewise.
43083         * posix/setlogin.c: Likewise.
43084         * posix/setpgid.c: Likewise.
43085         * posix/setresgid.c: Likewise.
43086         * posix/setresuid.c: Likewise.
43087         * posix/setsid.c: Likewise.
43088         * posix/setuid.c: Likewise.
43089         * posix/sleep.c: Likewise.
43090         * posix/spawni.c: Likewise.
43091         * posix/sysconf.c: Likewise.
43092         * posix/times.c: Likewise.
43093         * posix/wait.c: Likewise.
43094         * posix/wait3.c: Likewise.
43095         * posix/wait4.c: Likewise.
43096         * posix/waitpid.c: Likewise.
43097         * resolv/gai_sigqueue.c: Likewise.
43098         * resource/getpriority.c: Likewise.
43099         * resource/getrlimit.c: Likewise.
43100         * resource/getrusage.c: Likewise.
43101         * resource/nice.c: Likewise.
43102         * resource/setpriority.c: Likewise.
43103         * resource/setrlimit.c: Likewise.
43104         * resource/ulimit.c: Likewise.
43105         * rt/aio_cancel.c: Likewise.
43106         * rt/aio_fsync.c: Likewise.
43107         * rt/aio_read.c: Likewise.
43108         * rt/aio_sigqueue.c: Likewise.
43109         * rt/aio_suspend.c: Likewise.
43110         * rt/aio_write.c: Likewise.
43111         * rt/clock_getres.c: Likewise.
43112         * rt/clock_gettime.c: Likewise.
43113         * rt/clock_nanosleep.c: Likewise.
43114         * rt/clock_settime.c: Likewise.
43115         * rt/lio_listio.c: Likewise.
43116         * rt/mq_close.c: Likewise.
43117         * rt/mq_getattr.c: Likewise.
43118         * rt/mq_notify.c: Likewise.
43119         * rt/mq_open.c: Likewise.
43120         * rt/mq_receive.c: Likewise.
43121         * rt/mq_send.c: Likewise.
43122         * rt/mq_setattr.c: Likewise.
43123         * rt/mq_timedreceive.c: Likewise.
43124         * rt/mq_timedsend.c: Likewise.
43125         * rt/mq_unlink.c: Likewise.
43126         * rt/shm_open.c: Likewise.
43127         * rt/shm_unlink.c: Likewise.
43128         * rt/timer_create.c: Likewise.
43129         * rt/timer_delete.c: Likewise.
43130         * rt/timer_getoverr.c: Likewise.
43131         * rt/timer_gettime.c: Likewise.
43132         * rt/timer_settime.c: Likewise.
43133         * setjmp/__longjmp.c: Likewise.
43134         * setjmp/setjmp.c: Likewise.
43135         * signal/kill.c: Likewise.
43136         * signal/killpg.c: Likewise.
43137         * signal/raise.c: Likewise.
43138         * signal/sigaction.c: Likewise.
43139         * signal/sigaltstack.c: Likewise.
43140         * signal/sigblock.c: Likewise.
43141         * signal/sigignore.c: Likewise.
43142         * signal/sigintr.c: Likewise.
43143         * signal/signal.c: Likewise.
43144         * signal/sigpause.c: Likewise.
43145         * signal/sigpending.c: Likewise.
43146         * signal/sigqueue.c: Likewise.
43147         * signal/sigreturn.c: Likewise.
43148         * signal/sigset.c: Likewise.
43149         * signal/sigsetmask.c: Likewise.
43150         * signal/sigstack.c: Likewise.
43151         * signal/sigsuspend.c: Likewise.
43152         * signal/sigtimedwait.c: Likewise.
43153         * signal/sigvec.c: Likewise.
43154         * signal/sigwait.c: Likewise.
43155         * signal/sigwaitinfo.c: Likewise.
43156         * signal/sysv_signal.c: Likewise.
43157         * socket/accept.c: Likewise.
43158         * socket/accept4.c: Likewise.
43159         * socket/bind.c: Likewise.
43160         * socket/connect.c: Likewise.
43161         * socket/getpeername.c: Likewise.
43162         * socket/getsockname.c: Likewise.
43163         * socket/getsockopt.c: Likewise.
43164         * socket/isfdtype.c: Likewise.
43165         * socket/listen.c: Likewise.
43166         * socket/recv.c: Likewise.
43167         * socket/recvfrom.c: Likewise.
43168         * socket/recvmsg.c: Likewise.
43169         * socket/send.c: Likewise.
43170         * socket/sendmsg.c: Likewise.
43171         * socket/sendto.c: Likewise.
43172         * socket/setsockopt.c: Likewise.
43173         * socket/shutdown.c: Likewise.
43174         * socket/sockatmark.c: Likewise.
43175         * socket/socket.c: Likewise.
43176         * socket/socketpair.c: Likewise.
43177         * stdio-common/ctermid.c: Likewise.
43178         * stdio-common/cuserid.c: Likewise.
43179         * stdio-common/remove.c: Likewise.
43180         * stdio-common/rename.c: Likewise.
43181         * stdio-common/renameat.c: Likewise.
43182         * stdio-common/tempname.c: Likewise.
43183         * stdlib/getcontext.c: Likewise.
43184         * stdlib/makecontext.c: Likewise.
43185         * stdlib/setcontext.c: Likewise.
43186         * stdlib/swapcontext.c: Likewise.
43187         * stdlib/system.c: Likewise.
43188         * streams/fattach.c: Likewise.
43189         * streams/fdetach.c: Likewise.
43190         * streams/getmsg.c: Likewise.
43191         * streams/getpmsg.c: Likewise.
43192         * streams/putmsg.c: Likewise.
43193         * streams/putpmsg.c: Likewise.
43194         * sysdeps/unix/bsd/getpt.c: Likewise.
43195         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
43196         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
43197         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
43198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
43199         Likewise.
43200         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
43201         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
43202         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
43203         * sysvipc/msgctl.c: Likewise.
43204         * sysvipc/msgget.c: Likewise.
43205         * sysvipc/msgrcv.c: Likewise.
43206         * sysvipc/msgsnd.c: Likewise.
43207         * sysvipc/semctl.c: Likewise.
43208         * sysvipc/semget.c: Likewise.
43209         * sysvipc/semop.c: Likewise.
43210         * sysvipc/semtimedop.c: Likewise.
43211         * sysvipc/shmat.c: Likewise.
43212         * sysvipc/shmctl.c: Likewise.
43213         * sysvipc/shmdt.c: Likewise.
43214         * sysvipc/shmget.c: Likewise.
43215         * termios/tcdrain.c: Likewise.
43216         * termios/tcflow.c: Likewise.
43217         * termios/tcflush.c: Likewise.
43218         * termios/tcgetattr.c: Likewise.
43219         * termios/tcgetpgrp.c: Likewise.
43220         * termios/tcsendbrk.c: Likewise.
43221         * termios/tcsetattr.c: Likewise.
43222         * termios/tcsetpgrp.c: Likewise.
43223         * time/adjtime.c: Likewise.
43224         * time/clock.c: Likewise.
43225         * time/getitimer.c: Likewise.
43226         * time/gettimeofday.c: Likewise.
43227         * time/setitimer.c: Likewise.
43228         * time/settimeofday.c: Likewise.
43229         * time/stime.c: Likewise.
43230         * time/time.c: Likewise.
43232 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
43234         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
43235         /usr/old/bin.
43237         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
43238         instead of spaces.
43239         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
43241 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
43243         [BZ #14796]
43244         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
43245         FE_TONEAREST before applying Dekker multiplication and Knuth
43246         addition.  Clear inexact exceptions and check for exact zero
43247         results afterwards.
43248         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43249         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
43250         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43251         * math/libm-test.inc (fma_test): Add more tests.
43252         (fma_test_towardzero): Likewise.
43253         (fma_test_downward): Likewise.
43254         (fma_test_upward): Likewise.
43255         * sysdeps/generic/math_private.h (default_libc_fesetround): New
43256         function.
43257         (libc_fesetround): New macro.
43258         (libc_fesetroundf): Likewise.
43259         (libc_fesetroundl): Likewise.
43260         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
43261         function.
43262         (libc_fesetround_387): Likewise.
43263         (libc_fesetroundf): New macro.
43264         (libc_fesetround): Likewise.
43265         (libc_fesetroundl): Likewise.
43266         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
43267         function.
43268         (libc_fesetroundf): New macro.
43269         (libc_fesetround): Likewise.
43270         (libc_fesetroundl): Likewise.
43271         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
43272         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
43273         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
43274         libm_hidden_ver.
43275         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
43276         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
43277         libm_hidden_def.
43278         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
43279         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
43280         libm_hidden_ver.
43281         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
43282         libm_hidden_def.
43284         [BZ #3439]
43285         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
43286         integer constant usable in #if and use that to give value to enum
43287         constant.
43288         (FE_DIVBYZERO): Likewise.
43289         (FE_UNDERFLOW): Likewise.
43290         (FE_OVERFLOW): Likewise.
43291         (FE_INVALID): Likewise.
43292         (FE_INVALID_SNAN): Likewise.
43293         (FE_INVALID_ISI): Likewise.
43294         (FE_INVALID_IDI): Likewise.
43295         (FE_INVALID_ZDZ): Likewise.
43296         (FE_INVALID_IMZ): Likewise.
43297         (FE_INVALID_COMPARE): Likewise.
43298         (FE_INVALID_SOFTWARE): Likewise.
43299         (FE_INVALID_SQRT): Likewise.
43300         (FE_INVALID_INTEGER_CONVERSION): Likewise.
43301         (FE_TONEAREST): Likewise.
43302         (FE_TOWARDZERO): Likewise.
43303         (FE_UPWARD): Likewise.
43304         (FE_DOWNWARD): Likewise.
43305         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
43306         (FE_DIVBYZERO): Likewise.
43307         (FE_OVERFLOW): Likewise.
43308         (FE_UNDERFLOW): Likewise.
43309         (FE_INEXACT): Likewise.
43310         (FE_TONEAREST): Likewise.
43311         (FE_DOWNWARD): Likewise.
43312         (FE_UPWARD): Likewise.
43313         (FE_TOWARDZERO): Likewise.
43314         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
43315         (FE_UNDERFLOW): Likewise.
43316         (FE_OVERFLOW): Likewise.
43317         (FE_DIVBYZERO): Likewise.
43318         (FE_INVALID): Likewise.
43319         (FE_TONEAREST): Likewise.
43320         (FE_TOWARDZERO): Likewise.
43321         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
43322         (FE_OVERFLOW): Likewise.
43323         (FE_UNDERFLOW): Likewise.
43324         (FE_DIVBYZERO): Likewise.
43325         (FE_INEXACT): Likewise.
43326         (FE_TONEAREST): Likewise.
43327         (FE_TOWARDZERO): Likewise.
43328         (FE_UPWARD): Likewise.
43329         (FE_DOWNWARD): Likewise.
43330         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
43331         (FE_DIVBYZERO): Likewise.
43332         (FE_OVERFLOW): Likewise.
43333         (FE_UNDERFLOW): Likewise.
43334         (FE_INEXACT): Likewise.
43335         (FE_TONEAREST): Likewise.
43336         (FE_DOWNWARD): Likewise.
43337         (FE_UPWARD): Likewise.
43338         (FE_TOWARDZERO): Likewise.
43340 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
43342         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
43344 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
43346         * scripts/cross-test-ssh.sh (command): Use newlines to separate
43347         commands.  Quote $PWD.
43348         (blacklist_exports): Don't use remove_newlines.  Replace "declare
43349         -x" by "export".
43350         (remove_newlines): Remove.
43352 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
43354         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
43355         * stdlib/stdlib.h (atof): Moved to ...
43356         * include/bits/stdlib-float.h: Here.  New file.
43357         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
43358         * stdlib/bits/stdlib-float.h: New file.
43359         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
43360         -mno-sse -mno-mmx.
43361         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
43362         <xmmintrin.h>.
43364 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
43366         * conform/conformtest.pl (@headers): Add fenv.h.
43367         * conform/data/fenv.h-data: New file.
43368         * include/fenv.h [_ISOMAC]: Disable all contents of file except
43369         include of <math/fenv.h>.
43371         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
43372         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
43373         && !UNIX98].  Enables tests for XOPEN2K8.
43374         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
43375         POSIX2008]: Likewise.
43377         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
43378         (struct rusage): Do not expect type or its members.
43380         [BZ #3439]
43381         * math/math.h (FP_NAN): Define macro to integer constant usable in
43382         #if and use that to give value to enum constant.
43383         (FP_INFINITE): Likewise.
43384         (FP_ZERO): Likewise.
43385         (FP_SUBNORMAL): Likewise.
43386         (FP_NORMAL): Likewise.
43388 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
43390         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
43391         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
43392         arguments.
43394 2012-11-02  Roland McGrath  <roland@hack.frob.com>
43396         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
43397         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
43398         autoconf-time if not.
43399         * configure.in: Remove AC_PREREQ.
43401 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43403         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
43404         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
43405         of the internal implementation.
43407 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
43409         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
43410         except include of <misc/sys/syslog.h>.
43412 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
43414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
43415         function returns with a NULL context exit with zero.
43417 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43419         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
43421 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
43423         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
43424         (run_program_cmd): This.
43425         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
43426         (tst_langinfo): New variable.  Use it.
43428 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
43430         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
43431         floating point opcodes.
43433 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
43435         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
43436         variable.
43438         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
43440         * sysdeps/mach/hurd/powerpc: Remove directory.
43441         * sysdeps/mach/powerpc: Likewise.
43443 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
43445         * scripts/check-local-headers.sh: Ignore c++ headers.
43447 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
43449         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
43450         __libc_cleanup_region_start argument.
43452 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
43454         [BZ #14784]
43455         [BZ #14785]
43456         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
43457         x * y using scaling, not as x * y + z.
43458         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43459         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43460         * math/libm-test.inc (fma_test): Add more tests.
43461         (fma_test_towardzero): Likewise.
43462         (fma_test_downward): Likewise.
43463         (fma_test_upward): Likewise.
43465 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
43467         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
43469 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
43471         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
43472         New variable.
43474 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
43476         * rt/tst-shm.c (worker): Correct checking for mmap failure.
43478 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
43480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43481         Fix sort order.
43482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43483         Likewise.
43485 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43488         Fix the order of the list for glibc 2.17.
43489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43490         Likewise.
43492 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
43494         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43496 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
43498         [BZ #14610]
43499         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
43500         for low part of x being zero before using __atanl (y).
43501         * math/libm-test.inc (atan2_test): Add another test.
43503         * manual/install.texi (Configuring and compiling): Document
43504         general use of test-wrapper and test-wrapper-env.
43505         * INSTALL: Regenerated.
43507         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
43508         (__fma): Do not extract and scale down low bits on after-rounding
43509         systems when result rounded to normal precision would have normal
43510         exponent.
43511         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
43512         (__fmal): Do not extract and scale down low bits on after-rounding
43513         systems when result rounded to normal precision would have normal
43514         exponent.
43515         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
43516         (__fmal): Do not extract and scale down low bits on after-rounding
43517         systems when result rounded to normal precision would have normal
43518         exponent.
43519         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
43520         macro.
43521         (fma_test): Add more tests.
43522         (fma_test_towardzero): Likewise.
43523         (fma_test_downward): Likewise.
43524         (fma_test_upward): Likewise.
43526 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
43528         * sysdeps/i386/tininess.h: Renamed to ...
43529         * sysdeps/x86/tininess.h: This.
43530         * sysdeps/x86_64/tininess.h: Removed.
43532 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
43534         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
43535         input.  Use $(build-program-cmd).
43536         ($(objpfx)tst-array1-static.out): Likewise.
43537         ($(objpfx)tst-array2.out): Likewise.
43538         ($(objpfx)tst-array3.out): Likewise.
43539         ($(objpfx)tst-array4.out): Likewise.
43540         ($(objpfx)tst-array5.out): Likewise.
43541         ($(objpfx)tst-array5-static.out): Likewise.
43543 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
43545         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
43546         if defined.
43548         * nss/nsswitch.h (nss_interface_function): Provide new
43549         macro for use with NSS functions.
43550         * grp/initgroups.c: Use new macro.
43551         * nss/getXXbyYY.c: Likewise.
43552         * nss/getXXbyYY_r.c: Likewise.
43553         * nss/getXXent.c: Likewise.
43554         * nss/getXXent_r.c: Likewise.
43555         * sysdeps/posix/getaddrinfo.c: Likewise.
43557 2012-10-30  Andreas Jaeger  <aj@suse.de>
43559         * po/ru.po: Update Russion translation from translation project.
43561 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
43563         [BZ #14152]
43564         [BZ #14783]
43565         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
43566         result and shift together with sticky bit instead of replicating
43567         round-to-nearest rounding.
43568         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43569         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43570         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
43571         missing underflow exceptions.
43572         (fma_test_towardzero): Add more tests.
43573         (fma_test_downward): Likewise.
43574         (fma_test_upward): Likewise.
43576         [BZ #14047]
43577         * sysdeps/generic/tininess.h: New file.
43578         * sysdeps/i386/tininess.h: Likewise.
43579         * sysdeps/sh/tininess.h: Likewise.
43580         * sysdeps/x86_64/tininess.h: Likewise.
43581         * stdlib/tst-strtod-underflow.c: Likewise.
43582         * stdlib/tst-tininess.c: Likewise.
43583         * stdlib/strtod_l.c: Include <tininess.h>.
43584         (round_and_return): Do not set errno for exact underflow cases.
43585         Force an underflow exception when setting errno for underflow.
43586         Determine underflow based on rounding to normal precision if
43587         TININESS_AFTER_ROUNDING.
43588         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
43589         ERANGE for exact underflow cases.
43590         * stdlib/Makefile (tests): Add tst-tininess and
43591         tst-strtod-underflow.
43592         ($(objpfx)tst-tininess): Use $(link-libm).
43593         ($(objpfx)tst-strtod-underflow): Likewise.
43595 2012-10-30  Andreas Jaeger  <aj@suse.de>
43597         [BZ#14767]
43598         * elf/Makefile (tests): Remove conditional for have-initfini-array
43599         since this is now always required and the variable does not exist
43600         anymore.
43601         (tests-static): Likewise.
43602         (modules-names): Likewise.
43604         * po/eo.po: Add Esperanto translation from translation project.
43606         * elf/tst-array1.c (fini_array): Make writeable so that it can be
43607         merged with constructor/destructor.
43608         (init_array): Likewise.
43609         * elf/tst-array2dep.c (fini_array): Likewise.
43610         (init_array): Likewise.
43612 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
43614         * manual/message.texi: Delete @cartouche tags.
43616 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
43618         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
43619         EOPNOTSUPP.
43620         * sysdeps/mach/hurd/fsync.c: Likewise.
43622         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
43623         [_POSIX_REALTIME_SIGNALS]: Change condition to
43624         [_POSIX_REALTIME_SIGNALS > 0].
43626 2012-10-27  Andreas Jaeger  <aj@suse.de>
43628         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
43629         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
43630         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
43631         [__WORDSIZE != 64]: Likewise.
43633 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
43635         *  iconvdata/tst-table.sh: Remove ${SHELL}.
43636         *  iconvdata/tst-tables.sh: Likewise.
43638 2012-10-25  David S. Miller  <davem@davemloft.net>
43640         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43641         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
43642         of strtoull.
43644         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
43645         ifunc-impl-list.c
43646         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43647         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
43648         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
43649         file.
43651 2012-10-25  Roland McGrath  <roland@hack.frob.com>
43653         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43654         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
43655         __getdirentries.
43657 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
43658             Jim Blandy  <jimb@codesourcery.com>
43660         * scripts/cross-test-ssh.sh: New file.
43661         * manual/install.texi (Configuring and compiling): Document use of
43662         cross-test-ssh.sh.
43663         * INSTALL: Regenerated.
43665 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
43667         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
43668         EOPNOTSUPP.
43670 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
43672         * Makeconfig (run-program-prefix): Fix comment.
43674 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
43675             Jim Blandy  <jimb@codesourcery.com>
43677         * Makeconfig (test-wrapper): New variable,
43678         (test-wrapper-env): Likewise.
43679         [$(cross-compiling) = yes && $(test-wrapper) != ""]
43680         (run-built-tests): Define to yes.
43681         (run-program-prefix): Use $(test-wrapper).
43682         (built-program-cmd): Likewise.
43683         * Rules (make-test-out): Use $(test-wrapper-env) and
43684         $(host-built-program-cmd).
43685         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
43686         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
43687         tst-pathopt.sh.
43688         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
43689         $(test-wrapper-env) to tst-rtld-load-self.sh.
43690         ($(objpfx)order2.out): Use $(test-wrapper).
43691         ($(objpfx)tst-initorder.out): Likewise.
43692         ($(objpfx)tst-initorder2.out): Likewise.
43693         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
43694         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
43695         (test_wrapper_env): New variable.  Use it to run ld.so.
43696         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
43697         Use it to run ld.so.
43698         (test_wrapper_env): Likewise.
43699         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
43700         $(test-wrapper) to run-iconv-test.sh.
43701         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
43702         (ICONV): Use $test_wrapper.
43703         * posix/Makefile ($(objpfx)globtest.out): Pass
43704         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
43705         globtest.sh, not $(run-program-prefix).
43706         * posix/globtest.sh (run_via_rtld_prefix): New variable.
43707         (test_wrapper): Likewise.
43708         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
43709         set together with run_via_rtld_prefix.
43710         (run_program_prefix): Define in terms of test_wrapper and
43711         run_via_rtld_prefix.
43713 2012-10-24  Roland McGrath  <roland@hack.frob.com>
43715         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
43716         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
43717         Targets removed.
43719         [BZ #14743]
43720         * include/time.h: Remove librt_hidden_proto (clock_gettime).
43721         Declare __clock_getres, __clock_gettime, __clock_settime,
43722         __clock_nanosleep, and __clock_getcpuclockid.
43723         * rt/clock_gettime.c: Define __clock_gettime as an alias.
43724         Remove librt_hidden_def (clock_gettime).
43725         * sysdeps/unix/clock_gettime.c: Likewise.
43726         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
43727         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
43728         * rt/clock_getres.c: Define __clock_getres as an alias.
43729         * sysdeps/posix/clock_getres.c: Likewise.
43730         * rt/clock_settime.c: Define __clock_settime as an alias.
43731         * sysdeps/unix/clock_settime.c: Likewise.
43732         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
43733         * sysdeps/unix/clock_nanosleep.c: Likewise.
43734         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
43735         * rt/clock-compat.c: New file.
43736         * rt/Makefile (librt-routines): Add clock-compat and move
43737         $(clock-routines) to ...
43738         (routines): ... here, new variable.
43739         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
43740         Don't add get_clockfreq here.
43741         * rt/Versions (libc: GLIBC_2.17): New version set.
43742         Add clock_* symbols here.
43743         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
43744         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
43745         (GLIBC_2.17): Add clock_* symbols.
43746         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
43747         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
43748         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
43749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43750         Likewise.
43751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43752         Likewise.
43753         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
43754         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
43755         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
43756         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
43757         * NEWS: Mention the move.
43759         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
43760         Use __open, __read, __close rather than their public counterparts.
43761         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43762         (__get_clockfreq_via_cpuinfo): Likewise.
43763         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
43764         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
43766         * config.h.in (HAVE_IFUNC): New #undef.
43767         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
43768         was successful.
43769         * configure: Regenerated.
43771 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
43773         * configure.in: Move READELF check to start of file.
43774         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
43775         libc_cv_asm_gnu_indirect_function in the process.
43776         * configure: Regenerated.
43778 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
43780         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
43781         send the output to /dev/null.
43782         (libc_cv_cc_with_libunwind): Likewise.
43783         (libc_cv_as_noexecstack): Likewise.
43784         * configure: Regenerate.
43786 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
43788         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
43790         * posix/globtest.sh (TMPDIR): Do not set.
43791         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
43792         (testout): Likewise.
43794 2012-10-24  Andreas Jaeger  <aj@suse.de>
43796         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
43797         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
43798         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
43799         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
43800         posix_fadvise64, posix_fallocate64.
43802         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
43803         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
43804         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
43805         Likewise.
43806         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
43807         Likewise.
43808         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
43810         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
43811         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
43812         <bits/fcntl-linux.h>.
43813         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
43815         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
43816         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
43817         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
43818         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
43819         [__WORDSIZE != 64]: Likewise.
43821 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
43823         * Makeconfig (run-built-tests): New variable.
43824         * Rules [$(cross-compiling) = yes]: Change condition to
43825         [$(run-built-tests) = no].
43826         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
43827         to [$(run-built-tests) = yes].
43828         * elf/Makefile [$(cross-compiling) = no]: Likewise
43829         * grp/Makefile [$(cross-compiling) = no]: Likewise.
43830         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
43831         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
43832         * intl/Makefile [$(cross-compiling) = no]: Likewise.
43833         * io/Makefile [$(cross-compiling) = no]: Likewise.
43834         * libio/Makefile [$(cross-compiling) = no]: Likewise.
43835         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
43836         * misc/Makefile [$(cross-compiling) = no]: Likewise.
43837         * posix/Makefile [$(cross-compiling) = no]: Likewise.
43838         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
43839         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
43840         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
43841         * string/Makefile [$(cross-compiling) = no]: Likewise.
43843         * posix/Makefile ($(objpfx)globtest.out): Pass
43844         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
43845         $(rtld-installed-name).
43846         * posix/globtest.sh (elf_objpfx): Remove variable.
43847         (rtld_installed_name): Likewise.
43848         (library_path): Likewise.
43849         (run_program_prefix): New variable.  Use for running globtest
43850         binary.
43852 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
43853             Joseph Myers  <joseph@codesourcery.com>
43855         * Makeconfig (host-built-program-cmd): New variable.
43856         * elf/Makefile (tst-stackguard1-ARGS): Use
43857         $(host-built-program-cmd).
43858         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
43859         (tst-spawn-ARGS): Likewise.
43860         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
43862 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
43863             Jim Blandy  <jimb@codesourcery.com>
43865         * Makeconfig (run-via-rtld-prefix): New variable.
43866         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
43867         (built-program-cmd): Likewise.
43869 2012-10-22  Andreas Jaeger  <aj@suse.de>
43871         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
43872         __O_RSYNC if it exists, otherwise to O_SYNC.
43874 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
43875             Joseph Myers  <joseph@codesourcery.com>
43877         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
43878         /dev/null.
43879         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
43880         from /dev/null
43881         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
43882         /dev/null.
43884 2012-10-22  Andreas Jaeger  <aj@suse.de>
43886         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
43887         Define always.
43888         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
43890         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43891         bits/fcntl-linux.h.
43893         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
43894         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
43896         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
43897         to __O_LARGEFILE.
43898         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
43899         to __O_LARGEFILE.
43901 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
43902             Joseph Myers  <joseph@codesourcery.com>
43904         * config.make.in (NM): New variable.
43906 2012-10-21  Andreas Jaeger  <aj@suse.de>
43908         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
43909         definitions and declarations that are provided by
43910         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
43912 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
43914         [BZ #14683]
43915         * elf/Makefile (tests-static): Add tst-leaks1-static.
43916         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
43917         ($(objpfx)tst-leaks1-static): New rule.
43918         ($(objpfx)tst-leaks1-static-mem): Likewise.
43919         (tst-leaks1-static-ENV): New macro.
43920         * elf/dl-open.c (dl_open_worker): Check the main application
43921         only if SHARED is defined.
43922         * elf/tst-leaks1-static.c: New file.
43924 2012-10-20  Andreas Jaeger  <aj@suse.de>
43926         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
43927         generic values for Linux.
43928         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
43929         and declarations that are provided by <bits/fcntl-linux.h> and
43930         include <bits/fcntl-linux.h>.
43931         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43932         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43934 2012-10-20  Roland McGrath  <roland@hack.frob.com>
43936         * io/fcntl.h: Move include of <bits/types.h> to the top and
43937         include it unconditionally.
43939 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
43941         * wcsmbs/Makefile (tests-ifunc): New variable.
43942         (tests): Add $(tests-ifunc).
43943         * wcsmbs/test-wcschr-ifunc.c: New file.
43944         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
43945         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
43946         * wcsmbs/test-wcslen-ifunc.c: Likewise.
43947         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
43948         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
43950         * string/Makefile (tests-ifunc): New variable.
43951         (tests): Add $(tests-ifunc).
43952         * string/test-memccpy.c (TEST_NAME): New macro.
43953         * string/test-memchr.c (TEST_NAME): Likewise.
43954         * string/test-memcmp.c (TEST_NAME): Likewise.
43955         * string/test-memcpy.c (TEST_NAME): Likewise.
43956         * string/test-memmem.c (TEST_NAME): Likewise.
43957         * string/test-memmove.c (TEST_NAME): Likewise.
43958         * string/test-memset.c (TEST_NAME): Likewise.
43959         * string/test-rawmemchr.c (TEST_NAME): Likewise.
43960         * string/test-stpcpy.c (TEST_NAME): Likewise.
43961         * string/test-stpncpy.c (TEST_NAME): Likewise.
43962         * string/test-strcasecmp.c (TEST_NAME): Likewise.
43963         * string/test-strcasestr.c (TEST_NAME): Likewise.
43964         * string/test-strcat.c (TEST_NAME): Likewise.
43965         * string/test-strchr.c (TEST_NAME): Likewise.
43966         * string/test-strcmp.c(TEST_NAME): Likewise.
43967         * string/test-strcpy.c (TEST_NAME): Likewise.
43968         * string/test-strcspn.c (TEST_NAME): Likewise.
43969         * string/test-strlen.c (TEST_NAME): Likewise.
43970         * string/test-strncasecmp.c (TEST_NAME): Likewise.
43971         * string/test-strncmp.c (TEST_NAME): Likewise.
43972         * string/test-strncpy.c (TEST_NAME): Likewise.
43973         * string/test-strnlen.c (TEST_NAME): Likewise.
43974         * string/test-strpbrk.c (TEST_NAME): Likewise.
43975         * string/test-strrchr.c (TEST_NAME): Likewise.
43976         * string/test-strspn.c (TEST_NAME): Likewise.
43977         * string/test-strstr.c (TEST_NAME): Likewise.
43978         * string/test-bcopy-ifunc.c: New file.
43979         * string/test-bzero-ifunc.c: Likewise.
43980         * string/test-memccpy-ifunc.c: Likewise.
43981         * string/test-memchr-ifunc.c: Likewise.
43982         * string/test-memcmp-ifunc.c: Likewise.
43983         * string/test-memcpy-ifunc.c: Likewise.
43984         * string/test-memmem-ifunc.c: Likewise.
43985         * string/test-memmove-ifunc.c: Likewise.
43986         * string/test-mempcpy-ifunc.c: Likewise.
43987         * string/test-memset-ifunc.c: Likewise.
43988         * string/test-rawmemchr-ifunc.c: Likewise.
43989         * string/test-stpcpy-ifunc.c: Likewise.
43990         * string/test-stpncpy-ifunc.c: Likewise.
43991         * string/test-strcasecmp-ifunc.c: Likewise.
43992         * string/test-strcasestr-ifunc.c: Likewise.
43993         * string/test-strcat-ifunc.c: Likewise.
43994         * string/test-strchr-ifunc.c: Likewise.
43995         * string/test-strchrnul-ifunc.c: Likewise.
43996         * string/test-strcmp-ifunc.c: Likewise.
43997         * string/test-strcpy-ifunc.c: Likewise.
43998         * string/test-strcspn-ifunc.c: Likewise.
43999         * string/test-strlen-ifunc.c: Likewise.
44000         * string/test-strncasecmp-ifunc.c: Likewise.
44001         * string/test-strncat-ifunc.c: Likewise.
44002         * string/test-strncmp-ifunc.c: Likewise.
44003         * string/test-strncpy-ifunc.c: Likewise.
44004         * string/test-strnlen-ifunc.c: Likewise.
44005         * string/test-strpbrk-ifunc.c: Likewise.
44006         * string/test-strrchr-ifunc.c: Likewise.
44007         * string/test-strspn-ifunc.c: Likewise.
44008         * string/test-strstr-ifunc.c: Likewise.
44010         * debug/Makefile (tests-ifunc): New variable.
44011         (tests): Add $(tests-ifunc).
44012         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
44013         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
44014         * debug/test-stpcpy_chk-ifunc.c: New file.
44015         * debug/test-strcpy_chk-ifunc.c: Likewise.
44017 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44019         [BZ #13601]
44020         * elf/dl-load.c (open_verify): Retry read if the entire ELF
44021         header is not read in.
44023 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
44025         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
44026         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
44027         directly.  Pass built executable to script as
44028         $(built-program-cmd).
44029         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
44030         $testprogram without using LD_LIBRARY_PATH and $ldso.
44032         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
44033         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
44034         $(rtld-installed-name).
44035         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
44036         (rtld_installed_name): Likewise.
44037         (library_path): Likewise.
44038         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
44039         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
44040         $(run-program-prefix) to tst-tables.sh.
44041         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
44042         it to run tst-table-from and tst-table-to.
44043         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
44044         Pass it to tst-table.sh.
44045         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
44046         $(run-program-prefix) to tst-gettext.sh.
44047         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
44048         tst-translit.sh.
44049         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
44050         tst-gettext2.sh.
44051         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
44052         to run tst-gettext.
44053         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
44054         to run tst-gettext2.
44055         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
44056         to run tst-translit.
44057         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
44058         $(run-program-prefix) to tst-mtrace.sh.
44059         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
44060         to run tst-mtrace.
44061         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
44062         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
44063         $(rtld-installed-name).
44064         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
44065         (rtld_installed_name): Likewise.
44066         (run_program_prefix): New variable.  Use it to run wordexp-test.
44068         * Makeconfig (ARCH): Remove all definitions.
44069         (machine): Likewise.
44070         [ARCH]: Remove conditional code.
44071         [!objdir]: Give error.
44072         [!objdir] (objpfx): Remove.
44073         [!objdir] (common-objpfx): Likewise.
44074         [!objdir] (common-objdir): Likewise.
44075         * configure.in (config_makefile): Remove.  Hardcode Makefile in
44076         AC_CONFIG_FILES call.
44077         * configure: Regenerated.
44079         [BZ #13888]
44080         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
44081         or TMPDIR.
44082         (testout): Likewise.
44084         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
44085         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
44086         $(rtld-installed-name).
44087         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
44088         (rtld_installed_name): Likwise.
44089         (runit): Remove function.
44090         (run_getconf): New variable,  Use it for running getconf binary.
44092 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
44094         [BZ #14716]
44095         * string/test-memmem.c (check_result): New function.
44096         (do_one_test): Use it.
44097         (check1): New function.
44098         (test_main): Use it.
44100 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
44102         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
44104 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
44106         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
44107         (_G_LSEEK64): Likewise.
44108         (_G_MMAP64): Likewise.
44109         (_G_FSTAT64): Likewise.
44110         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
44111         (_G_LSEEK64): Likewise.
44112         (_G_MMAP64): Likewise.
44113         (_G_FSTAT64): Likewise.
44114         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
44115         unconditional.  Call __mmap64 directly.
44116         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
44117         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
44118         __lseek64 directly.
44119         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
44120         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
44121         __mmap64 directly.
44122         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
44123         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
44124         __lseek64 directly.
44125         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
44126         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
44127         __lseek64 directly.
44128         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
44129         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
44130         __lseek64 directly.
44131         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
44132         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
44133         __fxstat64 directly.
44134         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
44135         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
44136         unconditional.
44137         (freopen64) [!_G_OPEN64]: Remove conditional code.
44138         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
44139         unconditional.
44140         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
44141         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
44142         unconditional.
44143         (ftello64) [!_G_LSEEK64]: Remove conditional code.
44144         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
44145         unconditional.
44146         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
44147         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
44148         unconditional.
44149         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
44150         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
44151         unconditional.
44152         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
44153         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
44154         unconditional.
44155         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
44156         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
44157         unconditional.
44158         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
44160 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
44162         [BZ #12140]
44163         * manual/memory.texi (Malloc Tunable Parameters): Add note
44164         about free list pointers overwriting some perturb bytes.
44165         Wording suggested by Roland McGrath.
44167 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
44169         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
44170         (lgamma_test): Likewise.
44171         (tgamma_test): Likewise.
44173 2012-10-16  Florian Weimer  <fweimer@redhat.com>
44175         [BZ #14700]
44176         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
44177         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
44179 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
44181         * NEWS: Mention BZ #14716.
44182         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
44183         when removing AVAILABLE1_USES_J macro.
44185 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
44187         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
44188         (__bswap_64): __uint64_t for unsigned 64-bit int.
44190 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
44192         * include/string.h (memmem): Declare libc hidden alias.
44193         * string/memmem.c (memmem): Define libc hidden alias.
44194         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
44195         __read, __close instead of open, read, close.
44197 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
44199         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
44200         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
44201         global and hidden.
44202         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
44203         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
44204         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
44205         Likewise.
44206         (__rawmemchr_sse2): Likewise.
44207         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
44208         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
44209         (__strchr_sse2): Likewise.
44210         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
44211         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
44212         (__strcasecmp_sse2): Likewise.
44213         (__strncasecmp_sse2): Likewise.
44214         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
44215         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
44216         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
44217         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
44218         (__strrchr_sse2): Likewise.
44219         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
44220         ifunc-impl-list.c.
44221         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
44222         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
44223         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
44224         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
44225         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
44226         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
44227         * sysdeps/x86_64/multiarch/memset.S: Likewise.
44228         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
44229         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
44230         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
44231         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
44232         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
44233         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
44234         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
44235         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
44236         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
44237         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
44238         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
44239         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
44240         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
44241         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
44242         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
44243         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
44244         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
44245         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
44246         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44247         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
44248         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
44249         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
44250         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
44252         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
44253         global and hidden.
44254         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
44255         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
44256         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
44257         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
44258         Likewise.
44259         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
44260         Likewise.
44261         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
44262         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
44263         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
44264         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
44265         ifunc-impl-list.c.
44266         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
44267         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
44268         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
44269         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
44270         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
44271         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
44272         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
44273         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
44274         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
44275         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
44276         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
44277         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
44278         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
44279         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
44280         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
44281         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44282         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
44283         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
44284         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
44285         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
44286         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44287         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
44288         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
44289         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
44290         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44291         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
44292         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
44293         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
44294         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
44295         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
44296         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
44297         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
44298         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
44299         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
44300         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
44301         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
44302         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
44303         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
44304         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
44305         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
44306         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
44308         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
44309         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
44310         * include/ifunc-impl-list.h: New file.
44311         * misc/ifunc-impl-list.c: Likewise.
44312         * misc/Makefile (routines): Add ifunc-impl-list.
44313         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
44314         * string/test-string.h: Include <ifunc-impl-list.h>.
44315         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
44316         TEST_NAME]: New variables.
44317         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
44318         are defined.
44319         (test_init): Call __libc_ifunc_impl_list to initialize
44320         func_list if TEST_IFUNC and TEST_NAME are defined.
44322         * string/Makefile (strop-tests): Add bcopy and bzero.
44323         * string/test-bcopy.c: New file.
44324         * string/test-bzero.c: Likewise.
44325         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
44326         defined.
44327         * string/test-memset.c: Support bzero test if TEST_BZERO is
44328         defined.
44329         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
44330         __libc_memmove.
44331         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
44332         __libc_memset.
44333         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
44334         of memset.
44336 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
44338         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
44339         * configure: Regenerated.
44341         * Makeconfig (+link-static-before-libc): Don't include
44342         $(link-static-libc).
44344         * libio/libio.h (_IO_pos_t): Remove.
44346 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
44348         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
44349         McGrath.
44351 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
44353         * crypt/crypt-entry.c: Include fips-private.h.
44354         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
44355         * crypt/md5c-test.c (main): Tolerate disabled MD5.
44356         * sysdeps/unix/sysv/linux/fips-private.h: New file.
44357         * sysdeps/generic/fips-private.h: New file, dummy fallback.
44359 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
44361         * crypt/crypt-private.h: Include stdbool.h.
44362         (_ufc_setup_salt_r): Return bool.
44363         * crypt/crypt-entry.c: Include errno.h.
44364         (__crypt_r): Return NULL with EINVAL for bad salt.
44365         * crypt/crypt_util.c (bad_for_salt): New.
44366         (_ufc_setup_salt_r): Check that salt is long enough and within
44367         the specified alphabet.
44368         * crypt/badsalttest.c: New file.
44369         * crypt/Makefile (tests): Add it.
44370         ($(objpfx)badsalttest): New.
44372 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
44374         * NEWS: Add entry for BZ #14602.
44376 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
44378         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
44379         type-generic.
44380         * math/libm-test.inc: Update comment listing what functions and
44381         macros are tested.
44382         (isgreater_test): New function.
44383         (isgreaterequal_test): Likewise.
44384         (isless_test): Likewise.
44385         (islessequal_test): Likewise.
44386         (islessgreater_test): Likewise.
44387         (isunordered_test): Likewise.
44388         (main): Call the new functions.
44390 2012-10-09  Roland McGrath  <roland@hack.frob.com>
44392         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
44393         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
44394         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
44395         * sysdeps/i386/configure: Regenerated.
44396         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
44397         * sysdeps/mach/configure: Regenerated.
44398         * sysdeps/mach/hurd/configure: Regenerated.
44399         * sysdeps/powerpc/configure: Regenerated.
44400         * sysdeps/powerpc/powerpc32/configure: Regenerated.
44401         * sysdeps/powerpc/powerpc64/configure: Regenerated.
44402         * sysdeps/s390/s390-32/configure: Regenerated.
44403         * sysdeps/s390/s390-64/configure: Regenerated.
44404         * sysdeps/sh/configure: Regenerated.
44405         * sysdeps/sparc/configure: Regenerated.
44406         * sysdeps/unix/sysv/linux/configure: Regenerated.
44407         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
44408         * sysdeps/x86_64/configure: Regenerated.
44410         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
44411         defined.  Don't check if MAP is NULL.
44413 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
44415         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
44416         (_G_stat64): Likewise.
44417         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
44418         (_G_stat64): Likewise.
44419         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
44420         instead of struct _G_stat64.
44421         * libio/fileops.c (mmap_remap_check): Likewise.
44422         (decide_maybe_mmap): Likewise.
44423         (_IO_new_file_seekoff): Likewise.
44424         (_IO_file_stat): Likewise.
44425         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
44426         _G_off64_t.
44427         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
44428         instead of struct _G_stat64.
44429         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
44431 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
44433         [BZ #14602]
44434         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
44435         Replace with ...
44436         (CHECK_EOL): New macro.
44437         (two_way_short_needle): Check beginning of haystack for EOL.  Use
44438         CHECK_EOL.
44439         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
44440         Replace with CHECK_EOL.
44441         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
44442         Replace with CHECK_EOL.
44444 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
44446         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
44447         type-generic.
44448         * math/libm-test.inc: Update comment listing what functions and
44449         macros are tested.
44450         (finite_test): New function.
44451         (isinf_test): Likewise.
44452         (isnan_test): Likewise.
44453         (fpclassify_test): Test subnormal input.
44454         (isfinite_test): Likewise.
44455         (isnormal_test): Likewise.
44456         (main): Call the new functions.
44458 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
44460         [BZ #14660]
44461         * Makerules (%.dynsym): Force C locale when running
44462         $(OBJDUMP) --dynamic-syms.
44464 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
44466         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
44467         <stdint.h>.
44469 2012-10-06  David S. Miller  <davem@davemloft.net>
44471         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
44472         upper 32-bits of the length value in %o2 since we use branch-on-register
44473         tests which consider the entire 64-bit register.
44475 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
44477         * string/test-strstr.c (check2): Add a test for page boundary.
44479 2012-10-05  David S. Miller  <davem@davemloft.net>
44481         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
44482         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
44483         file.
44484         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
44485         sysdep_routines.
44486         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
44487         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
44488         and bzero when HWCAP_SPARC_CRYPTO is present.
44490 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
44492         [BZ #14602]
44493         * string/test-strstr.c (check2): New function.
44494         (test_main): Call check2.
44496         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
44497         and bug-strchr1.
44498         * string/bug-strcasestr1.c (do_test): Moved to ...
44499         * string/test-strcasestr.c (check1): Here.  New function.
44500         (do_one_test): Break out result checking code into ...
44501         (check_result): This.  New function.
44502         (do_one_test): Call check_result.
44503         (test_main): Call check1.
44504         * string/bug-strchr1.c (do_test): Moved to ...
44505         * string/test-strchr.c (check1): Here.  New function.
44506         (do_one_test): Break out result checking code into ...
44507         (check_result): This.  New function.
44508         (do_one_test): Call check_result.
44509         (test_main): Call check1.
44510         * string/bug-strstr1.c (main): Moved to ...
44511         * string/test-strstr.c (check1): Here.  New function.
44512         (do_one_test): Break out result checking code into ...
44513         (check_result): This.  New function.
44514         (do_one_test): Call check_result.
44515         (test_main): Call check1.
44516         * string/bug-strcasestr1.c: Removed.
44517         * string/bug-strchr1.c: Likewise.
44518         * string/bug-strstr1.c: Likewise.
44520         * elf/Makefile (dl-routines): Add hwcaps.
44521         * elf/dl-support.c (_dl_important_hwcaps): Removed.
44522         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
44523         (_dl_important_hwcaps): Moved to ...
44524         * elf/dl-hwcaps.c: Here.  New file.
44525         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
44527         [BZ #14557]
44528         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
44529         if IS_IN_rtld isn't defined.
44531         * elf/dl-support.c (_dl_sysinfo_map): New.
44532         Include "get-dynamic-info.h" and "setup-vdso.h".
44533         (_dl_non_dynamic_init): Call setup_vdso.
44534         * elf/dynamic-link.h: Don't include <assert.h>.
44535         (elf_get_dynamic_info): Moved to ...
44536         * elf/get-dynamic-info.h: Here.  New file.
44537         * elf/dynamic-link.h: Include "get-dynamic-info.h".
44538         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
44539         * elf/setup-vdso.h: Here.  New file.
44540         * elf/rtld.c: Include "setup-vdso.h".
44541         (dl_main): Call setup_vdso.
44543 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
44545         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
44546         creal in comment listing functions tested.  List finite, isinf,
44547         isnan, isless, islessequal, isgreater, isgreaterequal,
44548         islessgreater, isunordered, lgamma_r and pow10 as functions and
44549         macros not tested.  Mention which functions not tested are aliases
44550         for other functions.  Fix typo.  Note that signs of NaNs are not
44551         tested.
44553         * scripts/config.guess: Update from config.git.
44554         * scripts/config.sub: Likewise.
44556 2012-10-04  Roland McGrath  <roland@hack.frob.com>
44558         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
44559         * misc/madvise.c (madvise): Renamed to __madvise.
44560         Make madvise a weak alias.
44561         * include/sys/mman.h: Declare __madvise.
44562         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
44563         * sysdeps/unix/syscalls.list
44564         (madvise): Make __madvise the strong name, and madvise a weak alias.
44565         * sysdeps/unix/sysv/linux/syscalls.list
44566         (madvise, mmap): Remove redundant entries.
44567         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
44568         * malloc/malloc.c (mtrim): Likewise.
44569         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
44571 2012-10-03  Roland McGrath  <roland@hack.frob.com>
44573         * sysdeps/mach/hurd/dl-cache.c: File removed.
44574         * config.h.in (USE_LDCONFIG): New #undef.
44575         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
44576         * configure: Regenerated.
44577         * elf/Makefile (dl-routines): Add dl-cache only under
44578         [$(use-ldconfig) = yes].
44579         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
44580         cache on [USE_LDCONFIG].
44581         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
44582         [USE_LDCONFIG].
44583         * elf/rtld.c (dl_main): Likewise.
44585 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
44587         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
44588         _SC_LEVEL4_CACHE_LINESIZE.
44590 2012-10-03  Roland McGrath  <roland@hack.frob.com>
44592         * sysdeps/unix/bsd/confstr.h: File removed.
44594 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
44596         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
44597         sys/sdt-config.h.
44599 2012-10-02  Roland McGrath  <roland@hack.frob.com>
44601         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
44602         Make 'mapoff' field ElfW(Off) rather than off_t.
44604 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
44606         * nscd/Makefile: Remove nscd-cflags and all its users.
44607         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
44608         (CFLAGS-nonlib): Add compiler flags for nscd modules.
44610         [BZ #10631]
44611         * malloc.c (malloc_printerr): Clarify error message.
44613 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
44615         [BZ #14648]
44616         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44617         Set bit_FMA_Usable if FMA is supported.
44618         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
44619         macro.
44620         (bit_FMA4_Usable): Updated.
44621         (index_FMA_Usable): New macro.
44622         (CPUID_FMA): Likewise
44623         (HAS_FMA): Defined with bit_FMA_Usable.
44625 2012-10-01  Roland McGrath  <roland@hack.frob.com>
44627         * bits/types.h (__swblk_t): Type removed.
44628         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
44629         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
44630         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44631         (__SWBLK_T_TYPE): Likewise.
44632         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44633         (__SWBLK_T_TYPE): Likewise.
44634         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44635         (__SWBLK_T_TYPE): Likewise.
44636         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44637         (__SWBLK_T_TYPE): Likewise.
44639 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
44640             Honza Horak <hhorak@redhat.com>
44642         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
44643         (xdr_mapname): Use YPMAXMAP as maxsize.
44644         (xdr_peername): Use YPMAXPEER as maxsize.
44645         (xdr_keydat): Use YPAXRECORD as maxsize.
44646         (xdr_valdat): Use YPMAXRECORD as maxsize.
44648 2012-10-01  Roland McGrath  <roland@hack.frob.com>
44650         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
44652         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
44653         * csu/init-first.c: ... here.
44654         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
44655         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
44656         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
44657         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
44658         * sysdeps/i386/init-first.c: File removed.
44659         * sysdeps/sh/init-first.c: File removed.
44661 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
44663         [BZ #14645]
44664         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
44665         if x * y might underflow to zero and z is zero.
44666         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44667         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44668         * math/libm-test.inc (min_subnorm_value): New variable.
44669         (fma_test): Add more tests.
44670         (fma_test_towardzero): Likewise.
44671         (fma_test_downward): Likewise
44672         (fma_test_upward): Likewise.
44673         (initialize): Set min_subnorm_value.
44675 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
44677         [BZ #14638]
44678         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
44679         0 + 0.
44680         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
44681         mode for addition resulting in exact zero.
44682         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
44683         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
44684         exact 0 + 0.
44685         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44686         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44687         * math/libm-test.inc (fma_test): Add more tests.
44688         (fma_test_towardzero): New function.
44689         (fma_test_downward): Likewise.
44690         (fma_test_upward): Likewise.
44691         (main): Call the new functions.
44693 2012-09-28  David S. Miller  <davem@davemloft.net>
44695         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
44697 2012-09-28  Roland McGrath  <roland@hack.frob.com>
44699         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
44700         instead of SIGALRM.
44702         * sysdeps/gnu/_G_config.h: Moved to ...
44703         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
44704         * sysdeps/mach/hurd/_G_config.h: Moved to ...
44705         * sysdeps/generic/_G_config.h: ... here.
44707         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
44709         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
44711         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
44712         Conditionalize target on [libnss_test1.so-version].
44714         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
44716         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
44717         (elfobjdir): Move out of conditionals.
44719         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
44720         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
44721         (__nss_lookup_function): Conditionalize label remove_from_tree on
44722         [!DO_STATIC_NSS || SHARED], matching its only use.
44724 2012-09-28  David S. Miller  <davem@davemloft.net>
44726         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
44727         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
44728         file.
44729         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
44730         sysdep_routines.
44731         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
44732         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
44733         when HWCAP_SPARC_CRYPTO is present.
44735 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44737         * io/tst-mknodat.c: Create a FIFO instead of a socket.
44739 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
44741         [BZ #6530]
44742         * stdio-common/vfprintf.c (process_string_arg): Revert
44743         2000-07-22 change.
44745 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
44747         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
44748         for testcase.
44749         * stdio-common/tst-sprintf.c: Include <locale.h>
44750         (main): Test sprintf's handling of incomplete multibyte
44751         characters.
44753 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
44755         * elf/dl-runtime.c (VERSYMIDX): Removed.
44756         * elf/dl-version.c (VERSYMIDX): Likewise.
44757         * elf/do-rel.h (VERSYMIDX): Likewise.
44758         (VALIDX): Likewise.
44759         * elf/dynamic-link.h (VERSYMIDX): Likewise.
44760         * elf/rtld.c (VALIDX): Likewise.
44761         (ADDRIDX): Likewise.
44762         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
44763         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
44764         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
44765         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
44766         (VALIDX): Likewise.
44767         (ADDRIDX): Likewise.
44769 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44771         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
44773 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
44775         [BZ #11438]
44776         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
44777         to global scope.
44778         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
44779         addresses are in the same scope as 192.0.2/24.
44780         * posix/gai.conf: Document new scope table defaults.
44782 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44784         [BZ #5298]
44785         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
44786         for ftell.  Compute offsets from write pointers instead.
44787         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
44789 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44791         [BZ #14543]
44792         * libio/Makefile (tests): New test case tst-fseek.
44793         * libio/tst-fseek.c: New test case to verify that fseek/ftell
44794         combination works in wide mode.
44795         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
44796         state when the external buffer state changes.
44798 2012-09-27  David S. Miller  <davem@davemloft.net>
44800         [BZ #14376]
44801         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
44802         pass reloc->r_addend in as the 'high' argument to
44803         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
44805         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44807 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44809         * rt/tst-aio2.c: Include <pthread.h>.
44810         * rt/tst-aio3.c: Likewise.
44812 2012-09-27  Steve Ellcey  <sellcey@mips.com>
44814         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
44816 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
44818         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
44819         contents on [SHARED].
44821 2012-09-26  Marek Polacek  <polacek@redhat.com>
44823         [BZ #14530]
44824         [BZ #13741]
44825         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
44826         for C++ and GCC <4.3 as well as for non GCC compilers.
44828 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
44830         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44832 2012-09-25  Roland McGrath  <roland@hack.frob.com>
44834         * Makefile.in (all, install): Declare with .PHONY.
44835         Reported by Michael Hope <michael.hope@linaro.org>.
44837 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44839         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
44840         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
44841         system header.
44842         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
44843         Likewise.
44844         (sydep_routines): Add the new and the internal functions.
44845         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
44846         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
44847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
44848         (GLIBC_2.17): Add the new function.
44849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
44850         (GLIBC_2.17): Likewise.
44851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
44852         (GLIBC_2.17): Likewise.
44853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
44854         (GLIBC_2.17): Likewise.
44855         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
44857 2012-09-25  Alan Modra  <amodra@gmail.com>
44859         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
44860         Add release barrier before setting once_control to say
44861         initialisation is done.  Add hints on lwarx.  Use macro in
44862         place of isync.
44863         (clear_once_control): Add release barrier.
44865 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
44867         [BZ #13629]
44868         * math/s_clog.c (__clog): Handle more values close to |z| = 1
44869         specially.
44870         * math/s_clog10.c (__clog10): Likewise.
44871         * math/s_clog10f.c (__clog10f): Likewise.
44872         * math/s_clog10l.c (__clog10l): Likewise.
44873         * math/s_clogf.c (__clogf): Likewise.
44874         * math/s_clogl.c (__clogl): Likewise.
44875         * math/Makefile (libm-calls): Add x2y2m1.
44876         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
44877         (__x2y2m1): Likewise.
44878         (__x2y2m1l): Likewise.
44879         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
44880         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
44881         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
44882         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
44883         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
44884         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
44885         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
44886         * sysdeps/i386/fpu/libm-test-ulps: Update.
44887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44889         [BZ #14621]
44890         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
44891         int as type of variable DEPTH.
44892         (glob): Use size_t instead of int as type of variables NEWCOUNT
44893         and OLD_PATHC.
44895 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44897         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
44898         Add s_sincosf-sse2.
44899         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
44900         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
44901         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
44902         macros for using routine as __sincosf_ia32.
44903         Use macro for function declaration and weak_alias.
44904         * sysdeps/i386/fpu/libm-test-ulps: Update.
44906         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
44907         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44909         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
44910         subnormal argument.
44911         * math/s_cexpf.c (__cexpf): Likewise.
44912         * math/s_csinf.c (__csinf): Likewise.
44913         * math/s_csinhf.c (__csinhf): Likewise.
44914         * math/s_ctanf.c (__ctanf): Likewise.
44915         * math/s_ctanhf.c (__ctanhf): Likewise.
44916         * math/s_ccosh.c (__ccoshf): Likewise.
44917         * math/s_cexp.c (__cexpl): Likewise.
44918         * math/s_csin.c (__csin): Likewise.
44919         * math/s_csinh.c (__csinh): Likewise.
44920         * math/s_ctan.c (__ctan): Likewise.
44921         * math/s_ctanh.c (ctanh): Likewise.
44922         * math/s_ccoshl.c (__ccoshl): Likewise.
44923         * math/s_cexpl.c (__cexpl): Likewise.
44924         * math/s_csinl.c (__csinl): Likewise.
44925         * math/s_csinhl.c (__csinhl): Likewise.
44926         * math/s_ctanl.c (__ctanl): Likewise.
44927         * math/s_ctanhl.c (__ctanhl): Likewise.
44929 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
44931         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
44932         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
44933         (_IO_off_t): Define to __off_t, not _G_off_t.
44934         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
44935         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
44936         (_IO_wint_t): Define to wint_t, not _G_wint_t.
44937         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
44938         type of __dummy and __dummy2 fields.
44939         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
44940         (_G_ssize_t): Likewise.
44941         (_G_off_t): Likewise.
44942         (_G_pid_t): Likewise.
44943         (_G_uid_t): Likewise.
44944         (_G_wchar_t): Likewise.
44945         (_G_wint_t): Likewise.
44946         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
44947         (_G_ssize_t): Likewise.
44948         (_G_off_t): Likewise.
44949         (_G_pid_t): Likewise.
44950         (_G_uid_t): Likewise.
44951         (_G_wchar_t): Likewise.
44952         (_G_wint_t): Likewise.
44953         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
44954         (_G_ssize_t): Likewise.
44955         (_G_off_t): Likewise.
44956         (_G_pid_t): Likewise.
44957         (_G_uid_t): Likewise.
44958         (_G_wchar_t): Likewise.
44959         (_G_wint_t): Likewise.
44961 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44963         * malloc/arena.c: Include malloc-sysdep.h.
44964         (shrink_heap): Use check_may_shrink_heap to decide if madvise
44965         is sufficient to shrink the heap or an unmap is needed.
44966         * sysdeps/generic/malloc-sysdep.h: New file.  Define
44967         new function check_may_shrink_heap.
44968         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
44969         new function check_may_shrink_heap.
44971 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44973         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
44974         comments.
44976 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
44978         * catgets/test-gencat.sh: Add "set -e".
44979         * elf/tst-pathopt.sh: Likewise.
44980         * grp/tst_fgetgrent.sh: Likewise.
44981         * iconvdata/run-iconv-test.sh: Likewise.
44982         * intl/tst-gettext.sh: Likewise.
44983         * intl/tst-gettext2.sh: Likewise.
44984         * intl/tst-gettext4.sh: Likewise.
44985         * intl/tst-gettext6.sh: Likewise.
44986         * intl/tst-translit.sh: Likewise.
44987         * io/ftwtest-sh: Likewise.
44988         * libio/test-freopen.sh: Likewise.
44989         * malloc/tst-mtrace.sh: Likewise.
44990         * posix/globtest.sh: Likewise.
44991         * posix/tst-getconf.sh: Likewise.
44992         * posix/wordexp-tst.sh: Likewise.
44993         * stdio-common/tst-printf.sh: Likewise.
44994         * stdio-common/tst-unbputc.sh: Likewise.
44995         * stdlib/tst-fmtmsg.sh: Likewise.
44996         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
44997         * catgets/Makefile: Do not specify -e option when running
44998         testsuite shell scripts.
44999         * elf/Makefile: Likewise.
45000         * grp/Makefile: Likewise.
45001         * iconvdata/Makefile: Likewise.
45002         * intl/Makefile: Likewise.
45003         * io/Makefile: Likewise.
45004         * libio/Makefile: Likewise.
45005         * malloc/Makefile: Likewise.
45006         * posix/Makefile: Likewise.
45007         * stdio-common/Makefile: Likewise.
45008         * stdlib/Makefile: Likewise.
45009         * sysdeps/x86_64/Makefile: Likewise.
45011         * io/ftwtest-sh: Add copyright header.
45012         * posix/globtest.sh: Likewise.
45013         * posix/tst-getconf.sh: Likewise.
45014         * posix/wordexp-tst.sh: Likewise.
45015         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
45017 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
45019         [BZ #13679]
45020         * Makeconfig (+link): Defined as $(+link-static) if
45021         $(build-shared) isn't yes.
45022         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
45023         isn't yes.
45024         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
45026         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
45028         [BZ #14562]
45029         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
45030         new chunk size with MALLOC_ALIGN_MASK.
45032 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
45034         [BZ #5044]
45035         * stdio-common/printf_fphex.c: Include <stdbool.h> and
45036         <rounding-mode.h>.
45037         (__printf_fphex): Determine rounding using get_rounding_mode and
45038         round_away.
45039         * stdio-common/tst-printf-round.c (struct hex_test): New
45040         structure.
45041         (hex_tests): New variable.
45042         (test_hex_in_one_mode): New function.
45043         (do_test): Also run tests for hex float output.
45045 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
45047         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
45048         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
45049         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
45050         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
45051         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
45052         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
45053         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
45054         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
45056 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
45058         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
45059         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
45060         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
45061         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
45063 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
45065         [BZ #14579]
45066         * elf/rtld.c (dl_main): Limit the check for self loading to normal
45067         mode only.
45068         * elf/tst-rtld-load-self.sh: New test.
45069         * elf/Makefile: Run it.
45071 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
45073         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
45074         (tst-writev-ENV): Remove.
45075         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
45077 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
45079         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
45081 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
45083         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
45084         unconditional.
45085         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
45086         Likewise.
45087         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
45088         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
45089         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
45090         Likewise.
45092 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
45094         [BZ #14587]
45095         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
45096         * config.make.in (have-cpp-asm-debuginfo): Removed.
45097         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
45098         * configure: Regenerated.
45100 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
45102         [BZ #5044]
45103         * stdio-common/printf_fp.c: Include <stdbool.h> and
45104         <rounding-mode.h>.
45105         (___printf_fp): Determine rounding using get_rounding_mode and
45106         round_away.
45107         * stdio-common/tst-printf-round.c: New file.
45108         * stdio-common/Makefile (tests): Add tst-printf-round.
45109         (link-libm): New variable.
45110         ($(objpfx)tst-printf-round): Depend in $(link-libm).
45112 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
45114         [BZ #14576]
45115         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
45116         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
45117         Likewise.
45118         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
45119         Likewise.
45121 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
45123         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
45124         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45125         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45126         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45128 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
45130         [BZ #14518]
45131         * include/rounding-mode.h: New file.
45132         * sysdeps/generic/get-rounding-mode.h: Likewise.
45133         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
45134         * stdlib/strtod_l.c: Include <rounding-mode.h>.
45135         (MAX_VALUE): New macro.
45136         (MIN_VALUE): Likewise.
45137         (overflow_value): New function.
45138         (underflow_value): Likewise.
45139         (round_and_return): Use overflow_value and underflow_value to
45140         determine return values in overflow and underflow cases.  Use
45141         round_away to determine rounding depending on rounding mode.
45142         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
45143         determine return values in overflow and underflow cases.
45144         * stdlib/tst-strtod-round.c: Include <fenv.h>.
45145         (struct test_results): New structure.
45146         (struct test): Use struct test_results to store expected results
45147         for all rounding modes.
45148         (TEST): Include expected results for all rounding modes.
45149         (test_in_one_mode): New function.
45150         (do_test): Use test_in_one_mode to compute and check results.
45151         Check results for all rounding modes.
45152         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
45153         $(link-libm).
45155 2012-12-09  Allan McRae  <allan@archlinux.org>
45157         * sysdeps/i386/fpu/libm-test-ulps: Update
45159 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
45161         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
45162         (_G_int32_t): Likewise.
45163         (_G_uint16_t): Likewise.
45164         (_G_uint32_t): Likewise.
45165         (_G_HAVE_BOOL): Likewise.
45166         (_G_HAVE_ATEXIT): Likewise.
45167         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
45168         (_G_HAVE_IO_FILE_OPEN): Likewise.
45169         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
45170         (_G_int32_t): Likewise.
45171         (_G_uint16_t): Likewise.
45172         (_G_uint32_t): Likewise.
45173         (_G_HAVE_BOOL): Likewise.
45174         (_G_HAVE_ATEXIT): Likewise.
45175         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
45176         (_G_HAVE_IO_FILE_OPEN): Likewise.
45177         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
45178         (_G_int32_t): Likewise.
45179         (_G_uint16_t): Likewise.
45180         (_G_uint32_t): Likewise.
45181         (_G_HAVE_BOOL): Likewise.
45182         (_G_HAVE_ATEXIT): Likewise.
45183         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
45184         (_G_HAVE_IO_FILE_OPEN): Likewise.
45186 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
45188         * csu/libc-tls.c: Update copyright years.
45190 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
45192         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
45193         [!_G_USING_THUNKS]: Remove conditional code.
45194         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
45195         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
45197         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
45198         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
45199         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
45200         (_G_VTABLE_LABEL_PREFIX): Likewise.
45201         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
45202         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
45203         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
45204         (_G_VTABLE_LABEL_PREFIX): Likewise.
45205         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
45206         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
45207         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
45208         (_G_VTABLE_LABEL_PREFIX): Likewise.
45209         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
45211 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
45213         * libio/Makefile: Include ../Makeconfig before tests.
45214         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
45215         only if $(build-shared) is yes.
45217         * iconv/gconv_db.c: Update copyright years.
45219 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45221         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
45222         unwind info if defined PIC. Fix special cases description.
45223         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
45225         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
45226         DP_HI_MASK entry.
45227         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
45229 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
45231         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
45233         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
45234         is NULL.
45236         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
45237         (LDLIBS-tst-chk4): This.
45238         (LDFLAGS-tst-chk5): Renamed to ...
45239         (LDLIBS-tst-chk5): This.
45240         (LDFLAGS-tst-chk6): Renamed to ...
45241         (LDLIBS-tst-chk6): This.
45242         (LDFLAGS-tst-lfschk4): Renamed to ...
45243         (LDLIBS-tst-lfschk4): This.
45244         (LDFLAGS-tst-lfschk5): Renamed to ...
45245         (LDLIBS-tst-lfschk5): This.
45246         (LDFLAGS-tst-lfschk6): Renamed to ...
45247         (LDLIBS-tst-lfschk6): This.
45249         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
45250         on $(common-objpfx)soversions.mk.
45252 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
45254         [BZ #10014]
45255         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
45256         example host name.
45258 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
45260         * malloc/arena.c (arena_get_retry): New function that gets
45261         another arena for the caller to try its request on.
45262         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
45263         current arena cannot fulfill the request.
45264         (__libc_memalign): Likewise.
45265         (__libc_memalign): Likewise.
45266         (__libc_pvalloc): Likewise.
45267         (__libc_calloc): Likewise.
45269 2012-09-05  John Tobey  <john.tobey@gmail.com>
45271         [BZ #13542]
45272         * manual/arith.texi (Operations on Complex): Fix description
45273         of carg branch cut.
45275 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
45277         [BZ #10014]
45278         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
45279         host name.
45281         [BZ #10038]
45282         * manual/memory.texi (Memory): Make order of menu items match
45283         order of sections.
45285 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
45287         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
45288         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
45289         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
45291 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
45293         * csu/libc-tls.c (static_dtv): Renamed to ...
45294         (_dl_static_dtv): This.  Make it global.
45295         (_dl_initial_dtv): Removed.
45296         (__libc_setup_tls): Updated.
45297         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
45298         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
45299         DL_INITIAL_DTV.
45301 2012-09-06  Petr Machata  <pmachata@redhat.com>
45303         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
45304         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
45305         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
45306         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
45308 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
45310         [BZ #14545]
45311         * csu/libc-tls.c (_dl_initial_dtv): New variable.
45312         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
45313         freeing dtv[-1].
45315 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
45317         [BZ #14544]
45318         * Makeconfig (link-static-before-libc): Replace $(+prector)
45319         with $(+prectorT).
45320         (link-static-after-libc): Replace $(+postctor) with
45321         $(+postctorT).
45322         (link-bounded): Replace $(+prector)/$(+postctor) with
45323         $(+prectorT)/$(+postctorT).
45324         (+prectorT): New macro.
45325         (+postctorT): Likewise.
45327 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
45329         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
45330         (round_str): Handle values above the maximum for IBM long double
45331         as inexact.
45332         * stdlib/tst-strtod-round.c (tests): Regenerated.
45334 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45336         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
45337         assembler flag.
45338         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
45339         zarch_nohighgprs around the zarch optimized routines.
45340         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
45341         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
45342         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
45343         for zarch.
45345 2012-09-05  David S. Miller  <davem@davemloft.net>
45347         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45349         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
45350         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
45351         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
45352         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45353         entries.
45355 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45357         * malloc/arena.c: Fold copyright years.
45358         * malloc/mcheck.c, malloc/memusage.c: Likewise.
45360 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45362         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
45364 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45366         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
45368 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45370         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
45371         change internal state upon failure.
45373 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45375         * malloc/mcheck.c (mcheck_check_all): Fix typo.
45376         * malloc/memusage.c (mmap): Likewise.
45377         (mmap64, mremap): Likewise.  Adjust name in comment.
45379 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45381         * libio/fileops.c: Fix typos in comments.
45382         * libio/oldfileops.c: Likewise.
45383         * libio/wfileops.c: Likewise.
45385 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45387         [BZ #1349]
45388         * malloc/Makefile (tests): Add tst-malloc-usable test case.
45389         (tst-malloc-usable-ENV): Set environment for test case.
45390         * malloc/hooks.c (malloc_check_get_size): New function to get
45391         requested size.
45392         * malloc/malloc.c (musable): Use malloc_check_get_size.
45393         * malloc/tst-malloc-usable.c: New test case.
45395 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
45397         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
45399 2012-09-05  Allan McRae  <allan@archlinux.org>
45401         [BZ #13966]
45402         * configure.in (CXX_SYSINCLUDES): Use compiler output to
45403         determine header location.
45404         * configure: Regenerated.
45406 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
45408         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
45409         float format.
45410         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
45411         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
45412         format.
45413         (test): Regenerate.
45415 2012-09-04  David S. Miller  <davem@davemloft.net>
45417         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
45418         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
45419         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
45421 2012-09-04  Florian Weimer  <fweimer@redhat.com>
45423         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
45424         failures.
45426         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
45428 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
45430         [BZ #9914]
45431         * libio/iogetdelim.c: Include <limits.h>.
45432         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
45433         + len + 1 would overflow.
45435 2012-09-03  Andreas Jaeger  <aj@suse.de>
45437         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45438         * sysdeps/i386/fpu/libm-test-ulps: Update.
45440 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45442         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
45443         Add s_sinf-sse2, s_conf-sse2.
45445         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
45446         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
45447         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
45448         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
45450         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
45451         for using routine as __sinf_ia32.
45452         Use macro for function declaration and weak_alias.
45453         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
45454         for using routine as __cosf_ia32.
45455         Use macro for function declaration and weak_alias.
45457         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
45458         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
45460         * sysdeps/x86_64/fpu/s_sinf.S: New file.
45461         * sysdeps/x86_64/fpu/s_cosf.S: New file.
45462         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45464         * math/libm-test.inc (cos_test): Add more test cases.
45465         (sin_test): Likewise.
45466         (sincos_test): Likewise.
45468 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45470         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
45471         (IFUNC_RESOLVE): Make pointers to the specialized implementations
45472         hidden.
45473         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
45475 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
45477         [BZ #14538]
45478         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
45479         first element of the GOT.
45480         (elf_machine_load_address): Return the difference between
45481         the runtime address of _DYNAMIC and elf_machine_dynamic ().
45483 2012-09-01  Allan McRae  <allan@archlinux.org>
45485         [BZ #13412]
45486         * configure.in (AWK): Require gawk version 3.0 or later.
45487         * configure: Regenerated.
45489 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
45491         * sysdeps/unix/sysv/linux/kernel-features.h
45492         (__ASSUME_POSIX_CPU_TIMERS): Remove.
45493         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
45494         [__NR_clock_getres]: Make code unconditional.
45495         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
45496         (clock_getcpuclockid): Remove code left unreachable by removal of
45497         conditionals.
45498         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
45499         code unconditional.
45500         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
45501         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
45502         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
45503         Make code unconditional.
45504         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
45505         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
45506         * sysdeps/unix/sysv/linux/clock_settime.c
45507         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
45508         conditional code.
45509         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
45510         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
45512 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
45514         [BZ #14476]
45515         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
45516         scripts/test-installation.pl.
45518         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
45519         and $ld_so_version if it is set.
45521 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45523         [BZ #14516]
45524         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
45525         failure if reading from procfs failed.
45526         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
45528 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
45530         * sysdeps/unix/sysv/linux/kernel-features.h
45531         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
45532         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
45533         Remove conditional code.
45534         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45535         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
45536         Remove conditional code.
45537         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45538         * sysdeps/unix/sysv/linux/i386/fxstat.c
45539         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
45540         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45541         * sysdeps/unix/sysv/linux/i386/fxstatat.c
45542         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
45543         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45544         * sysdeps/unix/sysv/linux/i386/lxstat.c
45545         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
45546         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45547         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
45548         Remove conditional code.
45549         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45550         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
45551         Remove conditional code.
45552         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45553         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
45554         <kernel-features.h>.
45555         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
45556         Remove.
45557         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
45558         Remove conditional code.
45559         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45560         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
45561         Remove conditional.
45563 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
45565         [BZ #5400]
45566         * NEWS: Add fixed bug number.
45568 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
45570         [BZ #14519]
45571         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
45572         underflowing exponent in case of negative sign.
45573         * stdlib/tst-strtod-round-data: Add more tests.
45574         * stdlib/tst-strtod-round.c (tests): Regenerated.
45576         [BZ #3479]
45577         * stdlib/strtod_l.c (NDIG): Remove.
45578         (HEXNDIG): Likewise.
45579         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
45580         smallest representable value.
45581         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
45582         lie within an exact representation of 1/2 ulp of the result.
45583         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
45584         unconditionally.
45585         (TENS_P9_IDX): Define unconditionally.
45586         (TENS_P9_SIZE): Likewise.
45587         (TENS_P10_IDX): Likewise.
45588         (TENS_P10_SIZE): Likewise.
45589         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
45590         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
45591         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
45592         entries for 10^2^13 and 10^2^14.
45593         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
45594         (TENS_P13_IDX): Define.
45595         (TENS_P13_SIZE): Likewise.
45596         (TENS_P14_IDX): Likewise.
45597         (TENS_P14_SIZE): Likewise.
45598         (_fpioconst_pow10): Change array size to
45599         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
45600         unconditional.
45601         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
45602         1024]: Add entries for 10^2^13 and 10^2^14.
45603         [LAST_POW10 > _LAST_POW10]: Remove #error.
45604         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
45605         (_fpioconst_pow10): Change array size to
45606         FPIOCONST_POW10_ARRAY_SIZE.
45607         * stdlib/gen-fpioconst.c: New file.
45608         * stdlib/gen-tst-strtod-round.c: Likewise.
45609         * stdlib/tst-strtod-round-data: Likewise.
45610         * stdlib/tst-strtod-round.c: Likewise.
45611         * stdlib/Makefile (tests): Add tst-strtod-round.
45613         [BZ #14459]
45614         * stdlib/strtod_l.c: Include <stdint.h>.
45615         (NDEBUG): Do not define.
45616         (round_and_return): Change EXPONENT parameter to type intmax_t.
45617         Rearrange calculations to avoid internal overflow possibilities.
45618         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
45619         Rearrange calculations to avoid internal overflow possibilities.
45620         Assert that number fits inside MPNSIZE limbs.
45621         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
45622         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
45623         calculations and add assertions to avoid internal overflow
45624         possibilities.  Add casts to avoid signed/unsigned operations.
45625         * stdlib/tst-strtod-overflow.c: New file.
45626         * stdlib/Makefile (tests): Add tst-strtod-overflow.
45628 2012-08-25  Marek Polacek  <polacek@redhat.com>
45630         * time/time.h: Fix some typos in comments.
45632 2012-08-23  Roland McGrath  <roland@hack.frob.com>
45634         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
45635         * posix/tst-rfc3484-2.c: Likewise.
45636         * posix/tst-rfc3484-3.c: Likewise.
45638 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
45640         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
45641         (EF_ARM_ABI_FLOAT_HARD): Likewise.
45643 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
45645         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
45646         #include of fxstatat64.c.
45648 2012-08-22  Roland McGrath  <roland@hack.frob.com>
45650         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
45651         * shadow/getspent_r.c: Likewise.
45652         * shadow/getspnam.c: Likewise.
45653         * shadow/getspnam_r.c: Likewise.
45654         * gshadow/getsgent.c: Likewise.
45655         * gshadow/getsgent_r.c: Likewise.
45656         * gshadow/getsgnam.c: Likewise.
45657         * gshadow/getsgnam_r.c: Likewise.
45658         * inet/getnetbyad.c: Likewise.
45659         * inet/getnetbyad_r.c: Likewise.
45660         * inet/getnetbynm.c: Likewise.
45661         * inet/getnetbynm_r.c: Likewise.
45662         * inet/getnetent.c: Likewise.
45663         * inet/getnetent_r.c: Likewise.
45664         * inet/getproto.c: Likewise.
45665         * inet/getproto_r.c: Likewise.
45666         * inet/getprtent.c: Likewise.
45667         * inet/getprtent_r.c: Likewise.
45668         * inet/getprtname.c: Likewise.
45669         * inet/getprtname_r.c: Likewise.
45670         * inet/getrpcbyname.c: Likewise.
45671         * inet/getrpcbyname_r.c: Likewise.
45672         * inet/getrpcbynumber.c: Likewise.
45673         * inet/getrpcbynumber_r.c: Likewise.
45674         * inet/getrpcent.c: Likewise.
45675         * inet/getrpcent_r.c: Likewise.
45676         * inet/getaliasent.c: Likewise.
45677         * inet/getaliasent_r.c: Likewise.
45678         * inet/getaliasname.c: Likewise.
45679         * inet/getaliasname_r.c: Likewise.
45680         * nscd/getgrgid_r.c: Likewise.
45681         * nscd/getgrnam_r.c: Likewise.
45682         * nscd/gethstbyad_r.c: Likewise.
45683         * nscd/gethstbynm3_r.c: Likewise.
45684         * nscd/getpwnam_r.c: Likewise.
45685         * nscd/getpwuid_r.c: Likewise.
45686         * nscd/getsrvbynm_r.c: Likewise.
45687         * nscd/getsrvbypt_r.c: Likewise.
45688         * nscd/gai.c: Likewise.
45690         * configure.in (build_nscd): New substituted variable, set
45691         by --disable-build-nscd and defaults to $use_nscd.
45692         * configure: Regenerated.
45693         * config.make.in (build-nscd): New substituted variable.
45694         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
45695         Change conditional to require [$(build-nscd) = yes] as well.
45696         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
45698         [BZ# 13696]
45699         * configure.in (use_nscd): New substituted variable, set by
45700         --disable-nscd.  If enabled, define USE_NSCD.
45701         * configure: Regenerated.
45702         * config.h.in: Add USE_NSCD.
45703         * config.make.in (use-nscd): New substituted variable.
45704         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
45705         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
45706         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
45707         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
45708         (CFLAGS-getgrnam_r.c): Likewise.
45709         (CFLAGS-initgroups.c): Likewise.
45710         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
45711         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
45712         Variables removed.
45713         * inet/getnetgrent_r.c
45714         (nscd_setnetgrent): New function, broken out of ...
45715         (setnetgrent): ... here.  Call it.
45716         (innetgr): Conditionalize nscd bits on [USE_NSCD].
45717         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
45718         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
45719         * nscd/Makefile (routines, aux): Move definitions after include of
45720         Makeconfig.  Conditionalize on [$(use-nscd) != no].
45721         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
45722         Conditionalize on [USE_NSCD].
45723         (is_nscd, nscd_init_cb): Likewise.
45724         (nss_load_library): Conditionalize init callback on [USE_NSCD].
45725         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
45726         * nss/nss_db/db-init.c: Likewise.
45727         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
45728         [USE_NSCD].
45729         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
45730         (make_request): Use it.
45731         (cache_valid_p): New function.
45732         (__check_pf): Use it.
45733         * NEWS: Add item for --disable-nscd.
45735 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
45737         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
45738         to support sed >= 4.2.1-20-ga9bf076.
45739         * configure: Regenerated.
45741 2012-08-22  Roland McGrath  <roland@hack.frob.com>
45743         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
45744         Conditionalize whole body on [IREL].
45746 2012-08-22  Jeff Law <law@redhat.com>
45748         [BZ #14505]
45749         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
45750         if the family is PF_UNSPEC.
45752 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
45754         * Makerules (lib-version): Rename from V.
45755         (install-lib-nosubdir): Change V to lib-version.
45757 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
45759         [BZ #14252]
45760         * powerpc32/power6/wcschr.c: New file.
45761         * powerpc32/power6/wcscpy.c: New file.
45762         * powerpc32/power6/wcsrchr.c: New file.
45763         * powerpc64/power6/wcschr.c: New file.
45764         * powerpc64/power6/wcscpy.c: New file.
45765         * powerpc64/power6/wcsrchr.c: New file.
45767 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
45769         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
45770         (two_way_short_needle): Use it.
45771         * string/strstr.c (AVAILABLE1_USES_J): Define.
45772         * string/strcasestr.c: Likewise.
45774         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
45775         array references.
45776         * string/strcasestr.c (TOLOWER): Make side-effect safe.
45778         [BZ #11607]
45779         * NEWS: Add an entry.
45780         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
45781         define their defaults.
45782         (two_way_short_needle): Detect end-of-string on-the-fly.
45783         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
45784         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
45785         * string/bug-strcasestr1.c: New test.
45786         * string/Makefile: Run it.
45788 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
45790         [BZ #11607]
45791         * string/str-two-way.h (two_way_short_needle): Optimize matching of
45792         the first character.
45794 2012-08-21  Roland McGrath  <roland@hack.frob.com>
45796         * csu/elf-init.c (__libc_csu_irel): Function removed.
45797         * csu/libc-start.c (apply_irel): New function.
45798         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
45800 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
45802         * sysdeps/unix/sysv/linux/kernel-features.h
45803         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
45804         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
45805         <kernel-features.h>.
45806         [__NR_fadvise64_64]: Make code unconditional.
45807         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
45808         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
45809         !__NR_fadvise64_64)]: Likewise.
45810         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
45811         !__NR_fadvise64_64))]: Likewise.
45812         [__NR_fadvise64]: Make code unconditional.
45813         [!__NR_fadvise64]: Remove conditional code.
45814         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
45815         <kernel-features.h>.
45816         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45817         unconditional.
45818         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45819         conditional code.
45820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
45821         not include <kernel-features.h>.
45822         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45823         unconditional.
45824         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45825         conditional code.
45826         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
45827         include <kernel-features.h>.
45828         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45829         unconditional.
45830         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45831         conditional code.
45833 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
45835         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
45836         slight instruction rearrangements per scrollpipe analysis.
45837         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
45839 2012-08-20  Roland McGrath  <roland@hack.frob.com>
45841         * manual/syslog.texi (syslog; vsyslog, closelog):
45842         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
45843         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
45845         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
45846         DSOCAPS to match condition on defining it.
45848 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
45850         * sysdeps/unix/sysv/linux/kernel-features.h
45851         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
45852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
45853         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45854         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
45856         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45857         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
45859         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45860         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45862         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
45863         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
45865         * sysdeps/unix/sysv/linux/kernel-features.h
45866         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
45867         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
45868         unconditional.
45869         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45870         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
45871         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
45872         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45873         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
45874         Make code unconditional.
45875         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45876         (__mmap64) [!__NR_mmap2]: Likewise.
45877         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
45878         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
45879         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45880         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
45881         [__NR_mmap2]: Make code unconditional.
45882         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45883         (__mmap64) [!__NR_mmap2]: Likewise.
45885 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45887         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
45889 2012-08-18  Andreas Jaeger  <aj@suse.de>
45891         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
45893 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
45895         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
45896         * include/unistd.h (__have_sock_cloexec): Likewise.
45897         (__have_pipe2): Likewise.
45898         (__have_dup3): Likewise.
45900 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
45902         [BZ #9685]
45903         * include/unistd.h (__have_pipe2): Change define into an extern int.
45904         (__have_dup3): Likewise.
45905         * socket/have_sock_cloexec.c: Include fcntl.h.
45906         (__have_pipe2): New variable.
45907         (__have_dup3): Likewise.
45909 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
45911         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
45913 2012-08-17  Marek Polacek  <polacek@redhat.com>
45915         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
45916         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
45918 2012-08-17  Roland McGrath  <roland@hack.frob.com>
45920         * configure.in: Add AC_SUBST for sysheaders.
45921         * configure: Regenerated.
45922         * config.make.in (sysheaders): New substituted variable.
45924         * sysdeps/unix/mkfifo.c: Moved ...
45925         * sysdeps/posix/mkfifo.c: ... here.
45926         * sysdeps/unix/mkfifoat.c: Moved ...
45927         * sysdeps/posix/mkfifoat.c: ... here.
45929         * sysdeps/unix/utime.c: Moved ...
45930         * sysdeps/posix/utime.c: ... here.
45932         * sysdeps/unix/time.c: Moved ...
45933         * sysdeps/posix/time.c: ... here.
45934         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
45935         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
45937         * sysdeps/unix/nice.c: Moved ...
45938         * sysdeps/posix/nice.c: ... here.
45940         * sysdeps/unix/alarm.c: Moved ...
45941         * sysdeps/posix/alarm.c: ... here.
45943         * intl/Makefile ($(codeset_mo)): Depend on the input file.
45945 2012-08-17  Jeff Law <law@redhat.com>
45947         * intl/Makefile (codeset_mo): New variable.
45948         ($(codeset_mo)): New target.
45949         (tst-codeset.out): Depend on that.  Remove explicit rule.
45950         (tst-gettext3.out, tst-gettext5.out): Likewise.
45951         (LOCPATH-ENV, tst-codeset-ENV): New variables.
45952         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
45953         * intl/tst-codeset.sh: Remove.
45954         * intl/tst-gettext3.sh: Likewise.
45955         * intl/tst-gettext5.sh: Likewise.
45957 2012-08-17  Roland McGrath  <roland@hack.frob.com>
45959         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
45960         * sysdeps/unix/syscalls.list: ... here.
45962         * sysdeps/posix/getaddrinfo.c
45963         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
45964         (gaiconf_init, gaiconf_reload): Use them.
45965         [!_STATBUF_ST_NSEC]
45966         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
45967         Define using time_t rather than struct timespec.
45969         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
45970         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
45971         Macros removed.
45972         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
45973         [!NO_THREADS].
45974         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
45975         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
45976         Likewise.
45978         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
45979         __libc_cleanup_push argument.
45981         * bits/param.h: New file.
45982         * misc/sys/param.h: New file.
45983         * include/sys/param.h: New file.
45984         * misc/Makefile (headers): Add bits/param.h.
45985         * sysdeps/generic/sys/param.h: File removed.
45986         * sysdeps/unix/sysv/linux/bits/param.h: New file.
45987         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
45988         * sysdeps/mach/hurd/bits/param.h: New file.
45989         * sysdeps/mach/hurd/sys/param.h: File removed.
45991         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
45992         last change.
45994         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
45995         [_IO_MTSAFE_IO].
45996         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
45997         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
45998         New macros.
46000         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
46001         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
46002         rather than -D_IO_MTSAFE_IO conditionally.
46003         * stdio-common/Makefile (CPPFLAGS): Likewise.
46004         * wcsmbs/Makefile (CPPFLAGS): Likewise.
46005         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
46006         Use $(libio-mtsafe).
46007         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
46008         of -D_IO_MTSAFE_IO.
46009         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
46010         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
46011         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
46012         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
46013         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
46014         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
46015         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
46016         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
46017         (CFLAGS-fread_u_chk.c): Likewise.
46018         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
46019         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
46020         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
46021         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
46022         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
46023         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
46024         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
46025         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
46026         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
46028         * libio/Makefile: Test [$(libc-reentrant) = yes]
46029         instead of [$(filter %REENTRANT, $(defines)) nonempty].
46031         * Makeconfig
46032         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
46033         * sysdeps/pthread/configure: File removed.
46034         * sysdeps/pthread/Makeconfig: New file.
46035         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
46036         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
46038 2012-08-16  Gary Benson  <gbenson@redhat.com>
46040         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
46041         unmapping the first object in a namespace.
46043 2012-08-16  Roland McGrath  <roland@hack.frob.com>
46045         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
46046         (__internal_setnetgrent): ... this.  Add internal_function to
46047         definition.  Add libc_hidden_def.
46048         (setnetgrent): Update caller.
46049         (internal_endnetgrent): Renamed to ...
46050         (__internal_endnetgrent): ... this.  Add internal_function to
46051         definition.  Add libc_hidden_def.
46052         (endnetgrent): Update caller.
46053         (internal_getnetgrent_r): Renamed to ...
46054         (__internal_getnetgrent_r): ... this.  Add internal_function to
46055         definition.  Add libc_hidden_def.
46056         (__getnetgrent_r): Update caller.
46057         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
46059 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
46061         * stdlib/longlong.h: Update from GCC.
46063 2012-08-16  Roland McGrath  <roland@hack.frob.com>
46065         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
46066         on _QL, which is set by umul_ppmm but never used.
46067         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
46068         variables, which are set by GMP macros but never used.
46069         * stdio-common/_itowa.c (_itowa): Likewise.
46070         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
46071         * stdlib/mod_1.c (mpn_mod_1): Likewise.
46073 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
46075         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
46076         struct La_sh_regs is not constant.
46077         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
46078         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
46079         and struct La_sparc64_regs are not constant.
46081 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
46083         * sysdeps/unix/sysv/linux/kernel-features.h
46084         (__ASSUME_POSIX_TIMERS): Remove.
46085         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
46086         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46087         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
46088         Make code unconditional.
46089         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46090         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
46091         Make code unconditional.
46092         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46093         * sysdeps/unix/sysv/linux/clock_nanosleep.c
46094         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
46095         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46096         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
46097         Make code unconditional.
46098         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46099         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
46100         (__libc_missing_posix_timers): Remove.
46102 2012-08-15  Roland McGrath  <roland@hack.frob.com>
46104         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
46105         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
46107         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
46109         * elf/dl-sym.c: Include <stdlib.h>.
46111         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
46112         constants, which avoids warnings in 32-bit builds.
46114         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
46115         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
46117         * misc/lseek.c: File moved to ...
46118         * io/lseek.c: ... here.
46120         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
46122         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
46123         shifting LEN more than 31 bits at once.
46125 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46127         [BZ #14195]
46128         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
46129         segmentation fault for a case of two empty input strings.
46130         * string/test-strncasecmp.c (check1): Renamed to...
46131         (bz12205): ...this.
46132         (bz14195): Add new testcase for two empty input strings and N > 0.
46133         (test_main): Call new testcase, adapt for renamed function.
46135 2012-08-15  Andreas Jaeger  <aj@suse.de>
46137         [BZ #14090]
46138         * crypt/md5test2.c: New test, based on test supplied by Serge
46139         Belyshev <belyshev@depni.sinp.msu.ru>.
46140         * crypt/Makefile (xtests): Add md5test-giant..
46141         * crypt/Makefile ($(objpfx)md5test-giant): Add.
46143 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
46145         [BZ #14090]
46146         * crypt/md5.c (md5_process_block): Don't assume the buffer
46147         length is less than 2**32.
46148         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
46149         length is less than 2**64.
46151 2012-08-15  Roland McGrath  <roland@hack.frob.com>
46153         * string/str-two-way.h: Include <sys/param.h>.
46154         (MAX): Macro removed.
46156         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
46157         Move #define and #undef of memmove to just before and after
46158         including <string.h>.
46160         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
46161         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
46162         and after including <string.h>.  Move declarations of
46163         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
46164         to before #include "string/memmove.c".
46166         * include/dirent.h: Declare __getdirentries.
46168         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
46169         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
46171 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
46173         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
46174         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
46175         * sysdeps/i386/configure: Regenerated.
46176         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
46177         STABS_CURRENT_FILE, and STABS_FUN.
46178         (END): Remove call to STABS_FUN_END.
46179         (STABS_CURRENT_FILE1): Delete.
46180         (STABS_CURRENT_FILE): Likewise.
46181         (STABS_FUN): Likewise.
46182         (STABS_FUN_END): Likewise.
46183         (STABS_FUN2): Likewise.
46184         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
46185         * sysdeps/x86_64/configure: Regenerated.
46187 2012-08-14  Roland McGrath  <roland@hack.frob.com>
46189         * elf/dl-open.c: Include <atomic.h>.
46190         * elf/dl-lookup.c: Likewise.
46192 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
46194         * sysdeps/unix/sysv/linux/kernel-features.h
46195         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
46196         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
46197         unconditionally.
46198         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
46199         unconditionally.
46200         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
46201         condition on __ASSUME_CLONE_THREAD_FLAGS.
46203 2012-08-14  Andreas Jaeger  <aj@suse.de>
46205         * sysdeps/i386/fpu/libm-test-ulps: Update.
46207 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
46209         * include/atomic.h (atomic_exchange_and_add): Split into ...
46210         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
46211         New atomic macros.
46213 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
46215         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46217 2012-08-13  Jeff Law <law@redhat.com>
46219         * manual/stdio.texi (snprintf): Clarify handling of the trailing
46220         null byte in the output string.
46222 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
46224         * sysdeps/unix/sysv/linux/kernel-features.h
46225         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
46226         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
46227         (__ASSUME_ARG_MAX_STACK_BASED): Define.
46228         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
46229         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
46230         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
46231         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
46233 2012-08-09  Jeff Law <law@redhat.com>
46235         [BZ #13939]
46236         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
46237         When avoid_arena is set, don't retry in the that arena.  Pick the
46238         next one, whatever it might be.
46239         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
46240         (arena_lock): Pass in new parameter to arena_get2.
46241         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
46242         arena_get2.
46243         (__libc_malloc): Unify retrying after main arena failure with
46244         __libc_memalign version.
46245         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
46247 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
46249         [BZ #14166]
46250         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
46251         to __redirect_strstr.
46252         (__strstr_sse42): Use typeof __redirect_strstr.
46253         (__strstr_ia32): Likewise.
46254         (__libc_strstr): New prototype.
46255         (strstr): Renamed to ...
46256         (__libc_strstr): This.
46257         (strstr): New strong alias of __libc_strstr.
46258         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
46259         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
46260         __redirect_time.
46261         Include <time.h>.
46262         (__libc_time): New prototype.
46263         (time_ifunc): Replace time with __libc_time.
46264         (time): New strong alias and hidden definition of __libc_time.
46265         (__GI_time): Remove strong alias.
46266         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
46267         Include <stddef.h>.
46268         (memmove): Redefined to __redirect_memmove.
46269         (__memmove_sse2): Use typeof __redirect_memmove.
46270         (__memmove_ssse3): Likewise.
46271         (__memmove_ssse3_back): Likewise.
46272         (__libc_memmove): New prototype.
46273         (memmove): Renamed to ...
46274         (__libc_memmove): This.
46275         (memmove): New strong alias of __libc_memmove.
46277 2012-08-08  Mark Salter  <msalter@redhat.com>
46279         * elf/elf.h
46280         (R_MN10300_TLS_GD): Define.
46281         (R_MN10300_TLS_LD): Likewise.
46282         (R_MN10300_TLS_LDO): Likewise.
46283         (R_MN10300_TLS_GOTIE): Likewise.
46284         (R_MN10300_TLS_IE): Likewise.
46285         (R_MN10300_TLS_LE): Likewise.
46286         (R_MN10300_TLS_DTPMOD): Likewise.
46287         (R_MN10300_TLS_DTPOFF): Likewise.
46288         (R_MN10300_TLS_TPOFF): Likewise.
46289         (R_MN10300_SYM_DIFF): Likewise.
46290         (R_MN10300_ALIGN): Likewise.
46291         (R_MN10300_NUM): Update.
46293 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
46295         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
46296         Remove.
46298 2012-08-08  Roland McGrath  <roland@hack.frob.com>
46300         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
46302         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
46303         sysdeps/unix -> sysdeps/posix move.
46304         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
46306 2012-08-07      Allan McRae     <allan@archlinux.org>
46308         [BZ #14303]
46309         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
46310         (SUNOS_CPP): Likewise.
46311         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
46312         not found.
46313         (open_input): Call CPP using execvp.
46315 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
46317         * sysdeps/unix/sysv/linux/kernel-features.h
46318         (__ASSUME_PROT_GROWSUPDOWN): Remove.
46319         (__ASSUME_NO_CLONE_DETACHED): Likewise.
46320         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
46321         (__ASSUME_WAITID_SYSCALL): Likewise.
46322         * sysdeps/unix/sysv/linux/dl-execstack.c
46323         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
46324         code unconditional.
46325         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
46326         conditional code.
46327         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
46328         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
46329         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
46330         code.
46331         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
46332         unconditional.
46333         [__ASSUME_WAITID_SYSCALL]: Likewise.
46334         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
46336 2012-08-07  Roland McGrath  <roland@hack.frob.com>
46338         * sysdeps/unix/closedir.c: Renamed to ...
46339         * sysdeps/posix/closedir.c: ... here.
46340         * sysdeps/unix/dirfd.c: Renamed to ...
46341         * sysdeps/posix/dirfd.c: ... here.
46342         * sysdeps/unix/dirstream.h: Renamed to ...
46343         * sysdeps/posix/dirstream.h: ... here.
46344         * sysdeps/unix/fdopendir.c: Renamed to ...
46345         * sysdeps/posix/fdopendir.c: ... here.
46346         * sysdeps/unix/opendir.c: Renamed to ...
46347         * sysdeps/posix/opendir.c: ... here.
46348         * sysdeps/unix/readdir.c: Renamed to ...
46349         * sysdeps/posix/readdir.c: ... here.
46350         * sysdeps/unix/readdir_r.c: Renamed to ...
46351         * sysdeps/posix/readdir_r.c: ... here.
46352         * sysdeps/unix/rewinddir.c: Renamed to ...
46353         * sysdeps/posix/rewinddir.c: ... here.
46354         * sysdeps/unix/seekdir.c: Renamed to ...
46355         * sysdeps/posix/seekdir.c: ... here.
46356         * sysdeps/unix/telldir.c: Renamed to ...
46357         * sysdeps/posix/telldir.c: ... here.
46358         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
46359         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
46360         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
46361         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
46363         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
46364         * bits/fcntl.h: ... here.
46366         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
46367         not 0.
46368         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
46369         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
46370         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
46371         (struct flock): Move l_start, l_len to the beginning.
46372         Use __pid_t for l_pid.
46373         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
46374         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
46375         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
46376         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
46377         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
46378         [__USE_LARGEFILE64] (struct flock64): New type.
46379         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
46381         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
46382         * bits/dirent.h: ... here.
46384         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
46385         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
46387 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
46389         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46390         Change from 2.6.0 to 2.6.16.
46391         * sysdeps/unix/sysv/linux/configure: Regenerated.
46392         * sysdeps/unix/sysv/linux/kernel-features.h
46393         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
46394         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
46395         version.
46396         (__ASSUME_UTIMES): Likewise.
46397         (__ASSUME_CLONE_STOPPED): Remove.
46398         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
46399         architectures, not kernel version.
46400         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
46401         (__ASSUME_NO_CLONE_DETACHED): Likewise.
46402         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
46403         (__ASSUME_WAITID_SYSCALL): Likewise.
46404         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
46405         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
46406         * README: State 2.6.16 as minimum Linux kernel version.  Do not
46407         refer to older versions.
46409 2012-08-06  Roland McGrath  <roland@hack.frob.com>
46411         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
46412         Define alphasort64 as an alias.
46413         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
46414         Define versionsort64 as an alias.
46415         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
46416         Define scandir64 as an alias.
46417         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
46418         Define scandirat64 as an alias.
46419         * dirent/alphasort64.c (alphasort64):
46420         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
46421         * dirent/versionsort64.c: Likewise.
46422         * dirent/scandir64.c: Likewise.
46423         * dirent/scandirat64.c: Likewise.
46424         * sysdeps/wordsize-64/alphasort.c: File removed.
46425         * sysdeps/wordsize-64/alphasort64.c: File removed.
46426         * sysdeps/wordsize-64/scandir.c: File removed.
46427         * sysdeps/wordsize-64/scandir64.c: File removed.
46428         * sysdeps/wordsize-64/scandirat.c: File removed.
46429         * sysdeps/wordsize-64/scandirat64.c: File removed.
46430         * sysdeps/wordsize-64/versionsort.c: File removed.
46431         * sysdeps/wordsize-64/versionsort64.c: File removed.
46432         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
46433         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
46434         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
46435         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
46436         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
46437         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
46438         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
46439         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
46441         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
46442         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
46443         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
46444         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46445         [defined __arch64__ || defined __sparcv9]
46446         (__INO_T_MATCHES_INO64_T): New macro.
46447         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
46448         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
46449         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
46450         * sysdeps/unix/sysv/linux/bits/dirent.h
46451         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
46452         (_DIRENT_MATCHES_DIRENT64): New macro.
46454         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
46455         Define lockf64 as an alias.
46456         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
46457         Define fseeko64 as an alias.
46458         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
46459         Define ftello64 as an alias.
46460         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
46461         Define _IO_fgetpos64 and fgetpos64 as aliases.
46462         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
46463         Define _IO_fsetpos64 and fsetpos64 as aliases.
46464         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
46465         Conditionalize body on this.
46466         * libio/fseeko64.c: Likewise.
46467         * libio/ftello64.c: Likewise.
46468         * libio/iofgetpos64.c: Likewise.
46469         * libio/iofsetpos64.c: Likewise.
46470         * sysdeps/wordsize-64/lockf.c: File removed.
46471         * sysdeps/wordsize-64/lockf64.c: File removed.
46472         * sysdeps/wordsize-64/fseeko.c: File removed.
46473         * sysdeps/wordsize-64/fseeko64.c: File removed.
46474         * sysdeps/wordsize-64/ftello.c: File removed.
46475         * sysdeps/wordsize-64/ftello64.c: File removed.
46476         * sysdeps/wordsize-64/iofgetpos.c: File removed.
46477         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
46478         * sysdeps/wordsize-64/iofsetpos.c: File removed.
46479         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
46480         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
46481         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
46482         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
46483         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
46484         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
46485         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
46486         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
46487         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
46488         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
46489         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
46491         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
46492         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
46493         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
46494         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46495         [defined __arch64__ || defined __sparcv9]
46496         (__OFF_T_MATCHES_OFF64_T): New macro.
46497         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
46498         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
46499         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46500         (__OFF_T_MATCHES_OFF64_T): New macro.
46502 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
46504         * stdlib/secure-getenv.c (__secure_getenv): Replace
46505         GLIBC_2_16 with GLIBC_2_17.
46507 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
46509         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
46510         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
46512 2012-08-03  David S. Miller  <davem@davemloft.net>
46514         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46516 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
46518         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
46519         Remove.
46520         (__ASSUME_CORRECT_SI_PID): Likewise.
46521         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
46522         (__ASSUME_TMPFS_NAME): Likewise.
46523         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
46524         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
46525         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
46526         (HAVE_AUX_SECURE): Make definition unconditional.
46527         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
46528         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
46530 2012-08-03  Roland McGrath  <roland@hack.frob.com>
46532         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
46533         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
46534         * sysdeps/mach/hurd/eloop-threshold.h: New file.
46535         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
46536         __eloop_threshold instead of SYMLOOP_MAX.
46538         * sysdeps/generic/eloop-threshold.h: New file.
46539         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
46540         of MAXSYMLINKS.
46541         * elf/chroot_canon.c (chroot_canon): Likewise.
46543 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
46545         [BZ #13717]
46546         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46547         Change to 2.6.0 everywhere.
46548         * sysdeps/unix/sysv/linux/configure: Regenerated.
46549         * sysdeps/unix/sysv/linux/kernel-features.h
46550         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
46551         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
46552         kernel versions.
46553         (__ASSUME_POSIX_TIMERS): Define unconditionally.
46554         (__ASSUME_FUTEX_REQUEUE): Remove.
46555         (__ASSUME_STATFS64): Define unconditionally.
46556         (__ASSUME_AT_SECURE): Likewise.
46557         (__ASSUME_CORRECT_SI_PID): Likewise.
46558         (__ASSUME_TGKILL): Define without depending on kernel version for
46559         i386.
46560         (__ASSUME_UTIMES): Likewise.
46561         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
46562         kernel version.
46563         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
46564         (__ASSUME_TMPFS_NAME): Likewise.
46565         * README: Update reference to Linux kernel versions.
46567 2012-08-02  Marek Polacek  <polacek@redhat.com>
46569         [BZ# 14150]
46570         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
46571         libc_cv_asm_type_prefix with %.
46572         * configure: Regenerated.
46573         * include/libc-symbols.h: Remove comment about
46574         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
46575         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
46576         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
46577         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
46578         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
46579         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
46580         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
46581         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
46582         * elf/tst-unique2mod1.c: Likewise.
46583         * elf/tst-unique1mod2.c: Likewise.
46584         * elf/tst-unique1mod1.c: Likewise.
46585         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
46586         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
46587         Replace ASM_TYPE_DIRECTIVE with .type.
46588         * sysdeps/s390/s390-64/sysdep.h: Likewise.
46589         * sysdeps/i386/sysdep.h: Likewise.
46590         * sysdeps/x86_64/sysdep.h: Likewise.
46591         * sysdeps/sh/sysdep.h: Likewise.
46592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46593         Do not define ASM_TYPE_DIRECTIVE.
46594         * sysdeps/powerpc/sysdep.h: Likewise.
46595         * sysdeps/powerpc/powerpc32/sysdep.h:
46596         Replace ASM_TYPE_DIRECTIVE with .type.
46597         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
46598         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46599         * sysdeps/i386/fpu/e_powf.S: Likewise.
46600         * sysdeps/i386/fpu/e_expl.S: Likewise.
46601         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46602         * sysdeps/i386/fpu/e_acosh.S: Likewise.
46603         * sysdeps/i386/fpu/e_pow.S: Likewise.
46604         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
46605         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46606         * sysdeps/i386/fpu/s_expm1.S: Likewise.
46607         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
46608         * sysdeps/i386/fpu/e_log2.S: Likewise.
46609         * sysdeps/i386/fpu/e_log2l.S: Likewise.
46610         * sysdeps/i386/fpu/e_scalb.S: Likewise.
46611         * sysdeps/i386/fpu/e_powl.S: Likewise.
46612         * sysdeps/i386/fpu/e_log10f.S: Likewise.
46613         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
46614         * sysdeps/i386/fpu/e_logl.S: Likewise.
46615         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
46616         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
46617         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
46618         * sysdeps/i386/fpu/e_log2f.S: Likewise.
46619         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46620         * sysdeps/i386/fpu/e_log.S: Likewise.
46621         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46622         * sysdeps/i386/fpu/e_logf.S: Likewise.
46623         * sysdeps/i386/fpu/e_log10l.S: Likewise.
46624         * sysdeps/i386/fpu/e_atanh.S: Likewise.
46625         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
46626         * sysdeps/i386/fpu/e_log10.S: Likewise.
46627         * sysdeps/i386/fpu/s_frexp.S: Likewise.
46628         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46629         * sysdeps/i386/fpu/s_asinh.S: Likewise.
46630         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
46631         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46632         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
46633         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
46634         * sysdeps/i386/i686/strtok.S: Likewise.
46635         * sysdeps/i386/i386-mcount.S: Likewise.
46636         * sysdeps/i386/strtok.S: Likewise.
46637         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
46638         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46639         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46640         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46641         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46642         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46643         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
46644         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
46645         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46646         * sysdeps/x86_64/_mcount.S: Likewise.
46647         * sysdeps/x86_64/strtok.S: Likewise.
46648         * sysdeps/sh/_mcount.S: Likewise.
46650 2012-08-01  Roland McGrath  <roland@hack.frob.com>
46652         * libio/iofopen.c: Include <fcntl.h>.
46653         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
46654         (_IO_fopen64, fopen64): Define as aliases.
46655         * libio/iofopen64.c: Include <fcntl.h>.
46656         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
46657         Conditionalize body on this.
46658         * sysdeps/wordsize-64/iofopen.c: File removed.
46659         * sysdeps/wordsize-64/iofopen64.c: File removed.
46661 2012-08-01  Marek Polacek  <polacek@redhat.com>
46663         * libc/Makeconfig: Use elf in place of binfmt-subdir.
46664         Use dlfcn directly instead of a variable.
46665         (binfmt-subdir): Do not define.
46666         (dlfcn): Likewise.
46668 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
46670         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
46671         Remove all definitions.
46672         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
46673         <kernel-features.h>.
46674         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
46675         (miss_F_GETOWN_EX): Remove all definitions.
46676         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
46677         macro definition.
46678         [!__ASSUME_FCNTL64]: Remove conditional code.
46679         [__ASSUME_FCNTL64]: Make code unconditional.
46680         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
46681         <kernel-features.h>.
46682         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
46683         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
46684         (lockf64) [__NR_fcntl64]: Make code unconditional.
46685         (lockf64) [__ASSUME_FCNTL64]: Likewise.
46687         * sysdeps/unix/sysv/linux/kernel-features.h
46688         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
46689         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
46690         Make code unconditional.
46691         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46692         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
46694         [__NR_vfork]: Make code unconditional.
46695         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46696         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
46698         [__NR_vfork]: Make code unconditional.
46699         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46700         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46702 2012-08-01  Roland McGrath  <roland@hack.frob.com>
46704         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
46705         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
46707         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46708         Define mkstemp64 as an alias.
46709         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46710         Define mkstemps64 as an alias.
46711         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46712         Define mkostemp64 as an alias.
46713         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46714         Define mkostemps64 as an alias.
46715         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
46716         Conditionalize body on this.
46717         * misc/mkostemp64.c: Likewise.
46718         * misc/mkostemps64.c: Likewise.
46719         * misc/mkstemps64.c: Likewise.
46720         * sysdeps/wordsize-64/mkstemp64.c: File removed.
46721         * sysdeps/wordsize-64/mkostemp64.c: File removed.
46722         * sysdeps/wordsize-64/mkostemp.c: File removed.
46723         * sysdeps/wordsize-64/mkstemp.c: File removed.
46724         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
46725         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
46726         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
46727         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
46729         [BZ #14138]
46730         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
46731         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
46732         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
46733         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
46735         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
46736         compat_symbol macros from <shlib-compat.h> rather than the underlying
46737         default_symbol_version and symbol_version macros, so that DEFAULT
46738         lines in shlib-versions are respected.
46739         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
46741 2012-08-01  Florian Weimer  <fweimer@redhat.com>
46743         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
46744         Declare with warn_unused_result.
46745         (setgid, setregid, setegid, setresgid): Likewise.
46746         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
46747         Likewise.
46748         * WUR-REPORT: Remove set*id functions.
46750 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
46752         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
46754 2012-07-31  Roland McGrath  <roland@hack.frob.com>
46756         [BZ #10191]
46757         * include/sys/socket.h (__libc_accept, __libc_accept4):
46758         Add attribute_hidden.
46759         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
46761         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
46762         use of PTR_MANGLE.
46763         * inet/getnetgrent_r.c (setup): Likewise.
46765         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
46767 2012-07-31  David S. Miller  <davem@davemloft.net>
46769         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46771 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
46773         [BZ #13629]
46774         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
46775         value between 1.0 and 2.0 and smaller part has absolute value less
46776         than 1.0.
46777         * math/s_clog10.c (__clog10): Likewise.
46778         * math/s_clog10f.c (__clog10f): Likewise.
46779         * math/s_clog10l.c (__clog10l): Likewise.
46780         * math/s_clogf.c (__clogf): Likewise.
46781         * math/s_clogl.c (__clogl): Likewise.
46782         * math/libm-test.inc (clog_test): Add more tests.
46783         (clog10_test): Likewise.
46784         * sysdeps/i386/fpu/libm-test-ulps: Update.
46785         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46787 2012-07-31  Florian Weimer  <fweimer@redhat.com>
46789         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
46790         Exit with zero in case no suitable GID is found, and write a
46791         message to standard error.
46793 2012-07-30  Roland McGrath  <roland@hack.frob.com>
46795         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
46796         rather than to 1.
46797         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
46798         (MAXPATHLEN): Removed.
46799         (NOGROUP, NODEV): New macros.
46800         (setbit, clrbit, isset, isclr): New macros.
46801         (howmany, roundup, powerof2): New macros.
46802         (DEV_BSIZE): New macro.
46804         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
46805         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
46807         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
46808         definition on [!__NO_LONG_DOUBLE_MATH].
46810         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
46811         PTR_MANGLE and PTR_DEMANGLE.
46813         * socket/accept4.c (accept4): Rename to __libc_accept4.
46814         Define accept4 as a weak alias.
46816         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
46817         on [_DIRENT_HAVE_D_TYPE].
46818         * io/ftw.c (ftw_dir): Likewise.
46820         * io/xmknod.c (__xmknod): Don't check PATH for being null.
46822         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
46824         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
46825         Use the BSD numbers rather than the arbitrary ones we had.
46826         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
46827         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
46828         (SIGXCPU, SIGXFSZ): New macros.
46829         (_NSIG): Now 32.
46831         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
46832         initializer on [_LIBC_REENTRANT].
46834         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
46835         definitions inside [_POSIX_MAPPED_FILES].
46837         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
46839         * dirent/opendir.c: Include <fcntl.h>.
46841         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
46842         (__libc_getspecific): Likewise.
46843         (__libc_key_create): Likewise.
46845         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
46846         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
46847         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
46848         (tmpfile64): Define as alias.
46849         * sysdeps/wordsize-64/tmpfile.c: File removed.
46850         * sysdeps/wordsize-64/tmpfile64.c: File removed.
46851         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
46852         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
46854         * stdio-common/vfscanf.c: Include <stdbool.h>.
46855         * nss/makedb.c: Likewise.
46856         * stdio-common/_i18n_number.h: Likewise.
46857         * argp/argp-help.c: Likewise.
46858         * posix/wordexp.c: Likewise.
46859         * sysdeps/posix/spawni.c: Likewise.
46860         * nss/nss_files/files-initgroups.c: Likewise.
46861         * stdio-common/reg-modifier.c: Include <stdlib.h>.
46862         * nss/nss_files/files-initgroups.c: Likewise.
46863         * nss/nss_db/db-netgrp.c: Likewise.
46864         * nss/nss_db/db-initgroups.c: Likewise.
46865         * io/fchmodat.c: Include <sys/stat.h>.
46867         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
46868         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
46870         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
46871         [HAVE_MMAP].
46873         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
46874         Add multiple inclusion protection.
46876 2012-07-27  David S. Miller  <davem@davemloft.net>
46878         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46880 2012-07-27  Gary Benson  <gbenson@redhat.com>
46882         [BZ #14298]
46883         * elf/rtld.c: Include <stap-probe.h>.
46884         (dl_main): Added static probes "init_start" and "init_complete".
46885         * elf/dl-load.c: Include <stap-probe.h>.
46886         (lose): Take new parameter "nsid".
46887         Added static probe "map_failed".
46888         (_dl_map_object_from_fd): Pass namespace id to lose.
46889         Added static probe "map_start".
46890         (open_verify): Pass namespace id to lose.
46891         * elf/dl-open.c: Include <stap-probe.h>.
46892         (dl_open_worker) Added static probes "map_complete", "reloc_start"
46893         and "reloc_complete".
46894         * elf/dl-close.c: Include <stap-probe.h>.
46895         (_dl_close_worker): Added static probes "unmap_start" and
46896         "unmap_complete".
46897         * elf/rtld-debugger-interface.txt: New file documenting the above.
46899 2012-07-26  Roland McGrath  <roland@hack.frob.com>
46901         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
46902         rather than a string variable.
46903         * sunrpc/rpc_main.c (h_output): Likewise.
46904         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
46906 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
46908         * inet/check_native.c: New file.
46910 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
46912         [BZ #13629]
46913         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
46914         if larger part has absolute value 1.0.
46915         * math/s_clog10.c (__clog10): Likewise.
46916         * math/s_clog10f.c (__clog10f): Likewise.
46917         * math/s_clog10l.c (__clog10l): Likewise.
46918         * math/s_clogf.c (__clogf): Likewise.
46919         * math/s_clogl.c (__clogl): Likewise.
46920         * math/libm-test.inc (clog_test): Add more tests.
46921         (clog10_test): Likewise.
46922         * sysdeps/i386/fpu/libm-test-ulps: Update.
46923         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46925         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
46926         (pltexit): Likewise.
46927         (La_regs): Likewise.
46928         (La_retval): Likewise.
46929         (int_retval): Likewise.
46930         Update #error for removed macros to refer only to definitions in
46931         tst-audit.h.
46932         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
46933         macro.
46934         (pltexit): Likewise.
46935         (La_regs): Likewise.
46936         (La_retval): Likewise.
46937         (int_retval): Likewise.
46938         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
46939         macro.
46940         (pltexit): Likewise.
46941         (La_regs): Likewise.
46942         (La_retval): Likewise.
46943         (int_retval): Likewise.
46944         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
46945         macro.
46946         (pltexit): Likewise.
46947         (La_regs): Likewise.
46948         (La_retval): Likewise.
46949         (int_retval): Likewise.
46950         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
46951         macro.
46952         (pltexit): Likewise.
46953         (La_regs): Likewise.
46954         (La_retval): Likewise.
46955         (int_retval): Likewise.
46956         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
46957         macro.
46958         (pltexit): Likewise.
46959         (La_regs): Likewise.
46960         (La_retval): Likewise.
46961         (int_retval): Likewise.
46962         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
46963         macro.
46964         (pltexit): Likewise.
46965         (La_regs): Likewise.
46966         (La_retval): Likewise.
46967         (int_retval): Likewise.
46968         * sysdeps/generic/tst-audit.h: Update comment to refer only to
46969         macro definitions in tst-audit.h.
46970         * sysdeps/i386/tst-audit.h: New file.
46971         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
46972         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
46973         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
46974         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
46975         * sysdeps/sh/tst-audit.h: Likewise.
46976         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
46977         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
46978         * sysdeps/x86_64/tst-audit.h: Likewise.
46980 2012-07-26  Andreas Jaeger  <aj@suse.de>
46982         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
46983         ptrace.
46985         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
46986         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
46987         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
46988         PTRACE_O_MASK.
46989         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
46990         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
46991         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
46993         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
46994         value.
46996         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
46997         _sigsys.
46998         (si_call_addr, si_syscall, si_arch): Define new macro.
46999         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
47000         _sigsys.
47001         (si_call_addr, si_syscall, si_arch): Define new marcro.
47002         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
47003         _sigsys.
47004         (si_call_addr, si_syscall, si_arch): Define new macro.
47005         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
47006         _sigsys.
47007         (si_call_addr, si_syscall, si_arch): Define new macro.
47009 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
47011         [BZ #13717]
47012         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47013         Change to 2.4.21 where previously 2.4.1.
47014         * sysdeps/unix/sysv/linux/configure: Regenerated.
47015         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
47016         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
47017         Linux kernel version.
47018         (__ASSUME_STD_AUXV): Remove.
47019         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
47020         kernel version.
47021         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
47022         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
47023         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
47024         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
47025         (__ASSUME_NETLINK_SUPPORT): Likewise.
47026         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
47027         (__no_netlink_support): Remove conditional definition.
47028         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
47029         Remove.
47030         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
47031         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
47032         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
47033         (if_nameindex_ioctl): Remove.
47034         (if_nameindex_netlink): Do not handle __no_netlink_support.
47035         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
47036         code.
47037         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
47038         Remove conditional code.
47039         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
47040         code.
47041         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
47042         unconditional.
47043         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
47044         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
47045         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
47046         Remove.
47047         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
47048         [!__ASSUME_STD_AUXV]: Remove conditional code.
47049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
47050         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
47051         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
47052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
47053         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
47054         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
47055         code.
47056         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
47057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
47058         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
47059         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
47060         conditional code.
47061         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
47062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
47063         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
47064         code.
47065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
47066         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
47067         conditional code.
47068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
47069         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47070         code unconditional.
47071         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47072         conditional code.
47073         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47074         unconditional.
47075         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47076         conditional code.
47077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47078         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47079         unconditional.
47080         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47081         conditional code.
47082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
47083         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47084         code unconditional.
47085         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47086         conditional code.
47087         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47088         unconditional.
47089         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47090         conditional code.
47091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
47092         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47093         code unconditional.
47094         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47095         conditional code.
47096         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47097         unconditional.
47098         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47099         conditional code.
47101 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
47103         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
47104         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
47105         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
47106         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
47107         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
47108         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
47109         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
47110         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
47111         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
47112         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
47113         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
47114         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
47115         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
47116         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
47117         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
47118         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
47119         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
47120         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
47121         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
47122         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
47123         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
47124         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
47125         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
47127 2012-07-25  Florian Weimer  <fweimer@redhat.com>
47129         * Versions.def: Add GLIBC_2.17.
47130         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
47131         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
47132         Introduce __libc_secure_getenv.
47133         * stdlib/Versions (2.17): Add secure_getenv
47134         (GLIBC_PRIVATE): Add __libc_secure_getenv.
47135         * stdlib/secure-getenv.c: Rename __secure_getenv to
47136         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
47137         symbol __secure_getenv for GLIBC_2.0.
47138         * stdlib/tst-secure-getenv.c: New.
47139         * stdlib/Makefile (tests): Add testcase.
47140         * manual/startup.texi (Environment Access): Document
47141         secure_getenv.
47142         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
47143         __libc_secure_getenv.
47144         * inet/ruserpass.c (ruserpass): Likewise.
47145         * malloc/mtrace.c (mtrace): Likewise.
47146         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
47147         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
47148         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
47149         * sysdeps/posix/tempname.c: Likewise.  Evaluate
47150         HAVE_SECURE_GETENV.
47151         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
47152         __secure_getenv to __libc_secure_getenv.
47153         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
47154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47155         Likewise.
47156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47157         Likewise.
47158         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
47159         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
47160         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
47161         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
47162         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
47163         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
47164         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
47166 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
47168         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
47169         (struct La_i86_retval): Likewise.
47170         (struct La_x86_64_regs): Likewise.
47171         (struct La_x86_64_retval): Likewise.
47172         (struct La_x32_regs): Likewise.
47173         (struct La_x32_retval): Likewise.
47174         (struct La_ppc32_regs): Likewise.
47175         (struct La_ppc32_retval): Likewise.
47176         (struct La_ppc64_regs): Likewise.
47177         (struct La_ppc64_retval): Likewise.
47178         (struct La_sh_regs): Likewise.
47179         (struct La_sh_retval): Likewise.
47180         (struct La_s390_32_regs): Likewise.
47181         (struct La_s390_32_retval): Likewise.
47182         (struct La_s390_64_regs): Likewise.
47183         (struct La_s390_64_retval): Likewise.
47184         (struct La_sparc32_regs): Likewise.
47185         (struct La_sparc32_retval): Likewise.
47186         (struct La_sparc64_regs): Likewise.
47187         (struct La_sparc64_retval): Likewise.
47188         (struct audit_ifaces): Remove architecture-specific pltenter and
47189         pltexit members.
47190         * sysdeps/i386/ldsodefs.h: New file.
47191         * sysdeps/powerpc/ldsodefs.h: Likewise.
47192         * sysdeps/s390/ldsodefs.h: Likewise.
47193         * sysdeps/sh/ldsodefs.h: Likewise.
47194         * sysdeps/sparc/ldsodefs.h: Likewise.
47195         * sysdeps/x86_64/ldsodefs.h: Likewise.
47197 2012-07-25  Marek Polacek  <polacek@redhat.com>
47199         [BZ #6808]
47200         * math/libm-test.inc (yn_test): Add another test.
47201         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
47202         to ERANGE when the result is +-Inf.
47203         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
47204         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
47205         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
47206         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
47208 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
47210         * conform/data/time.h-data (NULL): Use macro-constant.  Require
47211         equal to 0.
47212         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
47213         clock_t.
47214         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
47216 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
47218         * configure.in <sysdeps resolving>: Correct printing
47219         Implies_before.
47220         * configure: Regenerate.
47222 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
47224         * math/w_ilogb.c: Include <limits.h>.
47225         * math/w_ilogbl.c: Likewise.
47227 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
47229         * manual/lang.texi (__va_copy): Document primarily as ISO C99
47230         va_copy.  Document allowing for unavailable va_copy only as
47231         pre-C99 compatibility.
47232         * manual/string.texi (Copying and Concatenation): Use va_copy
47233         instead of __va_copy in concat example.
47235 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
47237         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
47238         (__sendto): Use create_address_port.  Initialize APORT and deallocate
47239         it if not null.
47241         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
47242         with O_NOLINK passed to __file_name_lookup.
47244         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
47245         with O_NOLINK passed to __file_name_lookup.
47247         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
47248         negative N or less than NGIDS.
47250         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
47251         type to string_t.  Set ERANGE as errno and return it if NAME is not big
47252         enough.  Use memcpy instead of strncpy.
47254 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
47256         * elf/Makefile (check-data): Remove.
47257         (localplt.data): New vpath directive.
47258         ($(objpfx)check-localplt.out): Use localplt.data from vpath
47259         instead of $(check-data).
47260         * scripts/data/localplt-generic.data: Move to ...
47261         * sysdeps/generic/localplt.data: ... here.
47262         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
47263         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
47264         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
47265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
47266         ... here.
47267         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
47268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
47269         ... here.
47270         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
47271         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
47272         ... here.
47273         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
47274         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
47275         ... here.
47276         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
47277         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
47278         ... here.
47279         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
47280         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
47281         ... here.
47283 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47285         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
47286         PPC32 and PPC64 files.
47287         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
47288         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
47290 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47292         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
47293         __makecontext_ret to ...
47294         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
47295         ... here and call exit if uc_link is NULL.  New file.
47296         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
47297         __makecontext_ret.S.
47298         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
47299         __makecontext_ret to ...
47300         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
47301         ... here and call exit if uc_link is NULL.  New file.
47302         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
47303         __makecontext_ret.S.
47305 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47307         * elf/elf.h (R_390_IRELATIVE): New definition.
47308         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
47309         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
47310         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
47311         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
47312         (elf_machine_lazy_rel): Likewise.
47313         * sysdeps/s390/dl-irel.h: New file.
47314         * sysdeps/s390/s390-64/memcpy.S: New asm code.
47315         * sysdeps/s390/s390-64/memset.S: New asm code.
47316         * sysdeps/s390/s390-64/memcmp.S: New asm code.
47317         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
47318         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
47319         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
47320         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
47321         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
47322         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
47323         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
47324         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
47325         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
47326         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
47327         * sysdeps/s390/s390-32/memcpy.S: New asm code.
47328         * sysdeps/s390/s390-32/memset.S: New asm code.
47329         * sysdeps/s390/s390-32/memcmp.S: New asm code.
47331 2012-07-17  Marek Polacek  <polacek@redhat.com>
47333         [BZ #14349]
47334         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
47335         * sysdeps/s390/s390-64/configure.in: Likewise.
47336         * sysdeps/sparc/configure.in: Likewise.
47337         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
47338         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
47339         * sysdeps/i386/configure.in: Likewise.
47340         * sysdeps/x86_64/configure.in: Likewise.
47341         * sysdeps/sh/configure.in: Likewise.
47342         * sysdeps/s390/s390-32/configure: Regenerated.
47343         * sysdeps/s390/s390-64/configure: Likewise.
47344         * sysdeps/x86_64/configure: Likewise.
47345         * sysdeps/sh/configure: Likewise.
47346         * sysdeps/powerpc/powerpc64/configure: Likewise.
47347         * sysdeps/powerpc/powerpc32/configure: Likewise.
47348         * sysdeps/sparc/configure: Likwise.
47349         * sysdeps/i386/configure: Likewise.
47351         * elf/dl-open.c: Comment fixes.
47353 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
47355         * Makefile [CXX] (check-data): Remove.
47356         [CXX] (c++-types.data): New vpath directive.
47357         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
47358         vpath.  Do not allow for C++ type data being missing.
47359         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
47360         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
47361         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
47362         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
47363         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
47364         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
47365         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
47366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
47367         ... here.
47368         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
47369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
47370         ... here.
47371         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
47372         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
47373         ... here.
47374         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
47375         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
47376         ... here.
47377         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
47378         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
47379         ... here.
47380         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
47381         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
47382         ... here.
47383         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
47384         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
47385         ... here.
47386         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
47387         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
47389         * elf/tls-macros.h (TLS_LE): Move architecture-specific
47390         definitions to architecture-specific files.
47391         (TLS_IE): Likewise.
47392         (TLS_LD): Likewise.
47393         (TLS_GD): Likewise.
47394         * sysdeps/i386/tls-macros.h: New file.
47395         * sysdeps/powerpc/tls-macros.h: Likewise.
47396         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
47397         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
47398         * sysdeps/sh/tls-macros.h: Likewise.
47399         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
47400         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
47401         * sysdeps/x86_64/tls-macros.h: Likewise.
47403 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
47405         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
47406         zero value for regular exit case.
47408         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
47409         (__start_context): Preserve zero value for regular exit case.
47411 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
47412             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47414         * manual/setjmp.texi (setcontext): Clarify normal process
47415         termination when uc_link is the null pointer.
47416         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
47417         exit call.
47419 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
47421         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
47422         preprocessor.  Test for each exception mask separately.
47424 2012-07-16  Andreas Jaeger  <aj@suse.de>
47426         * po/ru.po: Update from translation team.
47428 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
47430         * conform/data/string.h-data (NULL): Use macro-constant.  Require
47431         equal to 0.
47432         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
47433         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
47434         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
47435         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
47436         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47438 2012-07-13  Andreas Jaeger  <aj@suse.de>
47440         * po/fr.po: Update from translation team.
47442 2012-07-12  Marek Polacek  <polacek@redhat.com>
47444         [BZ #14173]
47445         * math/libm-test.inc (yn_test): Add test for BZ #14173.
47446         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
47447         loop condition.
47449 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
47451         [BZ #13717]
47452         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47453         Change to 2.4.1 where previously 2.4.0.
47454         * sysdeps/unix/sysv/linux/configure: Regenerated.
47455         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
47456         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
47457         version.
47458         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
47459         (__ASSUME_AT_CLKTCK): Remove.
47460         (__ASSUME_AT_PAGESIZE): Likewise.
47461         (__ASSUME_AT_XID): Likewise.
47462         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
47463         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
47464         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
47465         unconditionally.
47466         (HAVE_AUX_PAGESIZE): Likewise.
47467         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
47468         [__ASSUME_AT_CLKTCK]: Make code unconditional.
47469         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
47471 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
47473         [BZ #14307]
47474         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
47475         the temporary buffer used to invoke __gethostbyname2_r,
47476         __gethostbyaddr_r and gethostbyname4_r to make room for struct
47477         host_data / struct gaih_addrtuple.
47478         * resolv/nss_dns/dns-host.c (global scope): Move definition of
47479         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
47480         header file nss/nsswitch.h.
47481         * nss/nsswitch.h (global scope): Add definition of implementation
47482         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
47483         resolv/nss_dns/dns-host.c).
47485 2012-07-11  Andreas Jaeger  <aj@suse.de>
47487         * po/fr.po: Update from translation team.
47489         * po/sv.po: Update from translation team
47490         * po/fr.po: Another update from translation team.
47492 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47494         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
47495         for subnormals or multiply small sinh result by itself.
47496         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
47497         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47499 2012-07-11  David S. Miller  <davem@davemloft.net>
47501         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47503 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
47505         [BZ #14347]
47506         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
47507         (INTERNAL_MARK): Shift it here.
47509 2012-07-10  Marek Polacek  <polacek@redhat.com>
47511         [BZ #14151]
47512         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
47513         libc_cv_asm_global_directive with .globl.
47514         * configure: Regenerated.
47515         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
47516         with .globl.
47517         * sysdeps/i386/configure: Regenerated.
47518         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
47519         with .globl.
47520         * sysdeps/x86_64/configure: Regenerated.
47521         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
47522         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
47523         * elf/tst-unique2mod2.c: Likewise.
47524         * elf/tst-unique2mod1.c: Likewise.
47525         * elf/tst-unique1mod2.c: Likewise.
47526         * elf/tst-unique1mod1.c: Likewise.
47527         * sysdeps/s390/s390-32/sysdep.h: Likewise.
47528         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
47529         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47530         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
47531         * sysdeps/mach/sysdep.h: Likewise.
47532         * sysdeps/i386/sysdep.h: Likewise.
47533         * sysdeps/i386/i386-mcount.S: Likewise.
47534         * sysdeps/x86_64/_mcount.S: Likewise.
47535         * sysdeps/x86_64/sysdep.h: Likewise.
47536         * sysdeps/sh/_mcount.S: Likewise.
47537         * sysdeps/sh/sysdep.h: Likewise.
47538         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
47539         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
47540         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
47541         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47542         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
47543         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
47544         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
47545         * locale/localeinfo.h: Likewise.
47546         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
47547         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
47549 2012-07-09  Roland McGrath  <roland@hack.frob.com>
47551         [BZ #14336]
47552         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
47553         system".
47554         * manual/message.texi (The Uniforum approach): Likewise.
47555         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
47556         (glibc iconv Implementation): Likewise.
47558 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
47560         [BZ #14337]
47561         * math/s_clog.c (__clog): Avoid scaling a value down where that
47562         could result in underflow.
47563         * math/s_clog10.c (__clog10): Likewise.
47564         * math/s_clog10f.c (__clog10f): Likewise.
47565         * math/s_clog10l.c (__clog10l): Likewise.
47566         * math/s_clogf.c (__clogf): Likewise.
47567         * math/s_clogl.c (__clogl): Likewise.
47568         * math/libm-test.inc (clog_test): Add more tests.
47569         (clog10_test): Likewise.
47570         * sysdeps/i386/fpu/libm-test-ulps: Update.
47571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47573 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
47575         [BZ #14283]
47576         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
47577         by 7 not 8 to examine high bit of fractional part.
47579         [BZ #14042]
47580         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
47581         for call to __mcount_internal.
47582         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
47583         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
47584         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
47586 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
47588         [BZ #14154]
47589         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
47590         approximation for values within 0x1p-13f of an odd multiple of
47591         pi/4.
47592         * math/libm-test.inc (tan_test): Do not allow spurious underflow
47593         exception.  Add more tests.
47594         * sysdeps/i386/fpu/libm-test-ulps: Update.
47596         [BZ #6778]
47597         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
47598         inputs and return -1 for them.  Do not check for +Inf in case not
47599         reachable for +Inf.
47600         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
47601         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
47602         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
47603         and return -1 for them.  Do not check for +Inf in case not
47604         reachable for +Inf.
47605         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
47606         define.
47607         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
47608         and return -1 for them.  Do not check for +Inf in case not
47609         reachable for +Inf.
47610         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
47611         spurious underflow.
47612         * sysdeps/i386/fpu/libm-test-ulps: Update.
47613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47615 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
47617         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
47619 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
47621         [BZ #14157]
47622         [BZ #14331]
47623         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
47624         could result in spurious underflow.  Scale down values above
47625         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
47626         * math/s_csqrtf.c (__csqrtf): Likewise.
47627         * math/s_csqrtl.c (__csqrtl): Likewise.
47628         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
47629         spurious underflow.
47630         * sysdeps/i386/fpu/libm-test-ulps: Update.
47631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47633 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
47635         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
47636         xopen-msg.sed.
47637         * catgets/xopen-msg.awk: New file.
47638         * catgets/xopen-msg.sed: Removed.
47640         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
47641         po2text.sed.
47642         * intl/po2test.awk: New file.
47643         * intl/po2test.sed: Removed.
47645 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
47647         [BZ #14328]
47648         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
47649         or multiply small sinh result by itself.
47650         * math/s_ctanf.c (__ctanf): Likewise.
47651         * math/s_ctanh.c (__ctanh): Likewise.
47652         * math/s_ctanhf.c (__ctanhf): Likewise.
47653         * math/s_ctanhl.c (__ctanhl): Likewise.
47654         * math/s_ctanl.c (__ctanl): Likewise.
47655         * math/libm-test.inc (ctan_test_tonearest): New function.
47656         (ctan_test_towardzero): Likewise.
47657         (ctan_test_downward): Likewise.
47658         (ctan_test_upward): Likewise.
47659         (ctanh_test_tonearest): Likewise.
47660         (ctanh_test_towardzero): Likewise.
47661         (ctanh_test_downward): Likewise.
47662         (ctanh_test_upward): Likewise.
47663         (main): Call these new functions.
47664         * sysdeps/i386/fpu/libm-test-ulps: Update.
47665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47667 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
47669         * .gitignore: Delete /ports entry.
47671 2012-07-03  Andreas Jaeger  <aj@suse.de>
47673         * po/bg.po: Update from translation team.
47674         * po/cs.po: Likewise.
47675         * po/de.po: Likewise.
47676         * po/hr.po: Likewise.
47677         * po/nl.pl: Likewise.
47678         * po/pl.po: Likewise.
47679         * po/vi.po: Likewise.
47681 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
47683         * Makeconfig [!+link] (+link-before-libc): New variable.
47684         [!+link] (+link-after-libc): Likewise.
47685         [!+link] (+link-tests): Likewise.
47686         [!+link] (+link): Define in terms of $(+link-before-libc) and
47687         $(+link-after-libc).
47688         [!+link-static] (+link-static-before-libc): New variable.
47689         [!+link-static] (+link-static-after-libc): Likewise.
47690         [!+link-static] (+link-static-tests): Likewise.
47691         [!+link-static] (+link-static): Define in terms of
47692         $(+link-static-before-libc) and $(+link-static-after-libc).
47693         [build-shared] (link-libc-before-gnulib): New variable.
47694         [build-shared] (link-libc-tests): Likewise.
47695         [build-shared] (link-libc): Define in terms of
47696         $(link-libc-before-gnulib).
47697         [!build-shared] (link-libc-tests): New variable.
47698         (link-libc-static-tests): New variable.
47699         [!gnulib] (gnulib-arch): New variable.
47700         [!gnulib] (gnulib-tests): Likewise.
47701         [!gnulib] (static-gnulib-arch): Likewise.
47702         [!gnulib] (static-gnulib-tests): Likewise.
47703         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
47704         Define with "=" instead of ":=".
47705         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
47706         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
47707         * Rules (binaries-all-notests): New variable.
47708         (binaries-all-tests): Likewise.
47709         (binaries-static-notests): Likewise.
47710         (binaries-static-tests): Likewise.
47711         (binaries-all): Define using $(binaries-all-notests) and
47712         $(binaries-all-tests).
47713         (binaries-static): Define using $(binaries-static-notests) and
47714         $(binaries-static-tests).
47715         (binaries-shared-tests): New variable.
47716         (binaries-shared-notests): Likewise.
47717         (binaries-shared): Remove variable.
47718         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
47719         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
47720         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
47721         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
47722         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
47723         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
47724         * elf/Makefile (sln-modules): New variable.
47725         (extra-objs): Add $(sln-modules:=.o).
47726         (ldconfig-modules): Add static-stubs.
47727         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
47728         * elf/static-stubs.c: New file.
47730         [BZ #14283]
47731         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
47732         by 7 not 8 to examine high bit of fractional part.  Use volatile
47733         variables when splitting into final array of floats if
47734         __FLT_EVAL_METHOD__ != 0.
47735         * math/libm-test.inc (cos_test): Add another test.
47736         (sin_test): Likewise.
47737         * sysdeps/i386/fpu/libm-test-ulps: Update.
47739         [BZ #14273]
47740         * math/libm-test.inc (cosh_test): Add more tests.
47742         * version.h (RELEASE): Set to "development".
47743         (VERSION): Set to "2.16.90".
47745 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
47747         * NEWS: Update copyright. Remove last-updated date.
47748         Mention math library bug fixes and timezone data changes.
47749         * README: Mention GNU/Hurd, x32, and HPPA support status.
47751 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
47753         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
47755 2012-06-27  Andreas Jaeger  <aj@suse.de>
47757         * manual/contrib.texi (Contributors): Add Samuel Thibault.
47759 2012-06-25  Andreas Jaeger  <aj@suse.de>
47761         * sysdeps/s390/fpu/libm-test-ulps: Update.
47763 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
47764             Thomas Schwinge  <thomas@codesourcery.com>
47766         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
47767         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
47768         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
47769         fanotify_mark.
47771 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
47773         * sysdeps/mach/start.c: Remove file.
47774         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
47775         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
47776         * sysdeps/sh/init-first.c: Likewise.
47778         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
47779         registers for frame unwinding purposes, add CFI directives.
47780         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
47781         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
47782         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
47783         Likewise.
47785         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
47786         __fortify_fail returning.
47787         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
47789         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
47790         sysdeps/sh/____longjmp_chk.S.
47791         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
47792         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
47793         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
47794         (gen-as-const-headers): Append sigaltstack-offsets.sym.
47796         * sysdeps/sh/abort-instr.h: New file.
47797         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
47798         process in case exit returns.
47800         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
47801         initialize the GOT register before use.
47803         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
47804         calculation of ARGC > 4.
47806         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
47807         meaningful names to some local labels.
47809 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47810             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47812         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
47813         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
47814         (__arch_compare_and_exchange_val_16_acq): Likewise.
47815         (__arch_compare_and_exchange_val_32_acq): Likewise.
47816         (atomic_exchange_and_add): Fix gUSA sequence.
47817         (atomic_add): Likewise.
47818         (atomic_add_negative): Likewise.
47819         (atomic_add_zero): Likewise.
47820         (atomic_bit_test_set): Likewise.
47822 2012-06-22  Andreas Schwab  <schwab@redhat.com>
47824         [BZ #13579]
47825         * include/link.h (struct link_map): Add l_free_initfini.
47826         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
47827         l_initfini.
47828         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
47829         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
47830         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
47831         set.
47833 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
47835         * configure.in: Use AC_LANG_SOURCE.
47836         * configure: Regenerate.
47838 2012-06-22  Roland McGrath  <roland@hack.frob.com>
47840         * configure.in (libc_cv_localstatedir): New substituted variable.
47841         * configure: Regenerated.
47842         * config.make.in (localstatedir): New variable, substituted from
47843         libc_cv_localstatedir.
47844         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
47845         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
47846         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
47847         * sysdeps/gnu/configure: Regenerated.
47849 2012-06-21  Jeff Law  <law@redhat.com>
47851         [BZ #14277]
47852         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
47853         free.  Simplify list management for _LIBC case.
47855 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
47857         [BZ #14273]
47858         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
47859         Clear sign bit of 64-bit integer value before comparing against
47860         overflow value.
47862         * sysdeps/mach/configure: Regenerated.
47864 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
47866         [BZ #14278]
47867         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
47869 2012-06-21  Jeff Law  <law@redhat.com>
47871         [BZ #13882]
47872         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
47873         uint16_t for elements in the "seen" array to avoid char overflows.
47874         * elf/dl-fini.c (_dl_sort_fini): Likewise.
47875         * elf/dl-open.c (dl_open_worker): Likewise.
47877 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
47879         * scripts/list-sources.sh: Scan PORTS for translations.
47880         * po/libc.pot: Regenerated.
47882 2012-06-21  Andreas Jaeger  <aj@suse.de>
47884         [BZ #12194]
47885         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
47886         warning.
47887         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
47888         * bits/byteswap-16.h (__bswap_16): Likewise.
47889         * bits/byteswap.h (__bswap_constant_16): Likewise.
47891 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
47893         [BZ #14117]
47894         * sysdeps/i386/fpu_control.h: Removed.
47895         * sysdeps/x86_64/fpu_control.h: Moved to ...
47896         * sysdeps/x86/fpu_control.h: Here.
47898         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
47899         (_FPU_SETCW): Likewise.
47901 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
47903         [BZ #14117]
47904         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
47905         * sysdeps/x86/fpu/bits/mathinline.h: This.
47906         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
47908         [BZ #14050]
47909         [BZ #14117]
47910         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
47911         functions if __x86_64__ is defined.
47913 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
47915         * string/endian.h: Add !__ASSEMBLER__ condition for including
47916         conversion interfaces.
47918 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
47920         [BZ #14241]
47921         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
47922         of ABS(x) in calculating zero to negative powers other than odd
47923         integers.
47924         * math/libm-test.inc (pow_test): Add more tests.
47926 2012-06-15  Andreas Jaeger  <aj@suse.de>
47928         * manual/contrib.texi (Contributors): Update entry of Liubov
47929         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
47930         Machado Filho.
47932 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
47934         * string/string.h: Add __wur to GNU version of strerror_r.
47936 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
47938         [BZ #14229]
47939         * string/Makefile (tests): Add tst-strtok_r.
47940         * string/tst-strtok_r.c: New file.
47941         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
47942         RAX_LP/RDX_LP on SAVE_PTR.
47944 2012-06-14  Roland McGrath  <roland@hack.frob.com>
47946         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
47948 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
47950         * libm_test.inc (csqrt_test): Allow more spurious underflow
47951         exceptions.
47952         (j0_test): Likewise.
47953         (j1_test): Likewise.
47954         (y0_test): Likewise.
47955         (y1_test): Likewise.
47957 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
47959         * po/Makefile (libc.pot): Use UTF-8 charset.
47961 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
47963         [BZ #14210]
47964         Suppress sign-conversion warning from FD_SET.
47965         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
47966         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
47967         not unsigned long int.
47968         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
47970 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
47972         [BZ #14050]
47973         [BZ #14117]
47974         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
47975         __extern_always_inline instead of __extern_inline.
47976         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
47977         (__signbit): Likewise.
47978         (__signbitl): Support C++ namespace.
47979         (lrintf): New inline function.
47980         (lrint): Likewise.
47981         (llrintf): Likewise.
47982         (llrint): Likewise.
47983         (fmaxf): Likewise.
47984         (fmax): Likewise.
47985         (fminf): Likewise.
47986         (fmin): Likewise.
47987         (rint): Likewise.
47988         (rintf): Likewise.
47989         (ceil): Likewise.
47990         (ceilf): Likewise.
47991         (floor): Likewise.
47992         (floorf): Likewise.
47993         (nearbyint): Likewise.
47994         (nearbyintf): Likewise.
47996 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
47998         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
47999         non-default versions.
48001 2012-06-11  Roland McGrath  <roland@hack.frob.com>
48003         [BZ #14218]
48004         * manual/argp.texi (Argp): Reword argp_parse description slightly.
48006 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
48008         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
48009         (FE_UPWARD, FE_DOWNWARD): Don't define.
48010         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
48011         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
48013         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
48014         reading it.
48015         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
48016         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48018 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48020         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
48021         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
48022         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
48023         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
48025 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
48027         [BZ #14117]
48028         * sysdeps/i386/fpu/bits/fenv.h: Removed.
48029         * sysdeps/i386/fpu/Implies: New file.
48030         * sysdeps/x86_64/fpu/Implies: Likewise.
48031         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
48032         * sysdeps/x86/fpu/bits/fenv.h: This.
48034         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
48035         __SSE_MATH__.
48037 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
48039         [BZ #14134]
48040         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
48041         character 0xffff that matches the last element of the
48042         conversion table.
48044 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48046         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
48047         fmodl commit.
48049 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48051         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
48052         values higher than 25.6283.
48054 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48056         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
48057         subnormal exponent extraction and add some __builtin_expect.
48058         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
48059         Fix for subnormal mantissa calculation.
48061 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
48063         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
48064         cpu2 is -1 and errno is not ENOSYS.
48066 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
48068         [BZ #14117]
48069         * sysdeps/i386/i486/bits/string.h: Renamed to ...
48070         * sysdeps/x86/bits/string.h: This.
48071         * sysdeps/x86_64/bits/string.h: Removed.
48073         * sysdeps/i386/i486/bits/string.h: Define inline functions only
48074         if not compiling for x86-64, but compiling for >= i486.
48076         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
48077         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
48079         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
48080         New macro from Linux kernel 3.4.0.
48081         (FP_XSTATE_MAGIC2): Likewise.
48082         (FP_XSTATE_MAGIC2_SIZE): Likewise.
48083         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
48084         (struct _fpx_sw_bytes): New struct.
48085         (struct _xsave_hdr): Likewise.
48086         (struct _ymmh_state): Likewise.
48087         (struct _xstate): Likewise.
48089         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
48090         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
48091         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
48092         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
48093         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
48094         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
48096         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
48097         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
48098         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
48099         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
48100         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
48101         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
48103 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48105         [BZ #13743]
48106         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
48107         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
48108         (sysdep_headers): Include sys/platform/ppc.h.
48109         * sysdeps/powerpc/test-gettimebase.c: Test for
48110         __ppc_get_timebase() to catch future ISA opcode/insn changes.
48111         * manual/Makefile (appendices): Include platform.texi.
48112         * manual/contrib.texi (Contributors): Update @node pointers.
48113         * manual/maint.texi (Maintenance): Likewise.
48114         (Platform): New node.
48115         * manual/platform.texi: New file.  Document the new features.
48117 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48118             Jakub Jelinek  <jakub@redhat.com>
48120         [BZ #14188]
48121         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
48122         where __builtin_expect is unavailable.
48124 2012-06-03  David S. Miller  <davem@davemloft.net>
48126         * stdlib/longlong.h: Updated from GCC.
48128 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
48130         [BZ #14042]
48131         * sysdeps/powerpc/powerpc32/mcount.c: New file.
48132         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
48133         __mcount_internal.
48134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
48135         (GLIBC_2.16): Likewise.
48137 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
48139         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
48141 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
48143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
48144         (default-abi): New variable.
48145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
48146         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
48147         variable.
48148         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
48149         Likewise.
48150         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
48151         Likewise.
48152         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
48153         Likewise.
48155         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
48156         definition.  Document in comment.
48158 2012-06-01  David S. Miller  <davem@davemloft.net>
48160         * stdlib/longlong.h: Updated from GCC.
48162 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
48164         [BZ #14117]
48165         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
48166         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
48167         sys/debugreg.h sys/io.h here.
48168         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
48169         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
48170         sys/io.h.
48171         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
48172         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
48173         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
48174         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
48175         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
48176         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
48178         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
48179         Define only if __x86_64__ is defined.
48181 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
48183         [BZ #14048]
48184         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
48185         Use int64_t for variable i.
48186         * math/libm-test.inc (fmod_test): Add more tests.
48188         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
48189         z computation is not scheduled after fetestexcept.
48190         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
48191         Use math_force_eval instead of asm to ensure calculation scheduled
48192         before exception test.
48193         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
48194         Ensure a1 + u.d computation is not scheduled after fetestexcept.
48196 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
48198         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
48199         computation is not scheduled after fetestexcept.
48201 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
48203         [BZ #14117]
48204         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
48205         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
48207 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48209         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
48210         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
48212 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
48214         [BZ #14117]
48215         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
48216         <bits/wordsize.h>.
48217         (__WCHAR_MIN): Support __WORDSIZE == 64.
48218         (__WCHAR_MAX): Likewise.
48220         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
48221         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
48223         [BZ #14183]
48224         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
48225         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
48227         [BZ #14117]
48228         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
48229         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
48231         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
48232         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
48234         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
48235         Defined to 1 if __x86_64__ isn't defined.
48236         (_STAT_VER_LINUX_OLD): New.
48237         (st_atime): Remove duplicate.
48238         (st_mtime): Likewise.
48239         (st_ctime): Likewise.
48241 2012-05-31  David S. Miller  <davem@davemloft.net>
48243         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
48244         entries.
48246 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
48248         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
48249         gen-libm-test.pl.
48251         [BZ #14132]
48252         * elf/dl-reloc.c: Include <_itoa.h>.
48253         (_dl_reloc_bad_type): Remove use of INTUSE.
48254         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
48255         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
48256         * stdio-common/psiginfo.c (psiginfo): Likewise.
48257         * stdio-common/psignal.c (psignal): Likewise.
48258         * string/strsignal.c (strsignal): Likewise.
48259         * include/signal.h (_sys_siglist): Declare hidden proto.
48260         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
48261         INTVARDEF with libc_hidden_data_def.
48262         * stdio-common/itoa-udigits.c: Likewise.
48263         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
48264         (_itoa_lower_digits_internal): Remove declaration.
48265         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
48266         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
48267         (_sys_sigabbrev_internal): Remove aliases.
48268         (_sys_siglist): Define hidden alias.
48270 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
48272         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48273         bits/sysctl.h.
48275 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
48277         [BZ #14117]
48278         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
48279         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
48281         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
48282         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
48283         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
48284         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
48285         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
48286         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
48288         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
48289         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
48290         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
48292         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
48293         with __addr.
48294         (insw): Likewise.
48295         (insl): Likewise.
48296         (outsb): Likewise.
48297         (outsw): Likewise.
48298         (outsl): Likewise.
48300         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
48301         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
48302         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
48304         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
48305         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
48306         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
48307         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
48308         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
48309         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
48311         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
48312         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
48314         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
48315         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
48317         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
48318         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
48319         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
48321         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
48322         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
48323         to ...
48324         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
48326         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
48327         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
48328         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
48330         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
48331         for x86-64.
48332         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
48334 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
48336         * math/math.h (M_El): Use two more decimal places.
48337         (M_LOG2El): Likewise.
48338         (M_LOG10El): Likewise.
48339         (M_LN2l): Likewise.
48340         (M_LN10l): Likewise.
48341         (M_PIl): Likewise.
48342         (M_PI_2l): Likewise.
48343         (M_PI_4l): Likewise.
48344         (M_1_PIl): Likewise.
48345         (M_2_PIl): Likewise.
48346         (M_2_SQRTPIl): Likewise.
48347         (M_SQRT2l): Likewise.
48348         (M_SQRT1_2l): Likewise.
48350 2012-05-31  David S. Miller  <davem@davemloft.net>
48352         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
48353         values between float registers.
48354         * sysdeps/sparc/sparc64/memset.S: Likewise.
48355         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
48357 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
48359         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
48360         -D_FORTIFY_SOURCE=1.
48361         (CPPFLAGS-tst-longjmp_chk.c): Define.
48362         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
48363         (CPPFLAGS-tst-longjmp_chk2.c): Define.
48364         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
48365         CFLAGS-tst-wchar-h.c.
48367 2012-05-31  Marek Polacek  <polacek@redhat.com>
48369         [BZ #14132]
48370         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
48371         __endmntent_internal): Remove declaration.
48372         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
48373         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
48374         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
48376 2012-05-30  David S. Miller  <davem@davemloft.net>
48378         * sysdeps/sparc/sparc32/soft-fp/q_util.c
48379         (___Q_simulate_exceptions): Use real FP ops rather than writing
48380         into the %fsr.
48381         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
48382         Likewise.
48384 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48386         [BZ #14117]
48387         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
48388         * sysdeps/x86/bits/xtitypes.h: This.
48390         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
48391         * sysdeps/x86/bits/wordsize.h: This.
48393         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
48394         * sysdeps/x86/bits/huge_vall.h: This.
48396         * sysdeps/i386/bits/select.h: Removed.
48397         * sysdeps/x86_64/bits/select.h: Renamed to ...
48398         * sysdeps/x86/bits/select.h: This.
48400         * sysdeps/i386/bits/setjmp.h: Removed.
48401         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
48402         * sysdeps/x86/bits/setjmp.h: This.
48404         * sysdeps/i386/bits/mathdef.h: Removed.
48405         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
48406         * sysdeps/x86/bits/mathdef.h: This.
48408 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
48410         [BZ #14132]
48411         * include/sys/socket.h (__connect_internal)
48412         (__libc_sa_len_internal): Remove declaration.
48413         (__connect, __libc_sa_len): Declare hidden_proto.
48414         (SA_LEN): Remove use of INTUSE.
48415         * socket/connect.c: Add libc_hidden_def.
48416         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
48417         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
48418         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
48419         alias.
48420         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
48421         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
48422         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
48423         of adding _internal alias.
48425 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48427         [BZ #14117]
48428         * sysdeps/i386/bits/link.h: Removed.
48429         * sysdeps/i386/bits/linkmap.h: Likewise.
48430         * sysdeps/x86_64/bits/link.h: Renamed to ...
48431         * sysdeps/x86/bits/link.h: This.
48432         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
48433         * sysdeps/x86/bits/linkmap.h: This.
48435         * sysdeps/i386/bits/endian.h: Removed.
48436         * sysdeps/x86_64/bits/endian.h: Renamed to ...
48437         * sysdeps/x86/bits/endian.h: This.
48439         * sysdeps/i386/bits/byteswap.h: Removed.
48440         * sysdeps/i386/bits/byteswap-16.h: Likewise.
48441         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
48442         * sysdeps/x86/bits/byteswap.h: This.
48443         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
48444         * sysdeps/x86/bits/byteswap-16.h: This.
48445         * sysdeps/i386/Implies: Add x86.
48446         * sysdeps/x86_64/Implies: Likewise.
48448 2012-05-30  David S. Miller  <davem@davemloft.net>
48450         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
48451         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
48452         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
48453         (FP_TRAPPING_EXCEPTIONS): Define.
48454         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
48455         (FP_TRAPPING_EXCEPTIONS): Define.
48456         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
48457         subnormals only when inexact has been signalled or underflow
48458         exceptions are enabled.
48459         (_FP_PACK_CANONICAL): Likewise.
48461 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48463         [BZ #14183]
48464         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
48465         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
48467 2012-05-30  Richard Henderson  <rth@twiddle.net>
48469         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
48470         with #ifndef NOT_IN_libc.
48472         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
48473         marked to avoid plt entry.
48475 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48477         [BZ #14112]
48478         * Makeconfig (default-abi): New macro.
48479         (abi-includes): Likewise.
48480         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
48481         $(abi-$(default-abi)-lib-soname) for soname if defined.
48482         ($(common-objpfx)gnu/lib-names.stmp): Generate from
48483         abi-variants.
48484         * Makefile (installed-stubs): Likewise.
48485         * include/stubs-biarch.h: Removed.
48486         * scripts/lib-names.awk: Only handle one library at a time.
48487         * scripts/soversions.awk: Remove WORDSIZE support.
48488         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
48489         entries.
48490         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
48491         Removed.
48492         (syscall-list-default-condition): Likewise.
48493         (syscall-list-default-condition): Likewise.
48494         (syscall-list-includes): Likewise.
48495         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
48496         syscall-list-* with abi-*.  Handle undefined abi-variants.
48497         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
48498         * sysdeps/unix/sysv/linux/i386/Implies: New file.
48499         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
48500         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
48501         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
48502         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
48503         Removed.
48504         (syscall-list-32-options): Likewise.
48505         (syscall-list-32-condition): Likewise.
48506         (syscall-list-64-options): Likewise.
48507         (syscall-list-64-condition): Likewise.
48508         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
48509         macro.
48510         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
48511         Renamed to ...
48512         (abi-*): This.
48513         (abi-64-ld-soname): New macro.
48514         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
48515         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
48516         Renamed to ...
48517         (abi-*): This.
48518         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
48519         * sysdeps/x86_64/x32/shlib-versions: Likewise.
48521 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
48523         * sysdeps/unix/sysv/linux/kernel-features.h
48524         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
48525         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
48526         include <kernel-features.h>.
48527         [!__NR_ftruncate64]: Remove conditional code.
48528         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48529         [__NR_ftruncate64]: Make code unconditional.
48530         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48531         * sysdeps/unix/sysv/linux/truncate64.c: Do not
48532         include <kernel-features.h>.
48533         [!__NR_ftruncate64]: Remove conditional code.
48534         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48535         [__NR_ftruncate64]: Make code unconditional.
48536         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
48538         include <kernel-features.h>.
48539         [!__NR_ftruncate64]: Remove conditional code.
48540         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48541         [__NR_ftruncate64]: Make code unconditional.
48542         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
48544         include <kernel-features.h>.
48545         [!__NR_ftruncate64]: Remove conditional code.
48546         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48547         [__NR_ftruncate64]: Make code unconditional.
48548         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48550         * configure.in (libc_cv_fpie): Weaken to a compile test using
48551         LIBC_TRY_CC_OPTION.
48552         * configure: Regenerated.
48554 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48556         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
48557         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
48558         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
48559         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48560         Refreshed.
48561         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
48562         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
48563         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
48564         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
48565         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
48566         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48567         Refreshed.
48569 2012-05-27  David S. Miller  <davem@davemloft.net>
48571         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
48572         (___Q_zero): New.
48573         (__Q_simulate_exceptions): Return void.  Change to simulate
48574         exceptions by writing into the %fsr.
48575         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
48576         (__Qp_handle_exceptions): Likewise.
48577         (numbers): Delete.
48578         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
48579         __Qp_handle_exceptions.
48580         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
48581         __Qp_handle_exceptions.
48582         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
48583         as unused and give dummy FP_RND_NEAREST initializer.
48584         (FP_INHIBIT_RESULTS): Define.
48585         (___Q_simulate_exceptions): Update declaration.
48586         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
48587         formatting.
48588         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
48589         as unused and give dummy FP_RND_NEAREST initializer.
48590         (__Qp_handle_exceptions): Update declaration.
48591         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
48592         formatting.
48594 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
48596         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
48597         the temporary FPU control word.
48598         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
48599         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
48600         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
48601         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
48602         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
48603         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
48604         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
48605         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
48606         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
48607         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
48608         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48610 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48612         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
48613         fields.
48615 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
48617         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
48618         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
48619         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
48620         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
48621         Likewise.
48622         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
48623         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
48624         Likewise.
48626 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
48628         * po/h.po: Update from translation team.
48630 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
48632         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
48634         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
48635         handling of denormals.
48636         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48637         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
48638         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
48639         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
48640         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48641         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
48642         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
48643         Likewise.
48645 2012-05-26  Marek Polacek  <polacek@redhat.com>
48647         [BZ #14152]
48648         * math/libm-test.inc (fma_test): Don't always expect underflow
48649         exception.
48651 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48653         [BZ #12416]
48654         * elf/tst-execstack.c: Include stackinfo.h.
48655         (do_test): Adjust test case to ensure that pthread_getattr_np
48656         behaviour remains the same after marking stack executable.
48658 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
48660         * sysdeps/unix/sysv/linux/kernel-features.h
48661         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
48662         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
48663         kernel-features.h.
48664         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
48665         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
48666         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
48667         kernel-features.h.
48668         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
48669         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
48671 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
48673         * configure.in: Define the default includes to being none.
48674         * configure: Regenerated.
48676 2012-05-25  Roland McGrath  <roland@hack.frob.com>
48678         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
48679         * sysdeps/x86_64/setjmp.S: Likewise.
48680         * sysdeps/i386/bsd-setjmp.S: Likewise.
48681         * sysdeps/i386/bsd-_setjmp.S: Likewise.
48682         * sysdeps/i386/setjmp.S: Likewise.
48683         * sysdeps/i386/__longjmp.S: Likewise.
48684         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
48685         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
48687         * include/stap-probe.h: New file.
48688         * configure.in: Handle --enable-systemtap.
48689         * configure: Regenerated.
48690         * config.h.in (USE_STAP_PROBE): New #undef.
48691         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
48692         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
48693         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
48695 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
48697         [BZ #13717]
48698         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
48699         to 2.4.0 where earlier.
48700         * sysdeps/unix/sysv/linux/configure: Regenerated.
48701         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
48702         <kernel-features.h>.
48703         [__ASSUME_32BITUIDS]: Make code unconditional.
48704         [!__ASSUME_32BITUIDS]: Remove conditional code.
48705         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
48706         <kernel-features.h>.
48707         [__ASSUME_32BITUIDS]: Make code unconditional.
48708         [!__ASSUME_32BITUIDS]: Remove conditional code.
48709         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
48710         [__ASSUME_32BITUIDS]: Make code unconditional.
48711         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
48712         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
48713         <kernel-features.h>.
48714         [__ASSUME_32BITUIDS]: Make code unconditional.
48715         [!__ASSUME_32BITUIDS]: Remove conditional code.
48716         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
48717         <kernel-features.h>.
48718         [__ASSUME_32BITUIDS]: Make code unconditional.
48719         [!__ASSUME_32BITUIDS]: Remove conditional code.
48720         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
48721         <kernel-features.h>.
48722         [__ASSUME_32BITUIDS]: Make code unconditional.
48723         [!__ASSUME_32BITUIDS]: Remove conditional code.
48724         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
48725         <kernel-features.h>.
48726         [__ASSUME_32BITUIDS]: Make code unconditional.
48727         [!__ASSUME_32BITUIDS]: Remove conditional code.
48728         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
48729         <kernel-features.h>.
48730         [__ASSUME_32BITUIDS]: Make code unconditional.
48731         [!__ASSUME_32BITUIDS]: Remove conditional code.
48732         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
48733         <kernel-features.h>.
48734         [__ASSUME_32BITUIDS]: Make code unconditional.
48735         [!__ASSUME_32BITUIDS]: Remove conditional code.
48736         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
48737         <kernel-features.h>.
48738         [__ASSUME_32BITUIDS]: Make code unconditional.
48739         [!__ASSUME_32BITUIDS]: Remove conditional code.
48740         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
48741         <kernel-features.h>.
48742         [__ASSUME_32BITUIDS]: Make code unconditional.
48743         [!__ASSUME_32BITUIDS]: Remove conditional code.
48744         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
48745         <kernel-features.h>.
48746         [__ASSUME_32BITUIDS]: Make code unconditional.
48747         [!__ASSUME_32BITUIDS]: Remove conditional code.
48748         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
48749         <kernel-features.h>.
48750         [__ASSUME_32BITUIDS]: Make code unconditional.
48751         [!__ASSUME_32BITUIDS]: Remove conditional code.
48752         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
48753         <kernel-features.h>.
48754         [__NR_setresgid] (__setresgid): Do not declare.
48755         [__ASSUME_32BITUIDS]: Make code unconditional.
48756         [!__ASSUME_32BITUIDS]: Remove conditional code.
48757         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
48758         <kernel-features.h>.
48759         [__NR_setresuid] (__setresuid): Do not declare.
48760         [__ASSUME_32BITUIDS]: Make code unconditional.
48761         [!__ASSUME_32BITUIDS]: Remove conditional code.
48762         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
48763         <kernel-features.h>.
48764         [__ASSUME_32BITUIDS]: Make code unconditional.
48765         [!__ASSUME_32BITUIDS]: Remove conditional code.
48766         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
48767         <kernel-features.h>.
48768         [__ASSUME_32BITUIDS]: Make code unconditional.
48769         [!__ASSUME_32BITUIDS]: Remove conditional code.
48770         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
48771         <kernel-features.h>.
48772         [__ASSUME_32BITUIDS]: Make code unconditional.
48773         [!__ASSUME_32BITUIDS]: Remove conditional code.
48774         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
48775         <kernel-features.h>.
48776         [__ASSUME_32BITUIDS]: Make code unconditional.
48777         [!__ASSUME_32BITUIDS]: Remove conditional code.
48778         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
48779         <kernel-features.h>.
48780         [__ASSUME_32BITUIDS]: Make code unconditional.
48781         [!__ASSUME_32BITUIDS]: Remove conditional code.
48782         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
48783         <kernel-features.h>.
48784         [__ASSUME_32BITUIDS]: Make code unconditional.
48785         [!__ASSUME_32BITUIDS]: Remove conditional code.
48786         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
48787         <kernel-features.h>.
48788         [__ASSUME_32BITUIDS]: Make code unconditional.
48789         [!__ASSUME_32BITUIDS]: Remove conditional code.
48790         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
48791         <kernel-features.h>.
48792         [__ASSUME_32BITUIDS]: Make code unconditional.
48793         [!__ASSUME_32BITUIDS]: Remove conditional code.
48794         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
48795         <kernel-features.h>.
48796         [__ASSUME_32BITUIDS]: Make code unconditional.
48797         [!__ASSUME_32BITUIDS]: Remove conditional code.
48798         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
48799         <kernel-features.h>.
48800         [__ASSUME_32BITUIDS]: Make code unconditional.
48801         [!__ASSUME_32BITUIDS]: Remove conditional code.
48802         * sysdeps/unix/sysv/linux/kernel-features.h
48803         (__ASSUME_SETRESUID_SYSCALL): Remove.
48804         (__ASSUME_SETRESGID_SYSCALL): Likewise.
48805         (__ASSUME_32BITUIDS): Likewise.
48806         (__ASSUME_LDT_WORKS): Likewise.
48807         (__ASSUME_O_DIRECTORY): Likewise.
48808         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
48809         architecture but not kernel version.
48810         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
48811         (__ASSUME_MMAP2_SYSCALL): Likewise.
48812         (__ASSUME_STAT64_SYSCALL): Likewise.
48813         (__ASSUME_IPC64): Likewise.
48814         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
48815         <kernel-features.h>.
48816         [__ASSUME_32BITUIDS]: Make code unconditional.
48817         [!__ASSUME_32BITUIDS]: Remove conditional code.
48818         * sysdeps/unix/sysv/linux/opendir.c: Do not include
48819         <kernel-features.h>.
48820         [__ASSUME_O_DIRECTORY]: Make code unconditional.
48821         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
48822         132096]: Remove conditional code.
48823         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
48824         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
48825         <kernel-features.h>.
48826         [__ASSUME_32BITUIDS]: Make code unconditional.
48827         [!__ASSUME_32BITUIDS]: Remove conditional code.
48828         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
48829         <kernel-features.h>.
48830         [__ASSUME_32BITUIDS]: Make code unconditional.
48831         [!__ASSUME_32BITUIDS]: Remove conditional code.
48832         * sysdeps/unix/sysv/linux/setegid.c: Do not include
48833         <kernel-features.h>.
48834         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
48835         unconditional.
48836         (__setresgid): Do not declare.
48837         [__ASSUME_32BITUIDS]: Make code unconditional.
48838         [!__ASSUME_32BITUIDS]: Remove conditional code.
48839         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
48840         <kernel-features.h>.
48841         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
48842         unconditional.
48843         (__setresuid): Do not declare.
48844         [__ASSUME_32BITUIDS]: Make code unconditional.
48845         [!__ASSUME_32BITUIDS]: Remove conditional code.
48846         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
48847         <kernel-features.h>.
48848         [__ASSUME_32BITUIDS]: Make code unconditional.
48849         [!__ASSUME_32BITUIDS]: Remove conditional code.
48850         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
48851         <kernel-features.h>.
48852         [__ASSUME_32BITUIDS]: Make code unconditional.
48853         [!__ASSUME_32BITUIDS]: Remove conditional code.
48855 2012-05-25  Richard Henderson  <rth@twiddle.net>
48857         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
48858         dl_hwcap to ifunc resolver.
48859         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
48860         elf_ifunc_invoke.
48861         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
48862         dl_hwcap to ifunc resolver.
48863         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
48865 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48867         [BZ #14153]
48868         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
48869         for |x| <= 2**-26, not 2**-57.
48870         * math/libm-test.inc (acos_test): Do not allow spurious underflow
48871         exception.
48873 2012-05-24  Jeff Law  <law@redhat.com>
48875         * stdio-common/Makefile (tests): Add bug25.
48876         * stdio-common/bug25.c: New test.
48878 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
48880         [BZ #13576]
48881         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
48882         multiple of MALLOC_ALIGNMENT in size.
48883         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
48885 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48887         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
48888         Require >= 256.
48889         (FILENAME_MAX): Use macro-int-constant.
48890         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
48891         (_IOFBF): Use macro-int-constant.
48892         (_IOLBF): Likewise.
48893         (_IONBF): Likewise.
48894         (SEEK_CUR): Likewise.
48895         (SEEK_END): Likewise.
48896         (SEEK_SET): Likewise.
48897         (TMP_MAX): Likewise.
48898         (EOF): Use macro-int-constant.  Require < 0.
48899         (NULL): Use macro-constant.  Require == 0.
48900         (stdin): Require type to be FILE *.
48901         (stdout): Likewise.
48902         (stderr): Likewise.
48903         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
48904         macro-int-constant.
48905         (EXIT_SUCCESS): Likewise.
48906         (NULL): Use macro-constant.  Require == 0.
48907         (RAND_MAX): Use macro-int-constant.
48908         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
48909         [C99-based standards] (strtof): Require function.
48910         [C99-based standards] (strtold): Likewise.
48911         [C99-based standards] (strtoll): Likewise.
48912         [C99-based standards] (strtoull): Likewise.
48913         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
48914         [ISO || ISO99 || ISO11] (limits.h): Likewise.
48915         [ISO || ISO99 || ISO11] (math.h): Likewise.
48916         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
48917         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
48918         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48920 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
48922         [BZ #14132]
48923         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
48924         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
48925         * intl/dgettext.c (DCGETTEXT): Likewise.
48926         * intl/gettext.c (DCGETTEXT): Likewise.
48927         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
48928         * posix/regex_internal.h (gettext): Likewise.
48929         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
48930         Remove declaration.
48931         * include/argz.h (__argz_count_internal)
48932         (__argz_stringify_internal): Remove declaration.
48933         (__argz_count, __argz_stringify): Declare hidden proto.
48934         * intl/dcgettext.c: Remove use of INTDEF.
48935         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
48936         * string/argz-stringify.c: Likewise.
48937         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
48938         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
48939         Declare hidden proto.
48940         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
48941         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
48942         Declare hidden proto.
48943         * include/stdio.h (__asprintf_internal): Don't declare.
48944         (__asprintf): Don't define as macro.  Declare hidden proto.
48945         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
48946         (__fsetlocking): Declare hidden proto.
48947         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
48948         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
48949         hidden proto.
48950         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
48951         (_IO_setlinebuf): Remove use of INTUSE.
48952         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
48953         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
48954         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
48955         Remove declaration.
48956         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
48957         (_IO_do_flush): Remove use of INTUSE.
48958         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
48959         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
48960         (_IO_adjust_column, _IO_least_wmarker)
48961         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
48962         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
48963         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
48964         (_IO_default_doallocate, _IO_wdefault_doallocate)
48965         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
48966         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
48967         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
48968         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
48969         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
48970         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
48971         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
48972         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
48973         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
48974         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
48975         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
48976         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
48977         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
48978         proto.
48979         (_IO_flush_all_internal, _IO_adjust_column_internal)
48980         (_IO_default_uflow_internal, _IO_default_finish_internal)
48981         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
48982         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
48983         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
48984         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
48985         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
48986         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
48987         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
48988         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
48989         (_IO_file_close_internal, _IO_file_close_it_internal)
48990         (_IO_file_underflow_internal, _IO_file_overflow_internal)
48991         (_IO_file_init_internal, _IO_file_attach_internal)
48992         (_IO_file_fopen_internal, _IO_file_read_internal)
48993         (_IO_file_sync_internal, _IO_file_seek_internal)
48994         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
48995         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
48996         (_IO_str_underflow_internal, _IO_str_overflow_internal)
48997         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
48998         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
48999         (_IO_list_all_internal, _IO_link_in_internal)
49000         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
49001         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
49002         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
49003         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
49004         (_IO_do_write_internal, _IO_padn_internal)
49005         (_IO_getline_info_internal, _IO_getline_internal)
49006         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
49007         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
49008         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
49009         (_IO_vfscanf_internal, _IO_vfprintf_internal)
49010         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
49011         (_IO_init_internal, _IO_un_link_internal): Don't declare.
49012         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
49013         with libc_hidden_ver, remove use of INTUSE.
49014         * libio/genops.c: Likewise.
49015         * libio/freopen.c: Likewise.
49016         * libio/freopen64.c: Likewise.
49017         * libio/iofclose.c: Likewise.
49018         * libio/iofdopen.c: Likewise.
49019         * libio/iofflush.c: Likewise.
49020         * libio/iofflush_u.c: Likewise.
49021         * libio/iofgets.c: Likewise.
49022         * libio/iofgets_u.c: Likewise.
49023         * libio/iofopen.c: Likewise.
49024         * libio/iofopncook.c: Likewise.
49025         * libio/iofread.c: Likewise.
49026         * libio/iofread_u.c: Likewise.
49027         * libio/ioftell.c: Likewise.
49028         * libio/iofwrite.c: Likewise.
49029         * libio/iogetline.c: Likewise.
49030         * libio/iogets.c: Likewise.
49031         * libio/iogetwline.c: Likewise.
49032         * libio/iopadn.c: Likewise.
49033         * libio/iopopen.c: Likewise.
49034         * libio/ioseekoff.c: Likewise.
49035         * libio/ioseekpos.c: Likewise.
49036         * libio/iosetbuffer.c: Likewise.
49037         * libio/iosetvbuf.c: Likewise.
49038         * libio/ioungetc.c: Likewise.
49039         * libio/ioungetwc.c: Likewise.
49040         * libio/iovdprintf.c: Likewise.
49041         * libio/iovsprintf.c: Likewise.
49042         * libio/iovsscanf.c: Likewise.
49043         * libio/memstream.c: Likewise.
49044         * libio/obprintf.c: Likewise.
49045         * libio/oldfileops.c: Likewise.
49046         * libio/oldiofclose.c: Likewise.
49047         * libio/oldiofdopen.c: Likewise.
49048         * libio/oldiofopen.c: Likewise.
49049         * libio/oldiopopen.c: Likewise.
49050         * libio/oldstdfiles.c: Likewise.
49051         * libio/putc.c: Likewise.
49052         * libio/setbuf.c: Likewise.
49053         * libio/setlinebuf.c: Likewise.
49054         * libio/stdfiles.c: Likewise.
49055         * libio/strops.c: Likewise.
49056         * libio/vasprintf.c: Likewise.
49057         * libio/vscanf.c: Likewise.
49058         * libio/vsnprintf.c: Likewise.
49059         * libio/vswprintf.c: Likewise.
49060         * libio/wfiledoalloc.c: Likewise.
49061         * libio/wfileops.c: Likewise.
49062         * libio/wgenops.c: Likewise.
49063         * libio/wmemstream.c: Likewise.
49064         * libio/wstrops.c: Likewise.
49065         * libio/__fpurge.c: Likewise.
49066         * libio/__fsetlocking.c: Likewise.
49067         * assert/assert.c: Likewise.
49068         * debug/fgets_chk.c: Likewise.
49069         * debug/fgets_u_chk.c: Likewise.
49070         * debug/fread_chk.c: Likewise.
49071         * debug/fread_u_chk.c: Likewise.
49072         * debug/gets_chk.c: Likewise.
49073         * debug/obprintf_chk.c: Likewise.
49074         * debug/vasprintf_chk.c: Likewise.
49075         * debug/vdprintf_chk.c: Likewise.
49076         * debug/vsnprintf_chk.c: Likewise.
49077         * debug/vsprintf_chk.c: Likewise.
49078         * malloc/mtrace.c: Likewise.
49079         * misc/error.c: Likewise.
49080         * misc/syslog.c: Likewise.
49081         * stdio-common/asprintf.c: Likewise.
49082         * stdio-common/fxprintf.c: Likewise.
49083         * stdio-common/getw.c: Likewise.
49084         * stdio-common/isoc99_fscanf.c: Likewise.
49085         * stdio-common/isoc99_scanf.c: Likewise.
49086         * stdio-common/isoc99_vfscanf.c: Likewise.
49087         * stdio-common/isoc99_vscanf.c: Likewise.
49088         * stdio-common/isoc99_vsscanf.c: Likewise.
49089         * stdio-common/printf-prs.c: Likewise.
49090         * stdio-common/printf_fp.c: Likewise.
49091         * stdio-common/printf_fphex.c: Likewise.
49092         * stdio-common/printf_size.c: Likewise.
49093         * stdio-common/putw.c: Likewise.
49094         * stdio-common/scanf.c: Likewise.
49095         * stdio-common/sprintf.c: Likewise.
49096         * stdio-common/tmpfile.c: Likewise.
49097         * stdio-common/vfprintf.c: Likewise.
49098         * stdio-common/vfscanf.c: Likewise.
49099         * stdlib/strfmon_l.c: Likewise.
49100         * sunrpc/openchild.c: Likewise.
49101         * sunrpc/xdr_stdio.c: Likewise.
49102         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
49103         * sysdeps/mach/hurd/tmpfile.c: Likewise.
49105 2012-05-24  Roland McGrath  <roland@hack.frob.com>
49107         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
49109         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
49110         in the third column, to generate for the shared library an IFUNC
49111         that uses _dl_vdso_vsym.
49112         * Makerules (COMPILE.c, compile-stdin.c): New variables.
49113         * Makeconfig (object-suffixes-noshared): New variable.
49115         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
49116         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
49117         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
49118         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
49120         [BZ #14132]
49121         * include/sys/time.h (__gettimeofday): Remove macro.
49122         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
49123         * time/gettimeofday.c (__gettimeofday): Remove #undef.
49124         Remove INTDEF.
49125         (__gettimeofday): Add libc_hidden_def.
49126         (gettimeofday): Add libc_hidden_weak.
49127         * sysdeps/mach/gettimeofday.c: Likewise.
49128         * sysdeps/posix/gettimeofday.c: Likewise.
49129         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
49130         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
49131         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
49132         (__gettimeofday_internal): Remove strong_alias.
49133         (__gettimeofday): Add libc_hidden_def.
49134         (gettimeofday): Add libc_hidden_weak.
49135         * sysdeps/unix/syscalls.list (gettimeofday):
49136         Remove __gettimeofday_internal alias.
49138 2012-05-24  Daniel Jacobowitz  <drow@false.org>
49139             H.J. Lu  <hongjiu.lu@intel.com>
49141         [BZ #12495]
49142         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
49143         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
49144         (largebin_index_32_big): New.
49145         (largebin_index): Use it for 16-byte alignment.
49146         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
49147         correction with front_misalign.
49149 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
49151         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
49152         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
49153         Likewise.
49154         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
49155         Likewise.
49156         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
49157         Likewise.
49158         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
49159         Likewise.
49160         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
49161         Likewise.
49162         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
49163         Likewise.
49164         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
49165         Likewise.
49166         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
49167         Likewise.
49168         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
49169         Likewise.
49170         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
49171         Likewise.
49172         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
49173         Likewise.
49174         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
49175         Likewise.
49177         * scripts/data/c++-types-x32-linux-gnu.data: New file.
49178         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
49180 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
49182         [BZ #10846]
49183         [BZ #14036]
49184         * math/libm-test.inc (exp_test): Add test from bug 14036.
49185         (pow_test): Add test from bug 10846.
49187         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
49188         and other flags.
49189         (special_function): Do not include flags in test name.
49190         (parse_args): Likewise.
49191         * sysdeps/i386/fpu/libm-test-ulps: Update.
49192         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49193         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
49194         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
49195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49197         * math/gen-libm-test.pl (%beautify): Add entries for underflow
49198         exceptions.
49199         * math/libm-test.inc ("Philosophy"): Update comment about
49200         exception testing.
49201         (UNDERFLOW_EXCEPTION): New macro.
49202         (UNDERFLOW_EXCEPTION_OK): Likewise.
49203         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
49204         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
49205         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
49206         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
49207         (INVALID_EXCEPTION_OK): Update value.
49208         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
49209         (OVERFLOW_EXCEPTION_OK): Likewise.
49210         (IGNORE_ZERO_INF_SIGN): Likewise.
49211         (test_exceptions): Handle underflow exceptions.
49212         (acos_test): Update for underflow exception expectations.
49213         (cexp_test): Likewise.
49214         (clog_test): Likewise.
49215         (clog10_test): Likewise.
49216         (csqrt_test): Likewise.
49217         (ctan_test): Likewise.
49218         (ctanh_test): Likewise.
49219         (exp_test): Likewise.
49220         (exp10_test): Likewise.
49221         (exp2_test): Likewise.
49222         (expm1_test): Likewise.
49223         (fma_test): Likewise.
49224         (j0_test): Likewise.
49225         (jn_test): Likewise.
49226         (nexttoward_test): Likewise.
49227         (pow_test): Likewise.
49228         (scalbn_test): Likewise.
49229         (scalbln_test): Likewise.
49230         (tan_test): Likewise.
49231         (y1_test): Likewise.
49232         * sysdeps/i386/fpu/libm-test-ulps: Update.
49233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49235 2012-05-23  David S. Miller  <davem@davemloft.net>
49237         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
49238         (__libc_sigaction): Remove unused local variables.
49240 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
49242         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
49244 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
49246         mktime: avoid signed integer overflow
49247         * time/mktime.c (__mktime_internal): Do not mishandle the case
49248         where diff == INT_MIN.
49250         mktime: simplify computation of average
49251         * time/mktime.c (ranged_convert): Use new time_t_avg function
49252         instead of rolling our own (probably-slower) code.
49254         mktime: do not assume signed right shift propagates sign bit
49255         * time/mktime.c (isdst_differ): New static function.
49256         (__mktime_internal): No need to normalize tm_isdst now.
49257         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
49258         tm_isdst values.
49260         mktime: merge another wrapv change from gnulib
49261         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
49262         from some compilers.
49264         mktime: remove incorrect attempt at unusual arithmetics
49265         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
49266         The code didn't really work on such machines anyway.
49267         (TYPE_MINIMUM): Assume two's complement.
49268         (twos_complement_arithmetic): Verify that long_int and time_t
49269         are two's complement (or unsigned, in the latter case).
49271         mktime: check signed shifts on long_int and time_t, too
49272         * time/mktime.c (SHR): Check that shifts work as desired
49273         on the types long_int and time_t too, as SHR is used on
49274         such types.
49276         mktime: do not assume 'long' is wide enough
49277         * time/mktime.c (verify): Move decl up.
49278         (long_int): New type.
49279         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
49280         to remove assumption in the code that 'long' is wide enough to
49281         store year values.  This assumption is not true on x32 and on
49282         some non-glibc platforms.
49284         mktime: merge wrapv change from gnulib
49285         * time/mktime.c (WRAPV): New macro.
49286         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
49287         (guess_time_tm, __mktime_internal): Do not assume that signed
49288         integer overflow wraps around; modern compilers generate code
49289         where this assumption is no longer valid.
49291 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
49293         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
49294         Replace "jmp L(pseudo_end)" with "ret".
49295         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
49296         Likewise.
49298 2012-05-23  Andreas Jaeger  <aj@suse.de>
49300         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
49301         * sysdeps/unix/sysv/linux/poll.c: Remove file.
49303 2012-05-23  Andreas Jaeger  <aj@suse.de>
49304             Maximilian Attems  <max@stro.at>
49306         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
49307         New macros.
49309 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
49311         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
49312         code so that pseudo_end is just ret and the stack pointer is
49313         correct also for static library in error case.
49315 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
49317         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
49318         move to syscalls.list.
49319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
49320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
49321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
49322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
49324         * manual/install.texi (Running make install): Do not mention Linux
49325         kernel version for which pt_chown is not needed.
49326         (Linux): Do not mention problems with nscd with 2.0 kernels.
49327         * INSTALL: Regenerated.
49329 2012-05-23  Andreas Jaeger  <aj@suse.de>
49331         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
49332         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
49333         macro.
49334         * sysdeps/unix/sysv/linux/s390/bits/mman.h
49335         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49336         * sysdeps/unix/sysv/linux/sh/bits/mman.h
49337         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49338         * sysdeps/unix/sysv/linux/i386/bits/mman.h
49339         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49340         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
49341         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49342         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
49343         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49344         * sysdeps/unix/sysv/linux/bits/in.h
49345         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
49347 2012-05-22  Roland McGrath  <roland@hack.frob.com>
49349         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
49350         (PREPARE_VERSION): Just use assert instead, it will be elided
49351         under [NDEBUG] anyway.
49353 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
49355         * sysdeps/unix/sysv/linux/Makefile: Include
49356         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
49357         (sysdep_routines): Remove sysctl.
49358         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
49359         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
49360         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
49361         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
49362         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
49364 2012-05-22  Andreas Jaeger  <aj@suse.de>
49366         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
49367         that pseudo_end is just ret and the stack pointer is correct also
49368         for static library in error case.
49370 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
49372         [BZ #14122]
49373         * nss/nsswitch.c (defconfig_entries): New variable.
49374         (__nss_database_lookup): Don't leak defconfig entries.
49375         (nss_parse_service_list): Don't leak on error paths.
49376         (free_database_entries): New function.
49377         (free_defconfig): New function.
49378         (free_mem): Move common code to free_database_entries.
49380 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
49382         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
49383         Add arch_prctl.
49384         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
49386         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
49387         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
49388         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
49389         New macro.
49390         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
49391         (INTERNAL_SYSCALL_TYPES): Likewise.
49392         (LOAD_ARGS_TYPES_[1-6]): Likewise.
49393         (LOAD_REGS_TYPES_[1-6]): Likewise.
49394         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
49395         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
49397 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49399         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
49400         copysignl for GLIBC_2_0.
49401         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
49402         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
49403         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
49404         logbl for GLIBC_2_0.
49405         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
49406         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
49408 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
49410         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
49411         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49413         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
49414         Use "neg %eax".
49416         * time/mktime.c: Update copyright years.
49418 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
49420         mktime: merge comment-quoting-style change from gnulib
49421         * time/mktime.c: Quote 'like this' in comments.
49422         The GNU coding standards suggest that we no longer quote `like this',
49423         as "`" and "'" are typically rendered asymmetrically nowadays.
49424         The typical gnulib style is to quote 'like this' when quoting
49425         code, and "like this" when quoting English.
49427         * time/mktime.c (compile-command): Add "-I.".
49429         mktime: merge mktime-internal.h change from gnulib
49430         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
49432         mktime: merge time_r change from gnulib
49433         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
49435         mktime: merge DEBUG change from gnulib
49436         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
49437         case system <time.h> has a #define.
49439         mktime: merge <sys/types.h> change from gnulib
49440         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
49441         since <time.t> is now guaranteed to define time_t.
49443         mktime: merge HAVE_CONFIG_H change from gnulib
49444         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
49446 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
49448         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
49449         Use "neg %eax".
49451         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
49452         __rlim_t cast.
49453         (struct rusage): Use anonymous union to pad each field to
49454         __syscall_slong_t.
49456 2012-05-21  David S. Miller  <davem@davemloft.net>
49458         * Makefules (o-iterator): Remove .s cases.
49459         (compile-command.s): Delete.
49460         (COMPILE.s): Delete.
49461         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
49463 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
49465         * configure.in (libc_cv_predef_stack_protector): Only consider
49466         "foobar" and "__stack_chk_fail" lines in libc_undefs.
49467         * configure: Regenerated.
49469 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
49471         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
49472         New macro.  Use R*LP on int and pointer.
49473         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
49474         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
49475         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
49476         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
49478         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
49479         [__WORDSIZE_TIME64_COMPAT32] instead of
49480         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
49481         (struct utmp): Likewise.
49482         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
49483         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
49484         Renamed to ...
49485         (__WORDSIZE_TIME64_COMPAT32): This.
49486         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
49487         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
49488         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
49489         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
49490         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
49491         (__WORDSIZE_TIME64_COMPAT32): New macro.
49493 2012-05-21  Andreas Jaeger  <aj@suse.de>
49495         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
49496         only if [SHARED]. Add prototype for __wcschr_ia32.
49498 2012-05-21  Roland McGrath  <roland@hack.frob.com>
49500         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
49501         of %rbp unmolested in the jmp_buf while mangling the low bits.
49502         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
49503         unmolested high bits of %rbp while demangling the low bits.
49504         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
49506 2012-05-21  Andreas Jaeger  <aj@suse.de>
49508         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
49509         * sunrpc/svc_simple.c: Use it for registerrpc.
49510         * sunrpc/xcrypt.c: Use it for passwd2des.
49512         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
49514 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
49516         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
49517         Don't define if [__SYSCALL_WORDSIZE != 32].
49518         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
49519         New macro.
49521 2012-05-21  Bruno Haible  <bruno@clisp.org>
49522             Andreas Jaeger  <aj@suse.de>
49524         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
49525         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
49526         inptr and inend for must_buffer_ch.
49527         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
49528         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
49529         * stdio-common/Makefile (tests): Remove bug15.
49530         (bug15-ENV): Remove macro.
49531         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
49532         anymore.
49534 2012-05-19  Andreas Jaeger  <aj@suse.de>
49535             Roland McGrath  <roland@hack.frob.com>
49537         * manual/contrib.texi: Completely rewritten. It contains now an
49538         alphabetical list of contributors and their contributions.
49540 2012-05-21  Richard Henderson  <rth@twiddle.net>
49542         * misc/getauxval.c (__getauxval): Use unsigned long int.
49543         * misc/sys/auxv.h: Include <sys/cdefs.h>.
49544         (getauxval): Use unsigned long int.
49546 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
49548         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
49550 2012-05-21  Roland McGrath  <roland@hack.frob.com>
49552         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
49553         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
49554         __alignof__ (long double).
49556 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49558         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49560 2012-05-20  Richard Henderson  <rth@twiddle.net>
49562         * misc/getauxval.c: New file.
49563         * misc/sys/auxv.h: New file.
49564         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
49565         (routines): Add getauxval.
49566         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
49567         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
49568         * elf/dl-sysdep.c (_dl_auxv): Remove.
49569         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
49570         * elf/dl-support.c (_dl_auxv): New variable.
49571         (_dl_aux_init): Initialize it.
49572         * manual/startup.texi (Auxiliary Vector): New node.
49573         * sysdeps/generic/bits/hwcap.h: New file.
49574         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
49575         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
49576         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
49577         * sysdeps/sparc/sysdep.h: ... here.  Include it.
49578         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
49579         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
49580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49581         Update.
49582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
49583         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
49584         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
49585         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
49586         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
49587         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
49588         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
49589         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
49591 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49593         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49595 2012-05-19  David S. Miller  <davem@davemloft.net>
49597         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49599 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
49601         [BZ #14123]
49602         * math/s_ccosh.c: Include <float.h>
49603         (__ccosh): Avoid internal overflow calculating sinh and cosh
49604         values before multiplying by sin and cos values.
49605         * math/s_ccoshf.c: Likewise.
49606         * math/s_ccoshl.c: Likewise.
49607         * math/s_csin.c: Likewise.
49608         * math/s_csinf.c: Likewise.
49609         * math/s_csinl.c: Likewise.
49610         * math/s_csinh.c: Likewise.
49611         * math/s_csinhf.c: Likewise.
49612         * math/s_csinhl.c: Likewise.
49613         * math/libm-test.inc (ccos_test): Add more tests.
49614         (ccosh_test): Likewise.
49615         (csin_test): Likewise.
49616         (csinh_test): Likewise.
49617         * sysdeps/i386/fpu/libm-test-ulps: Update.
49618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49620 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
49622         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
49623         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
49625         * sysdeps/x86_64/x32/_itoa.h: Add comment.
49627 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
49629         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
49630         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
49631         * sysdeps/powerpc/soft-fp/Versions: Likewise.
49632         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
49633         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
49634         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
49635         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
49636         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
49637         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
49638         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
49639         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
49640         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
49641         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
49642         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
49643         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
49644         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
49645         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
49646         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
49647         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
49648         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
49649         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
49650         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
49651         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
49652         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
49653         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
49654         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
49655         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
49656         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
49657         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
49658         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
49659         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
49661 2012-05-18  Andreas Jaeger  <aj@suse.de>
49663         * csu/.gitignore: Delete.
49665 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49667         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
49668         (timex): Use __syscall_slong_t.
49670 2012-05-18  Andreas Jaeger  <aj@suse.de>
49671             Carlos O'Donell  <carlos_odonell@mentor.com>
49673         * manual/install.texi (Configuring and compiling): Update
49674         description about files modified in the source directory.
49675         * INSTALL: Regenerated.
49677 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49679         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
49680         value.  Use "or" to set return value to -1.
49681         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
49682         negate return value.
49684 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49686         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
49687         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
49688         failure if the compiler has Graphite support disabled.
49689         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
49690         Likewise.
49691         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
49692         (CFLAGS-memmove.c): Likewise.
49693         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
49694         Likewise.
49696 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49698         * sysdeps/x86_64/x32/_itoa.h: New file.
49700         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
49701         getdents system call only if kernel and user dirents have the
49702         same d_ino and d_off.
49704         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
49705         LLONG_MAX != LONG_MAX.
49706         (_itoa_word): Use _ITOA_WORD_TYPE on value.
49707         (_fitoa_word): Likewise.
49709         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
49710         years.
49711         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
49712         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
49713         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
49715         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
49716         include <bits/wordsize.h>.  Check __x86_64__ instead of
49717         __WORDSIZE.
49718         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
49719         if __x86_64__ is defined.  Use anonymous union on fpstate.
49721         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
49722         anonymous union.
49724 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
49726         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
49727         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
49728         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
49729         Refer to _rtld_local_ro instead of _rtld_global_ro.
49730         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
49731         Likewise.
49732         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
49733         Likewise.
49734         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
49735         Likewise.
49736         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
49737         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
49738         of _rtld_global, and rtld_progname instead of _dl_argv[0].
49740         [BZ #10882]
49741         * sysdeps/powerpc/powerpc32/dl-machine.c
49742         (__elf_machine_runtime_setup) [PROF]: Don't reference
49743         _dl_prof_resolve.
49745 2012-05-18  Andreas Jaeger  <aj@suse.de>
49747         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
49748         function only available for GCCs before 3.4 since GCC 3.4
49749         introduced a builtin.
49750         (lrint): Likewise.
49751         (llrintf): Likewise.
49752         (llrint): Likewise.
49753         (fmaxf): Likewise.
49754         (fmax): Likewise.
49755         (fminf): Likewise.
49756         (fmin): Likewise.
49757         (rint): Likewise.
49758         (rintf): Likewise.
49759         (nearbyint): Likewise.
49760         (nearbyintf): Likewise.
49761         (ceil): Likewise.
49762         (ceilf): Likewise.
49763         (floor): Likewise.
49764         (floorf): Likewise.
49766 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49768         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
49769         on both fields and cast pointer to __syscall_ulong_t.
49771         * bits/types.h (__fsword_t): New type.
49772         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
49773         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
49774         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49775         (__FSWORD_T_TYPE): Likewise.
49776         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49777         (__FSWORD_T_TYPE): Likewise.
49778         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49779         (__FSWORD_T_TYPE): Likewise.
49780         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
49781         (__FSWORD_T_TYPE): Likewise.
49782         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
49783         __SWORD_TYPE with __fsword_t.
49784         (statfs64): Likewise.
49786 2012-05-17  David S. Miller  <davem@davemloft.net>
49788         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
49790 2012-05-17  Andreas Jaeger  <aj@suse.de>
49792         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
49793         warning.
49795 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49797         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
49799 2012-05-17  Andreas Jaeger  <aj@suse.de>
49801         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
49802         when it is used.
49804 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
49806         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
49808 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49810         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
49811         * sysdeps/x86_64/tst-mallocalign1.c: New file.
49813 2012-05-17  Andreas Jaeger  <aj@suse.de>
49814             Carlos O'Donell  <carlos_odonell@mentor.com>
49816         [BZ #14059]
49817         * sysdeps/x86_64/multiarch/init-arch.h
49818         (bit_YMM_Usable): Rename to...
49819         (bit_AVX_Usable): ... this.
49820         (bit_FMA4_Usable): New macro.
49821         (bit_XMM_state): New macro.
49822         (bit_YMM_state): New macro.
49823         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
49824         [__ASSEMBLER__] (index_AVX_Usable): ... this.
49825         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
49826         (CPUID_OSXSAVE): New macro.
49827         (CPUID_AVX): New macro.
49828         (CPUID_FMA4): New macro.
49829         (index_YMM_Usable): Rename to...
49830         (index_AVX_Usable): ... this.
49831         (HAS_AVX): Use HAS_ARCH_FEATURE.
49832         (HAS_FMA4): Likewise.
49833         (HAS_YMM_USABLE): Remove.
49834         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49835         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
49836         are present.
49837         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
49838         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
49839         * sysdeps/x86_64/multiarch/Makefile: Likewise.
49840         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
49841         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
49843 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
49845         * math/libm-test.c: Support platforms without multiple rounding modes.
49846         * math/bug-nextafter.c: Support platforms without FP exceptions.
49847         * math/bug-nexttoward.c: Likewise.
49848         * math/test-fenv.c: Likewise.
49849         * math/test-misc.c: Likewise.
49850         * stdlib/bug-getcontext.c: Likewise.
49852 2012-05-17  Andreas Jaeger  <aj@suse.de>
49854         * manual/examples/search.c (critter_cmp): Change signature to
49855         avoid warnings.
49856         * manual/string.texi (Collation Functions): Likewise.
49858 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49860         * bits/types.h: Fold copyright years.
49861         * bits/typesizes.h: Likewise.
49862         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
49863         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
49864         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
49865         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
49866         * time/time.h: Likewise.
49868 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
49870         [BZ #208]
49871         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
49872         in instead of returning them.  Return void.
49873         (__libc_mallinfo): Accumulate over all arenas.
49874         (__malloc_stats): Adjust for change in int_mallinfo interface.
49876 2012-05-16  Roland McGrath  <roland@hack.frob.com>
49878         [BZ #10375]
49879         * configure.in (NM): Add AC_CHECK_TOOL for it.
49880         (libc_extra_cflags): New substituted variable.
49881         Check for -fstack-protector being used implicitly.
49882         * configure: Regenerated.
49883         * config.make.in (config-extra-cflags): New variable,
49884         gets @libc_extra_cflags@.
49885         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
49887         [BZ #10375]
49888         * configure.in: Check for _FORTIFY_SOURCE being predefined.
49889         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
49890         * configure: Regenerated.
49891         * config.make.in (CPPUNDEFS): New substituted variable.
49892         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
49893         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
49894         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
49896 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49898         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
49899         (mq_attr): Use __syscall_slong_t.
49901 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49903         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
49904         Check __x86_64__ instead of __WORDSIZE.
49905         (_STAT_VER_LINUX): Likewise.
49906         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
49907         __syscall_ulong_t and __syscall_slong_t.
49908         (stat64): Likewise.
49910 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49912         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
49914 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49916         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
49918 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49920         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
49921         __syscall_ulong_t.
49923         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
49924         include <bits/wordsize.h>.  Check __x86_64__ instead of
49925         __WORDSIZE.
49926         (greg_t): Use "__extension__ long long int" if __x86_64__ is
49927         defined.
49928         (mcontext_t): Replace "unsigned long" with "unsigned long long".
49930         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
49931         include <bits/wordsize.h>.  Check __x86_64__ instead of
49932         __WORDSIZE.
49933         (user_regs_struct): Use "__extension__ unsigned long long"
49934         instead of "unsigned long" if __x86_64__ is defined.
49935         (user): Likewise.  Pad after pointer field if __ILP32__ is
49936         defined.
49938 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
49940         * configure.in (makeinfo): Require version 4.5 or later.  Allow
49941         versions 5 to 9.
49942         * configure: Regenerated.
49943         * manual/install.texi (texinfo): Increase version requirement to
49944         4.5 or later.
49945         * INSTALL: Regenerated.
49947         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
49949 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49951         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
49953         * sysdeps/x86_64/x32/ffs.c: New file.
49955         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
49956         __syscall_ulong_t.
49957         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
49958         defined.  Use __syscall_ulong_t.
49959         (shminfo): Use __syscall_ulong_t.
49960         (shm_info): Likewise.
49962         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
49963         __syscall_ulong_t.
49965         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
49966         <bits/wordsize.h>.
49967         (msgqnum_t): Use __syscall_ulong_t.
49968         (msglen_t): Likewise.
49969         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
49970         __syscall_ulong_t.
49972         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
49973         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49975         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
49977         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
49978         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
49980         * sysvipc/sys/msg.h (msgbuf): Replace long int with
49981         __syscall_slong_t.
49983         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
49984         include <bits/wordsize.h>.  Check __x86_64__ instead of
49985         __WORDSIZE.
49987         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
49988         "unsigned long long int" if __x86_64__ is defined.
49989         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
49991         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
49992         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49993         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
49995         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
49996         <stdint.h>.
49997         (GET_PC): Cast to uintptr_t first.
49998         (GET_FRAME): Likewise.
49999         (GET_STACK): Likewise.
50001         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
50002         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
50003         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
50004         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
50005         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
50006         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
50007         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
50008         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
50009         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
50010         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
50011         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
50012         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
50013         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
50014         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
50015         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
50016         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
50017         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
50018         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
50019         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
50020         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
50021         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
50022         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
50023         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
50024         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
50025         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
50026         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
50027         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
50028         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
50029         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
50031 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
50033         * Makerules (+depfiles): Also collect depfiles from .oS in
50034         $(extra-objs).
50035         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
50036         .oS, $(libnldbl-routines)).
50038         * Makerules (native-compile-mkdep-flags): Define.
50039         * sunrpc/Makefile (extra-objs): Add $(addprefix
50040         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
50041         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
50042         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
50043         calling $(make-target-directory).
50045 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50047         * bits/types.h (__snseconds_t): Removed.
50048         * time/time.h (struct timespec): Replace __snseconds_t with
50049         __syscall_slong_t.
50050         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
50051         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
50052         Likewise.
50053         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50054         (__SNSECONDS_T_TYPE): Likewise.
50055         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50056         (__SNSECONDS_T_TYPE): Likewise.
50057         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50058         (__SNSECONDS_T_TYPE): Likewise.
50060 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50062         * sysdeps/mach/hurd/bits/typesizes.h
50063         (__SYSCALL_SLONG_TYPE): New macro.
50064         (__SYSCALL_ULONG_TYPE): Likewise.
50066 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50068         * bits/types.h (__syscall_slong_t): New type.
50069         (__syscall_ulong_t): Likewise.
50071         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
50072         (__SYSCALL_ULONG_TYPE): Likewise.
50073         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50074         (__SYSCALL_SLONG_TYPE): Likewise.
50075         (__SYSCALL_ULONG_TYPE): Likewise.
50076         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50077         (__SYSCALL_SLONG_TYPE): Likewise.
50078         (__SYSCALL_ULONG_TYPE): Likewise.
50079         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50080         (__SYSCALL_SLONG_TYPE): Likewise.
50081         (__SYSCALL_ULONG_TYPE): Likewise.
50083 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50085         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
50086         Add sigaltstack-offsets.sym.
50087         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
50088         <sigaltstack-offsets.h>.
50089         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
50090         longjmp_msg pointer.
50091         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
50092         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
50093         signal stack.
50094         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
50096 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
50098         * elf/stackguard-macros.h: Remove file.
50099         * sysdeps/generic/stackguard-macros.h: New file.
50100         * sysdeps/i386/stackguard-macros.h: Likewise.
50101         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
50102         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
50103         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
50104         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
50105         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
50106         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
50107         * sysdeps/x86_64/stackguard-macros.h: Likewise.
50108         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
50109         <elf/stackguard-macros.h>.
50111         [BZ #14109]
50112         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
50113         __aligned__ in attribute.
50114         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
50115         (gregset_t): Likewise.
50117 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50119         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
50120         * sysdeps/x86_64/64/Implies-after: Here.  New file.
50121         * sysdeps/x86_64/x32/Implies-after: New file.
50123 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50125         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
50126         and access return value for _dl_profile_fixup.  Use R10_LP to
50127         load frame size.
50129 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50131         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
50133 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50135         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
50136         * sysdeps/x86_64/x32/sysdep.h: New file.
50138 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50140         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
50141         * sysdeps/x86_64/setjmp.S: Likewise.
50143 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50145         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
50146         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
50147         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
50148         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
50149         remove unused global constant.
50151 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
50153         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
50154         include of <not-cancel.h>.
50156 2012-05-15  Roland McGrath  <roland@hack.frob.com>
50158         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
50160 2012-05-15  Jeff Law  <law@redhat.com>
50161             Andreas Jaeger  <aj@suse.de>
50163         [BZ #13594]
50164         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
50165         out from...
50166         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
50167         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
50168         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
50169         code changing __hst_map_handle.map.
50171 2012-05-15  Roland McGrath  <roland@hack.frob.com>
50173         * configure.in (sysnames): Look for Implies-before and Implies-after
50174         files.
50175         * configure: Regenerated.
50177 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50179         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
50180         8-byte data alignment with LP_SIZE alignment.
50182 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50184         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
50185         into R10_LP.
50187 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50189         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
50191 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50193         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
50194         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
50195         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
50196         Likewise.
50197         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
50199 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50201         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
50202         (stackinfo_sub_sp): Likewise.
50204 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50206         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
50207         RAX_LP.
50209 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50211         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
50212         into R*_LP.
50214 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50216         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
50217         sizes into R*_LP.
50219 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50221         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
50223 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50225         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
50226         into R11_LP and load __x86_64_shared_cache_size_half into
50227         R8_LP.
50229 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50231         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
50232         R8_LP.
50234 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50236         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
50237         logb for POWER7.
50238         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
50239         logbf for POWER7.
50240         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
50241         logbl for POWER7.
50242         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
50243         powerpc32/power7/fpu/s_logb.c via #include.
50244         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
50245         powerpc32/power7/fpu/s_logbf.c via #include.
50246         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
50247         powerpc32/power7/fpu/s_logbl.c via #include.
50249 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
50251         * README.libm: Remove file.
50253 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50255         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
50256         count for x32.  Use R*_LP and omit operand-size suffix.
50258 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50260         * shlib-versions: Move x86_64-.*-linux.* entries to ...
50261         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
50262         * sysdeps/x86_64/x32/shlib-versions: New file.
50264 2012-05-14  Roland McGrath  <roland@hack.frob.com>
50266         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
50267         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
50268         Use _dl_fatal_printf instead.
50270 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
50272         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
50273         set if not set by the user.  Do not allow for being unset.
50274         * sysdeps/unix/sysv/linux/configure: Regenerated.
50276 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50278         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
50279         the `q' suffix from lea and replace .quad with ASM_ADDR.
50281 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50283         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
50284         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
50285         instead of $17.
50286         (PTR_DEMANGLE): Likewise.
50288 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50290         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
50291         (LP_OP): Likewise.
50292         (ASM_ADDR): Likewise.
50293         (RAX_LP): Likewise.
50294         (RBP_LP): Likewise.
50295         (RBX_LP): Likewise.
50296         (RCX_LP): Likewise.
50297         (RDI_LP): Likewise.
50298         (RSI_LP): Likewise.
50299         (RSP_LP): Likewise.
50300         (R8_LP): Likewise.
50301         (R9_LP): Likewise.
50302         (R10_LP): Likewise.
50303         (R10_LP): Likewise.
50304         (R11_LP): Likewise.
50305         (R12_LP): Likewise.
50306         (R13_LP): Likewise.
50307         (R14_LP): Likewise.
50308         (R15_LP): Likewise.
50310 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50312         * sysdeps/x86_64/x32/dl-machine.h: New file.
50314 2012-05-14  Andreas Jaeger  <aj@suse.de>
50316         * manual/Makefile (subdir): Remove export of subdir.
50317         (all): Remove target.
50318         (.PHONY): Remove all from list.
50319         (mkinstalldirs): Remove.
50320         (.PHONY): Remove installdirs from list.
50321         ($(inst_infodir)/libc.info): Use make-target-directory.
50322         (installdirs): Remove.
50323         (subdir_%): Remove.
50324         (glibc-targets): Remove.
50325         (lib): Remove.
50326         (stubs): Remove.
50327         ($(objpfx)stubs ../po/manual.pot): Remove.
50328         ($(objpfx)stamp%): Remove.
50329         (make-target-directory): Remove.
50330         (subdir_install): Remove.
50331         (routines): Remove.
50332         (aux): Remove.
50333         (sources): Remove.
50334         (objects): Remove.
50335         (headers): Remove.
50337         [BZ #13750]
50338         * manual/.gitignore: Remove, it's not needed anymore.
50339         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
50340         all files in it.
50341         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
50342         directory.
50343         (texis): Renamed to $(objpfx)texis.
50344         (texis-path): New, contains path to generated files.
50345         (chapters.%): Use texis-path for complete path, add extra argument
50346         libc-texinfo.sh.
50347         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
50348         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
50349         (summary,texi, stamp-summary): Use complete path of
50350         files. Generate files in build dir.
50351         (dir-add.texi): Build in build dir.
50352         (libm-err.texi,stamp-libm-err): Likewise.
50353         (version.texi, stamp-version): Likewise.
50354         (.%c.texi): Likewise.
50355         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
50356         (mostlyclean): Remove target.
50357         (realclean): Remove target.
50358         (generated): Add new variable with contents from mostlyclean and
50359         realclean, remove entries duplicated in common-mostlyclean, add
50360         stamp-libm-err and stamp-version.
50361         (generated-dirs): Add libc directory.
50362         ($(inst_infodir)/libc.info): Install files from build dir.
50364         * manual/install.texi (Configuring and compiling): Adjust since
50365         the info files are not part of the tar ball anymore.
50367 2012-05-14  Andreas Jaeger  <aj@suse.de>
50369         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
50370         variable.
50372 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
50374         [BZ #13717]
50375         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
50376         to 2.2.0 where earlier.
50377         * sysdeps/unix/sysv/linux/configure: Regenerated.
50378         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
50379         Remove conditional code.
50380         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
50381         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
50382         Remove conditional code.
50383         [!__NR_lchown]: Likewise.
50384         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
50385         [__NR_lchown]: Likewise.
50386         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
50387         comment referencing __ASSUME_LCHOWN_SYSCALL.
50388         * sysdeps/unix/sysv/linux/i386/sigaction.c
50389         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50390         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50391         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
50392         Remove conditional code.
50393         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
50394         (__protocol_available): Remove #if 0 code.
50395         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
50396         conditional code.
50397         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
50398         * sysdeps/unix/sysv/linux/kernel-features.h
50399         (__ASSUME_GETCWD_SYSCALL): Don't define.
50400         (__ASSUME_REALTIME_SIGNALS): Likewise.
50401         (__ASSUME_PREAD_SYSCALL): Likewise.
50402         (__ASSUME_PWRITE_SYSCALL): Likewise.
50403         (__ASSUME_POLL_SYSCALL): Likewise.
50404         (__ASSUME_LCHOWN_SYSCALL): Likewise.
50405         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
50406         non-SPARC.
50407         (__ASSUME_SIOCGIFNAME): Don't define.
50408         (__ASSUME_MSG_NOSIGNAL): Likewise.
50409         (__ASSUME_SENDFILE): Define unconditionally.
50410         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
50411         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
50412         conditional code.
50413         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
50414         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
50415         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
50416         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
50417         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
50418         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
50419         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
50420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
50421         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50422         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
50424         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50425         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
50427         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50428         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
50430         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50431         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
50433         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50434         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
50436         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50437         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
50439         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50440         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
50442         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50443         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50444         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
50445         Remove conditional code.
50446         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50447         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
50448         Remove conditional code.
50449         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50450         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
50451         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
50452         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
50453         Remove conditional code.
50454         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50455         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
50456         Remove conditional code.
50457         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50458         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
50459         Remove conditional code.
50460         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50461         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
50462         Remove conditional code.
50463         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50464         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
50465         Remove conditional code.
50466         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50467         * sysdeps/unix/sysv/linux/sh/pwrite64.c
50468         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50469         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50470         * sysdeps/unix/sysv/linux/sigaction.c
50471         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50472         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50473         * sysdeps/unix/sysv/linux/sigpending.c
50474         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50475         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50476         * sysdeps/unix/sysv/linux/sigprocmask.c
50477         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50478         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50479         * sysdeps/unix/sysv/linux/sigsuspend.c
50480         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50481         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50482         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
50483         (__libc_missing_rt_sigs): Remove.
50484         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
50485         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
50486         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
50487         Remove conditional code.
50488         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
50489         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
50490         return 1.
50491         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
50492         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
50493         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
50494         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
50496 2012-05-14  Andreas Jaeger  <aj@suse.de>
50498         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
50499         it's not used in glibc.
50500         (__coshm1): Likewise.
50501         (__acosh1p): Likewise.
50502         (__sgn): Likewise.
50504         * manual/string.texi (Copying and Concatenation): Add missing
50505         variable in concat example.
50506         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
50508 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50510         [BZ #14103]
50511         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
50512         __builtin_clzl with __builtin_clzll.
50514 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50516         [BZ #14104]
50517         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
50518         libc_freeres_ptr.
50520 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50522         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
50523         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
50524         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
50525         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
50527 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
50529         * NEWS: Update ia64 info.
50531 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
50533         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
50534         used as bcopy.
50536 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
50538         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
50539         * sysdeps/unix/syscalls.list (dup3): Likewise.
50540         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
50541         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
50543 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
50545         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
50546         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
50548 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
50550         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
50551         thread pointer.
50552         (TLS_IE): Use mov/add instead of movq/addq to load thread
50553         pointer.
50554         (TLS_GD_PREFIX): New.
50555         (TLS_GD): Use it.
50557 2012-05-11  David S. Miller  <davem@davemloft.net>
50559         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
50560         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
50561         (_FPU_SETCW): Likewise.
50563 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50565         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
50566         is 32-byte aligned.
50568 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
50570         [BZ #11837]
50571         * iconvdata/gb18030.c: Update tables.
50572         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
50573         characters specially.
50574         (BODY for TO_LOOP): Add encoding of missing ranges.
50576 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
50578         [BZ #13673]
50579         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
50580         * sysdeps/mach/hurd/dup3.c: Likewise.
50581         * sysdeps/mach/hurd/readlinkat.c: Likewise.
50582         * sysdeps/powerpc/memmove.c:: Likewise.
50584 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50586         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
50587         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
50589 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50591         * elf/elf.h (R_X86_64_RELATIVE64): New.
50592         (R_X86_64_NUM): Updated.
50593         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
50594         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
50595         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
50596         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
50597         tst-quad1pie tst-quad2pie
50598         (modules-names): Add tst-quadmod1 tst-quadmod2.
50599         ($(objpfx)tst-quad1): New dependency.
50600         ($(objpfx)tst-quad2): Likewise.
50601         ($(objpfx)tst-quad1pie): Likewise.
50602         ($(objpfx)tst-quad2pie): Likewise.
50603         * sysdeps/x86_64/tst-quad1.c: New file.
50604         * sysdeps/x86_64/tst-quad1pie.c: New file.
50605         * sysdeps/x86_64/tst-quad2.c: Likewise.
50606         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
50607         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
50608         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
50609         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
50610         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
50612 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50614         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
50615         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
50616         * streams/stropts.h (t_scalar_t): Define type.
50618         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
50619         (_PATH_PRESERVE): Set to "/var/lib".
50620         (_PATH_RWHODIR): Set to "/var/spool/rwho".
50622         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
50623         instead of int.
50625         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
50626         if __dir_mkfile succeeded.
50628         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
50629         checking for _hurd_dtablesize.  Unlock it right after having
50630         finished _hurd_dtable allocation.
50632 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50634         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
50635         * sysdeps/mach/hurd/configure: Regenerated.
50636         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
50637         special-casing to...
50638         * sysdeps/gnu/configure.in: ... this new file.
50639         * sysdeps/unix/sysv/linux/configure: Regenerated.
50640         * sysdeps/gnu/configure: New generated file.
50642         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
50643         for Linux: use nsec instead of usec, as well as:
50644         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
50645         members of type struct timespec.
50646         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
50647         New macros.
50648         (struct stat64): Likewise.
50649         (_STATBUF_ST_NSEC): New macro.
50650         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
50652         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
50653         __strtoul_internal rather than strtoul.
50655 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50657         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
50658         and reject them.
50660 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50662         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
50663         which preserves existing values.
50664         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
50666 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50668         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
50669         TIMEOUT values.  Return EINVAL for NFDS values either negative or
50670         greater than FD_SETSIZE.
50672 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50674         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
50675         allocated, call __vm_protect to finish enabling the existing space, and
50676         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
50677         allocate the remainder.
50679 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50681         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
50682         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
50684 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50686         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
50687         sysdeps/mach/hurd/readlink.c.
50689         * posix/tst-sysconf.c (posix_options): Only use
50690         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
50691         _POSIX_SYNCHRONIZED_IO when they are defined
50692         * sysdeps/mach/hurd/bits/posix_opt.h:
50693         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
50694         (_XOPEN_REALTIME): Undefine macro.
50695         (_XOPEN_REALTIME_THREADS): Undefine macro.
50696         (_XOPEN_SHM): Undefine macro.
50697         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
50698         macro to -1.
50699         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
50700         macro to -1.
50701         (_POSIX_ASYNC_IO): Undefine macro.
50702         (_POSIX_PRIORITIZED_IO): Undefine macro.
50703         (_POSIX_SPIN_LOCKS): Define macro to -1.
50705         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
50706         SA_NODEFER, SA_RESETHAND.
50707         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
50708         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
50709         F_DUPFD_CLOEXEC.
50711 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50713         * elf/Makefile (pldd-modules): Define unconditionally.
50715 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50717         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
50719 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50721         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
50722         Return ENOENT when name is empty.
50723         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
50725 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50727         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
50729         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
50731 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50733         Fix mlock in all cases except non-readable pages.
50734         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
50735         instead of VM_PROT_ALL as parameter to __vm_wire function.
50737         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
50738         (__mkdir): When path is `/', just fail with EEXIST.
50739         * sysdeps/mach/hurd/mkdirat.c: Likewise.
50741 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50743         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
50744         <sys/uio.h> (for writev).
50745         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
50746         and <sys/param.h> (for MIN).
50748 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50750         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
50751         REQUESTED_TIME.  Properly set the remaining time and return EINTR
50752         if interrupted.
50754 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50756         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
50757         Depend on against $(link-rpcuserlibs).
50759 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50761         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
50762         (__libc_stack_end): Do not use attribute_relro.
50763         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
50764         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
50765         to libthread-provided value.
50766         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
50767         attribute_relro.
50769 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50771         [BZ #3748]
50772         * bits/libc-lock.h (__libc_once_get): New macro.
50773         * sysdeps/mach/bits/libc-lock.h: Likewise.
50774         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
50775         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
50776         instead of using implementation details.
50778         * libio/fileops.c: Unconditionally include <kernel-features.h>.
50779         * libio/freopen.c: Likewise.
50780         * libio/freopen64.c: Likewise.
50781         * misc/syslog.c: Likewise.
50782         * nscd/connections.c: Likewise.
50783         * nscd/netgroupcache.c: Likewise.
50784         * sysdeps/posix/getcwd.c: Likewise.
50786 2012-05-10  Roland McGrath  <roland@hack.frob.com>
50788         * math/w_ilogbf.c: Add #include <limits.h>.
50790 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50792         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
50793         path instead of returning without unlocking.
50795         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
50796         immediate-write ioctls.
50797         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
50799 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50801         * sysdeps/mach/hurd/i386/init-first.c (init): Use
50802         __builtin_frame_address instead of making assumptions about the
50803         location of the return address relative to DATA.  Force early load of
50804         the return address.
50805         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
50806         __builtin_frame_address.
50808         dup3 for GNU Hurd.
50809         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
50810         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
50811         implement dup3 and do some further code clean-ups.
50812         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
50813         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
50815 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50817         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
50819         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
50820         HURD_CRITICAL_END around holding _hurd_dtable_lock.
50821         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
50822         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
50823         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
50824         d->port.lock.
50826         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
50827         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
50828         when handler == SIG_ERR, not when handler != SIG_ERR.
50830 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50832         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
50833         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
50834         definitions.
50836         accept4 for GNU Hurd.
50837         * include/sys/socket.h (__libc_accept4): New prototype.
50838         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
50839         to implement __libc_accept4.
50840         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
50841         __libc_accept4.
50842         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
50844         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
50845         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
50846         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
50847         signal-defines.sym.
50849 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50851         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
50853 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50855         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
50856         assertion on O_CLOEXEC flag.
50857         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
50858         * hurd/intern-fd.c: Likewise.
50859         * hurd/port2fd.c: Likewise.
50861 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50863         [BZ #3906]
50864         * bits/in.h (IPV6_PKTINFO): Define new macro.
50865         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
50867 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50869         [BZ #13954]
50870         [BZ #13955]
50871         [BZ #13956]
50872         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
50873         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
50874         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
50875         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
50876         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50877         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
50878         * math/libm-test.inc (logb_test) : Additional logb tests.
50880 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
50881             Andreas Jaeger  <aj@suse.de>
50883         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
50884         * configure: Regenerated.
50885         * config.h.in (LINK_OBSOLETE_RPC): New macro.
50886         * config.make.in (link-obsolete-rpc): New substituted variable.
50887         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
50888         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
50889         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
50890         (shared-only-routines): Don't set it under [link-obsolete-rpc],
50891         so that libc.a contains the symbols.
50892         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
50893         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
50894         * sunrpc/auth_none.c: Likewise.
50895         * sunrpc/auth_unix.c: Likewise.
50896         * sunrpc/authdes_prot.c: Likewise.
50897         * sunrpc/authuxprot.c: Likewise.
50898         * sunrpc/clnt_gen.c: Likewise.
50899         * sunrpc/clnt_perr.c: Likewise.
50900         * sunrpc/clnt_raw.c: Likewise.
50901         * sunrpc/clnt_simp.c: Likewise.
50902         * sunrpc/clnt_tcp.c: Likewise.
50903         * sunrpc/clnt_udp.c: Likewise.
50904         * sunrpc/clnt_unix.c: Likewise.
50905         * sunrpc/des_crypt.c: Likewise.
50906         * sunrpc/des_soft.c: Likewise.
50907         * sunrpc/get_myaddr.c: Likewise.
50908         * sunrpc/key_call.c: Likewise.
50909         * sunrpc/key_prot.c: Likewise.
50910         * sunrpc/netname.c: Likewise.
50911         * sunrpc/pm_getmaps.c: Likewise.
50912         * sunrpc/pm_getport.c: Likewise.
50913         * sunrpc/pmap_clnt.c: Likewise.
50914         * sunrpc/pmap_prot.c: Likewise.
50915         * sunrpc/pmap_prot2.c: Likewise.
50916         * sunrpc/pmap_rmt.c: Likewise.
50917         * sunrpc/publickey.c: Likewise.
50918         * sunrpc/rpc_cmsg.c: Likewise.
50919         * sunrpc/rpc_common.c: Likewise.
50920         * sunrpc/rpc_dtable.c: Likewise.
50921         * sunrpc/rpc_prot.c: Likewise.
50922         * sunrpc/rpc_thread.c: Likewise.
50923         * sunrpc/rtime.c: Likewise.
50924         * sunrpc/svc.c: Likewise.
50925         * sunrpc/svc_auth.c: Likewise.
50926         * sunrpc/svc_raw.c: Likewise.
50927         * sunrpc/svc_run.c: Likewise.
50928         * sunrpc/svc_tcp.c: Likewise.
50929         * sunrpc/svc_udp.c: Likewise.
50930         * sunrpc/svc_unix.c: Likewise.
50931         * sunrpc/svcauth_des.c: Likewise.
50932         * sunrpc/xcrypt.c: Likewise.
50933         * sunrpc/xdr.c: Likewise.
50934         * sunrpc/xdr_array.c: Likewise.
50935         * sunrpc/xdr_float.c: Likewise.
50936         * sunrpc/xdr_intXX_t.c: Likewise.
50937         * sunrpc/xdr_mem.c: Likewise.
50938         * sunrpc/xdr_rec.c: Likewise.
50939         * sunrpc/xdr_ref.c: Likewise.
50940         * sunrpc/xdr_sizeof.c: Likewise.
50941         * sunrpc/xdr_stdio.c: Likewise.
50943 2012-05-10  Roland McGrath  <roland@hack.frob.com>
50945         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
50946         change.  Update copyright years.
50948 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
50950         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
50952 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
50953             Joseph Myers  <joseph@codesourcery.com>
50954             Paul Pluzhnikov  <ppluzhnikov@google.com>
50956         [BZ #14012]
50957         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
50958         requiring rpcgen.
50959         [cross-compiling] (extra-libs): Likewise.
50960         [cross-compiling] (extra-libs-others): Likewise.
50961         [cross-compiling] (librpcsvc-routines): Likewise.
50962         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
50963         [cross-compiling] (omit-deps): Likewise.
50964         (sunrpc-CPPFLAGS): New variable.
50965         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
50966         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
50967         (cross-rpcgen-objs): New variable.
50968         (extra-objs): Append $(cross-rpcgen-objs).
50969         ($(cross-rpcgen-objs)): New rule.
50970         ($(objpfx)cross-rpcgen): Likewise.
50971         (rpcgen-cmd): Define to use $(built-program-file).  Expand
50972         comment.
50973         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
50974         ($(objpfx)x%.stmp): Likewise.
50975         * sunrpc/proto.h [IS_IN_build] (_): Define.
50976         [IS_IN_build] (_libc_intl_domainname): Likewise.
50978 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50980         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
50981         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
50982         and R_X86_64_TPOFF64.
50984 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
50986         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
50987         sysdeps/unix/sysv/syscalls.list.
50988         (stime): Likewise.
50989         (utime): Likewise.
50990         * sysdeps/unix/sysv/syscalls.list: Remove file.
50992 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
50994         [BZ #3440]
50995         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
50996         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
50997         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
50998         (__LC_IDENTIFICATION): Make these macros useful in #if
50999         expressions, as required by C99.
51001 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
51003         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
51004         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
51005         after this.
51007 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
51009         * stdlib/longlong.h: Updated from GCC.
51011 2012-05-09  Andreas Jaeger  <aj@suse.de>
51013         * nscd/nscd.c (run_modes): Make named enum, reorder so that
51014         default is first entry.
51015         (run_mode): Set type.
51016         (main): Remove informal message about syslog.
51017         (options): Fix typo.
51019         [BZ #14053]
51020         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
51021         to asm.
51022         (lrint): Likewise.
51023         (llrintf): Likewise.
51024         (llrint): Likewise.
51025         (rint): Likewise.
51026         (rintf): Likewise.
51027         (nearbyint): Likewise.
51028         (nearbyintf): Likewise.
51030 2012-05-09  Andreas Jaeger  <aj@suse.de>
51031             Pedro Alves  <palves@redhat.com>
51033         * nscd/nscd.c (run_mode): Use enum.
51034         (main): Cleanup coding style issue.
51036 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
51037             Andreas Jaeger  <aj@suse.de>
51039         * nscd/nscd.c (go_background): Replaced with...
51040         (run_mode): ... this.
51041         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
51042         (options): Add -F --foreground.
51043         (main): Implement it.
51044         (parse_opt): Parse it.
51046 2012-05-09  Andreas Jaeger  <aj@suse.de>
51048         [BZ #14083]
51049         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
51050         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
51051         -Wconversion warning.
51052         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
51053         Likewise.
51055 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
51057         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
51058         == 0.
51059         (LC_ALL): Use macro-int-constant.
51060         (LC_COLLATE): Likewise.
51061         (LC_CTYPE): Likewise.
51062         (LC_MESSAGES): Likewise.
51063         (LC_MONETARY): Likewise.
51064         (LC_NUMERIC): Likewise.
51065         (LC_TIME): Likewise.
51066         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
51067         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
51068         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51069         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
51070         Specify type.
51071         [C99-based standards] (float_t): Expect type.
51072         [C99-based standards] (double_t): Expect type.
51073         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
51074         type.
51075         [C99-based standards] (HUGE_VALL): Likewise.
51076         [C99-based standards] (INFINITY): Likewise.
51077         [C99-based standards] (NAN): Likewise.
51078         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
51079         [C99-based standards] (FP_NAN): Likewise.
51080         [C99-based standards] (FP_NORMAL): Likewise.
51081         [C99-based standards] (FP_SUBNORMAL): Likewise.
51082         [C99-based standards] (FP_ZERO): Likewise.
51083         [C99-based standards] (FP_FAST_FMA): Use
51084         optional-macro-int-constant.  Specify type.  Require == 1.
51085         [C99-based standards] (FP_FAST_FMAF): Likewise.
51086         [C99-based standards] (FP_FAST_FMAL): Likewise.
51087         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
51088         [C99-based standards] (FP_ILOGBNAN): Likewise.
51089         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
51090         Specify type.
51091         [C99-based standards] (MATH_ERREXCEPT): Likewise.
51092         [C99-based standards] (math_errhandling): Specify type.
51093         [ISO99 || ISO11] (signgam): Do not allow.
51094         [non-C99-based standards] (copysignf): Do not allow.
51095         [non-C99-based standards] (exp2f): Likewise.
51096         [non-C99-based standards] (log2f): Likewise.
51097         [non-C99-based standards] (modff): Allow.
51098         [non-C99-based standards] (erff): Do not allow.
51099         [non-C99-based standards] (erfcf): Likewise.
51100         [non-C99-based standards] (gammaf): Likewise.
51101         [non-C99-based standards] (hypotf): Likewise.
51102         [non-C99-based standards] (j0f): Likewise.
51103         [non-C99-based standards] (j1f): Likewise.
51104         [non-C99-based standards] (jnf): Likewise.
51105         [non-C99-based standards] (lgammaf): Likewise.
51106         [non-C99-based standards] (tgammaf): Likewise.
51107         [non-C99-based standards] (y0f): Likewise.
51108         [non-C99-based standards] (y1f): Likewise.
51109         [non-C99-based standards] (ynf): Likewise.
51110         [non-C99-based standards] (isnanf): Likewise.
51111         [non-C99-based standards] (acoshf): Likewise.
51112         [non-C99-based standards] (asinhf): Likewise.
51113         [non-C99-based standards] (atanhf): Likewise.
51114         [non-C99-based standards] (cbrtf): Likewise.
51115         [non-C99-based standards] (expm1f): Likewise.
51116         [non-C99-based standards] (ilogbf): Likewise.
51117         [non-C99-based standards] (log1pf): Likewise.
51118         [non-C99-based standards] (logbf): Likewise.
51119         [non-C99-based standards] (nextafterf): Likewise.
51120         [non-C99-based standards] (remainderf): Likewise.
51121         [non-C99-based standards] (rintf): Likewise.
51122         [non-C99-based standards] (scalbf): Likewise.
51123         [non-C99-based standards] (copysignl): Likewise.
51124         [non-C99-based standards] (exp2l): Likewise.
51125         [non-C99-based standards] (log2l): Likewise.
51126         [non-C99-based standards] (modfl): Allow.
51127         [non-C99-based standards] (erfl): Do not allow.
51128         [non-C99-based standards] (erfcl): Likewise.
51129         [non-C99-based standards] (gammal): Likewise.
51130         [non-C99-based standards] (hypotl): Likewise.
51131         [non-C99-based standards] (j0l): Likewise.
51132         [non-C99-based standards] (j1l): Likewise.
51133         [non-C99-based standards] (jnl): Likewise.
51134         [non-C99-based standards] (lgammal): Likewise.
51135         [non-C99-based standards] (tgammal): Likewise.
51136         [non-C99-based standards] (y0l): Likewise.
51137         [non-C99-based standards] (y1l): Likewise.
51138         [non-C99-based standards] (ynl): Likewise.
51139         [non-C99-based standards] (isnanl): Likewise.
51140         [non-C99-based standards] (acoshl): Likewise.
51141         [non-C99-based standards] (asinhl): Likewise.
51142         [non-C99-based standards] (atanhl): Likewise.
51143         [non-C99-based standards] (cbrtl): Likewise.
51144         [non-C99-based standards] (expm1l): Likewise.
51145         [non-C99-based standards] (ilogbl): Likewise.
51146         [non-C99-based standards] (log1pl): Likewise.
51147         [non-C99-based standards] (logbl): Likewise.
51148         [non-C99-based standards] (nextafterl): Likewise.
51149         [non-C99-based standards] (remainderl): Likewise.
51150         [non-C99-based standards] (rintl): Likewise.
51151         [non-C99-based standards] (scalbl): Likewise.
51152         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51153         [non-C99-based standards] (FP_*): Do not allow.
51154         [C99-based standards] (FP_*): Change to
51155         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
51156         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51157         allow.
51158         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
51159         (SIG_ERR): Likewise.
51160         [X/Open-based standards] (SIG_HOLD): Likewise.
51161         (SIG_IGN): Likewise.
51162         (SIGABRT): Use macro-int-constant.  Specify type.  Require
51163         positive value.
51164         (SIGFPE): Likewise.
51165         (SIGILL): Likewise.
51166         (SIGINT): Likewise.
51167         (SIGSEGV): Likewise.
51168         (SIGTER): Likewise.
51169         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
51170         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
51171         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
51172         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
51173         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
51174         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
51175         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
51176         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
51177         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
51178         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
51179         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
51180         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
51181         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
51182         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
51183         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
51184         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
51185         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
51186         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
51187         [X/Open-based standards] (SIGTRAP): Likewise.
51188         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
51189         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
51190         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
51191         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
51192         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51193         allow.
51195 2012-05-08  Ian Wienand  <ianw@vmware.com>
51197         [BZ #14080]
51198         * time/tzset.c (__tzset_parse_tz): Update default rules for
51199         daylight time changes in the Energy Policy Act of 2005.
51201 2012-05-09  Andreas Jaeger  <aj@suse.de>
51203         [BZ #13983]
51204         * elf/ldconfig.c (parse_conf): Change string to make clear that
51205         ldconfig only issued a warning if ld.so.conf does not exist.
51207 2012-05-08  David S. Miller  <davem@davemloft.net>
51209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
51210         movxtod instead of popping the value on the stack.
51212         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51214 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
51216         * config.h.in: Add HAVE_ARM_PCS_VFP.
51218 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
51220         [BZ #13979]
51221         * include/features.h: Warn if user requests __FORTIFY_SOURCE
51222         checking but the checks are disabled for any reason.
51224 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
51226         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
51227         and ELF64_R_TYPE with ELFW(R_TYPE).
51229 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
51231         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
51232         (ulimit): Likewise.
51234         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
51235         (settimeofday): Likewise.
51237 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
51239         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
51240         a struct th_u2 inside the union, and move tu_block/tu_code into
51241         a new th_u3 union of tu_block/tu_code inside of that.  Move
51242         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
51243         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
51244         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
51245         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
51246         (th_stuff): Change to th_u1.tu_stuff.
51247         (th_data): Define.
51248         (th_msg): Change to th_u1.th_u2.tu_data.
51250 2012-05-07  David S. Miller  <davem@davemloft.net>
51252         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51254         [BZ #14074]
51255         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
51256         (SETUP_PIC_REG): Use it.
51257         (SETUP_PIC_REG_LEAF): Use it.
51259 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
51261         [BZ #13885]
51262         [BZ #13923]
51263         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51264         USE_AS_EXPM1L.
51265         (EXPL_FINITE): Likewise.
51266         (FLDLOG): Likewise.
51267         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
51268         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
51269         e_expl.S.
51270         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51271         USE_AS_EXPM1L.
51272         (EXPL_FINITE): Likewise.
51273         (FLDLOG): Likewise.
51274         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
51275         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
51276         e_expl.S.
51277         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
51278         test of -max_value argument for long double.
51279         * sysdeps/i386/fpu/libm-test-ulps: Update.
51280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51282 2012-05-06  David S. Miller  <davem@davemloft.net>
51284         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
51285         quad soft-float symbols whose references which are compiler
51286         generated.
51287         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
51289 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
51291         [BZ #13884]
51292         [BZ #13914]
51293         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51294         USE_AS_EXP10L.
51295         (EXPL_FINITE): Likewise.
51296         (FLDLOG): Likewise.
51297         (c0): Likewise.
51298         (c1): Likewise.
51299         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
51300         Adjust comments for base varying.
51301         (__expl_finite): Change alias to EXPL_FINITE.
51302         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
51303         e_expl.S.
51304         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
51305         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
51306         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
51307         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
51308         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51309         USE_AS_EXP10L.
51310         (EXPL_FINITE): Likewise.
51311         (FLDLOG): Likewise.
51312         (c0): Likewise.
51313         (c1): Likewise.
51314         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
51315         Adjust comments for base varying.
51316         (__expl_finite): Change alias to EXPL_FINITE.
51317         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
51318         tests for bugs.
51319         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51321         [BZ #14064]
51322         * math/libm-test.inc (check_float_internal): Correct ulp
51323         calculation for subnormal expected results.
51325 2012-05-06  Andreas Jaeger  <aj@suse.de>
51327         * Makeconfig (+math-flags): New, set to -frounding-math.
51328         (+cflags): Add +math-flags so that all of glibc gets compiled with
51329         it.
51331         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
51333 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
51335         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
51336         Disable one test.
51338         [BZ #13787]
51339         [BZ #13922]
51340         [BZ #14036]
51341         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
51342         (__ieee754_expl): Allow for and saturate large arguments.
51343         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
51344         (u_threshold): Likewise.
51345         (__exp): Call __ieee754_exp before checking for overflow and
51346         underflow.
51347         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
51348         (u_threshold): Likewise.
51349         (__expf): Call __ieee754_expf before checking for overflow and
51350         underflow.
51351         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
51352         (u_threshold): Likewise.
51353         (__expl): Call __ieee754_expl before checking for overflow and
51354         underflow.
51355         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
51356         (__ieee754_expl): Allow for and saturate large arguments.
51357         * math/libm-test.inc (exp_test): Add another test.  Do not allow
51358         missing overflow exception on overflow.
51359         (expm1_test): Do not allow missing overflow exception on overflow.
51361         * sysdeps/i386/fpu/e_expl.c: Move to ...
51362         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
51363         rather than using inline asm.
51364         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
51365         * sysdeps/x86_64/fpu/e_expl.S: Copy from
51366         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
51368         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
51369         (nice): Likewise.
51370         (poll): Likewise.
51371         (signal): Likewise.
51372         (time): Likewise.
51373         (times): Likewise.
51375 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
51377         * sysdeps/unix/syscalls.list (adjtime): Add entry from
51378         sysdeps/unix/common/syscalls.list.
51379         (fchmod): Likewise.
51380         (fchown): Likewise.
51381         (ftruncate): Likewise.
51382         (getrusage): Likewise.
51383         (gettimeofday): Likewise.
51384         (setpgid): Likewise.
51385         (setregid): Likewise.
51386         (setreuid): Likewise.
51387         (sigaction): Likewise.
51388         (truncate): Likewise.
51389         (vhangup): Likewise.
51390         * sysdeps/unix/common/syscalls.list: Remove file.
51391         * sysdeps/unix/bsd/Implies: Don't include unix/common.
51392         * sysdeps/unix/sysv/linux/Implies: Likewise.
51394 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
51396         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
51397         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
51398         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
51399         Moved to ...
51400         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
51401         Here.
51402         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
51403         to ...
51404         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
51405         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
51406         to ...
51407         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
51408         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
51409         to ...
51410         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
51411         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
51412         to ...
51413         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
51414         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
51415         to ...
51416         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
51417         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
51418         to ...
51419         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
51420         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
51421         to ...
51422         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
51423         Here.
51424         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
51425         to ...
51426         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
51427         Here.
51428         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
51429         to ...
51430         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
51431         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
51432         Moved to ...
51433         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
51434         Here.
51435         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
51436         to ...
51437         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
51439 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
51441         * sysdeps/unix/common/bits/dirent.h: Remove file.
51442         * sysdeps/unix/common/bits/fcntl.h: Likewise.
51444         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
51445         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
51446         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
51447         * sysdeps/unix/bsd/isatty.c: Likewise.
51448         * sysdeps/unix/bsd/tcdrain.c: Likewise.
51449         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
51450         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
51452 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51454         [BZ #13563]
51455         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
51456         long double comparison inaccuracies.
51457         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
51458         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51460 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
51462         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
51463         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
51465 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
51467         [BZ #14049]
51468         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
51469         nonzero digits before rounding a hex value.
51470         * stdlib/tst-strtod.c (tests): Add another test.
51472 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51474         * sysdeps/s390/fpu/libm-test-ulps: Update.
51476 2012-05-03  Andreas Jaeger  <aj@suse.de>
51478         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
51479         does not get optimized out.
51480         (malloc_opt_barrier): New.
51482 2012-05-03  Andreas Jaeger  <aj@suse.de>
51483             Roland McGrath  <roland@hack.frob.com>
51485         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
51486         intermediate file deletion.
51487         (generated): Add .symlist files.
51489 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
51491         [BZ #13775]
51492         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
51493         Redirect under this condition.
51494         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
51495         [__USE_GNU] (__dprintf_chk): Not under this condition.
51496         [__USE_GNU] (__vdprintf_chk): Likewise.
51497         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
51498         under this condition.
51499         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
51500         [__USE_XOPEN2K8] (dprintf): Define under this condition.
51501         [__USE_XOPEN2K8] (vdprintf): Likewise.
51502         [__USE_GNU] (__dprintf_chk): Not under this condition.
51503         [__USE_GNU] (__vdprintf_chk): Likewise.
51504         [__USE_GNU] (dprintf): Likewise.
51505         [__USE_GNU] (vdprintf): Likewise.
51507 2012-05-03  Roland McGrath  <roland@hack.frob.com>
51509         * elf/Makefile (common-generated): Set this instead of generated for
51510         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
51511         $(all-built-dso)-derived lists.
51513 2012-05-03  Andreas Jaeger  <aj@suse.de>
51515         * sysdeps/i386/fpu/libm-test-ulps: Update.
51517         * FAQ: Removed.
51518         * FAQ.in: Likewise.
51519         * scripts/gen-FAQ.pl: Likewise.
51520         * manual/install.texi (Installation): Point to online location of
51521         FAQ.
51522         * Makefile (files-for-dist): Remove FAQ.
51523         (FAQ): Remove.
51525 2012-05-02  Allan McRae  <allan@archlinux.org>
51527         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
51528         (LDFLAGS-reldepmod5.so): Likewise.
51529         (LDFLAGS-reldep6mod1.so): Likewise.
51530         (LDFLAGS-reldep6mod4.so): Likewise.
51531         (LDFLAGS-reldep8mod3.so): Likewise.
51532         (LDFLAGS-unload4mod1.so): Likewise.
51533         (LDFLAGS-unload4mod2.so): Likewise.
51534         (LDFLAGS-tst-initorder): Likewise.
51535         (LDFLAGS-tst-initordera2.so): Likewise.
51536         (LDFLAGS-tst-initordera3.so): Likewise.
51537         (LDFLAGS-tst-initordera4.so): Likewise.
51538         (LDFLAGS-tst-initorderb2.so): Likewise.
51539         (LDFLAGS-noload): Likewise.
51540         (LDFLAGS-next): Likewise.
51541         (LDFLAGS-order2mod1.so): Likewise.
51542         (LDFLAGS-order2mod2.so): Likewise.
51543         (LDFLAGS-tst-initorder2): Likewise.
51544         (LDFLAGS-tst-initorder2a.so): Likewise.
51545         (LDFLAGS-tst-initorder2b.so): Likewise.
51546         (LDFLAGS-tst-initorder2c.so): Likewise.
51547         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
51549 2012-05-02  David S. Miller  <davem@davemloft.net>
51551         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51553 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
51555         [BZ #14055]
51556         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
51558 2012-05-02  Andreas Jaeger  <aj@suse.de>
51560         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
51561         since we manipulate rounding mode.
51562         (CPPFLAGS-test-idouble.c): Likewise.
51563         (CPPFLAGS-test-ifloat.c): Likewise.
51564         (CFLAGS-test-ldouble.c): Likewise.
51565         (CFLAGS-test-double.c): Likewise.
51566         (CFLAGS-test-float.c): Likewise.
51567         (CFLAGS-test-misc.c): Likewise.
51568         (CFLAGS-test-test-fenv.c): Likewise.
51570 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51572         [BZ #2550]
51573         [BZ #2570]
51574         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
51575         comparisons to determine direction to adjust input.
51577 2012-05-01  Roland McGrath  <roland@hack.frob.com>
51579         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
51580         output to the target.
51582         * scripts/localplt.awk: New file.
51583         * elf/Makefile ($(objpfx)check-localplt): Target removed.
51584         (check-localplt-CFLAGS): Variable removed.
51585         ($(all-built-dso:=.jmprel)): New static pattern rule.
51586         (generated): Add those targets.
51587         (localplt-built-dso): New variable.
51588         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
51590         * elf/check-localplt.c: File removed.
51592         * scripts/check-execstack.awk: New file.
51593         * elf/Makefile ($(objpfx)check-execstack): Target removed.
51594         (check-execstack-CFLAGS): Variable removed.
51595         ($(objpfx)check-execstack.h): Target removed.
51596         ($(objpfx)execstack-default): New target.
51597         (generated): Add that instead of check-execstack.h.
51598         ($(all-built-dso:=.phdr)): New static pattern rule.
51599         (generated): Add those targets.
51600         * elf/check-execstack.c: File removed.
51602         * scripts/check-textrel.awk: New file.
51603         * elf/Makefile ($(objpfx)check-textrel): Target removed.
51604         (check-textrel-CFLAGS): Variable removed.
51605         (all-built-dso): Use := to define.o
51606         ($(all-built-dso:=.dyn)): New static pattern rule.
51607         (generated): Add those targets.
51608         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
51609         * config.make.in (READELF): New substituted variable.
51610         * elf/check-textrel.c: File removed.
51612 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
51614         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51615         allow.
51616         * conform/data/ctype.h-data [C99-based standards] (isblank):
51617         Expect function.
51618         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
51619         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
51620         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51621         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
51622         Specify type.  Require positive value.
51623         (EILSEQ): Likewise.
51624         (ERANGE): Likewise.
51625         [ISO || POSIX] (EILSEQ): Do not expect.
51626         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
51627         Specify type.  Require positive value.
51628         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
51629         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
51630         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
51631         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
51632         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
51633         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
51634         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
51635         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
51636         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
51637         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
51638         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
51639         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
51640         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
51641         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
51642         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
51643         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
51644         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
51645         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
51646         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
51647         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
51648         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
51649         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
51650         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
51651         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
51652         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
51653         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
51654         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
51655         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
51656         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
51657         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
51658         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
51659         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
51660         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
51661         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
51662         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
51663         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
51664         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
51665         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
51666         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
51667         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
51668         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
51669         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
51670         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
51671         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
51672         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
51673         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
51674         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
51675         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
51676         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
51677         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
51678         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
51679         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
51680         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
51681         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
51682         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
51683         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
51684         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
51685         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
51686         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
51687         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
51688         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
51689         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
51690         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
51691         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
51692         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
51693         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
51694         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
51695         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
51696         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
51697         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
51698         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
51699         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
51700         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
51701         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
51702         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
51703         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
51704         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
51705         Require >= 2.
51706         (FLT_ROUNDS): Expect as macro, not constant.
51707         (FLT_MANT_DIG): Use macro-int-constant.
51708         (DBL_MANT_DIG): Likewise.
51709         (LDBL_MANT_DIG): Likewise.
51710         (FLT_DIG): Likewise.
51711         (DBL_DIG): Likewise.
51712         (LDBL_DIG): Likewise.
51713         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
51714         (DBL_MIN_EXP): Likewise.
51715         (LDBL_MIN_EXP): Likewise.
51716         (FLT_MAX_EXP): Use macro-int-constant.
51717         (DBL_MAX_EXP): Likewise.
51718         (LDBL_MAX_EXP): Likewise.
51719         (FLT_MAX_10_EXP): Likewise.
51720         (DBL_MAX_10_EXP): Likewise.
51721         (LDBL_MAX_10_EXP): Likewise.
51722         (FLT_MAX): Use macro-constant.
51723         (DBL_MAX): Likewise.
51724         (LDBL_MAX): Likewise.
51725         (FLT_EPSILON): Use macro-constant.  Give upper bound.
51726         (DBL_EPSILON): Likewise.
51727         (LDBL_EPSILON): Likewise.
51728         (FLT_MIN): Likewise.
51729         (DBL_MIN): Likewise.
51730         (LDBL_MIN): Likewise.
51731         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
51732         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
51733         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
51734         [ISO11] (FLT_HAS_SUBNORM): Likewise.
51735         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
51736         [ISO11] (DBL_DECIMAL_DIG): Likewise.
51737         [ISO11] (FLT_DECIMAL_DIG): Likewise.
51738         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
51739         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
51740         [ISO11] (FLT_TRUE_MIN): Likewise.
51741         [ISO11] (LDBL_TRUE_MIN): Likewise.
51742         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51743         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
51744         (SCHAR_MIN): Use macro-int-constant.  Specify type.
51745         (SCHAR_MAX): Likewise.
51746         (UCHAR_MAX): Likewise.
51747         (CHAR_MIN): Likewise.
51748         (CHAR_MAX): Likewise.
51749         (MB_LEN_MAX): Use macro-int-constant.
51750         (SHRT_MIN): Use macro-int-constant.  Specify type.
51751         (SHRT_MAX): Likewise.
51752         (USHRT_MAX): Likewise.
51753         (INT_MAX): Likewise.
51754         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
51755         bound negative.
51756         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51757         bound with "U".
51758         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51759         bound with "L".
51760         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
51761         bound negative.  Suffix upper bound with "L".
51762         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51763         bound with "UL".
51764         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
51765         Specify type.
51766         [C99-based standards] (LLONG_MAX): Likewise.
51767         [C99-based standards] (ULLONG_MAX): Likewise.
51768         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
51769         == 0.
51770         [ISO11] (max_align_t): Require type.
51771         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51773         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
51774         from $CFLAGS, without defining away __attribute__ calls.
51775         (checknamespace): Use $CFLAGS_namespace.
51777         * conform/conformtest.pl (@keywords): Only include C99 keywords
51778         for standards based on C99 or C11.
51780         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
51781         Disable tests.
51782         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
51783         UNIX98]: Likewise.
51785         * conform/conformtest.pl: Handle "macro-int-constant" and test for
51786         usability of symbols in #if.
51788         * conform/conformtest.pl: If macro or constant types start
51789         "promoted:", expect the symbol to be of the following type
51790         promoted by the integer promotions.
51792         * conform/conformtest.pl: Parse all "constant" and "macro" lines
51793         in one place.  Also handle "macro-constant".
51795         * conform/conformtest.pl: Only accept expected macro values with
51796         "==".  Parse all "macro" lines in one place.
51797         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
51799         * conform/conformtest.pl: Handle braced types on "constant" lines
51800         instead of handling "typed-constant".
51801         * conform/data/signal.h-data: Use "constant" instead of
51802         "typed-constant".
51804         * conform/conformtest.pl: Handle "optional-" at start of lines in
51805         one place rather than duplicating several cases.  Handle each
51806         format of "macro" line with initial "optional-".
51808         * conform/conformtest.pl: Only accept expected constant or
51809         optional-constant values with "==".  Parse all "constant" lines in
51810         one place.  Parse all "optional-constant" lines in one place.
51811         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
51812         * conform/data/fmtmsg.h-data: Likewise.
51813         * conform/data/netinet/in.h-data: Likewise.
51814         * conform/data/tar.h-data: Likewise.
51815         * conform/data/limits.h-data: Use "==" form on "constant" and
51816         "optional-constant" lines.
51818         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
51819         Use -std=c99 for XOPEN2K.
51820         (@knownproblems): Remove.
51821         (newtoken): Don't check %isknown.
51823         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
51824         Do not expect macro.
51825         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
51826         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
51827         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
51828         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
51829         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
51830         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
51831         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
51832         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
51833         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
51834         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
51835         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
51836         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
51837         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
51838         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
51839         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
51840         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
51841         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
51842         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
51843         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
51844         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
51845         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
51846         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
51847         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
51848         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
51849         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
51850         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
51851         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
51852         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
51853         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
51854         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
51855         [XPG3] (acosh): Likewise.
51856         [XPG3] (asinh): Likewise.
51857         [XPG3] (atanh): Likewise.
51858         [XPG3] (cbrt): Likewise.
51859         [XPG3] (expm1): Likewise.
51860         [XPG3] (ilogb): Likewise.
51861         [XPG3] (log1p): Likewise.
51862         [XPG3] (logb): Likewise.
51863         [XPG3] (nextafter): Likewise.
51864         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
51865         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
51866         [XPG3] (remainder): Likewise.
51867         [XPG3] (rint): Likewise.
51868         [XPG3 || XPG4 || UNIX98] (round): Likewise.
51869         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
51870         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
51871         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
51872         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
51873         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
51874         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
51875         [UNIX98 || XOPEN2K] (scalb): Expect.
51876         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
51877         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
51878         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
51879         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
51880         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
51881         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
51882         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
51883         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
51884         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
51885         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
51886         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
51887         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
51888         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
51889         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
51890         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
51891         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
51892         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
51893         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
51894         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
51895         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
51896         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
51897         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
51898         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
51899         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
51900         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
51901         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
51902         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
51903         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
51904         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
51905         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
51906         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
51907         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
51908         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
51909         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
51910         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
51911         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
51912         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
51913         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
51914         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
51915         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
51916         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
51917         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
51918         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
51919         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
51920         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
51921         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
51922         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
51923         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
51924         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
51925         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
51926         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
51927         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
51928         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
51929         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
51930         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
51931         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
51932         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
51933         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
51934         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
51935         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
51936         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
51937         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
51938         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
51939         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
51940         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
51941         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
51942         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
51943         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
51944         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
51945         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
51946         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
51947         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
51948         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
51949         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
51950         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
51951         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
51952         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
51953         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
51954         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
51955         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
51956         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
51957         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
51958         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
51959         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
51960         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
51961         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
51962         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
51963         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
51964         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
51965         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
51966         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
51967         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
51968         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
51969         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
51970         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
51971         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
51972         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
51973         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
51974         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
51975         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
51976         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
51977         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
51978         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
51979         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
51980         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
51981         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
51982         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
51983         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
51984         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
51985         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
51986         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
51987         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
51988         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
51989         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
51990         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
51991         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
51992         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
51993         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
51994         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
51995         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
51996         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
51997         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
51998         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
51999         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
52000         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
52001         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
52002         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
52003         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
52004         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
52005         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
52006         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
52007         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
52008         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
52009         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
52010         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
52011         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
52012         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
52014         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
52015         _XOPEN_SOURCE_EXTENDED for XPG4.
52017         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
52019         * Makeconfig (localtime): Remove variable.
52020         (inst_localtime-file): Likewise.
52022 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
52024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
52025         Update.
52026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52027         Update.
52028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
52029         Update.
52030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
52031         Update.
52032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
52033         Update.
52034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
52035         Update.
52036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52037         Update.
52038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
52039         Update.
52040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
52041         Update.
52043 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
52045         [BZ #2550]
52046         [BZ #2570]
52047         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
52048         comparisons to determine direction to adjust input.
52049         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
52050         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
52051         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
52052         Likewise.
52053         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
52054         Likewise.
52055         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
52056         Likewise.
52057         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
52058         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
52059         Likewise.
52060         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
52061         Likewise.
52062         * math/libm-test.inc (nexttoward_test): Add more tests.
52064 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
52066         [BZ #14040]
52067         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
52068         in version GLIBC_2.1, not GLIBC_2.0.
52069         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
52070         Likewise.
52072 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
52074         [BZ #13942]
52075         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
52076         (1 - x) * (1 + x).
52077         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
52078         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
52079         * math/libm-test.inc (acos_test): Add more tests.
52080         (asin_test): Likewise.
52081         * sysdeps/i386/fpu/libm-test-ulps: Update.
52082         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52084         [BZ #14034]
52085         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
52086         of square root.
52087         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
52088         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
52089         * math/libm-test.inc (acos_test_tonearest): New function.
52090         (acos_test_towardzero): Likewise.
52091         (acos_test_downward): Likewise.
52092         (acos_test_upward): Likewise.
52093         (asin_test_tonearest): Likewise.
52094         (asin_test_towardzero): Likewise.
52095         (asin_test_downward): Likewise.
52096         (asin_test_upward): Likewise.
52097         (main): Call the new functions.
52098         * sysdeps/i386/fpu/libm-test-ulps: Update.
52099         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52101         [BZ #13884]
52102         [BZ #13924]
52103         * math/e_exp10.c: Include <float.h>.
52104         (__ieee754_exp10): Handle underflow here rather than multiplying
52105         large negative argument by M_LN10.
52106         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
52107         of __ieee754_expf.
52108         * math/e_exp10l.c: Include <float.h>.
52109         (__ieee754_exp10l): Handle underflow here rather than multiplying
52110         large negative argument by M_LN10l.
52111         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
52112         spurious overflow exception on underflow.
52114 2012-04-29  Marek Polacek  <polacek@redhat.com>
52116         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
52117         (__fortify_function): New macro.
52118         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
52119         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
52120         __extern_always_inline.
52121         * libio/bits/stdio2.h: Likewise.
52122         * libio/bits/stdio.h: Likewise.
52123         * string/string.h: Likewise.
52124         * string/bits/string3.h: Likewise.
52125         * include/stdio.h: Likewise.
52126         * stdlib/bits/stdlib.h: Likewise.
52127         * stdlib/stdlib.h: Likewise.
52128         * rt/bits/mqueue2.h: Likewise.
52129         * rt/mqueue.h: Likewise.
52130         * posix/bits/unistd.h: Likewise.
52131         * posix/unistd.h: Likewise.
52132         * io/bits/poll2.h: Likewise.
52133         * io/bits/fcntl2.h: Likewise.
52134         * io/fcntl.h: Likewise.
52135         * io/sys/poll.h: Likewise.
52136         * misc/bits/syslog.h: Likewise.
52137         * misc/bits/syslog-ldbl.h: Likewise.
52138         * misc/sys/syslog.h: Likewise.
52139         * socket/bits/socket2.h: Likewise.
52140         * socket/sys/socket.h: Likewise.
52141         * debug/tst-chk1.c: Likewise.
52142         * wcsmbs/bits/wchar2.h: Likewise.
52143         * wcsmbs/bits/wchar-ldbl.h: Likewise.
52144         * wcsmbs/wchar.h: Likewise.
52146 2012-04-29  Andreas Jaeger  <aj@suse.de>
52148         * Makerules (tests): Remove enable-check-abi protection.
52149         (check-abi-warn): Remove.
52150         (check-abi-%): Remove check-abi-warn usage.
52152         * configure.in: Remove check-abi configure option.
52153         * configure: Regenerated.
52154         * config.make.in (enable-check-abi): Remove.
52156 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
52158         [BZ #14033]
52159         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
52160         double functions to double *_finite functions.
52162         [BZ #13941]
52163         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
52164         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
52165         LDBL_MIN_EXP.
52166         * stdio-common/Makefile (tests): Add tst-sprintf3.
52167         * stdio-common/tst-sprintf3.c: New file.
52169         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
52170         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
52172 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
52174         * conform/conformtest.pl: Remove duplicate typed-constant
52175         handling.
52177 2012-04-28  David S. Miller  <davem@davemloft.net>
52179         * Makerules (%.abilist): Add vpath on sysdep_dirs.
52180         (check-abi-%): Remove AWK script prerequisite and explicit
52181         abilist directory.
52182         (check-abi): Rewrite to just diff the symlist with the abilist.
52183         (config-tls, config-abi-config): Delete, no longer used.
52184         (update-abi-%): Remove AWK script and explicit abilist directory.
52185         (update-abi): Rewrite to simply compare and conditionally copy the
52186         symlist and the sysdep abilist file.  Remove update-abi-config
52187         checks.
52188         * abilist/ld.abilist: Remove.
52189         * abilist/libBrokenLocale.abilist: Remove.
52190         * abilist/libanl.abilist: Remove.
52191         * abilist/libcrypt.abilist: Remove.
52192         * abilist/libdl.abilist: Remove.
52193         * abilist/librt.abilist: Remove.
52194         * abilist/libthread_db.abilist: Remove.
52195         * abilist/libutil.abilist: Remove.
52196         * scripts/extract-abilist.awk: Remove.
52197         * scripts/merge-abilist.awk: Remove.
52198         * sysdeps/generic/libcidn.abilist: New file.
52199         * sysdeps/generic/libnss_compat.abilist: New file.
52200         * sysdeps/generic/libnss_db.abilist: New file.
52201         * sysdeps/generic/libnss_dns.abilist: New file.
52202         * sysdeps/generic/libnss_files.abilist: New file.
52203         * sysdeps/generic/libnss_hesiod.abilist: New file.
52204         * sysdeps/generic/libnss_nis.abilist: New file.
52205         * sysdeps/generic/libnss_nisplus.abilist: New file.
52206         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
52207         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
52208         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
52209         file.
52210         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
52211         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
52212         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
52213         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
52214         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
52215         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
52216         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
52217         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
52218         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
52219         file.
52220         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
52221         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
52222         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
52223         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
52224         file.
52225         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
52226         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
52227         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
52228         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
52229         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
52230         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
52231         file.
52232         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
52233         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
52234         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
52235         file.
52236         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
52237         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
52238         New file.
52239         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
52240         New file.
52241         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
52242         New file.
52243         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
52244         New file.
52245         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
52246         New file.
52247         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
52248         New file.
52249         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
52250         New file.
52251         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
52252         New file.
52253         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
52254         New file.
52255         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
52256         New file.
52257         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
52258         New file.
52259         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
52260         New file.
52261         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
52262         New file.
52263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
52264         file.
52265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
52266         New file.
52267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
52268         New file.
52269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
52270         file.
52271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
52272         New file.
52273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
52274         New file.
52275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
52276         file.
52277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
52278         New file.
52279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
52280         New file.
52281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
52282         New file.
52283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
52284         New file.
52285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
52286         New file.
52287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
52288         New file.
52289         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
52290         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
52291         file.
52292         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
52293         New file.
52294         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
52295         file.
52296         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
52297         file.
52298         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
52299         file.
52300         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
52301         file.
52302         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
52303         file.
52304         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
52305         New file.
52306         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
52307         file.
52308         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
52309         file.
52310         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
52311         New file.
52312         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
52313         file.
52314         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
52315         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
52316         file.
52317         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
52318         New file.
52319         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
52320         file.
52321         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
52322         file.
52323         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
52324         file.
52325         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
52326         file.
52327         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
52328         file.
52329         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
52330         New file.
52331         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
52332         file.
52333         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
52334         file.
52335         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
52336         New file.
52337         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
52338         file.
52339         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
52340         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
52341         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
52342         file.
52343         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
52344         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
52345         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
52346         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
52347         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
52348         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
52349         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
52350         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
52351         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
52352         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
52353         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
52354         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
52355         file.
52356         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
52357         New file.
52358         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
52359         file.
52360         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
52361         file.
52362         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
52363         file.
52364         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
52365         file.
52366         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
52367         file.
52368         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
52369         New file.
52370         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
52371         New file.
52372         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
52373         file.
52374         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
52375         New file.
52376         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
52377         file.
52378         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
52379         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
52380         file.
52381         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
52382         New file.
52383         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
52384         file.
52385         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
52386         file.
52387         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
52388         file.
52389         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
52390         file.
52391         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
52392         file.
52393         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
52394         New file.
52395         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
52396         New file.
52397         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
52398         file.
52399         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
52400         New file.
52401         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
52402         file.
52404 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
52406         * conform/conformtest.pl: Fix typo in handling typed-constant from
52407         allow-header.
52409 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
52411         * README: Cut down references to pre-2.6 Linux kernels and
52412         Linuxthreads.  Update lists of configurations in libc and ports
52413         and sort alphabetically.  Say "or newer" with Linux kernel version
52414         requirements.
52416         * config.h.in [IS_IN_build]: Allow compiling without optimization.
52418 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52420         [BZ #887]
52421         * math/libm-test.inc (logb_test_downward): New test to expose
52422         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
52423         rounding mode.
52425 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
52427         [BZ #14027]
52428         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
52429         to be done.
52430         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
52431         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
52433 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
52435         * sysdeps/unix/i386/brk.S: Remove file.
52436         * sysdeps/unix/i386/dl-brk.S: Likewise.
52437         * sysdeps/unix/i386/pipe.S: Likewise.
52438         * sysdeps/unix/i386/sigreturn.S: Likewise.
52439         * sysdeps/unix/i386/syscall.S: Likewise.
52440         * sysdeps/unix/i386/vfork.S: Likewise.
52441         * sysdeps/unix/i386/wait.S: Likewise.
52443         * sysdeps/unix/common/tcsendbrk.c: Move to ...
52444         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
52446         * configure.in (arm*-none*): Do not allow without
52447         --enable-hacker-mode.
52448         (netbsd*): Remove case setting base_os.
52449         (386bsd*): Likewise.
52450         (freebsd*): Likewise.
52451         (bsdi*): Likewise.
52452         (osf*): Likewise.
52453         (sunos*): Likewise.
52454         (ultrix*): Likewise.
52455         (newsos*): Likewise.
52456         (dynix*): Likewise.
52457         (*bsd*): Likewise.
52458         (sysv*): Likewise.
52459         (isc*): Likewise.
52460         (esix*): Likewise.
52461         (sco*): Likewise.
52462         (minix*): Likewise.
52463         (irix4*): Likewise.
52464         (irix6*): Likewise.
52465         (solaris[2-9]*): Likewise.
52466         (none): Likewise.
52467         * configure: Regenerated.
52469 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52471         [BZ #11521]
52472         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
52473         overflow or cancellation in calculating denominator.
52474         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
52475         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
52476         down expression to avoid unexpected rounding in newer GCCs.
52477         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
52479 2012-04-26  David S. Miller  <davem@davemloft.net>
52481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
52482         long-double compat symbols.
52483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
52484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
52485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
52486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
52487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
52488         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
52489         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
52490         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
52491         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
52492         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
52493         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
52494         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
52495         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
52497 2012-04-25  David S. Miller  <davem@davemloft.net>
52499         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
52500         HWCAP_* values only after the memory barriers have been defined.
52501         (atomic_full_barrier): Define.
52502         (atomic_read_barrier): Define.
52503         (atomic_write_barrier): Define.
52505 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52507         * shlib-versions: Add libgcc_s version information.
52508         * sysdeps/generic/libgcc_s.h: Remove.
52509         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
52510         libgcc_s.h.
52511         * sysdeps/gnu/unwind-resume.c: Likewise.
52512         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
52514 2012-04-25  David S. Miller  <davem@davemloft.net>
52516         * sysdeps/unix/sparc/brk.S: Delete.
52517         * sysdeps/unix/sparc/dl-brk.S: Delete.
52518         * sysdeps/unix/sparc/pipe.S: Delete.
52519         * sysdeps/unix/sparc/sysdep.S: Delete.
52520         * sysdeps/unix/sparc/sysdep.h: Delete.
52521         * sysdeps/unix/sparc/vfork.S: Delete.
52522         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
52523         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
52524         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
52525         (ret_ERRVAL, r0, r1, MOVE): Define.
52526         (JUMPTARGET): Remove.
52527         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
52528         sysdeps/unix/sparc/sysdep.h
52529         (ENTRY, END): Remove.
52530         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52532 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
52534         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
52535         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
52536         -DIS_IN_build.
52538         * timezone/README: Update upstream location and email address for
52539         tzcode and tzdata.
52540         * timezone/zdump.c: Update from tzcode 2012b.
52541         * timezone/zic.c: Likewise.
52543         * configure.in (libc_cv_as_needed): Remove test.
52544         * configure: Regenerated.
52545         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
52546         conditional definition.
52547         [$(have-as-needed) != yes] (no-as-needed): Likewise.
52548         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
52549         * config.make.in (have-as-needed): Remove variable.
52551 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
52552             Paul Pluzhnikov  <ppluzhnikov@google.com>
52554         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
52555         strings correctly.
52557 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
52559         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
52560         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
52561         * sysdeps/sh/strlen.S: Likewise.
52563 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
52565         * sysdeps/unix/fork.S: Remove file.
52566         * sysdeps/unix/i386/fork.S: Likewise.
52567         * sysdeps/unix/sparc/fork.S: Likewise.
52569         * sysdeps/unix/system.c: Remove file.
52570         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
52572         * sysdeps/unix/getegid.S: Remove file.
52573         * sysdeps/unix/geteuid.S: Likewise.
52575 2012-04-24  Roland McGrath  <roland@hack.frob.com>
52577         * scripts/check-localplt.awk: New file.
52578         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
52579         of diff.
52580         * scripts/data/localplt-generic.data: Add a comment.
52582         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
52583         NODE when __dir_mkfile failed.
52584         * sysdeps/mach/hurd/symlinkat.c: Likewise.
52585         Reported by Ludovic Courtès <ludo@gnu.org>.
52587 2012-04-24  Andreas Jaeger  <aj@suse.de>
52589         * Makerules (common-clean): Also remove gen-as-const-headers
52590         files.
52592 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
52594         * Makerules (native-compile): Do not change working directory for
52595         build.  Use $(OUTPUT_OPTION) in command.
52596         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
52598 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52600         [BZ #13886]
52601         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
52602         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
52603         * math/libm-test.inc (floor_test): Add more tests.
52604         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
52606 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
52608         * sysdeps/unix/getdents.c: Remove file.
52609         * sysdeps/unix/sysv/getdents.c: Likewise.
52610         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
52612         * sysdeps/unix/syscalls.list (madvise): Add syscall from
52613         sysdeps/unix/mman/syscalls.list.
52614         (mmap): Likewise.
52615         (mprotect): Likewise.
52616         (msync): Likewise.
52617         (munmap): Likewise.
52618         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
52619         * sysdeps/unix/mman/syscalls.list: Remove.
52620         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
52622         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
52623         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
52624         * configure: Regenerated.
52625         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
52626         $(libgcc_s_suffix).
52627         * config.make.in (libgcc_s_suffix): Remove variable.
52629 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
52631         * sysdeps/unix/sysv/gethostname.c: Move to ...
52632         * sysdeps/posix/gethostname.c: ... here.
52634         * sysdeps/unix/execve.S: Remove file.
52636         * sysdeps/unix/_exit.S: Remove file.
52638 2012-04-23  Andreas Jaeger  <aj@suse.de>
52640         [BZ #13739]
52641         * manual/Makefile: Remove make dist support, there's no
52642         need for a stand-alone documentation tar ball.
52643         (TEXI2DVI): Define always, it's not in Makeconfig.
52644         (dist): Removed.
52645         (tar-it): Removed.
52646         (edition): Removed.
52647         (glibc-doc-$(edition).tar): Removed
52648         (%.Z): Removed.
52649         (%.gz): Removed.
52650         (%.uu): Removed.
52651         (ETAGS): Remove, it's in Makeconfig.
52652         (move-if-change): Remove, it's in Makeconfig.
52654 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
52656         [BZ #13970]
52657         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
52658         (strtod, strtof, strtold, strtol, strtoul, strtoq)
52659         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
52660         (strtod_l, strtof_l, strtold_l): Remove __wur.
52661         It is not necessarily an error to ignore strtol's return value.
52662         One can reliably look at the stored endptr to decide whether
52663         the number had valid syntax.
52665 2012-04-21  Andreas Jaeger  <aj@suse.de>
52667         [BZ #13739]
52668         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
52670 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
52672         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
52673         * sysdeps/unix/sysv/Versions: Remove file.
52675 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
52677         [BZ #13927]
52678         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52680 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
52682         [BZ #7064]
52683         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
52684         version from __vm86.
52686 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
52688         * sysdeps/unix/common/lxstat.c: Remove file.
52689         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
52691         * sysdeps/unix/sysv/Makefile: Remove file.
52693         * sysdeps/unix/sysv/direct.h: Remove file.
52695         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
52696         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
52697         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
52698         * sysdeps/unix/sysv/bits/signum.h: Likewise.
52699         * sysdeps/unix/sysv/bits/stat.h: Likewise.
52700         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
52701         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
52703         * sysdeps/unix/sysv/setrlimit.c: Remove file.
52705         * sysdeps/unix/xmknod.c: Remove file.
52706         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
52708         * sysdeps/unix/sysv/settimeofday.c: Remove file.
52710         * sysdeps/unix/sysv/i386/time.S: Remove file.
52712         * sysdeps/unix/fxstat.c: Remove file.
52713         * sysdeps/unix/xstat.c: Likewise.
52714         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
52716         * sysdeps/unix/sysv/sigaction.c: Remove file.
52718         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
52719         (sysdep_headers): Remove variable.
52720         [termio.h not in sysdep_headers] (generated): Likewise.
52721         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
52722         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
52723         * sysdeps/unix/sysv/tcdrain.c: Likewise.
52724         * sysdeps/unix/sysv/tcflow.c: Likewise.
52725         * sysdeps/unix/sysv/tcflush.c: Likewise.
52726         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
52727         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
52728         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
52729         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
52730         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
52732         * sysdeps/unix/siglist.c: Remove file.
52734         * sysdeps/unix/getppid.S: Remove file.
52736         * sysdeps/unix/mkdir.c: Remove file.
52737         * sysdeps/unix/rmdir.c: Likewise.
52739 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
52741         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
52742         ERR_MAX value.
52743         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
52744         errlist-compat value.
52746 2012-04-18  David S. Miller  <davem@davemloft.net>
52748         * sysdeps/generic/memcopy.h (reg_char): Delete.
52749         * debug/strcat_chk.c: Use char, not reg_char.
52750         * debug/strcpy_chk.c: Likewise.
52751         * debug/strncat_chk.c: Likewise.
52752         * debug/strncpy_chk.c: Likewise.
52753         * string/memchr.c: Likewise.
52754         * string/memrchr.c: Likewise.
52755         * string/rawmemchr.c: Likewise.
52756         * string/strcat.c: Likewise.
52757         * string/strchr.c: Likewise.
52758         * string/strchrnul.c: Likewise.
52759         * string/strcmp.c: Likewise.
52760         * string/strcpy.c: Likewise.
52761         * string/strncat.c: Likewise.
52762         * string/strncmp.c: Likewise.
52763         * string/strncpy.c: Likewise.
52765 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52767         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
52768         __builtin_memcopy is called when src and dest ranges are known to not
52769         overlap.
52771 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52773         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
52774         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
52775         fwd_align_merge macro call.
52776         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
52777         bwd_align_merge macro call.
52778         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52780 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52782         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
52783         bwd_align_merge macros.
52784         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
52785         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
52786         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52788 2012-04-18  David S. Miller  <davem@davemloft.net>
52790         * sysdeps/sparc/sparc64/memcopy.h: Delete.
52792 2012-04-18  Andreas Jaeger  <aj@suse.de>
52794         [BZ# 6794]
52795         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
52796         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
52797         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52799         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
52800         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
52801         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52803         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
52804         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
52805         Adjust for changed ldbl-128 files.
52807         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
52808         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
52809         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52811 2012-04-17  David S. Miller  <davem@davemloft.net>
52813         * sysdeps/sparc/sparc32/memcopy.h: Delete.
52815 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
52817         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
52818         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
52819         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
52820         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
52821         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
52822         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
52824 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52826         [BZ #6794]
52827         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
52828         * math/libm-test.inc: Add ilogb errno and exception tests.
52829         * math/w_ilogb.c: New file: ilogb wrapper.
52830         * math/w_ilogbf.c: New file: ilogbf wrapper.
52831         * math/w_ilogbl.c: New file: ilogbl wrapper.
52832         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
52833         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
52834         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
52835         exception being thrown with 0.0 as argument.
52836         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
52837         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
52838         exception being thrown with 0.0 as argument.
52839         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
52840         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
52841         exception being thrown with 0.0 as argument.
52842         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
52843         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
52844         exception being thrown with 0.0 as argument.
52845         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
52846         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
52847         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
52848         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
52849         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
52850         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
52851         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
52852         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
52853         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
52855 2012-04-17  Petr Baudis  <pasky@ucw.cz>
52857         * include/sys/uio.h: Change __vector to __iovec to avoid clash
52858         with altivec.
52860 2012-04-16  Marek Polacek  <polacek@redhat.com>
52862         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
52864 2012-04-16  Marek Polacek  <polacek@redhat.com>
52866         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
52867         operands of fdivp instruction.
52869 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
52871         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
52872         * elf/tst-auditmod3b.c: Likewise.
52873         * elf/tst-auditmod4b.c: Likewise.
52874         * elf/tst-auditmod5b.c: Likewise.
52875         * elf/tst-auditmod6b.c: Likewise.
52876         * elf/tst-auditmod6c.c: Likewise.
52877         * elf/tst-auditmod7b.c: Likewise.
52878         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
52879         * sysdeps/x86_64/preconfigure.in: Likewise.
52880         * sysdeps/x86_64/preconfigure: Regenerated.
52882 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
52884         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
52885         __ILP32__.
52887 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
52889         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52890         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
52892 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
52894         [BZ #13973]
52895         * locale/iso-639.def: Fix gl language name. Spotted by
52896         Yaron Shahrabani.
52898 2012-04-12  Roland McGrath  <roland@hack.frob.com>
52900         [BZ #2074]
52901         * libio/libio.h (__io_write_fn): Update comment.
52903 2012-04-12  Petr Baudis  <pasky@ucw.cz>
52905         [BZ #2074]
52906         * stdio.texi (Hook Functions): The user provided writer function
52907         is not allowed to return -1.
52909 2012-04-11  David S. Miller  <davem@davemloft.net>
52911         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52913 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
52915         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
52916         Add a leading slash to rtkaio.
52918 2012-04-11  Jim Meyering  <meyering@redhat.com>
52920         [BZ #11959]
52921         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
52922         It is not necessarily an error to ignore fwrite's return
52923         value.  One can reliably use ferror to test for errors after
52924         the fact.
52926 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
52928         * bits/types.h (__snseconds_t): New type.
52929         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
52931         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
52932         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52933         (__SNSECONDS_T_TYPE): Likewise.
52934         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52935         (__SNSECONDS_T_TYPE): Likewise.
52936         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52937         (__SNSECONDS_T_TYPE): Likewise.
52939 2012-04-10  Andreas Jaeger  <aj@suse.de>
52941         [BZ #2636]
52942         * manual/time.texi (Processor Time): Return type of times is
52943         elapsed real time since an arbitrary point in the past.
52944         (CPU Time): Move CLK_TCK from here...
52945         (Processor Time): ...to here.  Correct description.
52946         * manual/conf.texi (Constants for Sysconf): Correct description of
52947         _SC_CLK_TCK.
52949 2012-04-10  David S. Miller  <davem@davemloft.net>
52951         [BZ #13967]
52952         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
52953         where the is a gap between DT_REL(A) and DT_JMPREL.
52955 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
52957         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
52958         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
52959         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
52961 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52963         * elf/dl-support.c (_dl_inhibit_cache): New variable.
52964         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
52965         (dl_main): Handle --inhibit-cache.
52966         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
52967         _dl_inhibit_cache.
52968         * elf/dl-load.c (_dl_map_object): Use it.
52969         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
52971 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
52973         [BZ #13872]
52974         * sysdeps/i386/fpu/e_powl.S (p78): New object.
52975         (__ieee754_powl): Saturate large exponents rather than testing for
52976         overflow of y*log2(x).
52977         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52978         * math/libm-test.inc (pow_test): Do not permit spurious overflow
52979         exceptions.
52981         [BZ #11521]
52982         * math/s_ctan.c: Include <float.h>.
52983         (__ctan): Avoid internal overflow or cancellation in calculating
52984         denominator.
52985         * math/s_ctanf.c: Likewise.
52986         * math/s_ctanl.c: Likewise.
52987         * math/s_ctanh.c: Likewise.
52988         * math/s_ctanhf.c: Likewise.
52989         * math/s_ctanhl.c: Likewise.
52990         * math/libm-test.inc (ctan_test): Add more tests.
52991         (ctanh_test): Likewise.
52992         * sysdeps/i386/fpu/libm-test-ulps: Update.
52993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52995 2012-04-09  Andreas Jaeger  <aj@suse.de>
52997         [BZ #6894]
52998         * manual/filesys.texi (Directory Entries): Mention that d_namlen
52999         is an optional BSD extension.
53001         [BZ #10254]
53002         * manual/stdio.texi (Opening Streams): Document additional fopen
53003         parameters.
53005 2012-04-09  Roland McGrath  <roland@hack.frob.com>
53007         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
53008         %eax without telling the compiler.
53010 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
53012         [BZ # 13963]
53013         * manual/install.texi: Use sourceware.org.
53015 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
53017         [BZ #13873]
53018         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
53019         (__ieee754_pow): Generate overflow and underflow using huge*huge
53020         and tiny*tiny rather than just returning constant infinity or zero
53021         for large exponents.
53022         * math/libm-test.inc (pow_test): Require overflow exceptions for
53023         applicable cases of large exponents.
53025         [BZ #706]
53026         * sysdeps/i386/fpu/e_pow.S (p10): New object.
53027         (__ieee754_pow): Use iterative multiplication algorithm only for
53028         integer exponents with absolute value below 1024.  Check for odd
53029         integer exponents when using algorithm for real exponents.
53030         * math/libm-test.inc (pow_test): Add more tests.
53031         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53033 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
53035         [BZ #13705]
53036         * math/libm-test.inc (exp_test): Do not allow overflow exception
53037         on underflow test.
53039 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
53041         [BZ #13705]
53042         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
53043         instead of __kernel_standard_f.
53045 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
53047         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
53048         * sysdeps/x86_64/memset_chk.S: Likewise.
53050 2012-04-08  Andreas Jaeger  <aj@suse.de>
53052         [BZ #10153]
53053         * manual/startup.texi (Environment Access): Describe return value
53054         for putenv and setenv.
53056         [BZ #6895]
53057         * manual/filesys.texi (Directory Entries): Add description for
53058         DT_LNK.
53060         [BZ #6890]
53061         * manual/filesys.texi (Directory Entries): Clarify that it's file
53062         system not operating system in the description of DT_UNKNOWN.
53064         [BZ #6578]
53065         * manual/syslog.texi (closelog): Fix reference, it's openlog.
53067 2012-04-08  Stephen Compall  <s11@member.fsf.org>
53069         [BZ #6649]
53070         * manual/llio.texi (Opening and Closing Files): Add cross
53071         reference to explain mode argument.
53073 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
53075         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
53076         * sysdeps/x86_64/memset_chk.S: Likewise.
53078 2012-04-07  David S. Miller  <davem@davemloft.net>
53080         * elf/elf.h (R_SPARC_WDISP10): Define.
53081         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
53082         R_SPARC_SIZE32.
53083         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
53084         R_SPARC_SIZE64 and R_SPARC_H34.
53086 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
53088         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
53089         conditions and remove no longer applicable assertion.
53091 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
53093         * bits/byteswap.h: Include <features.h>.
53094         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
53095         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
53097 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
53099         * bits/byteswap.h (__bswap_16): Removed.
53100         Include <bits/byteswap-16.h> to get __bswap_16.
53101         * sysdeps/i386/bits/byteswap.h: Likewise.
53102         * sysdeps/s390/bits/byteswap.h: Likewise.
53103         * sysdeps/x86_64/bits/byteswap.h: Likewise.
53104         * bits/byteswap-16.h: New file.
53105         * sysdeps/i386/bits/byteswap-16.h: Likewise.
53106         * sysdeps/s390/bits/byteswap-16.h: Likewise.
53107         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
53108         * string/Makefile (headers): Add bits/byteswap-16.h.
53110 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
53112         [BZ #13895]
53113         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
53114         extra indirection.
53115         * nss/Makefile (tests-static, tests): Add tst-nss-static.
53116         * nss/tst-nss-static.c: New.
53118 2012-04-06  Robert Millan  <rmh@gnu.org>
53120         [BZ #6486]
53121         * manual/llio.texi (File Position Primitive): lseek
53122         refers to WHENCE when it really means OFFSET.
53124 2012-04-06  Andreas Jaeger  <aj@suse.de>
53126         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
53127         strncmp declarations.
53129         * abilist/libc.abilist: Add __poll and __ppoll.
53131 2012-04-05  David S. Miller  <davem@davemloft.net>
53133         * scripts/check-local-headers.sh: Accept a host triplet in the
53134         path matched by the exclude regexp.
53136         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
53137         definition.
53138         * sysdeps/powerpc/powerpc32/dl-machine.h
53139         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
53140         * sysdeps/s390/s390-32/dl-machine.h
53141         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53142         * sysdeps/sparc/sparc32/dl-machine.h
53143         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53144         * sysdeps/sparc/sparc64/dl-machine.h
53145         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53147         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
53148         lazy binding.
53149         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
53150         undefined symbol errors.
53152         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
53153         DT_NEEDED entries.
53155 2012-04-05  Michael Matz  <matz@suse.de>
53157         [BZ #13592]
53158         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
53160 2012-04-05  Andreas Jaeger  <aj@suse.de>
53162         [BZ #13908]
53163         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
53164         comment.
53166 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53168         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
53169         which ROUND is no valid rounding mode.
53171 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53173         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
53174         read again.
53175         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
53177 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53179         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
53180         an exception using FPU order intentionally.
53182 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53184         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
53185         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
53186         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
53187         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
53189 2012-04-05  Simon Josefsson  <simon@josefsson.org>
53191         [BZ #12340]
53192         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
53193         EINVAL when BUFLEN is too smal.
53195 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
53197         [BZ #13553]
53198         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
53199         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
53201 2012-04-03  Andreas Jaeger  <aj@suse.de>
53203         [BZ #13938]
53204         * manual/setjmp.texi (System V contexts): Fix sentence.
53206         [BZ #13926]
53207         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
53208         New macro for this case.
53209         [!__GNUC__] (__bswap_64): New inline function for this case.
53210         * sysdeps/x86_64/bits/byteswap.h: Likewise.
53211         * bits/byteswap.h: Likewise.
53212         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
53213         ull, guard with __GLIBC_HAVE_LONG_LONG.
53215         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
53216         __GLIBC_HAVE_LONG_LONG.
53218         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
53219         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
53221 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
53223         [BZ #13691]
53224         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
53225         inptr and inend, rather than using last_ch.
53227 2012-04-02  David S. Miller  <davem@davemloft.net>
53229         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
53230         * stdio-common/printf-parse.h (read_int): Change return type to
53231         'int', return -1 on INT_MAX overflow.
53232         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
53233         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
53234         overflows INT_MAX.  Check for overflow of in-format-string precision
53235         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
53236         SIZE_MAX not INT_MAX for integer overflow test.
53237         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
53238         skip the construct in the format string but do not record anything.
53239         * stdio-common/bug22.c: Adjust to test both width/prevision
53240         INT_MAX overflow as well as total length INT_MAX overflow.  Check
53241         explicitly for proper errno values.
53243 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
53245         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
53246         CHAR_MAX.
53247         * string/test-strcmp.c [! WIDE]: Likewise.
53248         * time/tst-mktime2.c: Likewise for INT_MAX.
53249         * string/test-string.h: #include <sys/param.h> for MIN.
53251         * csu/init-first.c (__libc_init_first): Call __ctype_init.
53252         * sysdeps/i386/init-first.c (init): Likewise.
53253         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
53254         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
53255         * sysdeps/sh/init-first.c (init): Likewise.
53257 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
53259         * po/ru.po: Update from translation team.
53260         * po/vi.po: Likewise.
53262 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
53264         * resolv/nss_dns/dns-host.c: Merge copyright years.
53266 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53268         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
53269         Optimize memcpy with prefetch if
53270         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
53271         src, dst pointers have unequal 16 byte alignments.
53273 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
53275         [BZ #13928]
53276         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
53277         from a CNAME entry and return the minimum ttl for the query.
53278         (gaih_getanswer_slice): Likewise.
53280 2012-03-30  Jeff Law  <law@redhat.com>
53282         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
53283         due to long keys.
53284         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
53285         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
53287         * resolv/nss_dns/dns-host.c: Update copyright year.
53289 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
53291         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
53292         requests to save a system call.  Fix check that all bytes are sent.
53294         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
53295         comments for sendmmsg.
53297 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53299         [BZ #13691]
53300         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
53301         with only 1 character between 0x0041 and 0x01b0.
53302         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
53303         * wcsmbs/tst-mbsnrtowcs.c: New file.
53305 2012-03-29  David S. Miller  <davem@davemloft.net>
53307         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
53308         small copies by hand.
53310 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53312         [BZ #13761]
53313         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
53314         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
53315         group memberships.
53317 2012-03-28  David S. Miller  <davem@davemloft.net>
53319         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
53320         that branches into memcpy.
53321         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
53322         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
53323         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
53324         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
53325         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
53326         bits.
53327         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
53328         implementation too.
53329         * sysdeps/sparc/mempcpy.S: New file.
53331         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
53332         the IFUNC routine in the libc case.
53333         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
53335         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
53336         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
53337         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
53338         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
53339         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
53340         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
53341         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
53342         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
53344         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
53345         loop to 256 bytes instead of 64 bytes and fix test signedness.
53347         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
53348         * sysdeps/sparc/sparc32/Makefile: rather than here...
53349         * sysdeps/sparc/sparc64/Makefile: and here.
53351 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
53353         * malloc/mallocbug.c: Avoid warnings about unused variables.
53355 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
53357         [BZ #13760]
53358         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
53359         in the right place. Discard and retry query if response is
53360         larger than input buffer size.
53362 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
53364         [BZ #369]
53365         [BZ #2678]
53366         [BZ #3866]
53367         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
53368         x for large integer exponent.
53369         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
53370         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
53371         sign of result as needed afterwards.
53372         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
53373         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
53374         result for underflowing pow the same as for overflow.
53375         (__kernel_standard_l): Handle powl overflow and underflow here
53376         rather than calling __kernel_standard.
53377         * math/libm-test.inc (pow_test): Add more tests.
53379         [BZ #3868]
53380         [BZ #13879]
53381         [BZ #13910]
53382         [BZ #13911]
53383         [BZ #13912]
53384         [BZ #13913]
53385         [BZ #13915]
53386         [BZ #13916]
53387         [BZ #13917]
53388         [BZ #13918]
53389         [BZ #13919]
53390         [BZ #13920]
53391         [BZ #13921]
53392         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
53393         * sysdeps/ieee754/k_standard.c: Include <float.h>.
53394         (__kernel_standard_l): New function.
53395         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
53396         __kernel_standard.
53397         * math/w_acosl.c (__acosl): Likewise.
53398         * math/w_asinl.c (__asinl): Likewise.
53399         * math/w_atan2l.c (__atan2l): Likewise.
53400         * math/w_atanhl.c (__atanhl): Likewise.
53401         * math/w_coshl.c (__coshl): Likewise.
53402         * math/w_exp10l.c (__exp10l): Likewise.
53403         * math/w_exp2l.c (__exp2l): Likewise.
53404         * math/w_fmodl.c (__fmodl): Likewise.
53405         * math/w_hypotl.c (__hypotl): Likewise.
53406         * math/w_j0l.c (__j0l, __y0l): Likewise.
53407         * math/w_j1l.c (__j1l, __y1l): Likewise.
53408         * math/w_jnl.c (__jnl, __ynl): Likewise.
53409         * math/w_lgammal.c (__lgammal): Likewise.
53410         * math/w_log10l.c (__log10l): Likewise.
53411         * math/w_log2l.c (__log2l): Likewise.
53412         * math/w_logl.c (__logl): Likewise.
53413         * math/w_powl.c (__powl): Likewise.
53414         * math/w_remainderl.c (__remainderl): Likewise.
53415         * math/w_scalbl.c (sysv_scalbl): Likewise.
53416         * math/w_sinhl.c (__sinhl): Likewise.
53417         * math/w_sqrtl.c (__sqrtl): Likewise.
53418         * math/w_tgammal.c (__tgammal): Likewise.
53419         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
53420         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
53421         * math/libm-test.inc (acos_test): Add more tests.
53422         (acosh_test): Likewise.
53423         (asin_test): Likewise.
53424         (atanh_test): Likewise.
53425         (exp_test): Likewise.
53426         (exp10_test): Likewise.
53427         (exp2_test): Likewise.
53428         (expm1_test): Likewise.
53429         (lgamma_test): Likewise.
53430         (log_test): Likewise.
53431         (log10_test): Likewise.
53432         (log1p_test): Likewise.
53433         (log2_test): Likewise.
53434         (pow_test): Do not allow some spurious overflow exceptions.
53435         (sqrt_test): Add more tests.
53436         (tgamma_test): Likewise.
53437         (y0_test): Likewise.
53438         (y1_test): Likewise.
53439         (yn_test): Likewise.
53441 2012-03-27  Anton Blanchard  <anton@samba.org>
53443         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
53444         MAP_HUGETLB.
53445         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53446         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
53447         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53449 2012-03-27  David S. Miller  <davem@davemloft.net>
53451         * conform/Makefile: Run run-conformtest.sh using $(BASH).
53453         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
53454         have-as-vis3 check.
53456 2012-03-27  Andreas Jaeger  <aj@suse.de>
53458         * sysdeps/x86_64/elf/configure.in: Moved to ...
53459         * sysdeps/x86_64/configure.in: ... here.
53460         * sysdeps/x86_64/elf/start.S: Moved to ...
53461         * sysdeps/x86_64/start.S: ... here.
53462         * sysdeps/x86_64/elf/configure: Delete.
53464         * sysdeps/x86_64/configure.in: Merge contents from
53465         sysdeps/i386/configure.in (without i686 check).
53467         * sysdeps/i386/elf/Versions: Merge into ...
53468         * sysdeps/i386/Versions: ... this.
53469         * sysdeps/i386/elf/Versions: Delete file.
53470         * sysdeps/i386/elf/start.S: Moved to ...
53471         * sysdeps/i386/start.S: ...here.
53472         * sysdeps/i386/elf/configure.in: Merge into...
53473         * sysdeps/i386/configure.in: ...here.
53474         * sysdeps/i386/elf/configure.in: Delete file.
53475         * sysdeps/i386/elf/configure: Delete file.
53477         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
53478         * debug/backtracesyms.c: ... here.
53479         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
53480         * debug/backtracesymsfd.c: ... here.
53481         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
53482         * sysdeps/generic/ifunc-sel.h: ... here.
53484         * sysdeps/unix/i386/start.c: Delete file.
53485         * sysdeps/unix/sparc/start.c: Delete file.
53486         * sysdeps/unix/start.c: Delete file.
53488         * sysdeps/sh/elf/configure.in: Moved to ...
53489         * sysdeps/sh/configure.in: ... here.
53490         * sysdeps/sh/elf/start.S: Moved to ...
53491         * sysdeps/sh/start.S: ... here.
53492         * sysdeps/sh/elf/configure: Delete file.
53494         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
53495         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
53496         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
53497         * sysdeps/powerpc/powerpc64/entry.h: ... here.
53498         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
53499         * sysdeps/powerpc/powerpc64/start.S: here.
53500         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
53501         * sysdeps/powerpc/powerpc64/Makefile: ... this.
53502         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
53503         * sysdeps/powerpc/powerpc64/configure.in: ... this.
53504         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
53506         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
53507         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
53508         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
53509         * sysdeps/powerpc/powerpc32/start.S: ... here.
53510         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
53511         * sysdeps/powerpc/powerpc32/configure.in: ... this.
53512         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
53514         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
53515         * sysdeps/powerpc/ifunc-sel.h: ... here.
53516         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
53517         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
53519         * sysdeps/sparc/elf/configure.in: Moved to ...
53520         * sysdeps/sparc/configure.in: ... here.
53521         * sysdeps/sparc/elf/configure: Delete file.
53522         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
53523         * sysdeps/sparc/sparc32/start.S: ... here.
53524         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
53525         * sysdeps/sparc/sparc64/start.S: ... here.
53526         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
53527         * sysdeps/sparc/sparc32/Makefile: ... this.
53528         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
53529         * sysdeps/sparc/sparc64/Makefile: ... this.
53531         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
53532         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
53533         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
53534         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
53535         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
53536         * sysdeps/s390/s390-32/setjmp.S: ... here.
53537         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
53538         * sysdeps/s390/s390-32/configure.in: ... here.
53539         * sysdeps/s390/s390-32/elf/configure: Delete file.
53540         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
53541         * sysdeps/s390/s390-32/start.S: ... here.
53543         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
53544         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
53545         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
53546         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
53547         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
53548         * sysdeps/s390/s390-64/setjmp.S: ... here.
53549         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
53550         * sysdeps/s390/s390-64/configure.in: ... here
53551         * sysdeps/s390/s390-64/elf/configure: Delete file.
53552         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
53553         * sysdeps/s390/s390-64/start.S: ... here.
53554         * sysdeps/s390/s390-64/elf/configure: Delete.
53556         * configure.in: Remove support for elf directories in sysdeps.
53558         * configure: Regenerated.
53559         * sysdeps/i386/configure: Regenerated.
53560         * sysdeps/powerpc/powerpc32/configure: Regenerated.
53561         * sysdeps/powerpc/powerpc64/configure: Regenerated.
53562         * sysdeps/s390/s390-32/configure: Regenerated.
53563         * sysdeps/s390/s390-64/configure: Regenerated.
53564         * sysdeps/sh/configure: Regenerated.
53565         * sysdeps/sparc/configure: Regenerated.
53566         * sysdeps/x86_64/configure: Regenerated.
53568 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
53570         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53572         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
53573         denormal result into account.
53575 2012-03-25  Roland McGrath  <roland@hack.frob.com>
53577         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
53578         Reported by Allan McRae <allan@archlinux.org>.
53580 2012-03-23  Jeff Law  <law@redhat.com>
53582         * nss/getnssent.c (__nss_getent): Fix typo.
53584 2012-03-23  David S. Miller  <davem@davemloft.net>
53586         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53588 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
53590         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
53591         to pad to uint64_t for each field.
53592         (dl_tls_index): Replace unsigned long with uint64_t.
53594 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
53595         Paul Pluzhnikov  <ppluzhnikov@google.com>
53597         [BZ #6528]
53598         * grp/Makefile (otherlibs): Don't set it.
53599         * inet/Makefile (otherlibs): Likewise.
53600         * login/Makefile (otherlibs): Likewise.
53601         * nscd/Makefile (otherlibs): Likewise.
53602         * posix/Makefile (otherlibs): Likewise.
53603         * pwd/Makefile (otherlibs): Likewise.
53604         * rt/Makefile (otherlibs): Likewise.
53605         * sunrpc/Makefile (otherlibs): Likewise.
53606         * nss/Makefile (otherlibs): Likewise.
53607         Add libnss_files to routines and static-only-routines.
53608         ($(objpfx)getent): Remove rule.
53609         * resolv/Makefile: Add libnss_dns and libresolv to routines and
53610         static-only-routines.
53612 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
53614         [BZ #13892]
53615         * math/s_cexp.c: Include <float.h>.
53616         (__cexp): Handle exp result overflowing not necessarily
53617         overflowing both real and imaginary parts of result.
53618         * math/s_cexpf.c: Likewise.
53619         * math/s_cexpl.c: Likewise.
53620         * math/libm-test.inc (cexp_test): Add more tests.
53621         * sysdeps/i386/fpu/libm-test-ulps: Update.
53622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53624 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53626         * include/link.h (ELFW): New macro.
53627         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
53628         Replace ELF64_R_TYPE with ELFW(R_TYPE).
53630 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53632         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
53633         with uint64_t.
53635 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53637         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
53638         declaration.
53639         (struct La_x32_retval): Likewise.
53641 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53643         * sysdeps/x86_64/preconfigure.in: New file.
53644         * sysdeps/x86_64/preconfigure: New generated file.
53646 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
53648         [BZ #13824]
53649         * math/e_exp2l.c: Include <float.h>.
53650         (__ieee754_exp2l): Handle overflow and underflow cases
53651         separately.  Only pass fractional part of argument to
53652         __ieee754_expl.
53653         * math/libm-test.inc (exp2_test): Add more tests.
53655         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
53656         negating x to take absolute value.
53657         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
53658         Likewise.
53659         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
53660         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
53661         Likewise.
53662         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
53663         computing low part if x was negated.
53664         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
53666 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53668         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
53669         la_x32_gnu_pltexit.
53670         (pltexit): Cast int_retval to ptrdiff_t.
53671         * elf/tst-auditmod3b.c: Likewise.
53672         * elf/tst-auditmod4b.c: Likewise.
53673         * elf/tst-auditmod5b.c: Likewise.
53674         * elf/tst-auditmod6b.c: Likewise.
53675         * elf/tst-auditmod6c.c: Likewise.
53676         * elf/tst-auditmod7b.c: Likewise.
53678         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
53679         and x32_gnu_pltexit.
53681         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
53682         __ELF_NATIVE_CLASS.
53683         (La_x32_regs): New macro.
53684         (La_x32_retval): Likewise.
53685         (la_x32_gnu_pltenter): New function prototype.
53686         (la_x32_gnu_pltexit): Likewise.
53688 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
53690         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
53691         exponent.
53693         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53695         * configure.in (libc_cv_cc_nofma): Check for option to disable
53696         generation of FMA instructions.
53697         * configure: Regenerate.
53698         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
53699         * sysdeps/ieee754/dbl-64/Makefile: New file.
53700         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
53701         Remove brandred-fma4.
53702         (CFLAGS-brandred-fma4.c): Remove.
53703         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
53704         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
53705         define.
53706         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
53707         define.
53709 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53711         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
53712         LLONG_MAX != LONG_MAX.
53713         (_itoa_word): Use _ITOA_WORD_TYPE on value.
53714         (_fitoa_word): Likewise.
53715         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
53716         LLONG_MAX != LONG_MAX.
53717         * stdio-common/_itowa.h: Include <_itoa.h>.
53718         (_itowa_word): Use _ITOA_WORD_TYPE on value.
53719         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
53720         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
53721         only if not defined.
53722         (_ITOA_WORD_TYPE): Likewise.
53723         (_itoa_word): Use _ITOA_WORD_TYPE on value.
53724         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
53726 2012-03-21  David S. Miller  <davem@davemloft.net>
53728         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53730 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53732         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
53733         of x86_64 when setting libc_cv_slibdir, libdir and
53734         libc_cv_localedir.
53735         * sysdeps/unix/sysv/linux/configure: Regenerated.
53737 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53739         * manual/lang.texi (Old Varargs): Remove section.
53740         (How Variadic): Update menu.
53741         (va_start): Do not mention varargs.h.
53743 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53744             Joseph Myers  <joseph@codesourcery.com>
53746         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
53747         link test.
53748         * configure: Regenerated.
53750 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53752         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
53753         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
53754         conformtest.pl
53756 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53758         * NOTES: Remove.
53759         * Makefile (files-for-dist): Remove NOTES.
53760         (NOTES): Remove rule.
53761         * README: Don't refer to NOTES.
53762         * manual/creature.texi: Don't include macros.texi.
53763         * manual/intro.texi (creature.texi): Remove comment referring to
53764         NOTES.
53766         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
53767         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
53768         * configure: Regenerated.
53769         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
53770         LIBC_TRY_CC_OPTION.
53771         (libc_cv_as_i686): Likewise.
53772         (libc_cv_cc_avx): Likewise.
53773         (libc_cv_cc_sse2avx): Likewise.
53774         (libc_cv_cc_fma4): Likewise.
53775         (libc_cv_cc_novzeroupper): Likewise.
53776         * sysdeps/i386/configure: Regenerated.
53778         [BZ #13883]
53779         * sysdeps/i386/fpu/s_cexp.S: Remove.
53780         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
53781         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
53782         * math/libm-test.inc (cexp_test): Add more tests.
53783         * sysdeps/i386/fpu/libm-test-ulps: Update.
53784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53786 2012-03-21  Allan McRae  <allan@archlinux.org>
53788         * timezone/Makefile: Do not install iso3166.tab and zone.tab
53790 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53792         [BZ #13871]
53793         * math/w_exp2.c: Do not include <float.h>.
53794         (o_threshold, u_threshold): Remove.
53795         (__exp2): Calculate result before checking finiteness and calling
53796         __kernel_standard.
53797         * math/w_exp2f.c: Likewise.
53798         * math/w_exp2l.c: Likewise.
53799         * math/libm-test.inc (exp2_test): Require overflow exception for
53800         1e6 input.
53802         [BZ #3866]
53803         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
53804         range of signed 64-bit integers before using fistpll.  Remove
53805         checks for whether integers fit in mantissa bits.
53806         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
53807         the range of signed 32-bit integers before using fistpl.  Remove
53808         checks for whether integers fit in mantissa bits.
53809         * sysdeps/i386/fpu/e_powl.S (p64): New object.
53810         (__ieee754_powl): Test for y outside the range of signed 64-bit
53811         integers before using fistpll.  Reduce 64-bit values to 63-bit
53812         ones as needed.
53813         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
53814         divide-by-zero is raised for zero to large negative powers.
53815         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
53816         (__ieee754_powl): Test for y outside the range of signed 64-bit
53817         integers before using fistpll.  Reduce 64-bit values to 63-bit
53818         ones as needed.
53819         * math/libm-test.inc (pow_test): Add more tests.
53821 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53823         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
53824         <stdio-common/_itoa.h>.
53825         * debug/segfault.c: Likewise.
53826         * elf/dl-cache.c: Likewise.
53827         * elf/dl-minimal.c: Likewise.
53828         * elf/dl-misc.c: Likewise.
53829         * elf/dl-sysdep.c: Likewise.
53830         * elf/dl-version.c: Likewise.
53831         * elf/rtld.c: Likewise.
53832         * hurd/hurdsock.c: Likewise.
53833         * hurd/lookup-retry.c: Likewise.
53834         * malloc/malloc.c: Likewise.
53835         * malloc/mtrace.c: Likewise.
53836         * nscd/nscd_getgr_r.c: Likewise.
53837         * nscd/nscd_getpw_r.c: Likewise.
53838         * nscd/nscd_getserv_r.c: Likewise.
53839         * posix/getopt_init.c: Likewise.
53840         * posix/wordexp.c: Likewise.
53841         * stdio-common/_itoa.c: Likewise.
53842         * stdio-common/printf_fphex.c: Likewise.
53843         * stdio-common/vfprintf.c: Likewise.
53844         * string/_strerror.c: Likewise.
53845         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
53846         * sysdeps/i386/i686/hp-timing.h: Likewise.
53847         * sysdeps/mach/_strerror.c: Likewise.
53848         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
53849         * sysdeps/mach/hurd/sethostid.c: Likewise.
53850         * sysdeps/mach/hurd/xmknodat.c: Likewise.
53851         * sysdeps/mach/xpg-strerror.c: Likewise.
53852         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
53853         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
53854         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
53855         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
53856         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
53857         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
53858         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
53859         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
53860         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
53861         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
53862         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
53863         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
53864         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
53865         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
53866         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
53867         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
53868         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
53869         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
53870         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
53871         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
53872         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
53874         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
53876         * stdio-common/_itoa.h: Moved to ...
53877         * sysdeps/generic/_itoa.h: Here.
53879         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
53881         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
53882         instead of "_itoa.h" and "_itowa.h".
53883         * stdio-common/vfprintf.: Likewise.
53885 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53887         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
53888         <bits/wordsize.h>.
53889         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
53890         (__signbit): Likwise.
53891         (llrintf): Likwise.
53892         (llrint): Likwise.
53894 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53896         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
53897         __WORDSIZE != 64.
53899 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
53901         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
53902         OVERFLOW_EXCEPTION_OK.
53903         * math/libm-test.inc ("Philosophy"): Update comment about
53904         exception testing.
53905         (OVERFLOW_EXCEPTION): Define.
53906         (OVERFLOW_EXCEPTION_OK): Likewise.
53907         (INVALID_EXCEPTION_OK): Renumber.
53908         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
53909         (IGNORE_ZERO_INF_SIGN): Likewise.
53910         (test_exceptions): Handle FE_OVERFLOW.
53911         (exp10_test): Expect overflow exceptions.
53912         (exp2_test): Likewise.
53913         (expm1_test): Likewise.
53914         (nextafter_test): Likewise.
53915         (pow_test): Likewise.
53916         (scalbn_test): Likewise.
53917         (scalbln_test): Likewise.
53919 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53921         * sysdeps/x86_64/bits/atomic.h
53922         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
53923         64bit integer.
53924         (atomic_exchange_acq): Likewise.
53925         (__arch_exchange_and_add_body): Likewise.
53926         (__arch_add_body): Likewise.
53927         (atomic_add_negative): Likewise.
53928         (atomic_add_zero): Likewise.
53930 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53932         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
53933         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
53935 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53937         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
53938         Check __x86_64__ instead of __WORDSIZE.
53940 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53942         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
53944 2012-03-19  David S. Miller  <davem@davemloft.net>
53946         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53948         * sysdeps/sparc/fpu/fenv_private.h: New file.
53949         * sysdeps/sparc/fpu/math_private.h: Use it.
53950         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
53951         Remove.
53952         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
53953         (libc_feholdexcept_setroundl): Remove.
53954         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
53955         Remove.
53956         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
53957         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
53959 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53961         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
53962         int64_t instead of long int.
53963         (INSERT_WORDS64): Likwise.
53965 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53967         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
53968         _Unwind_GetCFA return to _Unwind_Ptr first.
53970 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
53972         [BZ #13629]
53973         * math/s_clog.c: Include <float.h>.
53974         (__clog): Scale large or subnormal inputs.
53975         * math/s_clogf.c: Likewise.
53976         * math/s_clogl.c: Likewise.
53977         * math/s_clog10.c: Include <float.h>.
53978         (M_LOG10_2): Define.
53979         (__clog10): Scale large or subnormal inputs.
53980         * math/s_clog10f.c: Likewise.
53981         * math/s_clog10l.c: Likewise.
53982         * math/libm-test.inc (clog_test): Add more tests.
53983         (clog10_test): Likewise.
53984         * sysdeps/i386/fpu/libm-test-ulps: Update.
53985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53987         [BZ #11451]
53988         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
53989         x and y.
53990         * math/libm-test.inc (atan2_test): Add another test.
53992         * Makerules (common-objdir-compile): Remove.
53993         * sysdeps/unix/Makefile (config-generated): Do not add
53994         $(unix-generated) to variable.
53995         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
53996         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
53997         Remove rule.
53998         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
53999         Likewise.
54000         [generic bits/local_lim.h] (before-compile): Do not append to
54001         variable.
54002         [generic bits/local_lim.h] (common-generated): Likewise.
54003         [generic sys/param.h] (before-compile): Do not append to variable.
54004         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
54005         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
54006         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
54007         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
54008         include.
54009         [generic sys/param.h] (sys/param.h-includes): Remove variable.
54010         [generic sys/param.h] (sys/param.h-includes): Remove rule.
54011         [generic sys/param.h] ($(addprefix
54012         $(common-objpfx),$(sys/param.h-includes))): Likewise.
54013         [generic sys/param.h] (common-generated): Do not append to
54014         variable.
54015         [generic sys/param.h] (sysdep_headers): Likewise.
54016         [generic bits/errno.h] (before-compile): Do not append to
54017         variable.
54018         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
54019         rule.
54020         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
54021         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
54022         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
54023         [generic bits/errno.h] (common-generated): Do not append to
54024         variable.
54025         [generic bits/ioctls.h] (before-compile): Do not append to
54026         variable.
54027         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
54028         rule.
54029         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
54030         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
54031         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
54032         rule.
54033         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
54034         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
54035         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
54036         [generic bits/ioctls.h] (common-generated): Do not append to
54037         variable.
54038         [generic sys/syscall.h] (syscall.h): Remove variable.
54039         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
54040         rule.
54041         [generic sys/syscall.h] (before-compile): Do not append to
54042         variable.
54043         [generic sys/syscall.h] (common-generated): Likewise.
54044         * sysdeps/unix/errnos-tmpl.c: Remove file.
54045         * sysdeps/unix/errnos.awk: Likewise.
54046         * sysdeps/unix/ioctls-tmpl.c: Likewise.
54047         * sysdeps/unix/ioctls.awk: Likewise.
54048         * sysdeps/unix/mk-local_lim.c: Likewise.
54049         * sysdeps/unix/snarf-ioctls: Likewise.
54051 2012-03-19  Richard Henderson  <rth@twiddle.net>
54053         * sysdeps/i386/fpu/fenv_private.h: New file.
54054         * sysdeps/i386/fpu/math_private.h: Use it.
54055         (math_opt_barrier, math_force_eval): Remove.
54056         (libc_feholdexcept_setround_53bit): Remove.
54057         (libc_feupdateenv_53bit): Remove.
54058         * sysdeps/x86_64/fpu/math_private.h: Likewise.
54059         (math_opt_barrier, math_force_eval): Remove.
54060         (libc_feholdexcept): Remove.
54061         (libc_feholdexcept_setround): Remove.
54062         (libc_fetestexcept, libc_fesetenv): Remove.
54063         (libc_feupdateenv_test): Remove.
54064         (libc_feupdateenv, libc_feholdsetround): Remove.
54065         (libc_feresetround): Remove.
54067         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
54068         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
54070         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
54071         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
54072         (libc_feupdateenv_testl): New.
54073         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
54074         (libc_feupdateenv_testf): New.
54075         (libc_feupdateenv): Use libc_feupdateenv_test.
54076         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
54077         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
54079         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
54080         (libc_feholdsetroundf, libc_feholdsetroundl): New.
54081         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
54082         (libc_feresetround_noex): New.
54083         (libc_feresetround_noexf): New.
54084         (libc_feresetround_noexl): New.
54085         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
54086         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
54087         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
54088         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
54089         SET_RESTORE_ROUND.
54090         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
54091         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
54092         (__cos): Likewise.
54093         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
54094         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
54095         SET_RESTORE_ROUND_NOEX.
54096         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
54097         SET_RESTORE_ROUND_NOEXF.
54098         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
54099         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
54100         (libc_feholdsetroundf): New.
54101         (libc_feresetround, libc_feresetroundf): New.
54103         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
54104         (libc_feholdexcept_setround_53bit): Convert from macro to function.
54105         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
54107         * sysdeps/generic/math_private.h: Include <fenv.h>.
54108         (default_libc_feholdexcept): New.
54109         (default_libc_feholdexcept_setround): New.
54110         (default_libc_fesetenv, default_libc_feupdateenv): New.
54111         (libc_feholdexcept): Only define if undefined.
54112         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
54113         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
54114         (libc_feholdexcept_setroundl): Likewise.
54115         (libc_feholdexcept_setround_53bit): Likewise.
54116         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
54117         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
54118         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
54119         (libc_feupdateenv_53bit): Likewise.
54120         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
54121         (libc_feholdexcept): Convert from macro to inline function.
54122         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
54123         (libc_fesetenv, libc_feupdateenv): Likewise.
54125         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
54126         not previously defined.
54127         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
54128         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
54129         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
54130         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
54131         * sysdeps/ieee754/flt-32/math_private.h: New file.
54132         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
54133         math_private.h below SET_FLOAT_WORD.
54134         (__isnan, __isinf_ns, __finite): Remove.
54135         (__isnanf, __isinf_nsf, __finitef): Remove.
54137 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
54139         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54141 2012-03-17  David S. Miller  <davem@davemloft.net>
54143         [BZ #6471]
54144         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
54145         for 2.16.
54147 2012-03-16  David S. Miller  <davem@davemloft.net>
54149         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
54150         warnings.
54152         [BZ #6471]
54153         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
54154         properly.
54155         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
54156         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
54157         sysdep_routines when subdir is sysvipc.
54158         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
54159         __getshmlba helper.
54161         * sysdeps/sparc/fpu/libm-test/ulps: Update.
54163 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54165         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
54166         [__LP64__].
54168 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54170         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
54171         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
54172         (__lround): Renamed to ...
54173         (__llround): This.  Replace long int with long long int.
54174         Define lround functions as aliases of llround functions.
54175         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
54177 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54179         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
54180         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
54181         adresses to uintptr_t.  Replace "long int" and "unsigned long
54182         int" with "greg_t" on va_arg.
54184 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54186         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
54187         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
54189         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
54190         Move e_machine check before EI_CLASS check.  Handle x32
54191         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
54192         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
54193         SKIP_EM_IA_64 and include
54194         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
54196         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
54197         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
54198         (add_system_dir): New macro.
54200         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
54201         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
54203 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
54205         [BZ #2551]
54206         [BZ #2552]
54207         [BZ #2553]
54208         [BZ #2554]
54209         [BZ #2562]
54210         [BZ #2563]
54211         [BZ #2565]
54212         [BZ #2566]
54213         [BZ #2576]
54214         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
54215         (y0): Likewise.
54216         * math/w_j0f.c (j0f): Likewise.
54217         (y0f): Likewise.
54218         * math/w_j0l.c (__j0l): Likewise.
54219         (__y0l): Likewise.
54220         * math/w_j1.c (j1): Likewise.
54221         (y1): Likewise.
54222         * math/w_j1f.c (j1f): Likewise.
54223         (y1f): Likewise.
54224         * math/w_j1l.c (__j1l): Likewise.
54225         (__y1l): Likewise.
54226         * math/w_jn.c (jn): Likewise.
54227         (yn): Likewise.
54228         * math/w_jnf.c (jnf): Likewise.
54229         (ynf): Likewise.
54230         * math/w_jnl.c (__jnl): Likewise.
54231         (__ynl): Likewise.
54232         * math/libm-test.inc (j0_test): Add more tests.
54233         (j1_test): Likewise.
54234         (jn_test): Likewise.  Add trailing semicolon to existing test.
54235         (y0_test): Likewise.
54236         (y1_test): Likewise.
54237         * sysdeps/i386/fpu/libm-test-ulps: Update.
54238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54240         [BZ #13851]
54241         [BZ #13854]
54242         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
54243         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
54244         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
54245         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
54246         (__tanl): Set errno for infinite argument.
54247         * sysdeps/i386/fpu/mptan.c: Remove.
54248         * sysdeps/i386/fpu/s_tan.S: Likewise.
54249         * sysdeps/i386/fpu/s_tanl.S: Likewise.
54250         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
54251         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
54252         * math/libm-test.inc (tan_test): Add more tests and enable more
54253         tests for double and long double.
54254         * sysdeps/i386/fpu/libm-test-ulps: Update.
54255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54257 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
54259         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
54260         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
54262 2012-03-16  Roland McGrath  <roland@hack.frob.com>
54264         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
54265         * configure.in: Use it for both main tree and add-ons.
54266         * configure: Regenerated.
54268 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54270         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
54272 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
54274         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
54275         in comment.
54277         [BZ #13851]
54278         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
54279         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
54280         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
54281         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
54282         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
54283         infinite argument.
54284         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
54285         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
54286         != 0 for prec == 2.
54287         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
54288         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
54289         * sysdeps/i386/fpu/s_cosl.S: Likewise.
54290         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
54291         * sysdeps/i386/fpu/s_sinl.S: Likewise.
54292         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
54293         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
54294         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
54295         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
54296         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
54297         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
54298         * math/libm-test.inc (cos_test): Add more tests and enable more
54299         tests for long double.
54300         (sin_test): Likewise.
54301         (sincos_test): Likewise.
54302         * sysdeps/i386/fpu/libm-test-ulps: Update.
54303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54305 2012-03-16  David S. Miller  <davem@davemloft.net>
54307         * sysdeps/sparc/fpu/math_private.h: New file.
54309 2012-03-15  David S. Miller  <davem@davemloft.net>
54311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
54312         file.
54313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
54314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
54315         file.
54316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
54317         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
54318         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
54319         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
54320         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
54321         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
54322         sysdep routines.
54323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
54325         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
54326         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
54328         * sysdeps/sparc/sparc-ifunc.h: New file.
54329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
54330         sparc-ifunc.h
54331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
54332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
54333         Likewise.
54334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
54335         Likewise.
54336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
54337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
54338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
54339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
54340         Likewise.
54341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
54342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
54343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
54344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
54345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
54346         Likewise.
54347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
54348         Likewise.
54349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
54350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
54351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
54352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
54353         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
54354         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
54355         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
54356         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
54357         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
54358         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
54359         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
54360         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
54361         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
54362         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
54363         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
54364         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
54365         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
54366         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
54367         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
54368         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
54369         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
54370         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
54371         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
54372         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
54374 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
54376         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
54377         scaling.
54378         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54380 2012-03-15  Andreas Jaeger  <aj@suse.de>
54382         [BZ #13852]
54383         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
54384         ieee754/flt-32 implementation for sin, cos and sincos.
54385         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
54386         * sysdeps/i386/fpu/s_cosf.S: Likewise.
54387         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
54388         * sysdeps/i386/fpu/s_sinf.S: Likewise.
54389         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
54390         ieee754/flt-32 implementation for tan.
54392         * math/libm-test.inc (cos_test): Enable some large input tests for
54393         float as well
54394         (sin_test): Likewise.
54395         (sincos_test): Likewise.
54396         (tan_test): Add tests for large input.
54398         * sysdeps/i386/fpu/libm-test-ulps: Update.
54400 2012-03-15  Andreas Jaeger  <aj@suse.de>
54402         [BZ #13658]
54403         * math/libm-test.inc (cos_test): Add more test cases.
54404         (sin_test): Likewise.
54405         (sincos_test): Likewise.
54407 2012-03-15  Andreas Jaeger  <aj@suse.de>
54409         [BZ #13837]
54410         * math/libm-test.inc (cos_test): Add a test case for large input
54411         value.
54412         (sin_test): Likewise.
54413         (sincos_test): Likewise.
54415 2012-03-15  Andreas Jaeger  <aj@suse.de>
54416             Joseph Myers  <joseph@codesourcery.com>
54418         [BZ #13658]
54419         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
54420         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
54421         * sysdeps/i386/fpu/branred.c: Likewise.
54422         * sysdeps/i386/fpu/dosincos.c: Likewise.
54423         * sysdeps/i386/fpu/mpa.c: Likewise.
54424         * sysdeps/i386/fpu/s_cos.S: Likewise.
54425         * sysdeps/i386/fpu/s_sin.S: Likewise.
54426         * sysdeps/i386/fpu/s_sincos.S: Likewise.
54427         * sysdeps/i386/fpu/sincos32.c: Likewise.
54429         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
54430         Define.
54431         (libc_feupdateenv_53bit): Define.
54432         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
54433         Define.
54434         (libc_feupdateenv_53bit): Define.
54436         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
54437         53 bit (without extend i386 double precision).
54439         * math/libm-test.inc (sincos_test): Add tests for large input.
54440         (sin): Likewise.
54441         (cos): Likewise.
54443         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
54445 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
54447         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54449 2012-03-15  David S. Miller  <davem@davemloft.net>
54451         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
54452         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
54453         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
54454         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
54455         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
54456         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
54457         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
54458         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
54459         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
54460         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
54461         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
54462         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
54463         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
54464         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
54465         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
54466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
54467         file.
54468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
54469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
54470         file.
54471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
54472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
54473         file.
54474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
54475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
54476         file.
54477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
54478         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
54479         fmin/fmax sysdep routines.
54480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
54482 2012-03-14  David S. Miller  <davem@davemloft.net>
54484         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
54485         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
54486         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
54487         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
54488         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
54489         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
54490         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
54491         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
54492         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
54493         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
54494         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
54495         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
54496         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
54497         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
54498         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
54499         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
54500         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
54501         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
54502         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
54503         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
54504         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
54505         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
54506         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
54507         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
54508         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
54509         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
54510         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
54511         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
54512         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
54513         routines.
54514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
54515         file.
54516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
54517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
54518         file.
54519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
54520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
54521         file.
54522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
54523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
54524         file.
54525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
54526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
54527         file.
54528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
54529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
54530         file.
54531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
54532         file.
54533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
54534         file.
54535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
54536         file.
54537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
54538         New file.
54539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
54540         file.
54541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
54542         file.
54543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
54544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
54545         file.
54546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
54547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
54548         file.
54549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
54550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
54551         file.
54552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
54553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
54554         VIS3 routines.
54556         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
54557         New file.
54559         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54561         * sysdeps/sparc/configure.in: New file.
54562         * sysdeps/sparc/configure: Generate.
54563         * configure.in (libc_cv_sparc_as_vis3): Substitute.
54564         * configure: Regenerate.
54565         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
54566         * config.make.in (have-as-vis3): New.
54567         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
54568         available use -Av9d instead of -Av9a.
54569         * sysdeps/sparc/sparc64/Makefile: Likewise.
54570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
54571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
54572         New file.
54573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
54574         file.
54575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
54576         New file.
54577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
54578         file.
54579         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
54580         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
54581         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
54582         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
54583         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
54585         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
54586         fzeros/fnegs to load 0x80000000 into a float register instead of
54587         using the stack.
54588         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
54590 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
54592         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54593         bits/syscall.h.
54594         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
54595         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
54596         ($(inst_includedir)/bits/syscall.h): Remove rule.
54597         ($(objpfx)bits/syscall.d): Include instead of
54598         $(objpfx)syscall-list.d.
54599         (generated): Change syscall-list.h and syscall-list.d to
54600         bits/syscall.h and bits/syscall.d.
54602 2012-03-14  Roland McGrath  <roland@hack.frob.com>
54604         [BZ #13846]
54605         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
54607 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
54609         [BZ #13841]
54610         * math/s_csqrt.c: Include <float.h>.
54611         (__csqrt): Scale large or subnormal inputs.
54612         * math/s_csqrtf.c: Likewise.
54613         * math/s_csqrtl.c: Likewise.
54614         * math/libm-test.inc (csqrt_test): Add more tests.
54615         * sysdeps/i386/fpu/libm-test-ulps: Update.
54616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54618         [BZ #13840]
54619         * math/libm-test.inc (hypot_test): Add more tests.
54621 2012-03-13  David S. Miller  <davem@davemloft.net>
54623         [BZ #13840]
54624         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
54625         double-precision for the calculation instead of scaling.
54627 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
54629         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
54630         manipulate bits before adding and subtracting TWO52[sx].
54631         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
54632         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
54633         Likewise.
54634         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
54636 2012-03-13  David S. Miller  <davem@davemloft.net>
54638         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
54639         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
54640         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
54641         rtld-global-offsets.h
54642         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54644         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
54645         large parameters.
54647         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
54649         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
54650         'err' in the ifdef scope in which it is actually used.
54652         * nss/nss_db/db-init.c: Include string.h
54654 2012-03-12  David S. Miller  <davem@davemloft.net>
54656         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
54657         masking out of the most significant byte of random value used.
54658         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54659         Fix coding style in previous change.
54661         * sysdeps/unix/sysv/linux/kernel-features.h
54662         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
54663         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
54664         expression.
54665         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
54666         later.
54668 2012-03-11  David S. Miller  <davem@davemloft.net>
54670         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
54671         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
54672         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
54673         for 'resultvar' otherwise things get truncated on 64-bit.
54675         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54676         Fix masking out of the most significant byte of random value used.
54678         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54680 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
54682         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54684 2012-03-09  David S. Miller  <davem@davemloft.net>
54686         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
54687         variables with appropriate CPP guards.
54688         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
54689         from the frame pointer, not the stack pointer.  Correct layout
54690         comments.  Fix test on resulting framesize and the management of
54691         the outregs buffer for pltexit.  Preserve floating point return
54692         values across _dl_call_pltexit call.
54693         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
54694         framesize and the management of the outregs buffer for pltexit.
54695         Preserve floating point return values across _dl_call_pltexit
54696         call.
54697         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
54698         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
54699         (la_sparc64_gnu_pltexit): New functions.
54700         (print_exit): Fix format string for return register value.
54702 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
54704         * sunrpc/Makefile (others): Add rpcgen.
54705         ($(objpfx)rpcgen): Remove special build rule and dependency on
54706         libc.
54707         * sunrpc/rpcgen.c: New file.
54709 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
54711         [BZ #13673]
54712         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
54713         * stdio-common/bug-vfprintf-nargs.c: Likewise.
54714         * sysdeps/i386/crti.S: Likewise.
54715         * sysdeps/i386/crtn.S: Likewise.
54716         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
54717         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
54718         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
54719         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
54720         * sysdeps/sh/crti.S: Likewise.
54721         * sysdeps/sh/crtn.S: Likewise.
54722         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
54724         [BZ #13673]
54725         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
54726         with URL.
54727         * locale/programs/locfile-kw.gperf: Likewise.
54728         * locale/programs/charmap-kw.h: Regenerated.
54729         * locale/programs/locfile-kw.h: Likewise.
54731         [BZ #13673]
54732         * intl/plural.y: Replace FSF snail mail address with URL.
54733         * intl/plural.c: Regenerated.
54735 2012-03-09  Richard Henderson  <rth@twiddle.net>
54737         * include/math_private.h: Remove file.
54738         * math/math_private.h: Move file ...
54739         * sysdeps/generic/math_private.h: ... here.
54741         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
54742         * sysdeps/powerpc/fpu/math_private.h: Likewise.
54743         * sysdeps/x86_64/fpu/math_private.h: Likewise.
54745         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
54746         and <math_private.h>.
54747         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
54748         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
54749         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
54750         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
54751         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
54752         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
54753         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54754         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54755         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
54756         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54757         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54758         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54759         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
54760         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54761         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
54762         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
54763         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54764         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54765         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
54766         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
54767         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54768         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
54769         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
54770         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54771         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
54772         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54773         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
54774         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54775         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54776         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54777         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
54778         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54779         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
54780         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
54781         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54782         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54783         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54784         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54785         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54786         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54787         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
54788         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54789         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
54790         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
54791         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
54792         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54793         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
54794         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
54795         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54796         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54797         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
54798         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
54799         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
54800         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54801         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
54802         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
54803         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54804         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
54805         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
54806         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
54807         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54808         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
54809         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54810         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54811         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
54812         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54813         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54814         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54815         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
54816         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
54817         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
54818         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54819         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
54820         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54821         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
54822         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
54823         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
54824         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54825         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
54826         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
54827         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
54828         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
54829         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
54830         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
54831         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
54832         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
54833         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
54834         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
54835         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
54836         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54837         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54838         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
54839         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54840         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
54841         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
54842         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
54843         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54844         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
54845         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
54846         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
54847         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
54848         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
54849         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
54850         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
54851         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54852         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
54853         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
54854         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
54855         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54856         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54857         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54858         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54859         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
54860         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54861         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
54862         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54863         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54864         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
54865         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54866         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
54867         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54868         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
54869         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54870         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
54871         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54872         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
54873         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
54874         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
54875         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
54876         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
54877         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
54878         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
54879         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54880         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
54881         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
54882         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
54883         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
54884         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
54885         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
54886         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
54887         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54888         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
54889         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
54890         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
54891         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
54892         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
54893         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
54894         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
54895         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
54896         * sysdeps/ieee754/k_standard.c: Likewise.
54897         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
54898         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
54899         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54900         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
54901         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
54902         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
54903         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
54904         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
54905         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
54906         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
54907         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
54908         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
54909         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
54910         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
54911         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
54912         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
54913         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
54914         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
54915         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
54916         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
54917         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
54918         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
54919         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54920         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
54921         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
54922         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
54923         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
54924         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
54925         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
54926         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54927         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
54928         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
54929         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
54930         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
54931         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
54932         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
54933         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
54934         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
54935         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
54936         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
54937         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
54938         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
54939         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
54940         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
54941         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
54942         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
54943         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
54944         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
54945         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
54946         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54947         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54948         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
54949         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
54950         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
54951         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54952         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54953         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
54954         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
54955         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
54956         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
54957         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54958         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
54959         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
54960         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
54961         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54962         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54963         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
54964         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
54965         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
54966         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
54967         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
54968         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54969         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
54970         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
54971         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
54972         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
54973         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
54974         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
54975         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54976         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
54977         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
54978         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
54979         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
54980         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
54981         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
54982         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
54983         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
54984         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
54985         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
54986         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
54987         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
54988         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
54989         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
54990         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
54991         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
54992         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
54993         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
54994         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
54995         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
54996         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
54997         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
54998         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
54999         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
55000         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
55001         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
55002         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
55003         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
55004         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
55005         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
55006         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
55007         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
55008         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
55009         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
55010         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
55011         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
55012         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55013         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
55014         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
55015         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55016         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
55017         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
55018         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
55019         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
55020         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
55021         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55022         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
55023         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
55024         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
55025         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
55026         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
55027         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
55028         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
55029         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
55030         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
55031         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
55032         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
55033         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
55034         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
55035         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
55036         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
55037         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
55038         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
55039         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
55040         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
55041         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
55042         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
55043         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
55044         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
55045         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
55046         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
55047         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
55048         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
55049         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
55050         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
55051         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
55052         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
55053         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
55054         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
55055         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
55056         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
55057         * sysdeps/ieee754/s_lib_version.c: Likewise.
55058         * sysdeps/ieee754/s_matherr.c: Likewise.
55059         * sysdeps/ieee754/s_signgam.c: Likewise.
55060         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
55061         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55062         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
55063         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
55064         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
55065         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
55066         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
55067         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
55068         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
55069         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
55070         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
55071         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
55072         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
55073         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
55074         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
55075         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
55076         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
55077         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
55078         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
55079         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55080         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55082 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
55084         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
55085         * sunrpc/rpc_main.c: Likewise.
55086         * sunrpc/rpc_svcout.c: Likewise.
55088 2012-03-09  David S. Miller  <davem@davemloft.net>
55090         * include/math_private.h: New file.
55092 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
55094         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
55095         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
55096         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
55097         from <bits/socket_type.h>.
55098         (enum __socket_type): Don't define here.
55099         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
55100         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55101         bits/socket_type.h.
55103         [BZ #13566]
55104         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
55105         checking __USE_GNU.
55107         * Makerules ($(inst_includedir)/%.h): New rule.
55108         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
55109         (install-others): Remove variable setting.
55110         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
55112 2012-03-08  Richard Henderson  <rth@twiddle.net>
55114         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
55115         from macro to inline function; merge with the
55116         !__LIBC_INTERNAL_MATH_INLINES version.
55117         (__ieee754_sqrtf): Likewise.
55119         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
55120         to inline function.
55121         (__rintf, __floor, __floorf): Likewise.
55123         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
55124         macro to inline function.
55125         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
55127         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
55128         not <math/math_private.h>.
55130 2012-03-08  David S. Miller  <davem@davemloft.net>
55132         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
55133         copyright year.
55134         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
55136 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
55138         * resolv/gai_misc.c (handle_requests): Fix struct timespec
55139         normalization.
55140         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
55141         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
55143 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
55145         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
55146         be defined individually, they must be defined as a block.  Define
55147         S for printing a string instead of hidint the different by using a
55148         macro for adding the 'l'.
55149         * stdio-common/tst-fphex-wide.c: Adjust.
55151 2012-03-07  Marek Polacek  <polacek@redhat.com>
55153         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
55155 2012-03-08  Marek Polacek  <polacek@redhat.com>
55157         [BZ #13806]
55158         * stdio-common/Makefile (tests): Add tst-fphex-wide.
55159         * stdio-common/tst-fphex.c: Define a few macros to make the
55160         test reusable.  Use them.
55161         * stdio-common/tst-fphex-wide.c: New file.
55163 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
55165         [BZ #6911]
55166         * manual/macros.texi (gnusystems): New macro.
55167         (nongnusystems): Likewise.
55168         (gnulinuxhurdsystems): Likewise.
55169         (gnuhurdsystems): Likewise..
55170         (gnulinuxsystems): Likewise.
55171         * manual/charset.texi: Use new macros or @theglibc{} to refer to
55172         variants of the GNU system, not "GNU system".
55173         * manual/conf.texi: Likewise.
55174         * manual/errno.texi: Likewise.  Update example of errno macro
55175         expansion.
55176         * manual/filesys.texi: Likewise.
55177         (getumask): Document as specific to GNU/Hurd.
55178         * manual/install.texi: Likewise.  Reword some references to
55179         GNU/Linux.
55180         * manual/intro.texi: Likewise.
55181         * manual/io.texi: Likewise.
55182         (File Name Portability): Detail which constraints are inapplicable
55183         to all GNU systems and which are only inapplicable to GNU/Hurd.
55184         * manual/job.texi: Likewise.
55185         * manual/llio.texi: Likewise.
55186         (O_NOCTTY): Document as present on GNU/Linux.
55187         * manual/maint.texi: Likewise.
55188         * manual/memory.texi: Likewise.
55189         * manual/pattern.texi: Likewise.
55190         * manual/pipe.texi: Likewise.
55191         * manual/process.texi: Likewise.
55192         * manual/resource.texi: Likewise.
55193         (RUSAGE_CHILDREN): Remove statement about specifying a particular
55194         child on GNU/Hurd.
55195         * manual/setjmp.texi: Likewise.
55196         * manual/signal.texi: Likewise.
55197         * manual/startup.texi: Likewise.
55198         * manual/stdio.texi: Likewise.
55199         * manual/terminal.texi: Likewise.
55200         (ONLCR): Document as POSIX.
55201         (OXTABS): Document availability on GNU/Linux as XTABS.
55202         (ONOEOT): Document availability separately from other bits.
55203         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
55204         * manual/time.texi: Likewise.
55205         * manual/users.texi: Likewise.
55206         * INSTALL: Regenerated.
55207         * sysdeps/gnu/errlist.c: Regenerated.
55209         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
55210         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
55211         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
55212         puts.
55213         * configure: Regenerated.
55215 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
55217         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
55218         default includes instead of AC_HEADER_CHECK.
55219         * sysdeps/i386/configure: Regenerated.
55221         [BZ #10716]
55222         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
55223         * math/s_cacoshf.c (__cacoshf): Likewise.
55224         * math/s_cacoshl.c (__cacoshl): Likewise.
55225         * math/s_casinh.c (__casinh): Set signs of result from argument.
55226         * math/s_casinhf.c (__casinhf): Likewise.
55227         * math/s_casinhl.c (__casinhl): Likewise.
55228         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
55229         (casinh_test): Add more tests.
55230         * sysdeps/i386/fpu/libm-test-ulps: Update.
55231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55233 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
55235         * po/zh_TW.po: Update from translation team.
55237         * login/Makefile (distribute): Remove variable.
55238         * catgets/Makefile: Likewise.
55239         * mach/Makefile: Likewise.
55240         * malloc/Makefile: Likewise.
55241         * misc/Makefile: Likewise.
55242         * iconv/Makefile: Likewise.
55243         * nscd/Makefile: Likewise.
55244         * hurd/Makefile: Likewise.
55245         * manual/Makefile: Likewise.
55246         * locale/Makefile: Likewise.
55247         * intl/Makefile: Likewise.
55248         * conform/Makefile: Likewise.
55249         * nss/Makefile: Likewise.
55250         * time/Makefile: Likewise.
55251         * soft-fp/Makefile: Likewise.
55252         * dirent/Makefile: Likewise.
55253         * gmon/Makefile: Likewise.
55254         * po/Makefile: Likewise.
55255         * rt/Makefile: Likewise.
55256         * socket/Makefile: Likewise.
55257         * math/Makefile: Likewise.
55258         * signal/Makefile: Likewise.
55259         * debug/Makefile: Likewise.
55260         * elf/Makefile: Likewise.
55261         * timezone/Makefile: Likewise.
55262         * stdlib/Makefile: Likewise.
55263         * iconvdata/Makefile: Likewise.
55264         * sunrpc/Makefile: Likewise.
55265         * io/Makefile: Likewise.
55266         * argp/Makefile: Likewise.
55267         * inet/Makefile: Likewise.
55268         * hesiod/Makefile: Likewise.
55269         * grp/Makefile: Likewise.
55270         * csu/Makefile: Likewise.
55271         * wctype/Makefile: Likewise.
55272         * crypt/Makefile: Likewise.
55273         * libio/Makefile: Likewise.
55274         * string/Makefile: Likewise.
55275         * nis/Makefile: Likewise.
55276         * resolv/Makefile: Likewise.
55277         * stdio-common/Makefile: Likewise.
55278         * wcsmbs/Makefile: Likewise.
55279         * dlfcn/Makefile: Likewise.
55280         * posix/Makefile: Likewise.
55282         [BZ #6959]
55283         * timezone/Makefile: Don't install timezone files, just the programs
55284         and scripts.
55286 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
55288         * nss/databases.def: Add missing gshadow entry.
55290         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
55292 2012-03-06  Marek Polacek  <polacek@redhat.com>
55294         [BZ #13726]
55295         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
55296         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
55297         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
55298         * stdio-common/tst-long-dbl-fphex.c: New file.
55300 2012-03-06  David S. Miller  <davem@davemloft.net>
55302         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55303         (set_obp_int): New function.
55304         (get_obp_int): New function.
55305         (__get_clockfreq_via_dev_openprom): Likewise.
55306         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
55307         Avoid unused variable warnings on 'val' and use builtin_expect.
55308         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
55309         __builtin_expect.
55310         (INLINE_CLONE_SYSCALL): Likewise.
55312 2012-03-05  David S. Miller  <davem@davemloft.net>
55314         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55316 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
55318         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55320         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
55321         only for |x| >= 40.
55322         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
55324 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
55326         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
55327         Replace gettimeofday with __vdso_gettimeofday.
55329         * sysdeps/unix/sysv/linux/x86_64/init-first.c
55330         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
55331         __vdso_clock_gettime and __vdso_getcpu.
55333         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
55334         time with __vdso_time.
55336 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
55338         * manual/lang.texi (size_t): Note types to which size_t may be
55339         equivalent with the GNU C Library, but do not describe when
55340         differences between them are significant.
55342 2012-03-05  Andreas Jaeger  <aj@suse.de>
55344         * sysdeps/i386/fpu/libm-test-ulps: Update.
55346 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
55348         [BZ #3976]
55349         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
55350         (__ieee754_pow): Save and restore rounding mode and use
55351         round-to-nearest for main computations.
55352         * math/libm-test.inc (pow_test_tonearest): New function.
55353         (pow_test_towardzero): Likewise.
55354         (pow_test_downward): Likewise.
55355         (pow_test_upward): Likewise.
55356         (main): Call the new functions.
55357         * sysdeps/i386/fpu/libm-test-ulps: Update.
55358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55360         [BZ #3976]
55361         * math/libm-test.inc (cosh_test_tonearest): New function.
55362         (cosh_test_towardzero): Likewise.
55363         (cosh_test_downward): Likewise.
55364         (cosh_test_upward): Likewise.
55365         (sinh_test_tonearest): Likewise.
55366         (sinh_test_towardzero): Likewise.
55367         (sinh_test_downward): Likewise.
55368         (sinh_test_upward): Likewise.
55369         (main): Call the new functions.
55370         * sysdeps/i386/fpu/libm-test-ulps: Update.
55371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55373 2012-03-05  Tom de Vries  <tom@codesourcery.com>
55375         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
55376         default stack guard is set in last bytes.
55377         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
55379 2012-03-05  Kees Cook  <keescook@chromium.org>
55381         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
55383         [BZ #13656]
55384         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
55385         possibly allocate from heap instead of stack.
55386         * stdio-common/bug-vfprintf-nargs.c: New file.
55387         * stdio-common/Makefile (tests): Add nargs overflow test.
55389 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
55391         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55393 2012-03-03  Marek Polacek  <polacek@redhat.com>
55395         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
55396         * math/math_private.h: Likewise.
55397         * stdlib/tst-strtod.c: Likewise.
55398         * sysdeps/i386/i486/bits/atomic.h: Likewise.
55399         * sysdeps/x86_64/bits/atomic.h: Likewise.
55401 2012-03-02  David S. Miller  <davem@davemloft.net>
55403         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
55404         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
55405         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
55406         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
55407         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
55408         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
55409         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
55410         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
55412 2012-03-02  Roland McGrath  <roland@hack.frob.com>
55414         [BZ #13792]
55415         * manual/examples/README: New file, says the example source files
55416         can be used under GPL>=2.
55417         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
55418         line containing just "*/".
55419         * manual/examples/add.c: Add copyright header (GPL>=2).
55420         * manual/examples/argp-ex1.c: Likewise.
55421         * manual/examples/argp-ex2.c: Likewise.
55422         * manual/examples/argp-ex3.c: Likewise.
55423         * manual/examples/argp-ex4.c: Likewise.
55424         * manual/examples/atexit.c: Likewise.
55425         * manual/examples/db.c: Likewise.
55426         * manual/examples/dir.c: Likewise.
55427         * manual/examples/dir2.c: Likewise.
55428         * manual/examples/execinfo.c: Likewise.
55429         * manual/examples/filecli.c: Likewise.
55430         * manual/examples/filesrv.c: Likewise.
55431         * manual/examples/fmtmsgexpl.c: Likewise.
55432         * manual/examples/genpass.c: Likewise.
55433         * manual/examples/inetcli.c: Likewise.
55434         * manual/examples/inetsrv.c: Likewise.
55435         * manual/examples/isockad.c: Likewise.
55436         * manual/examples/longopt.c: Likewise.
55437         * manual/examples/memopen.c: Likewise.
55438         * manual/examples/memstrm.c: Likewise.
55439         * manual/examples/mkfsock.c: Likewise.
55440         * manual/examples/mkisock.c: Likewise.
55441         * manual/examples/mygetpass.c: Likewise.
55442         * manual/examples/pipe.c: Likewise.
55443         * manual/examples/popen.c: Likewise.
55444         * manual/examples/rprintf.c: Likewise.
55445         * manual/examples/search.c: Likewise.
55446         * manual/examples/select.c: Likewise.
55447         * manual/examples/setjmp.c: Likewise.
55448         * manual/examples/sigh1.c: Likewise.
55449         * manual/examples/sigusr.c: Likewise.
55450         * manual/examples/stpcpy.c: Likewise.
55451         * manual/examples/strdupa.c: Likewise.
55452         * manual/examples/strftim.c: Likewise.
55453         * manual/examples/strncat.c: Likewise.
55454         * manual/examples/subopt.c: Likewise.
55455         * manual/examples/swapcontext.c: Likewise.
55456         * manual/examples/termios.c: Likewise.
55457         * manual/examples/testopt.c: Likewise.
55458         * manual/examples/testpass.c: Likewise.
55459         * manual/examples/timeval_subtract.c: Likewise.
55461         [BZ #13792]
55462         * manual/time.texi (Elapsed Time): Move timeval_subtract example
55463         function to ...
55464         * manual/timeval_subtract.c.texi: ... here, new file.
55466 2012-03-02  David S. Miller  <davem@davemloft.net>
55468         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
55470 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
55472         [BZ #3976]
55473         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
55474         (__sin): Save and restore rounding mode and use round-to-nearest
55475         for all computations.
55476         (__cos): Save and restore rounding mode and use round-to-nearest
55477         for all computations.
55478         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
55479         <fenv.h>.
55480         (tan): Save and restore rounding mode and use round-to-nearest for
55481         all computations.
55482         * math/libm-test.inc (cos_test_tonearest): New function.
55483         (cos_test_towardzero): Likewise.
55484         (cos_test_downward): Likewise.
55485         (cos_test_upward): Likewise.
55486         (sin_test_tonearest): Likewise.
55487         (sin_test_towardzero): Likewise.
55488         (sin_test_downward): Likewise.
55489         (sin_test_upward): Likewise.
55490         (tan_test_tonearest): Likewise.
55491         (tan_test_towardzero): Likewise.
55492         (tan_test_downward): Likewise.
55493         (tan_test_upward): Likewise.
55494         (main): Call the new functions.
55495         * sysdeps/i386/fpu/libm-test-ulps: Update.
55496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55498         [BZ #10135]
55499         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
55500         small n, then large n, before computing and testing k+n.
55501         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
55502         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
55503         Likewise.
55504         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
55505         Likewise.
55506         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
55507         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
55508         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
55509         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
55510         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
55511         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
55512         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
55513         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
55514         * math/libm-test.inc (scalbn_test): Add more tests.
55515         (scalbln_test): Likewise.
55517         * manual/filesys.texi (mode_t): Describe constraints on size and
55518         signedness, not exact equivalence to a particular type.
55519         (ino_t): Likewise.
55520         (ino64_t): Likewise.
55521         (dev_t): Likewise.
55522         (nlink_t): Likewise.
55523         (blkcnt_t): Likewise.
55524         (blkcnt64_t): Likewise.
55525         * manual/llio.texi (off_t): Likewise.
55527         [BZ #3976]
55528         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
55529         (__ieee754_exp): Save and restore rounding mode and use
55530         round-to-nearest for all computations.
55531         * math/libm-test.inc (exp_test_tonearest): New function.
55532         (exp_test_towardzero): Likewise.
55533         (exp_test_downward): Likewise.
55534         (exp_test_upward): Likewise.
55535         (main): Call the new functions.
55536         * sysdeps/i386/fpu/libm-test-ulps: Update.
55537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55539 2012-03-01  Chris Demetriou  <cgd@google.com>
55541         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
55542         have predictable order.
55544 2012-03-01  David S. Miller  <davem@davemloft.net>
55546         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
55548         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
55549         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
55550         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
55551         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
55553         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
55554         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
55555         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
55556         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
55557         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
55558         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
55559         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
55560         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
55561         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
55563         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55565         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
55566         * sysdeps/sparc/fpu/libm-test-ulps: to here.
55567         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
55569         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
55570         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
55571         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
55572         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
55573         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
55574         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
55575         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
55576         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
55577         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
55578         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
55579         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
55580         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55581         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
55582         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
55583         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
55584         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55585         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
55586         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
55587         * sysdeps/sparc/elf/configure: Regenerated.
55589 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
55591         * configure.in (AS, LD): Require binutils 2.20 or later.
55592         * configure: Regenerated.
55593         * manual/install.texi (Tools for Compilation): Give binutils 2.20
55594         as required minimum version.
55595         * INSTALL: Regenerated.
55597         [BZ #2541]
55598         [BZ #4108]
55599         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
55600         before squaring exponent.
55601         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
55602         bottom long double and 27 bits of top long double before squaring
55603         exponent.
55604         * math/libm-test.inc (erfc_test): Add more tests.
55605         * sysdeps/i386/fpu/libm-test-ulps: Update.
55606         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55609 2012-03-01  Kai Tietz  <ktietz@redhat.com>
55611         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
55612         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
55613         containing bit-fields.
55614         * soft-fp/extended.h (_FP_UNION_E): Likewise.
55615         * soft-fp/single.h (_FP_UNION_S): Likewise.
55616         * soft-fp/double.h (_FP_UNION_D): Likewise.
55618 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
55620         [BZ #13786]
55621         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
55622         not include ../strcmp.S.
55623         [USE_AS_STRNCASECMP_L]: Likewise.
55624         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
55625         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
55626         * sysdeps/i386/i686/multiarch/strncase_l-c.c
55627         (__strncasecmp_l_ia32): Define as alias to
55628         __strncasecmp_l_nonascii.
55630         [BZ #5794]
55631         * math/libm-test.inc (expm1_test): Add test for bug 5794.
55632         * sysdeps/i386/fpu/libm-test-ulps: Update.
55633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55635         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
55636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55638 2012-02-29  Jeff Law  <law@redhat.com>
55640         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
55641         out of bounds read.
55643 2012-02-29  Marek Polacek  <polacek@redhat.com>
55645         [BZ #13706]
55646         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
55647         * elf/Makefile: Add rules to run tst-unused-dep.out.
55649 2012-02-28  David S. Miller  <davem@davemloft.net>
55651         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
55652         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
55653         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
55654         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
55655         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
55656         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
55658 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
55660         * math/libm-test.inc (llround_test): Move one test from
55661         lround_test.  Use TEST_f_L in moved test.
55662         (lround_test): Move misplaced test to llround_test.  Add testcase
55663         from bug 2561.
55665 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
55667         * sysdeps/x86_64/fpu/e_expf.S: New file.
55668         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
55670 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
55672         [BZ #13637]
55673         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
55674         of remain_len that may cause incomplete multi-byte character and
55675         false match.
55676         * posix/bug-regex33.c: New file.
55677         * posix/Makefile (tests): Add bug-regex33.
55679 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
55681         * manual/macros.texi: New file.
55682         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
55683         * manual/libc.texinfo: Include macros.texi.
55684         * manual/creatute.texi: Likewise.
55685         * manual/install.texi: Likewise.
55686         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
55687         @glibcadj{} in references to the GNU C Library.
55688         * manual/charset.texi: Likewise.
55689         * manual/conf.texi: Likewise.
55690         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
55691         when not using those macros.
55692         * manual/creature.texi: Likewise.
55693         * manual/crypt.texi: Likewise.
55694         * manual/errno.texi: Likewise.
55695         * manual/filesys.texi: Likewise.
55696         * manual/header.texi: Likewise.
55697         * manual/install.texi: Likewise.
55698         * manual/intro.texi: Likewise.
55699         * manual/io.texi: Likewise.
55700         * manual/job.texi: Likewise.
55701         * manual/lang.texi: Likewise.
55702         * manual/libc.texiinfo: Likewise.
55703         * manual/llio.texi: Likewise.
55704         * manual/locale.texi: Likewise.
55705         * manual/maint.texi: Likewise.
55706         * manual/math.texi: Likewise.
55707         * manual/memory.texi: Likewise.
55708         * manual/message.texi: Likewise.
55709         * manual/nss.texi: Likewise.
55710         * manual/pattern.texi: Likewise.
55711         * manual/process.texi: Likewise.
55712         * manual/resource.texi: Likewise.
55713         * manual/search.texi: Likewise.
55714         * manual/setjmp.texi: Likewise.
55715         * manual/signal.texi: Likewise.
55716         * manual/socket.texi: Likewise.
55717         * manual/startup.texi: Likewise.
55718         * manual/stdio.texi: Likewise.
55719         * manual/string.texi: Likewise.
55720         * manual/sysinfo.texi: Likewise.
55721         * manual/syslog.texi: Likewise.
55722         * manual/terminal.texi: Likewise.
55723         * manual/time.texi: Likewise.
55724         * manual/users.texi: Likewise.
55725         * INSTALL: Regenerated.
55726         * NOTES: Regenerated.
55727         * sysdeps/gnu/errlist.c: Regenerated.
55729 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
55731         * include/dirent.h: Include <dirstream.h> before
55732         <dirent/dirent.h>.
55734 2012-02-28  David S. Miller  <davem@davemloft.net>
55736         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
55737         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
55738         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
55739         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
55741 2012-02-27  David S. Miller  <davem@davemloft.net>
55743         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
55744         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
55745         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
55746         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
55748         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
55749         frame pointer instead of stack pointer relative arg slot.
55750         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
55751         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
55752         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
55754 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
55756         [BZ #3992]
55757         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
55759 2012-02-27  David S. Miller  <davem@davemloft.net>
55761         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
55762         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
55763         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
55764         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
55765         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
55766         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
55767         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
55768         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
55770 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
55772         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
55773         later.  Allow versions 5-9.
55774         * configure: Regenerated.
55775         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
55776         required minimum version and 4.6 as recommended version.  Do not
55777         mention bugs in GCC 2.7 and 2.8.
55778         * INSTALL: Regenerated.
55780 2012-02-27  David S. Miller  <davem@davemloft.net>
55782         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
55783         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
55784         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
55785         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
55786         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
55787         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
55788         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
55789         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
55791         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
55792         manipulate bits before adding and subtracting TWO112[sx].
55793         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
55795 2012-02-27  Roland McGrath  <roland@hack.frob.com>
55797         [BZ #13775]
55798         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
55799         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
55800         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
55801         being in POSIX, because they are in 1003.1-2008.
55803         * rt/tst-aio.c: Include <fcntl.h>.
55804         * rt/tst-aio7.c: Likewise.
55805         * rt/tst-aio64.c: Likewise.
55807         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
55809 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
55811         * manual/install.texi (--with-headers): Describe headers as
55812         interface headers, not private headers.
55813         (Specific advice for GNU/Linux systems): Describe use of headers
55814         from "make headers_install", not private headers from older
55815         kernels.
55816         * INSTALL: Regenerated.
55817         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
55818         Change to 2.6.19.
55819         * sysdeps/unix/sysv/linux/configure: Regenerated.
55821         * manual/llio.texi (fclean): Remove documentation.
55823         * manual/Makefile (libc-texi-generated): New variable.  Include
55824         version.texi.
55825         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
55826         $(libc-texi-generated), not duplicated list of files.
55827         (version.texi, stamp-version): New rules.
55828         (realclean): Remove $(libc-texi-generated), not individual files
55829         from that list.  Do not remove dir-add.texinfo.
55830         * manual/libc.texinfo: Comment out uses of edition numbers and
55831         references to printed manual.  Remove last-updated dates.
55832         (EDITION): Comment out.
55833         (ISBN): Likewise.
55834         (VERSION, UPDATED): Remove.
55835         (version.texi): Include.
55837 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
55839         * sysdeps/posix/spawni.c: Include <signal.h>.
55840         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
55841         * sysdeps/pthread/aio_fsync.c: Likewise.
55843 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
55845         * conform/Makefile (tests): Run only when not cross-compiling and
55846         when fast-check is not defined.
55848         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
55849         * conform/data/limits.h-data: Fixes for POSIX2008.
55850         * conform/run-conformtest.sh: Run all tests.
55851         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
55852         headers.
55853         * include/bits/dlfcn.h: Likewise.
55854         * include/langinfo.h: Likewise.
55855         * include/monetary.h: Likewise.
55856         * include/sys/poll.h: Likewise.
55858         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
55859         for __USE_GNU.
55860         * posix/spawn.h: Define __need_sigset_t.
55861         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
55862         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
55863         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
55864         to get sigevent_t only.
55865         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
55866         only for __USE_GNU.
55867         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55868         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
55869         process_vm_writev only for __USE_GNU.
55870         * termios/termios.h: Declare tcgetsid also for POSIX2008.
55872         * conform/Makefile: For now ignore errors from run-conformtest.
55873         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
55874         POSIX to avoid namespace pollution.  Don't prepend headers.
55875         * conform/data/aio.h-data: Fixes for POSIX testing.
55876         * conform/data/fcntl.h-data: Likewise.
55877         * conform/data/glob.h-data: Likewise.
55878         * conform/data/grp.h-data: Likewise.
55879         * conform/data/pthread.h-data: Likewise.
55880         * conform/data/pwd.h-data: Likewise.
55881         * conform/data/signal.h-data: Likewise.
55882         * conform/data/spawn.h-data: Likewise.
55883         * conform/data/stdio.h-data: Likewise.
55884         * conform/data/stdlib.h-data: Likewise.
55885         * conform/data/stropts.h-data: Likewise.
55886         * conform/data/sys/mman.h-data: Likewise.
55887         * conform/data/sys/stat.h-data: Likewise.
55888         * conform/data/sys/types.h-data: Likewise.
55889         * conform/data/sys/wait.h-data: Likewise.
55890         * conform/data/time.h-data: Likewise.
55891         * conform/data/unistd.h-data: Likewise.
55892         * conform/data/utime.h-data: Likewise.
55894         * io/sys/stat.h: fchmod was always in POSIX.
55895         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
55896         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
55897         * rt/aio.h: Define __need_timespec before including <time.h>.
55898         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
55899         struct.  Add forward declaration of pthread_attr_t and use it in
55900         sigevent.
55901         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55902         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55903         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
55904         always remove CLK_TCK definition.
55906 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
55908         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
55910 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
55912         * conform/run-conformtest.sh: New file.
55913         * conform/Makefile: Run run-conformtest for tests.
55914         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
55915         support.
55917         * conform/data/uchar.h-data: New file.
55918         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
55919         * conform/data/arpa/inet.h-data: Likewise.
55920         * conform/data/assert.h-data: Likewise.
55921         * conform/data/complex.h-data: Likewise.
55922         * conform/data/cpio.h-data: Likewise.
55923         * conform/data/ctype.h-data: Likewise.
55924         * conform/data/dirent.h-data: Likewise.
55925         * conform/data/dlfcn.h-data: Likewise.
55926         * conform/data/errno.h-data: Likewise.
55927         * conform/data/fcntl.h-data: Likewise.
55928         * conform/data/float.h-data: Likewise.
55929         * conform/data/fmtmsg.h-data: Likewise.
55930         * conform/data/fnmatch.h-data: Likewise.
55931         * conform/data/ftw.h-data: Likewise.
55932         * conform/data/glob.h-data: Likewise.
55933         * conform/data/grp.h-data: Likewise.
55934         * conform/data/iconv.h-data: Likewise.
55935         * conform/data/inttypes.h-data: Likewise.
55936         * conform/data/langinfo.h-data: Likewise.
55937         * conform/data/libgen.h-data: Likewise.
55938         * conform/data/limits.h-data: Likewise.
55939         * conform/data/locale.h-data: Likewise.
55940         * conform/data/math.h-data: Likewise.
55941         * conform/data/monetary.h-data: Likewise.
55942         * conform/data/mqueue.h-data: Likewise.
55943         * conform/data/ndbm.h-data: Likewise.
55944         * conform/data/net/if.h-data: Likewise.
55945         * conform/data/netdb.h-data: Likewise.
55946         * conform/data/netinet/in.h-data: Likewise.
55947         * conform/data/nl_types.h-data: Likewise.
55948         * conform/data/poll.h-data: Likewise.
55949         * conform/data/pthread.h-data: Likewise.
55950         * conform/data/pwd.h-data: Likewise.
55951         * conform/data/regex.h-data: Likewise.
55952         * conform/data/sched.h-data: Likewise.
55953         * conform/data/search.h-data: Likewise.
55954         * conform/data/semaphore.h-data: Likewise.
55955         * conform/data/setjmp.h-data: Likewise.
55956         * conform/data/signal.h-data: Likewise.
55957         * conform/data/spawn.h-data: Likewise.
55958         * conform/data/stdarg.h-data: Likewise.
55959         * conform/data/stdio.h-data: Likewise.
55960         * conform/data/stdlib.h-data: Likewise.
55961         * conform/data/string.h-data: Likewise.
55962         * conform/data/strings.h-data: Likewise.
55963         * conform/data/stropts.h-data: Likewise.
55964         * conform/data/sys/ipc.h-data: Likewise.
55965         * conform/data/sys/mman.h-data: Likewise.
55966         * conform/data/sys/msg.h-data: Likewise.
55967         * conform/data/sys/resource.h-data: Likewise.
55968         * conform/data/sys/select.h-data: Likewise.
55969         * conform/data/sys/sem.h-data: Likewise.
55970         * conform/data/sys/shm.h-data: Likewise.
55971         * conform/data/sys/socket.h-data: Likewise.
55972         * conform/data/sys/stat.h-data: Likewise.
55973         * conform/data/sys/statvfs.h-data: Likewise.
55974         * conform/data/sys/time.h-data: Likewise.
55975         * conform/data/sys/timeb.h-data: Likewise.
55976         * conform/data/sys/times.h-data: Likewise.
55977         * conform/data/sys/types.h-data: Likewise.
55978         * conform/data/sys/uio.h-data: Likewise.
55979         * conform/data/sys/un.h-data: Likewise.
55980         * conform/data/sys/utsname.h-data: Likewise.
55981         * conform/data/sys/wait.h-data: Likewise.
55982         * conform/data/syslog.h-data: Likewise.
55983         * conform/data/tar.h-data: Likewise.
55984         * conform/data/termios.h-data: Likewise.
55985         * conform/data/utime.h-data: Likewise.
55986         * conform/data/utmpx.h-data: Likewise.
55987         * conform/data/varargs.h-data: Likewise.
55988         * conform/data/wchar.h-data: Likewise.
55989         * conform/data/wctype.h-data: Likewise.
55990         * conform/data/wordexp.h-data: Likewise.
55992         * include/stropts.h: New file.
55993         * include/uchar.h: New file.
55994         * include/aio.h: Changes to allow conformtest.pl to use the headers.
55995         * include/assert.h: Likewise.
55996         * include/ctype.h: Likewise.
55997         * include/dirent.h: Likewise.
55998         * include/dlfcn.h: Likewise.
55999         * include/fcntl.h: Likewise.
56000         * include/fnmatch.h: Likewise.
56001         * include/glob.h: Likewise.
56002         * include/grp.h: Likewise.
56003         * include/libio.h: Likewise.
56004         * include/locale.h: Likewise.
56005         * include/math.h: Likewise.
56006         * include/net/if.h: Likewise.
56007         * include/netdb.h: Likewise.
56008         * include/netinet/in.h: Likewise.
56009         * include/pthread.h: Likewise.
56010         * include/pwd.h: Likewise.
56011         * include/regex.h: Likewise.
56012         * include/sched.h: Likewise.
56013         * include/search.h: Likewise.
56014         * include/setjmp.h: Likewise.
56015         * include/signal.h: Likewise.
56016         * include/stdio.h: Likewise.
56017         * include/stdlib.h: Likewise.
56018         * include/string.h: Likewise.
56019         * include/sys/cdefs.h: Likewise.
56020         * include/sys/mman.h: Likewise.
56021         * include/sys/msg.h: Likewise.
56022         * include/sys/resource.h: Likewise.
56023         * include/sys/select.h: Likewise.
56024         * include/sys/socket.h: Likewise.
56025         * include/sys/stat.h: Likewise.
56026         * include/sys/statvfs.h: Likewise.
56027         * include/sys/time.h: Likewise.
56028         * include/sys/times.h: Likewise.
56029         * include/sys/uio.h: Likewise.
56030         * include/sys/utsname.h: Likewise.
56031         * include/sys/wait.h: Likewise.
56032         * include/termios.h: Likewise.
56033         * include/time.h: Likewise.
56034         * include/ulimit.h: Likewise.
56035         * include/unistd.h: Likewise.
56036         * include/utime.h: Likewise.
56037         * include/wchar.h: Likewise.
56038         * include/wctype.h: Likewise.
56039         * include/wordexp.h: Likewise.
56041         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
56043         * time/time.h: TIME_UTC must be a macro.
56044         Make timespec_get available for ISO C11 only as well.
56046 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
56048         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
56049         Reported by Peng Haitao <penght@cn.fujitsu.com>.
56051 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
56053         * configure.in: Use -o not -a in test for unsupported multi-arch.
56055 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
56057         * manual/texinfo.tex: Update to version 2012-01-19.16.
56059 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
56061         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
56063 2012-02-24  Roland McGrath  <roland@hack.frob.com>
56065         [BZ #13738]
56066         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
56067         * manual/fdl-1.3.texi: New file.
56068         * manual/fdl-1.1.texi: File removed.
56070         [BZ #13738]
56071         * manual/libc.texinfo (FDL_VERSION): New @set.
56072         Use it for mention of FDL in cover text.
56073         (Documentation License): Use it in @include file name.
56075 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56076             Roland McGrath  <roland@hack.frob.com>
56078         [BZ #5461]
56079         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
56080         (not LONG_LONG_MAX and LONG_LONG_MIN.
56081         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
56082         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
56083         name.
56084         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
56086 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56088         [BZ #2547]
56089         [BZ #11365]
56090         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
56091         manipulate bits before adding and subtracting TWO23[sx].
56092         * math/libm-test.inc (nearbyint_test): Add more tests.
56094 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56096         [BZ #2548]
56097         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
56098         bits before adding and subtracting TWO23[sx].
56099         * math/libm-test.inc (rint_test): Add more tests.
56100         (rint_test_tonearest): Likewise.
56101         (rint_test_towardzero): Likewise.
56102         (rint_test_downward): Likewise.
56103         (rint_test_upward: Likewise.
56105 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56107         [BZ #10110]
56108         * include/stdc-predef.h: New file.  Extracted from features.h.
56109         * include/features.h: Include stdc-predef.h.
56110         * Makefile (headers): Add stdc-predef.h.
56111         * CONFORMANCE (Compiler limitations): Update.
56113 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56115         * manual/libc.texinfo (VERSION, UPDATED): Revert.
56117 2012-02-21  David S. Miller  <davem@davemloft.net>
56119         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
56120         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
56122 2012-02-20  David S. Miller  <davem@davemloft.net>
56124         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
56125         using a normal save/restore sequence, rather than allocating a
56126         dummy stack frame just to store a frame pointer and restore.
56127         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
56129 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
56131         * manual/install.texi: Fix stray word in line-wrapped comment.
56133 2012-02-20  David S. Miller  <davem@davemloft.net>
56135         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
56136         both binutils and gcc support GOTDATA.
56138         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
56139         "rd %pc" in the PIC register setup sequences.
56141         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
56142         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
56143         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
56144         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
56145         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
56146         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
56147         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56148         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
56149         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
56150         (SYSCALL_ERROR_HANDLER): Likewise.
56151         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
56152         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
56153         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
56154         (SYSCALL_ERROR_HANDLER): Likewise.
56156         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
56157         (HAVE_GCC_GOTDATA): New.
56158         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
56159         relocation support in both binutils and gcc.
56160         * sysdeps/sparc/elf/configure: Regenerate.
56162         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
56163         * sysdeps/sparc/sparc32/elf/configure: Delete.
56164         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
56165         * sysdeps/sparc/sparc64/elf/configure: Delete.
56166         * sysdeps/sparc/elf/configure.in: New file.
56167         * sysdeps/sparc/elf/configure: Generate.
56169         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
56170         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
56171         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
56172         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
56173         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
56175 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
56177         * manual/install.texi: Do not mention specific glibc version
56178         numbers.
56179         * manual/libc.texinfo (VERSION, UPDATED): Update.
56180         (@copying): Use @copyright{} and range of years.
56182 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
56184         [BZ #13695]
56185         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
56186         [crti.S not in sysdirs] (generated): Do not append.
56187         [crti.S not in sysdirs] (omit-deps): Likewise.
56188         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
56189         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
56190         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
56191         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
56192         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
56193         Likewise.
56194         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
56195         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
56196         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
56197         * csu/defs.awk: Remove file.
56198         * sysdeps/generic/initfini.c: Likewise.
56199         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
56200         variable.
56201         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
56202         Likewise.
56204 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
56206         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
56207         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
56208         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
56209         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
56210         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56211         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
56212         <bits/epoll.h>.
56213         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
56214         (__EPOLL_PACKED): Define to empty if not defined by
56215         <bits/epoll.h>.
56216         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
56217         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56218         bits/epoll.h.
56220 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
56222         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
56223         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
56224         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
56225         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
56226         <bits/timerfd.h>.
56227         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
56228         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56229         bits/timerfd.h.
56231 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
56233         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
56234         in C locale.
56235         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56236         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
56237         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
56238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56240 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
56242         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56243         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
56245 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
56247         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
56248         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
56249         defined.
56250         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
56251         Likewise.
56252         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
56253         entry for 2.16.
56255 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
56257         * math/w_acos.c: Use non-signaling floating-point comparisons.
56258         * math/w_acosf.c: Likewise.
56259         * math/w_acosh.c: Likewise.
56260         * math/w_acoshf.c: Likewise.
56261         * math/w_acoshl.c: Likewise.
56262         * math/w_acosl.c: Likewise.
56263         * math/w_asin.c: Likewise.
56264         * math/w_asinf.c: Likewise.
56265         * math/w_asinl.c: Likewise.
56266         * math/w_atanh.c: Likewise.
56267         * math/w_atanhf.c: Likewise.
56268         * math/w_atanhl.c: Likewise.
56269         * math/w_exp2.c: Likewise.
56270         * math/w_exp2f.c: Likewise.
56271         * math/w_exp2l.c: Likewise.
56272         * math/w_j0.c: Likewise.
56273         * math/w_j0f.c: Likewise.
56274         * math/w_j0l.c: Likewise.
56275         * math/w_j1.c: Likewise.
56276         * math/w_j1f.c: Likewise.
56277         * math/w_j1l.c: Likewise.
56278         * math/w_jn.c: Likewise.
56279         * math/w_jnf.c: Likewise.
56280         * math/w_log.c: Likewise.
56281         * math/w_log10.c: Likewise.
56282         * math/w_log10f.c: Likewise.
56283         * math/w_log10l.c: Likewise.
56284         * math/w_log2.c: Likewise.
56285         * math/w_log2f.c: Likewise.
56286         * math/w_log2l.c: Likewise.
56287         * math/w_logf.c: Likewise.
56288         * math/w_logl.c: Likewise.
56289         * math/w_sqrt.c: Likewise.
56290         * math/w_sqrtf.c: Likewise.
56291         * math/w_sqrtl.c: Likewise.
56292         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
56293         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
56294         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56295         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
56296         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
56298 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
56300         [BZ #9739]
56301         * manual/string.texi (strnlen): Use correct parameter name in
56302         equivalent expression.
56304 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
56306         [BZ #11174]
56307         * manual/users.texi (seteuid): Consistently use neweuid for
56308         argument name.
56310 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
56312         [BZ #13704]
56313         * manual/nss.texi (Services in the NSS configuration): Correct
56314         list of services in example configuration file.
56316 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
56318         [BZ #11322]
56319         * manual/arith.texi: Remove statements about negative zero
56320         behaving identically to zero.
56322 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
56324         [BZ #5993]
56325         * manual/install.texi: Do not document upgrading from libc5.
56327 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
56329         [BZ #4596]
56330         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
56332 2012-02-18  David S. Miller  <davem@davemloft.net>
56334         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
56335         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
56336         %o7 across the call.
56337         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
56338         instead.
56339         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
56340         SETUP_PIC_REG_LEAF.
56341         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
56342         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
56343         * sysdeps/sparc/crtn.S: Likewise.
56345 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
56347         * aout/Makefile: Remove.
56349 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
56351         [BZ #13058]
56352         * manual/examples/argp-ex1.c (main): Format definition in GNU
56353         style.
56354         * manual/examples/argp-ex2.c (main): Likewise.
56355         * manual/examples/argp-ex3.c (main): Likewise.
56356         * manual/examples/argp-ex4.c (main): Likewise.
56357         * manual/examples/longopt.c (main): Use new-style prototype
56358         definition.
56359         * manual/examples/strncat.c (main): Specify return type and use
56360         (void) for arguments.
56361         * manual/examples/subopt.c (main): Use char **argv argument.
56363 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56365         [BZ #5077]
56366         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
56367         rounding modes.
56369 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
56371         [BZ #6907]
56372         * manual/string.texi (strchr): Change when strchrnul is
56373         recommended.
56375 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
56377         [BZ #174]
56378         * manual/locale.texi (setlocale): Document LOCPATH.
56380 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56382         [BZ #10210]
56383         * manual/process.texi (execle): Move @dots{} before last argument.
56385 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
56387         [BZ #12047]
56388         * manual/charset.texi (Generic Charset Conversion): Fix typo
56389         (LC_TYPE -> LC_CTYPE).
56391 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
56393         [BZ #5805]
56394         * manual/arith.texi (scalbn): Use @var{} on parameter names.
56395         (scalbnf): Likewise.
56396         (scalbnl): Likewise.
56397         (scalbln): Likewise.
56398         (scalblnf): Likewise.
56399         (scalblnl): Likewise.
56400         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
56401         (vwarnx): Likewise.
56402         (verr): Likewise.
56403         (verrx): Likewise.
56404         * manual/filesys.texi (telldir): Use braces around return type.
56405         * manual/llio.texi (mmap): Add space after comma.
56406         (mmap64): Likewise.
56407         * manual/math.texi (jn): Use @var{} on parameter names.
56408         (jnf): Likewise.
56409         (jnl): Likewise.
56410         (yn): Likewise.
56411         (ynf): Likewise.
56412         (ynl): Likewise.
56413         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
56414         line.
56415         * manual/resource.texi (ulimit): Use @dots{} instead of literal
56416         "...".
56417         (sched_get_priority_min): Remove semicolon on @deftypefun line.
56418         (sched_get_priority_max): Likewise.
56419         * manual/signal.texi (sigvec): Add space after comma.
56420         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
56421         names.
56422         (if_indextoname): Likewise.
56423         (if_freenameindex): Likewise.
56424         (sendto): Use ',' instead of '.' in prototype.
56425         * manual/startup.texi (syscall): Use @dots{} instead of literal
56426         "...".
56427         * manual/stdio.texi (__fpending): Separate initial words of
56428         paragraph from @deftypefun line.
56429         * manual/syslog.texi (syslog): Use @dots{} instead of literal
56430         "...".
56431         (vsyslog): Use @var{} on parameter names.
56432         * manual/terminal.texi (stty): Use @var{} on parameter names.
56433         * manual/users.texi (getutmp): Use @var{} on parameter names.
56434         (getutmpx): Likewise.
56436 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56438         [BZ #6884]
56439         * manual/stdio.texi (fopen): Fix typos in description of
56440         ",ccs=STRING".
56442 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
56444         [BZ #4026]
56445         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
56446         get clock_id definition.
56448 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
56450         [BZ #4822]
56451         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
56452         (madvise): Cast every argument to void on its own.
56454 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56456         [BZ #9902]
56457         * manual/startup.texi (Exit Status): Fix typo.
56459 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56461         [BZ #10140]
56462         * manual/examples/argp-ex1.c: Include <stdlib.h>.
56463         * manual/examples/argp-ex2.c: Likewise.
56464         * manual/examples/argp-ex3.c: Likewise.
56466 2012-02-16  Richard Henderson  <rth@redhat.com>
56468         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
56469         * sysdeps/s390/s390-32/initfini.c: Remove.
56470         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
56471         * sysdeps/s390/s390-64/initfini.c: Remove.
56473 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56475         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
56476         compiler output for sysdeps/generic/initfini.c.
56477         * sysdeps/sh/elf/initfini.c: Remove file.
56479 2012-02-16  David S. Miller  <davem@davemloft.net>
56481         [BZ #11494]
56482         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
56484         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
56485         * sysdeps/sparc/crti.S: New file.
56486         * sysdeps/sparc/crtn.S: New file.
56487         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
56488         * sysdeps/sparc/sparc64/Makefile: Likewise.
56490 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
56492         [BZ #3335]
56493         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
56495 2012-02-15  Roland McGrath  <roland@hack.frob.com>
56497         [BZ #4822]
56498         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
56500         * mach/devstream.c (cookie_io_functions_t): Macro removed.
56501         (write, read, close): Likewise.
56502         Patch by Aurelien Jarno <aurelien@aurel32.net>.
56504 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
56506         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
56507         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
56508         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
56509         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
56510         <bits/signalfd.h>.
56511         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
56512         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56513         bits/signalfd.h.
56515 2012-02-14  Marek Polacek  <polacek@redhat.com>
56517         * sysdeps/x86_64/crti.S: New file.
56518         * sysdeps/x86_64/crtn.S: New file.
56519         * sysdeps/x86_64/elf/initfini.c: Remove file.
56521 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
56523         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
56524         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
56525         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
56526         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
56527         <bits/inotify.h>.
56528         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
56529         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56530         bits/inotify.h.
56532 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
56534         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
56535         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
56536         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
56537         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
56538         <bits/eventfd.h>.
56539         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
56540         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56541         bits/eventfd.h.
56543 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
56545         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
56546         __feraiseexcept instead of feraiseexcept.
56548         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
56549         nanosleep invocations.
56550         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
56551         strings, and add error checking for a nanosleep invocations.
56553 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
56555         Replace FSF snail mail address with URLs, as per GNU coding standards.
56556         Most of the snail mail addresses were wrong anyway, and omitting
56557         them makes the source code easier to maintain.  Almost all of the
56558         changes are to license notices and to locale LC_IDENTIFICATION
56559         addresses, except for this one:
56560         * manual/libc.texinfo: In "Published by", give the FSF's URL,
56561         not its snail mail address.
56563 2012-02-09  Richard Henderson  <rth@twiddle.net>
56565         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
56566         of kernel-features.h.
56568         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
56570 2012-02-08  Marek Polacek  <polacek@redhat.com>
56572         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
56573         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
56574         * sysdeps/gnu/_G_config.h: Likewise.
56575         * sysdeps/generic/_G_config.h: Likewise.
56577 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
56579         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
56580         tests.
56581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56583         * sysdeps/powerpc/powerpc32/crti.S: New file.
56584         * sysdeps/powerpc/powerpc32/crtn.S: New file.
56585         * sysdeps/powerpc/powerpc64/crti.S: New file.
56586         * sysdeps/powerpc/powerpc64/crtn.S: New file.
56588         * Makeconfig (have-initfini): Don't set.
56589         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
56590         * configure.in (nopic_initfini): Don't substitute.
56591         * config.h.in (HAVE_INITFINI): Don't #undef.
56592         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
56593         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
56595 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
56597         Support crti.S and crtn.S provided directly by architectures.
56598         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
56599         [crti.S in sysdirs] (omit-deps): Likewise.
56600         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
56601         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
56602         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
56603         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
56604         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
56605         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
56606         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
56607         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
56608         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
56609         compiler output for sysdeps/generic/initfini.c.
56610         * sysdeps/i386/elf/Makefile: Remove file.
56611         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
56613 2012-02-07  Marek Polacek  <polacek@redhat.com>
56615         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
56616         * sysdeps/gnu/_G_config.h: Likewise.
56617         * sysdeps/mach/hurd/_G_config.h: Likewise.
56619 2012-02-07  Marek Polacek  <polacek@redhat.com>
56621         * math/Makefile (tests): Add tst-CMPLX2.
56622         * math/tst-CMPLX2.c: New file.
56624 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
56626         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56628         * math/libm-test.inc (jn_test): Add missing L suffix.
56630 2012-02-06  Marek Polacek  <polacek@redhat.com>
56632         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
56633         * sysdeps/i386/fpu/e_powf.S: Likewise.
56634         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
56635         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
56636         * sysdeps/i386/fpu/e_acosh.S: Likewise.
56637         * sysdeps/i386/fpu/e_pow.S: Likewise.
56638         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
56639         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
56640         * sysdeps/i386/fpu/s_expm1.S: Likewise.
56641         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
56642         * sysdeps/i386/fpu/e_log2.S: Likewise.
56643         * sysdeps/i386/fpu/e_log2l.S: Likewise.
56644         * sysdeps/i386/fpu/e_scalb.S: Likewise.
56645         * sysdeps/i386/fpu/e_powl.S: Likewise.
56646         * sysdeps/i386/fpu/s_log1p.S: Likewise.
56647         * sysdeps/i386/fpu/e_log10f.S: Likewise.
56648         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
56649         * sysdeps/i386/fpu/e_logl.S: Likewise.
56650         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
56651         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
56652         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
56653         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
56654         * sysdeps/i386/fpu/e_log2f.S: Likewise.
56655         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
56656         * sysdeps/i386/fpu/e_log.S: Likewise.
56657         * sysdeps/i386/fpu/s_cexp.S: Likewise.
56658         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
56659         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
56660         * sysdeps/i386/fpu/e_logf.S: Likewise.
56661         * sysdeps/i386/fpu/e_log10l.S: Likewise.
56662         * sysdeps/i386/fpu/e_atanh.S: Likewise.
56663         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
56664         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
56665         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
56666         * sysdeps/i386/fpu/e_log10.S: Likewise.
56667         * sysdeps/i386/fpu/s_frexp.S: Likewise.
56668         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
56669         * sysdeps/i386/fpu/s_asinh.S: Likewise.
56670         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
56671         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
56672         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
56673         * sysdeps/i386/asm-syntax.h: Likewise.
56674         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
56675         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
56676         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
56677         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
56678         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
56679         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
56680         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
56681         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
56682         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
56683         * sysdeps/powerpc/sysdep.h: Likewise.
56684         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
56685         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
56687 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
56689         [BZ #411]
56690         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
56692 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
56694         * sysdeps/i386/sysdep.h: Include <features.h>.
56695         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
56696         version.
56698 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
56700         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
56701         Define.
56702         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
56703         LOAD_PIC_REG_STR.
56705 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56707         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
56708         (SETUP_PIC_REG): Use GET_PC_THUNK.
56709         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
56710         macro.
56712 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56714         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
56715         for non-PIC compilation.
56716         (SETUP_PIC_REG): Add .p2align directive.
56717         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
56718         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
56719         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
56720         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
56721         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
56722         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
56723         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
56724         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
56725         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
56726         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
56727         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
56728         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
56729         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
56730         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
56731         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
56732         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
56733         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
56734         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
56735         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
56736         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
56737         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
56738         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
56739         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
56740         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
56741         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
56742         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
56743         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56744         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
56745         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
56746         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
56747         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
56748         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56749         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
56750         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
56751         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
56752         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
56753         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
56754         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
56755         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
56756         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
56757         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
56759 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56761         * math/tst-CMPLX.c: Include <stdio.h>.
56763 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
56765         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
56766         float.
56767         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
56768         * sysdeps/sparc/bits/mathdef.h: Likewise.
56770 2012-01-31  Marek Polacek  <polacek@redhat.com>
56772         * libio/libio.h: Don't define _PARAMS.
56773         * locale/programs/config.h: Don't define PARAMS.
56774         * stdlib/strtol_l.c: Likewise.
56775         (__strtol_l): Remove PARAMS from the prototype.
56777 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
56779         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
56780         names.  Just use the correct names.  Remove unnecessary wrapper
56781         functions.
56782         * malloc/arena.c: Likewise.
56783         * malloc/hooks.c: Likewise.
56785         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
56786         ARENA_TEST says not to.  Simplify test for creation of a new arena.
56787         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
56789 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
56791         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
56792         into tail calls.
56793         (update_get_addr): New function.
56794         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
56795         GET_ADDR_MODULE parameter.
56797 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
56799         * crypt/cert.c: Remove __STDC__ conditionals.
56800         * crypt/crypt-entry.c: Likewise.
56801         * crypt/crypt_util.c: Likewise.
56802         * libio/filedoalloc.c: Likewise.
56803         * libio/fileops.c: Likewise.
56804         * libio/genops.c: Likewise.
56805         * libio/iofclose.c: Likewise.
56806         * libio/iofdopen.c: Likewise.
56807         * libio/iofopen.c: Likewise.
56808         * libio/iofopen64.c: Likewise.
56809         * libio/iogetdelim.c: Likewise.
56810         * libio/iopopen.c: Likewise.
56811         * libio/obprintf.c: Likewise.
56812         * libio/oldfileops.c: Likewise.
56813         * libio/oldiofclose.c: Likewise.
56814         * libio/oldiofdopen.c: Likewise.
56815         * libio/oldiofopen.c: Likewise.
56816         * libio/oldiopopen.c: Likewise.
56817         * libio/wfiledoalloc.c: Likewise.
56818         * libio/wgenops.c: Likewise.
56819         * locale/programs/xmalloc.c: Likewise.
56820         * misc/syslog.c: Likewise.
56821         * stdio-common/xbug.c: Likewise.
56822         * string/memchr.c: Likewise.
56823         * string/memcmp.c: Likewise.
56824         * string/memrchr.c: Likewise.
56825         * string/rawmemchr.c: Likewise.
56826         * sysdeps/posix/getcwd.c: Likewise.
56827         * time/strftime_l.c: Likewise.
56829 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
56831         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
56832         * config.make.in (config-cflags-sse2avx): Define.
56833         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
56834         Fix typo.
56836 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
56838         * scripts/config.guess: Update from upstream config git repository.
56839         * scripts/config.sub: Likewise.
56841 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
56843         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
56844         (EM_NUM): Update.
56845         (R_TILEPRO_*, R_TILEGX_*): New macros.
56847         * scripts/firstversions.awk: Fix bug in version range handling.
56849         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
56851         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
56853         * include/sys/epoll.h: New file.
56854         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
56855         libc_hidden_def.
56857 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
56859         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
56860         Avoid unnecessary __WORDSIZE == 64 test.
56861         (fmaxf): Use VEX format if possible.
56862         (fmax): Likewise.
56863         (fminf): Likewise.
56864         (fmin): Likewise.
56866         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
56867         * math/math_private.h: Remove libc_fegetround* and
56868         libc_fesetround*.
56869         * sysdeps/i386/configure.in: Check for -msse2avx.
56870         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
56871         also if SSE2AVX is defined.
56872         Remove libc_fegetround* and libc_fesetround*.
56873         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
56874         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
56875         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
56876         of HAS_YMM_USABLE.
56877         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56878         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56879         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56880         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56881         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56883         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
56885 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56887         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
56888         size is not set.
56889         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56891 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
56893         [BZ #13618]
56894         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
56895         relocation.
56896         * Makeconfig (libm): Define.
56897         * elf/Makefile: Add rules to build and run tst-relsort1.
56898         * elf/tst-relsort1.c: New file.
56899         * elf/tst-relsort1mod1.c: New file.
56900         * elf/tst-relsort1mod2.c: New file.
56902 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
56904         * math/s_ldexp.c: Remove __STDC__ conditionals.
56905         * math/s_ldexpf.c: Likewise.
56906         * math/s_ldexpl.c: Likewise.
56907         * math/s_nextafter.c: Likewise.
56908         * math/s_nexttowardf.c: Likewise.
56909         * math/s_significand.c: Likewise.
56910         * math/s_significandf.c: Likewise.
56911         * math/s_significandl.c: Likewise.
56912         * math/w_jnl.c: Likewise.
56913         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
56914         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
56915         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
56916         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
56917         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
56918         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
56919         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
56920         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
56921         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
56922         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
56923         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
56924         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56925         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
56926         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
56927         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
56928         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
56929         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
56930         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
56931         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
56932         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56933         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56934         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
56935         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
56936         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
56937         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
56938         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
56939         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
56940         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
56941         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
56942         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
56943         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
56944         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
56945         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
56946         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
56947         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
56948         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
56949         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
56950         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
56951         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
56952         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
56953         * sysdeps/ieee754/k_standard.c: Likewise.
56954         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56955         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
56956         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
56957         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
56958         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
56959         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
56960         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
56961         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
56962         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
56963         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
56964         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
56965         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
56966         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
56967         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
56968         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
56969         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
56970         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
56971         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
56972         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
56973         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
56974         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
56975         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
56976         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
56977         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
56978         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
56979         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
56980         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56981         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56982         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56983         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
56984         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
56985         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
56986         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
56987         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
56988         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
56989         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
56990         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
56991         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
56992         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
56993         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
56994         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
56995         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
56996         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
56997         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
56998         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
56999         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
57000         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
57001         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
57002         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
57003         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
57004         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
57005         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
57006         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
57007         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
57008         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
57009         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
57010         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
57011         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
57012         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
57013         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
57014         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
57015         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
57016         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
57017         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
57018         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
57019         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
57020         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
57021         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
57022         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
57023         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
57024         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
57025         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
57026         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
57027         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
57028         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
57029         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
57030         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
57031         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
57032         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
57033         * sysdeps/ieee754/s_matherr.c: Likewise.
57034         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
57035         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
57036         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
57037         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
57039 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
57041         * crypt/md5.h: Remove __STDC__ conditionals.
57042         * libio/libioP.h: Likewise.
57043         * locale/programs/config.h: Likewise.
57044         * sysdeps/generic/sysdep.h: Likewise.
57045         * sysdeps/i386/asm-syntax.h: Likewise.
57046         * sysdeps/s390/asm-syntax.h: Likewise.
57047         * sysdeps/unix/sysdep.h: Likewise.
57048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
57049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
57051 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
57053         * libio/libio.h: Remove __STDC__ conditionals.
57054         * malloc/obstack.h: Likewise.
57055         * math/complex.h: Likewise.
57056         * math/math.h: Likewise.
57057         * sysdeps/generic/_G_config.h: Likewise.
57058         * sysdeps/gnu/_G_config.h: Likewise.
57059         * sysdeps/mach/hurd/_G_config.h: Likewise.
57060         * sysdeps/powerpc/bits/mathdef.h: Likewise.
57061         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
57062         * sysdeps/sparc/bits/mathdef.h: Likewise.
57064 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
57066         [BZ #13583]
57067         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
57068         Clean up HAS_* macros.
57069         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
57070         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
57071         possible.
57072         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
57073         HAS_AVX.
57074         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
57075         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57076         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57077         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57078         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57080 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
57082         * elf/tst-unique3.cc (gets): Remove declaration.
57083         * elf/tst-unique3lib.cc (gets): Likewise.
57084         * elf/tst-unique3lib2.cc (gets): Likewise.
57085         * elf/tst-unique4.cc (gets): Likewise.
57087 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
57089         * include/stdio.h: Add C++ protection.  Add gets declarations and
57090         definitions.
57091         * debug/tst-chk1.c: Don't declare gets here.
57092         * stdio-common/tst-gets.c: Likewise.
57094 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
57096         * posix/glob: Remove directory.
57098 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
57100         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
57102 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
57104         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
57105         of the non-standard EPFNOSUPPORT.
57107 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57109         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
57110         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
57111         ANYWHERE set to 1 only on KERN_NO_SPACE error.
57113 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
57115         * wcsmbs/uchar.h: Test __STDC_VERSION__.
57117 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
57119         * nscd/aicache.c (addhstaiX): Do not cache negative results of
57120         transient errors.
57121         * nscd/grpcache.c (cache_addgr): Likewise.
57122         * nscd/hstcache.c (cache_addhst): Likewise.
57123         * nscd/initgrcache.c (addinitgroupsX): Likewise.
57124         * nscd/pwdcache.c (cache_addpw): Likewise.
57125         * nscd/servicescache.c (cache_addserv): Likewise.
57127 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
57129         * malloc/malloc.c: Various cleanups.
57130         * malloc/hooks.c: Likewise.
57132         * stdlib/Makefile (tests): Add bug-fmtmsg1.
57133         * stdlib/bug-fmtmsg1.c: New file.
57135         * stdlib/fmtmsg.c (init): Add missing unlock.
57136         Patch by Peng Haitao <penght@cn.fujitsu.com>.
57138 2012-01-12  Marek Polacek  <polacek@redhat.com>
57140         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
57141         and _GNU_SOURCE.
57143 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
57145         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
57146         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
57147         macro to ensure uniqueness of label name.
57148         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
57149         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
57151 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
57153         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
57155         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
57156         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
57157         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
57158         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
57160 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
57162         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
57164         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
57165         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
57166         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
57168         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
57170         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
57171         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
57172         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
57173         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
57175         * math/bits/math-finite.h: Add ldexp support.
57177 2012-01-10  Marek Polacek  <polacek@redhat.com>
57179         * locale/programs/localedef.h (show_archive_content): Add noreturn
57180         attribute.
57182 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
57184         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
57186 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
57188         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
57190         * io/Makefile (headers): Add bits/poll2.h.
57192 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
57194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
57195         typo #include statement.
57197 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
57199         * include/sys/cdefs.h: Define __attribute_alloc_size.
57200         * catgets/gencat.c: Add alloc_size attribute and apply consistently
57201         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
57202         * elf/pldd.c: Likewise.
57203         * iconv/iconv_charmap.c: Likewise.
57204         * iconv/iconvconfig.c: Likewise.
57205         * iconv/strtab.c: Likewise.
57206         * locale/programs/locale.c: Likewise.
57207         * locale/programs/localedef.h: Likewise.
57208         * locale/programs/simple-hash.c: Likewise.
57209         * nscd/nscd.h: Likewise.
57210         * nss/makedb.c: Likewise.
57211         * sysdeps/generic/ldconfig.h: Likewise.
57212         * locale/programs/localedef.c: Remove xmalloc prototype.
57213         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
57215 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
57217         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
57218         appropriate.
57220 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
57222         * math/Makefile (tests): Add tst-CMPLX.
57223         * math/tst-CMPLX.c: New file.
57225         * math/complex.h (CMPLXL): Fix typo.
57227         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
57228         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
57229         GLIBC_2.16.
57230         * debug/tst-chk1.c: Add poll and ppoll tests.
57231         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
57232         * include/sys/poll.h: Add hidden proto for ppoll.
57233         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
57234         * sysdeps/mach/hurd/ppoll.c: Likewise.
57235         * io/ppoll.c: Likewise.
57236         * debug/poll_chk.c: New file.
57237         * debug/ppoll_chk.c: New file.
57238         * include/bits/poll2.h: New file.
57239         * io/bits/poll2.h: New file.
57241         [BZ #1350]
57242         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
57244         * configure.in: static is always set to yes.  Remove.
57245         * config.make.in: Don't set build-static.
57246         * Makeconfig: Remove use of build-static.
57247         * dlfcn/Makefile: Likewise.
57248         * elf/Makefile: Likewise.
57249         * math/Makefile: Likewise.
57250         * misc/Makefile: Likewise.
57251         * nptl/Makefile: Likewise.
57252         * sysdeps/mach/hurd/Makefile: Likewise.
57254         * configure.in: PWD_P is not used anymore.
57255         * config.make.in: Remove PWD_P entry.
57257         * configure.in: Remove last remnants of RANLIB.
57258         No need to check for signed size_t anymore.
57259         Don't set libc_commonpagesize and libc_relro_required here for Alpha
57260         and IA-64.
57261         Remove __builtin_expect test because we require at least gcc 3.4.
57262         * aclocal.m4: Likewise.
57264         * wcsmbs/mbrtoc16.c: Implement using towc function.
57265         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
57266         * wcsmbs/wcsmbsload.c: Likewise.
57267         * iconv/gconv_simple.c: Likewise.
57268         * iconv/gconv_int.h: Likewise.
57269         * iconv/gconv_builtin.h: Likewise.
57270         * iconv/iconv_prog.c: Remove CHAR16 handling.
57272         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
57274         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
57276         * configure.in: Remove --with-elf and --enable-bounded options.
57277         Dont set base_machine for ia64.  More non-ELF conditions removed.
57278         Remove testing and setting of leading underscore information.
57279         * config.make.in (build-bounded): Set to no.
57280         * config.h.in: Remove NO_UNDERSCORES entry.
57281         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
57282         them.
57283         * csu/start.c: Remove !NO_UNDERSCORE code.
57284         * locale/localeinfo.h: Likewise.
57285         * sysdeps/generic/machine-gmon.h: Likewise.
57286         * sysdeps/generic/sysdep.h: Likewise.
57287         * sysdeps/i386/sysdep.h: Likewise.
57288         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
57289         * sysdeps/mach/sysdep.h: Likewise.
57290         * sysdeps/s390/s390-32/sysdep.h: Likewise.
57291         * sysdeps/s390/s390-64/sysdep.h: Likewise.
57292         * sysdeps/sh/sysdep.h: Likewise.
57293         * sysdeps/sparc/sparc32/alloca.S: Likewise.
57294         * sysdeps/unix/i386/sysdep.S: Likewise.
57295         * sysdeps/unix/sparc/start.c: Likewise.
57296         * sysdeps/unix/sparc/sysdep.S: Likewise.
57297         * sysdeps/unix/sparc/sysdep.h: Likewise.
57298         * sysdeps/unix/start.c: Likewise.
57299         * sysdeps/unix/x86_64/sysdep.S: Likewise.
57300         * sysdeps/x86_64/sysdep.h: Likewise.
57302 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
57304         [BZ #13553]
57305         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
57306         for non-gcc.
57307         * argp/argp-fmtstream.h: Use const instead __const.
57308         * argp/argp.h: Likewise.
57309         * assert/assert.h: Likewise.
57310         * bits/fenv.h: Likewise.
57311         * bits/sched.h: Likewise.
57312         * bits/sigset.h: Likewise.
57313         * bits/sigthread.h: Likewise.
57314         * catgets/nl_types.h: Likewise.
57315         * conform/data/pthread.h-data: Likewise.
57316         * crypt/crypt-private.h: Likewise.
57317         * crypt/crypt.h: Likewise.
57318         * crypt/crypt_util.c: Likewise.
57319         * ctype/ctype.h: Likewise.
57320         * debug/execinfo.h: Likewise.
57321         * debug/mbsnrtowcs_chk.c: Likewise.
57322         * debug/mbsrtowcs_chk.c: Likewise.
57323         * debug/wcsnrtombs_chk.c: Likewise.
57324         * debug/wcsrtombs_chk.c: Likewise.
57325         * debug/wcstombs_chk.c: Likewise.
57326         * dirent/dirent.h: Likewise.
57327         * dlfcn/dlfcn.h: Likewise.
57328         * elf/neededtest4.c: Likewise.
57329         * grp/grp.h: Likewise.
57330         * gshadow/gshadow.h: Likewise.
57331         * iconv/gconv.h: Likewise.
57332         * iconv/gconv_int.h: Likewise.
57333         * iconv/gconv_simple.c: Likewise.
57334         * iconv/iconv.h: Likewise.
57335         * iconv/loop.c: Likewise.
57336         * iconv/skeleton.c: Likewise.
57337         * include/aio.h: Likewise.
57338         * include/aliases.h: Likewise.
57339         * include/argz.h: Likewise.
57340         * include/arpa/inet.h: Likewise.
57341         * include/assert.h: Likewise.
57342         * include/dirent.h: Likewise.
57343         * include/dlfcn.h: Likewise.
57344         * include/execinfo.h: Likewise.
57345         * include/fcntl.h: Likewise.
57346         * include/fenv.h: Likewise.
57347         * include/glob.h: Likewise.
57348         * include/grp.h: Likewise.
57349         * include/libintl.h: Likewise.
57350         * include/mntent.h: Likewise.
57351         * include/netdb.h: Likewise.
57352         * include/pwd.h: Likewise.
57353         * include/rpc/netdb.h: Likewise.
57354         * include/sched.h: Likewise.
57355         * include/search.h: Likewise.
57356         * include/shadow.h: Likewise.
57357         * include/signal.h: Likewise.
57358         * include/stdio.h: Likewise.
57359         * include/stdlib.h: Likewise.
57360         * include/string.h: Likewise.
57361         * include/sys/socket.h: Likewise.
57362         * include/sys/stat.h: Likewise.
57363         * include/sys/statfs.h: Likewise.
57364         * include/sys/statvfs.h: Likewise.
57365         * include/sys/syslog.h: Likewise.
57366         * include/sys/time.h: Likewise.
57367         * include/sys/uio.h: Likewise.
57368         * include/time.h: Likewise.
57369         * include/unistd.h: Likewise.
57370         * include/utmp.h: Likewise.
57371         * include/wchar.h: Likewise.
57372         * include/wctype.h: Likewise.
57373         * inet/aliases.h: Likewise.
57374         * inet/arpa/inet.h: Likewise.
57375         * inet/netinet/ether.h: Likewise.
57376         * inet/netinet/in.h: Likewise.
57377         * intl/libintl.h: Likewise.
57378         * io/bits/fcntl2.h: Likewise.
57379         * io/fcntl.h: Likewise.
57380         * io/ftw.h: Likewise.
57381         * io/sys/poll.h: Likewise.
57382         * io/sys/stat.h: Likewise.
57383         * io/sys/statfs.h: Likewise.
57384         * io/sys/statvfs.h: Likewise.
57385         * io/utime.h: Likewise.
57386         * libio/bits/stdio.h: Likewise.
57387         * libio/bits/stdio2.h: Likewise.
57388         * libio/libio.h: Likewise.
57389         * libio/libioP.h: Likewise.
57390         * libio/stdio.h: Likewise.
57391         * locale/lc-ctype.c: Likewise.
57392         * locale/locale.h: Likewise.
57393         * login/utmp.h: Likewise.
57394         * malloc/arena.c: Likewise.
57395         * malloc/malloc.c: Likewise.
57396         * malloc/malloc.h: Likewise.
57397         * malloc/mcheck.c: Likewise.
57398         * malloc/mtrace.c: Likewise.
57399         * math/bits/mathcalls.h: Likewise.
57400         * math/fenv.h: Likewise.
57401         * math/math_private.h: Likewise.
57402         * misc/bits/error.h: Likewise.
57403         * misc/bits/syslog.h: Likewise.
57404         * misc/err.h: Likewise.
57405         * misc/error.h: Likewise.
57406         * misc/fstab.h: Likewise.
57407         * misc/mntent.h: Likewise.
57408         * misc/regexp.h: Likewise.
57409         * misc/search.h: Likewise.
57410         * misc/sgtty.h: Likewise.
57411         * misc/sys/mman.h: Likewise.
57412         * misc/sys/syslog.h: Likewise.
57413         * misc/sys/uio.h: Likewise.
57414         * misc/sys/xattr.h: Likewise.
57415         * misc/ttyent.h: Likewise.
57416         * nis/rpcsvc/ypclnt.h: Likewise.
57417         * nss/nss.h: Likewise.
57418         * posix/bits/unistd.h: Likewise.
57419         * posix/fnmatch.h: Likewise.
57420         * posix/glob.h: Likewise.
57421         * posix/sched.h: Likewise.
57422         * posix/spawn.h: Likewise.
57423         * posix/sys/wait.h: Likewise.
57424         * posix/unistd.h: Likewise.
57425         * posix/wordexp.h: Likewise.
57426         * pwd/pwd.h: Likewise.
57427         * resolv/netdb.h: Likewise.
57428         * resource/sys/resource.h: Likewise.
57429         * rt/aio.h: Likewise.
57430         * rt/bits/mqueue2.h: Likewise.
57431         * rt/mqueue.h: Likewise.
57432         * shadow/shadow.h: Likewise.
57433         * signal/signal.h: Likewise.
57434         * socket/send.c: Likewise.
57435         * socket/sendto.c: Likewise.
57436         * socket/sys/socket.h: Likewise.
57437         * stdio-common/printf.h: Likewise.
57438         * stdlib/bits/stdlib.h: Likewise.
57439         * stdlib/fmtmsg.h: Likewise.
57440         * stdlib/monetary.h: Likewise.
57441         * stdlib/stdlib.h: Likewise.
57442         * stdlib/ucontext.h: Likewise.
57443         * streams/stropts.h: Likewise.
57444         * string/argz.h: Likewise.
57445         * string/bits/string2.h: Likewise.
57446         * string/string.h: Likewise.
57447         * string/strings.h: Likewise.
57448         * sunrpc/rpc/auth.h: Likewise.
57449         * sunrpc/rpc/auth_des.h: Likewise.
57450         * sunrpc/rpc/clnt.h: Likewise.
57451         * sunrpc/rpc/netdb.h: Likewise.
57452         * sunrpc/rpc/pmap_clnt.h: Likewise.
57453         * sunrpc/rpc/xdr.h: Likewise.
57454         * sysdeps/generic/inttypes.h: Likewise.
57455         * sysdeps/generic/net/if.h: Likewise.
57456         * sysdeps/generic/sys/swap.h: Likewise.
57457         * sysdeps/gnu/net/if.h: Likewise.
57458         * sysdeps/gnu/utmpx.h: Likewise.
57459         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
57460         * sysdeps/i386/i486/bits/string.h: Likewise.
57461         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
57462         * sysdeps/s390/bits/string.h: Likewise.
57463         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
57464         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
57465         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
57466         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
57467         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
57468         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
57469         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
57470         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
57471         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
57472         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
57473         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
57474         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
57475         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
57476         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
57477         * sysdeps/unix/sysv/linux/readv.c: Likewise.
57478         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
57479         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
57480         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57481         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
57482         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
57483         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
57484         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
57485         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
57486         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
57487         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
57488         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
57489         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
57490         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57491         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
57492         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
57493         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
57494         * sysvipc/sys/ipc.h: Likewise.
57495         * sysvipc/sys/msg.h: Likewise.
57496         * sysvipc/sys/sem.h: Likewise.
57497         * sysvipc/sys/shm.h: Likewise.
57498         * termios/termios.h: Likewise.
57499         * time/sys/time.h: Likewise.
57500         * time/time.h: Likewise.
57501         * wcsmbs/bits/wchar2.h: Likewise.
57502         * wcsmbs/uchar.h: Likewise.
57503         * wcsmbs/wchar.h: Likewise.
57504         * wctype/wctype.h: Likewise.
57506         [BZ #13551]
57507         * Makeconfig: Remove all but ELF support including AIX support.
57508         * Makerules: Likewise.
57509         * config.h.in: Likewise.
57510         * config.make.in: Likewise.
57511         * configure: Likewise.
57512         * configure.in: Likewise.
57513         * csu/Makefile: Likewise.
57514         * csu/version.c: Likewise.
57515         * debug/Makefile: Likewise.
57516         * dlfcn/Makefile: Likewise.
57517         * elf/Makefile: Likewise.
57518         * extra-lib.mk: Likewise.
57519         * iconv/Makefile: Likewise.
57520         * include/libc-symbols.h: Likewise.
57521         * include/shlib-compat.h: Likewise.
57522         * resolv/Makefile: Likewise.
57523         * resolv/res_libc.c: Likewise.
57524         * rt/Makefile: Likewise.
57525         * sysdeps/i386/asm-syntax.h: Likewise.
57526         * sysdeps/i386/sysdep.h: Likewise.
57527         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
57528         * sysdeps/mach/sysdep.h: Likewise.
57529         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
57530         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
57531         * sysdeps/s390/asm-syntax.h: Likewise.
57532         * sysdeps/s390/s390-32/sysdep.h: Likewise.
57533         * sysdeps/s390/s390-64/sysdep.h: Likewise.
57534         * sysdeps/sh/sysdep.h: Likewise.
57535         * sysdeps/unix/sparc/sysdep.h: Likewise.
57536         * sysdeps/wordsize-32/divdi3.c: Likewise.
57537         * sysdeps/x86_64/sysdep.h: Likewise.
57539         * argp/Versions: Remove _argp_unlock_xxx.
57541         [BZ #13559]
57542         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
57543         * abilist/libBrokenLocale.abilist: Likewise.
57544         * abilist/libanl.abilist: Likewise.
57545         * abilist/libc.abilist: Likewise.
57546         * abilist/libcrypt.abilist: Likewise.
57547         * abilist/libdl.abilist: Likewise.
57548         * abilist/libm.abilist: Likewise.
57549         * abilist/libnsl.abilist: Likewise.
57550         * abilist/libpthread.abilist: Likewise.
57551         * abilist/libresolv.abilist: Likewise.
57552         * abilist/librt.abilist: Likewise.
57553         * abilist/libthread_db.abilist: Likewise.
57554         * abilist/libutil.abilist: Likewise.
57555         * abilist/libnss_db.abilist: New file.
57557         * scripts/abilist.awk: Add support for indirect functions.
57559         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
57561         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
57563         * shlib-versions: Remove entries for ports architectures.
57565         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
57566         files in ports.
57567         * elf/stackguard-macros.h: Remove support for IA-64.
57568         * elf/tst-auditmod1.c: Likewise.
57569         * sysdeps/generic/ldsodefs.h: Likewise.
57571         * sysdeps/unix/sysv/linux/configure.in: Ports should define
57572         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
57573         configure files.
57575         [BZ #13552]
57576         * configure.in: Remove --enable-omitfp support.
57577         * FAQ.in: Adjust.
57578         * config.make.in: Likewise.
57579         * Makeconfig: Likewise.
57580         * manual/install.texi: Likewise.
57582         In case anyone cares, the IA-64 architecture could move to ports.
57583         * sysdeps/ia64/*: Removed.
57584         * sysdeps/unix/sysv/linux/ia64/*: Removed.
57585         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
57587         [BZ #13555]
57588         * configure.in: Remove entries for unsupported architectures.
57590         [BZ #13533]
57591         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
57592         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
57593         routines.
57594         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
57595         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
57596         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
57597         fall back to using wcrtomb.
57598         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
57599         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
57600         renaming.
57601         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
57602         * wcsmbs/tst-c16c32-1.c: New file.
57604         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
57605         local variable.
57607         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
57609         * elf/tst-unique3.cc: Add explicit declaration of gets.
57610         * elf/tst-unique3lib.cc: Likewise.
57611         * elf/tst-unique3lib2.cc: Likewise.
57612         * elf/tst-unique4.cc: Likewise.
57614         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
57616 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
57618         [BZ #13566]
57619         * assert/assert.h (static_assert): Don't define for C++.
57620         * libio/stdio.h (gets): Do declare for C++ <= C++11.
57621         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
57623 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
57625         * iconv/loop.c (single loop): Fix assertion in storing of
57626         remaining bytes.
57628         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
57630 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
57632         * posix/getconf.c: Update copyright year.
57633         * nss/getent.c: Likewise.
57634         * nss/makedb.c: Likewise.
57635         * iconv/iconvconfig.c: Likewise.
57636         * iconv/iconv_prog.c: Likewise.
57637         * elf/ldconfig.c: Likewise.
57638         * elf/pldd.c: Likewise.
57639         * elf/sotruss.ksh: Likewise.
57640         * catgets/gencat.c: Likewise.
57641         * csu/version.c: Likewise.
57642         * elf/ldd.bash.in: Likewise.
57643         * elf/sprof.c (print_version): Likewise.
57644         * locale/programs/locale.c: Likewise.
57645         * locale/programs/localedef.c: Likewise.
57646         * login/programs/pt_chown.c: Likewise.
57647         * nscd/nscd.c (print_version): Likewise.
57648         * debug/xtrace.sh: Likewise.
57649         * malloc/memusage.sh: Likewise.
57650         * malloc/mtrace.pl: Likewise.
57651         * debug/catchsegv.sh: Likewise.
57653 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
57655         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
57656         pure attribute.
57658 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
57660         [BZ #13533]
57661         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
57662         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
57663         transformations.
57664         * iconv/gconv_int.h: Likewise.
57665         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
57666         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
57667         from libc for GLIBC_2.16.
57668         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
57669         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
57670         * wcsmbs/uchar.h: Really define mbstate_t.
57671         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
57672         * wcsmbs/c16rtomb.c: New file.
57673         * wcsmbs/mbrtoc16.c: New file.
57674         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
57675         for C/POSIX locale.
57676         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
57677         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
57679         * wcsmbs/wchar.h: Add missing __restrict.
57681 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
57683         [BZ #13532]
57684         * time/Makefile (routines): Add timespec_get.
57685         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
57686         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
57687         timespec for ISO C11.
57688         * time/timespec_get.c: New file.
57689         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
57690         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
57692         [BZ #13531]
57693         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
57694         * stdlib/stdlib.h: Declare aligned_alloc.
57695         * Versions.def: Add GLIBC_2.16 for libc.
57696         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
57698         [BZ 13527]
57699         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
57700         ISO C11.
57702         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
57703         code.
57705         [BZ #13528]
57706         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
57708         [BZ #13529]
57709         * assert/assert.h (static_assert): Define.
57711         * version.h: Update for 2.16 development version.
57713         [BZ #13526]
57714         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
57715         _ISOC11_SOURCE.
57717         * version.h (RELEASE): Bump for 2.15 release.
57718         * include/features.h (__GLIBC_MINOR__): Bump to 15.
57720         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
57721         Patch by Marek Polacek <mpolacek@redhat.com>.
57723         * bits/byteswap.h: Protect long long constants with __extension__.
57724         * sysdeps/i386/bits/byteswap.h: Likewise.
57725         * sysdeps/ia64/bits/byteswap.h: Likewise.
57726         * sysdeps/s390/bits/byteswap.h: Likewise.
57727         * sysdeps/x86_64/bits/byteswap.h: Likewise.
57729 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57731         [BZ #13540]
57732         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
57733         destination buffer.
57734         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
57736 2011-12-23  Marek Polacek  <polacek@redhat.com>
57738         * elf/dl-addr.c (determine_info): Add inline keyword.
57739         * elf/tst-auditmod4b.c (check_avx): Likewise.
57740         * elf/tst-auditmod6b.c (check_avx): Likewise.
57741         * elf/tst-auditmod6c.c (check_avx): Likewise.
57742         * elf/tst-auditmod7b.c (check_avx): Likewise.
57744 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
57746         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
57747         !__SSE_MATH__.
57749 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57751         [BZ #13540]
57752         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
57753         processing for last bytes.
57755 2011-08-06  Bruno Haible  <bruno@clisp.org>
57757         [BZ #13061]
57758         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
57759         U+0385, not to U+1FEE.
57761         [BZ #13062]
57762         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
57763         entry for U+00A5 U+0301.
57765 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
57767         [BZ #13166]
57768         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
57769         buffer for the output is too small.
57771         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
57772         optimization.
57774         [BZ #13185]
57775         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
57776         SSE flags if possible.
57778 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57780         [BZ #13540]
57781         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
57782         processing for last bytes.
57784 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
57786         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
57787         (syscall-list-default-options, syscall-list-default-condition)
57788         (syscall-list-includes): Define.
57789         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
57790         list of ABIs and options and #if conditions for each ABI.  Do not
57791         handle common syscalls between ABIs specially.
57792         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
57793         Remove.
57794         (syscall-list-variants, syscall-list-32bit-options)
57795         (syscall-list-32bit-condition, syscall-list-64bit-options)
57796         (syscall-list-64bit-condition): Define.
57797         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
57798         (syscall-list-variants, syscall-list-32bit-options)
57799         (syscall-list-32bit-condition, syscall-list-64bit-options)
57800         (syscall-list-64bit-condition): Define.
57801         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
57802         Remove.
57803         (syscall-list-variants, syscall-list-32bit-options)
57804         (syscall-list-32bit-condition, syscall-list-64bit-options)
57805         (syscall-list-64bit-condition): Define.
57806         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
57807         Remove.
57808         (syscall-list-variants, syscall-list-32bit-options)
57809         (syscall-list-32bit-condition, syscall-list-64bit-options)
57810         (syscall-list-64bit-condition): Define.
57812 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
57814         * locale/iso-639.def: Add brx entry.
57816         [BZ #13328]
57817         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
57818         Proposed by Mariusz_Cukr <marcukr@op.pl>.
57820         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
57821         __feraiseexcept_renamed.
57823 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
57825         [BZ #13538]
57826         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
57827         EPOLLET with unsigned values.
57828         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57829         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
57831         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
57832         to large cancellation.
57833         * math/s_cacoshf.c: Likewise.
57834         * math/s_cacoshl.c: Likewise.
57836 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
57838         [BZ #13305]
57839         [BZ #12786]
57840         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
57841         * math/s_cacoshf.c: Likewise.
57842         * math/s_cacoshl.c: Likewise.
57844 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
57846         [BZ #13439]
57847         * iconv/gconv.h: Define __GCONV_SWAP.
57848         * iconvdata/unicode.c: The swap bit must be stored in __flags.
57849         * iconvdata/utf-16.c: Likewise.
57850         * iconvdata/utf-32.c: Likewise.
57852 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
57854         [BZ #13524]
57855         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
57856         numerator after shifting it by one limb.
57858 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
57860         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
57861         under [__USE_EXTERN_INLINES].
57863 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
57865         [BZ #13446]
57866         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
57868 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57870         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
57871         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
57872         optimized code.
57873         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
57874         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
57875         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
57876         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
57877         for strncasecmp/strncasecmp_l compilation.
57878         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
57879         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
57881 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
57883         [BZ #13484]
57884         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
57885         of __asm__.
57887 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
57889         [BZ #13506]
57890         * time/tzfile.c (__tzfile_read): Check values from file header.
57892 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
57894         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
57895         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
57896         * powerpc/powerpc32/dl-start.S: Likewise.
57897         * powerpc/powerpc32/elf/start.S: Likewise.
57898         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
57899         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
57900         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
57901         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
57902         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
57903         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
57904         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
57905         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
57906         * powerpc/powerpc32/fpu/s_round.S: Likewise.
57907         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
57908         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
57909         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
57910         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
57911         * powerpc/powerpc32/memset.S: Likewise.
57912         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
57913         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
57914         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
57915         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
57916         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
57917         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
57918         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
57919         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
57920         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
57921         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
57922         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
57923         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
57924         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
57926 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57928         * math/libm-test.inc: Added more nearbyint tests.
57929         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
57930         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
57931         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
57932         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
57934 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
57936         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
57937         FD_CLOEXEC.
57939 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57941         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
57942         Add wcscpy-ssse3 wcscpy-c.
57943         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
57944         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
57945         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
57946         * sysdeps/x86_64/wcschr.S: New file.
57947         * sysdeps/x86_64/wcsrchr.S: New file.
57948         * string/test-strcmp.c: Remove checking of wcscmp function for
57949         wrong alignments.
57950         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
57951         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
57952         wcsrchr-sse2 wcsrchr-c.
57953         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
57954         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
57955         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
57956         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
57957         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
57958         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
57959         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
57960         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
57961         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
57962         * wcsmbc/wcschr.c (WCSCHR): New macro.
57964 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57966         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
57967         * wcsmbs/test-wcsrchr.c: New file.
57968         * string/test-strrchr.c: Add wcsrchr support.
57969         (WIDE): New macro.
57970         * wcsmbs/test-wcscpy.c: New file.
57971         * string/test-strcpy.c: Add wcscpy support.
57972         (WIDE): New macro.
57974 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
57976         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
57977         the inner loop.
57979 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
57981         [BZ #13472]
57982         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
57984 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
57986         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
57987         Minor optimizations.
57989         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
57990         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
57991         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
57993 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
57995         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
57996         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
57997         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
57998         for gcc to avoid warnings.
57999         * inet/Makefile (tests): Add tst-checks.
58000         * inet/tst-checks.c: New file.
58002         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
58003         warning.
58005         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
58006         __wmemcmp_sse2.
58008         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
58009         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
58011         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
58013 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
58015         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
58016         problem.
58018         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
58020 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
58022         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
58023         conditional on GCC version.
58024         (__arch_compare_and_exchange_val_8_acq)
58025         (__arch_compare_and_exchange_val_16_acq)
58026         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
58027         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
58028         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
58030 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
58032         * sysdeps/sh/backtrace.c: New file.
58034 2011-12-02  Andreas Schwab  <schwab@redhat.com>
58036         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
58037         parenthesis.
58039 2011-12-01  Andreas Schwab  <schwab@redhat.com>
58041         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
58042         falling back to utime.
58044 2011-11-30  Andreas Schwab  <schwab@redhat.com>
58046         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
58047         expectations for float.
58049 2011-11-29  Andreas Schwab  <schwab@redhat.com>
58051         * locale/weight.h (findidx): Add parameter len.
58052         * locale/weightwc.h (findidx): Likewise.
58053         * posix/fnmatch_loop.c (FCT): Adjust caller.
58054         * posix/regcomp.c (build_equiv_class): Likewise.
58055         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
58056         * posix/regexec.c (check_node_accept_bytes): Likewise.
58057         * string/strcoll_l.c (STRCOLL): Likewise.
58058         * string/strxfrm_l.c (STRXFRM): Likewise.
58060 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
58062         * Makefile.in: Remove CVSOPT handling.
58063         * configure.in: Remove use of AC_REVISION.
58064         * iconvdata/Makefile (distribute): No need to filter out CVS.
58065         * scripts/list-sources.sh: Remove CVS, subversion and monotone
58066         handling.
58068 2011-11-16  Andreas Schwab  <schwab@redhat.com>
58070         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
58071         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
58072         [USE_AS_STRNCASECMP_L]: Likewise.
58073         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
58074         NO_TLS_DIRECT_SEG_REFS.
58075         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
58076         Fix argument offsets for non-PIC.
58077         [USE_AS_STRNCASECMP_L]: Likewise.
58078         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
58079         NO_TLS_DIRECT_SEG_REFS.
58081 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
58083         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
58084         O_CLOEXEC.
58085         * locale/loadlocale.c (_nl_load_locale): Likewise.
58087 2011-11-15  Andreas Schwab  <schwab@redhat.com>
58089         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
58090         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
58091         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
58092         (SYSCALL_GETTIME): Set errno on error.
58094         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
58095         count references to noai6ai_cached.
58097 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
58099         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
58101         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
58102         FD_CLOEXEC for /proc/self/maps.
58104         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
58105         FD_CLOEXEC for /proc/meminfo.
58107         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
58108         gai.conf.
58110         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
58111         FD_CLOEXEC for given file.
58113         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
58115         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
58116         FD_CLOEXEC for /etc/hosts.
58117         (_gethtent): Likewise.
58119         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
58121         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
58122         cancellation and set FD_CLOEXEC for /etc/netgroup.
58124         * nss/nss_files/files-key.c (search): Don't allow cancellation when
58125         reading /etc/publickey.
58127         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
58128         allow cancellation when reading /etc/group.
58130         * nss/nss_files/files-alias.c (internal_setent): Don't allow
58131         cancellation.
58132         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
58134         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
58135         when using data file.
58137         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
58139         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
58140         (write_nis_obj): Use "c" and "e" in fopen.
58142         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
58144         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
58146         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
58148         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
58150         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
58151         locale.alias.
58153         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
58155         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
58157         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
58159         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
58160         file parsing and set FD_CLOEXEC.
58162 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
58164         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
58166 2011-11-14  Andreas Schwab  <schwab@redhat.com>
58168         * malloc/arena.c (arena_get2): Don't call reused_arena when
58169         _int_new_arena failed.
58171 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
58173         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
58174         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
58175         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
58176         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
58177         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
58178         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
58179         to compile strcasecmp and strncasecmp.
58180         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
58181         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
58183         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
58185 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
58187         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
58188         locale-defines.sym to gen-as-const-headers.
58189         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
58190         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
58191         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
58192         to compile strcasecmp and strncasecmp.
58193         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
58194         strcasecmp_l and strncasecmp_l.
58195         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
58196         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
58197         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
58198         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
58199         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
58200         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
58201         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
58202         * sysdeps/i386/i686/multiarch/strncase.S: New file.
58203         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
58204         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
58205         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
58207 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
58209         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
58210         result of SYSDEP_GETTIME_CPU to retval.
58211         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
58212         parameter list to macro.  Remove trailing semicolon.  Adjust users.
58214         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
58215         variable.
58217         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
58218         mantissa words.
58219         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
58221         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
58222         from unused variable.
58224         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
58225         DWARF definitions.
58226         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
58227         for assembling.
58229         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
58230         over namespaces.
58232         * sunrpc/rpc_prot.c (rejected): Fix case value.
58234         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
58235         unsigned long long int to avoid warnings in shift.
58237         * posix/regex_internal.c (re_string_reconstruct): Actually use result
58238         of use of trans.
58239         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
58240         variable tmp.
58242         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
58243         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
58244         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
58246         * nis/nis_table.c (nis_list): Use variable of correct type for
58247         result of __follow_path call.
58249 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58251         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
58252         of math functions ceil, trunc, floor, round, and sqrt, when
58253         avaliable on the platform.
58254         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
58255         name clash.
58256         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
58257         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
58258         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
58260 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
58262         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
58263         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
58265 2011-11-11  Roland McGrath  <roland@hack.frob.com>
58267         * include/unistd.h: Fix __readlink return type.
58268         Reported by Chris Metcalf <cmetcalf@tilera.com>.
58270 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
58272         * stdlib/ucontext.h: Undo last change for makecontext.
58274 2011-11-11  Andreas Schwab  <schwab@redhat.com>
58276         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
58278         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
58279         * setjmp/setjmp.h: Mark functions as non-leaf.
58280         * setjmp/bits/setjmp2.h: Likewise.
58281         * stdlib/ucontext.h: Likewise.
58283 2011-11-10  Andreas Schwab  <schwab@redhat.com>
58285         * malloc/arena.c (_int_new_arena): Don't increment narenas.
58286         (reused_arena): Don't check arena limit.
58287         (arena_get2): Atomically check arena limit.
58289 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
58291         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
58292         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
58294         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
58295         instructions.
58297 2011-11-07  Andreas Schwab  <schwab@redhat.com>
58299         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
58300         handler when locking.
58302         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
58303         Fix size of allocated buffer.
58305 2011-11-04  Andreas Schwab  <schwab@redhat.com>
58307         [BZ #10103]
58308         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
58309         declarations for long double functions.
58310         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
58312         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
58314 2011-11-03  Andreas Schwab  <schwab@redhat.com>
58316         * nscd/nscd.c (main): Don't start AVC thread until credentials are
58317         installed.
58319         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
58320         is disabled.
58322 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58324         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
58326 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
58328         * include/alloca.h (stackinfo_alloca_round): Define.
58329         (extend_alloca): Use it.
58330         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
58331         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
58332         here.
58334         * scripts/check-local-headers.sh: Ignore libaudit.h.
58336         * nscd/Makefile (extra-objs): Make recursively expanded.
58338 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
58340         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
58341         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
58343         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
58344         * posix/tst-rfc3484-2.c: Likewise.
58345         * posix/tst-rfc3484-3.c: Likewise.
58347         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
58348         process_vm_writev.
58349         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
58350         process_vm_writev.
58351         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
58352         process_vm_writev from libc using GLIBC_2.15 version.
58354         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
58356 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
58358         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
58359         stack usage.
58361 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
58363         [BZ #13367]
58364         * nss/getent.c (initgroups_keys): Show error message in case no group
58365         names are given.
58367         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
58368         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
58369         __bump_nl_timestamp.
58370         * nscd/connections (nscd_init): When host database is served open
58371         netlink socket and request notification about configuration changes.
58372         (main_loop_poll): Track netlink file descriptor and bump timestamp
58373         in case data becomes available.
58374         (main_loop_epoll): Likewise.
58375         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
58376         (database_pers_head): Add extra_data fileds.
58377         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
58378         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
58379         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
58380         Adjust caller.
58381         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
58382         in6ai data, call __free_in6ai.
58383         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
58384         Add -DHAVE_NETLINK.
58385         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
58386         interface information.  Reuse previous data if netlink timestamp
58387         is not changed.
58388         (__bump_nl_timestamp): New function.
58389         (__free_in6ai): New function.
58391 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
58393         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
58394         close_not_cancel_no_status here.
58395         (__check_pf): Reorganize code a bit to not call close twice if OOM.
58397 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
58399         [BZ #13276]
58400         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
58401         return value.
58403         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
58404         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
58405         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
58407 2011-07-03  Andreas Jaeger  <aj@suse.de>
58409         [BZ #10709]
58410         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
58411         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
58412         * math/libm-test.inc (sin_test): Add test case.
58414 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
58416         [BZ #13337]
58417         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
58418         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
58420         * elf/chroot_canon.c (chroot_canon): Cleanups.
58422         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
58424         [BZ #13335]
58425         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
58426         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
58428         * string/test-strchr.c: Make usable for strchrnul testing.
58429         * string/test-strchrnul.c: New file.
58430         * string/Makefile (strop-tests): Add strchrnul.
58432         * po/it.po: Update from translation team.
58433         * po/es.po: Likewise.
58435 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
58437         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
58438         the three constants needed as parameters.  Drop the others.
58439         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
58440         __m128i_strloadu_tolower.
58441         Create and initialize variable zero and use it in all the places
58442         where _mm_setzero_si128 was used.
58444         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
58445         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
58446         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
58447         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
58448         anymore.
58449         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
58450         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
58451         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
58452         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
58453         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
58454         __mpranred, __mptan.
58455         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
58456         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
58457         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
58458         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
58459         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
58460         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
58461         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
58462         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
58463         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
58465 2011-10-28  Andreas Schwab  <schwab@redhat.com>
58467         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
58468         redefine if SHARED.
58469         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
58471         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
58472         wide char related routines to wcsmbs subdir.
58474 2011-10-27  Andreas Schwab  <schwab@redhat.com>
58476         [BZ #13344]
58477         * misc/sys/cdefs.h (__THROWNL): Define.
58478         * posix/unistd.h: Use __THREADNL instead of __THREAD
58479         for memory synchronization functions.
58481 2011-10-26  Roland McGrath  <roland@hack.frob.com>
58483         [BZ #13349]
58484         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
58485         doesn't exist.
58486         * manual/stdio.texi (Obstack Streams): Node removed.
58488 2011-10-26  Andreas Schwab  <schwab@redhat.com>
58490         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
58491         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
58492         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
58494         * math/math_private.h (math_force_eval): Allow non-addressable
58495         arguments.
58496         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
58498 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
58500         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
58501         file is not needed.
58503         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
58504         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
58505         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
58506         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
58507         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
58508         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
58509         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
58510         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
58511         Add AVX variants.
58512         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
58513         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
58514         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
58515         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
58516         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
58517         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
58518         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
58519         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
58520         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
58521         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
58522         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
58523         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
58524         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
58525         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
58526         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
58527         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
58528         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
58529         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
58530         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
58532         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
58533         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
58535         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
58536         place.  Use VEX encoding when compiling for AVX.
58538 2011-10-25  Andreas Schwab  <schwab@redhat.com>
58540         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
58541         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
58543         * string/test-strchr.c (do_test): Don't generate NUL bytes.
58545 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
58547         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
58548         useless if() expression.
58549         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
58550         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
58551         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
58552         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58553         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
58554         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
58555         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
58556         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
58557         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
58558         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
58559         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
58560         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
58561         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
58562         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
58563         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
58564         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
58565         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
58566         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
58567         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
58569         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
58571 2011-10-25  Andreas Schwab  <schwab@redhat.com>
58573         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
58574         condition.
58575         * elf/dl-fini.c (_dl_sort_fini): Likewise.
58577 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
58579         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
58580         .text section.  Avoid duplicate constants.
58581         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
58582         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58583         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
58584         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58585         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58586         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58587         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58588         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58589         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
58590         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
58591         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
58592         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
58593         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
58594         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
58595         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
58596         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
58597         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
58598         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
58599         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
58600         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58601         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
58602         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
58603         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
58604         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
58605         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
58606         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
58607         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
58608         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
58609         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
58610         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
58611         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
58612         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
58613         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
58614         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
58615         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
58616         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
58617         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
58618         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
58619         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
58620         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
58621         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
58622         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
58623         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
58624         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
58625         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
58627 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
58629         * sysdeps/x86_64/dla.h: Move to ...
58630         * sysdeps/x86_64/fpu/dla.h: ...here.
58631         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
58632         situations.  Use __builtin_fma only for gcc 4.6 and up.
58634         * config.make.in: Add have-mfma4 entry.
58635         * configure.in: Substitute libc_cv_cc_fma4.
58636         * math/Makefile (dbl-only-routines): Add sincostab.
58637         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
58638         Use __sincostab not sincos.
58639         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
58640         name is a macro.
58641         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58642         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58643         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58644         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
58645         using __copysign.
58646         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
58647         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
58648         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
58649         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
58650         and __inv.
58651         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
58652         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
58653         __copysign.
58654         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
58655         define aliases when function name is a macro.
58656         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
58657         sysdeps/ieee754/dbl-64/sincos.tbl.
58658         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
58659         fma4-enabled routines.
58660         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
58661         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
58662         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
58663         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
58664         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
58665         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
58666         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
58667         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
58668         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
58669         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
58670         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
58671         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
58672         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
58673         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
58674         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
58675         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
58676         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
58677         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
58678         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
58679         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
58680         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
58681         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
58682         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
58683         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
58684         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
58685         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
58686         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
58687         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
58688         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
58689         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
58691         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
58692         rename.
58693         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58694         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58695         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58696         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58697         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58698         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58699         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58700         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58702 2011-10-24  Andreas Schwab  <schwab@redhat.com>
58704         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
58706 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58708         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
58710         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
58711         prediction.
58712         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
58714         * string/strnlen.c: Don't define STRNLEN, reverse logic.
58715         Remove unused variable magic_bits.
58716         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
58718         * string/strnlen.c: Define and use STRNLEN macro.
58719         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
58720         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
58721         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
58722         * wcsmbs/wcslen.c: Define and use WCSLEN.
58723         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
58724         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
58725         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
58726         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
58727         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
58728         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
58729         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
58731 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58733         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58734         strnlen-sse2-no-bsf.
58735         Rename strlen-no-bsf to strlen-sse2-no-bsf.
58736         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
58737         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
58738         Add strnlen support.
58739         (USE_AS_STRNLEN): New macro.
58740         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
58741         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
58742         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
58743         * sysdeps/x86_64/wcslen.S: New file.
58745 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
58747         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
58748         XMM-moves are used for copying on small sizes.
58750 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58752         * wcsmbs/Makefile (strop-tests): Add wcschr.
58753         * wcsmbs/test-wcschr.c: New file.
58754         * string/test-strchr.c: Update.
58755         Add wcschr support.
58756         (WIDE): New macro.
58758 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58760         * wcsmbs/Makefile (strop-tests): Add wcslen.
58761         * wcsmbs/test-wcslen.c: New file.
58762         * string/test-strlen.c: Update.
58763         Add wcslen support.
58764         (WIDE): New macro.
58766 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58768         * po/it.po: Update from translation team.
58770 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58772         * sysdeps/x86_64/wcscmp.S: Update.
58773         Fix wrong comparison semantics.
58774         wcscmp shall use signed comparison not unsigned.
58775         Don't use substraction to avoid overflow bug.
58776         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
58777         * wcsmbc/wcscmp.c: Likewise.
58778         * string/test-strcmp.c: Likewise.
58779         Add new tests to check cases with negative values.
58781 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58783         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
58784         * sysdeps/x86_64/dla.h: ...here.  New file.
58785         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
58786         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58787         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58788         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58789         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58790         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58791         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58792         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58793         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58795 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
58797         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
58798         __ynl_finite aliases.
58800 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
58802         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58804         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
58805         define DLA_FMA.
58806         [DLA_FMA] (EMULV): Use DLA_FMA.
58807         [DLA_FMA] (MUL12): Use EMULV.
58808         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
58809         that are not needed.
58810         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58811         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58812         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58813         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58814         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58815         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58816         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58818 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
58820         * math/s_nan.c: Undef __nan.
58821         * math/s_nanf.c: Undef __nanf.
58822         * math/s_nanl.c: Undef __nanl.
58823         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
58824         "math_private.h".
58826 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
58828         * math/s_catan.c: Add branch predictions.
58829         * math/s_catanf.c: Likewise.
58830         * math/s_catanh.c: Likewise.
58831         * math/s_catanhf.c: Likewise.
58832         * math/s_catanhl.c: Likewise.
58833         * math/s_catanl.c: Likewise.
58834         * math/s_cexp.c: Likewise.
58835         * math/s_cexpf.c: Likewise.
58836         * math/s_cexpl.c: Likewise.
58837         * math/s_clog.c: Likewise.
58838         * math/s_clog10.c: Likewise.
58839         * math/s_clog10f.c: Likewise.
58840         * math/s_clog10l.c: Likewise.
58841         * math/s_clogf.c: Likewise.
58842         * math/s_clogl.c: Likewise.
58843         * math/s_csqrt.c: Likewise.
58844         * math/s_csqrtf.c: Likewise.
58845         * math/s_csqrtl.c: Likewise.
58846         * math/s_ctanf.c: Likewise.
58847         * math/s_ctanh.c: Likewise.
58848         * math/s_ctanhf.c: Likewise.
58849         * math/s_ctanhl.c: Likewise.
58850         * math/s_ctanl.c: Likewise.
58852         * math/math_private.h: Define __nan, __nanf, __nanl.
58853         * math/s_cacosh.c: Include <math_private.h>.
58854         * math/s_cacoshl.c: Likewise.
58855         * math/s_casinh.c: Likewise.
58856         * math/s_casinhf.c: Likewise.
58857         * math/s_casinhl.c: Likewise.
58858         * math/s_ccos.c: Rely entire on ccosh.
58859         * math/s_ccosf.c: Rely entire on ccoshf.
58860         * math/s_ccosl.c: Rely entirely on ccoshl.
58861         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
58862         Remove tests for FE_INVALID.
58863         * math/s_ccoshf.c: Likewise.
58864         * math/s_ccoshl.c: Likewise.
58865         * math/s_csin.c: Likewise.
58866         * math/s_csinf.c: Likewise.
58867         * math/s_csinh.c Likewise.
58868         * math/s_csinhf.c: Likewise.
58869         * math/s_csinhl.c: Likewise.
58870         * math/s_csinl.c: Likewise.
58871         * math/s_ctan.c: Likewise.
58872         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
58873         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
58874         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
58876 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
58878         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
58879         compilation problems.
58881         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
58882         __builtin_expect.
58884 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
58886         * sysdeps/i386/configure.in: Test for -mfma4 option.
58887         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
58888         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
58889         COMMON_CPUID_INDEX_80000001.
58890         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
58891         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
58892         use it if FMA3 is not supported.
58893         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
58895         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
58896         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
58898 2011-10-20  Andreas Schwab  <schwab@redhat.com>
58900         [BZ #12892]
58901         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
58902         it would create a cycle with a link time dependency.
58904 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
58906         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
58907         instruction.
58908         * string/Makefile (strop-tests): Add rawmemchr.
58909         * string/test-rawmemchr.c: New file.
58911         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
58912         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
58913         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
58914         when compiling str{,n}casecmp and when AVX is available.  Hook up
58915         new optimized code in initializers.
58917 2011-10-19  Andreas Schwab  <schwab@redhat.com>
58919         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
58920         __feraiseexcept instead of feraiseexcept.
58922 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
58924         * math/math_private.h: Define defaults for libc_fetestexcept and
58925         libc_feupdateenv.
58926         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
58927         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
58928         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
58929         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
58930         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
58931         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
58932         libc_fetestexcept and libc_feupdateenv.
58934         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
58935         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
58936         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
58937         * sysdeps/x86_64/fpu/math_private.h: Define special version of
58938         libc_feholdexcept_setround.
58940         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
58941         Add s_nearbyint-c and s_nearbyintf-c.
58942         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
58943         nearbyintf inlines.
58944         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
58945         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
58946         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
58947         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
58949         * math/math_private.h: Define defaults for libc_fegetround,
58950         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
58951         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
58952         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
58953         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
58954         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
58955         standard functions.
58956         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
58957         Remove comments and hacks for old compiler versions.
58958         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
58959         libc_fegetround, libc_fesetround, libc_feholdexcept, and
58960         libc_feholdexceptl.
58962 2011-10-18  Andreas Schwab  <schwab@redhat.com>
58964         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
58965         (__feraiseexcept_renamed): Add __NTH.
58966         (feraiseexcept): Add __NTH.  Rename local variables to fix
58967         namespace violations.
58969 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
58971         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
58973         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
58975         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
58976         recently added interfaces.
58977         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
58979         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
58980         about macro parameter expansion.
58982         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
58983         __NO_MATH_INLINES is defined.  Cleanups.
58985         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
58986         and __floorf is target has SSE4.1.
58987         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
58988         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
58989         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
58990         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
58992         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
58993         name.
58994         (floorf): Likewise.
58996         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
58998 2011-10-17  Andreas Schwab  <schwab@redhat.com>
59000         * misc/sys/cdefs.h: Fix last change.
59002         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
59003         database lookup.
59005 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
59007         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
59009         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
59010         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
59011         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
59012         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
59013         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
59014         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
59015         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
59016         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
59017         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
59018         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
59019         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
59020         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
59021         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
59022         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
59023         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
59024         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
59025         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
59026         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
59027         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
59028         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
59029         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
59030         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
59032         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
59033         ceil, ceilf, floor, floorf.
59035         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
59036         Perform IRELATIVE relocations last.
59038         * elf/do-rel.h: Add another parameter nrelative, replacing the
59039         local variable with the same name.  Change name of the function
59040         to end in Rel or Rela (uppercase).
59041         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
59042         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
59043         elf_dynamic_do_##reloc function.
59045 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
59047         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
59048         is sufficient, at least on modern CPUs.
59050         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
59052         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
59053         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
59055         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
59056         __expl_finite.
59057         * math/bits/math-finite.h: Add entries for exp.
59058         * math/e_expl.c: Add __*_finite alias.
59059         * sysdeps/i386/fpu/e_exp.S: Likewise.
59060         * sysdeps/i386/fpu/e_expf.S: Likewise.
59061         * sysdeps/i386/fpu/e_expl.c: Likewise.
59062         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59063         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
59064         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
59065         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
59066         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
59067         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
59068         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
59070         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
59071         is sufficient, at least on modern CPUs.
59073         * ctype/ctype-info.c (__ctype_init): Define.
59074         * include/ctype.h (__ctype_init): Declare.
59075         (__ctype_b_loc): The variable is always initialized.
59076         (__ctype_toupper_loc): Likewise.
59077         (__ctype_tolower_loc): Likewise.
59078         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
59079         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
59081 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
59083         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
59085         * configure.in: Also look in $cxxmachine/include for C++ system
59086         headers.
59088 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59090         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
59091         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
59092         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
59093         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
59094         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
59095         (USE_AS_WMEMCMP): New macro.
59096         Fixing indents.
59097         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
59098         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
59099         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
59100         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
59101         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59102         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
59103         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
59104         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
59105         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
59106         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
59107         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
59108         (USE_AS_WMEMCMP): New macro.
59109         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
59110         * sysdeps/string/test-memcmp.c: Update.
59111         Fix simple_wmemcmp.
59112         Add new tests.
59113         * wcsmbs/wmemcmp.c: Update.
59114         (WMEMCMP): New macro.
59115         Fix overflow bug.
59117 2011-10-12  Andreas Jaeger  <aj@suse.de>
59119         [BZ #13268]
59120         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
59122 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
59124         * libio/iofwide.c (do_length): Avoid warning.
59126         * ctype/ctype.h (__isctype_f): Add missing __THROW.
59128 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
59130         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
59132         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
59133         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
59134         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
59135         * sysdeps/i386/i686/fpu/e_log.S: New file.
59136         * sysdeps/i386/i686/fpu/e_logf.S: New file.
59137         * sysdeps/i386/i686/fpu/e_logl.S: New file.
59139         * ctype/ctype.h: Add support for inlined isXXX functions when
59140         compiling C++ code.
59142 2011-10-14  Andreas Schwab  <schwab@redhat.com>
59144         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59146         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
59148 2011-10-13  Roland McGrath  <roland@hack.frob.com>
59150         [BZ #13291]
59151         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
59153 2011-10-13  Andreas Schwab  <schwab@redhat.com>
59155         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
59156         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
59157         feraiseexcept.
59159         * sysdeps/x86_64/memrchr.S: Check for zero size.
59161         * string/stratcliff.c: Add memrchr tests.
59163 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59165         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59166         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
59167         rawmemchr-sse2 rawmemchr-sse2-bsf.
59168         * sysdeps/i386/i686/multiarch/memchr.S: New file.
59169         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
59170         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
59171         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
59172         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
59173         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
59174         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
59175         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
59176         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
59177         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
59178         * string/memrchr.c (MEMRCHR): New macro.
59180 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
59182         Add integration with gcc's -ffinite-math-only and optimize wrapper
59183         functions in libm.
59184         * Versions.def: Define GLIBC_2.15 version for libm.
59185         * math/Makefile (headers): Add bits/math-finite.h.
59186         * math/bits/math-finite.h: New file.
59187         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
59188         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
59189         * math/e_acoshl.c: Add __*_finite alias.
59190         * math/e_acosl.c: Likewise.
59191         * math/e_asinl.c: Likewise.
59192         * math/e_atan2l.c: Likewise.
59193         * math/e_atanhl.c: Likewise.
59194         * math/e_coshl.c: Likewise.
59195         * math/e_exp10.c: Likewise.
59196         * math/e_exp10f.c: Likewise.
59197         * math/e_exp10l.c: Likewise.
59198         * math/e_exp2l.c: Likewise.
59199         * math/e_fmodl.c: Likewise.
59200         * math/e_gammal_r.c: Likewise.
59201         * math/e_hypotl.c: Likewise.
59202         * math/e_j0l.c: Likewise.
59203         * math/e_j1l.c: Likewise.
59204         * math/e_jnl.c: Likewise.
59205         * math/e_lgammal_r.c: Likewise.
59206         * math/e_log10l.c: Likewise.
59207         * math/e_log2l.c: Likewise.
59208         * math/e_logl.c: Likewise.
59209         * math/e_powl.c: Likewise.
59210         * math/e_sinhl.c: Likewise.
59211         * math/e_sqrtl.c: Likewise.
59212         * math/e_scalb.c: Completely rewritten and optimized.
59213         * math/e_scalbf.c: Likewise.
59214         * math/e_scalbl.c: Likewise.
59215         * math/w_acos.c: Likewise.
59216         * math/w_acosf.c: Likewise.
59217         * math/w_acosl.c: Likewise.
59218         * math/w_acosh.c: Likewise.
59219         * math/w_acoshf.c: Likewise.
59220         * math/w_acoshl.c: Likewise.
59221         * math/w_asin.c: Likewise.
59222         * math/w_asinf.c: Likewise.
59223         * math/w_asinl.c: Likewise.
59224         * math/w_atan2.c: Likewise.
59225         * math/w_atan2f.c: Likewise.
59226         * math/w_atan2l.c: Likewise.
59227         * math/w_atanh.c: Likewise.
59228         * math/w_atanhf.c: Likewise.
59229         * math/w_atanhl.c: Likewise.
59230         * math/w_exp10.c: Likewise.
59231         * math/w_exp10f.c: Likewise.
59232         * math/w_exp10l.c: Likewise.
59233         * math/w_fmod.c: Likewise.
59234         * math/w_fmodf.c: Likewise.
59235         * math/w_fmodl.c: Likewise.
59236         * math/w_j0.c: Likewise.
59237         * math/w_j0f.c: Likewise.
59238         * math/w_j0l.c: Likewise.
59239         * math/w_j1.c: Likewise.
59240         * math/w_j1f.c: Likewise.
59241         * math/w_j1l.c: Likewise.
59242         * math/w_jn.c: Likewise.
59243         * math/w_jnf.c: Likewise.
59244         * math/w_log.c: Likewise.
59245         * math/w_logf.c: Likewise.
59246         * math/w_logl.c: Likewise.
59247         * math/w_log10.c: Likewise.
59248         * math/w_log10f.c: Likewise.
59249         * math/w_log10l.c: Likewise.
59250         * math/w_log2.c: Likewise.
59251         * math/w_log2f.c: Likewise.
59252         * math/w_log2l.c: Likewise.
59253         * math/w_pow.c: Likewise.
59254         * math/w_powf.c: Likewise.
59255         * math/w_powl.c: Likewise.
59256         * math/w_remainder.c: Likewise.
59257         * math/w_remainderf.c: Likewise.
59258         * math/w_remainderl.c: Likewise.
59259         * math/w_scalb.c: Likewise.
59260         * math/w_scalbf.c: Likewise.
59261         * math/w_scalbl.c: Likewise.
59262         * math/w_sqrt.c: Likewise.
59263         * math/w_sqrtf.c: Likewise.
59264         * math/w_sqrtl.c: Likewise.
59265         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
59266         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
59267         used.
59268         * math/math_private.h: Declare __kernel_standard_f.
59269         * math/w_cosh.c: Remove cruft and optimize a bit.
59270         * math/w_coshf.c: Likewise.
59271         * math/w_coshl.c: Likewise.
59272         * math/w_exp2.c: Likewise.
59273         * math/w_exp2f.c: Likewise.
59274         * math/w_exp2l.c: Likewise.
59275         * math/w_hypot.c: Likewise.
59276         * math/w_hypotf.c: Likewise.
59277         * math/w_hypotl.c: Likewise.
59278         * math/w_lgamma.c: Likewise.
59279         * math/w_lgamma_r.c: Likewise.
59280         * math/w_lgammaf.c: Likewise.
59281         * math/w_lgammaf_r.c: Likewise.
59282         * math/w_lgammal.c: Likewise.
59283         * math/w_lgammal_r.c: Likewise.
59284         * math/w_sinh.c: Likewise.
59285         * math/w_sinhf.c: Likewise.
59286         * math/w_sinhl.c: Likewise.
59287         * math/w_tgamma.c: Likewise.
59288         * math/w_tgammaf.c: Likewise.
59289         * math/w_tgammal.c: Likewise.
59290         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
59291         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
59292         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
59293         Minor optimizations.  Pretty printing.  Remove cruft.
59294         * sysdeps/i386/fpu/e_acosf.S: Likewise.
59295         * sysdeps/i386/fpu/e_acosh.S: Likewise.
59296         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
59297         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
59298         * sysdeps/i386/fpu/e_acosl.c: Likewise.
59299         * sysdeps/i386/fpu/e_asin.S: Likewise.
59300         * sysdeps/i386/fpu/e_asinf.S: Likewise.
59301         * sysdeps/i386/fpu/e_atan2.S: Likewise.
59302         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
59303         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
59304         * sysdeps/i386/fpu/e_atanh.S: Likewise.
59305         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
59306         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
59307         * sysdeps/i386/fpu/e_exp10.S: Likewise.
59308         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
59309         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
59310         * sysdeps/i386/fpu/e_exp2.S: Likewise.
59311         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
59312         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
59313         * sysdeps/i386/fpu/e_fmod.S: Likewise.
59314         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
59315         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
59316         * sysdeps/i386/fpu/e_hypot.S: Likewise.
59317         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
59318         * sysdeps/i386/fpu/e_log.S: Likewise.
59319         * sysdeps/i386/fpu/e_log10.S: Likewise.
59320         * sysdeps/i386/fpu/e_log10f.S: Likewise.
59321         * sysdeps/i386/fpu/e_log10l.S: Likewise.
59322         * sysdeps/i386/fpu/e_log2.S: Likewise.
59323         * sysdeps/i386/fpu/e_log2f.S: Likewise.
59324         * sysdeps/i386/fpu/e_log2l.S: Likewise.
59325         * sysdeps/i386/fpu/e_logf.S: Likewise.
59326         * sysdeps/i386/fpu/e_logl.S: Likewise.
59327         * sysdeps/i386/fpu/e_pow.S: Likewise.
59328         * sysdeps/i386/fpu/e_powf.S: Likewise.
59329         * sysdeps/i386/fpu/e_powl.S: Likewise.
59330         * sysdeps/i386/fpu/e_remainder.S: Likewise.
59331         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
59332         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
59333         * sysdeps/i386/fpu/e_scalb.S: Likewise.
59334         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
59335         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
59336         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
59337         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
59338         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
59339         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
59340         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
59341         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59342         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
59343         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
59344         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
59345         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
59346         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
59347         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
59348         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
59349         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
59350         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
59351         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59352         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
59353         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
59354         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59355         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
59356         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
59357         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
59358         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59359         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
59360         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
59361         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
59362         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
59363         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
59364         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
59365         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
59366         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
59367         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
59368         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
59369         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
59370         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
59371         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
59372         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
59373         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
59374         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
59375         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
59376         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
59377         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
59378         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
59379         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
59380         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
59381         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
59382         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
59383         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
59384         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
59385         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
59386         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
59387         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
59388         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
59389         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
59390         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
59391         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
59392         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
59393         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
59394         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
59395         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
59396         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
59397         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
59398         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
59399         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
59400         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
59401         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
59402         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
59403         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
59404         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
59405         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
59406         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
59407         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
59408         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
59409         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
59410         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
59411         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
59412         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
59413         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
59414         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
59415         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
59416         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
59417         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
59418         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
59419         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
59420         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
59421         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
59422         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
59423         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
59424         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
59425         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
59426         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
59427         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
59428         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
59429         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
59430         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
59431         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
59432         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
59433         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
59434         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
59435         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
59436         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
59437         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
59438         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
59439         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
59440         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
59441         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
59442         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
59443         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
59444         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
59445         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
59446         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
59447         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
59448         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
59449         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
59450         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
59451         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
59452         (__isnanf): Likewise.
59453         (__isinf_ns): Likewise.
59454         (__isinf_nsf): Likewise.
59455         (__finite): Likewise.
59456         (__finitef): Likewise.
59457         (__ieee754_sqrt): Define as macro.
59458         (__ieee754_sqrtf): Define as macro.
59459         (__ieee754_sqrtl): Define as macro.
59460         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
59461         inlined copy.
59462         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
59463         __FINITE_MATH_ONLY__ consistent.
59464         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
59466 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
59468         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
59469         of rawmemchr.
59471         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
59473 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
59475         * po/ja.po: Update from translation team.
59477 2011-10-08  Roland McGrath  <roland@hack.frob.com>
59479         * locale/programs/locarchive.c (prepare_address_space): New function.
59480         (create_archive, enlarge_archive, open_archive): Use it.
59482         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
59483         inside [SHARED], where it is used.
59485         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
59487         * nss/getent.c (netgroup_keys): Remove unused variable.
59488         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
59490 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
59492         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
59493         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
59494         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
59495         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
59496         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
59497         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
59498         * math/Makefile (libm-calls): Add s_isinf_ns.
59499         * math/divtc3.c: Use __isinf_nsl instead of isinf.
59500         * math/multc3.c: Likewise.
59501         * math/s_casin.c: Likewise.
59502         * math/s_casinf.c: Likewise.
59503         * math/s_casinl.c: Likewise.
59504         * math/s_ccos.c: Likewise.
59505         * math/s_ccosf.c: Likewise.
59506         * math/s_ccosl.c: Likewise.
59507         * math/s_ctan.c: Likewise.
59508         * math/s_ctanf.c: Likewise.
59509         * math/s_ctanh.c: Likewise.
59510         * math/s_ctanhf.c: Likewise.
59511         * math/s_ctanhl.c: Likewise.
59512         * math/s_ctanl.c: Likewise.
59513         * math/w_fmod.c: Likewise.
59514         * math/w_fmodf.c: Likewise.
59515         * math/w_fmodl.c: Likewise.
59516         * math/w_remainder.c: Likewise.
59517         * math/w_remainderf.c: Likewise.
59518         * math/w_remainderl.c: Likewise.
59519         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
59520         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
59521         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
59522         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
59523         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
59524         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
59525         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
59526         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
59528         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
59529         of the number.
59530         * stdio-common/printf_fphex.c: Likewise.
59531         * stdio-common/printf_size.c: Likewise.
59533         * math/e_exp10.c: Include math_private.h using <...> not "...".
59534         * math/e_exp10f.c: Likewise.
59535         * math/e_exp10l.c: Likewise.
59536         * math/e_exp2l.c: Likewise.
59537         * math/e_j0l.c: Likewise.
59538         * math/e_j1l.c: Likewise.
59539         * math/e_jnl.c: Likewise.
59540         * math/e_lgammal_r.c: Likewise.
59541         * math/e_rem_pio2l.c: Likewise.
59542         * math/e_scalb.c: Likewise.
59543         * math/e_scalbf.c: Likewise.
59544         * math/e_scalbl.c: Likewise.
59545         * math/k_cosl.c: Likewise.
59546         * math/k_sinl.c: Likewise.
59547         * math/k_tanl.c: Likewise.
59548         * math/s_cacoshf.c: Likewise.
59549         * math/s_catan.c: Likewise.
59550         * math/s_catanf.c: Likewise.
59551         * math/s_catanh.c: Likewise.
59552         * math/s_catanhf.c: Likewise.
59553         * math/s_catanhl.c: Likewise.
59554         * math/s_catanl.c: Likewise.
59555         * math/s_ccosh.c: Likewise.
59556         * math/s_ccoshf.c: Likewise.
59557         * math/s_ccoshl.c: Likewise.
59558         * math/s_cexp.c: Likewise.
59559         * math/s_cexpf.c: Likewise.
59560         * math/s_cexpl.c: Likewise.
59561         * math/s_clog.c: Likewise.
59562         * math/s_clog10.c: Likewise.
59563         * math/s_clog10f.c: Likewise.
59564         * math/s_clog10l.c: Likewise.
59565         * math/s_clogf.c: Likewise.
59566         * math/s_clogl.c: Likewise.
59567         * math/s_csin.c: Likewise.
59568         * math/s_csinf.c: Likewise.
59569         * math/s_csinh.c: Likewise.
59570         * math/s_csinhf.c: Likewise.
59571         * math/s_csinhl.c: Likewise.
59572         * math/s_csinl.c: Likewise.
59573         * math/s_csqrt.c: Likewise.
59574         * math/s_csqrtf.c: Likewise.
59575         * math/s_csqrtl.c: Likewise.
59576         * math/s_ctan.c: Likewise.
59577         * math/s_ctanf.c: Likewise.
59578         * math/s_ctanh.c: Likewise.
59579         * math/s_ctanhf.c: Likewise.
59580         * math/s_ctanhl.c: Likewise.
59581         * math/s_ctanl.c: Likewise.
59582         * math/s_ldexp.c: Likewise.
59583         * math/s_ldexpf.c: Likewise.
59584         * math/s_ldexpl.c: Likewise.
59585         * math/s_significand.c: Likewise.
59586         * math/s_significandf.c: Likewise.
59587         * math/s_significandl.c: Likewise.
59588         * math/w_acos.c: Likewise.
59589         * math/w_acosf.c: Likewise.
59590         * math/w_acosh.c: Likewise.
59591         * math/w_acoshf.c: Likewise.
59592         * math/w_acoshl.c: Likewise.
59593         * math/w_acosl.c: Likewise.
59594         * math/w_asin.c: Likewise.
59595         * math/w_asinf.c: Likewise.
59596         * math/w_asinl.c: Likewise.
59597         * math/w_atan2.c: Likewise.
59598         * math/w_atan2f.c: Likewise.
59599         * math/w_atan2l.c: Likewise.
59600         * math/w_atanh.c: Likewise.
59601         * math/w_atanhf.c: Likewise.
59602         * math/w_atanhl.c: Likewise.
59603         * math/w_cosh.c: Likewise.
59604         * math/w_coshf.c: Likewise.
59605         * math/w_coshl.c: Likewise.
59606         * math/w_dremf.c: Likewise.
59607         * math/w_exp10.c: Likewise.
59608         * math/w_exp10f.c: Likewise.
59609         * math/w_exp10l.c: Likewise.
59610         * math/w_exp2.c: Likewise.
59611         * math/w_exp2f.c: Likewise.
59612         * math/w_fmod.c: Likewise.
59613         * math/w_fmodf.c: Likewise.
59614         * math/w_fmodl.c: Likewise.
59615         * math/w_hypot.c: Likewise.
59616         * math/w_hypotf.c: Likewise.
59617         * math/w_hypotl.c: Likewise.
59618         * math/w_j0.c: Likewise.
59619         * math/w_j0f.c: Likewise.
59620         * math/w_j0l.c: Likewise.
59621         * math/w_j1.c: Likewise.
59622         * math/w_j1f.c: Likewise.
59623         * math/w_j1l.c: Likewise.
59624         * math/w_jn.c: Likewise.
59625         * math/w_jnf.c: Likewise.
59626         * math/w_jnl.c: Likewise.
59627         * math/w_lgamma.c: Likewise.
59628         * math/w_lgamma_r.c: Likewise.
59629         * math/w_lgammaf.c: Likewise.
59630         * math/w_lgammaf_r.c: Likewise.
59631         * math/w_lgammal.c: Likewise.
59632         * math/w_lgammal_r.c: Likewise.
59633         * math/w_log.c: Likewise.
59634         * math/w_log10.c: Likewise.
59635         * math/w_log10f.c: Likewise.
59636         * math/w_log10l.c: Likewise.
59637         * math/w_log2.c: Likewise.
59638         * math/w_log2f.c: Likewise.
59639         * math/w_log2l.c: Likewise.
59640         * math/w_logf.c: Likewise.
59641         * math/w_logl.c: Likewise.
59642         * math/w_pow.c: Likewise.
59643         * math/w_powf.c: Likewise.
59644         * math/w_powl.c: Likewise.
59645         * math/w_remainder.c: Likewise.
59646         * math/w_remainderf.c: Likewise.
59647         * math/w_remainderl.c: Likewise.
59648         * math/w_scalb.c: Likewise.
59649         * math/w_scalbf.c: Likewise.
59650         * math/w_scalbl.c: Likewise.
59651         * math/w_sinh.c: Likewise.
59652         * math/w_sinhf.c: Likewise.
59653         * math/w_sinhl.c: Likewise.
59654         * math/w_sqrt.c: Likewise.
59655         * math/w_sqrtf.c: Likewise.
59656         * math/w_sqrtl.c: Likewise.
59657         * math/w_tgamma.c: Likewise.
59658         * math/w_tgammaf.c: Likewise.
59659         * math/w_tgammal.c: Likewise.
59661         * po/ja.po: Update from translation team.
59663 2011-09-29  Andreas Jaeger  <aj@suse.de>
59665         [BZ #13179]
59666         * sunrpc/netname.c (netname2host): Fix logic.
59668         [BZ #6779]
59669         [BZ #6783]
59670         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
59671         correctly.
59672         * math/w_remainder.c (__remainder): Likewise.
59673         * math/w_remainderf.c (__remainderf): Likewise.
59674         * math/libm-test.inc (remainder_test): Add test cases.
59676 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59678         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
59679         sdiv_qrnnd.
59681 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
59683         * string/test-memcmp.c: Avoid unncessary #defines.
59684         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
59686 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59688         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
59689         Use new sse2 version for core i3 - i7 as it's faster
59690         than sse42 version.
59691         (bit_Prefer_PMINUB_for_stringop): New.
59692         * sysdeps/x86_64/rawmemchr.S: Update.
59693         Replace with faster SSE2 version.
59694         * sysdeps/x86_64/memrchr.S: New file.
59695         * sysdeps/x86_64/memchr.S: Update.
59696         Replace with faster SSE2 version.
59698 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
59700         * elf/dl-load.c (lose): Add cast to avoid warning.
59702 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
59704         * po/ca.po: Update from translation team.
59706         * inet/getnetgrent_r.c: Hook up nscd.
59707         * nscd/Makefile (routines): Add nscd_netgroup.
59708         (nscd-modules): Add netgroupcache.
59709         (CFLAGS-netgroupcache.c): Define.
59710         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
59711         (cache_search): Add const to second parameter.
59712         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
59713         INNETGR.
59714         (dbs): Add netgrdb entry.
59715         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
59716         (verify_persistent_db): Handle netgrdb.
59717         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
59718         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
59719         GETFDNETGR.
59720         (netgroup_response_header): Define.
59721         (innetgroup_response_header): Define.
59722         (datahead): Add netgroup_response_header and innetgroup_response_header
59723         elements.
59724         * nscd/nscd.conf: Add entries for netgroup cache.
59725         * nscd/nscd.h (dbtype): Add netgrdb.
59726         (_PATH_NSCD_NETGROUP_DB): Define.
59727         (netgroup_iov_disabled): Declare.
59728         (xmalloc, xcalloc, xrealloc): Move declarations here.
59729         (cache_search): Adjust prototype.
59730         Add netgroup-related prototypes.
59731         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
59732         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
59733         (__nscd_innetgr): Declare.
59734         * nscd/selinux.c (perms): Use access_vector_t as element type and
59735         add netgroup-related initializers.
59736         * nscd/netgroupcache.c: New file.
59737         * nscd/nscd_netgroup.c: New file.
59738         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
59739         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
59740         For four parameters use innetgr.
59741         * nss/nss_files/files-init.c: Add definition and callback for netgr.
59742         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
59743         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
59744         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
59746         * nscd/connections.c (register_traced_file): Don't register file
59747         for disabled databases.
59749 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
59751         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
59753         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
59754         from tree and freeing node.
59756 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
59758         * nss/nsswitch.c (__nss_database_lookup): Handle
59759         nss_parse_service_list out of memory case.
59761 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
59763         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
59764         out of memory case.
59766 2011-10-04  Andreas Schwab  <schwab@redhat.com>
59768         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
59769         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
59770         pass it down.
59771         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
59772         elf_machine_rela, elf_machine_lazy_rel.
59773         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
59774         (ELF_DYNAMIC_DO_REL): Likewise.
59775         (ELF_DYNAMIC_DO_RELA): Likewise.
59776         (ELF_DYNAMIC_RELOCATE): Likewise.
59777         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
59778         to ELF_DYNAMIC_DO_REL.
59779         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
59780         (dl_main): In trace mode always set __RTLD_NOIFUNC.
59781         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
59782         elf_machine_rela.
59783         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
59784         skip_ifunc, don't call ifunc function if non-zero.
59785         (elf_machine_rela): Likewise.
59786         (elf_machine_lazy_rel): Likewise.
59787         (elf_machine_lazy_rela): Likewise.
59788         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
59789         (elf_machine_lazy_rel): Likewise.
59790         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
59791         Likewise.
59792         (elf_machine_lazy_rel): Likewise.
59793         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59794         Likewise.
59795         (elf_machine_lazy_rel): Likewise.
59796         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
59797         (elf_machine_lazy_rel): Likewise.
59798         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
59799         (elf_machine_lazy_rel): Likewise.
59800         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
59801         (elf_machine_lazy_rel): Likewise.
59802         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
59803         (elf_machine_lazy_rel): Likewise.
59804         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
59805         (elf_machine_lazy_rel): Likewise.
59806         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
59807         (elf_machine_lazy_rel): Likewise.
59809 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
59811         * nss/nss_files/files-init.c (_nss_files_init): Use static
59812         initialization for all the *_traced_file variables.
59814 2011-09-28  Andreas Schwab  <schwab@redhat.com>
59816         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59818 2011-09-27  Roland McGrath  <roland@hack.frob.com>
59820         [BZ #13226]
59821         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
59823 2011-09-27  Andreas Schwab  <schwab@redhat.com>
59825         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
59826         Reread the line before reparsing it.
59828 2011-09-26  Andreas Schwab  <schwab@redhat.com>
59830         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
59832 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
59833             Maxim Kuvyrkov  <maxim@codesourcery.com>
59834             Joseph Myers  <joseph@codesourcery.com>
59836         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
59837         if needed for __stack_chk_guard.
59839 2011-09-19  Roland McGrath  <roland@hack.frob.com>
59841         * sysdeps/posix/spawni.c (script_execute): Always define it.
59842         It will be optimized away if unused.
59843         (maybe_script_execute): New function.
59844         (__spawni): Call it.
59846         * Makerules: Don't include tls.make.
59847         (config-tls): Always set to thread.
59848         * tls.make.c: File removed.
59850 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
59852         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
59853         * config.make.in (CPPFLAGS-config): New substituted variable.
59855 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
59857         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
59859         [BZ #13192]
59860         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
59861         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
59863 2011-09-15  Roland McGrath  <roland@hack.frob.com>
59865         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
59866         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
59867         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
59868         (CALL_FAIL): Likewise.
59869         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
59870         (CALL_FAIL): Macro removed.
59871         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
59873 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
59875         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
59876         for __FINITE_MATH_ONLY__ == 1.
59878 2011-09-15  Andreas Schwab  <schwab@redhat.com>
59880         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
59881         __ieee754_sqrt instead of sqrt.
59882         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
59883         __ieee754_sqrtf instead of sqrtf.
59884         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
59885         __floorf instead of floorf.
59886         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
59887         __floorf, __truncf instead of floorf, truncf.
59889 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
59891         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
59893         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
59894         __extern_always_inline.
59895         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
59896         32-bit.
59898 2011-09-14  Andreas Schwab  <schwab@redhat.com>
59900         * elf/rtld.c (dl_main): Also relocate in dependency order when
59901         doing symbol dependency testing.
59903 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
59905         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59906         Always define `refsym'.
59908 2011-09-13  Andreas Schwab  <schwab@redhat.com>
59910         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
59911         (__FD_ELT): Renamed from __FDELT.
59912         * misc/bits/select2.h (__FD_ELT): Likewise.
59913         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
59914         __FD_MASK instead of __FDELT, __FDMASK.
59915         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
59916         Likewise.
59917         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
59918         Likewise.
59920         * elf/Makefile (gen-ldd): Fix pattern.
59922         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
59923         (init_tls): Likewise.
59925 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
59927         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
59929 2011-09-12  Andreas Schwab  <schwab@redhat.com>
59931         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
59932         `struct cmsghdr *' instead of `void *'.
59933         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
59934         Likewise.
59936 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
59938         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
59939         if non-absolute.
59940         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
59941         ldd_rewrite_script.
59943 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
59945         * configure.in: Remove --with-tls option.
59946         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
59947         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
59948         out in case it is missing.
59949         * sysdeps/ia64/elf/configure.in: Likewise.
59950         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
59951         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
59952         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
59953         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
59954         * sysdeps/sh/elf/configure.in: Likewise.
59955         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
59956         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
59957         * sysdeps/x86_64/elf/configure.in: Likewise.
59958         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
59959         * sysdeps/mach/hurd/tls.h: Likewise.
59961         [BZ #13067]
59962         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
59964         [BZ #13090]
59965         * configure.in: Fix use of AC_INIT.
59967         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
59969 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
59971         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
59972         __set_errno.
59973         * malloc/hooks.c: Likewise.
59975         [BZ #11929]
59976         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
59977         variables statically.
59978         (narenas): Initialize.
59979         (list_lock): Initialize.
59980         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
59981         initializtion of main_arena and list_lock.  Small cleanups.
59982         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
59983         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
59984         Add initializers to main_arena and mp_.
59985         (malloc_state): Remove pagesize member.  Change all users to use
59986         GLRO(dl_pagesize).
59988         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
59989         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
59990         is always initialized.
59992         * malloc/malloc.c: Removed unused configurations and dead code.
59993         * malloc/arena.c: Likewise.
59994         * malloc/hooks.c: Likewise.
59995         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
59997         * include/tls.h: Removed.  USE___THREAD must always be defined.
59998         * bits/libc-tsd.h: Don't handle !USE___THREAD.
59999         * elf/dl-libc.c: Likewise.
60000         * elf/dl-tsd.c: Likewise.
60001         * include/errno.h: Likewise.
60002         * include/netdb.h: Likewise.
60003         * include/resolv.h: Likewise.
60004         * inet/herrno-loc.c: Likewise.
60005         * inet/herrno.c: Likewise.
60006         * malloc/arena.c: Likewise.
60007         * malloc/hooks.c: Likewise.
60008         * malloc/malloc.c: Likewise.
60009         * resolv/res-state.c: Likewise.
60010         * resolv/res_libc.c: Likewise.
60011         * sysdeps/i386/dl-machine.h: Likewise.
60012         * sysdeps/ia64/dl-machine.h: Likewise.
60013         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
60014         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
60015         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
60016         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
60017         * sysdeps/sh/dl-machine.h: Likewise.
60018         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
60019         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
60020         * sysdeps/unix/i386/sysdep.S: Likewise.
60021         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
60022         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
60023         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
60024         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
60025         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
60026         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
60027         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
60028         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
60029         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
60030         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
60031         * sysdeps/unix/x86_64/sysdep.S: Likewise.
60032         * sysdeps/x86_64/dl-machine.h: Likewise.
60033         * tls.make.c: Likewise.
60035         * configure.in: Remove --with-__thread option.  Make tests for
60036         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
60037         tls_model attribute fail if no support is available.  Remove
60038         USE_IN_LIBIO.
60039         * Makeconfig: Adjust for dropped configure option.  All features are
60040         now mandatory.
60041         * Makerules: Likewise.
60042         * Versions.def: Likewise.
60043         * argp/argp-fmtstream.c: Likewise.
60044         * argp/argp-fmtstream.h: Likewise.
60045         * argp/argp-help.c: Likewise.
60046         * assert/assert.c: Likewise.
60047         * config.h.in: Likewise.
60048         * config.make.in: Likewise.
60049         * configure: Likewise.
60050         * configure.in: Likewise.
60051         * csu/Versions: Likewise.
60052         * csu/init.c: Likewise.
60053         * elf/tst-audit2.c: Likewise.
60054         * elf/tst-tls10.c: Likewise.
60055         * elf/tst-tls10.h: Likewise.
60056         * elf/tst-tls11.c: Likewise.
60057         * elf/tst-tls12.c: Likewise.
60058         * elf/tst-tls14.c: Likewise.
60059         * elf/tst-tlsmod11.c: Likewise.
60060         * elf/tst-tlsmod12.c: Likewise.
60061         * elf/tst-tlsmod13.c: Likewise.
60062         * elf/tst-tlsmod13a.c: Likewise.
60063         * elf/tst-tlsmod14a.c: Likewise.
60064         * elf/tst-tlsmod15b.c: Likewise.
60065         * elf/tst-tlsmod16a.c: Likewise.
60066         * elf/tst-tlsmod16b.c: Likewise.
60067         * elf/tst-tlsmod7.c: Likewise.
60068         * elf/tst-tlsmod8.c: Likewise.
60069         * elf/tst-tlsmod9.c: Likewise.
60070         * gmon/gmon.c: Likewise.
60071         * grp/fgetgrent_r.c: Likewise.
60072         * grp/putgrent.c: Likewise.
60073         * hurd/fopenport.c: Likewise.
60074         * include/libc-symbols.h: Likewise.
60075         * include/tls.h: Likewise.
60076         * intl/gettextP.h: Likewise.
60077         * intl/loadinfo.h: Likewise.
60078         * locale/global-locale.c: Likewise.
60079         * locale/localeinfo.h: Likewise.
60080         * mach/devstream.c: Likewise.
60081         * malloc/arena.c: Likewise.
60082         * malloc/set-freeres.c: Likewise.
60083         * misc/err.c: Likewise.
60084         * misc/getttyent.c: Likewise.
60085         * misc/mntent_r.c: Likewise.
60086         * posix/getopt.c: Likewise.
60087         * posix/wordexp.c: Likewise.
60088         * pwd/fgetpwent_r.c: Likewise.
60089         * resolv/Versions: Likewise.
60090         * resolv/res_hconf.c: Likewise.
60091         * shadow/fgetspent_r.c: Likewise.
60092         * shadow/putspent.c: Likewise.
60093         * stdio-common/printf_fphex.c: Likewise.
60094         * stdio-common/tmpfile.c: Likewise.
60095         * stdlib/abort.c: Likewise.
60096         * stdlib/fmtmsg.c: Likewise.
60097         * sunrpc/auth_unix.c: Likewise.
60098         * sunrpc/clnt_perr.c: Likewise.
60099         * sunrpc/clnt_tcp.c: Likewise.
60100         * sunrpc/clnt_udp.c: Likewise.
60101         * sunrpc/clnt_unix.c: Likewise.
60102         * sunrpc/openchild.c: Likewise.
60103         * sunrpc/svc_simple.c: Likewise.
60104         * sunrpc/svc_tcp.c: Likewise.
60105         * sunrpc/svc_udp.c: Likewise.
60106         * sunrpc/svc_unix.c: Likewise.
60107         * sunrpc/xdr.c: Likewise.
60108         * sunrpc/xdr_array.c: Likewise.
60109         * sunrpc/xdr_rec.c: Likewise.
60110         * sunrpc/xdr_ref.c: Likewise.
60111         * sunrpc/xdr_stdio.c: Likewise.
60113 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
60115         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60117 2011-07-03  Andreas Jaeger  <aj@suse.de>
60119         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
60120         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
60121         regenerate with gen-libm-tests.pl.
60123 2010-05-12  Petr Baudis  <pasky@suse.cz>
60125         [BZ #11589]
60126         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
60127         around j0() zero points by switching to j1().
60128         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
60129         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
60130         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
60131         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
60133 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
60135         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
60136         instead of 0.
60137         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
60138         instead of 0.
60139         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60140         Patch in part by Pavel Roskin <proski@gnu.org>.
60142         [BZ #13138]
60143         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
60144         realloc.
60145         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
60146         Free memory block if necessary.
60148         [BZ #12847]
60149         * libio/genops.c (INTDEF): For string streams the _lock pointer can
60150         be NULL.  Don't lock in this case.
60152 2011-09-09  Roland McGrath  <roland@hack.frob.com>
60154         * elf/elf.h (ELFOSABI_GNU): New macro.
60155         (ELFOSABI_LINUX): Define to that.
60157 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
60159         * string/strncat.c (strncat): Undef the symbol in case it has been
60160         defined in bits/string.h.
60162 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
60164         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
60166         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
60167         link map.
60169 2011-08-17  Andreas Jaeger  <aj@suse.de>
60171         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
60173 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
60174             Ian Lance Taylor  <iant@google.com>
60176         * math/libm-test.inc (lround_test): New testcase.
60177         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
60179 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
60181         * Makefile: Remove support for automatic cvs check-ins.
60182         * Makerules: Likewise.
60183         * config.make.in: Likewise.
60184         * configure.in: Likewise.
60185         * intl/Makefile: Likewise.
60186         * locale/Makefile: Likewise.
60187         * po/Makefile: Likewise.
60188         * posix/Makefile: Likewise.
60189         * sysdeps/gnu/Makefile: Likewise.
60190         * sysdeps/mach/hurd/Makefile: Likewise.
60191         * sysdeps/sparc/sparc32/Makefile: Likewise.
60193         [BZ #13118]
60194         * posix/Makefile (bug-regex32-ENV): Define.
60195         Patch by John Stanley <jpsinthemix@verizon.net>.
60197         * misc/Makefile (headers): Add bits/select2.h.
60198         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
60199         * misc/bits/select2.h: New file.
60200         * include/bits/select2.h: New file.
60201         * debug/Makefile (routines): Add fdelt_chk.
60202         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
60203         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
60204         FD_ISSET.
60205         * debug/fdelt_chk.c: New file.
60207         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
60208         * wcsmbs/test-wmemcmp.c: Likewise.
60209         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
60210         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
60212 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60214         * string/Makefile (strop-tests): Add memcmp.
60215         * string/test-wmemcmp.c: New file.
60216         * string/test-memcmp.c: Add wmemcmp support.
60218 2011-09-08  Roland McGrath  <roland@hack.frob.com>
60220         [BZ #13153]
60221         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
60222         2011-07-19 change.
60224         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
60225         garbage value in a __mach_port_mod_refs call in the cases of the
60226         task-self and thread-self ports.
60228 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60230         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
60232 2011-09-08  Andreas Schwab  <schwab@redhat.com>
60234         * elf/dl-load.c (lose): Check for non-null L.
60236 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
60238         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
60240         * elf/dl-libc.c (dlerror_run): Pass back error code from
60241         dl_catch_error.
60243         [BZ #13123]
60244         * elf/dl-load.c (lose): Free l_origin if it is valid.
60246         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
60247         names.
60248         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
60249         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
60250         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
60251         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
60252         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
60253         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
60255 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60257         * sysdeps/powerpc/fpu/e_hypot.c: New file.
60258         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
60259         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
60260         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
60261         * sysdeps/powerpc/fpu/k_cosf.c: New file.
60262         * sysdeps/powerpc/fpu/k_sinf.c: New file.
60263         * sysdeps/powerpc/fpu/s_cosf.c: New file.
60264         * sysdeps/powerpc/fpu/s_sinf.c: New file.
60265         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
60266         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
60268 2011-08-15  Alan Modra  <amodra@gmail.com>
60270         [BZ #13092]
60271         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
60272         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
60273         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
60274         ppc_mcount to static-only-routines.
60275         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
60276         __mcount_internal.
60277         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
60278         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
60280 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
60282         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
60283         for finite and infinity parameters.
60285 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
60287         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
60288         and add nop instructions for throughput optimization.
60289         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
60291 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
60293         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
60294         aligned copy for power7 with vector-scalar instructions.
60295         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
60297 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
60299         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
60300         AVX check.
60302 2011-09-07  Andreas Schwab  <schwab@redhat.com>
60304         [BZ #13144]
60305         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
60306         last change.
60308 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
60310         * sysdeps/unix/sysv/linux/x86_64/init-first.c
60311         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
60312         syscall wrapper around clock_gettime in __vdso_clock_gettime.
60313         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
60314         clock_gettime.
60316 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
60318         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
60319         Forgot to demangle the pointer.
60321         * sysdeps/i386/sysdep.h: Define atom_text_section.
60322         * sysdeps/x86_64/sysdep.h: Likewise.
60323         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
60324         section with atom_text_section.
60325         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
60326         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
60327         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
60328         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
60329         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
60331         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
60332         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
60333         already be defined.  Change to take two parameters and don't assign
60334         result to variable.  Adjust all users.
60335         Define INTERNAL_GETTIME if not already defined.
60336         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
60337         call.
60338         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
60339         HAVE_CLOCK_GETTIME_VSYSCALL.
60340         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
60342         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
60343         gettimeofday vsyscall, just use time.
60345 2011-09-06  Andreas Schwab  <schwab@redhat.com>
60347         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
60348         <errno.h>.
60350 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
60352         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
60353         syscall on x86-64.
60354         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
60355         syscall.
60356         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
60357         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
60358         syscall if possible.
60360 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
60362         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
60363         e_ident.  Don't pass to find_mapsXX.
60364         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
60366 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60368         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60369         strchr-sse2-no-bsf strrchr-sse2-no-bsf
60370         * sysdeps/x86_64/multiarch/strchr.S: Update.
60371         Check bit_slow_BSF bit.
60372         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
60373         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
60374         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
60376 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
60378         [BZ #13134]
60379         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
60380         before glibc 2.15.
60381         (tryshell): Define.
60382         (__spawni): Change last parameter to be flag.  Test
60383         SPAWN_XFLAGS_USE_PATH flag to use path or not.
60384         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
60385         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
60386         * posix/spawni.c: Likewise.
60387         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
60388         * posix/spawnp.c: Likewise.  Change normal version to use
60389         SPAWN_XFLAGS_USE_PATH.
60390         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
60391         SPAWN_XFLAGS_TRY_SHELL.
60393         [BZ #13150]
60394         * posix/glob.h: Remove gcc 1.x support.
60396         [BZ #13068]
60397         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
60399 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60401         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60402         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
60403         strrchr-sse2-bsf
60404         * sysdeps/i386/i686/multiarch/strchr.S: New file.
60405         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
60406         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
60407         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
60408         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
60409         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
60411 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60413         * sysdeps/x86_64/wcscmp.S: New file.
60415         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
60416         wcscmp-c wcscmp-sse2
60417         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
60418         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
60419         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
60420         * wcsmbs/wcscmp.c: Allow renaming.
60422 2011-09-05  David S. Miller  <davem@davemloft.net>
60424         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
60425         stack slot, rather than the struct return pointer slot.
60426         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
60427         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
60428         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
60429         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
60431 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
60433         * po/ja.po: Update from translation team.
60435         [BZ #13144]
60436         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
60437         kernel in 64-bit binaries.
60439 2011-09-01  David S. Miller  <davem@davemloft.net>
60441         * elf/elf.h (HWCAP_SPARC_*): Move to..
60442         * sysdeps/sparc/sysdep.h: this new file and add new values.
60443         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
60444         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
60445         _DL_HWCAP_COUNT to 24.
60446         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
60447         entries.
60448         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
60449         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
60450         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
60451         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
60452         instead of magic constants.
60453         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
60455 2011-08-31  David S. Miller  <davem@davemloft.net>
60457         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
60458         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
60459         Reimplement to do errno handling inline.
60460         (SYSCALL_ERROR_HANDLER): New macro.
60461         (__SYSCALL_STRING): Do not do errno handling in asm.
60462         (__CLONE_SYSCALL_STRING): Delete.
60463         (__INTERNAL_SYSCALL_STRING): Delete.
60464         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
60465         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
60466         (PSEUDO): Reimplement to do errno handling inline.
60467         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
60468         (SYSCALL_ERROR_HANDLER): New macro.
60469         (__SYSCALL_STRING): Do not do errno handling in asm.
60470         (__CLONE_SYSCALL_STRING): Delete.
60471         (__INTERNAL_SYSCALL_STRING): Delete.
60472         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
60473         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
60474         i386.
60475         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
60476         (inline_syscall*): Add 'err' argument.
60477         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
60478         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
60479         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
60480         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
60482         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
60483         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
60485 2011-08-30  Andreas Schwab  <schwab@redhat.com>
60487         * elf/rtld.c (dl_main): Relocate objects in dependency order.
60489 2011-08-29  Jiri Olsa <jolsa@redhat.com>
60491         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
60492         directive.
60494 2011-08-24  David S. Miller  <davem@davemloft.net>
60496         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
60498 2011-08-24  Andreas Schwab  <schwab@redhat.com>
60500         * elf/Makefile: Add rules to build and run unload8 test.
60501         * elf/unload8.c: New file.
60502         * elf/unload8mod1.c: New file.
60503         * elf/unload8mod1x.c: New file.
60504         * elf/unload8mod2.c: New file.
60505         * elf/unload8mod3.c: New file.
60507         * elf/dl-close.c (_dl_close_worker): Reset private search list if
60508         it wasn't used.
60510 2011-08-23  David S. Miller  <davem@davemloft.net>
60512         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
60513         subtract stack bias.
60514         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
60515         %sp not %fp in calculations.
60516         (_JMPBUF_UNWINDS_ADJ): Likewise.
60518         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
60519         (aio_suspend): Call it to force an exception region around the
60520         AIO_MISC_WAIT() invocation.
60522 2011-08-23  Andreas Schwab  <schwab@redhat.com>
60524         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
60525         backslash.
60527 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
60529         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
60530         protection macro.
60531         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
60532         and <dl-machine.h>.
60533         (Elf64_FuncDesc): Remove.
60535 2011-08-22  David S. Miller  <davem@davemloft.net>
60537         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
60538         sigaltstack check, add missing cfi directives.
60539         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
60540         missing cfi directives, and sigaltstack handling.
60542 2011-08-16  Andreas Schwab  <schwab@redhat.com>
60544         [BZ #11724]
60545         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
60546         object is seen twice.
60547         * elf/dl-fini.c (_dl_sort_fini): Likewise.
60549         * elf/Makefile (distribute): Add tst-initorder2.c.
60550         (tests): Add tst-initorder2.
60551         (modules-names): Add tst-initorder2a tst-initorder2b
60552         tst-initorder2c tst-initorder2d.  Add rules to build them.
60553         ($(objpfx)tst-initorder2.out): New rule.
60554         * elf/tst-initorder2.c: New file.
60555         * elf/tst-initorder2.exp: New file.
60557 2011-08-22  Andreas Schwab  <schwab@redhat.com>
60559         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
60561         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
60562         dependencies back to end of function.
60564         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
60565         $(elfobjdir)/ld.so.
60567 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
60569         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
60570         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
60571         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
60572         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
60573         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
60574         of __vdso_gettimeofday.
60575         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
60576         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
60577         attribute_hidden.
60578         (_libc_vdso_platform_setup): Remove initialization of
60579         __vdso_gettimeofday and __vdso_time.
60581 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
60583         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
60584         and fgetc_unlocked.
60585         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
60586         getc_unlocked.
60588         * elf/dl-open.c (add_to_global): Report additions to the global scope
60589         for LD_DEBUG=scopes.
60590         (dl_open_worker): Also print scope of newly loaded dependencies.
60591         (_dl_show_scope): Indicate if there is no scope.
60593         [BZ #13114]
60594         * stdio-common/Makefile (tests): Add bug24.
60595         * stdio-common/bug24.c: New file.
60597 2011-08-19  Andreas Jaeger  <aj@suse.de>
60599         [BZ #13114]
60600         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
60601         non-existant file when using close-on-exec mode.
60603 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
60605         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
60606         the very first instruction.
60608         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
60609         the CFI state in the end.
60610         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
60611         inclusion of dl-trampoline.h.
60612         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
60614 2011-08-19  Andreas Schwab  <schwab@redhat.com>
60616         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
60617         expectations for long double.
60619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
60620         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
60622 2011-08-14  David S. Miller  <davem@davemloft.net>
60624         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
60625         artificual limit depends upon the system page size.
60627 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
60629         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
60630         * resolv/Makefile: Define CFLAGS-libresolv.
60632 2011-08-17  Andreas Schwab  <schwab@redhat.com>
60634         * nss/makedb.c (compute_tables): Make variables used in nested
60635         function static.
60637 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
60639         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
60640         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
60641         if buffer was too small.
60643         * elf/pldd.c (main): Attach to all threads in the process.
60644         Rewrite /proc handling to use *at functions.
60646 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
60648         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
60649         specifies first scope to show.
60650         (dl_open_worker): Update callers.  Move printing scope of new
60651         object to before the relocation.
60652         * elf/rtld.c (dl_main): Update _dl_show_scope call.
60653         * sysdeps/generic/ldsodefs.h: Update declaration.
60655         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
60656         string for the scope number.
60658 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
60660         * nscd/servicescache.c (cache_addserv): Make sure written is always
60661         initialized.
60663 2011-08-14  Roland McGrath  <roland@hack.frob.com>
60665         * sysdeps/i386/i486/bits/atomic.h
60666         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
60667         statement expression, so as to suppress "set but not used" warning.
60668         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
60670         * string/strncat.c (STRNCAT): Use prototype definition.
60672         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
60673         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
60674         -Iprograms here.
60675         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
60676         (localedef-modules): Add localedef.
60677         (locale-modules): Add locale.
60679         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
60680         * elf/rtld.c (dl_main): Invert order of assignment in last change,
60681         to avoid a warning.
60683 2011-08-14  David S. Miller  <davem@davemloft.net>
60685         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
60686         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
60688 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
60690         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
60691         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
60692         * elf/rtld.c (dl_main): Set l_name of vDSO.
60693         Call _dl_show_scope when DL_DEBUG_SCOPES.
60694         (process_dl_debug): Recognize scopes flag and also set it for all.
60695         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
60696         Declare _dl_show_scope.
60698         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
60699         (do_dlopen): Pass caller_dlopen to dl_open.
60700         (__libc_dlopen_mode): Initialize caller_dlopen.
60702         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
60703         of libc.  Make tolower call locale-independent.  Optimize a bit by
60704         using isdigit instead of isalnum.
60705         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
60707 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
60709         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
60710         was a dependency or dynamically loaded.
60712 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
60714         * intl/l10nflist.c: Allow architecture-specific pop function.
60715         * sysdeps/x86_64/l10nflist.c: New file.
60717         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
60718         classification.
60720 2011-08-10  Andreas Schwab  <schwab@redhat.com>
60722         * include/dirent.h: Add libc_hidden_proto for scandirat and
60723         scandirat64.  Don't declare __scandirat64.
60724         * dirent/scandirat.c: Add libc_hidden_def.
60725         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
60726         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
60728 2011-08-10  David S. Miller  <davem@davemloft.net>
60730         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
60731         enum.
60732         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60733         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60734         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60736 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
60738         * Versions.def [libc]: Add GLIBC_2.15.
60739         * dirent/Makefile (routines): Add scandirat and scandirat64.
60740         * dirent/Versions [libc]: Export scandirat and scandirat64 for
60741         GLIBC_2.15.
60742         * dirent/dirent.h: Declare scandirat and scandirat64.
60743         * dirent/scandirat.c: New file.
60744         * dirent/scandirat64.c: New file.
60745         * sysdeps/wordsize-64/scandirat.c: New file.
60746         * sysdeps/wordsize-64/scandirat64.c: New file.
60747         * dirent/opendir.c: Define opendirat.
60748         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
60749         using scandirat.
60750         * dirent/scandir64.c: Adjust for scandir.c change.
60751         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
60752         __scandirat64, and __scandir_cancel_handler.
60753         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
60754         additional parameter and use openat instead of open (outside of ld.so).
60755         Add new __opendir as wrapper around __opendirat.
60756         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
60757         here without requiring old scandirat implementation.
60759 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
60761         * dirent/scandir.c (cancel_handler): Renamed to
60762         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
60763         defined.  Adjust users.
60764         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
60765         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
60767 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
60769         * string/test-string.h (IMPL): Use __STRING to expand name and then
60770         stringify it.
60772         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
60773         of cleanups.
60775 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60777         * string/Makefile: Update.
60778         (strop-tests): Append strncat.
60779         * string/test-wcscmp.c: New file.
60780         New comprehensive test for wcscmp.
60781         * string/test-strcmp.c: Update.
60782         (WIDE): New define.
60784 2011-07-22  Andreas Schwab  <schwab@redhat.com>
60786         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
60787         line.
60789 2011-07-26  Andreas Schwab  <schwab@redhat.com>
60791         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
60792         encoding to ACE if AI_IDN.
60794 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
60796         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
60797         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
60799 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60801         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
60802         Fix overflow bug in strncat.
60803         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
60805         * string/test-strncat.c: Update.
60806         Add new tests for checking overflow bugs.
60808 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60810         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60811         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
60812         * sysdeps/i386/i686/multiarch/strcat.S: New file.
60813         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
60814         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
60815         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
60816         * sysdeps/i386/i686/multiarch/strncat.S: New file.
60817         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
60818         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
60820         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
60821         (USE_AS_STRCAT): Define.
60822         Add strcat and strncat support.
60823         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
60825 2011-07-25  Andreas Schwab  <schwab@redhat.com>
60827         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
60828         __n bigger than INT_MAX+1.
60829         (__strncmp_g): Likewise.
60831 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
60833         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
60834         * libio/stido.h: Likewise.
60836         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
60837         (AF_NFC): Define.
60838         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
60839         (AF_NFC): Define.
60841         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
60842         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60843         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60844         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
60845         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60847         [BZ #13021]
60848         * scripts/test-installation.pl: Don't expect libnss_test1 to be
60849         installed.
60851         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
60852         typo.
60853         (_dl_x86_64_save_sse): Likewise.
60855 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
60857         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
60858         OSXSAVE.
60859         (_dl_x86_64_save_sse): Likewise.
60861         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
60863         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
60865 2011-07-21  Andreas Schwab  <schwab@redhat.com>
60867         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
60868         change.
60869         (_dl_x86_64_save_sse): Use correct AVX check.
60871 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60873         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
60874         bug in strncpy/strncat.
60875         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
60877 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
60879         * string/tester.c (test_strcat): Add tests for different alignments
60880         of source and destination.
60881         (test_strncat): Likewise.
60883 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
60885         [BZ #12852]
60886         * posix/glob.c (glob): Check passed in values before using them in
60887         expressions to avoid some overflows.
60888         (glob_in_dir): Likewise.
60890         [BZ #13007]
60891         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
60892         check for AVX enablement so that we don't crash with old kernels and
60893         new hardware.
60894         * elf/tst-audit4.c: Add same checks here.
60895         * elf/tst-audit6.c: Likewise.
60897         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
60899 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
60901         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
60903 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
60905         * po/cs.po: Update from translation team.
60906         * po/bg.po: Likewise.
60908 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
60910         * misc/sys/cdefs.h: Add support for const attribute.
60911         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
60912         to gnu_dev_{major,minor,makedev} functions.
60914 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
60916         * intl/dcigettext.c (get_output_charset): Add missing bracket.
60918 2011-07-20  Andreas Schwab  <schwab@redhat.com>
60920         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
60921         strlen results.
60923 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60925         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
60926         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
60927         register in order to avoid conflicts with the soft frame pointer
60928         being held in r11 when necessary.
60929         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
60930         (INTERNAL_VSYSCALL_NCS): Likewise.
60932 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
60934         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
60935         * elf/dl-fini.c (_dl_fini): Adjust caller.
60936         * elf/dl-close.c (_dl_close_worker): Likewise.
60937         * sysdeps/generic/ldsodefs.h: Adjust declaration.
60939 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
60941         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
60942         "aux_cache->nlibs < 0".
60944         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
60945         in the reload-count case.
60947 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60949         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60950         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
60951         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
60952         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
60953         * sysdeps/x86_64/multiarch/strcat.S: New file.
60954         * sysdeps/x86_64/multiarch/strncat.S: New file.
60955         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
60956         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
60957         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
60958         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
60959         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
60960         (USE_AS_STRCAT): Define.
60961         Add strcat and strncat support.
60962         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
60963         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
60964         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
60965         * string/strncat.c: Update.
60966         (USE_AS_STRNCAT): Define.
60967         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60968         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
60969         and i7.
60970         * sysdeps/x86_64/multiarch/init-arch.h
60971         (bit_Prefer_PMINUB_for_stringop): New.
60972         (index_Prefer_PMINUB_for_stringop): Likewise.
60973         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
60974         bit_Prefer_PMINUB_for_stringop.
60976 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
60978         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
60979         buffer64.
60980         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
60981         of casting of buffer.
60982         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
60983         buffer32 and buffer64.
60984         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
60985         writes instead of casting of buffer.
60986         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
60987         buffer32.
60988         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
60989         casting of buffer.
60991 2011-07-19  Andreas Schwab  <schwab@redhat.com>
60993         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
60995 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
60997         * nscd/nscd.c (termination_handler): Don't do anything for a database
60998         if it has not yet been initialized.
61000 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
61002         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
61004 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
61006         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
61008 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
61010         * po/nl.po: Update from translation team.
61011         * po/sv.po: Likewise.
61013 2011-07-16  Roland McGrath  <roland@hack.frob.com>
61015         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
61016         now disallowed by GCC.
61018         * configure.in (use-default-link): Default to yes if a test -shared
61019         link meets our qualifications.
61020         * configure: Regenerated.
61022         * config.make.in (output-format): New variable.
61023         * configure.in: Check for ld --print-output-format support.
61024         * configure: Regenerated.
61025         * Makerules ($(common-objpfx)format.lds)
61026         [$(output-format) != unknown]: Just use $(output-format),
61027         instead of the linker-script munging.
61029 2011-07-14  Roland McGrath  <roland@hack.frob.com>
61031         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
61032         of $(common-objpfx)shlib.lds.
61033         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
61035         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
61036         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
61038         * configure.in (-z relro check): Adjust test code to add a large
61039         writable data section after it.
61040         * configure: Regenerated.
61042 2011-07-11  Roland McGrath  <roland@hack.frob.com>
61044         * configure.in (-z relro check): Fix test code to make the variable
61045         truly const.
61046         * configure: Regenerated.
61048 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
61050         * nscd/nscd.h (struct traced_file): Define.
61051         (struct database_dyn): Remove inotify_descr, reset_res, and filename
61052         elements.  Add traced_files.
61053         (inotify_fd): Declare.
61054         (register_traced_file): Declare.
61055         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
61056         (inotify_fd): Export.
61057         (resolv_conf_descr): Remove.
61058         (nscd_init): Move inotify descriptor creation to main.
61059         Don't register files for notification here.
61060         (register_traced_file): New function.
61061         (invalidate_cache): Don't use reset_res to determine whether to call
61062         res_init, go through the list of registered files.
61063         (main_loop_poll): The inotify descriptors are now stored in the
61064         structures for the traced files.
61065         (main_loop_epoll): Likewise
61066         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
61067         to __nss_disable_nscd.
61068         * nscd/cache.c (prune_cache): There is no single inotify descriptor
61069         for a database anymore.  Check the records for all the registered
61070         files instead.
61071         * nss/Makefile (libnss_files-routines): Add files-init.
61072         (libnss_db-routines): Add db-init.
61073         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
61074         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
61075         * nss/nss_db/db-init.c: New file.
61076         * nss/nss_files/files-init.c: New file.
61077         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
61078         __nss_lookup_function.
61079         (__nss_lookup_function): Call nss_load_library.
61080         (nss_load_all_libraries): New function.
61081         (__nss_disable_nscd): Take parameter with callback function for files
61082         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
61083         used for the cached services.
61084         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
61085         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
61086         options for features to all the files in nscd.
61088         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
61090 2011-07-10  Roland McGrath  <roland@hack.frob.com>
61092         * csu/elf-init.c (__libc_csu_init): Comment typo.
61094 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
61096         * po/pl.po: Update from translation team.
61097         * po/ja.po: Likewise.
61098         * po/ru.po: Likewise.
61099         * po/ko.po: Likewise.
61100         * po/fr.po: Likewise.
61102 2011-07-09  Roland McGrath  <roland@hack.frob.com>
61104         * configure.in (.ctors/.dtors header and trailer check):
61105         Use an empirical test on a built program.
61106         * configure: Regenerated.
61108         * configure.in (-z relro check): Use an empirical test on a built DSO.
61109         Detect, but do not require, on ia64.
61110         * configure: Regenerated.
61112         * configure.in (READELF): Find it with AC_CHECK_TOOL.
61113         Update tests that use readelf to use $READELF instead.
61114         * configure: Regenerated.
61116 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
61118         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
61119         if the result is not used.
61121 2011-07-05  Andreas Jaeger  <aj@suse.de>
61123         [BZ#9696]
61124         * stdlib/tst-strtod.c: Add testcase.
61126 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
61128         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
61129         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
61130         The latter has a higher limit.  Take additional parameter to pass to
61131         the new function.
61132         (__pathconf): Pass file to __statfs_link_max.
61133         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
61134         __statfs_link_max.
61135         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
61136         __statfs_link_max.
61138         [BZ #12868]
61139         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
61140         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61141         Handle Lustre.
61142         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
61143         (__statfs_filesize_max): Likewise.
61144         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
61146 2011-07-05  Andreas Jaeger  <aj@suse.de>
61148         * resolv/res_comp.c (dn_skipname): Remove unused variable.
61150 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
61152         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
61153         `status' variable.
61154         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
61155         Likewise.
61157 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
61159         * Makefile (strop-tests): Add strncat.
61160         * string/test-strncat.c: New file.
61162 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
61164         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
61166 2011-06-21  Andreas Jaeger  <aj@suse.de>
61168         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
61169         Copy rule from iconvdata/Makefile.
61171 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
61173         [BZ #12922]
61174         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
61175         but no long options are defined, just return 'W'.
61177 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
61179         [BZ #9696]
61180         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
61182 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
61184         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
61185         netgroups to read.
61186         (innetgr): Likewise.
61188 2011-07-05  Roland McGrath  <roland@hack.frob.com>
61190         * config.make.in (install_root): Default to $(DESTDIR).
61192 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
61194         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
61196 2011-07-02  Roland McGrath  <roland@hack.frob.com>
61198         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
61200         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
61201         containing directory rather than embedding absolute directory names.
61203         * scripts/check-local-headers.sh: Rewritten using awk.
61204         Match by word, not by line.  Print error messages for matches.
61205         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
61207         * Makerules [shlib-lds-flags empty]:
61208         ($(common-objpfx)libc_pic.opts): New target.
61209         ($(common-objpfx)libc_pic.os.clean): New target.
61210         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
61212         * config.make.in (OBJCOPY): New variable.
61213         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
61214         * configure: Regenerated.
61216         * config.make.in (use-default-link): New variable.
61217         * configure.in (use_default_link): Grok --with-default-link to set it.
61218         * configure: Regenerated.
61219         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
61220         (shlib-lds, shlib-lds-flags): Define to empty.
61222         * Makerules (shlib-lds): New variable.
61223         (shlib-lds-flags): New variable.
61224         (build-shlib, build-moduile, build-module-asneeded): Use it.
61225         ($(common-objpfx)libc.so): Use $(shlib-lds).
61226         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
61227         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
61229         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
61230         DT_FLAGS/DT_FLAGS_1 with zero flags.
61232         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
61233         linker script munging.
61235 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
61237         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
61238         as 128-bit value.
61239         * crypt/sha512.c (sha512_process_block): Perform total addition using
61240         128-bit if possible.
61241         (__sha512_finish_ctx): Likewise.
61242         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
61243         as 64-bit value.
61244         * crypt/sha256.c (SWAP64): Define.
61245         (sha256_process_block): Perform total addition using 64-bit if
61246         possible.
61247         (__sha256_finish_ctx): Likewise.
61249 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
61251         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
61252         * nscd/initgrcache.c (addinitgroupsX): Likewise.
61253         * nscd/hstcache.c (cache_addhst): Likewise.
61254         * nscd/grpcache.c (cache_addgr): Likewise.
61255         * nscd/aicache.c (addhstaiX): Likewise
61256         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
61258 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
61260         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
61261         * nscd/initgrcache.c (addinitgroupsX): Likewise.
61262         * nscd/hstcache.c (cache_addhst): Likewise.
61263         * nscd/grpcache.c (cache_addgr): Likewise.
61264         * nscd/aicache.c (addhstaiX): Likewise
61266 2011-07-01  Andreas Schwab  <schwab@redhat.com>
61268         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
61269         domain only when needed.
61271 2011-06-30  Andreas Schwab  <schwab@redhat.com>
61273         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
61274         is always restored.
61276 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
61278         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
61279         are re-adding the entry.
61280         * nscd/servicescache.c (cache_addserv): Likewise.
61282 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
61284         * sysdeps/generic/dl-irel.h: fix protection against multiple
61285         inclusions.
61286         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
61288 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
61290         [BZ #12935]
61291         * malloc/memusage.sh: Fix quoting in message.
61292         * debug/xtrace.sh: Likewise.
61294         * configure.in: Remove support for --experimental-malloc option, make
61295         it the default.
61296         * config.make.in: Likewise.
61297         * malloc/Makefile: Likewise.
61299 2011-06-27  Andreas Schwab  <schwab@redhat.com>
61301         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
61302         two-byte characters.
61304 2011-06-27  Roland McGrath  <roland@hack.frob.com>
61306         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
61307         AC_CACHE_CHECK invocation.
61308         * configure: Regenerated.
61310         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
61312 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
61314         [BZ #12350]
61315         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
61316         bit from old_res_options.
61318         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
61320         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
61321         value type for setfct.
61323 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
61325         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
61326         __gettimeofday instead of gettimeofday.
61328 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
61330         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
61332 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
61334         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
61336         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
61337         info.
61339 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
61341         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61342         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
61343         strcpy-sse2-unaligned strncpy-sse2-unaligned
61344         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
61345         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
61346         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
61347         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
61348         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
61349         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
61350         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
61351         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
61352         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
61353         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
61354         (STRCPY): Support SSE2 and SSSE3 versions.
61356 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
61358         [BZ #12874]
61359         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
61360         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
61361         kernels which artificially limit size of requests.
61363 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
61365         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61366         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
61367         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
61368         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
61369         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
61370         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
61371         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
61372         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
61373         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
61374         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
61375         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
61376         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
61377         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
61378         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
61379         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
61380         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61381         Enable unaligned load optimization for Intel Core i3, i5 and i7
61382         processors.
61383         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
61384         Define.
61385         (index_Fast_Unaligned_Load): Define.
61386         (HAS_FAST_UNALIGNED_LOAD): Define.
61388 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
61390         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
61392 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
61394         [BZ #12907]
61395         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
61396         until it is clear that the information is realy needed.
61397         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
61399 2011-06-22  Andreas Schwab  <schwab@redhat.com>
61401         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
61403 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
61405         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
61406         /sys/devices/system/cpu/online if it is usable.
61408         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
61409         reading the information from the /proc filesystem to once a second.
61411 2011-06-21  Andreas Jaeger  <aj@suse.de>
61413         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
61414         NULL after inclusion of kernel headers.
61416 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
61418         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
61419         calls to internal_setent.
61421         [BZ #12885]
61422         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
61423         addresses using gethostbyname4_r ignore IPv4 addresses.
61425         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
61426         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
61428         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
61430 2011-06-20  David S. Miller  <davem@davemloft.net>
61432         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
61433         inclusions.
61434         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
61436         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
61437         (elf_irel): Use it.
61438         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
61439         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
61440         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
61441         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
61442         * sysdeps/x86_64/dl-irel.h: Likewise.
61444         * elf/dl-runtime.c: Use elf_ifunc_invoke.
61445         * elf/dl-sym.c: Likewise.
61447 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
61449         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
61450         need to dereference resplen2.
61452 2011-06-14  Andreas Schwab  <schwab@redhat.com>
61454         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
61456 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
61458         * Makeconfig: Define vardbdir and inst_vardbdir.
61459         * nss/Makefile: Add rules to install db-Makefile.
61461         * nss/nss_db/db-XXX.c: Cleanup.
61463         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
61464         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
61465         GLIBC_PRIVATE.
61466         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
61467         * nss/makedb.c: Implement -g option to specify that value strings
61468         are generated and should not be added to table iterated over for
61469         get*ent calls.
61470         * nss/nss_db/db-initgroups.c: New file.
61472         * nss/getent.c: Add support for initgroups lookups through getgrouplist
61473         interface.
61475         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
61476         (internal_getgrouplist): Adjust to name change.
61477         Update use_initgroups_entry if this is not the first call.
61478         * nss/databases.def: Add initgroups entry.
61480         * nss/makedb.c (compute_tables): Check result of multiple hash table
61481         sizes to minimize maximum chain length.
61483 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
61485         * Versions.def: Add entry for libnss_db.
61486         * shlib-versions: Likewise.
61487         * nss/Makefile: Add rules to build libnss_db.
61488         * nss/Versions: Add libnss_db information.  Organize libnss_files
61489         entries better.
61490         * nss/db-Makefile: Add gshadow support.  Change rules for the new
61491         makedb progra.  Some minor improvements to generate smaller files.
61492         * nss/nss_db/nss_db.h: Move NSS database header data structures to
61493         here from...
61494         * nss/makedb.c: ...here.
61495         Improve database format to be smaller and require less memory at
61496         runtime.
61497         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
61498         db anymore.
61499         * nss/nss_db/db-netgrp.c: Likewise.
61500         * nss/nss_db/db-open.c: Likewise.
61501         * nss/nss_files/flies-XXX.x: Adjust comments.
61502         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
61503         * nss/nss_files/files-grp.c: Likewise.
61504         * nss/nss_files/files-hosts.c: Likewise.
61505         * nss/nss_files/files-network.c: Likewise.
61506         * nss/nss_files/files-proto.c: Likewise.
61507         * nss/nss_files/files-pwd.c: Likewise.
61508         * nss/nss_files/files-rpc.c: Likewise.
61509         * nss/nss_files/files-service.c: Likewise.
61510         * nss/nss_files/files-sgrp.c: Likewise.
61511         * nss/nss_files/files-spwd.c: Likewise.
61512         * nss/nss_db/db-alias.c: Removed.
61513         * nss/nss_db/dummy-db.h: Removed.
61515 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
61517         * nss/makedb.c: Rewritten to not use database library.
61518         * nss/Makefile: Update to build new makedb program.
61520 2011-06-14  Andreas Jaeger  <aj@suse.de>
61522         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
61523         memset declaration.
61525 2011-06-10  Andreas Schwab  <schwab@redhat.com>
61527         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
61528         tmpbuf.
61530 2011-06-10  Roland McGrath  <roland@hack.frob.com>
61532         * Makerules (shlib.lds): Fail if the linker script comes out empty.
61533         * elf/Makefile ($(objpfx)ld.so): Likewise.
61535         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
61536         Don't list ld.so twice in dependencies.
61538         * posix/bug-regex31.c: Include <stdlib.h>.
61540         * nscd/hstcache.c (cache_addhst): Remove unused variable.
61542         * nis/nss_compat/compat-spwd.c
61543         (getspent_next_nss_netgr): Remove unused variable.
61544         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
61546         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
61547         nonmembers" output to use the right array.
61549         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
61551         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
61553         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
61554         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
61555         * catgets/gencat.c (read_input_file): Likewise.
61556         * locale/programs/locarchive.c (enlarge_archive): Likewise.
61558         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
61559         variable definition inside #if's controlling its use.
61561         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
61563         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
61565         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
61567         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
61568         unreachable code.
61570         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
61572         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
61573         * configure: Regenerated.
61575         * Makerules: Revert last change.
61576         * elf/Makefile: Likewise.
61578 2011-06-09  Roland McGrath  <roland@hack.frob.com>
61580         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
61581         * elf/Makefile ($(objpfx)librtld.os): Likewise.
61582         (reloc-link): Likewise.
61584 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
61586         * elf/Makefile: Add rules to build pldd.
61587         * elf/pldd.c: New file.
61588         * elf/pldd-xx.c: New file.
61590 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
61592         * version.h: Update for 2.15 development version.
61594 2011-06-07  David S. Miller  <davem@davemloft.net>
61596         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
61597         ifuncs.
61598         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
61599         elf_machine_lazy_rel): Likewise.
61600         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
61601         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
61602         elf_machine_lazy_rel): Likewise.
61603         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
61604         dl_hwcap via passed in argument.
61605         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
61606         Likewise.
61608 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61610         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
61612 2011-06-06  Roland McGrath  <roland@hack.frob.com>
61614         [BZ #12849]
61615         * manual/fdl-1.1.texi: New file, verbatim from:
61616         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
61617         * manual/lgpl-2.1.texi: New file, verbatim from:
61618         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
61619         * manual/Makefile (licenses): New variable, list those new file names.
61620         (texis): Use it.
61621         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
61623         * manual/fdl.texi: File removed.
61624         * manual/lesser.texi: File removed.
61625         * manual/libc.texinfo (Copying, Documentation License):
61626         Use new @include file names, put @appendix directive before @include.
61628 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
61630         [BZ #12841]
61631         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
61632         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
61633         (mq_open): Add __NTH.
61635 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
61637         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61638         Assume Intel Core i3/i5/i7 processor if AVX is available.
61640 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
61642         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
61643         typo.
61645 2011-05-31  Andreas Schwab  <schwab@redhat.com>
61647         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
61648         memory.  Use alloca_account.  Fix memory leak when retrying.
61650 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
61652         * version.h (RELEASE): Bump for 2.14 release.
61653         * include/features.h (__GLIBC_MINOR__): Bump to 14.
61655         * config.make.in (RANLIB): Remove entry.
61657 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
61659         * po/Makefile (po-sed-cmd): Add ksh to extensions.
61660         (libc.pot): Work around missing support for .ksh extension in xgettext.
61662         [BZ #12684]
61663         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
61664         if both request failed.
61665         (send_dg): In case of server errors clear resplen or *resplen2.
61667         [BZ #12454]
61668         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
61669         when there are multiple maps.
61670         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
61671         (_dl_fini): Remove test here.
61673         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
61675 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
61677         [BZ #12350]
61678         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
61679         bit from old_res_options.
61680         (gaih_inet): Likewise.
61682         [BZ #11099]
61683         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
61684         as signed.
61686         * resolv/res_init.c (res_setoptions): Make the code more compact.
61688         [BZ #11558]
61689         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
61690         set RES_USEVC.
61692         [BZ #11634]
61693         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
61695         * malloc/malloc.h: Mark malloc hook variables as deprecated.
61697         [BZ #11781]
61698         * malloc/malloc.h: Declare malloc hook variables as volatile.
61700         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
61701         in last patch.
61703         [BZ #11799]
61704         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
61705         raise in the comment.
61706         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
61707         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
61708         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
61710 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
61712         [BZ #12811]
61713         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
61714         grow the buffers more if it already has to be sufficient.
61715         (build_wcs_upper_buffer): Likewise.
61716         * posix/regexec.c (check_matching): Likewise.
61717         (clean_state_log_if_needed): Likewise.
61718         (extend_buffers): Don't enlarge buffers beyond size of the input
61719         buffer.
61720         Patches mostly by Emil Wojak <emil@wojak.eu>.
61721         * posix/bug-regex32.c: New file.
61722         * posix/Makefile (tests): Add bug-regex32.
61724         * locale/findlocale.c (_nl_find_locale): Return right away if
61725         _nl_explode_name failed.
61726         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
61728         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
61730         * debug/xtrace.sh: Unify messages.
61731         * malloc/memusage.sh: Likewise.
61733         [BZ #12813]
61734         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
61735         time symbol from vDSO.  Substitute with vsyscall if not available.
61736         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
61737         __vdso_time.
61739         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
61740         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
61741         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
61742         Add sendmmsg and internal_sendmmsg.
61743         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
61744         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
61745         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
61747         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
61748         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
61749         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
61751 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
61753         [BZ #12813]
61754         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
61755         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
61756         available.
61757         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
61758         __vdso_getcpu.
61760         [BZ #12814]
61761         * iconvdata/Makefile (tests): Add bug-iconv9.
61762         * iconvdata/bug-iconv9.c: New file.
61764 2011-05-27  Andreas Schwab  <schwab@redhat.com>
61766         [BZ #12814]
61767         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
61769 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
61771         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
61772         (struct user_regs_struct): Change intcs field back to cs.
61774 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
61776         * po/ja.po: Update from translation team.
61778 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
61780         [BZ #12795]
61781         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
61782         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
61784 2011-05-20  Andreas Schwab  <schwab@redhat.com>
61786         * stdlib/longlong.h: Update from GCC.
61788 2011-05-23  Andreas Schwab  <schwab@redhat.com>
61790         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
61791         parameter name.
61792         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
61793         Add parameter name.
61794         (__sysconf): Pass it down.
61796 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
61798         [BZ #12671]
61799         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
61800         some situations.
61801         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
61802         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
61803         add in in __libc_use_alloca calls.  Adjust callers.
61804         (glob): Use malloc in some situations.
61806         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
61807         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
61808         pltexit.
61810 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
61812         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
61813         and CLOCK_BOOTTIME_ALARM.
61815         [BZ #12782]
61816         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
61817         is returned.
61819         * string/_strerror.c (__strerror_r): Print negative errors as signed
61820         numbers.
61822         [BZ #12777]
61823         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
61824         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
61825         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
61827         * configure.in: Fix typo in redirection and correct removal of test
61828         files in two cases.
61830         [BZ #12788]
61831         * locale/setlocale.c (new_composite_name): Fix test to check for
61832         identical name of all categories.
61834         [BZ #12792]
61835         * libio/filedoalloc.c (local_isatty): New function.
61836         (_IO_file_doallocate): Use local_isatty.
61837         * stdio-common/perror.c (perror): In case a new stream is used
61838         forward the stream error.
61839         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
61840         error flag.
61842 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
61844         [BZ #11869]
61845         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
61846         alloca.
61847         * include/alloca.h (extend_alloca_account): Define.
61849         [BZ #11857]
61850         * posix/regex.h: Fix comments with documentation of user-accessible
61851         fields after compilation and describe correct free'ing of pattern
61852         after re_compile_pattern.
61853         Patch by Reuben Thomas <rrt@sc3d.org>.
61855 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
61857         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
61858         and -mno-altivec to prevent the compiler from using Altivec and/or
61859         VSX instructions when the corresponding registers are not available.
61861 2011-05-19  Andreas Schwab  <schwab@redhat.com>
61863         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
61865 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
61867         * libio/freopen.c (freopen): Use __dup2, not dup2.
61868         * libio/freopen64.c (freopen64): Likewise.
61870 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61872         [BZ #12775]
61873         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
61874         * math/Makefile (tests): Add test-powl.
61875         (CFLAGS-test-powl.c): Define.
61876         * math/test-powl.c: New file.
61878 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61880         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
61882 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
61884         [BZ #11837]
61885         * iconvdata/gb18030.c: Update to GB18020-2005.
61887 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
61889         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
61890         RE_SYNTAX_POSIX_AWK): Update to match recent development.
61891         Patch by Aharon Robbins <arnold@skeeve.com>.
61893         [BZ #11892]
61894         * stdlib/putenv.c (putenv): Don't always create copy of the variable
61895         on the stack.
61897         [BZ #11895]
61898         * misc/pselect.c (__pselect): Handle timeout value errors hidden
61899         through underflows.
61901         [BZ #12766]
61902         * misc/error.c (error_at_line): Ensure file_name and old_file_name
61903         point to strings before performing equality test for error_one_per_line
61904         mode.
61906         [BZ #11697]
61907         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
61909         [BZ #11820]
61910         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
61911         (struct user_fpregs_struct): Avoid __uint*_t types.
61913         [BZ #6420]
61914         * malloc/mtrace.c (tr_where): Add additional parameter to point to
61915         symbol info.  Use it instead of calling _dl_addr locally.
61916         (lock_and_info): New function.
61917         (tr_freehook): Call lock_and_info and pass symbol info as additional
61918         parameter to tr_where.
61919         (tr_mallochook): Likewise.
61920         (tr_reallochook): Likewise.
61921         (tr_memalignhook): Likewise.
61923         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
61924         used and couldn't be at all thread-safe.
61926 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
61928         * libio/freopen.c (freopen): Don't close old file descriptor
61929         before the new one is opened.  Instead dup the new file descriptor
61930         to the old one after the new stream is created.
61931         * libio/freopen64.c (freopen64): Likewise.
61932         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
61933         * libio/fileops.c (_IO_new_file_close_it): Handle new
61934         _IO_FLAGS2_NOCLOSE flag.
61935         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
61936         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
61937         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
61938         _IO_FLAGS2_NOCLOSE flag.
61939         * include/unistd.h: Add hidden_proto for dup3.
61940         Define __have_dup3.
61941         * io/dup3.c: Define hidden symbol.
61942         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
61944         [BZ #7101]
61945         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
61946         when an incomplete long option is used.
61947         * posix/tst-getopt_long1.c: New file.
61948         * posix/Makefile (tests): Add tst-getopt_long1.
61950         [BZ #10138]
61951         * scripts/config.guess: Update from autoconf-2.68.
61952         * scripts/config.sub: Likewise.
61954         [BZ #10157]
61955         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
61956         tests into ...
61957         (has_cpuclock): ...this.  New function.
61958         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
61959         macro here based on has_cpuclock code.
61961         [BZ #10149]
61962         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61963         First byte (not low byte) is now always NUL.
61964         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
61966         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61967         Use non-cancelable interfaces.
61969         [BZ #9809]
61970         * locale/iso-639.def: Add entry for Sorani.
61972         [BZ #11901]
61973         * include/stdlib.h: Move include protection to the right place.
61974         Define abort_msg_s.  Declare __abort_msg with it.
61975         * stdlib/abort.c (__abort_msg): Adjust type.
61976         * assert/assert.c (__assert_fail_base): New function.  Majority
61977         of code from __assert_fail.  Allocate memory for __abort_msg with
61978         mmap.
61979         (__assert_fail): Now call __assert_fail_base.
61980         * assert/assert-perr.c: Remove bulk of implementation.  Use
61981         __assert_fail_base.
61982         * include/assert.hL Declare __assert_fail_base.
61983         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
61984         mmap.
61985         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
61987 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
61989         [BZ #11952]
61990         [BZ #12453]
61991         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
61992         until all modules are registered in the DTV.
61993         * elf/Makefile: Add rules to build and run tst-tls19.
61994         * elf/tst-tls19.c: New file.
61995         * elf/tst-tls19mod1.c: New file.
61996         * elf/tst-tls19mod2.c: New file.
61997         * elf/tst-tls19mod3.c: New file.
61998         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
62000         [BZ #12083]
62001         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
62002         correctly.
62004         [BZ #12601]
62005         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
62006         two-byte sequence errors.
62007         * iconvdata/Makefile (tests): Add bug-iconv8.
62008         * iconvdata/bug-iconv8.c: New file.
62010         [BZ #12626]
62011         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
62012         buf2 definition.
62014         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
62016         [BZ #12432]
62017         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
62018         (dummy_getcfa): New function.
62019         (init): Get _Unwind_GetCFA address, use dummy if not found.
62020         (backtrace_helper): In recursion check, also check whether CFA changes.
62021         (__backtrace): Completely initialize arg.
62023         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
62024         storing incomplete byte sequence in state object.  Avoid testing for
62025         guaranteed too small input if we know there is enough data available.
62027 2011-05-11  Andreas Schwab  <schwab@redhat.com>
62029         * Makeconfig (+link-pie): Indent.
62030         * Rules (binaries-pie): Define if $(have-fpie) and
62031         $(build-shared).
62032         (binaries-shared): Also filter out $(binaries-pie).
62033         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
62034         * nscd/Makefile (others-pie): Add nscd.
62035         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
62036         ($(objpfx)nscd): Remove command override.
62037         * login/Makefile (others-pie): Add pt_chown.
62038         ($(objpfx)pt_chown): Remove command override.
62039         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
62040         remove command overrides.
62042 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
62044         * libio/tst_putwc.c: Fix error messages.
62046         [BZ #12724]
62047         * libio/fileops.c (_IO_new_file_close_it): Always flush when
62048         currently writing and seek to current position when not.
62049         * libio/Makefile (tests): Add bug-fclose1.
62050         * libio/bug-fclose1.c: New file.
62052 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
62054         [BZ #12511]
62055         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
62056         don't set DF_1_NODELETE here.
62057         (do_lookup_x): When entering new entry test for copy relocation
62058         and if necessary set DF_1_NODELETE flag.
62059         * elf/tst-unique4.cc: New file.
62060         * elf/tst-unique4.h: New file.
62061         * elf/tst-unique4lib.cc: New file.
62062         * elf/Makefile: Add rules to build and run tst-unique4.
62063         Patch by Piotr Bury <pbury@goahead.com>.
62065 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
62067         [BZ #12052]
62068         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
62070         [BZ #12625]
62071         * misc/mntent_r.c (addmntent): Flush the stream after the output
62073         [BZ #12393]
62074         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
62075         (is_trusted_path_normalize): Skip initial colon.  Append slash
62076         to empty buffer.  Duplicate is_trusted_path code but allow
62077         constructed patch to be prefix.
62078         (is_dst): Allow $ORIGIN followed by /.
62079         (_dl_dst_substitute): Correct clearing of check_for_trusted.
62080         Correct testing of result of is_trusted_path_normalize
62081         (decompose_rpath): Fix warning.
62083 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
62085         [BZ #11257]
62086         * grp/initgroups.c (internal_getgrouplist): When we found the service
62087         list through the initgroups entry in nsswitch.conf do not always
62088         continue on a successful lookup.  Don't always use the
62089         __nss_group_database value if it is set.
62090         * nss/nsswitch.conf (initgroups): Change action for successful db
62091         lookup to continue for compatibility.
62093 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
62095         [BZ #11532]
62096         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
62097         and CP774 modules.
62098         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
62099         and CP774 modules.
62100         * iconvdata/tst-tables.sh: Likewise.
62101         * iconvdata/cp770.c: New file.
62102         * iconvdata/cp771.c: New file.
62103         * iconvdata/cp772.c: New file.
62104         * iconvdata/cp773.c: New file.
62105         * iconvdata/cp774.c: New file.
62106         * iconvdata/testdata/CP770: New file.
62107         * iconvdata/testdata/CP770..UTF8: New file.
62108         * iconvdata/testdata/CP771: New file.
62109         * iconvdata/testdata/CP771..UTF8: New file.
62110         * iconvdata/testdata/CP772: New file.
62111         * iconvdata/testdata/CP772..UTF8: New file.
62112         * iconvdata/testdata/CP773: New file.
62113         * iconvdata/testdata/CP773..UTF8: New file.
62114         * iconvdata/testdata/CP774: New file.
62115         * iconvdata/testdata/CP774..UTF8: New file.
62117         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
62118         END CHARMAP line.
62119         * iconvdata/gen-8bit-gap.sh: Likewise.
62120         * iconvdata/gen-8bit.sh: Likewise.
62122         * locale/iso-639.def: Add ary entry.
62124         [BZ #11258]
62125         * locale/C-translit.h.in: Add U20A1 transliteration.
62127         [BZ #12178]
62128         * locale/iso-639.def: Add wae entry.
62129         Patch by Kevin Bortis <bortis@translate-wae.ch>.
62131         [BZ #12545]
62132         * locale/programs/localedef.c (construct_output_path): Use ssize_t
62133         for n.
62135         [BZ #12711]
62136         * locale/C-translit.h.in: Add entry for U20B9.
62137         Patch by pravin.d.s@gmail.com.
62139 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
62141         [BZ #12713]
62142         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
62143         ENAMETOOLONG use generic getcwd.
62144         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
62145         in rtld.  Use *stat64.
62146         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
62147         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
62148         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
62149         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
62150         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
62151         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
62152         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
62153         __fstatat64 macros.
62154         * include/dirent.h: Add libc_hidden_proto for rewinddir.
62155         * dirent/rewinddir.c: Add libc_hidden_def.
62156         * sysdeps/mach/hurd/rewinddir.c: Likewise.
62157         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
62159         * include/dirent.h (__alloc_dir): Add flags parameter.
62160         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
62161         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
62162         __alloc_dir.
62163         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
62164         from fdopendir if O_CLOEXEC is already set.
62166 2011-03-15  Alan Modra  <amodra@gmail.com>
62168         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
62169         l_tls_firstbyte_offset non-zero.  Save padding offset in
62170         l_tls_firstbyte_offset for later use.
62171         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
62172         freeing static tls block.
62174 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
62176         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
62177         where #ifdef was intended.  The intent is to prevent ARG_MAX from
62178         being defined by the kernel headers.
62180 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
62182         [BZ #12734]
62183         * resolv/resolv.h: Define RES_NOTLDQUERY.
62184         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
62185         no-tld-query and set RES_NOTLDQUERY.
62186         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
62187         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
62188         modern BIND to search name as TLD unless forbidden.
62190 2011-05-07  Petr Baudis  <pasky@suse.cz>
62191             Ulrich Drepper  <drepper@gmail.com>
62193         [BZ #12393]
62194         * elf/dl-load.c (fillin_rpath): Move trusted path check...
62195         (is_trusted_path): ...to here.
62196         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
62197         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
62198         using is_trusted_path_normalize() in setuid scripts.
62200 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
62202         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
62203         __BEGIN/__END_DECLS.
62205 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
62207         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
62208         NSS_STATUS_NOTFOUND if no record was found.
62210 2011-05-05  Andreas Schwab  <schwab@redhat.com>
62212         * sunrpc/Makefile (headers): Add rpc/netdb.h.
62213         (headers-not-in-tirpc): Remove rpc/netdb.h
62214         * resolv/netdb.h: Revert last change.
62216 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
62218         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
62219         circular dependency between libgcc.a and libc.a.
62221 2011-05-05  Andreas Schwab  <schwab@redhat.com>
62223         * resolv/netdb.h: Don't include <rpc/netdb.h>.
62224         * nis/Makefile: Don't install rpcsvc/*.
62225         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
62226         instead of <rpc/types.h>.
62227         (MAXHOSTNAMELEN): Define.
62229 2011-05-03  Andreas Schwab  <schwab@redhat.com>
62231         * elf/ldconfig.c (add_dir): Don't crash on empty path.
62233 2011-04-28  Maciej Babinski  <mbabinski@google.com>
62235         [BZ #12714]
62236         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
62237         gethostbyname4_r when IPv6 results are possible.
62239 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
62241         [BZ #12723]
62242         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
62243         _PC_PIPE_BUF handling.
62245 2011-04-30  Bruno Haible  <bruno@clisp.org>
62247         [BZ #12717]
62248         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
62249         * resolv/netdb.h (getnameinfo): Change type of flags parameter
62250         to 'int'.
62251         * inet/getnameinfo.c (getnameinfo): Likewise.
62253 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
62255         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
62256         to groups setting in database lookup.
62257         * nss/nsswitch.conf: Add initgroups entry.
62259 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
62261         [BZ #12685]
62262         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
62263         mode string.
62264         Patch by Eric Blake <eblake@redhat.com>.
62266 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
62268         * sunrpc/Makefile (need-export-routines): Add svc_run.
62269         (routines): Remove svc_run.
62270         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
62271         * sunrpc/clnt_perr.c (clnt_perrno): Export.
62272         * sunrpc/svc_run.c (svc_run): Likewise.
62273         * sunrpc/svc_udp.c (svcudp_create): Likewise.
62275 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
62277         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
62278         problem in reallocation in last patch.
62280 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
62282         * sunrpc/Makefile: Move inclusion of Rules.
62284 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
62286         * nss/nss_files/files-initgroups.c: New file.
62287         * nss/Makefile (libnss_files-routines): Add files-initgroups.
62288         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
62289         _nss_files_initgroups_dyn.
62291 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
62293         * elf/elf.h (R_ARM_IRELATIVE): Define.
62295 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
62297         * po/ru.po: Update from translation team.
62299 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
62301         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
62302         dependencies.
62304 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
62306         [BZ #12653]
62307         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
62308         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
62309         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
62310         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
62311         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
62313 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
62315         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
62316         differing bytes.
62317         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
62318         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
62319         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62321 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
62323         [BZ #12420]
62324         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
62325         storing it.
62326         * stdlib/bug-getcontext.c: New file.
62327         * stdlib/Makefile: Add rules to build and run bug-getcontext.
62329 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62331         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
62332         instructions into .machine "z9-109".
62333         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
62334         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
62336 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62338         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
62339         between environment variables and auxiliary vector.
62341 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
62343         * Makefile: Add rules to build linkobj/libc.so.
62344         * include/libc-symbols.h: Define libc_hidden_nolink.
62345         * include/rpc/auth.h: Mark functions which are to be hidden.
62346         * include/rpc/auth_des.h: Likewise.
62347         * include/rpc/auth_unix.h: Likewise.
62348         * include/rpc/clnt.h: Likewise.
62349         * include/rpc/des_crypt.h: Likewise.
62350         * include/rpc/key_prot.h: Likewise.
62351         * include/rpc/pmap_clnt.h: Likewise.
62352         * include/rpc/pmap_prot.h: Likewise.
62353         * include/rpc/pmap_rmt.h: Likewise.
62354         * include/rpc/rpc_msg.h: Likewise.
62355         * include/rpc/svc.h: Likewise.
62356         * include/rpc/svc_auth.h: Likewise.
62357         * include/rpc/xdr.h: Likewise.
62358         * nis/Makefile: Link all DSOs against linkobj/libc.so.
62359         * nss/Makefile: Likewise.
62360         * sunrpc/Makefile: Don't install headers.  Build library with normal
62361         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
62362         * sunrpc/auth_des.c: Hide exported symbols by default, export some
62363         for the compat linking library.  Remove use of INTDEF/INTUSE.
62364         * sunrpc/auth_none.c: Likewise.
62365         * sunrpc/auth_unix.c: Likewise.
62366         * sunrpc/authdes_prot.c: Likewise.
62367         * sunrpc/authuxprot.c: Likewise.
62368         * sunrpc/clnt_gen.c: Likewise.
62369         * sunrpc/clnt_perr.c: Likewise.
62370         * sunrpc/clnt_raw.c: Likewise.
62371         * sunrpc/clnt_simp.c: Likewise.
62372         * sunrpc/clnt_tcp.c: Likewise.
62373         * sunrpc/clnt_udp.c: Likewise.
62374         * sunrpc/clnt_unix.c: Likewise.
62375         * sunrpc/des_crypt.c: Likewise.
62376         * sunrpc/des_soft.c: Likewise.
62377         * sunrpc/get_myaddr.c: Likewise.
62378         * sunrpc/key_call.c: Likewise.
62379         * sunrpc/key_prot.c: Likewise.
62380         * sunrpc/netname.c: Likewise.
62381         * sunrpc/pm_getmaps.c: Likewise.
62382         * sunrpc/pm_getport.c: Likewise.
62383         * sunrpc/pmap_clnt.c: Likewise.
62384         * sunrpc/pmap_prot.c: Likewise.
62385         * sunrpc/pmap_prot2.c: Likewise.
62386         * sunrpc/pmap_rmt.c: Likewise.
62387         * sunrpc/publickey.c: Likewise.
62388         * sunrpc/rpc_cmsg.c: Likewise.
62389         * sunrpc/rpc_common.c: Likewise.
62390         * sunrpc/rpc_dtable.c: Likewise.
62391         * sunrpc/rpc_prot.c: Likewise.
62392         * sunrpc/rpc_thread.c: Likewise.
62393         * sunrpc/rtime.c: Likewise.
62394         * sunrpc/svc.c: Likewise.
62395         * sunrpc/svc_auth.c: Likewise.
62396         * sunrpc/svc_authux.c: Likewise.
62397         * sunrpc/svc_raw.c: Likewise.
62398         * sunrpc/svc_run.c: Likewise.
62399         * sunrpc/svc_simple.c: Likewise.
62400         * sunrpc/svc_tcp.c: Likewise.
62401         * sunrpc/svc_udp.c: Likewise.
62402         * sunrpc/svc_unix.c: Likewise.
62403         * sunrpc/svcauth_des.c: Likewise.
62404         * sunrpc/xcrypt.c: Likewise.
62405         * sunrpc/xdr.c: Likewise.
62406         * sunrpc/xdr_array.c: Likewise.
62407         * sunrpc/xdr_float.c: Likewise.
62408         * sunrpc/xdr_intXX_t.c: Likewise.
62409         * sunrpc/xdr_mem.c: Likewise.
62410         * sunrpc/xdr_rec.c: Likewise.
62411         * sunrpc/xdr_ref.c: Likewise.
62412         * sunrpc/xdr_sizeof.c: Likewise.
62413         * sunrpc/xdr_stdio.c: Likewise.
62415 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
62417         [BZ #12650]
62418         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
62419         * sysdeps/ia64/dl-tls.h: Likewise.
62420         * sysdeps/powerpc/dl-tls.h: Likewise.
62421         * sysdeps/s390/dl-tls.h: Likewise.
62422         * sysdeps/sh/dl-tls.h: Likewise.
62423         * sysdeps/sparc/dl-tls.h: Likewise.
62424         * sysdeps/x86_64/dl-tls.h: Likewise.
62425         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
62427 2011-03-14  Andreas Schwab  <schwab@redhat.com>
62429         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
62430         rpath element also skip the following colon.
62431         (expand_dynamic_string_token): Add is_path parameter and pass
62432         down to DL_DST_REQUIRED and _dl_dst_substitute.
62433         (decompose_rpath): Call expand_dynamic_string_token with
62434         non-zero is_path.  Ignore empty rpaths.
62435         (_dl_map_object_from_fd): Call expand_dynamic_string_token
62436         with zero is_path.
62438 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
62440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
62441         Make cancelable.
62443 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
62445         [BZ #12655]
62446         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
62447         Patch by Filipe David Manana <fdmanana@apache.org>.
62449 2011-04-07  Andreas Schwab  <schwab@redhat.com>
62451         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
62452         Maintain aligned stack.
62453         (CHECK_RSP): Remove unused macro.
62455 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
62457         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
62458         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
62460 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
62462         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
62464         * include/features.h: Mention __USE_XOPEN2K8 in comment.
62466 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
62468         [BZ #12518]
62469         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
62470         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
62471         * sysdeps/x86_64/memmove.c: New file.
62472         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
62473         (memcpy): Renamed to ...
62474         (__new_memcpy): This.
62475         (memcpy): Provide GLIBC_2_14 memcpy.
62476         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
62477         (memcpy): Provide GLIBC_2_2_5 memcpy.
62479 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
62481         [BZ #12631]
62482         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
62484 2011-03-30  Andreas Schwab  <schwab@redhat.com>
62486         * misc/syncfs.c: New file.
62487         * misc/Makefile (routines): Add syncfs.
62488         * posix/unistd.h: Declare syncfs.
62489         * sysdeps/unix/syscalls.list: Add syncfs.
62491 2011-04-01  Andreas Schwab  <schwab@redhat.com>
62493         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
62494         open_by_handle_at.
62495         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
62496         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
62497         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62498         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62499         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62500         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
62501         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62503 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
62505         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
62506         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
62507         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
62508         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62509         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62510         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62511         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62513         * io/Makefile: Compile fallocate.c, fallocate64.c, and
62514         sync_file_range.c with -fexceptions.
62515         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
62516         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
62517         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
62518         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
62519         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
62520         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
62521         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
62522         sync_file_range as cancellation point
62523         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
62524         now a wrapper around __call_sync_file_range with cancellation handling.
62525         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
62526         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
62527         function name to __call_sync_file_range.
62528         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
62529         Add call_sync_file_range.
62531 2011-04-01  Andreas Schwab  <schwab@redhat.com>
62533         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62534         bits/timex.h.
62536 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
62538         * iconv/iconv.h: Fix typo in comment.
62539         * io/fcntl.h: Likewise.
62540         * libio/stdio.h: Likewise.
62541         * posix/spawn.h: Likewise.
62542         * posix/unistd.h: Likewise.
62543         * stdlib/stdlib.h: Likewise.
62544         * time/time.h: Likewise.
62545         * wcsmbs/wchar.h: Likewise.
62547         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
62548         open_by_handle): Add.
62549         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
62550         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
62551         Augment a few comments.
62552         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
62553         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62554         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62555         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62556         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62557         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
62558         open_by_handle.
62560         * io/fcntl.h (AT_EMPTY_PATH): Define.
62562 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
62564         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
62565         * sysdeps/unix/sysv/linux/bits/time.h: New file.
62566         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
62567         to...
62568         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
62569         * Versions.def: Add GLIBC_2.14.
62570         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
62571         Export.
62573 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
62575         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
62576         round counter.
62577         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
62579 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
62581         [BZ #12597]
62582         * string/test-strncmp.c (do_page_test): New function.
62583         (check2): Likewise.
62584         (test_main): Call check2.
62585         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
62587 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
62589         [BZ #12587]
62590         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
62591         Handle cache information in CPU leaf 4.
62592         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
62594 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
62596         [BZ #12583]
62597         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
62598         character representation.
62599         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
62601 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
62603         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
62604         END(__isnan) to END(__isnanf) to match function entry point/label
62605         EALIGN(__isnanf,...).
62607 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
62609         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
62611 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
62613         [BZ #12510]
62614         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
62615         copy from the symbol referenced in the relocation to initialize the
62616         used variable.
62617         Patch by Piotr Bury <pbury@goahead.com>.
62618         * elf/Makefile: Add rules to build and tst-unique3.
62619         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
62620         * elf/tst-unique3.cc: New file.
62621         * elf/tst-unique3.h: New file.
62622         * elf/tst-unique3lib.cc: New file.
62623         * elf/tst-unique3lib2.cc: New file.
62625         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
62627 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
62629         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
62630         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
62631         to _start.
62633 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
62635         * elf/dl-load.c (_dl_map_object): If we are looking for the first
62636         to-be-loaded object along a path to loader is ld.so.
62638 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
62639             Ulrich Drepper  <drepper@gmail.com>
62641         * sysdeps/x86_64/memset.S: After aligning destination, code
62642         branches to different locations depending on the value of
62643         misalignment, when multiarch is enabled. Fix this.
62645 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
62647         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
62648         Set _x86_64_preferred_memory_instruction for AMD processsors.
62649         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62650         Set bit_Prefer_SSE_for_memop for AMD processors.
62652 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
62654         * libio/fmemopen.c (fmemopen): Optimize a bit.
62656 2011-03-03  Andreas Schwab  <schwab@redhat.com>
62658         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
62660 2011-03-03  Roland McGrath  <roland@redhat.com>
62662         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
62664 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
62666         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
62667         __bzero_ultra1 instead of __memset_ultra1.
62669 2011-02-23  Andreas Schwab  <schwab@redhat.com>
62670             Ulrich Drepper  <drepper@gmail.com>
62672         [BZ #12509]
62673         * include/link.h (struct link_map): Add l_orig_initfini.
62674         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
62675         returning unsuccessfully.
62676         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
62677         close of a file loaded at startup, restore the original l_initfini
62678         list.
62679         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
62680         list, store the pointer.
62681         * elf/Makefile ($(objpfx)noload-mem): New rule.
62682         (noload-ENV): Define.
62683         (tests): Add $(objpfx)noload-mem.
62684         * elf/noload.c: Include <memcheck.h>.
62685         (main): Call mtrace.  Close all opened handles.
62687 2011-02-17  Andreas Schwab  <schwab@redhat.com>
62689         [BZ #12454]
62690         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
62691         dependencies are missing.
62693 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62695         Fix __if_freereq crash: Unlike the generic version which uses free,
62696         Hurd needs munmap.
62697         * sysdeps/mach/hurd/ifreq.h: New file.
62699 2011-01-27  Petr Baudis  <pasky@suse.cz>
62700             Ulrich Drepper  <drepper@gmail.com>
62702         [BZ 12445]#
62703         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
62704         to extend_alloca().
62705         * stdio-common/bug23.c: New file.
62706         * stdio-common/Makefile (tests): Add bug23.
62708 2010-09-28  Andreas Schwab  <schwab@redhat.com>
62709             Ulrich Drepper  <drepper@gmail.com>
62711         [BZ #12489]
62712         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
62713         before performing relro protection.  At old place add assertion
62714         to make sure nothing changed.
62716 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
62717             Glauber de Oliveira Costa  <glommer@gmail.com>
62719         * elf/elf.h: Add new ARM TLS relocs.
62721 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
62723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
62724         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
62725         cast from r3.
62726         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
62727         'tests' variable.
62728         * sysdeps/wordsize-64/tst-writev.c: New file.
62730 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
62732         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
62733         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
62734         insns in _dl_start to prevent a TOC reference before relocs are
62735         resolved.
62737 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
62739         [BZ #12469]
62740         * Makeconfig: Remove RANLIB definition.
62741         * Makerules: Don't use RANLIB.
62742         * aclocal.m4: Remove ranlib test.
62743         * configure.in: No need to check for ranlib.
62744         * elf/rtld-Rules: Don't use RANLIB.
62746 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62748         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
62749         protection macro.
62750         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
62751         inclusion protection macro.
62753         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
62754         SIGRTMIN and SIGRTMAX and print information in that case only when
62755         SIGRTMIN is defined.
62757 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
62759         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
62760         arginfo fn returning -1.
62762         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
62763         and thousands string is zero terminated.
62765 2011-02-03  Andreas Schwab  <schwab@redhat.com>
62767         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
62768         sysdeps/unix/sysv/linux/bits/socket.h.
62770 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62772         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
62773         (__CPU_COUNT): Remove old macros.
62774         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
62775         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
62776         (__CPU_ALLOC, __CPU_FREE): Add macros.
62777         (__sched_cpualloc, __sched_cpufree): Add declarations.
62779 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
62781         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
62782         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
62783         * nscd/aicache.c (addhstaiX): Return timeout of added value.
62784         (readdhstai): Return value of addhstaiX call.
62785         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
62786         (addgrbyX): Return value returned by cache_addgr.
62787         (readdgrbyname): Return value returned by addgrbyX.
62788         (readdgrbygid): Likewise.
62789         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
62790         (addpwbyX): Return value returned by cache_addpw.
62791         (readdpwbyname): Return value returned by addhstbyX.
62792         (readdpwbyuid): Likewise.
62793         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
62794         (addservbyX): Return value returned by cache_addserv.
62795         (readdservbyname): Return value returned by addservbyX:
62796         (readdservbyport): Likewise.
62797         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
62798         (addhstbyX): Return value returned by cache_addhst.
62799         (readdhstbyname): Return value returned by addhstbyX.
62800         (readdhstbyaddr): Likewise.
62801         (readdhstbynamev6): Likewise.
62802         (readdhstbyaddrv6): Likewise.
62803         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
62804         (readdinitgroups): Return value returned by addinitgroupsX.
62805         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
62806         (prune_cache): Keep track of timeout value of re-added entries.
62807         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
62808         * nscd/nscd.h: Adjust prototypes of readd* functions.
62810 2011-02-04  Roland McGrath  <roland@redhat.com>
62812         * nis/nis_server.c (nis_servstate): Use the right name for 0.
62813         (nis_stats): Likewise.
62814         * nis/nis_modify.c (nis_modify): Likewise.
62815         * nis/nis_remove.c (nis_remove): Likewise.
62816         * nis/nis_add.c (nis_add): Likewise.
62818         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
62820         * posix/fnmatch_loop.c: Add some consts.
62822         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
62824 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
62826         [BZ #12460]
62827         * config.make.in (config-cflags-novzeroupper): Define.
62828         * configure.in: Substitute libc_cv_cc_novzeroupper.
62829         * elf/Makefile (AVX-CFLAGS): Define.
62830         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
62831         (CFLAGS-tst-auditmod4a.c): Likewise.
62832         (CFLAGS-tst-auditmod4b.c): Likewise.
62833         (CFLAGS-tst-auditmod6b.c): Likewise.
62834         (CFLAGS-tst-auditmod6c.c): Likewise.
62835         (CFLAGS-tst-auditmod7b.c): Likewise.
62836         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
62838 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
62840         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
62841         function to the callback.
62842         Patch partly by Jiri Olsa <jolsa@redhat.com>.
62844 2011-02-02  Andreas Schwab  <schwab@redhat.com>
62846         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
62847         of errno.
62849 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
62851         [BZ #11724]
62852         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
62853         of constructors.
62854         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
62855         of destructors.
62856         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
62858         [BZ #11724]
62859         * elf/Makefile: Add rules to build and run new test.
62860         * elf/tst-initorder.c: New file.
62861         * elf/tst-initorder.exp: New file.
62862         * elf/tst-initordera1.c: New file.
62863         * elf/tst-initordera2.c: New file.
62864         * elf/tst-initordera3.c: New file.
62865         * elf/tst-initordera4.c: New file.
62866         * elf/tst-initorderb1.c: New file.
62867         * elf/tst-initorderb2.c: New file.
62868         * elf/tst-order-a1.c: New file.
62869         * elf/tst-order-a2.c: New file.
62870         * elf/tst-order-a3.c: New file.
62871         * elf/tst-order-a4.c: New file.
62872         * elf/tst-order-b1.c: New file.
62873         * elf/tst-order-b2.c: New file.
62874         * elf/tst-order-main.c: New file.
62875         New test case by George Gensure <werkt0@gmail.com>.
62877 2010-10-01  Andreas Schwab  <schwab@redhat.com>
62879         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
62880         decoding ACE if AI_CANONIDN.
62882 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
62884         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
62886 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
62888         * version.h (RELEASE): Bump for 2.13 release.
62889         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
62891         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
62893         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
62894         MADV_NOHUGEPAGE.
62895         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
62896         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
62897         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
62898         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
62899         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
62900         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
62902         * posix/getconf.c: Update copyright year.
62903         * catgets/gencat.c: Likewise.
62904         * csu/version.c: Likewise.
62905         * debug/catchsegv.sh: Likewise.
62906         * debug/xtrace.sh: Likewise.
62907         * elf/ldconfig.c: Likewise.
62908         * elf/ldd.bash.in: Likewise.
62909         * elf/sprof.c (print_version): Likewise.
62910         * iconv/iconv_prog.c: Likewise.
62911         * iconv/iconvconfig.c: Likewise.
62912         * locale/programs/locale.c: Likewise.
62913         * locale/programs/localedef.c: Likewise.
62914         * malloc/memusage.sh: Likewise.
62915         * malloc/mtrace.pl: Likewise.
62916         * nscd/nscd.c (print_version): Likewise.
62917         * nss/getent.c: Likewise.
62919         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
62920         PF_CAIF, and PF_ALG.
62921         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
62923 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
62925         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
62926         (modules-names): Use them.
62927         (ifunc-test-modules, ifunc-pie-tests): Define.
62928         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
62929         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
62930         (test-extras): Likewise.
62931         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
62932         $(compile-command.c).
62933         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
62934         (all-built-dso): Define.
62935         (check-textrel.out, check-execstack.out): Depend on it.
62937         * configure.in: Don't override --enable-multi-arch.
62939 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
62941         [BZ #6812]
62942         * nscd/hstcache.c (tryagain): Define.
62943         (cache_addhst): Return tryagain not notfound for temporary errors.
62944         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
62945         failed.
62947 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
62949         [BZ #10563]
62950         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
62951         to make the syscall.
62952         * sysdeps/unix/sysv/linux/setgroups.c: New file.
62954         [BZ #12378]
62955         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
62956         and fall back to matching as normal character if the string ends before
62957         the matching ']' is found.  This is what POSIX requires.
62958         * posix/testfnm.c: Adjust test result.
62959         * posix/globtest.sh: Adjust test result.  Add new test.
62960         * posix/tst-fnmatch.input: Likewise.
62961         * posix/tst-fnmatch2.c: Add new test.
62963 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
62965         * elf/Makefile (check-execstack): Revert last change.  Depend on
62966         check-execstack.h.
62967         (check-execstack.h): New target.
62968         (generated): Add check-execstack.h.
62969         * elf/check-execstack.c: Include "check-execstack.h".
62970         (main): Revert last change.
62971         (handle_file): Return zero if GNU_STACK is absent and
62972         DEFAULT_STACK_PERMS doesn't include PF_X.
62974 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
62976         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
62977         in child fails because the descriptor is already closed.
62978         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
62979         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
62980         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
62982         [BZ #12397]
62983         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
62984         syscall.
62986         [BZ #10484]
62987         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
62988         temporary buffer used to handle multi lookups locally.
62989         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
62991 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
62993         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
62994         loader is ld.so.
62996 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
62998         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
62999         alignment for SSE2.
63001 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
63003         [BZ #12394]
63004         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
63005         characters.  When rounding increased number of integer digits recompute
63006         number of groups.
63007         * stdio-common/tst-grouping.c: New file.
63008         * stdio-common/Makefile: Add rules to build and run tst-grouping.
63010 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
63012         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
63013         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
63015         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
63016         void.
63017         * bits/select.h: Likewise.
63019 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
63021         * po/ja.po: Update from translation team.
63023 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
63025         [BZ #11155]
63026         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
63027         implementation just like for lxstat, fxstatat, et al.
63029 2010-12-27  Jim Meyering  <meyering@redhat.com>
63031         [BZ #12348]
63032         * posix/regexec.c (build_trtable): Return failure indication upon
63033         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
63035 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
63037         [BZ #12201]
63038         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
63039         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
63040         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
63041         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
63043         [BZ #12207]
63044         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
63046         [BZ #12204]
63047         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
63048         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
63050 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
63052         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
63053         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
63054         script has SORT_BY_INIT_PRIORITY.
63055         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
63056         NO_CTORS_DTORS_SECTIONS is defined.
63057         * elf/soinit.c: Likewise.
63058         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
63059         NO_CTORS_DTORS_SECTIONS is defined.
63060         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
63061         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
63062         * sysdeps/sh/init-first.c: Likewise.
63063         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
63065 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
63067         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
63068         always use the slow path.
63070 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
63072         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
63073         similar rule which adds the sysdep directories to the header search in
63074         order to pick up the correct platform stackinfo.h.
63075         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
63076         perform test if it is, otherwise return successfully without testing.
63077         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
63078         DEFAULT_STACK_PERMS define in stackinfo.h.
63079         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
63080         defined in stackinfo.h.
63081         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
63082         DEFAULT_STACK_PERMS defined in stackinfo.h.
63083         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
63084         * sysdeps/ia64/stackinfo.h: Likewise.
63085         * sysdeps/s390/stackinfo.h: Likewise.
63086         * sysdeps/sh/stackinfo.h: Likewise.
63087         * sysdeps/sparc/stackinfo.h: Likewise.
63088         * sysdeps/x86_64/stackinfo.h: Likewise.
63089         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
63090         PF_X for powerpc64.  Retain PF_X for powerpc32.
63092 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
63094         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
63095         accurately.
63096         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
63097         GETDENTS_64BIT_ALIGNED.
63099 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
63101         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
63103 2010-12-10  Andreas Schwab  <schwab@redhat.com>
63105         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
63106         _GNU_SOURCE.
63108         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
63109         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
63110         Remove __restrict.
63111         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
63112         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
63114 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
63116         [BZ #11655]
63117         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
63118         are initialized.
63120 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
63122         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
63124 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
63126         * po/it.po: Update from translation team.
63128 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
63130         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
63131         unused codes.
63133 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
63135         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
63137 2010-11-24  Andreas Schwab  <schwab@redhat.com>
63139         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
63140         specially.
63141         (gaih_getanswer_slice): Likewise.
63143 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
63145         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
63147 2010-05-31  Petr Baudis  <pasky@suse.cz>
63149         [BZ #11149]
63150         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
63151         silently even in the chroot mode.
63153 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
63155         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
63156         last patch a bit.  Pretty printing
63158 2010-05-31  Petr Baudis <pasky@suse.cz>
63160         [BZ #10085]
63161         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
63162         initialization of skip_initgroups_dyn.
63164 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
63166         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
63167         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
63169 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
63171         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
63173 2010-11-11  Andreas Schwab  <schwab@redhat.com>
63175         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
63176         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
63177         (tst-fnmatch-ENV): Set MALLOC_TRACE.
63178         ($(objpfx)tst-fnmatch-mem): New rule.
63179         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
63180         * posix/tst-fnmatch.c (main): Call mtrace.
63182 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
63184         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63185         Support Intel processor model 6 and model 0x2c.
63187 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
63189         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
63190           signed comparison.
63192 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
63194         [BZ #12205]
63195         * string/test-strncasecmp.c (check_result): New function.
63196         (do_one_test): Use it.
63197         (check1): New function.
63198         (test_main): Use it.
63199         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
63200         Support strcasecmp and strncasecmp.
63202 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
63204         [BZ #12194]
63205         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
63206         * sysdeps/x86_64/bits/byteswap.h: Likewise.
63208 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
63210         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
63211         IFUNC support.
63212         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63213         memset-x86-64.
63214         * sysdeps/x86_64/multiarch/bzero.S: New file.
63215         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
63216         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
63217         * sysdeps/x86_64/multiarch/memset.S: New file.
63218         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
63219         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63220         Set bit_Prefer_SSE_for_memop for Intel processors.
63221         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
63222         Define.
63223         (index_Prefer_SSE_for_memop): Define.
63224         (HAS_PREFER_SSE_FOR_MEMOP): Define.
63226 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
63228         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
63229         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
63231 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
63233         [BZ #12191]
63234         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
63235         (__x86_64_raw_data_cache_size_half): Likewise.
63236         (__x86_64_raw_shared_cache_size): Likewise.
63237         (__x86_64_raw_shared_cache_size_half): Likewise.
63239         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
63240         (__x86_64_raw_data_cache_size_half): Likewise.
63241         (__x86_64_raw_shared_cache_size): Likewise.
63242         (__x86_64_raw_shared_cache_size_half): Likewise.
63243         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
63244         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
63245         and __x86_64_raw_shared_cache_size_half.  Round
63246         __x86_64_data_cache_size_half, __x86_64_data_cache_size
63247         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
63248         to multiple of 256 bytes.
63250 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
63252         [BZ #12167]
63253         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
63254         of inacessible symlinks.  Verify result of symlink before returning it.
63255         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
63256         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
63258 2010-10-28  Erich Ritz  <erichritz@gmail.com>
63260         * math/math.h (isinf): Fix typo in comment.
63262 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
63264         * po/da.po: Update from translation team.
63266 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
63268         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
63269         is added to the list.
63271 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63272             Ulrich Drepper  <drepper@gmail.com>
63274         * elf/dl-object.c (_dl_new_object): Don't append the new object to
63275         the global list here.  Move code to...
63276         (_dl_add_to_namespace_list): ...here.  New function.
63277         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
63278         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
63279         * elf/dl-load.c (lose): Don't remove the element from the list.
63280         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
63281         (_dl_map_object): Likewise.
63283 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
63285         [BZ #12159]
63286         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
63287         into all bytes of SSE register.
63288         Patch by Richard Li <richardpku@gmail.com>.
63290 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
63292         [BZ #12140]
63293         * malloc/malloc.c (_int_free): Fill correct number of bytes when
63294         perturbing.
63296 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
63298         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
63299         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
63300         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
63301         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
63302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
63303         submachine.
63304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
63306 2010-10-22  Andreas Schwab  <schwab@redhat.com>
63308         * include/dlfcn.h (__RTLD_SECURE): Define.
63309         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
63310         mode & __RTLD_SECURE instead.
63311         (open_path): Rename preloaded parameter to secure.
63312         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
63313         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
63314         * elf/dl-deps.c (openaux): Likewise.
63315         * elf/rtld.c (struct map_args): Remove is_preloaded.
63316         (map_doit): Don't use it.
63317         (dl_main): Likewise.
63318         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
63319         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
63321 2010-09-09  Andreas Schwab  <schwab@redhat.com>
63323         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
63324         (sysd-rules-targets): Remove duplicates.
63325         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
63326         rtld-%.$o dependency.
63328 2010-10-18  Andreas Schwab  <schwab@redhat.com>
63330         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
63331         _dl_map_object do it.
63333 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
63335         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
63336         fast fma builtins, define the macros in the C99 standard.
63337         (FP_FAST_FMAF): Likewise.
63338         (FP_FAST_FMAL): Likewise.
63339         * sysdeps/x86_64/bits/mathdef.h: Likewise.
63341         * bits/mathdef.h: Update copyright year.
63342         * sysdeps/powerpc/bits/mathdef.h: Likewise.
63344 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
63346         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
63347         builtins, define the macros in the C99 standard.
63348         (FP_FAST_FMAF): Likewise.
63349         (FP_FAST_FMAL): Likewise.
63350         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
63351         multiply/add.
63352         (FP_FAST_FMAF): Likewise.
63354 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
63356         [BZ #3268]
63357         * math/libm-test.inc (fma_test): Some new testcases.
63358         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
63359         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
63360         y and infinite z.  Do multiplication by C already in long double.
63361         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
63362         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
63363         y and infinite z.  Do bitwise or of inexact bit into u.d.
63364         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
63365         * sysdeps/i386/fpu/s_fmaf.S: Removed.
63366         * sysdeps/i386/fpu/s_fma.S: Removed.
63367         * sysdeps/i386/fpu/s_fmal.S: Removed.
63369 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
63371         [BZ #3268]
63372         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
63373         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
63374         computation is not scheduled after fetestexcept.  Fix value
63375         of minimum denormal long double.
63377 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
63379         [BZ #3268]
63380         * math/libm-test.inc (fma_test): Add some more tests.
63381         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
63382         correctly.
63384 2010-10-15  Andreas Schwab  <schwab@redhat.com>
63386         * scripts/data/localplt-s390-linux-gnu.data: New file.
63387         * scripts/data/localplt-s390x-linux-gnu.data: New file.
63389 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
63391         [BZ #3268]
63392         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
63393         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
63394         instead of dbl-64.
63395         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
63396         inlines.
63397         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
63398         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
63399         if one of x and y is very large and the other is subnormal.
63400         * sysdeps/s390/fpu/s_fmaf.c: New file.
63401         * sysdeps/s390/fpu/s_fma.c: New file.
63402         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
63403         * sysdeps/powerpc/fpu/s_fma.S: New file.
63404         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
63405         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
63406         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
63408 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
63410         [BZ #3268]
63411         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
63412         fma tests.
63413         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
63414         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
63415         * sysdeps/i386/i686/multiarch/s_fma.c: Include
63416         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
63417         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
63418         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
63419         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
63421 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
63423         [BZ #12078]
63424         * posix/regcomp.c (parse_branch): One more memory leak plugged.
63425         * posix/bug-regex31.input: Add test case.
63427 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
63429         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
63430         * posix/bug-regex31.input: New file.
63432         [BZ #12078]
63433         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
63434         (parse_sub_exp): Fix last change, use postorder.
63436         * posix/bug-regex31.c: New file.
63437         * posix/Makefile: Add rules to build and run bug-regex31.
63439         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
63441         [BZ #12078]
63442         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
63444         [BZ #12108]
63445         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
63446         to have entries in sys_siglist.
63448         [BZ #12093]
63449         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
63450         be NULL.
63452 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
63454         [BZ #3268]
63455         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
63456         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
63457         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
63458         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
63459         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
63460         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
63461         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
63462         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
63463         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
63464         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
63465         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
63466         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
63467         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
63468         * math/ftestexcept.c (fetestexcept): Likewise.
63469         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
63470         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
63471         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
63472         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
63473         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
63474         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
63475         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
63477 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
63479         [BZ #12107]
63480         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
63481         newline.
63483 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
63485         * string/bug-strstr1.c: New file.
63486         * string/Makefile: Add rules to build and run bug-strstr1.
63488 2010-10-05  Eric Blake  <eblake@redhat.com>
63490         [BZ #12092]
63491         * string/str-two-way.h (two_way_long_needle): Always clear memory
63492         when skipping input due to the shift table.
63494 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
63496         [BZ #12005]
63497         * malloc/mcheck.c: Handle large requests.
63499         [BZ #12077]
63500         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
63501         for strncmp and strncasecmp.
63502         * string/stratcliff.c: Add tests for strcmp and strncmp.
63503         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
63505 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63507         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
63508         __set_fpscr.
63510 2010-09-30  Andreas Jaeger  <aj@suse.de>
63512         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
63513         (CGROUP_SUPER_MAGIC): Define.
63514         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63515         Handle btrfs and cgroup file systems.
63516         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
63517         Likewise.
63519 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
63521         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
63522         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
63524 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63526         [BZ #12067]
63527         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
63528         trying to locate the ELF header.
63530 2010-09-27  Andreas Schwab  <schwab@redhat.com>
63532         [BZ #11611]
63533         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
63534         Mask out sign-bit copies when constructing f_fsid.
63536 2010-09-24  Petr Baudis <pasky@suse.cz>
63538         * debug/stack_chk_fail_local.c: Add missing licence exception.
63539         * debug/warning-nop.c: Likewise.
63541 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
63543         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
63544         implementing getdents64 using getdents syscall, set d_type if
63545         __ASSUME_GETDENTS32_D_TYPE.
63547 2010-09-16  Andreas Schwab  <schwab@redhat.com>
63549         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
63550         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
63552 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
63554         [BZ #12037]
63555         * posix/unistd.h: Undo change of feature selection for ftruncate from
63556         2010-01-11.
63558 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
63560         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
63561         detection.
63563 2010-09-20  Andreas Schwab  <schwab@redhat.com>
63565         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
63566         fanotify_mark.
63567         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
63569 2010-09-14  Andreas Schwab  <schwab@redhat.com>
63571         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
63572         variables after CHECK_SP call.
63573         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
63575 2010-09-13  Andreas Schwab  <schwab@redhat.com>
63576             Ulrich Drepper  <drepper@redhat.com>
63578         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
63579         re-relocationg ld.so.
63580         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
63581         _dl_init_paths call.
63582         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
63583         here anymore.
63585 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
63587         * resolv/res_init.c (__res_vinit): Count the default server we added.
63589 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
63590             Ulrich Drepper  <drepper@redhat.com>
63592         [BZ #11968]
63593         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
63594         (____longjmp_chk): Use %ebx for saving value across system call.
63595         Add unwind info.
63597 2010-09-06  Andreas Schwab  <schwab@redhat.com>
63599         * manual/Makefile: Don't mix pattern rules with normal rules.
63601 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
63603         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
63604         operation.
63605         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
63606         * libio/iofopncook.c (_IO_cookie_init): Likewise.
63607         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
63608         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
63609         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
63610         Likewise.
63612 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
63614         [BZ #11979]
63615         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
63616         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
63618 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
63620         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
63621         * sysdeps/x86_64/addmul_1.S: Likewise.
63622         * sysdeps/x86_64/lshift.S: Likewise.
63623         * sysdeps/x86_64/mul_1.S: Likewise.
63624         * sysdeps/x86_64/rshift.S: Likewise.
63625         * sysdeps/x86_64/sub_n.S: Likewise.
63626         * sysdeps/x86_64/submul_1.S: Likewise.
63628 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63630         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
63631         Define __sched_param instead of SCHED_* and sched_param when
63632         <bits/sched.h> is included with __need_schedparam defined.
63633         * bits/sched.h [__need_schedparam]
63634         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
63635         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
63636         (__defined_schedparam): Define to 1.
63637         (__sched_param): New structure, identical to sched_param.
63638         (__need_schedparam): Undefine.
63640 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
63642         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
63643         (epoll_create1): Declare.
63645         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
63647 2010-08-31  Andreas Schwab  <schwab@redhat.com>
63649         [BZ #7066]
63650         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
63651         shifting retval into place.
63653 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
63655         * nis/rpcsvc/nis.h: Update copyright notice.
63656         * nis/rpcsvc/nis.x: Likewise.
63657         * nis/rpcsvc/nis_callback.h: Likewise.
63658         * nis/rpcsvc/nis_callback.x: Likewise.
63659         * nis/rpcsvc/nis_object.x: Likewise.
63660         * nis/rpcsvc/nis_tags.h: Likewise.
63661         * nis/rpcsvc/yp.h: Likewise.
63662         * nis/rpcsvc/yp.x: Likewise.
63663         * nis/rpcsvc/ypupd.h: Likewise.
63664         * nis/yp_xdr.c: Likewise.
63665         * nis/ypupdate_xdr.c: Likewise.
63667         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
63668         mainly the body of pmap_getport.  Add parameters to specify timeouts.
63669         (pmap_getport): Use __libc_rpc_getport.
63670         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
63671         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
63672         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
63674 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
63676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
63677         fanotify_mark.
63679 2010-08-27  Roland McGrath  <roland@redhat.com>
63681         * sysdeps/i386/i686/multiarch/Makefile
63682         (CFLAGS-varshift.c): New variable.
63684 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
63686         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
63687         * sysdeps/i386/i686/multiarch/varshift.c: New file.
63689         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
63691         * sysdeps/x86_64/strlen.S: Minimal code improvement.
63693 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
63695         * sysdeps/x86_64/strlen.S: Unroll the loop.
63696         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63697         strlen-sse2 strlen-sse2-bsf.
63698         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
63699         __strlen_no_bsf if bit_Slow_BSF is set.
63700         (__strlen_sse42): Removed.
63701         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
63702         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
63704 2010-08-25  Roland McGrath  <roland@redhat.com>
63706         * sysdeps/x86_64/multiarch/varshift.S: File removed.
63707         * sysdeps/x86_64/multiarch/varshift.c: New file.
63708         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
63709         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
63710         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
63711         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
63713 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
63715         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63716         strlen-sse2 strlen-sse2-bsf.
63717         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
63718         __strlen_sse2_bsf if bit_Slow_BSF is unset.
63719         (__strlen_sse2): Removed.
63720         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
63721         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
63722         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
63723         bit_Slow_BSF for Atom.
63724         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
63725         (index_Slow_BSF): Define.
63726         (HAS_SLOW_BSF): Define.
63728 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
63730         [BZ #10851]
63731         * resolv/res_init.c (__res_vinit): When no server address at all
63732         is given default to loopback.
63734 2010-08-24  Roland McGrath  <roland@redhat.com>
63736         * configure.in: Remove config-name.h generation.
63737         * configure: Regenerated.
63738         * config-name.in: File removed.
63739         * scripts/config-uname.sh: New file.
63740         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
63741         ($(objdir)config-name.h): New target.
63743         * sunrpc/rpc_parse.h: Avoid nested comment.
63745 2010-08-24  Richard Henderson  <rth@redhat.com>
63746             Ulrich Drepper  <drepper@redhat.com>
63747             H.J. Lu  <hongjiu.lu@intel.com>
63749         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
63750         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
63751         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
63752         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
63753         _mm_alignr_epi8 with _mm_loadu_si128.
63754         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
63755         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
63756         (__m128i_shift_right): Removed.
63757         * sysdeps/i386/i686/multiarch/varshift.h: New file.
63758         * sysdeps/i386/i686/multiarch/varshift.S: New file.
63759         * sysdeps/x86_64/multiarch/varshift.h: New file.
63760         * sysdeps/x86_64/multiarch/varshift.S: New file.
63762 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
63764         * configure.in: Move assembler checks to before sysdep dir checking.
63766 2010-08-20  Petr Baudis  <pasky@suse.cz>
63768         * LICENSES: Sync the sunrpc license.
63770 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
63772         * sunrpc/auth_des.c: Update copyright notice once again.
63773         * sunrpc/auth_none.c: Likewise.
63774         * sunrpc/auth_unix.c: Likewise.
63775         * sunrpc/authdes_prot.c: Likewise.
63776         * sunrpc/authuxprot.c: Likewise.
63777         * sunrpc/bindrsvprt.c: Likewise.
63778         * sunrpc/clnt_gen.c: Likewise.
63779         * sunrpc/clnt_perr.c: Likewise.
63780         * sunrpc/clnt_raw.c: Likewise.
63781         * sunrpc/clnt_simp.c: Likewise.
63782         * sunrpc/clnt_tcp.c: Likewise.
63783         * sunrpc/clnt_udp.c: Likewise.
63784         * sunrpc/clnt_unix.c: Likewise.
63785         * sunrpc/des_crypt.c: Likewise.
63786         * sunrpc/des_soft.c: Likewise.
63787         * sunrpc/get_myaddr.c: Likewise.
63788         * sunrpc/getrpcport.c: Likewise.
63789         * sunrpc/key_call.c: Likewise.
63790         * sunrpc/key_prot.c: Likewise.
63791         * sunrpc/openchild.c: Likewise.
63792         * sunrpc/pm_getmaps.c: Likewise.
63793         * sunrpc/pm_getport.c: Likewise.
63794         * sunrpc/pmap_clnt.c: Likewise.
63795         * sunrpc/pmap_prot.c: Likewise.
63796         * sunrpc/pmap_prot2.c: Likewise.
63797         * sunrpc/pmap_rmt.c: Likewise.
63798         * sunrpc/rpc/auth.h: Likewise.
63799         * sunrpc/rpc/auth_unix.h: Likewise.
63800         * sunrpc/rpc/clnt.h: Likewise.
63801         * sunrpc/rpc/des_crypt.h: Likewise.
63802         * sunrpc/rpc/key_prot.h: Likewise.
63803         * sunrpc/rpc/netdb.h: Likewise.
63804         * sunrpc/rpc/pmap_clnt.h: Likewise.
63805         * sunrpc/rpc/pmap_prot.h: Likewise.
63806         * sunrpc/rpc/pmap_rmt.h: Likewise.
63807         * sunrpc/rpc/rpc.h: Likewise.
63808         * sunrpc/rpc/rpc_des.h: Likewise.
63809         * sunrpc/rpc/rpc_msg.h: Likewise.
63810         * sunrpc/rpc/svc.h: Likewise.
63811         * sunrpc/rpc/svc_auth.h: Likewise.
63812         * sunrpc/rpc/types.h: Likewise.
63813         * sunrpc/rpc/xdr.h: Likewise.
63814         * sunrpc/rpc_clntout.c: Likewise.
63815         * sunrpc/rpc_cmsg.c: Likewise.
63816         * sunrpc/rpc_common.c: Likewise.
63817         * sunrpc/rpc_cout.c: Likewise.
63818         * sunrpc/rpc_dtable.c: Likewise.
63819         * sunrpc/rpc_hout.c: Likewise.
63820         * sunrpc/rpc_main.c: Likewise.
63821         * sunrpc/rpc_parse.c: Likewise.
63822         * sunrpc/rpc_parse.h: Likewise.
63823         * sunrpc/rpc_prot.c: Likewise.
63824         * sunrpc/rpc_sample.c: Likewise.
63825         * sunrpc/rpc_scan.c: Likewise.
63826         * sunrpc/rpc_scan.h: Likewise.
63827         * sunrpc/rpc_svcout.c: Likewise.
63828         * sunrpc/rpc_tblout.c: Likewise.
63829         * sunrpc/rpc_util.c: Likewise.
63830         * sunrpc/rpc_util.h: Likewise.
63831         * sunrpc/rpcinfo.c: Likewise.
63832         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
63833         * sunrpc/rpcsvc/key_prot.x: Likewise.
63834         * sunrpc/rpcsvc/klm_prot.x: Likewise.
63835         * sunrpc/rpcsvc/mount.x: Likewise.
63836         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
63837         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
63838         * sunrpc/rpcsvc/rex.x: Likewise.
63839         * sunrpc/rpcsvc/rstat.x: Likewise.
63840         * sunrpc/rpcsvc/rusers.x: Likewise.
63841         * sunrpc/rpcsvc/sm_inter.x: Likewise.
63842         * sunrpc/rpcsvc/spray.x: Likewise.
63843         * sunrpc/rpcsvc/yppasswd.x: Likewise.
63844         * sunrpc/rtime.c: Likewise.
63845         * sunrpc/svc.c: Likewise.
63846         * sunrpc/svc_auth.c: Likewise.
63847         * sunrpc/svc_authux.c: Likewise.
63848         * sunrpc/svc_raw.c: Likewise.
63849         * sunrpc/svc_run.c: Likewise.
63850         * sunrpc/svc_simple.c: Likewise.
63851         * sunrpc/svc_tcp.c: Likewise.
63852         * sunrpc/svc_udp.c: Likewise.
63853         * sunrpc/svc_unix.c: Likewise.
63854         * sunrpc/svcauth_des.c: Likewise.
63855         * sunrpc/xcrypt.c: Likewise.
63856         * sunrpc/xdr.c: Likewise.
63857         * sunrpc/xdr_array.c: Likewise.
63858         * sunrpc/xdr_float.c: Likewise.
63859         * sunrpc/xdr_mem.c: Likewise.
63860         * sunrpc/xdr_rec.c: Likewise.
63861         * sunrpc/xdr_ref.c: Likewise.
63862         * sunrpc/xdr_sizeof.c: Likewise.
63863         * sunrpc/xdr_stdio.c: Likewise.
63865         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
63866         handling.
63868 2010-08-19  Andreas Schwab  <schwab@redhat.com>
63870         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
63872 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
63874         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
63875         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
63876         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
63877         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
63878         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
63879         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
63880         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
63881         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
63882         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
63883         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
63884         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
63885         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
63886         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
63887         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
63889 2010-07-26  Anton Blanchard  <anton@samba.org>
63891         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
63892         * malloc/arena.c (heap_trim): Likewise.
63894 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
63896         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
63897         here.  Not...
63898         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
63899         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
63901 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
63903         * sysdeps/i386/elf/Makefile: New file.
63905 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
63907         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
63908         from fanotify_init.
63909         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
63910         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
63912 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
63914         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
63915         of strncasecmp_l.
63916         * sysdeps/multiarch/strcmp.S: Likewise.
63918 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
63920         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
63921         strncase_l-nonascii.
63922         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
63923         Add strncase_l-ssse3.
63924         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
63925         * sysdeps/x86_64/strcmp.S: Likewise.
63926         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
63927         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
63928         * sysdeps/x86_64/strncase.S: New file.
63929         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
63930         * sysdeps/x86_64/strncase_l.S: New file.
63931         * string/Makefile (strop-tests): Add strncasecmp.
63932         * string/test-strncasecmp.c: New file.
63934         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
63935         warning.
63937         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
63938         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
63940 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
63942         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
63944 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
63946         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
63947         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
63948         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
63950 2010-05-01  Alan Modra  <amodra@gmail.com>
63952         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
63953         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
63954         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
63955         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
63956         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
63957         tidying.  Don't tail-call __sigjmp_save for static lib.
63958         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
63959         save location.
63960         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
63961         (CALL_MCOUNT): Add eh info, and nop after bl.
63962         (TAIL_CALL_SYSCALL_ERROR): New macro.
63963         (PSEUDO_RET): Use it.
63964         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
63965         Correct save location of integer regs and cr.
63966         (_dl_profile_resolve): Correct cr save location.  Delete nops
63967         after bl when SHARED.  Reduce cfi size a little by better
63968         placement of cfi directives.
63969         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
63970         make a stack frame.  Instead use parm save area as a temp.
63971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
63972         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
63973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
63974         Don't make a stack frame for parent, use parm save area.
63975         Increase child stack frame to 112 bytes.  Don't save unused reg,
63976         and adjust reg usage.  Set up cfi on error recovery and
63977         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
63978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
63979         (__makecontext): Add dummy nop after jump to exit.
63980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
63981         Use correct parm save area and cr save, reduce stack frame.
63982         Correct cfi for possible PSEUDO_RET frame setup.
63983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
63984         Branch to local label emitted by PSEUDO_RET rather than
63985         __syscall_error.
63987 2010-08-12  Andreas Schwab  <schwab@redhat.com>
63989         [BZ #11904]
63990         * locale/programs/locale.c (print_assignment): New function.
63991         (show_locale_vars): Use it.
63993 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
63995         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
63996         field.
63997         (struct statfs64): Likewise.
63998         (_STATFS_F_FLAGS): Define.
63999         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
64000         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
64001         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
64002         (ST_VALID): Define locally.
64003         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
64004         __statvfs_getflags, use the provided value.
64005         * sysdeps/unix/sysv/linux/kernel-features.h: Define
64006         __ASSUME_STATFS_F_FLAGS.
64008         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
64010         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
64011         Add sys/fanotify.h.
64012         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
64013         fanotify_mask for GLIBC_2.13.
64014         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
64015         fanotify_init and fanotify_mark.
64016         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
64017         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
64019         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
64020         Add prlimit.
64021         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
64022         prlimit64 for GLIBC_2.13.
64023         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
64024         prlimit64.
64025         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
64026         syscall.
64027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
64028         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
64029         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
64030         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
64031         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
64032         add prlimit alias.
64033         * sysdeps/unix/sysv/linux/prlimit.c: New file.
64035         [BZ #11903]
64036         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
64037         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
64039         * nss/Makefile: Add rules to build and run tst-nss-test1.
64040         * shlib-versions: Add entry for libnss_test1.
64041         * nss/nss_test1.c: New file.
64042         * nss/tst-nss-test1.c: New file.
64044         * nss/nsswitch.c (__nss_database_custom): Define new variable.
64045         (__nss_configure_lookup): Set appropriate entry in
64046         __nss_configure_lookup to true.
64047         * nss/nsswitch.h: Define enum with indeces of databases in
64048         databases and __nss_database_custom arrays.  Declare
64049         __nss_database_custom.
64050         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
64051         to avoid using nscd when custom rules are installed.
64052         * nss/getXXbyYY_r.c: Likewise.
64053         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
64055         * nss/nss_files/files-parse.c: Whitespace fixes.
64057 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
64059         [BZ #11883]
64060         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
64061         * posix/fnmatch_loop.c: Likewise.
64063 2010-07-17  Andi Kleen  <ak@linux.intel.com>
64065         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
64066         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
64067         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
64068         * Versions.def [GLIBC_2.13]: Add.
64070 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
64072         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
64073         Also fail if tpwd after pwuid call is NULL.
64075 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64077         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
64078         when converting to ms.
64080 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64082         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
64083         EOPNOTSUPP errors with ENOTTY.
64084         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
64085         EOPNOTSUPP errors with ENOTTY.
64087 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
64089         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
64090         Add strcasecmp_l-ssse3.
64091         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
64092         strcasecmp.
64093         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
64094         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
64095         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
64097 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
64099         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
64101         * string/Makefile (strop-tests): Add strcasecmp.
64102         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
64103         strcasecmp_l-nonascii.
64104         (gen-as-const-headers): Add locale-defines.sym.
64105         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
64106         * sysdeps/x86_64/strcasecmp.S: New file.
64107         * sysdeps/x86_64/strcasecmp_l.S: New file.
64108         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
64109         * sysdeps/x86_64/locale-defines.sym: New file.
64110         * string/test-strcasecmp.c: New file.
64112         * string/test-strcasestr.c: Test both ends of the range of characters.
64113         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
64115 2010-07-29  Roland McGrath  <roland@redhat.com>
64117         [BZ #11856]
64118         * manual/locale.texi (Yes-or-No Questions): Fix example code.
64120 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
64122         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
64123         for ld.so.
64125 2010-07-27  Andreas Schwab  <schwab@redhat.com>
64127         * manual/memory.texi (Malloc Tunable Parameters): Document
64128         M_PERTURB.
64130 2010-07-26  Roland McGrath  <roland@redhat.com>
64132         [BZ #11840]
64133         * configure.in (-fgnu89-inline check): Set and substitute
64134         gnu89_inline, not libc_cv_gnu89_inline.
64135         * configure: Regenerated.
64136         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
64138 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
64140         * string/test-strnlen.c: New file.
64141         * string/Makefile (strop-tests): Add strnlen.
64142         * string/tester.c (test_strnlen): Add a few more test cases.
64143         * string/tst-strlen.c: Better error reporting.
64145         * sysdeps/x86_64/strnlen.S: New file.
64147 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
64149         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
64150         lower-latency instructions.
64152 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
64154         * string/test-strcasestr.c: New file.
64155         * string/test-strstr.c: New file.
64156         * string/Makefile (strop-tests): Add strstr and strcasestr.
64157         * string/str-two-way.h: Don't undefine MAX.
64158         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
64160 2010-07-21  Andreas Schwab  <schwab@redhat.com>
64162         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
64163         strcasestr-nonascii.
64164         (CFLAGS-strcasestr-nonascii.c): Define.
64165         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
64166         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
64167         Remove unused attribute.
64169 2010-07-20  Roland McGrath  <roland@redhat.com>
64171         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
64172         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
64173         ld.so.cache was broken.  With it, there is no way to disable dsocaps
64174         like LD_HWCAP_MASK can disable hwcaps.
64176 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
64178         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
64180 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
64182         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
64183         call in strcasestr.
64184         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
64185         __strcasestr_sse42_nonascii.
64186         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
64187         strcasestr-nonascii.c.
64188         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
64190 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
64192         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
64193         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
64194         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
64195         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
64197 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
64199         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
64200         fcntl.
64202 2010-07-06  Andreas Schwab  <schwab@redhat.com>
64204         [BZ #11577]
64205         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
64206         dl_signal_cerror.
64208 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
64210         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
64211         _PC_PIPE_BUF using F_GETPIPE_SZ.
64213 2010-07-05  Roland McGrath  <roland@redhat.com>
64215         * manual/arith.texi (Rounding Functions): Fix rint description
64216         implicit in round description.
64218 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
64220         * elf/Makefile: Fix linking for a few tests to make recent linker
64221         happy.
64223 2010-06-30  Andreas Schwab  <schwab@redhat.com>
64225         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
64226         $(common-objpfx)libc_nonshared.a.
64228 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
64230         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
64231         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
64232         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
64233         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
64234         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
64235         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
64236         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
64237         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
64238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
64239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
64240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
64241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
64242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
64243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
64244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
64245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
64246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
64247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
64248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
64249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
64250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
64251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
64252         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
64253         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
64254         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
64255         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
64256         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
64257         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
64258         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
64259         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
64260         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
64261         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
64262         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
64263         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
64264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
64265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
64266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
64267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
64268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
64269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
64270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
64271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
64272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
64273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
64274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
64275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
64276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
64277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
64279 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
64281         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
64282         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
64283         * string/memmove.c (memmove): Renamed to ...
64284         (MEMMOVE): ...this.  Default to memmove.
64285         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
64286         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
64287         (END_CHK): Define.
64288         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64289         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
64290         mempcpy-ssse3-back memmove-ssse3-back.
64291         * sysdeps/x86_64/multiarch/bcopy.S: New file .
64292         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
64293         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
64294         * sysdeps/x86_64/multiarch/memcpy.S: New file.
64295         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
64296         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
64297         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
64298         * sysdeps/x86_64/multiarch/memmove.c: New file.
64299         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
64300         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
64301         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
64302         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
64303         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
64304         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
64305         Define.
64306         (index_Fast_Copy_Backward): Define.
64307         (HAS_ARCH_FEATURE): Define.
64308         (HAS_FAST_REP_STRING): Define.
64309         (HAS_FAST_COPY_BACKWARD): Define.
64311 2010-06-21  Andreas Schwab  <schwab@redhat.com>
64313         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
64314         Restore proper fallback handling.
64316 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
64318         [BZ #11701]
64319         * posix/group_member.c (__group_member): Correct checking loop.
64321         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
64322         OOM in getpwuid_r correctly.  Return error number when the caller
64323         should return, otherwise -1.
64324         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
64325         call returning > 0 value.
64326         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
64328 2010-06-07  Andreas Schwab  <schwab@redhat.com>
64330         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
64331         libc_nonshared.a from targets in modules-names.
64333 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
64335         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
64336         requires it.
64338 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
64340         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
64341         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
64342         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
64343         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
64345 2010-06-02  Andreas Schwab  <schwab@redhat.com>
64347         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
64349 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
64351         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
64352         and F_GETPIPE_SZ.
64353         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
64354         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64355         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64356         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64357         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64358         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
64360 2010-06-14  Roland McGrath  <roland@redhat.com>
64362         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
64364 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
64366         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
64367         __REDIRECT followed by __THROW.
64368         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
64369         * posix/getopt.h (getopt): Likewise.
64371 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
64373         * hurd/lookup-at.c (__file_name_lookup_at): Accept
64374         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
64375         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
64376         in AT_FLAGS.
64377         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
64378         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
64380 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
64382         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
64384 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
64386         [BZ #11640]
64387         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64388         Properly check family and model.
64390 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
64392         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
64394 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
64396         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
64398 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
64400         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
64401         symbol reference.
64403 2010-05-19  Andreas Schwab  <schwab@redhat.com>
64405         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
64406         symbol reference.
64408 2010-05-21  Andreas Schwab  <schwab@redhat.com>
64410         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
64411         and internal_recvmmsg.
64412         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
64413         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
64414         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
64415         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
64417         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
64418         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
64419         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
64421 2010-05-20  Andreas Schwab  <schwab@redhat.com>
64423         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
64425 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
64427         POWER7 optimizations.
64428         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
64429         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
64431 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
64433         * version.h: Update for 2.13 development version.
64435 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
64437         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
64438         exceptions.  Return 0.
64440 2010-05-07  Roland McGrath  <roland@redhat.com>
64442         * elf/ldconfig.c (main): Add a const.
64444 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
64446         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
64447         (args_options): Add no-idn option.
64448         (ahosts_keys_int): Add idn_flags to ai_flags.
64449         (parse_option): Handle 'i' option to clear idn_flags.
64451         * malloc/malloc.c (_int_free): Possible race in the most recently
64452         added check.  Only act on the data if no current modification
64453         happened.
64455 See ChangeLog.17 for earlier changes.